/* ============================================================
   findmorelove.com — CSS Mobile-First (refonte 2026)
   Breakpoints :
     sm  ≥ 640px
     md  ≥ 768px
     lg  ≥ 1024px
     xl  ≥ 1280px
   Pas de framework : tout est custom, ~14 KB minifié.
   ============================================================ */

:root {
  --clr-primary: #d63384;
  --clr-primary-dark: #a01e5c;
  --clr-primary-light: #fde2ec;
  --clr-accent: #ff6b9d;
  --clr-text: #1a1a2e;
  --clr-muted: #6c757d;
  --clr-bg: #fff7fa;
  --clr-white: #ffffff;
  --clr-border: #f4cad9;
  --clr-success: #10b981;
  --clr-gold: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(214, 51, 132, 0.06);
  --shadow-md: 0 2px 12px rgba(214, 51, 132, 0.10);
  --shadow-lg: 0 8px 24px rgba(214, 51, 132, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
  --container-max: 1200px;
  --header-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-primary-dark); }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--clr-text); }

.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--clr-primary); color: white;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 1000; transition: top var(--transition);
}
.skip-link:focus { top: 8px; color: white; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

main { min-height: 60vh; }

/* ---------- Header ---------- */
.site-header {
  background: var(--clr-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--clr-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-primary);
}
.site-logo svg { width: 26px; height: 26px; fill: var(--clr-primary); flex-shrink: 0; }
.site-logo span {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-actions { display: flex; align-items: center; gap: 12px; }

.online-badge {
  display: none;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.online-badge::before { content: '❤ '; }

.nav-toggle {
  background: transparent; border: 0; padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--clr-primary-light); }
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.site-nav.open { max-height: 600px; }
.site-nav ul { padding: 4px 0; }
.site-nav li a {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav li a:hover, .site-nav li a.active {
  background: rgba(255,255,255,0.12);
  color: white;
}
.site-nav .cta-link {
  background: rgba(255,255,255,0.2);
  font-weight: 700;
  margin: 8px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 0 !important;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255,107,157,0.4) 0%, transparent 50%),
    linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 60%, #5c0828 100%);
  color: white;
  padding: 36px 0 32px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-tagline {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 540px;
  margin: 0 auto 20px;
}
.hero-search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  background: white;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.hero-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0 16px;
  font-size: 0.95rem;
  outline: none;
  color: var(--clr-text);
  min-width: 0;
}
.hero-search button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-primary);
  color: white;
  border: 0;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.hero-search button:hover { background: var(--clr-primary-dark); }

.hero-extra-toggle { margin-top: 18px; }
.link-btn {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  font-size: 0.85rem;
  padding: 4px;
}
.hero-extra { max-width: 600px; margin: 14px auto 0; font-size: 0.92rem; opacity: 0.88; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.82rem;
  color: var(--clr-muted);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.breadcrumb .container { padding: 10px 16px; }
.breadcrumb ol {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '›'; color: var(--clr-border); margin-right: 4px; }
.breadcrumb a { color: var(--clr-primary); }
.breadcrumb [aria-current="page"] { color: var(--clr-muted); font-weight: 600; }

/* ---------- Listing section ---------- */
.listing-section { padding: 16px 0 32px; }
.listing-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--clr-primary-dark);
}

.stats-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--clr-white);
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--clr-muted);
}
.stats-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-primary);
}

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  transition: all var(--transition);
}
.chip:hover { background: var(--clr-primary-light); color: var(--clr-primary-dark); }
.chip.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: white;
}

