/* Scoped article styles keep the shared site navigation unchanged. */
.turf-cost-guide main > section > .container,
.turf-cost-guide .cost-guide-layout {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}
.turf-cost-guide .cost-guide-hero .container,
.turf-cost-guide .cost-guide-cta .container {
    padding-top: 0;
}
.turf-cost-guide .cost-guide-hero h1,
.turf-cost-guide .cost-guide-hero p,
.turf-cost-guide .cost-guide-article,
.turf-cost-guide .cost-guide-nav {
    overflow-wrap: anywhere;
}
.turf-cost-guide .cost-guide-hero {
    padding: 150px 0 64px;
    background: #244d30;
    color: #fff;
}
.turf-cost-guide .cost-guide-kicker {
    color: #d2e7cb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.turf-cost-guide .cost-guide-hero h1 {
    max-width: 960px;
    margin: 18px 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.14;
}
.turf-cost-guide .cost-guide-hero p {
    max-width: 770px;
    font-size: 18px;
    line-height: 1.65;
}
.turf-cost-guide .cost-guide-hero .cost-guide-date {
    font-size: 14px;
    color: #dfebdf;
    margin: 18px 0 26px;
}
.turf-cost-guide .cost-guide-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 48px;
    padding-top: 48px;
    padding-bottom: 56px;
    align-items: start;
}
.turf-cost-guide .cost-guide-nav {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 124px);
    overflow: auto;
    padding: 22px;
    border: 1px solid #e1e8e0;
    border-radius: 14px;
    background: #f6f8f4;
}
.turf-cost-guide .cost-guide-nav summary {
    font-weight: 700;
    color: #244d30;
    cursor: pointer;
}
.turf-cost-guide .cost-guide-nav ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.turf-cost-guide .cost-guide-nav li {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
}
.turf-cost-guide .cost-guide-article {
    min-width: 0;
    color: #414a44;
    font-size: 17px;
    line-height: 1.75;
}
.turf-cost-guide .cost-guide-article a,
.turf-cost-guide .cost-guide-nav a {
    color: #245b34;
    text-underline-offset: 3px;
}
.turf-cost-guide .cost-article-section {
    padding: 0 0 28px;
    margin: 0 0 30px;
    border-bottom: 1px solid #e5eae4;
    scroll-margin-top: 110px;
}
.turf-cost-guide .cost-guide-article h2 {
    color: #233e2a;
    font-size: clamp(25px, 2.6vw, 32px);
    line-height: 1.25;
    margin: 0 0 20px;
}
.turf-cost-guide .cost-guide-article h3 {
    color: #2c4533;
    font-size: 21px;
    margin: 28px 0 12px;
    line-height: 1.4;
}
.turf-cost-guide .cost-guide-article p {
    margin: 0 0 18px;
}
.turf-cost-guide .cost-guide-article li {
    margin-bottom: 8px;
}
.turf-cost-guide .cost-table-wrap {
    margin: 26px 0;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid #dce6da;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(25, 55, 32, 0.05);
}
.turf-cost-guide table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
    line-height: 1.5;
}
.turf-cost-guide table caption {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    background: #f0f5ed;
    color: #254b2d;
}
.turf-cost-guide table thead {
    background: #2c5530;
    color: #fff;
}
.turf-cost-guide table th,
.turf-cost-guide table td {
    text-align: left;
    padding: 16px 20px;
    border-bottom: 1px solid #e4eae2;
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: top;
}
.turf-cost-guide #cost-breakdown table th:nth-child(1) { width: 28%; }
.turf-cost-guide #cost-breakdown table th:nth-child(2) { width: 27%; }
.turf-cost-guide #cost-breakdown table th:nth-child(3) { width: 45%; }
.turf-cost-guide table tbody th {
    font-weight: 600;
}
.turf-cost-guide table tbody tr:nth-child(even) {
    background: #f8faf6;
}
.turf-cost-guide table tbody tr:hover {
    background: #eef5ea;
}
.turf-cost-guide .cost-chart {
    padding: 24px;
    margin: 28px 0;
    border: 1px solid #dce6da;
    border-radius: 16px;
    background: #fff;
}
.turf-cost-guide .cost-chart figcaption {
    font-size: 21px;
    font-weight: 700;
    color: #244d30;
}
.turf-cost-guide .cost-chart p {
    font-size: 14px;
}
.turf-cost-guide .cost-chart-legend {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0;
}
.turf-cost-guide .cost-chart-key {
    width: 20px;
    height: 10px;
    background: #4a7c59;
    border-radius: 3px;
    flex-shrink: 0;
}
.turf-cost-guide .cost-chart-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 160px;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
    font-size: 13px;
}
.turf-cost-guide .cost-chart-row strong {
    text-align: right;
}
.turf-cost-guide .cost-chart-track {
    height: 18px;
    border-radius: 6px;
    background: #f0f4ed;
    position: relative;
}
.turf-cost-guide .cost-chart-range {
    position: absolute;
    height: 100%;
    left: var(--start);
    width: var(--width);
    background: linear-gradient(90deg, #719563, #2c5530);
    border-radius: 6px;
    transform-origin: left;
}
.turf-cost-guide .cost-chart.is-animated .cost-chart-range {
    animation: cost-range-enter 0.8s ease-out both;
}
@keyframes cost-range-enter {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.turf-cost-guide .cost-faq {
    border: 1px solid #dfe6dc;
    border-radius: 10px;
    margin-bottom: 12px;
}
.turf-cost-guide .cost-faq summary {
    cursor: pointer;
    font-weight: 600;
    padding: 18px;
    color: #25452d;
    line-height: 1.45;
}
.turf-cost-guide .cost-faq p {
    padding: 0 18px 18px;
    margin: 0;
}
.turf-cost-guide .cost-guide-cta {
    padding: 52px 0;
    background: #f0f5ed;
    text-align: center;
}
.turf-cost-guide .cost-guide-cta p {
    max-width: 720px;
    margin: 16px auto 24px;
    line-height: 1.65;
}
.turf-cost-guide :focus-visible {
    outline: 3px solid #c76b35;
    outline-offset: 4px;
}
@media (max-width: 1180px), (hover: none) and (pointer: coarse) {
    .turf-cost-guide .cost-guide-layout { grid-template-columns: 1fr; gap: 28px; }
    .turf-cost-guide .cost-guide-nav { position: static; max-height: none; }
    .turf-cost-guide .cost-guide-nav ul { columns: 2; }
    .turf-cost-guide .cost-guide-nav li { break-inside: avoid; }
    .turf-cost-guide .cost-guide-article { font-size: 16px; line-height: 1.65; }
    .turf-cost-guide table th,
    .turf-cost-guide table td { padding: 14px; }
}
@media (max-width: 767px) {
    .turf-cost-guide #cost-breakdown table,
    .turf-cost-guide #is-artificial-turf-cheaper-than-natural-grass table {
        min-width: 640px;
    }
    .turf-cost-guide #cost-breakdown .cost-table-wrap::before,
    .turf-cost-guide #is-artificial-turf-cheaper-than-natural-grass .cost-table-wrap::before {
        content: "Swipe horizontally to see all columns";
        display: block;
        position: sticky;
        left: 0;
        padding: 10px 14px;
        color: #395742;
        background: #f0f5ed;
        font-size: 12px;
    }
}
@media (max-width: 600px) {
    .turf-cost-guide .cost-guide-hero { padding: 112px 0 36px; }
    .turf-cost-guide .cost-guide-hero h1 { font-size: clamp(28px, 7.5vw, 36px); }
    .turf-cost-guide .cost-guide-hero p { font-size: 16px; line-height: 1.55; }
    .turf-cost-guide .cost-guide-layout { padding: 28px 16px 32px; }
    .turf-cost-guide .cost-guide-nav { padding: 16px; }
    .turf-cost-guide .cost-guide-nav ul { columns: 1; }
    .turf-cost-guide .cost-guide-article h2 { font-size: 25px; }
    .turf-cost-guide .cost-guide-article h3 { font-size: 20px; }
    .turf-cost-guide .cost-guide-article ul { padding-left: 22px; }
    .turf-cost-guide table { font-size: 14px; }
    .turf-cost-guide table th,
    .turf-cost-guide table td,
    .turf-cost-guide table caption { padding: 12px; }
    .turf-cost-guide .cost-guide-hero .buttons,
    .turf-cost-guide .cost-guide-cta .buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .turf-cost-guide .buttons .btn {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        margin: 0;
        white-space: normal;
    }
    .turf-cost-guide .cost-chart { padding: 18px; }
    .turf-cost-guide .cost-chart-row { grid-template-columns: 1fr 1fr; gap: 5px; }
    .turf-cost-guide .cost-chart-track { grid-column: 1 / -1; grid-row: 2; }
    .turf-cost-guide .cost-chart-row strong { grid-column: 2; grid-row: 1; }
    .turf-cost-guide .cost-faq summary { padding: 16px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .turf-cost-guide .cost-chart.is-animated .cost-chart-range { animation: none; }
}
