/* ========================================================================== 
   Why Consensus Economics — modern full-width page
   ========================================================================== */
body.page-template-page-why-consensus-economics .site-content #primary.why-consensus-primary,
body.page-template-page-why-consensus-economics-php .site-content #primary.why-consensus-primary,
.site-content #primary.why-consensus-primary {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.why-consensus-wrap {
    --wce-navy: #153b5c;
    --wce-blue: #2874a6;
    --wce-teal: #2f8f83;
    --wce-purple: #2874a6;
    --wce-gold: #b9822e;
    --wce-text: #34495a;
    --wce-muted: #5d6f7d;
    --wce-line: #d9e3ea;
    --wce-soft: #f7f9fb;
    width: 95%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0 80px;
    background: #fff;
    color: var(--wce-text);
}

.why-consensus-page,
.why-consensus-page * {
    box-sizing: border-box;
}

.why-consensus-page p,
.why-consensus-page li {
    text-align: left ;
    text-justify: auto ;
    word-spacing: normal ;
}

.why-consensus-hero,
.why-consensus-proof,
.why-consensus-intro,
.why-consensus-strength-grid,
.why-consensus-evidence,
.why-consensus-coverage,
.why-consensus-reliability,
.why-consensus-process,
.why-consensus-cta {
    width: min(1180px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
}

.why-consensus-hero {
    max-width: 980px;
    padding: 66px 0 56px;
    text-align: center;
}

.why-consensus-eyebrow,
.why-consensus-kicker {
    display: inline-block;
    color: var(--wce-blue);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.why-consensus-hero > .why-consensus-eyebrow {
    margin: 0 0 12px;
}

.why-consensus-hero h1 {
    max-width: 900px;
    margin: 0 auto 20px ;
    padding: clamp(24px, 2.5vw, 36px) 0 0 ;
    clear: none ;
    color: var(--wce-navy) ;
    font-size: clamp(42px, 5vw, 64px) ;
    font-weight: 700 ;
    line-height: 1.05 ;
    letter-spacing: -.035em;
    text-align: center ;
}

.why-consensus-hero > p {
    max-width: 800px;
    margin: 0 auto;
    color: #526a7f;
    font-size: 19px;
    line-height: 1.65;
    text-align: center ;
}


/* Hero line control: two clean lines on desktop, natural wrapping on small screens. */
.why-consensus-hero h1 > span,
.why-consensus-hero > p > span {
    display: block;
}

.why-consensus-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 30px;
}

.why-consensus-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none ;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.why-consensus-button-primary,
.why-consensus-button-primary:link,
.why-consensus-button-primary:visited {
    background: var(--wce-navy);
    border: 1px solid var(--wce-navy);
    color: #fff ;
}

.why-consensus-button-secondary,
.why-consensus-button-secondary:link,
.why-consensus-button-secondary:visited {
    background: #fff;
    border: 1px solid #b9ccd9;
    color: var(--wce-navy);
}

@media (hover: hover) and (pointer: fine) {
    .why-consensus-button-primary:hover {
        background: #1e567f;
        border-color: #1e567f;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(21, 63, 98, .16);
    }

    .why-consensus-button-secondary:hover {
        background: #f2f7fa;
        border-color: #8daabd;
        color: var(--wce-navy);
    }
}

.why-consensus-proof {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #d9e5ed;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(17, 61, 94, .055);
}

.why-consensus-proof > div {
    min-width: 0;
    padding: 23px 24px 21px;
    border-right: 1px solid #d9e3ea;
}

.why-consensus-proof > div:last-child {
    border-right: 0;
}

.why-consensus-proof strong,
.why-consensus-proof span {
    display: block;
}

.why-consensus-proof strong {
    color: var(--wce-blue);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.02em;
}

.why-consensus-proof span {
    margin-top: 7px;
    color: #5d7183;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .055em;
    line-height: 1.35;
    text-transform: uppercase;
}

.why-consensus-intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: end;
    padding: 104px 0 42px;
}

