﻿:root {
    --navy: #0f2540;
    --navy2: #1c3d5e;
    --gold: #f3a100;
    --gold2: #e69500;
    --bg: #f4f0e8;
    --white: #ffffff;
    --text: #2d2d2d;
    --muted: #777;
}

.chi-tiet-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 12s ease-out;
}

.chi-tiet-hero:hover .hero-bg-img {
    transform: scale(1.0);
}

.hero-top-bar {
    position: relative;
    z-index: 3;
    padding: 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-badge {
    background: var(--gold);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title-wrap {
    padding: 28px 0 40px;
    color: #fff; 
    position: relative; 
    z-index: 3;
}

    .hero-title-wrap h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.2rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 16px;
        text-shadow: 0 3px 20px rgba(0,0,0,0.5);
        letter-spacing: -0.5px;
    }

.hero-short-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 100%;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.info-strip {
    background: var(--navy);
    border-top: 3px solid var(--gold);
}

.info-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}

    .strip-item:last-child {
        border-right: none;
    }

    .strip-item:hover {
        background: rgba(255,255,255,0.04);
    }

.strip-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(243,161,0,0.12);
    border: 1px solid rgba(243,161,0,0.2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.strip-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.strip-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.page-body {
    background: var(--bg);
    padding: 40px 0 80px;
}

.ct-card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    margin-bottom: 22px;
    border: 1px solid rgba(0,0,0,0.04);
}

.ct-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy2);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ct-section-title::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 20px;
        background: var(--gold);
        border-radius: 2px;
        flex-shrink: 0;
    }

    .ct-section-title .count-badge {
        font-family: inherit;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--muted);
        background: var(--bg);
        padding: 2px 10px;
        border-radius: 20px;
        margin-left: auto;
    }

.content-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
}

.map-wrap {
    border-radius: 14px;
    overflow: hidden;
    height: 260px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

    .map-wrap iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.vr-wrap {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

    .vr-wrap iframe {
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

.vr-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

    .vr-badge i {
        color: var(--gold);
    }

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f2ec;
    font-size: 0.85rem;
}

    .info-row:last-of-type {
        border-bottom: none;
    }

.info-row-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(243,161,0,0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.info-row-label {
    font-size: 0.72rem;
    color: var(--muted);
    margin-bottom: 1px;
}

.info-row-val {
    font-weight: 700;
    color: var(--navy2);
}

.note-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.83rem;
    color: #555;
    padding: 6px 0;
}

    .note-row i {
        color: #22c55e;
        flex-shrink: 0;
        margin-top: 2px;
    }

.related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 10px 8px;
    border-radius: 12px;
    transition: background 0.2s;
    margin: 0 -8px;
}

    .related-link:hover {
        background: var(--bg);
    }

    .related-link img {
        width: 64px;
        height: 52px;
        object-fit: cover;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .related-link h6 {
        font-size: 0.84rem;
        color: var(--navy2);
        font-weight: 700;
        margin: 0 0 3px;
        line-height: 1.3;
    }

    .related-link p {
        font-size: 0.73rem;
        color: var(--muted);
        margin: 0;
    }

.lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,12,22,0.96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

    .lb-overlay.open {
        display: flex;
    }

.lb-img-wrap {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.lb-counter {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(255,255,255,0.6);
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}

    .lb-close:hover {
        color: #fff;
    }

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
    text-decoration: none;
}

    .lb-nav:hover {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }

    .lb-nav.lb-prev {
        left: 20px;
    }

    .lb-nav.lb-next {
        right: 20px;
    }

@media (max-width: 991px) {
    .info-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .strip-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 767px) {
    .chi-tiet-hero {
        height: auto;
        min-height: 420px;
        z-index: 1;
        position: relative;
    }

    .hero-top-bar {
        padding-top: 100px;
    }

    .hero-title-wrap h1 {
        font-size: 2rem;
    }

    .info-strip-inner {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

        .gallery-masonry .g-item:first-child {
            grid-column: span 2;
            grid-row: span 1;
        }

    .ct-card {
        padding: 20px;
    }

    .video-thumb-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

.media-tabs {
    display: flex;
    gap: 10px;
    margin-left: auto;
    border-bottom: none;
}

.tab-link {
    padding: 4px 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

    .tab-link.active {
        background: var(--navy2);
        color: #fff;
        border-color: var(--navy2);
    }

.swiper-main {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #111;
    cursor: pointer;
    margin-bottom: 8px;
}

    .swiper-main .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.swiper-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: #fff;
    font-size: 1.8rem;
}

.swiper-main .swiper-slide:hover .swiper-slide-overlay {
    opacity: 1;
}

.swiper-thumbs {
    margin-top: 8px;
}

    .swiper-thumbs .swiper-slide {
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 4/3;
        opacity: 0.55;
        transition: opacity 0.2s;
        cursor: pointer;
        border: 2px solid transparent;
    }

        .swiper-thumbs .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .swiper-thumbs .swiper-slide-thumb-active {
        opacity: 1;
        border-color: var(--gold);
    }

.swiper-button-prev, .swiper-button-next {
    color: #fff !important;
    background: rgba(0,0,0,0.45);
    width: 38px !important;
    height: 38px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

    .swiper-button-prev::after, .swiper-button-next::after {
        font-size: 0.9rem !important;
        font-weight: 900;
    }

.media-empty {
    text-align: center;
    padding: 40px 0;
    color: var(--muted);
}

    .media-empty i {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: block;
        opacity: 0.3;
    }

    .media-empty p {
        font-size: 0.88rem;
    }

.swiper-video .swiper-slide {
    height: auto; 
}

.swiper-video .swiper-button-next,
.swiper-video .swiper-button-prev {
    background: rgba(255,255,255,0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

    .swiper-video .swiper-button-next::after,
    .swiper-video .swiper-button-prev::after {
        font-size: 18px;
        font-weight: bold;
    }