/* ---------- Posts grid (cards) ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--clr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--clr-primary-light);
}
.card-img img {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: linear-gradient(135deg, var(--clr-gold), #f97316);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.card-age-overlay {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.card-body { padding: 12px 14px 14px; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--clr-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  min-height: 2.6em;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--clr-muted);
  gap: 8px;
}
.card-location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-location svg { width: 11px; height: 11px; fill: var(--clr-primary); flex-shrink: 0; }
.card-sex {
  background: var(--clr-primary-light);
  color: var(--clr-primary-dark);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  white-space: nowrap;
}
.card-gold { border: 1px solid var(--clr-gold); }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 56px 16px;
  color: var(--clr-muted);
  background: var(--clr-white);
  border-radius: var(--radius);
}
.empty-state svg { color: var(--clr-border); margin: 0 auto 16px; }
.empty-state h2 { font-size: 1.1rem; margin-bottom: 10px; color: var(--clr-text); }
.empty-state p { margin-bottom: 8px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 28px 0 16px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.pagination a {
  background: var(--clr-white);
  color: var(--clr-primary);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.pagination a:hover {
  background: var(--clr-primary);
  color: white;
  border-color: var(--clr-primary);
}
.pagination .current {
  background: var(--clr-primary);
  color: white;
}
.pagination .dots, .pagination .disabled {
  color: var(--clr-muted);
  background: transparent;
}

/* ---------- Detail page ---------- */
.detail-wrap { padding: 16px 0 32px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.detail-photos { position: sticky; top: calc(var(--header-h) + 12px); }
.detail-main-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--clr-primary-light);
  cursor: zoom-in;
  box-shadow: var(--shadow-md);
}
.detail-main-photo img { width: 100%; height: 100%; }
.photo-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--clr-gold), #f97316);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.detail-gallery-thumb {
  background: none;
  border: 0;
  padding: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}
.detail-gallery-thumb:hover { transform: scale(1.04); }
.detail-gallery-thumb img { width: 100%; height: 100%; }

.detail-info {}
.detail-name {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--clr-text);
}
.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--clr-bg);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.badge-type { background: var(--clr-primary-light); color: var(--clr-primary-dark); border-color: transparent; }
.badge-age { background: #fef3c7; color: #92400e; border-color: transparent; }
.badge-location { background: #dbeafe; color: #1e40af; border-color: transparent; }
.badge-location svg { fill: currentColor; }
.badge-gold { background: linear-gradient(135deg, var(--clr-gold), #f97316); color: white; border: 0; }

.detail-desc {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 0.95rem;
  border-left: 4px solid var(--clr-primary);
  box-shadow: var(--shadow-sm);
  white-space: pre-line;
}

.detail-profile {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.detail-profile h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--clr-primary-dark);
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.profile-item dt {
  font-size: 0.7rem;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.profile-item dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--clr-text);
}

.detail-tags { margin-bottom: 16px; }
.tags-title {
  font-size: 0.82rem;
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: var(--clr-primary-light);
  color: var(--clr-primary-dark);
  font-size: 0.8rem;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: all var(--transition);
}
.tag:hover { background: var(--clr-primary); color: white; }

.detail-contact {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  margin-bottom: 16px;
  color: white;
  box-shadow: var(--shadow-md);
}
.detail-contact p { margin-bottom: 12px; opacity: 0.95; }
.btn-contact {
  display: inline-block;
  background: white;
  color: var(--clr-primary) !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  transition: transform var(--transition);
  text-decoration: none;
  margin: 4px;
  cursor: pointer;
}
.btn-contact:hover { transform: scale(1.04); color: var(--clr-primary-dark) !important; }
.btn-secondary { background: rgba(255,255,255,0.18); color: white !important; border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.28); color: white !important; }

.phone-reveal { margin: 8px 0; }
.phone-reveal summary { list-style: none; }
.phone-reveal summary::-webkit-details-marker { display: none; }
.phone-reveal[open] summary { display: none; }
.phone-frame {
  background: white;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 8px;
}

.detail-meta-date { text-align: right; }

/* ---------- Related ---------- */
.related-section { padding: 24px 0 12px; }
.related-section h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--clr-primary-light);
  color: var(--clr-text);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ---------- Value props ---------- */
.value-props { padding: 36px 0; }
.section-title {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--clr-text);
}
.section-subtitle {
  text-align: center;
  color: var(--clr-muted);
  max-width: 600px;
  margin: 0 auto 24px;
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.value-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.value-card h3 { font-size: 1rem; margin-bottom: 6px; color: var(--clr-primary); }
.value-card p { font-size: 0.85rem; color: var(--clr-muted); }

/* ---------- Discover (footer pre-section) ---------- */
.discover-section {
  background: var(--clr-white);
  padding: 36px 0;
  border-top: 1px solid var(--clr-border);
}
.discover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.discover-card {
  background: var(--clr-bg);
  border-radius: var(--radius);
  padding: 18px;
}
.discover-card h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--clr-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud li a {
  display: inline-block;
  background: var(--clr-white);
  color: var(--clr-primary);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clr-border);
  transition: all var(--transition);
}
.tag-cloud li a:hover { background: var(--clr-primary); color: white; border-color: var(--clr-primary); }

.latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.latest-col {
  background: var(--clr-bg);
  border-radius: var(--radius);
  padding: 16px;
}
.latest-col h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--clr-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.latest-list li {
  font-size: 0.85rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--clr-border);
}
.latest-list li:last-child { border-bottom: 0; }
.latest-list a { color: var(--clr-text); }
.latest-list a:hover { color: var(--clr-primary); }
.latest-list .muted { color: var(--clr-muted); font-size: 0.78rem; }

/* ---------- Page-section (saisie/account/conditions) ---------- */
.page-section { padding: 24px 0 36px; }
.page-section h1 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--clr-primary-dark);
}
.page-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.page-card .lead { font-size: 1.02rem; margin-bottom: 16px; }
.page-card h2 {
  font-size: 1.1rem;
  margin: 22px 0 8px;
  color: var(--clr-primary-dark);
}
.page-card.prose p { margin-bottom: 12px; }
.checklist {
  background: var(--clr-bg);
  border-radius: var(--radius-sm);
  padding: 14px 14px 14px 36px;
  margin-bottom: 18px;
  list-style-type: none;
}
.checklist li {
  position: relative;
  padding: 4px 0;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: -22px;
  color: var(--clr-success);
  font-weight: 800;
}
.iframe-wrap { margin: 18px 0; border-radius: var(--radius); overflow: hidden; }

.btn-primary {
  display: inline-block;
  background: var(--clr-primary);
  color: white !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 0;
  transition: all var(--transition);
}
.btn-primary:hover { background: var(--clr-primary-dark); transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1f1535;
  color: rgba(255,255,255,0.7);
  padding: 36px 0 16px;
}
.site-footer .site-logo { color: white; margin-bottom: 12px; }
.site-footer .site-logo span {
  background: linear-gradient(135deg, white, var(--clr-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-nav h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-nav li { margin-bottom: 6px; }
.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.86rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--clr-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.82rem;
  text-align: center;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom strong { color: white; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 5, 25, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: white;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* ---------- Utilities ---------- */
.muted { color: var(--clr-muted); }
.small { font-size: 0.82rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =====================================================
   Responsive — sm ≥ 640px
   ===================================================== */
@media (min-width: 640px) {
  .container { padding: 0 20px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero h1 { font-size: 2rem; }
  .value-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================
   Responsive — md ≥ 768px
   ===================================================== */
@media (min-width: 768px) {
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 360px 1fr; }
  .related-grid { grid-template-columns: repeat(4, 1fr); }
  .latest-grid { grid-template-columns: repeat(3, 1fr); }
  .discover-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2.4rem; }
  .listing-title { font-size: 1.7rem; }
  .detail-name { font-size: 2rem; }
}

/* =====================================================
   Responsive — lg ≥ 1024px
   ===================================================== */
@media (min-width: 1024px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: none; }
  .online-badge { display: inline-flex; }
  .site-nav {
    max-height: none;
    overflow: visible;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    padding: 0;
  }
  .site-nav li a {
    padding: 14px 18px;
    border-bottom: 0;
    font-size: 0.92rem;
  }
  .site-nav .cta-link {
    background: white;
    color: var(--clr-primary) !important;
    margin: 0 0 0 auto;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
  }
  .site-nav .cta-link:hover { background: var(--clr-primary-light); }
  .posts-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .listing-section { padding: 24px 0 48px; }
}

@media (min-width: 1280px) {
  .container { padding: 0 32px; }
}

/* =====================================================
   Print
   ===================================================== */
@media print {
  .site-header, .site-nav, .site-footer, .discover-section, .pagination, .lightbox { display: none !important; }
  .card { page-break-inside: avoid; }
}

/* =====================================================
   Reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
