/* Heights Detailing – single blog post template
   Original layout preserved; Heights Detailing colors with Anton headings and Inter body text. Styles scoped to the single post only. */
.ad-single {
    --ad-bg: #FFFFFF;
    --ad-surface: #F8F8F8;
    --ad-surface-2: #F1F1F1;
    --ad-line: rgba(0, 0, 0, 0.12);
    --ad-text: #000000;
    --ad-head: #000000;
    --ad-muted: #838383;
    --ad-accent: #E12F2F;
    --ad-accent-light: #EA5353;
    --ad-accent-deep: #AA2020;
    --ad-radius: 24px;
    --ad-font: "Inter", sans-serif;
    --ad-heading-font: "Anton", Impact, sans-serif;
    --ad-heading-font: "Anton", sans-serif;

    background: var(--ad-bg);
    color: var(--ad-text);
    font-family: var(--ad-font);
    font-size: 18px;
    line-height: 1.75;
    padding-bottom: 96px;
    overflow-x: clip;
}

.ad-single *,
.ad-single *::before,
.ad-single *::after { box-sizing: border-box; }

.ad-single .ad-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}


/* Reading progress */
body.single-post .ad-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
}
body.single-post.admin-bar .ad-progress { top: 32px; }
body.single-post .ad-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #E12F2F, #EA5353);
    box-shadow: 0 0 12px rgba(225, 47, 47, 0.6);
    transition: width 0.1s linear;
}


/* Hero */
.ad-single .ad-hero {
    position: relative;
    padding: 72px 0 40px;
    text-align: center;
    isolation: isolate;
}
.ad-single .ad-hero::before {
    content: "";
    position: absolute;
    inset: -40% 10% auto;
    height: 520px;
    background: radial-gradient(closest-side, rgba(225, 47, 47, 0.22), transparent 70%);
    z-index: -1;
    pointer-events: none;
}
.ad-single .ad-crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ad-muted);
    margin-bottom: 28px;
}
.ad-single .ad-crumbs a { color: var(--ad-muted); text-decoration: none; }
.ad-single .ad-crumbs a:hover { color: var(--ad-accent-light); }
.ad-single .ad-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(225, 47, 47, 0.5);
    background: rgba(225, 47, 47, 0.1);
    color: var(--ad-accent-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
}
.ad-single .ad-pill:hover { background: rgba(225, 47, 47, 0.2); color: var(--ad-accent-light); }
.ad-single .ad-title {
    max-width: 960px;
    margin: 0 auto 24px;
    font-family: var(--ad-font);
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--ad-head);
    text-wrap: balance;
}
.ad-single .ad-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    font-size: 15px;
    color: var(--ad-muted);
}
.ad-single .ad-meta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--ad-text); font-weight: 600; }
.ad-single .ad-avatar {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ad-accent), var(--ad-accent-deep));
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
}
.ad-single .ad-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ad-accent); }


/* Cover image */
.ad-single .ad-cover {
    margin: 0 auto 56px;
    max-width: 1100px;
    border-radius: var(--ad-radius);
    overflow: hidden;
    border: 1px solid var(--ad-line);
    box-shadow: 0 30px 80px -30px rgba(225, 47, 47, 0.35);
}
.ad-single .ad-cover img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; object-position: center; }


/* Layout */
.ad-single .ad-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 64px;
    align-items: start;
}
.ad-single .ad-article { min-width: 0; max-width: 780px; }

.ad-single .ad-title,
.ad-single .ad-card__title,
.ad-single .ad-band__title,
.ad-single .ad-related__head h2 { text-transform: none; }


