/* ==========================================================================
   Law & Option (DRS) — inner pages
   ========================================================================== */

/* ---------- Page banner ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ivory);
  background: var(--navy-950); padding: clamp(80px, 9vw, 120px) 0 clamp(70px, 8vw, 100px);
}
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 14, 27, .92) 0%, rgba(6, 14, 27, .75) 45%, rgba(6, 14, 27, .45) 100%),
    linear-gradient(0deg, rgba(6, 14, 27, .7), transparent 40%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 400; line-height: 1.15; color: var(--ivory); margin: 18px 0 16px; max-width: 18ch; }
.page-hero h1 em { color: var(--gold-400); }
.page-hero .lead { color: rgba(248, 245, 238, .82); max-width: 62ch; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; font-size: 13px; color: rgba(248, 245, 238, .65); }
.crumbs a:hover { color: var(--gold-300); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold-500); }
.crumbs [aria-current] { color: var(--gold-300); }

/* ---------- Layout ---------- */
.page-body { padding: clamp(64px, 8vw, 104px) 0; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: 120px; display: grid; gap: 22px; }

/* ---------- Prose ---------- */
.prose { font-size: 16.5px; color: #3D4555; }
.prose.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); color: var(--navy-900); }
.prose.prose > h2 { margin-top: 1.8em; }
.prose.prose > h2:first-child, .prose.prose > .article-cover + h2 { margin-top: 0; }
.prose h3 { font-size: 21px; }
.prose.prose > h3 { margin-top: 1.5em; }
.prose.prose > .role { margin-top: 8px; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--gold-600); }
.prose strong { color: var(--navy-900); }
.prose a { color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.5em 0; padding: 18px 22px; border-left: 3px solid var(--gold-500); background: var(--paper);
  border-radius: 0 12px 12px 0; font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--navy-900);
}
.lead-para { font-size: 19px; line-height: 1.6; color: var(--ink); }
.note {
  margin-top: 2em; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500); border-radius: 10px; font-size: 13.5px; color: var(--muted);
}

/* ---------- Service list ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 22px; }
.svc {
  display: flex; gap: 14px; padding: 20px 20px 18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; transition: border-color .3s, box-shadow .3s;
}
.svc:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.svc svg { flex: none; width: 22px; height: 22px; color: var(--gold-600); margin-top: 2px; }
.svc h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; margin: 0 0 4px; color: var(--navy-900); }
.svc p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; counter-reset: step; }
.step { position: relative; padding: 26px 20px 22px; border-radius: 14px; background: var(--navy-900); color: rgba(248, 245, 238, .75); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-display); font-size: 28px; font-weight: 400; color: var(--gold-400); line-height: 1; margin-bottom: 14px;
}
.step h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; color: var(--ivory); margin: 0 0 6px; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.55; }

/* ---------- Statute chips ---------- */
.laws { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding: 0; list-style: none; }
.laws li { margin: 0; padding: 9px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; color: var(--navy-900); }

/* ---------- FAQ (inner) ---------- */
.faq-inner { display: grid; gap: 12px; margin-top: 22px; }
.faq-inner details { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.faq-inner details[open] { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.faq-inner summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; gap: 18px; align-items: center; color: var(--navy-900); }
.faq-inner summary::-webkit-details-marker { display: none; }
.faq-inner summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq-inner summary .pm svg { width: 13px; height: 13px; }
.faq-inner details[open] .pm { transform: rotate(45deg); background: var(--gold-400); border-color: var(--gold-400); }
.faq-inner details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Sidebar cards ---------- */
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.side-card h3 { font-size: 19px; margin-bottom: 14px; }
.side-links { list-style: none; margin: 0; padding: 0; display: grid; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); transition: color .2s, padding .2s; }
.side-links li:last-child a { border-bottom: 0; }
.side-links a svg { width: 14px; height: 14px; color: var(--gold-600); opacity: 0; transition: opacity .2s; }
.side-links a:hover, .side-links a[aria-current] { color: var(--gold-600); padding-left: 6px; }
.side-links a:hover svg, .side-links a[aria-current] svg { opacity: 1; }
.side-cta { background: radial-gradient(400px 260px at 100% 0%, rgba(201, 161, 74, .22), transparent 60%), var(--navy-900); color: rgba(248, 245, 238, .78); border: 0; }
.side-cta h3 { color: var(--ivory); }
.side-cta p { margin: 0 0 18px; font-size: 14.5px; }
.side-cta .btn { width: 100%; justify-content: center; }
.side-cta ul { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; font-size: 14px; }
.side-cta li { display: flex; gap: 10px; align-items: center; min-height: 32px; }
.side-cta li a { padding: 6px 0; }
.side-cta li svg { width: 16px; height: 16px; color: var(--gold-400); flex: none; }
.side-cta a:hover { color: var(--gold-300); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 14px; }
.toc a:hover { color: var(--gold-600); }

