@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700;800&display=swap');

/* ============================================
   Plaquemines Casino Guide — global stylesheet
   AskGamblers-inspired theme: red primary,
   Noto Sans, white cards on light-gray, sticky
   header, modern affiliate-site look.
============================================ */

:root {
  --pcg-red: #FF333A;
  --pcg-red-dark: #d62128;
  --pcg-text: #272a2e;
  --pcg-text-soft: #4a4d52;
  --pcg-muted: #666;
  --pcg-bg: #f9f9f9;
  --pcg-white: #ffffff;
  --pcg-line: #eee;
  --pcg-line-dark: #ddd;
  --pcg-good: #61b11a;
  --pcg-bad: #d62128;
  --pcg-warn-bg: #fff8e6;
  --pcg-warn-border: #f0c674;
  --pcg-radius: 8px;
  --pcg-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  --pcg-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.08);
  --pcg-max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pcg-text);
  background: var(--pcg-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--pcg-red);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--pcg-red-dark); text-decoration: underline; }

/* ---- AGE GATE / 21+ BAR ---- */
.age-bar {
  background: var(--pcg-text);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
}
.age-bar a { color: var(--pcg-red); text-decoration: none; font-weight: 600; }
.age-bar a:hover { color: #ff7479; text-decoration: underline; }

/* ---- SITE HEADER + NAV ---- */
.site-header {
  background: var(--pcg-white);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pcg-red);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.brand:hover { color: var(--pcg-red-dark); text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--pcg-red);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.main-nav a {
  color: var(--pcg-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--pcg-red);
  border-bottom-color: var(--pcg-red);
  text-decoration: none;
}

/* ---- DROPDOWN MENU (By State) ---- */
.main-nav .has-dropdown { position: relative; }
.main-nav .has-dropdown > a { white-space: nowrap; }

@media (min-width: 769px) {
  .main-nav .has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--pcg-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--pcg-line);
    min-width: 560px;
    z-index: 1100;
    columns: 3;
    column-gap: 1.5rem;
    list-style: none;
    margin: 0;
  }
  .main-nav .has-dropdown .dropdown li {
    margin: 0;
    break-inside: avoid;
    list-style: none;
  }
  .main-nav .has-dropdown .dropdown a {
    display: block;
    color: var(--pcg-text);
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 0;
    white-space: nowrap;
  }
  .main-nav .has-dropdown .dropdown a:hover,
  .main-nav .has-dropdown .dropdown a[aria-current="page"] {
    color: var(--pcg-red);
    border-bottom: 0;
  }
  /* Bridge gap between trigger and dropdown */
  .main-nav .has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    height: 12px;
    width: 100%;
    display: none;
  }
  .main-nav .has-dropdown:hover::after,
  .main-nav .has-dropdown:focus-within::after { display: block; }
  .main-nav .has-dropdown:hover .dropdown,
  .main-nav .has-dropdown:focus-within .dropdown { display: block; }
}

@media (max-width: 768px) {
  .main-nav .has-dropdown .dropdown { display: none; }
}

.container {
  max-width: var(--pcg-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- BREADCRUMBS ---- */
.crumbs {
  font-size: 13px;
  color: var(--pcg-muted);
  padding: 1rem 0 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0; padding: 0;
}
.crumbs li + li::before {
  content: "›";
  margin: 0 8px;
  color: var(--pcg-line-dark);
}
.crumbs a { color: var(--pcg-muted); }
.crumbs a:hover { color: var(--pcg-red); }

/* ---- HERO + INTRO ---- */
.hero {
  padding: 0.25rem 0 1.5rem;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--pcg-text);
  font-weight: 800;
}
.byline {
  font-size: 14px;
  color: var(--pcg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.byline a { color: var(--pcg-red); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--pcg-red-dark); text-decoration: underline; }
.byline-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: -0.4em;
  white-space: nowrap;
}
.byline-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--pcg-line);
  display: block;
  margin: 0;
}
@media (max-width: 640px) {
  .byline { font-size: 13px; line-height: 1.75; }
  .byline-avatar { width: 22px; height: 22px; }
  .byline-author { gap: 5px; vertical-align: -0.35em; }
}
.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--pcg-text-soft);
  max-width: 820px;
}