/* Article typography */
.ad-single .ad-content { color: var(--ad-text); font-size: 18px; line-height: 1.8; }
.ad-single .ad-content > *:first-child { margin-top: 0; }
.ad-single .ad-content p,
.ad-single .ad-content ul,
.ad-single .ad-content ol { margin: 0 0 1.25em; color: var(--ad-text); }
.ad-single .ad-content p:empty { display: none; }
.ad-single .ad-content strong,
.ad-single .ad-content b { color: var(--ad-head); font-weight: 700; }
.ad-single .ad-content h1,
.ad-single .ad-content h2,
.ad-single .ad-content h3,
.ad-single .ad-content h4,
.ad-single .ad-content h5,
.ad-single .ad-content h6 {
    font-family: var(--ad-font);
    color: var(--ad-head);
    line-height: 1.25;
    letter-spacing: -0.01em;
    scroll-margin-top: 110px;
}
.ad-single .ad-content h1,
.ad-single .ad-content h2 {
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 800;
    margin: 2em 0 0.7em;
    padding-left: 18px;
    border-left: 4px solid var(--ad-accent);
}
.ad-single .ad-content h3 { font-size: 23px; font-weight: 700; margin: 1.7em 0 0.6em; color: var(--ad-accent-light); }
.ad-single .ad-content h4,
.ad-single .ad-content h5,
.ad-single .ad-content h6 { font-size: 19px; font-weight: 700; margin: 1.5em 0 0.5em; }
.ad-single .ad-content a {
    color: var(--ad-accent);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(225, 47, 47, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.ad-single .ad-content a:hover { color: var(--ad-accent-light); text-decoration-color: var(--ad-accent-light); }
.ad-single .ad-content ul,
.ad-single .ad-content ol { padding-left: 1.4em; }
.ad-single .ad-content li { margin-bottom: 0.5em; padding-left: 4px; }
.ad-single .ad-content ul li::marker { color: var(--ad-accent); }
.ad-single .ad-content ol li::marker { color: var(--ad-accent); font-weight: 700; }
.ad-single .ad-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 0.6em 0 1.4em;
    display: block;
}
.ad-single .ad-content figure { margin: 2em 0; max-width: 100%; }
.ad-single .ad-content figcaption { font-size: 14px; color: var(--ad-muted); text-align: center; margin-top: -0.6em; }
.ad-single .ad-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border-radius: 18px;
    background: var(--ad-surface-2);
    border-left: 4px solid var(--ad-accent-light);
    font-size: 20px;
    font-style: italic;
    color: var(--ad-head);
}
.ad-single .ad-content blockquote p:last-child { margin-bottom: 0; }
.ad-single .ad-content hr { border: 0; height: 1px; background: var(--ad-line); margin: 2.5em 0; }
.ad-single .ad-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2em 0;
    font-size: 16px;
    border: 1px solid var(--ad-line);
    border-radius: 16px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}
.ad-single .ad-content th,
.ad-single .ad-content td { padding: 14px 18px; border-bottom: 1px solid var(--ad-line); text-align: left; vertical-align: top; color: var(--ad-text); }
.ad-single .ad-content th { background: var(--ad-surface-2); color: var(--ad-head); font-weight: 700; }
.ad-single .ad-content tr:last-child td { border-bottom: 0; }
.ad-single .ad-content iframe,
.ad-single .ad-content video { max-width: 100%; border-radius: 18px; }


/* Tags + share */
.ad-single .ad-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ad-single .ad-tags a {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ad-surface-2);
    color: var(--ad-text);
    font-size: 14px;
    text-decoration: none;
}
.ad-single .ad-tags a:hover { color: var(--ad-accent-light); }
.ad-single .ad-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--ad-line);
    font-size: 15px;
}
.ad-single .ad-share span { color: var(--ad-muted); margin-right: 6px; }
.ad-single .ad-share a {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--ad-line);
    color: var(--ad-head);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}
.ad-single .ad-share a:hover { border-color: var(--ad-accent); color: var(--ad-accent-light); }