/* ---------- Article meta ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 13.5px; color: rgba(248, 245, 238, .75); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 15px; height: 15px; color: var(--gold-400); }
.article-cover { border-radius: 18px; overflow: hidden; margin-bottom: 32px; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { padding: 34px 32px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.mv.dark { background: var(--navy-900); border-color: var(--navy-900); color: rgba(248, 245, 238, .78); }
.mv.dark h3 { color: var(--ivory); }
.mv .eyebrow { margin-bottom: 14px; }
.mv h3 { font-size: 23px; margin-bottom: 12px; }
.mv p { margin: 0; font-size: 15.5px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { padding: 26px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value .ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cities-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.city { padding: 22px 16px; border-radius: 14px; border: 1px solid var(--line-dark); text-align: center; background: rgba(255, 255, 255, .03); }
.city svg { width: 22px; height: 22px; color: var(--gold-400); margin: 0 auto 10px; }
.city strong { display: block; color: var(--ivory); font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.city span { font-size: 12px; color: rgba(248, 245, 238, .6); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Team page ---------- */
.profile { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.profile:last-of-type { border-bottom: 0; }
.profile-photo { position: sticky; top: 120px; }
.profile-photo figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.profile-photo .contact-mini { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.profile-photo .contact-mini a { display: inline-flex; gap: 10px; align-items: center; color: var(--navy-900); }
.profile-photo .contact-mini svg { width: 16px; height: 16px; color: var(--gold-600); }
.profile h2 { font-size: clamp(28px, 3.4vw, 40px); }
.profile .role { color: var(--gold-600); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 8px 0 22px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.fact { padding: 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.fact small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-bottom: 4px; }
.fact strong { font-size: 15px; color: var(--navy-900); font-weight: 600; line-height: 1.4; display: block; }

/* ---------- Listing pages ---------- */
.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cat-chips span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; color: var(--navy-900); }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgba(201, 161, 74, .2), transparent 60%), var(--navy-900); color: var(--ivory); padding: clamp(56px, 7vw, 84px) 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ivory); font-size: clamp(26px, 3vw, 36px); max-width: 22ch; }
.cta-band p { margin: 10px 0 0; color: rgba(248, 245, 238, .7); }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Legal documents ---------- */
.legal-doc { max-width: 820px; }
.legal-doc .updated { display: inline-block; margin-bottom: 24px; font-size: 13px; color: var(--muted); padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.placeholder { background: #FFF4D6; border-bottom: 1px dashed var(--gold-600); padding: 0 4px; border-radius: 3px; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
.c-card { padding: 26px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.c-card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); margin-bottom: 14px; }
.c-card .ic svg { width: 22px; height: 22px; }
.c-card small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-bottom: 6px; }
.c-card p, .c-card a { margin: 0; font-size: 15px; color: var(--navy-900); line-height: 1.5; }
.c-card a:hover { color: var(--gold-600); }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-split .map { margin: 0; aspect-ratio: auto; min-height: 420px; height: 100%; border-color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 300px 1fr; }
}
@media (max-width: 760px) {
  .svc-grid, .mv-grid, .contact-split { grid-template-columns: 1fr; }
  .values-grid, .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .list-grid, .contact-cards { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile-photo { position: static; max-width: 360px; }
  .facts { grid-template-columns: 1fr; }
  .page-hero::before { background: linear-gradient(180deg, rgba(6, 14, 27, .75), rgba(6, 14, 27, .9)); }
}

/* ==========================================================================
   Detailed sections
   ========================================================================== */
/* Who we act for */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.who { padding: 20px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold-500); }
.who h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin: 0 0 6px; color: var(--navy-900); }
.who p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* Checklist */
.checklist { list-style: none; padding: 0 !important; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; line-height: 1.55; }
.checklist li svg { flex: none; width: 20px; height: 20px; color: var(--gold-600); margin-top: 2px; }

/* Vertical step timeline */
.timeline-steps { list-style: none; padding: 0 !important; margin: 22px 0 0; position: relative; display: grid; gap: 0; }
.timeline-steps::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold-500), var(--line)); }
.tstep { position: relative; display: flex; gap: 20px; padding: 0 0 22px; margin: 0 !important; }
.tnum {
  flex: none; position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-300); font-family: var(--font-display); font-size: 18px; font-weight: 700; border: 3px solid var(--ivory);
}
.tstep h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 10px 0 4px !important; color: var(--navy-900); }
.tstep p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Documents box */
.doc-box { margin-top: 18px; padding: 24px 26px; border-radius: 16px; background: var(--paper); border: 1px dashed var(--gold-500); }
.doc-box > p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Related updates */
.rel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.rel-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); text-decoration: none !important; transition: box-shadow .3s, border-color .3s; }
.rel-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gold-400); }
.rel-card img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.rel-card small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.rel-card strong { font-size: 14.5px; line-height: 1.35; color: var(--navy-900); }

