.mlb-country-page {
    color: #20242a;
    margin: 0 auto;
    max-width: 1120px;
    padding: 32px 22px 18px;
}

.mlb-country-hero {
    margin: 0 0 24px;
}

.mlb-country-eyebrow {
    color: #237b59;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.mlb-country-hero h1 {
    font-size: clamp(2.2rem, 4vw, 4.15rem);
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    max-width: 920px;
}

.mlb-country-dek {
    color: #5e6672;
    font-size: 1.12rem;
    line-height: 1.58;
    margin: 16px 0 0;
    max-width: 890px;
}

.mlb-country-meta,
.mlb-country-note {
    color: #68707b;
    font-size: 0.93rem;
}

.mlb-country-meta {
    margin: 14px 0 0;
}

.mlb-country-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.mlb-country-toc a {
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 6px;
    color: #20242a;
    font-size: 0.92rem;
    padding: 8px 10px;
    text-decoration: none;
}

.mlb-country-toc a:hover,
.mlb-country-toc a:focus {
    border-color: #237b59;
    color: #15553c;
}

.mlb-country-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    margin: 24px 0 10px;
}

.mlb-country-metric,
.mlb-country-answer,
.mlb-country-chart,
.mlb-country-table-wrap {
    background: #ffffff;
    border: 1px solid #d9dee5;
    border-radius: 8px;
}

.mlb-country-metric {
    padding: 14px 16px;
}

.mlb-country-metric span {
    color: #68707b;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mlb-country-metric strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.05;
    margin-top: 6px;
}

.mlb-country-answer {
    border-left: 5px solid #237b59;
    margin: 24px 0;
    padding: 16px 18px;
}

.mlb-country-answer h2 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.mlb-country-answer p {
    margin: 0;
}

.mlb-country-answer p + p {
    margin-top: 10px;
}

.mlb-country-section {
    margin: 34px 0 0;
}

.mlb-country-trend-top {
    margin-top: 24px;
}

.mlb-country-section h2 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 12px;
}

.mlb-country-section p {
    color: #414953;
    line-height: 1.62;
    max-width: 920px;
}

.mlb-country-chart {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    margin: 18px 0;
    overflow-x: auto;
    padding: 12px 14px 10px;
    position: relative;
}

.mlb-country-chart svg {
    display: block;
    height: auto;
    min-width: 720px;
    width: 100%;
}

.mlb-country-chart-line {
    transition: opacity 150ms ease, stroke-width 150ms ease;
}

.mlb-country-chart.has-active .mlb-country-chart-line {
    opacity: 0.18;
}

.mlb-country-chart.has-active .mlb-country-chart-line.is-active {
    opacity: 1;
    stroke-width: 3;
}

.mlb-country-chart-guide {
    opacity: 0;
    pointer-events: none;
    stroke: #aab2bd;
    stroke-dasharray: 4 5;
    stroke-width: 1;
    transition: opacity 150ms ease;
}

.mlb-country-chart-guide.is-active {
    opacity: 0.78;
}

.mlb-country-chart-point {
    opacity: 0;
    pointer-events: none;
    transform-box: fill-box;
    transform-origin: center;
    transition: opacity 150ms ease, transform 150ms ease, stroke-width 150ms ease;
}

.mlb-country-chart-point.is-country-active {
    opacity: 0.38;
}

.mlb-country-chart-point.is-active {
    opacity: 1;
    stroke: #ffffff;
    stroke-width: 2.4;
    transform: scale(1.7);
}

.mlb-country-chart-hit {
    cursor: crosshair;
}

.mlb-country-chart-tooltip {
    --chart-color: #237b59;
    background: rgba(32, 36, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(20, 25, 32, 0.22);
    color: #ffffff;
    left: 0;
    min-width: 188px;
    opacity: 0;
    padding: 10px 12px;
    pointer-events: none;
    position: fixed;
    top: 0;
    transform: translate(-9999px, -9999px);
    transition: opacity 120ms ease;
    z-index: 40;
}

.mlb-country-chart-tooltip.is-visible {
    opacity: 1;
}

.mlb-country-chart-tooltip-country {
    align-items: center;
    display: flex;
    font-size: 0.9rem;
    font-weight: 850;
    gap: 8px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.mlb-country-chart-tooltip-country::before {
    background: var(--chart-color);
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 9px;
    width: 9px;
}

.mlb-country-chart-tooltip-row {
    align-items: baseline;
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    font-size: 0.76rem;
    justify-content: space-between;
    line-height: 1.35;
}

.mlb-country-chart-tooltip-row strong {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    margin-left: 16px;
}

.mlb-country-table-wrap {
    margin: 14px 0 22px;
    overflow-x: auto;
}

.mlb-country-table-wrap table {
    border-collapse: collapse;
    font-size: 0.95rem;
    width: 100%;
}

.mlb-country-table-wrap caption {
    color: #68707b;
    font-size: 0.85rem;
    padding: 10px 12px 0;
    text-align: left;
}

.mlb-country-table-wrap th,
.mlb-country-table-wrap td {
    border-bottom: 1px solid #d9dee5;
    padding: 10px 11px;
    text-align: right;
    white-space: nowrap;
}

.mlb-country-table-wrap th:first-child,
.mlb-country-table-wrap td:first-child,
.mlb-country-table-wrap th:nth-child(2),
.mlb-country-table-wrap td:nth-child(2) {
    text-align: left;
}

.mlb-country-table-wrap th {
    color: #68707b;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mlb-country-table-wrap tr:last-child td {
    border-bottom: 0;
}

.mlb-country-faq details {
    border-top: 1px solid #d9dee5;
    padding: 12px 0;
}

.mlb-country-faq details:last-child {
    border-bottom: 1px solid #d9dee5;
}

.mlb-country-faq summary {
    cursor: pointer;
    font-weight: 800;
}

.mlb-country-faq p {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .mlb-country-page {
        padding: 22px 14px 8px;
    }

    .mlb-country-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mlb-country-table-wrap th,
    .mlb-country-table-wrap td {
        padding: 9px 8px;
    }
}

@media (max-width: 460px) {
    .mlb-country-metrics {
        grid-template-columns: 1fr;
    }
}