/* ---- TLDR BOX ---- */
.tldr {
  background: var(--pcg-white);
  border: 1px solid var(--pcg-line);
  border-left: 4px solid var(--pcg-red);
  border-radius: var(--pcg-radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--pcg-shadow);
}
.tldr h2 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pcg-red);
  margin: 0 0 0.75rem;
  border: 0;
  padding: 0;
  font-weight: 700;
}
.tldr p { margin: 0.5rem 0; color: var(--pcg-text-soft); }
.tldr strong { color: var(--pcg-text); }

/* ---- SECTION HEADINGS ---- */
main h2 {
  font-size: 2rem;
  line-height: 1.25;
  color: var(--pcg-text);
  margin: 3rem 0 1rem;
  font-weight: 700;
}
main h3 {
  font-size: 1.4rem;
  color: var(--pcg-text);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}
main h4 {
  font-size: 1.1rem;
  color: var(--pcg-text);
  margin: 1.25rem 0 0.5rem;
  font-weight: 700;
}
main p { margin: 0.75rem 0; color: var(--pcg-text-soft); }
main p strong { color: var(--pcg-text); }
main ul, main ol { padding-left: 1.5rem; color: var(--pcg-text-soft); }
main li { margin: 0.5rem 0; }
main li strong { color: var(--pcg-text); }
main section { margin-bottom: 2rem; }

/* ---- COMPARISON / OPERATOR TABLE ---- */
.casino-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0 2rem;
  background: var(--pcg-white);
  border: 1px solid var(--pcg-line);
  border-radius: var(--pcg-radius);
  overflow: hidden;
  font-size: 15px;
  box-shadow: var(--pcg-shadow);
}
.casino-table th, .casino-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--pcg-line);
  vertical-align: middle;
}
.casino-table thead th {
  background: var(--pcg-text);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.casino-table tbody tr:last-child td { border-bottom: 0; }
.casino-table tbody tr:hover td { background: #fbfbfb; }

.rank {
  display: inline-block;
  background: var(--pcg-red);
  color: #fff;
  font-weight: 800;
  width: 32px; height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  font-size: 14px;
  vertical-align: middle;
}

/* ---- CASINO BRAND LOGOS ---- */
.casino-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 14px;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--pcg-line);
  flex-shrink: 0;
}
.casino-table .casino-logo {
  width: 88px;
  height: 88px;
}
.casino-card .casino-logo {
  width: 112px;
  height: 112px;
  margin-right: 16px;
}
.casino-logo-hero {
  width: 160px !important;
  height: 160px !important;
  margin-right: 20px;
  vertical-align: middle;
}

/* Brand cell flex layout — looks better with bigger logos */
.casino-table tbody td:nth-child(2) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.casino-table tbody td:nth-child(2) > strong {
  display: inline-block;
}

@media (max-width: 768px) {
  .casino-logo,
  .casino-table .casino-logo { width: 64px; height: 64px; margin-right: 10px; }
  .casino-card .casino-logo { width: 80px; height: 80px; }
  .casino-logo-hero { width: 120px !important; height: 120px !important; }
}
.rating { font-weight: 700; color: var(--pcg-good); }

.cta-btn {
  display: inline-block;
  background: var(--pcg-red);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.cta-btn:hover {
  background: var(--pcg-red-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 51, 58, 0.25);
}
.cta-row { margin: 1.5rem 0; }

/* ---- CASINO REVIEW CARD ---- */
.casino-card {
  background: var(--pcg-white);
  border: 1px solid var(--pcg-line);
  border-radius: var(--pcg-radius);
  padding: 1.75rem 2rem;
  margin: 1.25rem 0;
  box-shadow: var(--pcg-shadow);
  transition: box-shadow 0.15s ease;
}
.casino-card:hover { box-shadow: var(--pcg-shadow-hover); }
.casino-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
}