.why-consensus-intro h2,
.why-consensus-evidence h2,
.why-consensus-coverage h2,
.why-consensus-reliability h2,
.why-consensus-process h2,
.why-consensus-cta h2 {
    margin: 14px 0 0;
    color: var(--wce-navy);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.why-consensus-intro-copy {
    margin: 0;
    color: #516779;
    font-size: 17px;
    line-height: 1.72;
}

.why-consensus-strength-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.why-consensus-strength {
    position: relative;
    min-height: 248px;
    padding: 30px 28px 28px;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(155deg, #f7fafc 0%, #ffffff 72%);
    box-shadow: inset 0 -1px 0 #e2eaf0;
}

.why-consensus-strength:nth-child(1),
.why-consensus-strength:nth-child(2),
.why-consensus-strength:nth-child(3) {
    grid-column: span 2;
}

.why-consensus-strength:nth-child(4),
.why-consensus-strength:nth-child(5) {
    grid-column: span 3;
}

.why-consensus-strength::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 42px;
    height: 3px;
    background: var(--strength-accent, var(--wce-blue));
}

.why-consensus-strength-blue { --strength-accent: #2874a6; background: linear-gradient(180deg, rgba(47,117,183,.055), #fff 120px); }
.why-consensus-strength-teal { --strength-accent: #2f8f83; background: linear-gradient(180deg, rgba(47,143,131,.055), #fff 120px); }
.why-consensus-strength-purple { --strength-accent: #2874a6; background: linear-gradient(180deg, rgba(40,116,166,.05), #fff 120px); }
.why-consensus-strength-gold { --strength-accent: #b9822e; background: linear-gradient(180deg, rgba(185,130,46,.05), #fff 120px); }
.why-consensus-strength-navy { --strength-accent: #153f62; background: linear-gradient(180deg, rgba(21,63,98,.05), #fff 120px); }

.why-consensus-strength-number {
    position: absolute;
    top: 22px;
    right: 22px;
    color: rgba(21, 63, 98, .11);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

.why-consensus-strength-label {
    display: block;
    margin-bottom: 20px;
    color: var(--strength-accent, var(--wce-blue));
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.why-consensus-strength h3 {
    margin: 0 0 12px ;
    color: var(--wce-navy) ;
    font-size: 21px ;
    font-weight: 650 ;
    line-height: 1.3 ;
}

.why-consensus-strength p {
    margin: 0;
    color: #5a6e7e;
    font-size: 16px;
    line-height: 1.65;
}

.why-consensus-evidence {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 62px;
    align-items: center;
    margin-top: 88px;
    padding: 54px 58px;
    border-radius: 12px;
    background: var(--wce-navy);
}

.why-consensus-evidence .why-consensus-kicker {
    color: #a8d9f7;
}

.why-consensus-evidence h2 {
    color: #fff ;
}

.why-consensus-evidence-copy > p {
    margin: 18px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    line-height: 1.72;
}

.why-consensus-inline-link,
.why-consensus-inline-link:link,
.why-consensus-inline-link:visited,
.why-consensus-dark-link,
.why-consensus-dark-link:link,
.why-consensus-dark-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    color: #bfe4fb ;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none ;
}

.why-consensus-evidence-points {
    display: grid;
    gap: 12px;
}

.why-consensus-evidence-points > div:not(.why-consensus-evidence-example) {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
}

.why-consensus-evidence-points > div:not(.why-consensus-evidence-example) > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(168,217,247,.13);
    color: #a8d9f7;
    font-weight: 700;
}

.why-consensus-evidence-points p {
    margin: 1px 0 0;
    color: rgba(255,255,255,.83);
    font-size: 16px;
    line-height: 1.55;
}

.why-consensus-evidence-points strong {
    color: #fff;
}

.why-consensus-coverage {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 58px;
    align-items: center;
    padding: 104px 0 86px;
}

.why-consensus-coverage-copy > p {
    margin: 18px 0 0;
    color: #566c7e;
    font-size: 16px;
    line-height: 1.72;
}

.why-consensus-coverage-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    margin-top: 23px;
}

.why-consensus-coverage-links a,
.why-consensus-coverage-links a:link,
.why-consensus-coverage-links a:visited {
    color: var(--wce-blue) ;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none ;
}

.why-consensus-map {
    margin: 0;
}

.why-consensus-map img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 44px rgba(17, 61, 94, .14);
}

.why-consensus-map figcaption {
    margin-top: 10px;
    color: #718292;
    font-size: 11px;
    line-height: 1.5;
}

.why-consensus-reliability {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 64px;
    padding: 58px;
    border: 1px solid #d8e5ed;
    border-radius: 12px;
    background: linear-gradient(135deg, #f3f8fb, #fff 64%);
}

.why-consensus-reliability-main > p {
    margin: 18px 0 0;
    color: #546a7b;
    font-size: 16px;
    line-height: 1.72;
}

.why-consensus-reliability .why-consensus-dark-link,
.why-consensus-reliability .why-consensus-dark-link:link,
.why-consensus-reliability .why-consensus-dark-link:visited {
    color: var(--wce-blue) ;
}

.why-consensus-user-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.why-consensus-user-grid > div {
    padding: 18px;
    border: 1px solid #dae5ec;
    border-radius: 8px;
    background: #fff;
}

.why-consensus-user-grid strong,
.why-consensus-user-grid span {
    display: block;
}

.why-consensus-user-grid strong {
    color: var(--wce-navy);
    font-size: 14px;
    line-height: 1.35;
}

.why-consensus-user-grid span {
    margin-top: 6px;
    color: #66798a;
    font-size: 15px;
    line-height: 1.5;
}

.why-consensus-process {
    padding: 96px 0 86px;
}

.why-consensus-section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.why-consensus-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.why-consensus-process-grid li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 24px 22px;
    border-top: 3px solid var(--wce-blue);
    background: #f7f9fb;
}

.why-consensus-process-grid li:nth-child(2) { border-top-color: var(--wce-teal); }
.why-consensus-process-grid li:nth-child(3) { border-top-color: var(--wce-purple); }
.why-consensus-process-grid li:nth-child(4) { border-top-color: var(--wce-gold); }

.why-consensus-process-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.why-consensus-process-grid .why-consensus-step-number {
    display: inline-flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #cbdce7;
    border-radius: 50%;
    background: #fff;
    color: var(--wce-blue);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
}

.why-consensus-process-grid h3 {
    margin: 0 ;
    color: var(--wce-navy) ;
    font-size: 19px ;
    line-height: 1.2 ;
    font-weight: 650 ;
}

.why-consensus-process-grid p {
    margin: 0;
    color: #617486;
    font-size: 16px;
    line-height: 1.6;
}


.why-consensus-text-link,
.why-consensus-text-link:link,
.why-consensus-text-link:visited {
    color: var(--wce-blue);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
    .why-consensus-inline-link:hover,
    .why-consensus-dark-link:hover {
        color: #fff;
    }

    .why-consensus-reliability .why-consensus-dark-link:hover,
    .why-consensus-coverage-links a:hover,
    .why-consensus-text-link:hover {
        color: #1c5d8e;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .why-consensus-strength:hover {
        border-color: #c6d8e4;
        box-shadow: 0 14px 30px rgba(17, 61, 94, .07);
        transform: translateY(-2px);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }
}

@media (max-width: 1050px) {
    .why-consensus-proof {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .why-consensus-proof > div:nth-child(3) {
        border-right: 0;
    }

    .why-consensus-proof > div:nth-child(n+4) {
        border-top: 1px solid #d9e3ea;
    }

    .why-consensus-proof > div:nth-child(5) {
        border-right: 0;
    }

    .why-consensus-strength-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-consensus-strength:nth-child(n) {
        grid-column: auto;
    }

    .why-consensus-strength:last-child {
        grid-column: 1 / -1;
    }

    .why-consensus-evidence,
    .why-consensus-coverage,
    .why-consensus-reliability {
        gap: 40px;
    }

    .why-consensus-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .why-consensus-hero,
    .why-consensus-proof,
    .why-consensus-intro,
    .why-consensus-strength-grid,
    .why-consensus-evidence,
    .why-consensus-coverage,
    .why-consensus-reliability,
    .why-consensus-process,
    .why-consensus-cta {
        width: calc(100% - 32px);
    }

    .why-consensus-wrap {
        padding-bottom: 48px;
    }

    .why-consensus-hero {
        padding: 42px 0 38px;
    }

    .why-consensus-hero h1 {
        margin-top: 0 ;
        font-size: 38px ;
        line-height: 1.08 ;
    }

    .why-consensus-hero > p {
        font-size: 16px;
        line-height: 1.6;
    }


    .why-consensus-hero h1 > span,
    .why-consensus-hero > p > span {
        display: inline;
    }

    .why-consensus-hero h1 > span + span::before,
    .why-consensus-hero > p > span + span::before {
        content: " ";
    }

    .why-consensus-hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .why-consensus-button {
        width: 100%;
    }

    .why-consensus-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-consensus-proof > div {
        padding: 18px 16px;
        border-top: 1px solid #d9e3ea;
    }

    .why-consensus-proof > div:nth-child(-n+2) {
        border-top: 0;
    }

    .why-consensus-proof > div:nth-child(even) {
        border-right: 0;
    }

    .why-consensus-proof > div:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .why-consensus-proof strong {
        font-size: 24px;
    }

    .why-consensus-intro,
    .why-consensus-evidence,
    .why-consensus-coverage,
    .why-consensus-reliability {
        grid-template-columns: 1fr;
    }

    .why-consensus-intro {
        gap: 20px;
        padding: 70px 0 30px;
    }

    .why-consensus-intro h2,
    .why-consensus-evidence h2,
    .why-consensus-coverage h2,
    .why-consensus-reliability h2,
    .why-consensus-process h2 {
        font-size: 31px;
    }

    .why-consensus-strength-grid {
        grid-template-columns: 1fr;
    }

    .why-consensus-strength:last-child {
        grid-column: auto;
    }

    .why-consensus-strength {
        min-height: 0;
        padding: 26px 22px 24px;
    }

    .why-consensus-evidence {
        gap: 28px;
        margin-top: 58px;
        padding: 34px 24px;
    }

    .why-consensus-coverage {
        gap: 30px;
        padding: 70px 0 62px;
    }

    .why-consensus-coverage-copy {
        order: 1;
    }

    .why-consensus-map {
        order: 2;
    }

    .why-consensus-reliability {
        gap: 30px;
        padding: 32px 24px;
    }

    .why-consensus-user-grid,
    .why-consensus-process-grid {
        grid-template-columns: 1fr;
    }

    .why-consensus-process {
        padding: 70px 0 62px;
    }

    .why-consensus-process-grid li {
        padding: 20px;
    }

    .why-consensus-text-link {
        text-align: center;
    }
}

@media (max-width: 420px) {
    .why-consensus-hero h1 {
        font-size: 34px ;
    }

    .why-consensus-proof {
        grid-template-columns: 1fr;
    }

    .why-consensus-proof > div,
    .why-consensus-proof > div:nth-child(-n+2),
    .why-consensus-proof > div:nth-child(even),
    .why-consensus-proof > div:last-child {
        grid-column: auto;
        border-top: 1px solid #d9e3ea;
        border-right: 0;
    }

    .why-consensus-proof > div:first-child {
        border-top: 0;
    }
}

/* ==========================================================================
   Why Consensus Economics — natural heading alignment
   Prevent legacy theme justification from stretching words apart.
   ========================================================================== */
.why-consensus-page h1,
.why-consensus-page h2,
.why-consensus-page h3,
.why-consensus-page .why-consensus-strength h3,
.why-consensus-page .why-consensus-evidence h2,
.why-consensus-page .why-consensus-reliability h2,
.why-consensus-page .why-consensus-process h2,
.why-consensus-page .why-consensus-coverage h2,
.why-consensus-page .why-consensus-cta h2 {
    text-align: left ;
    text-align-last: left ;
    text-justify: auto ;
    word-spacing: normal ;
    white-space: normal ;
}

/* Keep the main hero centred while still using natural word spacing. */
.why-consensus-page .why-consensus-hero h1 {
    text-align: center ;
    text-align-last: center ;
}

/* Headings in the three-up strength cards should wrap only where needed. */
.why-consensus-page .why-consensus-strength h3 {
    max-width: 100%;
    letter-spacing: -.01em ;
    line-height: 1.28 ;
}

/* Give the research headline a readable measure instead of stretching it. */
.why-consensus-page .why-consensus-evidence h2 {
    max-width: 620px;
}

/* Process heading: keep the complete statement on one line on wide screens. */
@media (min-width: 1100px) {
    .why-consensus-process .why-consensus-section-heading {
        max-width: none;
    }

    .why-consensus-process #why-process-title {
        max-width: none;
        white-space: nowrap;
    }
}

@media (max-width: 1099px) {
    .why-consensus-process #why-process-title {
        white-space: normal;
    }
}

/* Hero position + line alignment — exact, independently centred desktop lines.
   Keep the same eyebrow-to-H1 rhythm as the Recent Data hero, including
   the theme's 1.5em heading top padding. */
@media (min-width: 1000px) {
    .why-consensus-hero {
        width: min(1180px, calc(100% - 64px));
        max-width: 1180px;
        padding: 66px 0 56px;
    }

    .why-consensus-page .why-consensus-hero h1 {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 20px ;
        padding: clamp(24px, 2.5vw, 36px) 0 0 ;
        clear: none ;
        font-size: clamp(48px, 4.45vw, 60px) ;
        text-align: center ;
        text-align-last: center ;
        text-indent: 0 ;
    }

    .why-consensus-hero > p {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 ;
        padding: 0 ;
        font-size: 18px;
        text-align: center ;
        text-align-last: center ;
        text-indent: 0 ;
    }

    /* Every forced line occupies the same full-width row.
       This prevents long lines from overflowing to the right while shorter
       lines appear centred. */
    .why-consensus-hero h1 > span,
    .why-consensus-hero > p > span {
        display: block;
        position: static ;
        float: none ;
        width: 100% ;
        max-width: none ;
        margin: 0 ;
        padding: 0 ;
        left: auto ;
        right: auto ;
        transform: none ;
        white-space: nowrap;
        text-align: center ;
        text-align-last: center ;
        text-indent: 0 ;
    }
}

/* Below wide desktop widths, preserve the intended line breaks but allow
   each line to wrap safely rather than overflow. */
@media (min-width: 768px) and (max-width: 1199px) {
    .why-consensus-hero h1 > span,
    .why-consensus-hero > p > span {
        white-space: normal;
    }
}

/* ==========================================================================
   Hero line centring — final wide-desktop correction
   Centre each forced line by its own rendered width, rather than centring
   text inside a full-width child block. This avoids the visual right-shift
   seen on the long first heading line and second intro line.
   ========================================================================== */
@media (min-width: 1200px) {
    .why-consensus-page .why-consensus-hero h1,
    .why-consensus-page .why-consensus-hero > p {
        display: flex ;
        flex-direction: column ;
        align-items: center ;
        justify-content: center ;
        width: 100% ;
        max-width: none ;
        text-align: center ;
        text-align-last: center ;
        text-indent: 0 ;
    }

    .why-consensus-page .why-consensus-hero h1 > span,
    .why-consensus-page .why-consensus-hero > p > span {
        display: block ;
        position: static ;
        float: none ;
        width: max-content ;
        max-width: 100% ;
        align-self: center ;
        margin-left: auto ;
        margin-right: auto ;
        padding-left: 0 ;
        padding-right: 0 ;
        left: auto ;
        right: auto ;
        transform: none ;
        white-space: nowrap ;
        text-align: center ;
        text-align-last: center ;
        text-indent: 0 ;
    }
}

/* ==========================================================================
   Shared pre-footer CTA system — canonical light treatment
   ========================================================================== */
.why-consensus-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 42px;
    padding: 44px 48px;
    border: 1px solid #d6e2eb;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7f9fb 0%, #fff 66%);
}

.why-consensus-cta h2 {
    margin: 10px 0 0;
    color: #153b5c;
    font-size: 30px;
    font-weight: 650;
    line-height: 1.2;
}

.why-consensus-cta p {
    max-width: 700px;
    margin: 10px 0 0;
    color: #5d6f7d;
    font-size: 16px;
    line-height: 1.65;
}

.why-consensus-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    gap: 10px;
}

.why-consensus-cta-actions .why-consensus-button {
    width: 100% ;
    min-width: 0 ;
    height: 46px;
    min-height: 46px;
    padding: 0 20px;
}

.why-consensus-cta-actions .why-consensus-text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    text-align-last: center;
}

