/* =========================================================================
   SINGLE TRANSFER ROUTE ENGINE (CPT: transfer_routes_cpt)
   Architecture: High-Performance Isolated Page Stylesheet
   ========================================================================= */

/* CONTAINER & GENERAL LAYOUT */
.route-engine-container {
    max-width: 1140px;
    margin: 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* HORIZONTAL VEHICLE SHOWCASE CARD STYLES */
.horizontal-vehicles-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 30px;
}

.vehicle-horizontal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.vehicle-horizontal-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 20px -3px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

/* CARD HEADER */
.v-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #f1f5f9;
}

.v-main-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.v-sub-title {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    font-weight: 400;
}

/* CARD BODY FLEX CONTAINER */
.v-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

/* 1. MEDIA COLUMN (~35%) */
.v-col-media {
    flex: 1.2;
    min-width: 260px;
    max-width: 380px;
}

.v-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 200px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.06));
}

.v-img-placeholder {
    background: #f1f5f9;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border-radius: 8px;
    font-weight: 600;
}

/* 2. SPECS LIST COLUMN (~40%) */
.v-col-specs {
    flex: 1.5;
    min-width: 260px;
}

.v-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.v-specs-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
}

.v-specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--premium-slate, #1e293b);
    margin-right: 8px;
}

.spec-value {
    font-weight: 500;
    color: #475569;
}

/* 3. ACTION & PRICE COLUMN (~25%) */
.v-col-action {
    flex: 0.8;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-left: 20px;
    border-left: 1px solid #f8fafc;
}

.v-price-box {
    text-align: left;
}

.v-price-amount {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    letter-spacing: -0.5px;
    line-height: 1;
}

.v-price-error {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
}

.v-btn-book {
    background-color: var(--fogya-red, #cc0e0e);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.15s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(204, 14, 14, 0.25);
}

.v-btn-book:hover {
    background-color: #b00c0c;
    color: #ffffff;
    transform: translateY(-1px);
}

/* DYNAMIC SEO ENGINE LAYOUT STYLES (FALLBACK 3-BLOCK ENGINE) */
.seo-engine-wrapper {
    max-width: 1140px;
    margin: 80px auto 50px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.seo-block {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.seo-block-reverse {
    flex-direction: row-reverse;
}

.seo-media {
    flex: 1;
    min-width: 300px;
}

.seo-content-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    object-fit: cover;
}

.seo-text {
    flex: 1.5;
    min-width: 300px;
    color: #334155;
    font-size: 14px;
    line-height: 1.8;
}

.seo-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.seo-text p {
    margin: 0 0 15px 0;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

.advantage-list li {
    padding-left: 24px;
    position: relative;
}

.check-icon {
    position: absolute;
    left: 0;
    color: var(--fogya-red, #cc0e0e);
    font-weight: bold;
}

/* =========================================================================
   EDITORIAL ZONE & GUTENBERG CUSTOM CARD STYLES (STATE 1 ENGINE)
   ========================================================================= */
.route-editorial-zone {
    margin-top: 50px;
    width: 100%;
}

/* Gutenberg İçeriğini Şık Beyaz Karta Alan Kapsayıcı */
.route-editorial-content,
.route-custom-editorial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 45px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Gutenberg Typography & Hierarchy Adjustments */
.route-editorial-content h1, .route-editorial-content h2, .route-editorial-content h3, .route-editorial-content h4,
.route-custom-editorial-card h1, .route-custom-editorial-card h2, .route-custom-editorial-card h3, .route-custom-editorial-card h4 {
    color: var(--text-main, #0f172a);
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.route-editorial-content h1:first-child, .route-editorial-content h2:first-child, .route-editorial-content h3:first-child,
.route-custom-editorial-card h1:first-child, .route-custom-editorial-card h2:first-child, .route-custom-editorial-card h3:first-child {
    margin-top: 0;
}

.route-editorial-content p,
.route-custom-editorial-card p {
    margin-bottom: 16px;
}

.route-editorial-content p:last-child,
.route-custom-editorial-card p:last-child {
    margin-bottom: 0;
}

.route-editorial-content ul, .route-editorial-content ol,
.route-custom-editorial-card ul, .route-custom-editorial-card ol {
    margin: 16px 0 16px 20px;
    padding: 0;
}

.route-editorial-content li,
.route-custom-editorial-card li {
    margin-bottom: 8px;
}

.route-editorial-content blockquote,
.route-custom-editorial-card blockquote {
    border-left: 4px solid var(--fogya-red, #cc0e0e);
    margin: 20px 0;
    padding: 10px 20px;
    background: #f8fafc;
    font-style: italic;
    color: #475569;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS (FIXED & CLEANED)
   ========================================================================= */
@media (max-width: 900px) {
    .v-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .v-col-media, 
    .v-col-specs, 
    .v-col-action {
        width: 100%;
        max-width: 100%;
    }

    .v-col-action {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f1f5f9;
        border-left: none;
        padding-top: 15px;
        padding-left: 0;
        margin-top: 5px;
    }

    .v-price-box {
        text-align: left;
    }

    .v-price-amount {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .seo-block {
        margin-bottom: 40px;
        gap: 20px;
    }

    .seo-text h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .advantage-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .route-editorial-content,
    .route-custom-editorial-card {
        padding: 24px 20px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .vehicle-horizontal-card {
        padding: 16px;
    }

    .v-price-amount {
        font-size: 20px;
        white-space: nowrap;
    }

    .v-btn-book {
        padding: 9px 14px;
        font-size: 11px;
        white-space: nowrap;
        letter-spacing: 0;
    }
}





/* =========================================================================
   GUTENBERG CORE BLOCKS OVERRIDES (Media & Text / Columns Integration)
   ========================================================================= */

/* 1. Ortam ve Metin (Media & Text) Bloğu */
.route-custom-editorial-card .wp-block-media-text {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 35px;
    align-items: center;
    margin: 35px 0;
}

.route-custom-editorial-card .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr 45%;
}

.route-custom-editorial-card .wp-block-media-text__media img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.route-custom-editorial-card .wp-block-media-text__content {
    padding: 0;
}

/* 2. Sütunlar (Columns) Bloğu */
.route-custom-editorial-card .wp-block-columns {
    display: flex;
    gap: 30px;
    margin: 35px 0;
}

.route-custom-editorial-card .wp-block-column {
    flex: 1;
}

/* Mobil Duyarlılık (Responsive) */
@media (max-width: 768px) {
    .route-custom-editorial-card .wp-block-media-text,
    .route-custom-editorial-card .wp-block-media-text.has-media-on-the-right,
    .route-custom-editorial-card .wp-block-columns {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
        gap: 20px;
    }
    
    .route-custom-editorial-card .wp-block-media-text__media img {
        height: 200px;
    }
}