/* =====================================================================
   Marketing subpage templates (t-*) — "Athens Services Subpage Templates.pdf"
   Loaded after site.css; also restyles the legacy (converted) pages.
   ===================================================================== */
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.t-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.t-wrap--narrow { max-width: 820px; }

/* Utility bar */
.t-utility { background: var(--navy); font-size: .78rem; }
.t-utility ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; }
.t-utility a { display: block; color: #e7eaf0; text-decoration: none; padding: .55rem .85rem; font-weight: 500; }
.t-utility li:last-child a { padding-right: 0; }
.t-utility a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 720px) {
  .t-utility ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .t-utility li:first-child a { padding-left: 0; }
  .t-utility a { white-space: nowrap; }
}

/* Header */
.t-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.t-header__in { display: flex; align-items: center; gap: 2.5rem; min-height: 68px; position: relative; }
.t-logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--red); text-decoration: none; flex-shrink: 0; }
.t-logo svg { width: 26px; height: 22px; }
/* Header logo matches the size on the current athensservices.com (about 64px tall on desktop). */
.t-logo--img img { height: 64px; width: auto; display: block; }
@media (max-width: 960px) { .t-logo--img img { height: 52px; } }
.t-footer .t-logo--img img { height: 56px; }
.t-logo span { font: 700 1.1rem var(--head); color: var(--navy); letter-spacing: -.01em; }
.t-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.t-nav nav { flex: 1; }
.t-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .35rem; }
.t-nav__list a { display: block; font: 600 .9rem var(--head); color: var(--red); text-decoration: none; padding: 1.45rem .75rem; position: relative; }
.t-nav__list a:hover { color: var(--red-dark); }
.t-nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 0; height: 2px; background: var(--red); }
.t-nav__actions { display: flex; gap: .6rem; }
@media (min-width: 1081px) { .t-header .menu-toggle { display: none; } }
@media (max-width: 1080px) {
  .t-header__in { justify-content: space-between; }
  .t-header .menu-toggle { display: block; margin-left: auto; }
  .t-nav { display: none; position: absolute; top: 100%; left: -16px; right: -16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: .5rem 16px 1.25rem; }
  .t-nav.is-open { display: flex; }
  .t-nav__list { flex-direction: column; gap: 0; }
  .t-nav__list a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .t-nav__list a[aria-current="page"]::after { left: -10px; right: auto; top: .7rem; bottom: .7rem; width: 3px; height: auto; }
  .t-nav__actions .t-btn { flex: 1; }
}

