/* Consensus Economics — reusable Forecast Accuracy Awards template */
.faa-wrap,
.faa-page-primary,
.faa-main,
.faa-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    float: none;
    box-sizing: border-box;
}

.faa-page {
    color: #203f5b;
    background: #fff;
}

.faa-page *,
.faa-page *::before,
.faa-page *::after { box-sizing: border-box; }

.faa-page h1,
.faa-page h2,
.faa-page h3,
.faa-page h4,
.faa-page p,
.faa-page li,
.faa-page td,
.faa-page th {
    text-align: left;
    text-justify: auto;
    word-spacing: normal;
}

.faa-hero,
.faa-proof,
.faa-page-nav,
.faa-content,
.faa-methodology-summary,
.faa-footer-cta {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.faa-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 64px;
    align-items: center;
    padding: 78px 0 52px;
}

.faa-eyebrow,
.faa-kicker {
    display: block;
    margin: 0 0 12px;
    color: #2e73b7;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.faa-hero h1 {
    max-width: 830px;
    margin: 0;
    color: #123f68;
    font-size: clamp(38px, 4.7vw, 62px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.035em;
}

.faa-hero p {
    max-width: 760px;
    margin: 22px 0 0;
    color: #5d7082;
    font-size: 17px;
    line-height: 1.7;
}

.faa-hero-actions,
.faa-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.faa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.faa-btn-primary,
.faa-btn-primary:visited {
    color: #fff;
    background: #153f6b;
    border: 1px solid #153f6b;
}

.faa-btn-secondary,
.faa-btn-secondary:visited {
    color: #153f6b;
    background: #fff;
    border: 1px solid #bfcdd8;
}

.faa-award-mark {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 230px;
    padding: 32px;
    overflow: hidden;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(145deg, #143f67, #245f8b);
    box-shadow: 0 18px 38px rgba(18, 63, 104, .14);
}

.faa-award-mark::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -62px;
    width: 180px;
    height: 180px;
    border: 28px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.faa-award-year {
    margin-bottom: 14px;
    color: #b7d5eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
}

.faa-award-mark strong {
    position: relative;
    z-index: 1;
    max-width: 180px;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.03;
}

.faa-award-mark > span:last-child {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    color: #d8e8f4;
    font-size: 18px;
}

.faa-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 42px;
}

.faa-proof > div {
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
}
.faa-proof strong,
.faa-proof span { display: block; }
.faa-proof strong { color: #153f6b; font-size: 20px; line-height: 1.15; }
.faa-proof span { margin-top: 5px; color: #748392; font-size: 11px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }

.faa-page-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 42px;
}

.faa-page-nav-group {
    padding: 18px 20px;
    border: 1px solid #dfe6ec;
    border-radius: 7px;
    background: #f8fafc;
}

.faa-page-nav-label {
    display: block;
    margin-bottom: 9px;
    color: #50677a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.faa-page-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
}

.faa-page-nav-links a {
    color: #1f6fa9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.faa-content {
    padding-bottom: 60px;
}

/* Hide a duplicated page title if one has been entered manually in the content. */
.faa-content > h1:first-child { display: none; }

.faa-content h2 {
    margin: 52px 0 20px;
    color: #153f6b;
    font-size: 31px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.018em;
}

.faa-content h3 {
    margin: 34px 0 15px;
    color: #294e6c;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.3;
}

.faa-content p,
.faa-content li {
    color: #4e6274;
    font-size: 15px;
    line-height: 1.72;
}

.faa-content p { margin: 0 0 18px; }
.faa-content ul,
.faa-content ol { margin: 14px 0 24px 22px; }
.faa-content a { color: #1f6fa9; text-underline-offset: 2px; }

.faa-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    border-radius: 7px;
}

.faa-content figure,
.faa-content .wp-caption {
    max-width: 100%;
    margin: 30px auto;
}

/* Centre historical award images, including editor-generated inline image wrappers. */
.faa-content p:has(> img),
.faa-content p:has(> a > img),
.faa-content figure,
.faa-content .wp-caption {
    text-align: center;
}

/* Winner table */
.faa-content table {
    width: 100%;
    margin: 22px 0 38px;
    border: 1px solid #dbe4eb;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(18, 63, 104, .045);
}

.faa-content table th,
.faa-content table td {
    padding: 14px 16px;
    vertical-align: top;
    border: 0;
    border-bottom: 1px solid #e7edf1;
    background: transparent;
    color: #405668;
    font-size: 13.5px;
    line-height: 1.45;
}

.faa-content table tr:last-child td { border-bottom: 0; }
.faa-content table th,
.faa-content table tr:first-child td {
    color: #153f6b;
    background: #f3f7fa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.faa-content table td:first-child { width: 23%; font-weight: 650; color: #153f6b; }
.faa-content table td:nth-child(2) { width: 31%; }

.faa-methodology-summary {
    margin-top: 4px;
    padding: 42px;
    border-radius: 10px;
    background: #f2f7fa;
}

.faa-methodology-summary h2 {
    max-width: 660px;
    margin: 0;
    color: #153f6b;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.018em;
}

.faa-method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.faa-method-grid > div {
    min-width: 0;
    padding: 20px;
    border: 1px solid #d9e4eb;
    border-radius: 7px;
    background: #fff;
}

.faa-method-grid strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 13px;
    border-radius: 50%;
    color: #fff;
    background: #2e73b7;
    font-size: 13px;
}

.faa-method-grid span {
    display: block;
    color: #526779;
    font-size: 13px;
    line-height: 1.55;
}

.faa-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 48px;
    margin-bottom: 78px;
    padding: 36px 40px;
    border: 1px solid #dce5ec;
    border-radius: 9px;
    background: #fff;
}

.faa-footer-cta h2 {
    margin: 0;
    color: #153f6b;
    font-size: 28px;
    line-height: 1.2;
}

.faa-footer-cta p {
    margin: 8px 0 0;
    color: #667888;
    font-size: 14px;
}

.faa-footer-actions { flex: 0 0 auto; margin-top: 0; }

@media (hover: hover) and (pointer: fine) {
    .faa-btn-primary:hover { color: #fff; background: #215e8c; border-color: #215e8c; transform: translateY(-1px); }
    .faa-btn-secondary:hover { color: #153f6b; background: #f3f7fa; border-color: #91a9bb; }
    .faa-page-nav-links a:hover { color: #153f6b; text-decoration: underline; }
}

@media (max-width: 900px) {
    .faa-hero { grid-template-columns: 1fr 210px; gap: 36px; }
    .faa-award-mark { min-height: 205px; padding: 26px; }
    .faa-proof { grid-template-columns: repeat(2, 1fr); }
    .faa-proof > div:nth-child(2) { border-right: 0; }
    .faa-proof > div:nth-child(-n+2) { border-bottom: 1px solid #e3e9ee; }
    .faa-method-grid { grid-template-columns: repeat(2, 1fr); }
    .faa-footer-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
    .faa-hero,
    .faa-proof,
    .faa-page-nav,
    .faa-content,
    .faa-methodology-summary,
    .faa-footer-cta {
        width: min(100% - 28px, 1180px);
    }

    .faa-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 48px 0 34px;
    }

    .faa-hero h1 { font-size: 38px; }
    .faa-hero p { font-size: 15px; line-height: 1.65; }
    .faa-award-mark { min-height: 160px; }
    .faa-page-nav { grid-template-columns: 1fr; }
    .faa-content h2 { margin-top: 40px; font-size: 27px; }

    /* Turn a standard 3-column winners table into readable mobile cards. */
    .faa-content table,
    .faa-content tbody,
    .faa-content tr,
    .faa-content td { display: block; width: 100%; }
    .faa-content thead { display: none; }
    .faa-content table { border: 0; box-shadow: none; background: transparent; }
    .faa-content table tr {
        margin: 0 0 12px;
        overflow: hidden;
        border: 1px solid #dce5ec;
        border-radius: 7px;
        background: #fff;
    }
    .faa-content table tr:first-child { display: none; }
    /* Cell spacing and labels are defined with the final shared mobile
       table rules below so later desktop table calibration cannot reset them. */

    .faa-methodology-summary { padding: 30px 22px; }
    .faa-method-grid { grid-template-columns: 1fr; }
    .faa-footer-cta { padding: 28px 22px; margin-bottom: 52px; }
    .faa-footer-actions { width: 100%; }
    .faa-footer-actions .faa-btn { width: 100%; }
}

@media (max-width: 430px) {
    .faa-proof { grid-template-columns: 1fr; }
    .faa-proof > div { border-right: 0; border-bottom: 1px solid #e3e9ee; }
    .faa-proof > div:last-child { border-bottom: 0; }
    .faa-hero-actions { flex-direction: column; }
    .faa-hero-actions .faa-btn { width: 100%; }
}

/* ========================================================================== 
   Forecast Accuracy Awards — methodology redesign
   ========================================================================== */
.faa-methodology {
    width: min(1180px, calc(100% - 48px));
    margin: 14px auto 0;
    padding: 44px 0;
    border-top: 1px solid #dce5ec;
    border-bottom: 1px solid #dce5ec;
    background: transparent;
}

.faa-methodology-header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 42px;
    align-items: start;
}

.faa-methodology-header h2 {
    max-width: 700px;
    margin: 0;
    color: #153f6b;
    font-size: 32px;
    font-weight: 650;
    line-height: 1.16;
    letter-spacing: -.02em;
    text-align: left;
    text-transform: none;
    word-spacing: normal;
}

.faa-methodology-header > div:first-child > p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #5b6f80;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    text-transform: none;
}

.faa-mae-card {
    padding: 8px 0 8px 22px;
    border: 0;
    border-left: 3px solid #9fc7e2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.faa-mae-card > span {
    display: block;
    margin-bottom: 7px;
    color: #2e73b7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.faa-mae-card strong {
    display: block;
    color: #153f6b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.faa-mae-card p {
    margin: 10px 0 0;
    color: #607383;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    text-transform: none;
}

.faa-methodology-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid #d9e4eb;
    border-bottom: 1px solid #d9e4eb;
}

.faa-methodology-grid article {
    min-width: 0;
    padding: 22px 20px 24px;
    border: 0;
    border-right: 1px solid #d9e4eb;
    border-radius: 0;
    background: transparent;
}

.faa-methodology-grid article:last-child {
    border-right: 0;
}

.faa-method-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: #fff;
    background: #2e73b7;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.faa-methodology-grid h3 {
    margin: 0 0 8px;
    color: #153f6b;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    word-spacing: normal;
}

.faa-methodology-grid p {
    margin: 0;
    color: #5c6f80;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    text-transform: none;
}

.faa-methodology-details {
    margin-top: 26px;
    overflow: hidden;
    border-top: 1px solid #d9e4eb;
    border-bottom: 1px solid #d9e4eb;
    border-radius: 0;
    background: transparent;
}

.faa-methodology-details summary {
    position: relative;
    padding: 16px 48px 16px 18px;
    cursor: pointer;
    color: #153f6b;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    list-style: none;
}

.faa-methodology-details summary::-webkit-details-marker { display: none; }

.faa-methodology-details summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #2e73b7;
    font-size: 20px;
    font-weight: 400;
}

