/* ============================================================
   LordCams — PornDude-style Category Grid Layout
   Light gray bg, white cards, orange accents
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #e8e8e8;
  --card:      #ffffff;
  --border:    #d0d0d0;
  --text:      #222222;
  --text2:     #555555;
  --text3:     #999999;
  --accent:    #e63946;
  --accent2:   #ff8c00;
  --gold:      #f59e0b;
  --green:     #16a34a;
  --header-bg: #1a1a2e;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 2px 8px rgba(0,0,0,.10);
  --shadow-md: 0 4px 16px rgba(0,0,0,.14);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h:  56px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--header-bg);
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  text-align: center;
  padding: 6px 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.topbar a { color: rgba(255,255,255,.9); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 200;
}
.header-main {
  max-width: 1400px; margin: 0 auto;
  padding: 10px 20px;
  display: flex; align-items: center; gap: 16px;
}
.logo {
  font-size: 1.6rem; font-weight: 900;
  letter-spacing: -.03em;
  display: flex; align-items: center; gap: 2px;
  text-decoration: none; flex-shrink: 0;
  font-style: italic;
}
.logo-lord { color: var(--text); }
.logo-cams { color: var(--accent); }
.logo-badge {
  font-style: normal;
  font-size: .52rem; font-weight: 700;
  background: var(--accent); color: #fff;
  border-radius: 3px; padding: 1px 4px;
  margin-left: 3px; vertical-align: super;
}

/* Search */
.header-search {
  flex: 1; max-width: 500px; position: relative;
}
.header-search input {
  width: 100%; padding: 9px 44px 9px 16px;
  border: 2px solid var(--border); border-radius: 100px;
  font-family: var(--font); font-size: .9rem;
  background: #f8f8f8; color: var(--text); outline: none;
  transition: border .2s;
}
.header-search input:focus { border-color: var(--accent); background: #fff; }
.header-search input::placeholder { color: var(--text3); }
.search-icon-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: var(--accent); border: none; border-radius: 100px;
  width: 32px; height: 32px; cursor: pointer; color: #fff; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.search-results {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); z-index: 300; overflow: hidden;
}
.search-results.open { display: block; }
.search-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; color: var(--text); font-size: .85rem;
  transition: background .12s; text-decoration: none;
}
.search-item:hover { background: #f8f8f8; }
.search-item-name { font-weight: 600; flex: 1; }
.search-item-rating { color: var(--gold); font-weight: 700; font-size: .78rem; }

/* Nav links */
.header-nav {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.header-nav a, .header-nav button {
  padding: 6px 12px; border-radius: 6px;
  font-size: .82rem; font-weight: 600; color: var(--text2);
  text-decoration: none; border: none; background: none;
  cursor: pointer; transition: all .15s; white-space: nowrap;
  font-family: var(--font);
}
.header-nav a:hover, .header-nav button:hover { background: #f0f0f0; color: var(--text); }
.header-nav a.active { color: var(--accent); }

/* Language globe */
.lang-globe {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f0f0; border: 1.5px solid var(--border);
  border-radius: 7px; color: var(--text2);
  cursor: pointer; transition: all .15s; padding: 0;
}
.lang-globe:hover { border-color: var(--accent); color: var(--accent); }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Category nav bar */
.cat-nav {
  background: #fff; border-top: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 20px;
  display: flex; gap: 0;
}
.cat-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: .8rem; font-weight: 700;
  color: var(--text2); text-decoration: none; border: none; background: none;
  cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent;
  transition: all .15s; font-family: var(--font);
}
.cat-nav-link:hover { color: var(--text); border-bottom-color: var(--border); }
.cat-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.page-outer {
  max-width: 1400px; margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ============================================================
   HERO STRIP
   ============================================================ */
.hero-strip {
  background: var(--header-bg);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.hero-strip::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(230,57,70,.2) 0%, transparent 60%);
}
.hero-text { position: relative; z-index: 1; flex: 1; }
.hero-strip h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900; color: #fff; letter-spacing: -.02em;
  line-height: 1.2; margin-bottom: 6px;
}
.hero-strip h1 em { color: var(--accent); font-style: italic; }
.hero-strip p { color: rgba(255,255,255,.65); font-size: .85rem; max-width: 480px; }
.hero-stats {
  display: flex; gap: 24px; margin-top: 18px; flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 1.4rem; font-weight: 900; color: #fff; line-height: 1;
}
.hero-stat-num em { color: var(--accent); font-style: normal; }
.hero-stat-label { font-size: .7rem; color: rgba(255,255,255,.5); margin-top: 2px; font-weight: 500; }

/* ============================================================
   CATEGORY GRID (main layout — like porndude columns)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

/* ============================================================
   CATEGORY BLOCK CARD
   ============================================================ */
.cat-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}

