/* Analytics-backed feature sections for high-signal pages. */
.cc-performance-strip,
.cc-intent-panel,
.cc-topic-bridge {
    background: #fff;
    border: 1px solid #d8e0ea;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(17, 27, 44, 0.08);
    margin: 24px 0;
    padding: 24px;
}

.cc-performance-strip {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    gap: 24px;
    align-items: stretch;
}

.cc-strip-copy .eyebrow,
.cc-intent-panel .eyebrow,
.cc-topic-bridge .eyebrow {
    color: #335587;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cc-strip-copy h2,
.cc-intent-panel h2,
.cc-topic-bridge h2 {
    color: #172033;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin: 0 0 12px;
}

.cc-strip-copy p,
.cc-intent-panel p,
.cc-topic-bridge p {
    color: #415067;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.cc-featured-grid,
.cc-intent-grid,
.cc-bridge-grid {
    display: grid;
    gap: 14px;
}

.cc-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-feature-card,
.cc-intent-card,
.cc-bridge-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    border: 1px solid #d8e0ea;
    border-radius: 18px;
    color: #172033;
    display: block;
    min-width: 0;
    padding: 18px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cc-feature-card:hover,
.cc-intent-card:hover,
.cc-bridge-card:hover {
    border-color: #9fb2cc;
    box-shadow: 0 14px 30px rgba(17, 27, 44, 0.1);
    transform: translateY(-2px);
}

.cc-feature-card strong,
.cc-intent-card strong,
.cc-bridge-card strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.25;
    margin-bottom: 8px;
}

.cc-feature-card span,
.cc-intent-card span,
.cc-bridge-card span {
    color: #526078;
    display: block;
    font-size: 0.92rem;
    line-height: 1.45;
}

.cc-feature-card .tag,
.cc-intent-card .tag,
.cc-bridge-card .tag {
    background: #eef3f7;
    border-radius: 999px;
    color: #335587;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    padding: 6px 10px;
    text-transform: uppercase;
}

.cc-intent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
}

.cc-bridge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 18px;
}

.cc-page-anchor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cc-page-anchor-row a {
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    color: #172033;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 9px 13px;
    text-decoration: none;
}

.cc-page-anchor-row a:hover {
    background: #eef3f7;
    border-color: #c3cfdd;
}

@media (max-width: 900px) {
    .cc-performance-strip,
    .cc-featured-grid,
    .cc-intent-grid,
    .cc-bridge-grid {
        grid-template-columns: 1fr;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-container {
        display: block !important;
        max-width: 100% !important;
        padding: 12px 12px 8px !important;
        width: 100% !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-main {
        display: block !important;
        margin-bottom: 10px !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-brand {
        align-items: baseline;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-logo {
        font-size: 1.25rem !important;
        line-height: 1.15 !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-tagline {
        display: none !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-description {
        display: none !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-section {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 8px !important;
        justify-content: flex-start !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-group {
        display: contents !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-group h4 {
        display: none !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-group a {
        display: inline-flex !important;
        font-size: 0.9rem !important;
        line-height: 1.25 !important;
        min-height: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-bottom {
        padding: 8px 12px 12px !important;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-bottom p {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer {
        padding: 12px !important;
    }

    body[data-cc-base="v2"] .history-fab,
    body[data-cc-base="v2"] .scroll-to-top,
    body[data-cc-base="v2"] .swipe-hint {
        display: none !important;
    }

    body[data-cc-base="v2"].cc-home-v2 .homepage-right-rail {
        display: none !important;
    }

    body[data-cc-base="v2"] .history-panel:not(.show) {
        display: none !important;
    }

    body[data-cc-base="v2"] .history-panel.show {
        display: flex !important;
        max-width: 100vw !important;
        width: 100vw !important;
    }

    body[data-cc-base="v2"] > header.cc-site-header #searchResults,
    body[data-cc-base="v2"] > header.cc-site-header .search-results {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(calc(100vw - 32px), 360px) !important;
        max-width: calc(100vw - 32px) !important;
    }

    .cc-performance-strip,
    .cc-intent-panel,
    .cc-topic-bridge {
        border-radius: 18px;
        margin: 18px 0;
        padding: 18px;
    }

    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-group,
    body[data-cc-base="v2"] > footer.cc-site-footer .footer-links-group a {
        min-width: 0 !important;
        overflow-wrap: anywhere;
    }

    body[data-cc-base="v2"] .comparison-table-wrapper {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    body[data-cc-base="v2"] .comparison-table {
        width: max-content;
        max-width: none;
    }

    .cc-strip-copy h2,
    .cc-intent-panel h2,
    .cc-topic-bridge h2 {
        font-size: clamp(1.7rem, 9vw, 2.25rem);
    }
}