.faa-methodology-details[open] summary::after { content: "–"; }

.faa-methodology-source {
    padding: 0 18px 20px;
    border-top: 1px solid #e5ebf0;
}

.faa-methodology-source > :first-child { margin-top: 18px; }
.faa-methodology-source > :last-child { margin-bottom: 0; }
.faa-methodology-source p:empty,
.faa-methodology-source strong:empty { display: none; }

.faa-methodology-source,
.faa-methodology-source p,
.faa-methodology-source li,
.faa-methodology-source span,
.faa-methodology-source strong,
.faa-methodology-source b {
    color: #526678;
    font-size: 13px;
    line-height: 1.65;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
}

.faa-methodology-source p { margin: 0 0 14px; }
.faa-methodology-source strong,
.faa-methodology-source b { color: #153f6b; }

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

@media (max-width: 760px) {
    .faa-methodology {
        width: min(100% - 28px, 1180px);
        padding: 30px 0;
    }

    .faa-methodology-header {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .faa-methodology-header h2 { font-size: 27px; }
    .faa-methodology-grid { grid-template-columns: 1fr; gap: 10px; }
    .faa-methodology-grid article { padding: 18px; }
}


/* Full methodology note: regular body copy, bold labels only. */
.faa-methodology-source,
.faa-methodology-source p,
.faa-methodology-source li,
.faa-methodology-source span {
    font-weight: 400;
}

.faa-methodology-source strong,
.faa-methodology-source b {
    font-weight: 650;
}

/* ========================================================================== 
   Forecast Accuracy Awards — final legacy-markup normalisation
   ========================================================================== */

/* The source methodology varies by year. Force every descendant back to the
   normal body weight, then opt the controlled labels back into emphasis. */
.faa-page .faa-methodology-source,
.faa-page .faa-methodology-source * {
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    word-spacing: normal;
}

.faa-page .faa-methodology-source span.faa-methodology-label {
    color: #153f6b;
    font-weight: 650;
}

/* Keep all ordinary links in the Awards experience on the main CE site blue.
   Older winner tables sometimes apply colour to nested spans/strong elements,
   so colour both the anchor and all of its descendants. */
body .faa-page .faa-content a,
body .faa-page .faa-content a:link,
body .faa-page .faa-content a:visited,
body .faa-page .faa-content a *,
body .faa-page .faa-page-nav a,
body .faa-page .faa-page-nav a:link,
body .faa-page .faa-page-nav a:visited,
body .faa-page .faa-page-nav a *,
body .faa-page .faa-methodology a,
body .faa-page .faa-methodology a:link,
body .faa-page .faa-methodology a:visited,
body .faa-page .faa-methodology a * {
    color: #2776b9;
}

/* In particular, neutralise the legacy winner-table link colours. */
body .faa-page .faa-content table td a,
body .faa-page .faa-content table td a:link,
body .faa-page .faa-content table td a:visited,
body .faa-page .faa-content table td a span,
body .faa-page .faa-content table td a strong,
body .faa-page .faa-content table td a b {
    color: #2776b9;
    text-decoration-color: currentColor;
}

@media (hover: hover) and (pointer: fine) {
    body .faa-page .faa-content a:hover,
    body .faa-page .faa-content a:focus,
    body .faa-page .faa-content a:hover *,
    body .faa-page .faa-content a:focus *,
    body .faa-page .faa-page-nav a:hover,
    body .faa-page .faa-page-nav a:focus,
    body .faa-page .faa-page-nav a:hover *,
    body .faa-page .faa-page-nav a:focus *,
    body .faa-page .faa-methodology a:hover,
    body .faa-page .faa-methodology a:focus,
    body .faa-page .faa-methodology a:hover *,
    body .faa-page .faa-methodology a:focus * {
        color: #155d98;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}


/* ==========================================================================
   Live-site hardening: full width + legacy inline link normalisation
   ========================================================================== */

/* The legacy CE theme gives #primary calc(100% - 240px) with a highly specific
   selector. The reusable Awards template has no sidebar, so override that exact
   shell rule and remove any empty widget rail on Awards pages. */
body.cei-faa-page .site-content #primary.faa-page-primary,
body.cei-faa-page #primary.faa-page-primary,
.site-content #primary.faa-page-primary,
#primary.faa-page-primary {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
}

body.cei-faa-page #secondary,
body.cei-faa-page .widget-area.sidebar-publication {
    display: none;
}

body.cei-faa-page .site-content,
body.cei-faa-page .wrap.faa-wrap {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Ordinary links use the CE link blue. The template now strips legacy inline
   colour declarations, so these rules can apply consistently to every year. */
body.cei-faa-page .faa-page .faa-content a,
body.cei-faa-page .faa-page .faa-content a:link,
body.cei-faa-page .faa-page .faa-content a:visited,
body.cei-faa-page .faa-page .faa-content a > *,
body.cei-faa-page .faa-page .faa-page-nav a,
body.cei-faa-page .faa-page .faa-page-nav a:link,
body.cei-faa-page .faa-page .faa-page-nav a:visited,
body.cei-faa-page .faa-page .faa-methodology a,
body.cei-faa-page .faa-page .faa-methodology a:link,
body.cei-faa-page .faa-page .faa-methodology a:visited {
    color: #2776b9;
}

@media (hover: hover) and (pointer: fine) {
    body.cei-faa-page .faa-page .faa-content a:hover,
    body.cei-faa-page .faa-page .faa-content a:focus,
    body.cei-faa-page .faa-page .faa-page-nav a:hover,
    body.cei-faa-page .faa-page .faa-page-nav a:focus,
    body.cei-faa-page .faa-page .faa-methodology a:hover,
    body.cei-faa-page .faa-page .faa-methodology a:focus {
        color: #155d98;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

/* ==========================================================================
   Awards legacy Order CTA — preserve white text on the dark button
   ========================================================================== */
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"] ,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:link,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:visited,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"] *,
body .faa-page .faa-content a[href*="/order-forecast-publications/"] ,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:link,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:visited,
body .faa-page .faa-content a[href*="/order-forecast-publications/"] * {
    color: #fff;
    text-decoration-color: rgba(255,255,255,.72);
}

body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:hover,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:focus,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:hover *,
body.cei-faa-page .faa-page .faa-content a[href*="/order-forecast-publications/"]:focus *,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:hover,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:focus,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:hover *,
body .faa-page .faa-content a[href*="/order-forecast-publications/"]:focus * {
    color: #fff;
}

/* ========================================================================== 
   Forecast Accuracy Awards — chart sizing refinement
   Keep paired GDP/CPI evidence charts substantial, but prevent them from
   dominating the results page on wide desktop screens.
   ========================================================================== */
@media (min-width: 1000px) {
    body.cei-faa-page .faa-content img[alt*="forecast" i] {
        width: 100%;
        max-width: 510px;
        height: auto;
    }

    /* WordPress figure/caption wrappers should shrink with the chart where
       present, producing more whitespace between the paired charts. */
    body.cei-faa-page .faa-content figure:has(img[alt*="forecast" i]),
    body.cei-faa-page .faa-content .wp-caption:has(img[alt*="forecast" i]) {
        width: 100%;
        max-width: 530px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 999px) {
    body.cei-faa-page .faa-content img[alt*="forecast" i] {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

/* CEI Awards consistency — prevent legacy promotional header/slider content
   appearing above historical award pages routed through this template. */
body.cei-faa-page .slider-main,
body.cei-faa-page .publication-top,
body.cei-faa-page .home-slider,
body.cei-faa-page .page-slider {
    display: none;
}

body.cei-faa-page .site-content {
    margin-top: 0;
}

/* Older editor content sometimes carries standalone legacy CTA wrappers. */
.cei-faa-page .faa-content a[href*="/registration/"]:only-child {
    font-weight: 600;
}


/* ==========================================================================
   CEI — Forecast Accuracy Awards final refinement
   Calmer typography, less boxiness and stronger editorial hierarchy.
   ========================================================================== */
.cei-faa-page .faa-hero {
    padding-top: 58px;
    padding-bottom: 40px;
}

.cei-faa-page .faa-hero h1 {
    color: #153b5c;
    font-size: clamp(40px, 4.5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.cei-faa-page .faa-hero p {
    color: #3f4f5e;
    font-size: 16px;
    line-height: 1.68;
    text-align: left;
}

.cei-faa-page .faa-page-nav {
    margin-top: 26px;
    margin-bottom: 38px;
    padding: 15px 0;
    border-top: 1px solid #d9e3ea;
    border-bottom: 1px solid #d9e3ea;
    border-radius: 0;
    background: transparent;
}

.cei-faa-page .faa-content {
    padding-top: 8px;
}

.cei-faa-page .faa-content h2 {
    margin-top: 42px;
}

.cei-faa-page .faa-content p,
.cei-faa-page .faa-content li {
    color: #3f4f5e;
    font-size: 14px;
    line-height: 1.68;
    text-align: left;
}

/* Methodology should feel like a research note, not a dashboard. */
.cei-faa-page .faa-methodology {
    margin-top: 34px;
    padding: 34px 0 0;
    border: 0;
    border-top: 1px solid #d9e3ea;
    border-radius: 0;
    background: transparent;
}

.cei-faa-page .faa-methodology-header h2 {
    font-size: 29px;
}

.cei-faa-page .faa-mae-card {
    padding: 8px 0 8px 22px;
    border: 0;
    border-left: 3px solid #9fc7e2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cei-faa-page .faa-methodology-grid {
    gap: 0;
    border-top: 1px solid #d9e3ea;
    border-bottom: 1px solid #d9e3ea;
}

.cei-faa-page .faa-methodology-grid article {
    padding: 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cei-faa-page .faa-methodology-grid article + article {
    border-left: 1px solid #d9e3ea;
}

.cei-faa-page .faa-methodology-grid p {
    color: #5d6f7d;
    text-align: left;
}

.cei-faa-page .faa-footer-cta {
    margin-top: 44px;
    margin-bottom: 62px;
    padding: 30px 0;
    border: 0;
    border-top: 1px solid #d9e3ea;
    border-bottom: 1px solid #d9e3ea;
    border-radius: 0;
    background: transparent;
}

@media (max-width: 900px) {
    .cei-faa-page .faa-methodology-grid article + article {
        border-left: 0;
        border-top: 1px solid #d9e3ea;
    }
}

@media (max-width: 700px) {
    .cei-faa-page .faa-hero {
        padding-top: 42px;
        padding-bottom: 32px;
    }
    .cei-faa-page .faa-hero h1 {
        font-size: 36px;
    }
}


/* ==========================================================================
   CEI — historical award archive consistency
   ========================================================================== */
.cei-faa-page .faa-content > :first-child { margin-top: 0; }

.cei-faa-page .faa-content p,
.cei-faa-page .faa-content li,
.cei-faa-page .faa-content td,
.cei-faa-page .faa-content th {
    text-align: left;
    text-justify: auto;
}

.cei-faa-page .faa-content center {
    display: block;
    text-align: center;
}

.cei-faa-page .faa-content font {
    color: inherit;
    font: inherit;
}

.cei-faa-page .faa-content h1 { display: none; }

.cei-faa-page .faa-content h2 {
    margin: 42px 0 18px;
    color: #153b5c;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.018em;
}

.cei-faa-page .faa-content h3,
.cei-faa-page .faa-content h4 {
    margin: 30px 0 12px;
    color: #173f5e;
    font-size: 18px;
    line-height: 1.3;
}

.cei-faa-page .faa-content table {
    width: 100%;
    margin: 22px 0 36px;
    border: 1px solid #d9e3ea;
    border-spacing: 0;
    border-collapse: separate;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.cei-faa-page .faa-content table tr:nth-child(even) { background: #fbfcfd; }

.cei-faa-page .faa-content table th,
.cei-faa-page .faa-content table td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #e7edf1;
    vertical-align: top;
    background: transparent;
    color: #3f4f5e;
    font-size: 13px;
    line-height: 1.48;
}

.cei-faa-page .faa-content table th,
.cei-faa-page .faa-content table tr:first-child td {
    background: #f7f9fb;
    color: #153b5c;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cei-faa-page .faa-content table tr:last-child td { border-bottom: 0; }

.cei-faa-page .faa-archive-note {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 34px;
    padding: 18px 20px;
    border-left: 2px solid #2874a6;
    background: #f7f9fb;
}

.cei-faa-page .faa-archive-note > span {
    display: block;
    margin-bottom: 5px;
    color: #2874a6;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.cei-faa-page .faa-archive-note p {
    margin: 0;
    color: #5d6f7d;
    font-size: 13.5px;
    line-height: 1.6;
    text-align: left;
}

.cei-faa-page .faa-archive-note a {
    color: #173f5e;
    font-weight: 650;
}

@media (max-width: 767px) {
    .cei-faa-page .faa-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


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

/* ==========================================================================
   CEI 2026-10-01 — Awards hero type and footer CTA geometry
   Align award-page hero typography with the lighter editorial treatment and
   make the final two CTA buttons render at exactly the same size.
   ========================================================================== */
.cei-faa-page .faa-hero h1,
.faa-hero h1 {
    font-family: var(--cei-font-editorial, Georgia, "Times New Roman", serif);
    font-size: clamp(40px, 4.5vw, 54px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.05;
    letter-spacing: -.03em;
}

/* Final "Explore the underlying forecasts" CTA */
.cei-faa-page .faa-footer-actions {
    display: grid;
    grid-template-columns: repeat(2, 190px);
    grid-auto-rows: 46px;
    gap: 20px;
    align-items: stretch;
    justify-items: stretch;
    flex: 0 0 auto;
    margin: 0;
}

.cei-faa-page .faa-footer-actions > a.faa-btn,
.cei-faa-page .faa-footer-actions > a.faa-btn:link,
.cei-faa-page .faa-footer-actions > a.faa-btn:visited {
    box-sizing: border-box;
    display: flex;
    width: 190px;
    min-width: 190px;
    max-width: 190px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    margin: 0;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transform: none;
}

/* Keep the main hero's two actions equal too. */
.cei-faa-page .faa-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cei-faa-page .faa-hero-actions > a.faa-btn {
    box-sizing: border-box;
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 18px;
    margin: 0;
}

@media (max-width: 767px) {
    .cei-faa-page .faa-hero h1,
    .faa-hero h1 {
        font-size: 35px;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: -.025em;
    }

    .cei-faa-page .faa-footer-actions {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 12px;
    }

    .cei-faa-page .faa-footer-actions > a.faa-btn,
    .cei-faa-page .faa-footer-actions > a.faa-btn:link,
    .cei-faa-page .faa-footer-actions > a.faa-btn:visited,
    .cei-faa-page .faa-hero-actions > a.faa-btn {
        width: 100%;
        min-width: 0;
        max-width: none;
        flex-basis: auto;
    }
}


/* ========================================================================== 
   CEI — suppress empty legacy award-content tables
   Historical award posts can contain a blank one-cell table after the closing
   copy. Once the modern table treatment is applied it appears as a stray box.
   Hide only tables with no meaningful cell/header content.
   ========================================================================== */
.cei-faa-page .faa-content table:not(:has(td:not(:empty), th:not(:empty), img, a)) {
    display: none;
}

.cei-faa-page .faa-content table:has(
    tr:only-child > td:only-child:empty
) {
    display: none;
}

/* ========================================================================== 
   CEI — final legacy trailing spacer-table suppression
   Some award posts retain a final one-row/one-cell editor spacer table after
   the descriptive copy. It is structurally non-empty, so :empty-based rules
   do not catch it. Restrict this to the final table in award content and only
   when that table is the legacy single-cell shape.
   ========================================================================== */
.cei-faa-page .faa-content table:last-child:has(tr:only-child > td:only-child),
.faa-page .faa-content table:last-child:has(tr:only-child > td:only-child) {
    display: none;
}

/* Forecast Accuracy family — consistent copy, evidence tables and method steps.
   Scoped to the reusable award-results template, including historical pages. */
.cei-faa-page .faa-hero p { line-height: 1.65; }
.cei-faa-page .faa-content h2 { line-height: 1.22; letter-spacing: -.023em; }
.cei-faa-page .faa-content h3 { line-height: 1.3; letter-spacing: -.014em; }
.cei-faa-page .faa-content p,
.cei-faa-page .faa-content li { line-height: 1.66; }
.cei-faa-page .faa-methodology-header h2 { line-height: 1.2; letter-spacing: -.024em; }
.cei-faa-page .faa-methodology-grid h3 { line-height: 1.3; letter-spacing: -.014em; }
.cei-faa-page .faa-methodology-grid p { line-height: 1.62; }
.cei-faa-page .faa-methodology-grid article { min-width: 0; }
.cei-faa-page .faa-content table th,
.cei-faa-page .faa-content table td { line-height: 1.5; overflow-wrap: break-word; }
.cei-faa-page a:focus-visible,
.cei-faa-page summary:focus-visible { outline: 2px solid #2874a6; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 767px) {
    .cei-faa-page .faa-content h2 { line-height: 1.22; }
    .cei-faa-page .faa-content p,
    .cei-faa-page .faa-content li { font-size: 15.5px; line-height: 1.62; }
    .cei-faa-page .faa-methodology-grid article { padding: 20px; }
    .cei-faa-page .faa-methodology-grid p { font-size: 15px; line-height: 1.62; }
    /* Mobile winners tables: labels flow above their values, never over them. */
    .cei-faa-page .faa-content table {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .cei-faa-page .faa-content table tr {
        height: auto;
        overflow: visible;
    }
    .cei-faa-page .faa-content table td,
    .cei-faa-page .faa-content table td:first-child,
    .cei-faa-page .faa-content table td:nth-child(2) {
        display: block;
        width: 100%;
        min-height: 0;
        height: auto;
        padding: 12px 14px;
        line-height: 1.52;
        overflow-wrap: anywhere;
    }
    .cei-faa-page .faa-content table td::before {
        position: static;
        display: block;
        width: auto;
        margin: 0 0 5px;
        color: #758493;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: .055em;
        text-transform: uppercase;
    }
    .cei-faa-page .faa-content table td:nth-child(1)::before { content: "Country"; }
    .cei-faa-page .faa-content table td:nth-child(2)::before { content: "Company"; }
    .cei-faa-page .faa-content table td:nth-child(3)::before { content: "Economists"; }
}