.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}
.proscons div {
  background: var(--pcg-bg);
  padding: 1rem 1.25rem;
  border-radius: var(--pcg-radius);
  border: 1px solid var(--pcg-line);
}
.proscons h4 {
  margin: 0 0 0.5rem;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.proscons .pros { border-left: 3px solid var(--pcg-good); }
.proscons .pros h4 { color: var(--pcg-good); }
.proscons .cons { border-left: 3px solid var(--pcg-bad); }
.proscons .cons h4 { color: var(--pcg-bad); }
.proscons ul { margin: 0; padding-left: 1.25rem; font-size: 14px; color: var(--pcg-text-soft); }

/* ---- FAQ ---- */
.faq details {
  background: var(--pcg-white);
  border: 1px solid var(--pcg-line);
  border-radius: var(--pcg-radius);
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
  box-shadow: var(--pcg-shadow);
  transition: box-shadow 0.15s ease;
}
.faq details:hover { box-shadow: var(--pcg-shadow-hover); }
.faq summary {
  font-weight: 700;
  color: var(--pcg-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--pcg-red);
  font-size: 24px;
  line-height: 1;
  width: 24px; height: 24px;
  text-align: center;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details > *:not(summary) { margin-top: 0.75rem; color: var(--pcg-text-soft); }

/* ---- RESPONSIBLE GAMBLING BANNER ---- */
.rg-banner {
  background: var(--pcg-warn-bg);
  border: 1px solid var(--pcg-warn-border);
  border-left: 4px solid #e8a02e;
  border-radius: var(--pcg-radius);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-size: 15px;
  color: var(--pcg-text-soft);
}
.rg-banner strong { color: var(--pcg-text); }
.rg-banner a { color: var(--pcg-red); font-weight: 700; }

/* ---- LEGAL NOTICE ---- */
.notice {
  background: #f3f6fa;
  border: 1px solid #d8e1ec;
  border-left: 4px solid #3b6db5;
  padding: 1rem 1.25rem;
  border-radius: var(--pcg-radius);
  font-size: 14px;
  color: var(--pcg-text-soft);
  margin: 1.25rem 0;
}
.notice strong { color: var(--pcg-text); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--pcg-white);
  color: var(--pcg-text);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 14px;
  line-height: 1.6;
  border-top: 1px solid var(--pcg-line);
}
.site-footer h4 {
  color: var(--pcg-text);
  font-size: 15px;
  margin: 0 0 1rem;
  font-weight: 700;
}
.site-footer a {
  color: var(--pcg-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: var(--pcg-red); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--pcg-line);
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.4rem 0; }
.footer-grid p { color: var(--pcg-muted); margin: 0.5rem 0; }
.footer-bottom {
  padding-top: 1.5rem;
  font-size: 12px;
  color: var(--pcg-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.trust-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.trust-badges span {
  background: var(--pcg-text);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.muted { color: var(--pcg-muted); }
.small { font-size: 13px; }

/* ---- AUTHOR CARD ---- */
.author-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--pcg-white);
  border: 1px solid var(--pcg-line);
  border-radius: var(--pcg-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--pcg-shadow);
}
.author-card .pic {
  width: 72px; height: 72px;
  background: var(--pcg-red);
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  object-fit: cover;
  border: 2px solid var(--pcg-line);
}
img.pic { padding: 0; }

/* ---- AUTHOR HERO (full bio page) ---- */
.author-hero {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.author-hero-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pcg-line);
  box-shadow: var(--pcg-shadow);
  flex-shrink: 0;
}
.author-hero h1 { margin: 0 0 0.5rem; }
.author-hero .byline { margin: 0; }
@media (max-width: 480px) {
  .author-hero { flex-direction: column; text-align: center; }
  .author-hero-pic { width: 120px; height: 120px; }
}
.author-card h4 { margin: 0 0 0.25rem; font-size: 16px; color: var(--pcg-text); }
.author-card p { margin: 0; font-size: 14px; color: var(--pcg-muted); }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  /* Reorder above-the-fold:
     crumbs → H1 → byline → affiliate table → lede → rest of content. */
  main > .container {
    display: flex;
    flex-direction: column;
  }
  /* Make .hero's children participate directly in the container's flex layout
     so we can interleave them with siblings (the affiliate table). */
  main > .container > .hero { display: contents; }
  main > .container > .crumbs { order: 1; }
  .hero h1 { order: 2; }
  .hero .byline { order: 3; }
  main > .container > .affiliate-quickpicks { order: 4; margin-top: 0; }
  .hero .lede { order: 5; margin-top: 1rem; }
  main > .container > * { order: 10; }

  /* Tighten the gap between byline and the affiliate H2 on mobile */
  .hero .byline { margin-bottom: 0.5rem; }
  .affiliate-quickpicks h2 { margin: 0.5rem 0 0.75rem; font-size: 1.375rem; }

  .hero { padding: 0.5rem 0 1rem; }
  .hero h1 { font-size: 1.875rem; margin-top: 0; }
  main h2 { font-size: 1.5rem; }
  main h3 { font-size: 1.2rem; }
  .lede { font-size: 1rem; }
  .proscons { grid-template-columns: 1fr; }
  .casino-table { font-size: 14px; }
  .casino-table th, .casino-table td { padding: 0.625rem 0.75rem; }
  .casino-table .hide-mobile { display: none; }
  .casino-card { padding: 1.25rem 1.25rem; }
  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
  }
  .main-nav ul { gap: 1rem; font-size: 14px; }
  .main-nav a { font-size: 14px; }
  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 1.625rem; }
  main h2 { font-size: 1.375rem; }

  /* Casino table cards on mobile — centered with color + red highlights */
  .casino-table thead { display: none; }
  .casino-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin-top: 32px;
  }
  .casino-table tbody { display: block; width: 100%; overflow: visible; }
  .casino-table { display: block; width: 100%; }
  .casino-table tr {
    display: block;
    width: 100%;
    margin-bottom: 1.5rem;
    background: #fff;
    border: 1px solid var(--pcg-line);
    border-top: 4px solid var(--pcg-red);
    border-radius: 14px;
    padding: 2.25rem 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
  }
  .casino-table tr:hover td { background: transparent; }
  .casino-table td {
    display: block;
    width: 100%;
    border: 0;
    padding: 6px 0;
    text-align: center;
  }
  .casino-table tbody td.hide-mobile { display: none; }

  /* Rank: floating badge at top center */
  .casino-table tbody td:nth-child(1) {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    width: auto;
    z-index: 2;
  }
  .casino-table tbody td:nth-child(1) .rank {
    box-sizing: content-box;
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 51, 58, 0.4);
    border: 3px solid #fff;
    display: inline-block;
    text-align: center;
  }

  /* Brand cell: stacked, centered */
  .casino-table tbody td:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 4px 0 12px;
  }
  .casino-table .casino-logo {
    margin-right: 0;
    width: 96px;
    height: 96px;
  }
  .casino-table tbody td:nth-child(2) strong {
    font-size: 17px;
    color: var(--pcg-text);
    line-height: 1.3;
  }
  .casino-table tbody td:nth-child(2) .small.muted {
    font-size: 13px;
    color: var(--pcg-muted);
    margin-top: -4px;
  }

  /* Welcome bonus: red pill highlight */
  .casino-table tbody td:nth-child(3) {
    color: var(--pcg-red);
    font-weight: 700;
    font-size: 15px;
    background: rgba(255, 51, 58, 0.06);
    border-radius: 999px;
    padding: 10px 16px;
    margin: 8px auto;
    max-width: max-content;
    width: auto;
    display: inline-block;
  }

  /* Rating: bigger and prouder */
  .casino-table tbody td.rating {
    font-size: 22px;
    font-weight: 800;
    color: var(--pcg-good);
    padding: 8px 0 4px;
  }

  /* Visit button: full-width primary CTA */
  .casino-table tbody td:last-child {
    padding-top: 10px;
  }
  .casino-table tbody td:last-child .cta-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 8px;
    letter-spacing: 0.3px;
  }
}