/* Sidebar */
.ad-single .ad-sidebar { display: flex; flex-direction: column; gap: 20px; align-self: stretch; }
.ad-single .ad-toc { position: sticky; top: 110px; }
.admin-bar .ad-single .ad-toc { top: 142px; }
.ad-single .ad-card {
    padding: 26px;
    border-radius: var(--ad-radius);
    background: var(--ad-surface);
    border: 1px solid var(--ad-line);
}
.ad-single .ad-card[hidden] { display: none; }
.ad-single .ad-card__label {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ad-accent);
}
.ad-single .ad-card__title { margin: 0 0 10px; font-family: var(--ad-font); font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--ad-head); }
.ad-single .ad-card__text { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--ad-text); }
.ad-single .ad-card--cta {
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(225, 47, 47, 0.18), transparent 60%),
        linear-gradient(160deg, #FFF3F3 0%, #FFFFFF 100%);
    border-color: rgba(225, 47, 47, 0.35);
}
.ad-single .ad-toc__list { list-style: none; margin: 0; padding: 0 6px 0 0; counter-reset: toc; max-height: calc(100vh - 220px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(225, 47, 47, 0.5) transparent; }
.ad-single .ad-toc__list li { counter-increment: toc; margin: 0; }
.ad-single .ad-toc__list a {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 6px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ad-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--ad-line);
    transition: color 0.2s;
}
.ad-single .ad-toc__list li:last-child a { border-bottom: 0; }
.ad-single .ad-toc__list a::before { content: counter(toc, decimal-leading-zero); color: var(--ad-accent); font-weight: 700; font-size: 12px; padding-top: 2px; }
.ad-single .ad-toc__list a:hover,
.ad-single .ad-toc__list a.is-active { color: var(--ad-head); }
.ad-single .ad-links { list-style: none; margin: 0; padding: 0; }
.ad-single .ad-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--ad-line);
    color: var(--ad-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}
.ad-single .ad-links li:last-child a { border-bottom: 0; }
.ad-single .ad-links a::after { content: "→"; color: var(--ad-accent); transition: transform 0.2s; }
.ad-single .ad-links a:hover { color: var(--ad-accent-light); }
.ad-single .ad-links a:hover::after { transform: translateX(4px); }


