/* IHGS Presidents article component. Every selector is scoped to post 39 and the unique article root. */

body.single-post.postid-39 .ihgs-presidents-v2,
body.single-post.postid-39 .ihgs-presidents-v2 * {
    box-sizing: border-box;
}

body.single-post.postid-39 .ihgs-presidents-v2 {
    --ihgs-presidents-navy: #1f2a44;
    --ihgs-presidents-navy-deep: #121927;
    --ihgs-presidents-gold: #765713;
    --ihgs-presidents-gold-light: #ead7ab;
    --ihgs-presidents-burgundy: #65333a;
    --ihgs-presidents-cream: #fffaf1;
    --ihgs-presidents-paper: #f1eadb;
    --ihgs-presidents-surface: #f8f4ea;
    --ihgs-presidents-ink: #252628;
    --ihgs-presidents-muted: #565a62;
    --ihgs-presidents-border: rgba(31, 42, 68, 0.16);
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: var(--ihgs-presidents-ink);
    background: var(--ihgs-presidents-paper);
    font-family: "DM Sans", Arial, sans-serif;
    line-height: 1.6;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__inner,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-inner {
    width: calc(100% - clamp(2rem, 6vw, 4rem));
    max-width: 1220px;
    margin-right: auto;
    margin-left: auto;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-two-column > * {
    min-width: 0;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-eyebrow {
    margin: 0 0 0.8rem;
    color: var(--ihgs-presidents-gold);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-heading {
    margin: 0;
    color: var(--ihgs-presidents-navy);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.12;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-heading:not(.ihgs-presidents-heading--hero)::after {
    display: block;
    width: 3.25rem;
    height: 0.2rem;
    margin-top: 0.9rem;
    background: var(--ihgs-presidents-gold);
    content: "";
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-heading--hero {
    max-width: 760px;
    color: var(--ihgs-presidents-cream);
    font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
    font-size: clamp(2.5rem, 3.3vw, 3.6rem);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-text-link {
    font: inherit;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.3rem;
    border: 1px solid transparent;
    border-radius: 0.15rem;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0.45rem 1rem rgba(18, 25, 39, 0.14), 0 2px 0 rgba(18, 25, 39, 0.16);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button--primary {
    color: var(--ihgs-presidents-navy-deep);
    border-color: var(--ihgs-presidents-gold-light);
    background: var(--ihgs-presidents-gold-light);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button--primary:hover {
    border-color: var(--ihgs-presidents-cream);
    background: var(--ihgs-presidents-cream);
    box-shadow: 0 0.7rem 1.35rem rgba(18, 25, 39, 0.2), 0 2px 0 rgba(18, 25, 39, 0.2);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button--secondary {
    color: var(--ihgs-presidents-navy);
    border-color: var(--ihgs-presidents-navy);
    background: transparent;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button--secondary:hover {
    color: var(--ihgs-presidents-navy-deep);
    background: var(--ihgs-presidents-gold-light);
    box-shadow: 0 0.65rem 1.2rem rgba(18, 25, 39, 0.16), 0 2px 0 rgba(18, 25, 39, 0.18);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-text-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--ihgs-presidents-navy);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 0.1em;
    text-underline-offset: 0.18em;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-button:focus-visible,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-text-link:focus-visible,
body.single-post.postid-39 .ihgs-presidents-v2 a:focus-visible,
body.single-post.postid-39 .ihgs-presidents-v2 button:focus-visible,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table-wrap:focus-visible {
    outline: 3px solid var(--ihgs-presidents-gold);
    outline-offset: 3px;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-source-note {
    max-width: 780px;
    margin: 1.2rem 0 0;
    font-size: 0.9rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-source-note a {
    color: inherit;
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero {
    position: relative;
    padding: clamp(4rem, 8vw, 8rem) 0;
    color: var(--ihgs-presidents-cream);
    background: linear-gradient(135deg, var(--ihgs-presidents-navy), var(--ihgs-presidents-navy-deep));
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero::before {
    position: absolute;
    top: 1.25rem;
    right: 4vw;
    left: 4vw;
    height: calc(100% - 2.5rem);
    border-top: 1px solid rgba(234, 215, 171, 0.38);
    border-bottom: 1px solid rgba(234, 215, 171, 0.18);
    content: "";
    pointer-events: none;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero::after {
    position: absolute;
    top: 1rem;
    left: 50%;
    color: var(--ihgs-presidents-gold-light);
    content: "✦";
    font-size: 0.8rem;
    transform: translateX(-50%);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero .ihgs-presidents-inner {
    position: relative;
    z-index: 1;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero .ihgs-presidents-eyebrow {
    color: var(--ihgs-presidents-gold-light);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero-copy > .ihgs-presidents-v2__lead {
    max-width: 740px;
    margin: 1.35rem 0 0;
    color: rgba(255, 250, 241, 0.9);
    font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero-media {
    display: flex;
    justify-content: center;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero-media img {
    display: block;
    width: min(100%, 560px);
    height: auto;
    padding: 0.75rem;
    border: 1px solid rgba(234, 215, 171, 0.52);
    background: rgba(255, 250, 241, 0.08);
    box-shadow: 0 0 0 0.35rem rgba(18, 25, 39, 0.42);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__findings,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__table-section,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__faq,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__related {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--ihgs-presidents-surface);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts {
    color: var(--ihgs-presidents-cream);
    border-top: 6px solid var(--ihgs-presidents-gold);
    background: var(--ihgs-presidents-navy-deep);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-inner {
    position: relative;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-eyebrow,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-heading,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-source-note {
    color: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-eyebrow {
    color: var(--ihgs-presidents-gold-light);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(234, 215, 171, 0.36);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-fact {
    display: grid;
    gap: 0.25rem;
    padding: 0.6rem 1rem;
    border-left: 1px solid rgba(234, 215, 171, 0.36);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-fact dt {
    color: var(--ihgs-presidents-gold-light);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-fact dd {
    margin: 0;
    color: rgba(255, 250, 241, 0.82);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__facts .ihgs-presidents-inner > p:not(.ihgs-presidents-source-note) {
    max-width: 840px;
    margin: 1rem 0 0;
    color: rgba(255, 250, 241, 0.82);
    font-size: 1.05rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-section-intro {
    max-width: 800px;
    margin-bottom: 2.5rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-section-intro > p:last-child,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__table-section > .ihgs-presidents-inner > p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__wikitree p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__cta p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-card p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card__body > span:not(.ihgs-presidents-related-card__title):not(.ihgs-presidents-text-link) {
    color: var(--ihgs-presidents-muted);
    font-size: 1.05rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border-top: 4px solid var(--ihgs-presidents-gold);
    border-right: 1px solid var(--ihgs-presidents-border);
    border-bottom: 1px solid var(--ihgs-presidents-border);
    border-left: 1px solid var(--ihgs-presidents-border);
    background: var(--ihgs-presidents-cream);
    box-shadow: 0 0.5rem 1.25rem rgba(31, 42, 68, 0.05);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card img {
    display: block;
    width: 100%;
    height: 320px;
    padding: 1rem;
    object-fit: contain;
    background: var(--ihgs-presidents-paper);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card::before {
    position: absolute;
    top: 0.7rem;
    right: 12%;
    left: 12%;
    border-top: 1px solid rgba(101, 51, 58, 0.4);
    content: "";
    pointer-events: none;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card__body {
    padding: 1.5rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card h3,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-top-four h3,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-card h3,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-faq-item h3 {
    margin: 0;
    color: var(--ihgs-presidents-navy);
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.25;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-card__body > p:not(.ihgs-presidents-eyebrow) {
    margin: 0.9rem 0 0;
    color: var(--ihgs-presidents-muted);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ihgs-presidents-border);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-mini-stats > div {
    display: grid;
    gap: 0.1rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-mini-stats dt {
    color: var(--ihgs-presidents-navy);
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.55rem;
    font-weight: 600;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-mini-stats dd {
    margin: 0;
    color: var(--ihgs-presidents-muted);
    font-size: 0.86rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-comparison-bars {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ihgs-presidents-border);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-comparison-bar {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
    color: var(--ihgs-presidents-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-comparison-bar__track {
    display: block;
    height: 0.42rem;
    overflow: hidden;
    background: rgba(101, 51, 58, 0.14);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-comparison-bar__track > span {
    display: block;
    width: var(--ihgs-presidents-bar-width);
    height: 100%;
    background: linear-gradient(90deg, var(--ihgs-presidents-burgundy), var(--ihgs-presidents-gold));
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-top-four {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1.5rem;
    border-top: 4px solid var(--ihgs-presidents-burgundy);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-top-four ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.5rem;
    margin: 0;
    padding-left: 1.2rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-findings-detail {
    max-width: 900px;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ihgs-presidents-border);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-findings-detail p {
    margin: 1rem 0 0;
    color: var(--ihgs-presidents-muted);
    font-size: 1.05rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--final {
    color: var(--ihgs-presidents-cream);
    background: linear-gradient(135deg, var(--ihgs-presidents-navy), var(--ihgs-presidents-navy-deep));
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary {
    border-top: 6px solid var(--ihgs-presidents-gold);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-button--primary,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--final .ihgs-presidents-button--primary {
    box-shadow: 0 0.8rem 1.7rem rgba(18, 25, 39, 0.28), 0 0 0 0.25rem rgba(234, 215, 171, 0.18), 0 2px 0 rgba(18, 25, 39, 0.22);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-heading,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--final .ihgs-presidents-heading,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--final p {
    color: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-eyebrow,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--final .ihgs-presidents-eyebrow {
    color: var(--ihgs-presidents-gold-light);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry {
    color: var(--ihgs-presidents-cream);
    border-top: 1px solid rgba(234, 215, 171, 0.36);
    background: linear-gradient(135deg, var(--ihgs-presidents-burgundy), #3d2430);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-heading,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry p {
    color: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-eyebrow {
    color: var(--ihgs-presidents-gold-light);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    align-items: center;
    margin-top: 1.75rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence .ihgs-presidents-button--secondary {
    border-color: var(--ihgs-presidents-gold);
    background: var(--ihgs-presidents-gold-light);
    box-shadow: 0 0.65rem 1.25rem rgba(31, 42, 68, 0.16), 0 2px 0 rgba(118, 87, 19, 0.28);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence .ihgs-presidents-button--secondary:hover {
    color: var(--ihgs-presidents-navy-deep);
    border-color: var(--ihgs-presidents-cream);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta .ihgs-presidents-text-link,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta .ihgs-presidents-button--secondary {
    color: var(--ihgs-presidents-cream);
    border-color: rgba(255, 250, 241, 0.55);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__table-section > .ihgs-presidents-inner > p:first-of-type {
    max-width: 820px;
    margin-top: 1rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table-cue {
    margin: 1.5rem 0 0;
    color: var(--ihgs-presidents-navy);
    font-size: 0.9rem;
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table-wrap {
    margin-top: 0.75rem;
    overflow-x: auto;
    border-top: 4px solid var(--ihgs-presidents-gold);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: var(--ihgs-presidents-ink);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table caption {
    padding: 1rem 1.25rem;
    color: var(--ihgs-presidents-muted);
    font-size: 0.9rem;
    text-align: left;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table th,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table td {
    padding: 0.9rem 1rem;
    border: 1px solid var(--ihgs-presidents-border);
    text-align: left;
    vertical-align: top;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table thead th {
    color: var(--ihgs-presidents-navy);
    background: rgba(234, 215, 171, 0.34);
    font-family: "Cinzel", Georgia, serif;
    font-size: 0.95rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table tbody th {
    color: var(--ihgs-presidents-navy);
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table .ihgs-presidents-table__president {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 220px;
    background: var(--ihgs-presidents-cream);
    box-shadow: 0.45rem 0 0.65rem rgba(31, 42, 68, 0.08);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table thead .ihgs-presidents-table__president {
    z-index: 2;
    background: rgba(234, 215, 171, 0.96);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table .ihgs-presidents-table__top-rank td,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table .ihgs-presidents-table__top-rank th {
    background: rgba(234, 215, 171, 0.2);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table .ihgs-presidents-table__top-rank .ihgs-presidents-table__president {
    background: rgba(245, 235, 207, 0.98);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__wikitree,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__pathways {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why {
    border-top: 1px solid var(--ihgs-presidents-border);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why .ihgs-presidents-inner,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__wikitree .ihgs-presidents-inner {
    max-width: 980px;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why p {
    max-width: 840px;
    margin-top: 1rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence > .ihgs-presidents-inner > div:first-child,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__wikitree > .ihgs-presidents-inner > div:first-child {
    max-width: 800px;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__why .ihgs-presidents-source-note {
    font-size: 0.9rem;
    font-style: italic;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ihgs-presidents-step;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 1rem;
    border-top: 3px solid var(--ihgs-presidents-gold);
    background: var(--ihgs-presidents-surface);
    counter-increment: ihgs-presidents-step;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__evidence > .ihgs-presidents-inner {
    align-items: start;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps li::before {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: var(--ihgs-presidents-navy-deep);
    background: var(--ihgs-presidents-gold-light);
    content: counter(ihgs-presidents-step);
    font-family: "Cinzel", Georgia, serif;
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps strong,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps span {
    display: block;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps strong {
    color: var(--ihgs-presidents-navy);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-evidence-steps span {
    grid-column: 2;
    color: var(--ihgs-presidents-muted);
    font-size: 0.92rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__wikitree a {
    color: var(--ihgs-presidents-navy);
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-medal {
    margin: 0;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-medal img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--ihgs-presidents-border);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-medal figcaption {
    margin-top: 0.75rem;
    color: var(--ihgs-presidents-muted);
    font-size: 0.86rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-faq-list {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-faq-item {
    padding: 1.5rem;
    border-left: 4px solid var(--ihgs-presidents-gold);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-faq-item p {
    margin: 0.75rem 0 0;
    color: var(--ihgs-presidents-muted);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1.5rem;
    border-top: 4px solid var(--ihgs-presidents-gold);
    border-right: 1px solid var(--ihgs-presidents-border);
    border-bottom: 1px solid var(--ihgs-presidents-border);
    border-left: 1px solid var(--ihgs-presidents-border);
    background: var(--ihgs-presidents-surface);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-card p {
    margin: 0.9rem 0 1.25rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-card .ihgs-presidents-text-link {
    margin-top: auto;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-arthur-route {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--ihgs-presidents-border);
    background: var(--ihgs-presidents-cream);
    text-align: center;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-arthur-route p {
    margin: 0;
    color: var(--ihgs-presidents-navy);
    font-weight: 700;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card {
    min-width: 0;
    border-top: 4px solid var(--ihgs-presidents-gold);
    border-right: 1px solid var(--ihgs-presidents-border);
    border-bottom: 1px solid var(--ihgs-presidents-border);
    border-left: 1px solid var(--ihgs-presidents-border);
    background: var(--ihgs-presidents-cream);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card img {
    display: block;
    width: 100%;
    aspect-ratio: 510 / 382;
    object-fit: cover;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.35rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card__title {
    color: var(--ihgs-presidents-navy);
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1.25;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-card .ihgs-presidents-text-link {
    margin-top: auto;
}

@media (max-width: 1080px) {
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-grid,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-two-column,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-facts-grid,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-feature-grid,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-pathway-grid,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-related-grid {
        grid-template-columns: 1fr;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero-media {
        order: -1;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-v2__hero-media img {
        width: 100%;
        max-width: 100%;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-heading--hero {
        overflow-wrap: break-word;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-fact {
        border-top: 1px solid rgba(234, 215, 171, 0.36);
        border-left: 0;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-top-four {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-top-four ul {
        grid-template-columns: 1fr;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-actions,
    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-actions .ihgs-presidents-button {
        width: 100%;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-actions .ihgs-presidents-text-link {
        width: 100%;
        text-align: center;
    }

    body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-table-wrap {
        margin-right: -0.5rem;
        margin-left: -0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-post.postid-39 .ihgs-presidents-v2,
    body.single-post.postid-39 .ihgs-presidents-v2 * {
        scroll-behavior: auto;
    }
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-publication-copyright {
    margin: 0;
    padding: 1.5rem max(1.25rem, calc((100% - 820px) / 2));
    border-top: 1px solid var(--ihgs-presidents-border);
    color: var(--ihgs-presidents-muted);
    background: var(--ihgs-presidents-surface);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-publication-copyright p {
    max-width: 820px;
    margin: 0;
    color: inherit;
    font-size: 0.9rem;
}

/* Keep promotional interruptions within the editorial flow. The final CTA is
 * intentionally excluded so it can retain its full closing-banner treatment. */
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry {
    padding: clamp(1.25rem, 2.5vw, 2.25rem) 0;
    border-top-width: 0;
    background: transparent;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-inner,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-inner {
    max-width: 1020px;
    padding: clamp(1.25rem, 2.5vw, 2.25rem) clamp(1rem, 3vw, 2.5rem);
    border-top: 3px solid var(--ihgs-presidents-gold);
    border-bottom: 1px solid rgba(234, 215, 171, 0.45);
    box-shadow: 0 0.5rem 1.5rem rgba(31, 42, 68, 0.14);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-inner {
    background: linear-gradient(135deg, var(--ihgs-presidents-navy), var(--ihgs-presidents-navy-deep));
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-inner {
    background: linear-gradient(135deg, var(--ihgs-presidents-burgundy), #3d2430);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-heading,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-heading {
    margin-bottom: 0.65rem;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary p,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry p {
    margin-top: 0.55rem;
    font-size: 0.98rem;
}

body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--primary .ihgs-presidents-actions,
body.single-post.postid-39 .ihgs-presidents-v2 .ihgs-presidents-cta--heraldry .ihgs-presidents-actions {
    margin-top: 1rem;
}