/* ---- MOBILE ACTIONS (bell, search, hamburger) ---- */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  position: relative;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pcg-text);
  transition: background 0.15s ease, color 0.15s ease;
}
.icon-btn:hover, .icon-btn.is-active {
  background: var(--pcg-bg);
  color: var(--pcg-red);
}
.icon-btn svg { width: 22px; height: 22px; display: block; }
.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--pcg-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
  box-sizing: content-box;
}

/* Notifications panel */
.notifications-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  background: #fff;
  border: 1px solid var(--pcg-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1100;
  padding: 6px;
}
.notifications-panel.is-open { display: block; }
.notifications-panel h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pcg-muted);
  margin: 8px 12px 4px;
  font-weight: 700;
}
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--pcg-text);
  position: relative;
  transition: background 0.15s ease;
}
.notification-item:hover {
  background: var(--pcg-bg);
  text-decoration: none;
  color: var(--pcg-text);
}
.notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pcg-red);
}
.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: #fff;
}
.notification-content { flex: 1; min-width: 0; padding-right: 14px; }
.notification-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  color: var(--pcg-text);
}
.notification-time {
  font-size: 12px;
  color: var(--pcg-muted);
  margin-top: 4px;
}
.notifications-view-all {
  display: block;
  text-align: center;
  padding: 12px;
  color: var(--pcg-red);
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid var(--pcg-line);
  margin-top: 4px;
  text-decoration: none;
}
.notifications-view-all:hover { color: var(--pcg-red-dark); text-decoration: underline; }

