/* ── หน้าเส้นทางเดินทาง (route-info) — ยกมาจาก route_info.php ของเว็บเดิมแบบตรงตัว ── */

    .card-carrier {
        border: solid 1px #ccc;
        border-radius: 0.25rem;
    }

    .card-carrier:hover {
        background-color: #eee;
        cursor: pointer;
    }

    .tracking-item {
        border-left: 1px solid #e5e5e5;
        position: relative;
        padding: 0 1.5rem 0.5rem 2.5rem;
        font-size: .9rem;
        margin-left: 3rem;
        min-height: 3rem;
    }

    .tracking-item .tracking-icon.status-intransit {
        border: 1px solid #17b5b3;
        font-size: .6rem;
    }

    .tracking-item .tracking-icon {
        line-height: 2.6rem;
        position: absolute;
        left: -0.5rem;
        width: 1rem;
        height: 1rem;
        text-align: center;
        border-radius: 50%;
        font-size: 1.1rem;
        background-color: #fff;
        color: #fff;
    }

    #searchform {
        width: 100%;
        max-width: 1000px;
    }

    @media (max-width: 1200px) {
        #searchform {
            height: 330px;
        }
    }

    @media (max-width: 1007px) {
        #searchform {
            height: 430px;
        }
    }

    @media (max-width: 600px) {
        #searchform {
            height: 730px;
        }
    }

    .map iframe {
        width: 100%;
        height: 350px;
    }

    .station-link a {
        color: #ff6700 !important;
    }

    .station ul li {
        list-style: disc !important;
        color: #000 !important;
    }

    .content a {
        color: #ff6700 !important;
        font-weight: 600;
    }

    .content ul li {
        list-style: disc !important;
    }

    .content img {
        max-width: 100%;
        height: auto;
    }

    @media (max-width: 900px) {
        .content img {
            width: 100% !important;
            height: unset !important;
        }
    }

    @media (max-width: 700px) {

        .bg-form-search {
            background-color: #f6f6f6;
            margin-bottom: 20px;
        }
    }

    .article-route {
        font-size: 16px;
        line-height: 28px;
        color: #333;
    }

    .article-route .title {
        font-weight: bold;
        font-size: 20px;
    }

    .article-route .article .image-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .article-route .article .image-header img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    @media (max-width: 768px) {
        .article-route .article .image-header {
            grid-template-columns: 1fr;
        }

        .article-route .article .image-header img {
            height: auto;
        }
    }

    .article-route .article h2 {
        font-size: 16px;
        font-weight: bold;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .article-route .article h3 {
        font-size: 16px;
        font-weight: bold;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .article-route .article p {
        margin-bottom: 15px;
        font-size: 14px;
    }

    .article-route .article ul,
    .article-route .article ol {
        margin-left: 20px;
        margin-bottom: 15px;
    }

    .article-route .article a {
        color: #ff6500;
        font-weight: 600;
        margin: 0 5px;
        text-decoration: none;
    }

    .article-route .article a:hover {
        text-decoration: underline;
    }

    .article-route .article strong {
        margin: 0 5px;
    }

    .article-route .article .cta {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .article-route .article .cta a {
        background-color: #ff6700;
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .article-route .article .cta a:hover {
        background-color: #e65c00;
        color: #fff;
        text-decoration: none;
    }

    .article-route .card-route-map {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .article-route .card-route-map .map-iframe iframe {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .article-route .card-route-map .card-footer {
        background-color: #f8f9fa;
    }

    .article-route .card-route-map .card-footer table {
        font-size: 14px;
    }

    .article-route .card-route-map .card-footer table td {
        padding: 8px;
        line-height: 1.8;
    }

    .article-route .card-route-map .card-footer table td:first-child {
        width: 40%;
    }

    .article-route .card-route-map .card-footer table tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .btn-search {
        font-size: 18px !important;
    }

    /* แถบหัวเรื่องมีภาพพื้นหลัง — จัดระยะ p-t-title ของหน้านี้โดยเฉพาะ */
        @media only screen and (min-width: 576px) {
            .p-t-title {
                padding-top: 40px;
                padding-bottom: 40px;
            }
        }

        @media only screen and (max-width: 576px) {
            .p-t-title {
                padding-top: 30px;
                padding-bottom: 30px;
            }
        }

        .overlay-shadow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1;
        }

/* ── โครงหน้า — เดิมเป็น inline style บนมาร์กอัป ─────────────────────────────
   .page-route-info        = <div class="pt-3" style="padding-top:50px!important;background:#fff">
   .route-info-head        = <div class="bg-head" style="position:relative;background-size:cover;background-position-y:51%">
   .route-info-breadcrumb  = <div class="container text-right" style="max-width:1240px;position:relative;z-index:10">
   .route-info-hero        = <div class="container text-center" style="max-width:980px;position:relative;z-index:10">
   .route-info-title       = <h1 class="text-title" style="line-height:1.6">
   .route-info-row         = <div class="row pt-5 pb-4" style="min-height:500px">                */
.page-route-info {
    padding-top: 50px;
    background-color: #fff;
}

.route-info-head {
    position: relative;
    background-size: cover;
    background-position-y: 51%;
}

.route-info-breadcrumb {
    max-width: 1240px;
    position: relative;
    z-index: 10;
    color: #fff;
}

.route-info-breadcrumb a {
    color: #ff6701;
}

.route-info-hero {
    max-width: 980px;
    position: relative;
    z-index: 10;
}

.route-info-title {
    line-height: 1.6;
}

.route-info-row {
    min-height: 500px;
}

/* iframe แผนที่เป็น inline element จึงมีช่องว่างใต้ baseline โผล่มา 9px
   (เว็บเดิมใช้ doctype XHTML ที่ไม่นับ strut — ดูกับดักข้อ 13 ใน WORKLOG) */
.map-iframe iframe {
    display: block;
}