@media (max-width: 980px) {
    .why-consensus-cta {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-consensus-cta-actions {
        width: min(100%, 300px);
        min-width: 0;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    .why-consensus-cta {
        padding: 28px 22px;
        border-radius: 9px;
    }

    .why-consensus-cta-actions {
        width: 100%;
        max-width: none;
    }
}

/* Final CTA geometry lock: both action buttons must render identically. */
.why-consensus-page .why-consensus-cta-actions {
    display: flex ;
    flex-direction: column ;
    gap: 10px ;
}

.why-consensus-page .why-consensus-cta-actions > a.why-consensus-button {
    display: flex ;
    flex: 0 0 46px ;
    box-sizing: border-box ;
    width: 300px ;
    min-width: 300px ;
    max-width: 300px ;
    height: 46px ;
    min-height: 46px ;
    max-height: 46px ;
    margin: 0 ;
    padding: 0 20px ;
    align-items: center ;
    justify-content: center ;
}

@media (max-width: 767px) {

    .why-consensus-page .why-consensus-cta-actions > a.why-consensus-button {
        width: 100% ;
        min-width: 0 ;
        max-width: none ;
    }
}


/* ==========================================================================
   Why Consensus Economics — evidence panel contrast fix
   Keep dark-section copy legible after site-wide body-colour normalisation.
   ========================================================================== */
.why-consensus-page .why-consensus-evidence .why-consensus-evidence-copy > p {
    color: rgba(255,255,255,.86) ;
}

.why-consensus-page .why-consensus-evidence .why-consensus-evidence-points p {
    color: rgba(255,255,255,.86) ;
}

.why-consensus-page .why-consensus-evidence .why-consensus-evidence-points strong {
    color: #ffffff ;
}

.why-consensus-page .why-consensus-evidence .why-consensus-inline-link,
.why-consensus-page .why-consensus-evidence .why-consensus-inline-link:link,
.why-consensus-page .why-consensus-evidence .why-consensus-inline-link:visited {
    color: #bfe4fb ;
}


/* CEI — external separation after Common Questions */
.why-consensus-page .cei-common-faq ~ .why-consensus-cta,
.cei-common-faq ~ .why-consensus-cta {
    margin-top: 32px ;
}
@media (max-width: 767px) {
    .why-consensus-page .cei-common-faq ~ .why-consensus-cta,
    .cei-common-faq ~ .why-consensus-cta {
        margin-top: 24px ;
    }
}


/* CEI — calmer editorial hero weight */
@media (min-width: 768px) {
    .why-consensus-hero h1 {
        font-weight: 550 ;
        line-height: 1.08 ;
    }
}
@media (max-width: 767px) {
    .why-consensus-hero h1 {
        font-weight: 600 ;
    }
}


/* CEI — final hero CTA pair geometry: hierarchy by fill, not dimensions. */
@media (min-width: 768px) {
    .why-consensus-page .why-consensus-hero-actions {
        display: flex ;
        flex-direction: row ;
        align-items: center ;
        justify-content: center ;
        gap: 20px ;
    }

    .why-consensus-page .why-consensus-hero-actions > .why-consensus-button {
        box-sizing: border-box ;
        flex: 0 0 252px ;
        width: 252px ;
        min-width: 252px ;
        max-width: 252px ;
        height: 42px ;
        min-height: 42px ;
        max-height: 42px ;
        margin: 0 ;
        padding: 0 18px ;
        justify-content: center ;
    }



/* ==========================================================================
   CEI — authoritative Why Consensus hero CTA layout
   Page-owned rule: equal geometry, centered pair, fill/outline hierarchy.
   ========================================================================== */

    body .why-consensus-page .why-consensus-hero .why-consensus-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, 252px);
        justify-content: center;
        align-items: stretch;
        gap: 20px;
        width: auto;
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    body .why-consensus-page .why-consensus-hero .why-consensus-hero-actions > a.why-consensus-button {
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 252px;
        min-width: 252px;
        max-width: 252px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        margin: 0;
        padding: 0 18px;
    }
}

@media (max-width: 767px) {
    body .why-consensus-page .why-consensus-hero .why-consensus-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
    }

    body .why-consensus-page .why-consensus-hero .why-consensus-hero-actions > a.why-consensus-button {
        width: 100% ;
        min-width: 0 ;
        max-width: none ;
    }
}