/* Buttons */
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; font: 600 .88rem/1 var(--head); padding: .78rem 1.15rem; border-radius: var(--radius-sm); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.t-btn--primary { background: var(--red); color: #fff; }
.t-btn--primary:hover { background: var(--red-dark); color: #fff; }
.t-btn--outline { background: #fff; color: var(--navy); border-color: #d3d7de; }
.t-btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.t-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.t-btn--outline-light:hover { background: #fff; color: var(--navy); }
.t-btn.block { display: flex; width: 100%; }
.t-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; }

/* Typography helpers */
.t-eyebrow { font: 700 .7rem/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin: 0 0 .45rem; }
.t-eyebrow--light { color: #D5172A; }
.t-more { display: inline-flex; align-items: center; gap: .35rem; font: 600 .88rem var(--head); color: var(--navy); text-decoration: none; }
.t-more .i { color: var(--red); transition: transform .15s; }
a.t-more:hover .i, .t-card:hover .t-more .i { transform: translateX(3px); }
.t-h2 { font-size: 1.3rem; margin: 2.25rem 0 1rem; }
.t-h2:first-child { margin-top: 0; }

/* Breadcrumbs */
.t-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .8rem; color: #9aa3b2; }
.t-crumbs li + li::before { content: "/"; margin-right: .4rem; color: #c4cad3; }
.t-crumbs a { color: #9aa3b2; text-decoration: none; }
.t-crumbs a:hover { color: #fff; text-decoration: underline; }
.t-crumbs [aria-current] { color: #D5172A; }
.article__head .t-crumbs ol, .crumbs-float .t-crumbs ol, .article__head .t-crumbs a, .crumbs-float .t-crumbs a { color: var(--muted); }
.article__head .t-crumbs a:hover, .crumbs-float .t-crumbs a:hover { color: var(--red); }
.article__head .t-crumbs [aria-current], .crumbs-float .t-crumbs [aria-current] { color: var(--red); }

/* Hero */
.t-hero { position: relative; color: #fff; padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .028) 0 26px, rgba(255, 255, 255, 0) 26px 52px),
    linear-gradient(110deg, var(--navy) 0%, var(--navy) 45%, var(--navy-2) 100%); }
.t-hero { min-height: clamp(240px, 22vw, 400px); display: flex; align-items: center; }
.t-hero > .t-wrap { flex: 1; }
.t-hero--photo { background: linear-gradient(100deg, rgba(27, 37, 55, .95) 0%, rgba(27, 37, 55, .8) 50%, rgba(27, 37, 55, .35) 100%), var(--bg) center / cover no-repeat; }
/* Rotating photo banners (lib/banners.js): photos cross-fade behind the same dark gradient as a photo banner. */
.t-hero--slides { background: var(--navy); overflow: hidden; }
.t-hero__slides { position: absolute; inset: 0; z-index: 0; }
.t-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.t-hero__slide.is-active { opacity: 1; }
.t-hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 37, 55, .95) 0%, rgba(27, 37, 55, .82) 50%, rgba(27, 37, 55, .4) 100%); }
.t-hero--slides > .t-wrap { position: relative; z-index: 1; }
@media (max-width: 720px) { .t-hero__slides::after { background: rgba(27, 37, 55, .82); } }
@media (prefers-reduced-motion: reduce) { .t-hero__slide { transition: none; } }
.t-hero__in > * { max-width: 600px; }
.t-hero h1 { color: #fff; margin: 0 0 .6rem; }
.t-hero__lead { color: #d5dae3; font-size: 1.02rem; margin: 0; }
.t-photo-tag { position: absolute; right: var(--edge); bottom: 12px; margin: 0; display: inline-flex; gap: .45rem; align-items: center; background: rgba(10, 15, 25, .65); color: #cfd5df; font: 600 .62rem var(--head); letter-spacing: .08em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 4px; max-width: calc(100% - 24px); }
@media (max-width: 720px) { .t-photo-tag { display: none; } }

/* Search box */
.t-search { position: relative; display: flex; gap: .4rem; background: #fff; border-radius: var(--radius-sm); padding: .3rem; margin-top: 1.4rem; max-width: 520px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.t-search__icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #8a93a3; }
.t-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: .92rem; padding: .6rem .5rem .6rem 2.3rem; color: var(--ink); background: transparent; }
.t-search input:focus { outline: none; }
.t-search:focus-within { outline: 2px solid #D5172A; outline-offset: 2px; }

/* Sections */
.t-section { padding: clamp(2.5rem, 6vw, 3.75rem) 0; }
.t-section--tint { background: var(--tint); }
.t-head { margin-bottom: 1.5rem; }
.t-head h2 { margin: 0; }
.t-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.t-head--center { text-align: center; }
.t-mission { text-align: center; max-width: 40rem; margin: 0 auto; color: var(--muted); }

/* Icon box + quick actions */
.t-ibox { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--red-soft); color: var(--red); flex-shrink: 0; }
.t-ibox .i { width: 18px; height: 18px; }
.t-quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.t-quick a { display: flex; flex-direction: column; gap: .9rem; height: 100%; padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; font: 600 .9rem/1.3 var(--head); color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.t-quick a:hover { border-color: var(--red); box-shadow: var(--shadow); }
@media (max-width: 900px) { .t-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .t-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Photo + placeholder */
.t-photo { aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--tint); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-photo--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 1rem; text-align: center; color: #8d95a3;
  background: repeating-linear-gradient(135deg, #e7e9ed 0 14px, #dfe2e7 14px 28px); }
.t-photo--ph .i { width: 22px; height: 22px; margin-bottom: .2rem; }
.t-photo--ph strong { font: 600 .62rem var(--head); letter-spacing: .1em; text-transform: uppercase; }
.t-photo--ph span { font-size: .72rem; max-width: 26ch; line-height: 1.35; }

/* Cards */
.t-cards { display: grid; gap: 1.1rem; }
.t-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.t-cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; }
.t-cards--5 .t-photo { aspect-ratio: 4 / 3; }
.t-cards--2 .t-photo { aspect-ratio: 16 / 9.8; }
@media (max-width: 1000px) { .t-cards--3, .t-cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .t-cards--2, .t-cards--3, .t-cards--5 { grid-template-columns: 1fr; } }
.t-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.t-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.t-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.15rem 1.25rem; }
.t-card h3 { font-size: 1.02rem; margin: 0 0 .5rem; }
.t-card h3 a { color: var(--navy); text-decoration: none; }
.t-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.t-card p:not(.t-eyebrow) { font-size: .88rem; color: var(--muted); margin: 0 0 1rem; flex: 1; }

/* Tiles (resources) */
.t-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.t-tiles + .t-tiles { margin-top: 1rem; }
.t-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.t-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .t-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .t-tiles--4, .t-tiles--2 { grid-template-columns: 1fr; } }
.t-tiles a { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.t-tiles a:hover { border-color: var(--red); box-shadow: var(--shadow); }
.t-tiles .t-ibox { margin-bottom: .75rem; }
.t-tiles strong { font: 600 .95rem var(--head); color: var(--navy); }
.t-tiles span:not(.t-ibox) { font-size: .82rem; color: var(--muted); }

/* CTA */
.t-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.t-cta h2 { font-size: 1.35rem; margin: 0 0 .35rem; }
.t-cta p { margin: 0; color: var(--muted); font-size: .92rem; max-width: 30rem; }
.t-cta__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.t-cta__actions--stack { flex-direction: column; align-items: flex-start; }
.t-cta--dark { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem); }
.t-cta--dark h2 { color: #fff; }
.t-cta--dark p { color: #c9d0db; }
.t-cta__phone { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 700; text-decoration: none; margin-right: .5rem; }
.t-cta__phone:hover { color: #fff; text-decoration: underline; }

/* FAQ accordion */
.t-faq { max-width: 760px; }
.t-faq details { border-bottom: 1px solid var(--line); }
.t-faq details[hidden] { display: none; }
.t-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font: 600 .95rem var(--head); color: var(--navy); }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary .i { color: var(--red); transition: transform .2s; }
.t-faq details[open] summary .i { transform: rotate(180deg); }
.t-faq__a { padding: 0 0 1.1rem; color: var(--muted); font-size: .92rem; }
.t-faq__a p:last-child { margin-bottom: 0; }
.t-faq__a .proto-note { margin: .75rem 0 0; }
.t-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.t-chips button { font: 600 .8rem var(--head); padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.t-chips button span { color: var(--muted); font-weight: 500; margin-left: .15rem; }
.t-chips button[aria-selected="true"] { border-color: var(--red); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.t-result-count { color: var(--muted); font-size: .9rem; }

/* Features (why Athens) */
.t-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.t-features li { display: flex; gap: .85rem; }
.t-features > li > .i { color: var(--red); width: 20px; height: 20px; margin-top: .1rem; }
.t-features h3 { font-size: .95rem; margin: 0 0 .25rem; }
.t-features p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .t-features { grid-template-columns: 1fr; } }

/* Stats */
.t-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.t-stats strong { display: block; font: 800 clamp(2rem, 4vw, 2.6rem)/1.1 var(--head); color: var(--red); letter-spacing: -.02em; }
.t-stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .t-stats { grid-template-columns: 1fr; } }

/* Locations */
.t-locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .t-locs { grid-template-columns: 1fr; } }
.t-loc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.t-loc h3 { font-size: 1rem; margin-bottom: .8rem; }
.t-loc ul { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .55rem; font-size: .9rem; }
.t-loc li { display: flex; gap: .6rem; align-items: center; }
.t-loc li .i { color: var(--red); }
.t-loc a { color: var(--ink-2); text-decoration: none; }
.t-loc a:hover { color: var(--red); text-decoration: underline; }

/* Service detail */
.t-split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .t-split { grid-template-columns: 1fr; } .t-details { position: static !important; } }
.t-checks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; font-size: .92rem; }
.t-checks li { display: flex; gap: .55rem; align-items: center; }
.t-checks .i { color: var(--red); }
@media (max-width: 520px) { .t-checks { grid-template-columns: 1fr; } }
.t-split__main > .t-photo { border-radius: var(--radius); }
.t-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.t-steps li { display: flex; gap: 1rem; }
.t-steps__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font: 700 .8rem var(--head); flex-shrink: 0; }
.t-steps h3 { font-size: .95rem; margin: .2rem 0; }
.t-steps p { font-size: .88rem; color: var(--muted); margin: 0; }
.t-details { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.35rem 1.1rem; background: #fff; box-shadow: var(--shadow); }
.t-details h2 { font-size: 1rem; margin-bottom: .75rem; }
.t-details dl { margin: 0 0 1.1rem; }
.t-details dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.t-details dt { color: var(--muted); }
.t-details dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.t-details__phone { display: flex; align-items: center; gap: .45rem; font-size: .84rem; color: var(--muted); margin: .85rem 0 0; }
.t-details__phone a { color: var(--muted); }
.t-schedule { margin-top: 2.25rem; scroll-margin-top: 90px; }

/* Footer */
.t-footer { background: var(--navy); color: #aab3c2; padding: 3rem 0 0; font-size: .86rem; }
.t-footer .t-logo { color: var(--red); }
.t-footer .t-logo span { color: #fff; }
.t-footer__brand p { margin: .9rem 0 2.25rem; line-height: 1.6; }
.t-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 2rem; padding-bottom: 2.5rem; }
@media (max-width: 720px) { .t-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.t-footer h2 { font: 700 .68rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: #8892a3; margin: 0 0 .9rem; }
.t-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.t-footer a { color: #e4e8ee; text-decoration: none; }
.t-footer a:hover { color: #fff; text-decoration: underline; }
.t-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid #2e3a50; padding: 1.25rem 0 4.5rem; font-size: .78rem; }
.t-footer__base span:last-child { display: flex; gap: 1.5rem; }
.t-footer__base a, .t-footer__base .cc-footer-link { color: #aab3c2; }
.t-footer__base span:last-child { flex-wrap: wrap; }

/* Legacy pages + homepage: align with the template palette */
.band--dark { background: var(--navy); }
.cta { background: var(--navy); }
.cta .btn--light { color: var(--navy); }
.cta .btn--outline-light:hover { color: var(--navy); }
.service { border-top-color: var(--red); }
.eyebrow { color: var(--red); }
.hero .eyebrow { color: #D5172A; }
.chips a[aria-current="true"] { background: var(--navy); border-color: var(--navy); }
.quick__grid a { gap: .75rem; }

/* Footer layout from the 2026 design: logo + blurb beside the four link columns on wide screens. */
@media (min-width: 961px) {
  .t-footer > .t-wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 4fr); column-gap: 36px; }
  .t-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
  .t-footer__base { grid-column: 1 / -1; }
  .t-footer__brand p { margin-bottom: 0; }
}

/* =====================================================================
   Cookie consent (public/consent.js, content/consent.js)
   Accept and Reject have equal weight (California discourages lopsided choices).
   ===================================================================== */
.cc-btn { display: inline-flex; align-items: center; justify-content: center; font: 600 .88rem/1.1 var(--head); padding: .7rem 1.05rem; border-radius: var(--radius-sm); border: 1px solid #c9ced8; background: #fff; color: var(--navy); cursor: pointer; }
.cc-btn:hover { border-color: var(--navy); }
.cc-btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.cc-btn--primary:hover { background: #2a3a55; color: #fff; }
.cc-btn--link { background: none; border: 0; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; padding-inline: .4rem; }
.cc-banner { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); background: #fff; color: var(--ink-2); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(15, 23, 42, .25); padding: 1.15rem 1.2rem 1.1rem; font-size: .9rem; }
.cc-banner[hidden] { display: none; }
.cc-banner__title { font-size: 1.05rem; margin: 0 0 .4rem; }
.cc-banner__text { margin: 0 0 .9rem; line-height: 1.5; }
.cc-banner__text a, .cc-dialog a, .cc-embed__ph a { color: var(--red); }
.cc-banner__btns { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.cc-banner__btns .cc-btn--primary { flex: 1 1 8rem; }
.cc-gpc { background: #eef6f0; border: 1px solid #b9dcc4; color: #1d5a32; border-radius: var(--radius-sm); padding: .6rem .75rem; font-size: .84rem; margin: 0 0 .9rem; }
@media (max-width: 560px) { .cc-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: var(--radius) var(--radius) 0 0; } }

.cc-dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 24px 70px rgba(15, 23, 42, .35); color: var(--ink-2); }
.cc-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.cc-dialog__in { padding: 1.4rem 1.5rem 1.2rem; font-size: .92rem; }
.cc-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .4rem; }
.cc-dialog__head h2 { margin: 0; font-size: 1.3rem; }
.cc-close { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .4rem; }
.cc-cat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; margin: .75rem 0 0; }
.cc-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.cc-cat legend { float: left; padding: 0; font: 700 1rem var(--head); color: var(--ink); }
.cc-cat p { margin: .45rem 0 .5rem; clear: both; }
.cc-cat summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: .85rem; }
.cc-table-wrap { overflow-x: auto; margin-top: .5rem; }
.cc-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.cc-table th, .cc-table td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cc-switch { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 600; font-size: .82rem; white-space: nowrap; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch__ui { width: 42px; height: 24px; border-radius: 999px; background: #c9ced8; position: relative; transition: background .15s; flex: none; }
.cc-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch input:checked + .cc-switch__ui { background: var(--green, #1f7a3d); }
.cc-switch input:checked + .cc-switch__ui::after { transform: translateX(18px); }
.cc-switch input:focus-visible + .cc-switch__ui { outline: 3px solid var(--red); outline-offset: 2px; }
.cc-switch input:disabled + .cc-switch__ui { opacity: .6; }
.cc-dialog__btns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; margin-top: 1.1rem; }

.cc-embed { position: relative; min-height: 220px; }
.cc-embed > iframe:not([src]) { visibility: hidden; }
.cc-embed__ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; text-align: center; padding: 1.25rem; background: repeating-linear-gradient(135deg, #f1f3f6 0 14px, #e9ecf1 14px 28px); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink-2); }
.cc-embed__ph p { margin: 0; max-width: 34rem; }
.cc-embed__btns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .6rem !important; }
.cc-footer-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