/* Sectors */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 14px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); color: var(--ivory); font-size: 15px; }
.sector svg { width: 24px; height: 24px; color: var(--gold-400); flex: none; }

/* What to expect */
.expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.expect { position: relative; padding: 30px 26px; border-radius: 16px; background: var(--ivory); border: 1px solid var(--line); overflow: hidden; }
.expect-n { position: absolute; right: 18px; top: 8px; font-family: var(--font-display); font-size: 60px; font-weight: 700; color: rgba(201, 161, 74, .18); line-height: 1; }
.expect h3 { font-size: 20px; margin-bottom: 8px; }
.expect p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Practice at a glance */
.glance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.glance { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; color: var(--navy-900); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.glance:hover { border-color: var(--gold-400); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.glance .gi { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); flex: none; }
.glance .gi svg { width: 20px; height: 20px; }
.glance > svg { width: 16px; height: 16px; margin-left: auto; color: var(--gold-600); }

/* Horizontal steps */
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.h-steps li { text-align: center; padding: 0 10px; position: relative; }
.h-steps li:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 2px; background: var(--gold-400); opacity: .5; }
.h-steps .tnum { margin: 0 auto 14px; }
.h-steps h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.h-steps p { margin: 0; font-size: 14px; color: var(--muted); }

/* Visit list */
.visit-list { display: grid; gap: 14px; }
.visit { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.visit .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); flex: none; }
.visit .ic svg { width: 20px; height: 20px; }
.visit small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; margin-bottom: 4px; }
.visit p { margin: 0; font-size: 15px; color: var(--navy-900); }

/* Reference table */
.table-wrap { overflow-x: auto; margin-top: 18px; border-radius: 14px; border: 1px solid var(--line); }
.ref-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--paper); }
.ref-table th { text-align: left; padding: 14px 16px; background: var(--navy-900); color: var(--ivory); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.ref-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.ref-table tbody tr:nth-child(even) td { background: var(--ivory); }
.ref-table td:last-child { color: var(--gold-600); font-weight: 600; }

@media (max-width: 1080px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .expect-grid { grid-template-columns: repeat(2, 1fr); }
  .h-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .h-steps li::after { display: none; }
  .with-sidebar[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .who-grid, .checklist, .rel-grid, .expect-grid, .glance-grid, .h-steps { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .values-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------- Legal updates listing ---------- */
.featured { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.featured-img { position: relative; display: block; min-height: 360px; overflow: hidden; }
.featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured:hover .featured-img img { transform: scale(1.04); }
.featured-img .tag { position: absolute; left: 20px; top: 20px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-950); background: var(--gold-400); padding: 7px 14px; border-radius: 999px; }
.featured-body { padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-body time { font-size: 13px; color: var(--muted); }
.featured-body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.featured-body p { margin: 0; color: var(--muted); }
.featured-toc { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.featured-toc li { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); color: var(--navy-900); }
.featured-body .btn { align-self: flex-start; }

.chip { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 13.5px; color: var(--navy-900); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold-500); }
.chip[aria-pressed="true"] { background: var(--navy-900); color: var(--ivory); border-color: var(--navy-900); }
.chip:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.list-grid.list-2 { grid-template-columns: repeat(2, 1fr); }
.post[hidden] { display: none; }
.filter-empty { color: var(--muted); }
.topic-links a span { margin-left: auto; margin-right: 6px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--ivory); color: var(--navy-900); opacity: 1 !important; }

.gloss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.gloss { padding: 20px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold-500); }
.gloss dt { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--navy-900); margin-bottom: 6px; }
.gloss dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 1080px) { .gloss-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .featured { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .list-grid.list-2, .gloss-grid { grid-template-columns: 1fr; }
}

/* ---------- QA fixes (small phones) ---------- */
.with-sidebar > *, .contact-split > * { min-width: 0; }
@media (max-width: 420px) {
  .page-hero h1 { font-size: 30px !important; }
  .values-grid, .values-grid[style*="repeat(4"], .cities-grid { grid-template-columns: 1fr !important; }
  .value h3 { font-size: 20px; }
  .page-hero h1 { font-size: 36px; }
  .faq-inner summary, .faq summary { padding: 16px 16px; font-size: 15px; }
}