/* ==========================================================================
   CEI — Why Consensus closing CTA: one button system
   All three actions are real buttons with identical geometry.
   ========================================================================== */
@media (min-width: 768px) {
    .why-consensus-page .why-consensus-cta {
        grid-template-columns: minmax(0, 1fr) 300px ;
        gap: 56px ;
        align-items: center ;
    }

    .why-consensus-page .why-consensus-cta-actions {
        display: grid ;
        grid-template-columns: 1fr ;
        gap: 12px ;
        width: 300px ;
        min-width: 300px ;
        max-width: 300px ;
        justify-self: end ;
        margin: 0 ;
    }

    .why-consensus-page .why-consensus-cta-actions > .why-consensus-button {
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        margin: 0;
        padding: 0 18px;
        border-width: 1px;
        border-style: solid;
        border-radius: 6px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        transform: none;
    }
}

@media (max-width: 767px) {
    .why-consensus-page .why-consensus-cta-actions {
        display: grid ;
        gap: 10px ;
        margin-top: 24px ;
    }

    .why-consensus-page .why-consensus-cta-actions > .why-consensus-button {
        width: 100% ;
        min-width: 0 ;
        max-width: none ;
        height: 42px ;
        min-height: 42px ;
        max-height: 42px ;
    }
}

/* ==========================================================================
   Accuracy & evidence — dark-section heading contrast
   Keep the evidence headline white even when higher-specificity global
   editorial heading rules are loaded after this page stylesheet.
   ========================================================================== */