/* MOBILE BEHAVIOR */
@media (max-width: 768px) {
  .mobile-actions { display: flex; }

  .site-header .container {
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .brand { font-size: 1rem; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }

  /* Hide the main nav by default on mobile, show as dropdown when hamburger toggled */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--pcg-line);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 8px;
    z-index: 1100;
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block;
    padding: 12px 16px;
    border-bottom: 0;
    border-radius: 6px;
    font-size: 15px;
  }
  .main-nav a:hover { background: var(--pcg-bg); border-bottom: 0; }

  /* Mobile state dropdown becomes inline expandable list */
  .main-nav .has-dropdown .dropdown {
    display: none;
    position: static;
    columns: auto;
    min-width: 0;
    background: var(--pcg-bg);
    box-shadow: none;
    border: 0;
    padding: 4px 8px 8px 24px;
    margin: 0 8px 4px;
    border-radius: 6px;
  }
  .main-nav .has-dropdown.is-expanded .dropdown { display: block; }
  .main-nav .has-dropdown .dropdown a {
    padding: 8px 8px;
    font-size: 14px;
  }
}

/* ---- COOKIE CONSENT BAR (compact card) ---- */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 420px;
  margin: 0 auto;
  background: var(--pcg-text);
  color: #fff;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  display: none;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.cookie-bar.show {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 12px;
}
.cookie-text strong { color: #fff; font-weight: 700; }
.cookie-text a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-text a:hover { color: var(--pcg-red); }
.cookie-actions {
  display: flex;
  gap: 8px;
}
.cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.4;
  flex: 1;
}
.cookie-btn-accept {
  background: var(--pcg-red);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: var(--pcg-red-dark);
}
.cookie-btn-reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ---- PRINT (clean docs) ---- */
@media print {
  .site-header, .site-footer, .cta-btn, .age-bar { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; text-decoration: underline; }
}