/* Buttons */
.ad-single .ad-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--ad-accent);
    color: #FFFFFF;
    font-family: var(--ad-font);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--ad-accent);
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.ad-single .ad-btn + .ad-btn { margin-top: 10px; }
.ad-single .ad-btn:hover { background: #000000; border-color: #000000; color: #FFFFFF; transform: translateY(-1px); }
.ad-single .ad-btn--ghost { background: transparent; color: var(--ad-head); border-color: rgba(0, 0, 0, 0.25); }
.ad-single .ad-btn--ghost:hover { background: transparent; color: var(--ad-accent-light); border-color: var(--ad-accent-light); }
.ad-single .ad-btn--dark { background: #000000; color: #FFFFFF; border-color: #000000; }
.ad-single .ad-btn--dark:hover { background: #FFFFFF; border-color: #FFFFFF; color: #000000; }
.ad-single .ad-btn--outline { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.ad-single .ad-btn--outline:hover { background: #000000; color: #FFFFFF; border-color: #000000; }


/* CTA band */
.ad-single .ad-band {
    position: relative;
    margin-top: 88px;
    padding: 52px 56px;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(225, 47, 47, 0.55), transparent 60%),
        linear-gradient(120deg, #E12F2F 0%, #AA2020 100%);
    color: #FFFFFF;
}
.ad-single .ad-band::after {
    content: "";
    position: absolute;
    right: 28%;
    top: 22px;
    width: 34px;
    height: 34px;
    background: #EA5353;
    clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
    opacity: 0.9;
}
.ad-single .ad-band__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FFFFFF; opacity: 0.9; }
.ad-single .ad-band__title { margin: 0 0 10px; font-family: var(--ad-font); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; color: #FFFFFF; }
.ad-single .ad-band__text { margin: 0; font-size: 16px; line-height: 1.6; color: #FFFFFF; max-width: 560px; }
.ad-single .ad-band__actions { display: grid; gap: 12px; min-width: 240px; }
.ad-single .ad-band__actions .ad-btn + .ad-btn { margin-top: 0; }


/* Related posts */
.ad-single .ad-related { margin-top: 88px; }
.ad-single .ad-related__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.ad-single .ad-related__head h2 { margin: 0; font-family: var(--ad-font); font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--ad-head); }
.ad-single .ad-related__head a { color: var(--ad-accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.ad-single .ad-related__head a:hover { color: var(--ad-accent-light); }
.ad-single .ad-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ad-single .ad-rcard {
    display: flex;
    flex-direction: column;
    border-radius: var(--ad-radius);
    overflow: hidden;
    background: var(--ad-surface);
    border: 1px solid var(--ad-line);
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.ad-single .ad-rcard:hover { transform: translateY(-4px); border-color: rgba(225, 47, 47, 0.5); box-shadow: 0 24px 50px -24px rgba(225, 47, 47, 0.45); }
.ad-single .ad-rcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ad-surface-2); }
.ad-single .ad-rcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.ad-single .ad-rcard:hover .ad-rcard__media img { transform: scale(1.04); }
.ad-single .ad-rcard__ph {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: 40px;
    font-weight: 800;
    color: rgba(225, 47, 47, 0.6);
    background: linear-gradient(135deg, #FFF3F3, #FFFFFF);
}
.ad-single .ad-rcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.ad-single .ad-rcard__date { font-size: 13px; color: var(--ad-muted); }
.ad-single .ad-rcard__title { font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--ad-head); }
.ad-single .ad-rcard__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ad-accent); }


/* Comments */
.ad-single .ad-comments { margin-top: 72px; max-width: 828px; color: var(--ad-text); }
.ad-single .ad-comments a { color: var(--ad-accent); }


/* Responsive */
@media (max-width: 1024px) {

    .ad-single .ad-layout { grid-template-columns: 1fr; gap: 48px; }
    .ad-single .ad-article { max-width: none; }
    .ad-single .ad-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ad-single .ad-toc { display: none; }
    .ad-single .ad-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ad-single .ad-band { grid-template-columns: 1fr; padding: 44px 36px; }
    .ad-single .ad-band__actions { min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (max-width: 782px) {

    body.single-post.admin-bar .ad-progress { top: 46px; }

}
@media (max-width: 680px) {

    .ad-single { font-size: 17px; }
    .ad-single .ad-wrap { padding-inline: 18px; }
    .ad-single .ad-hero { padding: 48px 0 28px; }
    .ad-single .ad-cover { margin-bottom: 36px; border-radius: 18px; }
    .ad-single .ad-content { font-size: 17px; }
    .ad-single .ad-sidebar { grid-template-columns: 1fr; }
    .ad-single .ad-related__grid { grid-template-columns: 1fr; }
    .ad-single .ad-band { padding: 36px 24px; border-radius: 24px; margin-top: 64px; }
    .ad-single .ad-band__actions { grid-template-columns: 1fr; }
    .ad-single .ad-related { margin-top: 64px; }

}


/* Single-post heading overrides, scoped to this template. */
body.single-post .ad-single .ad-content h1,
body.single-post .ad-single .ad-content h2 { font-size: clamp(26px, 2.6vw, 32px) !important; color: var(--ad-head) !important; }
body.single-post .ad-single .ad-content h3 { font-size: 23px !important; color: var(--ad-accent-light) !important; }
body.single-post .ad-single .ad-content h4,
body.single-post .ad-single .ad-content h5,
body.single-post .ad-single .ad-content h6 { font-size: 19px !important; color: var(--ad-head) !important; }
body.single-post .ad-single .ad-card__title { font-size: 22px !important; color: var(--ad-head) !important; }
body.single-post .ad-single .ad-band__title { font-size: clamp(26px, 3vw, 36px) !important; color: #FFFFFF !important; }
body.single-post .ad-single .ad-related__head h2 { font-size: clamp(26px, 3vw, 36px) !important; color: var(--ad-head) !important; }


/* Small-screen polish */
@media (max-width: 680px) {

    .ad-single .ad-meta__author { flex-basis: 100%; justify-content: center; }
    .ad-single .ad-meta .ad-dot:first-of-type { display: none; }
    .ad-single .ad-band::after { right: 20px; top: 16px; width: 22px; height: 22px; }

}



/* =============================================================
   HEIGHTS DETAILING - FINAL BLOG BRANDING / ACCESSIBILITY
   Scopes ONLY inside .ad-single. No global header/footer rules.
   ============================================================= */
body.single-post .ad-single {
    --ad-bg: #FFFFFF;
    --ad-surface: #F8F8F8;
    --ad-surface-2: #F1F1F1;
    --ad-line: rgba(0,0,0,.12);
    --ad-text: #000000;
    --ad-head: #000000;
    --ad-muted: #838383;
    --ad-accent: #E12F2F;
    --ad-accent-light: #B32323;
    --ad-accent-deep: #A91F1F;
    --ad-font: "Inter", sans-serif;
    --ad-heading-font: "Anton", Impact, sans-serif;
    background: #FFFFFF;
    color: #000000;
    font-family: var(--ad-font);
}
/* Use Anton only for headlines, not paragraph or navigation links. */
body.single-post .ad-single :is(
  .ad-title, .ad-content h1, .ad-content h2, .ad-content h3,
  .ad-content h4, .ad-content h5, .ad-content h6,
  .ad-card__title, .ad-band__title, .ad-related__head h2,
  .ad-rcard__title
) {
    font-family: var(--ad-heading-font) !important;
    font-weight: 400 !important;
    letter-spacing: .01em;
}
body.single-post .ad-single :is(.ad-title, .ad-content h1, .ad-content h2,
 .ad-content h4, .ad-content h5, .ad-content h6,
 .ad-card__title, .ad-related__head h2, .ad-rcard__title) {
    color: #000000 !important;
}
body.single-post .ad-single .ad-content h3 { color:#E12F2F !important; }
body.single-post .ad-single .ad-content { color:#000000; }
body.single-post .ad-single .ad-content :is(p,li,th,td,blockquote) { color: #000000; }
body.single-post .ad-single .ad-content :is(strong,b) { color:#000000; }
body.single-post .ad-single :is(.ad-meta,.ad-rcard__date,.ad-crumbs) { color: #838383; }
body.single-post .ad-single .ad-card__text { color: #262626; }
body.single-post .ad-single .ad-cover { height:auto !important; max-height:none !important; }
body.single-post .ad-single .ad-cover img,
body.single-post .ad-single .ad-cover img.wp-post-image {
    display:block !important; width:100% !important; height:auto !important;
    max-height:none !important; min-height:0 !important;
    aspect-ratio:auto !important; object-fit:contain !important;
    object-position:center center !important;
}
body.single-post .ad-single .ad-card,
body.single-post .ad-single .ad-rcard {
    background:#F8F8F8; border-color:#E4E4E4;
}
body.single-post .ad-single .ad-card--cta {
    background: linear-gradient(160deg,#FFF4F4 0%,#FFFFFF 100%);
    border-color: rgba(225,47,47,.30);
}
body.single-post .ad-single .ad-hero::before {
    background: radial-gradient(closest-side,rgba(225,47,47,.11),transparent 70%);
}
body.single-post .ad-single .ad-content blockquote {
    background:#F8F8F8; color:#000000; border-left-color:#E12F2F;
}
body.single-post .ad-single .ad-content blockquote :is(p,li) { color:#000000; }
body.single-post .ad-single .ad-content th {
    background:#F1F1F1; color:#000000;
}
/* Readable links and TOC with distinct hover / active states. */
body.single-post .ad-single .ad-content a { color:#C62727; }
body.single-post .ad-single .ad-content a:is(:hover,:focus-visible),
body.single-post .ad-single .ad-links a:is(:hover,:focus-visible),
body.single-post .ad-single .ad-related__head a:is(:hover,:focus-visible) {
    color:#991A1A !important; -webkit-text-fill-color:#991A1A !important;
}
body.single-post .ad-single .ad-toc__list a {
    color:#555555 !important; -webkit-text-fill-color:#555555 !important;
}
body.single-post .ad-single .ad-toc__list a:is(:hover,:focus-visible,.is-active) {
    color:#E12F2F !important; -webkit-text-fill-color:#E12F2F !important;
}
body.single-post .ad-single .ad-toc__list a:is(:hover,:focus-visible,.is-active)::before {
    color:#E12F2F !important; -webkit-text-fill-color:#E12F2F !important;
}
body.single-post .ad-single .ad-share a { color:#000000; }
body.single-post .ad-single .ad-share a:is(:hover,:focus-visible) { color:#B32323; }
/* Sidebar: call = red with white label, hover black with white label. */
body.single-post .ad-single .ad-card--cta a.ad-btn:not(.ad-btn--ghost) {
    background:#E12F2F !important; border-color:#E12F2F !important;
    color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important;
}
body.single-post .ad-single .ad-card--cta a.ad-btn:not(.ad-btn--ghost):is(:hover,:focus-visible) {
    background:#000000 !important; border-color:#000000 !important;
    color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important;
}
body.single-post .ad-single .ad-card--cta a.ad-btn--ghost {
    background:transparent !important; border-color:#000000 !important;
    color:#000000 !important; -webkit-text-fill-color:#000000 !important;
}
body.single-post .ad-single .ad-card--cta a.ad-btn--ghost:is(:hover,:focus-visible) {
    background:#000000 !important; border-color:#000000 !important;
    color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important;
}
/* Bottom CTA: deep red surface, white copy and contrasting buttons. */
body.single-post .ad-single .ad-band {
    background: linear-gradient(125deg,#E12F2F 0%,#A91F1F 100%);
    color:#FFFFFF;
}
body.single-post .ad-single .ad-band :is(.ad-band__eyebrow,.ad-band__title,.ad-band__text) {
    color:#FFFFFF !important;
}
body.single-post .ad-single .ad-band a.ad-btn--dark {
    background:#000000 !important; border-color:#000000 !important;
    color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important;
}
body.single-post .ad-single .ad-band a.ad-btn--dark:is(:hover,:focus-visible) {
    background:#FFFFFF !important; border-color:#FFFFFF !important;
    color:#000000 !important; -webkit-text-fill-color:#000000 !important;
}
body.single-post .ad-single .ad-band a.ad-btn--outline {
    background:#FFFFFF !important; border-color:#FFFFFF !important;
    color:#000000 !important; -webkit-text-fill-color:#000000 !important;
}
body.single-post .ad-single .ad-band a.ad-btn--outline:is(:hover,:focus-visible) {
    background:#000000 !important; border-color:#000000 !important;
    color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important;
}
body.single-post .ad-single a.ad-btn {
    font-family:"Inter",sans-serif !important;
    text-decoration:none !important; text-align:center;
    line-height:1.35; font-weight:700 !important; text-shadow:none !important;
    opacity:1 !important;
}
body.single-post .ad-single .ad-rcard:hover {
    border-color:rgba(225,47,47,.50);
    box-shadow:0 20px 45px -26px rgba(0,0,0,.28);
}
body.single-post .ad-single .ad-avatar {
    background:linear-gradient(135deg,#E12F2F,#AA2020);
    color:#FFFFFF;
}
body.single-post .ad-single .ad-rcard__ph {
    color:#E12F2F; background:linear-gradient(135deg,#FAFAFA,#EEEEEE);
}
/* TOC anchors sit below typical sticky navigation. Header itself untouched. */
body.single-post .ad-single .ad-content :is(h2,h3,h4) { scroll-margin-top:120px; }
@media (max-width:680px) {
    body.single-post .ad-single .ad-content :is(h2,h3,h4) { scroll-margin-top:90px; }
}