body.page-template-page-why-consensus-economics #primary .why-consensus-page .why-consensus-evidence #why-evidence-title,
body.page-why-consensus-economics #primary .why-consensus-page .why-consensus-evidence #why-evidence-title,
#primary .why-consensus-page .why-consensus-evidence #why-evidence-title {
    color: #ffffff;
}

/* ==========================================================================
   CEI 2026-10-01 — Why Consensus closing CTA exact-width ownership
   This is a vertical three-button stack, so it must not inherit the shared
   horizontal/equal-pair CTA system. One 300px grid track owns all three actions.
   ========================================================================== */
.why-consensus-page .why-consensus-cta-actions {
    display: grid;
    grid-template-columns: 300px;
    grid-auto-flow: row;
    grid-auto-rows: 46px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    gap: 12px;
    align-items: stretch;
    justify-items: stretch;
    justify-self: end;
    margin: 0;
}

.why-consensus-page .why-consensus-cta-actions > a.why-consensus-button,
.why-consensus-page .why-consensus-cta-actions > a.why-consensus-button:link,
.why-consensus-page .why-consensus-cta-actions > a.why-consensus-button:visited {
    box-sizing: border-box;
    display: flex;
    grid-column: 1;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    margin: 0;
    padding: 0 20px;
    align-self: stretch;
    justify-self: stretch;
    align-items: center;
    justify-content: center;
    transform: none;
}

