.vn-train-station-page {
    --station-brand: #0f766e;
    --station-brand-dark: #115e59;
    --station-heading: #173f46;
    --station-text: #1f3842;
    --station-muted: #5f7480;
    --station-border: #d7e3ea;
    --station-soft: #f8fbfd;
    --station-tint: #eaf7f5;
    --station-warning: #fff8e7;
    --station-warning-border: #d5a62e;
}

.vn-train-station-page .entry-content {
    color: var(--station-text);
    font-size: 17px;
    line-height: 1.72;
}

.vn-train-station-page .vn-station-overview {
    background: linear-gradient(135deg, var(--station-tint), #f8fbfd 72%);
    border: 1px solid #c8dedc;
    border-left: 5px solid var(--station-brand);
    border-radius: 16px;
    margin: 0 0 34px;
    padding: clamp(18px, 3vw, 26px);
}

.vn-train-station-page .vn-station-overview p {
    font-size: 18px;
    margin: 0;
}

.vn-train-station-page .vn-station-section,
.vn-train-station-page .vn-station-route-card {
    margin: 38px 0;
}

.vn-train-station-page .vn-station-section > h2,
.vn-train-station-page .vn-station-route-card > h2 {
    border-bottom: 1px solid var(--station-border);
    color: var(--station-heading);
    font-size: clamp(22px, 3vw, 29px);
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin: 0 0 20px;
    padding: 0 0 12px;
    position: relative;
}

.vn-train-station-page .vn-station-section > h2::after,
.vn-train-station-page .vn-station-route-card > h2::after {
    background: var(--station-brand);
    bottom: -1px;
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    width: 72px;
}

.vn-train-station-page .vn-station-facts .vn-train-table-wrap {
    border: 1px solid var(--station-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(23, 63, 70, 0.07);
    overflow: hidden;
}

.vn-train-station-page .vn-train-station-facts {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    min-width: 0;
    width: 100%;
}

.vn-train-station-page .entry-content .vn-train-station-facts th,
.vn-train-station-page .entry-content .vn-train-station-facts th:first-child {
    background: var(--station-brand);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    position: static;
    width: 30%;
}

.vn-train-station-page .entry-content .vn-train-station-facts td,
.vn-train-station-page .entry-content .vn-train-station-facts td:first-child {
    background: #fff;
    color: var(--station-text);
    font-weight: 500;
    position: static;
}

.vn-train-station-page .vn-station-map .vn-train-station-map {
    background: var(--station-soft);
    border: 1px solid var(--station-border);
    border-radius: 16px;
    margin: 0;
    overflow: hidden;
    padding: 8px;
}

.vn-train-station-page .vn-station-map iframe {
    aspect-ratio: 16 / 9;
    border-radius: 11px;
    height: auto;
    width: 100%;
}

.vn-train-station-page .vn-station-route-summary {
    background: var(--station-soft);
    border: 1px solid var(--station-border);
    border-radius: 16px;
    padding: clamp(18px, 3vw, 26px);
}

.vn-train-station-page .vn-station-route-summary > p:last-child {
    color: var(--station-muted);
    margin-bottom: 0;
}

.vn-train-station-page .vn-station-route-card {
    background: #fff;
    border: 1px solid var(--station-border);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(23, 63, 70, 0.08);
    padding: clamp(18px, 3vw, 28px);
}

.vn-train-station-page .vn-station-data-note {
    background: var(--station-warning);
    border-left: 4px solid var(--station-warning-border);
    border-radius: 0 10px 10px 0;
    color: #614b17;
    margin: 0 0 22px;
    padding: 12px 15px;
}

.vn-train-station-page .vn-station-route-card .vn-train-schedule,
.vn-train-station-page .vn-station-route-card .vn-train-price {
    margin: 22px 0 0;
}

.vn-train-station-page .vn-station-route-card .vn-train-schedule > h3,
.vn-train-station-page .vn-station-route-card .vn-train-price-heading-row h3 {
    color: var(--station-heading);
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.vn-train-station-page .vn-station-route-card .vn-train-table-wrap,
.vn-train-station-page .vn-station-route-card .vn-train-price-matrix-wrapper {
    border: 1px solid var(--station-border);
    border-radius: 13px;
    overflow-x: auto;
}

.vn-train-station-page .entry-content .vn-station-route-card .vn-train-table thead th,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-table thead th:first-child,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table thead th,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table thead th:first-child {
    background: var(--station-brand);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    font-weight: 800;
}

.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table thead th a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.65);
}

.vn-train-station-page .entry-content .vn-station-route-card .vn-train-table tbody td:first-child {
    background: var(--station-tint);
    color: var(--station-brand-dark);
}

.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table tbody th,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table tbody th:first-child,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table tbody th span,
.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table tbody th small {
    background: var(--station-tint);
    color: var(--station-heading);
}

.vn-train-station-page .entry-content .vn-station-route-card .vn-train-price-table td {
    color: #a62b32;
}

.vn-train-station-page .vn-station-route-card .vn-train-price {
    background: var(--station-soft);
    border: 1px solid var(--station-border);
    border-radius: 15px;
    box-shadow: none;
    padding: 20px;
}

.vn-train-station-page .vn-train-other-date-form input[type="date"],
.vn-train-station-page .vn-train-price-search input,
.vn-train-station-page .vn-train-price-search select {
    border-color: var(--station-border);
    border-radius: 10px;
}

.vn-train-station-page .vn-train-other-date-form input[type="date"]:focus,
.vn-train-station-page .vn-train-price-search input:focus,
.vn-train-station-page .vn-train-price-search select:focus {
    border-color: var(--station-brand);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
    outline: 0;
}

.vn-train-station-page .vn-train-other-date-form button,
.vn-train-station-page .vn-train-price-search-submit button {
    background: var(--station-brand);
    color: #fff;
}

.vn-train-station-page .vn-train-other-date-form button:hover,
.vn-train-station-page .vn-train-price-search-submit button:hover {
    background: var(--station-brand-dark);
    color: #fff;
}

.vn-train-station-page .vn-station-weather .vn-train-weather,
.vn-train-station-page .vn-station-search .vn-train-price-search-form {
    background: linear-gradient(180deg, #fff, var(--station-soft));
    border: 1px solid var(--station-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(23, 63, 70, 0.06);
    padding: clamp(18px, 3vw, 24px);
}

.vn-train-station-page .vn-station-weather .vn-train-weather ul,
.vn-train-station-page .vn-station-contact ul,
.vn-train-station-page .vn-station-related ul {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.vn-train-station-page .vn-station-weather .vn-train-weather li,
.vn-train-station-page .vn-station-contact li,
.vn-train-station-page .vn-station-related li {
    background: var(--station-soft);
    border: 1px solid var(--station-border);
    border-radius: 11px;
    padding: 11px 13px;
}

.vn-train-station-page .vn-station-contact a,
.vn-train-station-page .vn-station-related a,
.vn-train-station-page .vn-station-faq a {
    color: var(--station-brand-dark);
    font-weight: 700;
}

.vn-train-station-page .vn-station-search .vn-train-price-search {
    margin: 0;
}

.vn-train-station-page .vn-station-search .vn-train-price-search-form {
    border-top: 4px solid var(--station-brand);
    box-shadow: 0 14px 36px rgba(23, 63, 70, 0.08);
}

.vn-train-station-page .vn-station-related li {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.vn-train-station-page .vn-station-faq h3 {
    background: var(--station-tint);
    border-left: 4px solid var(--station-brand);
    border-radius: 0 10px 10px 0;
    color: var(--station-heading);
    font-size: 18px;
    line-height: 1.4;
    margin: 22px 0 10px;
    padding: 11px 14px;
}

.vn-train-station-page .vn-station-faq h3 + p {
    margin-left: 18px;
}

@media (max-width: 760px) {
    .vn-train-station-page .entry-content {
        font-size: 16px;
    }

    .vn-train-station-page .vn-station-overview p {
        font-size: 16px;
    }

    .vn-train-station-page .vn-station-section,
    .vn-train-station-page .vn-station-route-card {
        margin: 28px 0;
    }

    .vn-train-station-page .vn-station-route-card {
        border-radius: 14px;
        padding: 16px;
    }

    .vn-train-station-page .vn-train-station-facts th,
    .vn-train-station-page .vn-train-station-facts td {
        padding: 10px;
    }

    .vn-train-station-page .entry-content .vn-train-station-facts th {
        width: 38%;
    }

    .vn-train-station-page .vn-station-weather .vn-train-weather ul,
    .vn-train-station-page .vn-station-contact ul,
    .vn-train-station-page .vn-station-related ul {
        grid-template-columns: 1fr;
    }

    .vn-train-station-page .vn-station-route-card .vn-train-price {
        padding: 14px;
    }

    .vn-train-station-page .vn-station-faq h3 + p {
        margin-left: 0;
    }
}
