/* Shared cross-page responsive/content slice retained from research-surveys-base.css after route-only extraction. */
@media (min-width: 768px) {
    .survey-profile-page .special-research-deck {
        max-width: 920px;
        text-wrap: pretty;
    }
    .special-research-modern .special-research-deck,
    .long-term-forecasts-page .special-research-deck,
    .quarterly-forecasts-page .special-research-deck,
    .oil-price-forecasts-page .special-research-deck,
    .currency-risk-page .special-research-deck,
    .cei-section-intro,
    .why-consensus-intro-copy,
    .home .why-consensus-section p.why-consensus-intro,
    .home .section-intro p,
    .home .home-decisions-intro,
    .home .home-data-showcase-intro,
    .home .home-methodology-intro p,
    .home .home-faq-intro > p {
        text-wrap: pretty;
    }
}
@media (min-width: 769px) {
    .special-research-modern .special-research-content table:not(.survey-layout-table):not(.schedule-table):not(.data-table):not([class*="schedule"]),
    .survey-profile-page .special-research-content table:not(.survey-layout-table):not(.schedule-table):not(.data-table):not([class*="schedule"]),
    .entry-content .wp-block-table > table:not(.schedule-table):not(.data-table):not([class*="schedule"]),
    .entry-content .table-responsive > table:not(.schedule-table):not(.data-table):not([class*="schedule"]) {
        display: table;
        width: max-content;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        table-layout: auto;
    }
    .special-research-modern .special-research-content .wp-block-table,
    .special-research-modern .special-research-content .table-responsive,
    .survey-profile-page .special-research-content .wp-block-table,
    .survey-profile-page .special-research-content .table-responsive,
    .entry-content .wp-block-table,
    .entry-content .table-responsive {
        width: fit-content;
        max-width: 100%;
        height: auto;
        max-height: none;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }
    .schedule-table-wrap,
    .special-data-example-table-wrap,
    .publication-schedule-table,
    .data-table-wrap {
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .special-research-modern .special-research-content .wp-block-table,
    .special-research-modern .special-research-content .table-responsive,
    .survey-profile-page .special-research-content .wp-block-table,
    .survey-profile-page .special-research-content .table-responsive,
    .entry-content .wp-block-table,
    .entry-content .table-responsive {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .special-research-modern .special-research-content table,
    .survey-profile-page .special-research-content table,
    .entry-content .wp-block-table > table,
    .entry-content .table-responsive > table {
        width: max-content;
        min-width: 100%;
        max-width: none;
        table-layout: auto;
    }
}

@media (min-width: 768px) {
    .site-content .entry-content p,
    .special-research-content p,
    .news-article-content p,
    .country-content p,
    .section-content p {
        line-height: 1.72;
    }

    .site-content .entry-content > p + p,
    .special-research-content > p + p,
    .news-article-content > p + p {
        margin-top: 16px;
    }

    .site-content .entry-content > h2,
    .special-research-content > h2,
    .news-article-content > h2,
    .country-content > h2 {
        margin-top: 48px;
        margin-bottom: 20px;
    }

    .site-content .entry-content > h3,
    .special-research-content > h3,
    .news-article-content > h3,
    .country-content > h3 {
        margin-top: 34px;
        margin-bottom: 16px;
    }
    .about-modern-section,
    .why-consensus-section,
    .investor-data-section,
    .consensus-explainer-section,
    .schedule-section,
    .country-detail-section,
    .forecast-section,
    .cei-section,
    .home-decisions-section,
    .home-data-showcase,
    .home-workable-data,
    .home-forecast-explorer,
    .home-data-delivery,
    .home-faq,
    .home-faqs {
        margin-top: var(--cei-space-section-compact);
        margin-bottom: var(--cei-space-section-compact);
    }
    .modern-forecast-grid,
    .forecast-detail-grid,
    .forecast-card-grid,
    .g7-coverage-grid,
    .g7-included-content,
    .survey-link-grid,
    .investor-data-special-grid,
    .investor-data-use-grid,
    .contact-help-grid,
    .privacy-policy-grid,
    .schedule-frequency-grid,
    .country-region-all-grid {
        gap: clamp(22px, 2.2vw, 32px);
    }
    .about-modern-hero,
    .why-consensus-hero,
    .investor-data-hero,
    .business-info-hero,
    .contact-modern-hero,
    .privacy-policy-hero,
    .schedule-hero,
    .efp-hero,
    .cei-api-hero,
    .cei-excel-hero,
    .mi-hero,
    .g7-modern-hero,
    .country-modern-hero,
    .commodity-modern-hero,
    .fx-child-modern-hero,
    .special-research-hero {
        margin-bottom: clamp(34px, 3.8vw, 56px);
    }
    .special-research-deck,
    .cei-section-intro,
    .why-consensus-intro-copy,
    .home .why-consensus-section p.why-consensus-intro,
    .home .home-decisions-intro,
    .home .home-data-showcase-intro,
    .home .home-workable-data-lead,
    .home .home-faq-lead,
    .home .home-data-delivery-intro {
        line-height: 1.7;
    }


    .home section h2,
    .home section .section-title,
    .special-research-hero h1,
    .survey-profile-hero h1,
    .g7-section-heading h2,
    .cei-section-heading h2 {
        margin-bottom: 14px;
    }

    .home section h2 + p,
    .home section .section-title + p,
    .special-research-hero h1 + p,
    .survey-profile-hero h1 + p,
    .g7-section-heading h2 + p,
    .cei-section-heading h2 + p {
        margin-top: 0;
    }
    .home section p,
    .special-research-content p,
    .survey-profile-page p,
    .country-detail-section p,
    .news-article-content p {
        margin-bottom: 14px;
    }
    .special-research-actions,
.survey-profile-actions,
.cei-hero-actions,
.home .hero-actions{
        margin-top: 20px;
        margin-bottom: 0;
    }
    .special-research-facts,
    .survey-profile-facts,
    .cei-fact-strip,
    .long-term-facts,
    .quarterly-facts,
    .oil-facts,
    .currency-risk-facts {
        margin-top: 18px;
        margin-bottom: 0;
    }
    .home main > section + section,
    .home .site-main > section + section,
    .special-research-content > section + section,
    .survey-profile-page .special-research-content > section + section,
    .country-section-stack > section + section,
    .news-article-content > section + section,
    .entry-content > .cei-section + .cei-section {
        margin-top: clamp(62px, 5.5vw, 88px);
    }
    .forecast-card,
    .forecast-detail-card,
    .g7-coverage-card,
    .g7-included-card,
    .country-special-survey-card,
    .special-use-case-card,
    .contact-office-card,
    .privacy-policy-rights-card,
    .privacy-policy-list-card,
    .schedule-card,
    .schedule-special-card,
    .investor-data-market-card {
        padding: 24px;
    }
    .g7-section-heading,
    .cei-section-heading,
    .country-detail-section-heading,
    .special-research-content > h2,
    .news-article-content > h2 {
        margin-bottom: 16px;
    }
    .entry-content figure,
    .special-research-content figure,
    .news-article-content figure,
    .entry-content .wp-block-table,
    .special-research-content .wp-block-table,
    .news-article-content .wp-block-table {
        margin-top: 22px;
        margin-bottom: 28px;
    }
}
.fsi-button-primary,
.special-research-button-primary,
.cei-news-btn-primary {
    background: #153b5c;
    border-color: #153b5c;
    color: #fff;
}
.fsi-button-secondary,
.special-research-button-secondary,
.cei-news-btn-secondary {
    background: #fff;
    border-color: #7fb3d5;
    color: #153b5c;
}
.fsi-button-secondary:hover,
.fsi-button-secondary:focus-visible,
.special-research-button-secondary:hover,
.special-research-button-secondary:focus-visible,
.cei-news-btn-secondary:hover,
.cei-news-btn-secondary:focus-visible {
    background: #eef6fb;
    border-color: #2874a6;
    color: #153b5c;
}
.cei-methodology-link {
    align-items: center;
    gap: 0.35rem;
    margin-top: 12px;
    color: #0b5aa6;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.cei-methodology-link:hover,
.cei-methodology-link:focus {
    color: #073b72;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 767px) {
    .cei-methodology-link {
        margin-top: 10px;
        font-size: 13px;
    }
}
.survey-profile-page .survey-profile-note,
.survey-profile-page .survey-profile-note p,
.survey-profile-page .special-research-content > p,
.survey-profile-page .special-research-content > p:first-of-type {
    max-width: none;
}

.survey-profile-page .survey-profile-note {
    box-sizing: border-box;
}
.cei-methodology-link {
    display: none;
}
.currency-risk-page .currency-risk-method,
.currency-risk-method {
    display: none;
}

.site-content #primary h1,
.site-content #primary h2,
.site-content #primary h3,
.site-content #primary h4,
.site-content .entry-title,
.site-content .entry-title a,
.consensus-explainer-page h1,
.consensus-explainer-page h2,
.consensus-explainer-page h3,
.why-consensus-page h1,
.why-consensus-page h2,
.why-consensus-page h3,
.about-modern-page h1,
.about-modern-page h2,
.about-modern-page h3,
.special-research-modern h1,
.special-research-modern h2,
.special-research-modern h3,
.survey-profile-page h1,
.survey-profile-page h2,
.survey-profile-page h3 {
    color: var(--cei-heading-navy);
}
.currency-risk-page .currency-risk-facts {
    margin-bottom: 24px;
}
body:has(.currency-risk-page) #secondary {
    display: none;
}

body:has(.currency-risk-page) #primary {
    width: 100%;
    max-width: 100%;
    float: none;
    margin-right: 0;
}
body:has(#primary .special-research-content) #secondary {
    display: none;
}

body:has(#primary .special-research-content) #primary {
    width: 100%;
    max-width: 100%;
    float: none;
    margin-right: 0;
}
body:has(#primary .special-research-content) .special-research-content {
    clear: both;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}
.special-research-facts,
.survey-profile-facts,
.cei-fact-strip,
.long-term-facts,
.quarterly-facts,
.oil-facts,
.currency-risk-facts {
    margin-bottom: 24px;
}
body:has(#primary .special-research-content) .special-research-content > :first-child {
    margin-top: 0;
}
.special-research-modern .survey-profile-note {
    position: static;
    float: none;
    clear: both;
    display: flow-root;
    height: auto;
    min-height: 0;
    margin-bottom: 36px;
    transform: none;
}

.special-research-modern .survey-profile-note + .special-research-content {
    position: static;
    float: none;
    clear: both;
    margin-top: 0;
    transform: none;
    top: auto;
}
.special-research-modern .survey-profile-note + .special-research-content::before {
    content: none;
}
article.special-research-modern.survey-profile-page .survey-profile-note {
    display: block;
    position: relative;
    float: none;
    clear: both;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
    margin: 0 0 40px;
    transform: none;
    top: auto;
    bottom: auto;
    box-sizing: border-box;
    z-index: 2;
}

article.special-research-modern.survey-profile-page .survey-profile-note::after {
    content: "";
    display: block;
    clear: both;
    height: 0;
}

article.special-research-modern.survey-profile-page .survey-profile-note + .special-research-content,
article.special-research-modern.survey-profile-page .special-research-content {
    display: block;
    position: relative;
    float: none;
    clear: both;
    max-width: none;
    margin: 0;
    padding: 0;
    transform: none;
    top: auto;
    bottom: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    box-sizing: border-box;
    z-index: 1;
}
article.special-research-modern.survey-profile-page .special-research-content > :first-child {
    margin-top: 0;
}
.survey-profile-page {
    margin-top: 0;
    padding-top: 24px;
    position: relative;
    clear: both;
}

.survey-profile-page .special-research-shell {
    padding-top: 0;
}

.survey-profile-page .special-research-hero {
    margin-top: 0;
}

@media (max-width: 767px) {
    .survey-profile-page {
        margin-top: 0;
        padding-top: 16px;
    }
}
body:has(.currency-risk-page) .survey-profile-page,
body:has(.currency-trading-ranges-page) .survey-profile-page,
body:has(.survey-profile-page) .survey-profile-page {
    margin-top: 24px;
}

body:has(.survey-profile-page) .breadcrumbs,
body:has(.survey-profile-page) .breadcrumb,
body:has(.survey-profile-page) .yoast-breadcrumbs {
    margin-bottom: 0;
    padding-bottom: 0;
}

body:has(.survey-profile-page) .survey-profile-page > :first-child {
    margin-top: 0;
}


body:has(.currency-risk-page) .breadcrumbs,
body:has(.currency-risk-page) .breadcrumb,
body:has(.currency-risk-page) .yoast-breadcrumbs,
body:has(.survey-profile-page) .breadcrumbs,
body:has(.survey-profile-page) .breadcrumb,
body:has(.survey-profile-page) .yoast-breadcrumbs {
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .currency-risk-page,
    .survey-profile-page {
        margin-top: 16px;
        padding-top: 0;
    }
}
.currency-risk-page,
.survey-profile-page {
    margin-top: 0;
    padding-top: 0;
}

.currency-risk-page .special-research-shell,
.survey-profile-page .special-research-shell {
    margin-top: 24px;
}

.currency-risk-page .special-research-hero,
.survey-profile-page .special-research-hero {
    margin-top: 0;
}

@media (max-width: 767px) {
    .currency-risk-page .special-research-shell,
    .survey-profile-page .special-research-shell {
        margin-top: 16px;
    }
}
.special-research-modern .special-research-shell {
    padding-bottom: 32px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .special-research-modern .special-research-shell {
        padding-bottom: 24px;
    }
}
@media (min-width: 769px) {
    .cei-fx-research-article .special-research-content .cei-news-table-wrap,
    .cei-fx-research-article .special-research-content .wp-block-table,
    .cei-fx-research-article .special-research-content .table-responsive {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .cei-fx-research-article .special-research-content .cei-news-table-wrap > table,
    .cei-fx-research-article .special-research-content .wp-block-table > table,
    .cei-fx-research-article .special-research-content .table-responsive > table,
    .cei-fx-research-article .special-research-content > table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .cei-fx-research-article .special-research-content table td,
    .cei-fx-research-article .special-research-content table th {
        width: auto;
        box-sizing: border-box;
    }

    .cei-fx-research-article .special-research-content table img {
        width: auto;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }


    .cei-commodity-research-article .special-research-content .cei-news-table-wrap,
    .cei-commodity-research-article .special-research-content .wp-block-table,
    .cei-commodity-research-article .special-research-content .table-responsive {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }

    .cei-commodity-research-article .special-research-content .cei-news-table-wrap > table,
    .cei-commodity-research-article .special-research-content .wp-block-table > table,
    .cei-commodity-research-article .special-research-content .table-responsive > table,
    .cei-commodity-research-article .special-research-content > table {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .cei-commodity-research-article .special-research-content table td,
    .cei-commodity-research-article .special-research-content table th {
        width: auto;
        box-sizing: border-box;
    }

    .cei-commodity-research-article .special-research-content table img {
        width: auto;
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
.special-research-modern .research-publication-note {
    max-width: none;
    margin: 0 0 26px;
    padding: 18px 22px;
    box-sizing: border-box;
    background: #f7f9fb;
    border-left: 3px solid #7fb3d5;
}

.special-research-modern .research-publication-note p,
.special-research-modern .research-publication-note p:first-of-type {
    max-width: none;
    margin: 0;
    padding: 0;
}

.special-research-modern .research-publication-note p + p {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .special-research-modern .research-publication-note {
        margin-bottom: 20px;
        padding: 15px 17px;
    }
}