@media (max-width: 767px) {
    .why-consensus-page .why-consensus-cta-actions {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
        max-width: none;
        justify-self: stretch;
    }
}

/* ==========================================================================
   CEI 2026-10-01 — Why Consensus hero lighter editorial type
   Match the refined informational-page hero treatment.
   ========================================================================== */
.why-consensus-page .why-consensus-hero h1 {
    font-family: var(--cei-font-editorial, Georgia, "Times New Roman", serif);
    font-size: clamp(40px, 4.275vw, 51.3px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    letter-spacing: -.03em;
}

@media (max-width: 767px) {
    .why-consensus-page .why-consensus-hero h1 {
        font-size: 35px;
        line-height: 1.08;
        letter-spacing: -.025em;
    }
}


/* Real sample pages share the evidence space, without redundant captions. */
.why-consensus-evidence-example {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
    min-width: 0;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
}
.why-consensus-evidence-example > a {
    display: block;
    min-width: 0;
}
.why-consensus-evidence-example img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}
@media (max-width: 620px) {
    .why-consensus-evidence-example {
        gap: 10px;
        padding: 12px;
    }
}

/* Why Consensus Economics: scroll-triggered, opacity-only card reveals.
   Visibility is gated by JavaScript support; headings and surrounding layout stay static. */