.cat-block-header {
  padding: 16px 18px 12px;
  border-bottom: 3px solid var(--accent);
  display: flex; align-items: center; gap: 10px;
}
.cat-block-header.green { border-bottom-color: var(--green); }
.cat-block-header.gold  { border-bottom-color: var(--gold); }
.cat-block-header.blue  { border-bottom-color: #3b82f6; }
.cat-block-header.purple{ border-bottom-color: #8b5cf6; }
.cat-block-icon { font-size: 1.5rem; flex-shrink: 0; }
.cat-block-title {
  font-size: .88rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text); line-height: 1.2;
}
.cat-block-desc {
  font-size: .75rem; color: var(--text3); margin-top: 2px;
  font-weight: 400;
}

/* Site list inside block */
.cat-block-list {
  flex: 1; padding: 8px 0;
}
.cat-block-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  transition: background .12s; text-decoration: none; color: var(--text);
}
.cat-block-item:hover { background: #f8f8f8; }
.cat-block-num {
  width: 20px; text-align: right; flex-shrink: 0;
  font-size: .78rem; font-weight: 600; color: var(--text3); line-height: 1;
}
.cat-block-logo {
  width: 24px; height: 24px; flex-shrink: 0;
  background: #f0f0f0; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; overflow: hidden;
}
.cat-block-logo img { width: 20px; height: 20px; object-fit: contain; }
.cat-block-name {
  flex: 1; font-size: .85rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cat-block-score {
  font-size: .75rem; font-weight: 700; color: var(--text3); flex-shrink: 0;
}
.cat-block-score .gold { color: var(--gold); }

/* Block footer button */
.cat-block-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.btn-see-all {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 9px 16px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 6px;
  font-family: var(--font); font-size: .8rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.btn-see-all:hover { background: #c9223a; color: #fff; }
.btn-see-all.green { background: var(--green); }
.btn-see-all.green:hover { background: #15803d; }
.btn-see-all.gold { background: var(--gold); }
.btn-see-all.gold:hover { background: #d97706; }

/* ============================================================
   TOP RANKED BLOCK (featured, full width or 2 cols)
   ============================================================ */
.featured-section { margin-bottom: 24px; }
.featured-title {
  font-size: 1rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text2); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.featured-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.top-sites-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.top-site-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); transition: all .15s; text-decoration: none; color: var(--text);
  position: relative; overflow: hidden;
}
.top-site-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.top-site-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.top-card-rank {
  font-size: 1.2rem; font-weight: 900; color: #ddd; flex-shrink: 0; width: 28px; text-align: center;
}
.top-card-rank.r1 { color: #f59e0b; }
.top-card-rank.r2 { color: #94a3b8; }
.top-card-rank.r3 { color: #cd7c2f; }
.top-card-logo {
  width: 42px; height: 42px; flex-shrink: 0;
  background: #f5f5f5; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; overflow: hidden;
}
.top-card-logo img { width: 32px; height: 32px; object-fit: contain; }
.top-card-info { flex: 1; min-width: 0; }
.top-card-name { font-size: .92rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-card-badge { font-size: .65rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }
.top-card-score { text-align: right; flex-shrink: 0; }
.top-card-score-num { font-size: 1.1rem; font-weight: 900; color: var(--text); }
.top-card-score-num small { font-size: .65rem; color: var(--text3); font-weight: 400; }
.stars-mini { display: flex; gap: 1px; justify-content: flex-end; margin-top: 2px; }
.star-s { font-size: .7rem; color: var(--gold); }
.star-s.empty { color: #ddd; }
.top-card-btns { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.btn-sm-review {
  padding: 4px 10px; border-radius: 5px; font-size: .72rem; font-weight: 600;
  background: #f0f0f0; color: var(--text2); text-decoration: none; border: 1px solid var(--border);
  text-align: center; transition: all .12s;
}
.btn-sm-review:hover { background: #e8e8e8; color: var(--text); }
.btn-sm-visit {
  padding: 4px 10px; border-radius: 5px; font-size: .72rem; font-weight: 700;
  background: var(--accent); color: #fff; text-decoration: none; text-align: center; transition: background .12s;
}
.btn-sm-visit:hover { background: #c9223a; color: #fff; }

/* ============================================================
   GENERIC BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 100px;
  background: var(--accent); color: #fff;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  transition: background .15s; border: none; cursor: pointer;
  font-family: var(--font);
}
.btn-primary:hover { background: #c9223a; color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 100px;
  background: #f0f0f0; color: var(--text2);
  font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: all .15s; border: 1px solid var(--border);
  font-family: var(--font);
}
.btn-secondary:hover { background: #e8e8e8; color: var(--text); }

/* ============================================================
   REVIEW PAGE
   ============================================================ */
.review-hero {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.review-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.review-breadcrumb { font-size: .75rem; color: var(--text3); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.review-breadcrumb a { color: var(--text3); }
.review-breadcrumb a:hover { color: var(--accent); }
.review-site-name { font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; margin: 8px 0; }
.review-cats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.cat-tag { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; color: #fff; }
.review-score-box { background: #f8f8f8; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; text-align: center; min-width: 140px; }
.review-big-score { font-size: 2.8rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.review-big-score small { font-size: .9rem; color: var(--text3); font-weight: 400; }
.review-verdict { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-top: 5px; }
.review-stars-row { display: flex; justify-content: center; gap: 2px; margin-top: 7px; }
.star-r { font-size: .9rem; color: var(--gold); }
.star-r.empty { color: #ddd; }

.review-body { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start; }
.review-content { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.review-content h2 { font-size: 1.1rem; font-weight: 800; margin: 20px 0 8px; }
.review-content h2:first-child { margin-top: 0; }
.review-content p { margin-bottom: 12px; color: var(--text2); font-size: .88rem; line-height: 1.75; }
.review-content ul { padding-left: 18px; margin-bottom: 12px; }
.review-content li { margin-bottom: 5px; color: var(--text2); font-size: .88rem; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 14px; }
.cons { background: #fff5f5; border: 1px solid #fecaca; border-radius: var(--radius); padding: 14px; }
.pros h4 { color: var(--green); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.cons h4 { color: var(--accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li { font-size: .82rem; color: var(--text2); padding: 3px 0; }
.pros li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.cons li::before { content: '✗ '; color: var(--accent); font-weight: 700; }

.sidebar-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px; }
.sidebar-box h3 { font-size: .82rem; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.rating-bar-item { margin-bottom: 9px; }
.rating-bar-label { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 600; margin-bottom: 3px; color: var(--text2); }
.rating-bar-track { height: 6px; background: #f0f0f0; border-radius: 100px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 100px; transition: width 1s ease; }
.quick-facts-table { width: 100%; }
.quick-facts-table td { padding: 6px 0; font-size: .8rem; border-bottom: 1px solid #f0f0f0; }
.quick-facts-table tr:last-child td { border-bottom: none; }
.quick-facts-table td:first-child { color: var(--text2); }
.quick-facts-table td:last-child { font-weight: 600; text-align: right; }
.check-yes { color: var(--green); }
.check-no { color: var(--text3); }

/* Compare */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 540px; }
.compare-table th { background: #f8f8f8; padding: 11px 14px; text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text3); }
.compare-table td { padding: 10px 14px; font-size: .83rem; border-top: 1px solid #f0f0f0; }
.compare-table tbody tr:hover td { background: #fafafa; }
.score-cell { font-size: 1rem; font-weight: 900; color: var(--accent); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 14px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; display: block; transition: all .15s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-thumb { height: 120px; background: #f8f8f8; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 14px; }
.blog-card-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 4px; }
.blog-card-title { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 5px; }
.blog-card-excerpt { font-size: .77rem; color: var(--text2); line-height: 1.5; }
.blog-card-meta { display: flex; justify-content: space-between; margin-top: 9px; font-size: .73rem; color: var(--text3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #1a1a2e; color: rgba(255,255,255,.6); padding: 36px 0 0; margin-top: 48px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 180px 1fr; gap: 40px; margin-bottom: 28px; }
.footer-brand .logo-lord { color: #fff; }
.footer-brand .logo-cams { color: var(--accent); }
.footer-brand p { font-size: .78rem; margin-top: 7px; color: rgba(255,255,255,.4); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h4 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color .15s; text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 16px 20px; text-align: center; }
.footer-bottom p { font-size: .73rem; color: rgba(255,255,255,.3); }

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-gate.hidden { display: none; }
.age-gate-box { background: #fff; border-radius: var(--radius-lg); padding: 40px 36px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.age-gate-logo { font-size: 1.5rem; font-weight: 900; font-style: italic; margin-bottom: 12px; }
.age-gate-icon { font-size: 2.8rem; margin-bottom: 12px; }
.age-gate-box h2 { font-size: 1.3rem; font-weight: 900; color: var(--text); margin-bottom: 7px; }
.age-gate-box p { font-size: .85rem; color: var(--text2); margin-bottom: 22px; }
.age-gate-btns { display: flex; flex-direction: column; gap: 9px; }

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top { position: fixed; bottom: 22px; right: 22px; width: 40px; height: 40px; background: var(--accent); color: #fff; border: none; border-radius: 50%; cursor: pointer; font-size: .95rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all .2s; z-index: 50; box-shadow: var(--shadow-md); }
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: #c9223a; transform: translateY(-2px); }

/* ============================================================
   LANG PANEL (fixed slide-in)
   ============================================================ */
.lang-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 8000; }
.lang-panel { display: none; position: fixed; top: 0; right: 0; width: 270px; max-width: 90vw; height: 100%; background: #fff; border-left: 1px solid var(--border); box-shadow: -8px 0 32px rgba(0,0,0,.15); z-index: 8001; flex-direction: column; overflow: hidden; }
.lang-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: .85rem; }
.lang-close { background: none; border: none; cursor: pointer; color: var(--text3); font-size: .95rem; width: 26px; height: 26px; border-radius: 5px; display: flex; align-items: center; justify-content: center; transition: all .12s; }
.lang-close:hover { background: #f0f0f0; color: var(--text); }
.lang-grid { flex: 1; overflow-y: auto; padding: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.ld-item { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 6px; text-decoration: none; color: var(--text2); font-size: .78rem; font-weight: 500; transition: background .12s; overflow: hidden; }
.ld-item:hover { background: #f8f8f8; color: var(--text); }
.ld-item.active { background: var(--accent); color: #fff; font-weight: 700; }
.ld-flag { font-size: 1rem; flex-shrink: 0; }
.ld-native { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mobile nav */
.mob-nav { display: none; position: fixed; inset: 0; top: 100px; background: #fff; z-index: 150; flex-direction: column; overflow-y: auto; padding: 12px; border-top: 1px solid var(--border); }
.mob-nav.open { display: flex; }
.mob-search-wrap { position: relative; margin-bottom: 12px; }
.mob-search-wrap input { width: 100%; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 100px; font-size: .88rem; outline: none; font-family: var(--font); }
.mob-search-wrap .search-results { top: calc(100% + 4px); }
.mob-nav-link { display: flex; align-items: center; gap: 8px; padding: 11px 14px; color: var(--text2); text-decoration: none; font-size: .9rem; font-weight: 600; border-radius: 7px; border-bottom: 1px solid #f0f0f0; transition: all .12s; }
.mob-nav-link:hover, .mob-nav-link.active { background: #f8f8f8; color: var(--accent); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: var(--text3); margin-bottom: 16px; }
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--accent); }

/* Section heading */
.section-heading {
  font-size: .88rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text2);
  display: flex; align-items: center; gap: 10px; margin: 28px 0 14px;
}
.section-heading::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-strip { padding: 20px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .review-hero-inner { grid-template-columns: 1fr; }
  .review-score-box { display: none; }
  .review-body { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .top-sites-row { grid-template-columns: 1fr; }
  .burger { display: flex; }
  .header-nav .desk-only { display: none; }
}

@media (max-width: 640px) {
  .page-outer { padding: 14px 12px 40px; }
  .category-grid { grid-template-columns: 1fr; }
  .hero-strip { padding: 18px 16px; }
  .hero-strip h1 { font-size: 1.2rem; }
  .hero-stats { gap: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .lang-panel { width: 100%; max-width: 100%; top: auto; bottom: 0; height: 70vh; border-left: none; border-top: 1px solid var(--border); border-radius: 12px 12px 0 0; }
  .lang-grid { grid-template-columns: 1fr 1fr 1fr; }
  .scroll-top { bottom: 12px; right: 12px; }
  .header-search { display: none; }
}
@media (max-width: 400px) {
  .lang-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SITE LIST ROWS (reviews, category pages)
   ============================================================ */
.site-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  transition: box-shadow .15s;
}
.site-row:hover { box-shadow: var(--shadow-md); }

.site-row-rank {
  width: 52px;
  background: #f8f8f8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem; font-weight: 900; color: #ccc;
  border-right: 1px solid var(--border);
}
.site-row-rank.r1 { color: #f59e0b; }
.site-row-rank.r2 { color: #94a3b8; }
.site-row-rank.r3 { color: #cd7c2f; }

.site-row-logo {
  width: 68px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: #fafafa;
  padding: 12px;
}
.site-row-logo-inner {
  width: 44px; height: 44px;
  background: #f0f0f0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  overflow: hidden;
  flex-shrink: 0;
}
.site-row-logo-inner img {
  width: 36px; height: 36px;
  object-fit: contain;
  display: block;
}

.site-row-info {
  flex: 1; min-width: 0;
  padding: 12px 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.site-row-name-line {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 4px;
}
.site-row-name { font-size: .98rem; font-weight: 800; }
.site-row-badge {
  font-size: .64rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; color: #fff;
}
.site-row-desc {
  font-size: .8rem; color: var(--text2);
  margin-bottom: 7px; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-row-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.site-row-tag {
  font-size: .67rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px; color: #fff;
}

.site-row-score {
  flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-left: 1px solid var(--border);
  background: #fafafa;
  min-width: 130px;
}
.site-row-score-num {
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: -.03em; line-height: 1;
  text-align: center;
}
.site-row-score-num small { font-size: .62rem; color: var(--text3); font-weight: 400; }
.site-row-stars { display: flex; gap: 1px; justify-content: center; }
.site-row-btn-review {
  display: block; padding: 5px 14px; border-radius: 6px;
  font-size: .75rem; font-weight: 600;
  background: #f0f0f0; color: var(--text2);
  text-decoration: none; border: 1px solid var(--border);
  text-align: center; transition: all .12s; width: 100%;
}
.site-row-btn-review:hover { background: #e8e8e8; color: var(--text); }
.site-row-btn-visit {
  display: block; padding: 5px 14px; border-radius: 6px;
  font-size: .75rem; font-weight: 700;
  background: var(--accent); color: #fff;
  text-decoration: none; text-align: center; transition: background .12s; width: 100%;
}
.site-row-btn-visit:hover { background: #c9223a; color: #fff; }

/* Mobile: stack site rows */
@media (max-width: 640px) {
  .site-row { flex-wrap: wrap; }
  .site-row-rank { width: 44px; font-size: .9rem; }
  .site-row-logo { width: 56px; }
  .site-row-logo-inner { width: 36px; height: 36px; }
  .site-row-logo-inner img { width: 28px; height: 28px; }
  .site-row-score { min-width: 110px; padding: 10px 12px; }
  .site-row-score-num { font-size: 1.2rem; }
}

/* Fix: ensure all logo images are constrained */
.site-row-logo-inner img,
.cat-block-logo img,
.top-card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Fix: desktop nav show/hide */
@media (min-width: 901px) {
  .mob-nav { display: none !important; }
  .burger  { display: none !important; }
}
@media (max-width: 900px) {
  .desk-nav { display: none !important; }
}