@media (prefers-reduced-motion: no-preference) {
    .why-consensus-page.why-consensus-reveals-ready .why-consensus-strength,
    .why-consensus-page.why-consensus-reveals-ready .why-consensus-process-grid > li {
        transition: opacity 1500ms cubic-bezier(0.42, 0, 0.58, 1);
    }

    .why-consensus-page.why-consensus-reveals-ready .why-consensus-strength:not(.why-consensus-reveal-visible),
    .why-consensus-page.why-consensus-reveals-ready .why-consensus-process-grid > li:not(.why-consensus-reveal-visible) {
        opacity: 0;
    }
}


/* CEI 2026 — Our Methodology editorial consistency pass.
   Page-scoped refinements only; original hero treatment and content unchanged. */

.why-consensus-page .why-consensus-section-heading h2,
.why-consensus-page .why-consensus-process h2 {font-weight: 550; letter-spacing: -.027em; line-height: 1.17;}
.why-consensus-page .why-consensus-strength h3,
.why-consensus-page .why-consensus-process-grid h3 {font-weight: 600; letter-spacing: -.01em; line-height: 1.28;}
.why-consensus-page .why-consensus-strength p,
.why-consensus-page .why-consensus-process-grid p {line-height: 1.62;}
.why-consensus-page .why-consensus-strength-number,
.why-consensus-page .why-consensus-process-grid .why-consensus-step-number {font-weight: 650 ;}
.why-consensus-page .why-consensus-strength {padding-top: 27px ; padding-bottom: 28px ;}
.why-consensus-page .why-consensus-process-grid li {padding-top: 26px ; padding-bottom: 28px ;}
.why-consensus-page .why-consensus-button:focus-visible {outline: 3px solid #2876b1; outline-offset: 3px;}
@media (max-width: 767px) {
 .why-consensus-page .why-consensus-section-heading h2,
 .why-consensus-page .why-consensus-process h2 {font-size: clamp(24px, 6vw, 27px);}
 .why-consensus-page .why-consensus-strength h3,
 .why-consensus-page .why-consensus-process-grid h3 {font-size: 20px ;}
 .why-consensus-page .why-consensus-strength p,
 .why-consensus-page .why-consensus-process-grid p {font-size: 16px; line-height: 1.58;}
 .why-consensus-page .why-consensus-strength {padding-top: 23px ; padding-bottom: 24px ;}
 .why-consensus-page .why-consensus-process-grid li {padding-top: 23px ; padding-bottom: 24px ;}
}
