/* Homepage styles aligned with httpdocs/index.php */
.home-banner-image-block {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.home-banner-image-block > img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}
.banner-slider {
    margin-bottom: 0;
}

    /* Global Variables */
    :root {
        --primary-color: #4285F4;
        --secondary-color: #FFD1DC;
        --background-light: #f9fafb;
        --text-dark: #111827;
        --text-light: #6b7280;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    }

    .info-map {
        font-size: 1.3rem;
        padding-bottom: 0.8rem;
        font-family: 'UTM Avo', sans-serif !important;
    }

    .info-map p,
    .info-map span {
        font-family: 'UTM Avo', sans-serif !important;
    }

    .info-map .fas,
    .info-map .far {
        font-family: "Font Awesome 6 Free" !important;
        font-weight: 900;
    }

    .banner-wrapper {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .banner-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    .home-banner-image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        padding: 0 10%;
    }

    .home_banner_image_title {
        font-family: 'SVN-Bon Voyage', 'SVN-BonVoyage-Regular', serif;
        color: #fff;
        font-size: 2rem;
        font-weight: 400;
        margin: 0;
        line-height: 1.3;
        word-break: break-word;
        letter-spacing: 0.02em;
    }


    .banner-carousel-section {
        position: relative;
        overflow: hidden;
        margin-top: 4rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        background-color: #f5f5f5;
    }

    /* Carousel container */
    .banner-carousel {
        display: flex;
        animation: slideBanners 8s infinite;
    }
/* 
    .banner-carousel.static-banner {
        animation: none;
    } */

    /* Slide wrapper */
    .banner-slide {
        min-width: 100%;
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        max-height: 800px;
        height: 620px;
        background-color: #FEE9D1;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    /* Banner image */
    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        border-radius: 16px;
    }

    /* Caption */
    .banner-caption {
        position: absolute;
        bottom: 20px;
        left: 30px;
        z-index: 2;
        color: white;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        max-width: 60%;
    }

    /* Caption title */
    .banner-caption h2 {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    /* Caption text */
    .banner-caption p {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    /* Responsive cho mobile */
    @media (max-width: 768px) {
        .banner-carousel-section {
            margin-top: 0;
        }

        .banner-slide {
            height: clamp(240px, 52svh, 400px);
            max-height: clamp(240px, 52svh, 400px);
        }

        .banner-caption {
            bottom: 15px;
            left: 20px;
            max-width: 90%;
        }

        .banner-caption h2 {
            font-size: 1.25rem;
        }

        .banner-caption p {
            font-size: 0.95rem;
        }

        .home_banner_image_title {
            font-size: 1.5rem;
        }

        .home-banner-image-overlay {
            padding: 0 2rem;
        }

        .banner-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
        }

    }

    /* Simple animation (can be replaced with JS later) */
    @keyframes slideBanners {
        /* 
        0% {
            transform: translateX(0);
        }

        50% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(-200%);
        }
         */

        0%,
        33% {
            transform: translateX(0);
        }

        34%,
        66% {
            transform: translateX(-100%);
        }

        67%,
        100% {
            transform: translateX(-200%);
        }
    }

    /* Base Styles */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: SVN-Bon Voyage;
        line-height: 1.6;
        color: var(--text-dark);
    }

    /* Common Elements */
    .section-title {
        font-size: 2.25rem;
        font-weight: 800;
        text-align: center;
        margin-bottom: 1rem;
    }

    .section-title11 {
        font-size: 2.25rem;
        font-weight: 800;
        text-align: center;
        margin-bottom: 1rem;
        color: black;
    }

    .section-subtitle {
        font-size: 1.125rem;
        color: var(--text-light);
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        padding: 0.75rem 1.5rem;
        border-radius: 9999px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .btn-primary {
        /* background-color: #B17A53; */
        background-color: #e43a12;
        color: white;
    }

    .btn-primary:hover {
        /* background-color: rgb(146, 97, 62); */
        background-color: rgb(236, 97, 66);
        transform: translateY(-2px);
    }

    .btn-secondary {
        background-color: transparent;
        border: 2px solid white;
        color: white;
    }

    .btn-secondary:hover {
        background-color: white;
        color: var(--primary-color);
    }

    /* Hero Section */
    .hero-section {
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
    }

    .hero-background {
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-fallback {
        width: 100%;
        height: 100%;
        background: url('images/hero-fallback.jpg') center/cover no-repeat;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: FBF3EA;
    }

    .hero-content {
        text-align: center;
        color: white;
        position: relative;
        z-index: 1;
    }

    .hero-title {
        font-size: 3.5rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }

    /* Search Section */
    .search-section {
        background: white;
        padding: 2.5rem 0;
        margin-top: -4rem;
        position: relative;
        z-index: 10;
        margin-bottom: 2rem;
    }

    .search-form {
        background: white;
        border-radius: 1rem;
        box-shadow: var(--shadow);
        padding: 2rem 2rem;
        /* 2rem trên dưới, 2rem trái phải */
    }

    .search-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        align-items: center;
    }

    .search-field {
        position: relative;
    }

    .search-field i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary-color);
    }

    .search-field input,
    .search-field select {
        width: 100%;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        border: 1px solid #e5e7eb;
        border-radius: 0.5rem;
        font-size: 1rem;
    }

    .search-field input:focus,
    .search-field select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.1);
    }

    /* Events Section */
    .events-section {
        padding: 6rem 0;
        background: #f4f1e8;
        /* Beige background like in the image */
        margin-bottom: 2rem;
    }

    .date-time-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        font-size: 1.5rem;
        font-family: 'UTM Avo';

    }

    .featured-event-card {
        background: #ffffff;
        /* Pure white background */
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        display: flex;
        position: relative;
        min-height: 280px;
        border: 1px solid #e8e5df;
    }

    .featured-event-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }

    .event-date-badge {
        position: absolute;
        top: 24px;
        left: 24px;
        background: #a67c52;
        /* Brown background */
        color: #ffffff;
        padding: 12px 16px;
        border-radius: 8px;
        z-index: 10;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        font-family: 'UTM Avo';
    }

    .date-day {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1;
    }

    .date-time {
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1;
    }

    .event-image-section {
        flex: 0 0 380px;
        /* Fixed width like in the image */
        position: relative;
        overflow: hidden;
    }

    .event-image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .featured-event-card:hover .event-image-section img {
        transform: scale(1.02);
    }

    .event-content-section {
        flex: 1;
        padding: 3.5rem 3rem 3rem 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #ffffff;
    }

    .featured-event-title {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2d2d2d;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        letter-spacing: -0.01em;
        text-transform: uppercase;
    }

    .featured-event-subtitle {
        font-size: 1rem;
        font-weight: 600;
        color: #a67c52;
        margin-bottom: 1.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .featured-event-description {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #5a5a5a;
        margin-bottom: 2.5rem;
        text-align: left;
        max-width: 90%;
    }

    .featured-btn {
        background: #a67c52;
        color: #ffffff;
        padding: 12px 24px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        align-self: flex-start;
        transition: all 0.3s ease;
        border: 2px solid #a67c52;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .featured-btn:hover {
        background: #8b6952;
        border-color: #8b6952;
        transform: translateX(3px);
    }

    /* Responsive Design */
    @media (max-width: 968px) {

        .btn {
            padding: 0.65rem 1.3rem;
            font-size: 0.95rem;
        }

        .featured-event-card {
            flex-direction: column;
            min-height: auto;
        }

        .event-image-section {
            flex: none;
            height: 240px;
            width: 100%;
        }

        .event-content-section {
            padding: 2.5rem 2rem 2rem 2rem;
        }

        .featured-event-title {
            font-size: 1.6rem;
        }

        .featured-event-subtitle {
            font-size: 0.9rem;
        }

        .event-date-badge {
            top: 20px;
            left: 20px;
            padding: 10px 14px;
        }

        .date-day {
            font-size: 0.8rem;
        }

        .date-time {
            font-size: 1rem;
        }
    }

    /* style for events */
    .artical-item {
        display: grid;
        grid-template-columns: 50% 50%;
        margin-bottom: 30px;
        gap: 1rem;
        align-items: center;
    }

    .artical-info {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 1.5rem;
        align-items: center;
    }

    .artical-date,
    .artical-time {
        color: #B17A53;
        font-size: x-large;
        font-weight: bold;
        text-align: end;
    }

    .artical-img-container {
        position: relative;
        place-self: center;
        width: 100%;
        max-width: 100%;
    }

    .artical-img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
        max-height: none;
    }

    .artical-img:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }

    .artical-detail-container {
        padding-left: 20px;
        padding-bottom: 10px;
        place-self: end;
        width: 100%;
        overflow: hidden;
    }

    .artical-title {
        font-family: SVN-Bon Voyage;
        color: black;
        font-weight: lighter;
        text-transform: uppercase;
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .artical-artist {
        color: black;
        font-weight: lighter;
        font-size: 1.5rem;
        text-transform: uppercase;
        font-style: italic;
        margin-bottom: 0.5rem;
        font-family: 'UTM Avo', sans-serif !important;
    }

    .artical-disc {
        margin-bottom: 1rem;
        line-height: 1.4;
        font-family: 'UTM Avo';
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .artical-disc p {
        text-align: justify;
    }

    .artical-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-decoration: none;
        background-color: #e43a12;
        color: #fff !important;
        margin-top: 10px;
        padding: 10px 50px;
        border: none;
        border-radius: 5px;
        box-sizing: border-box;
        font-family: 'UTM Avo', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: background-color 0.2s ease;
    }

    .artical-btn:hover,
    .artical-btn:focus {
        background-color: #c93210;
        color: #fff !important;
        text-decoration: none;
    }

    .event-section-inner {
        margin-left: 8rem;
        margin-right: 8rem;
    }

    .event-date-time-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: end;
        padding: 20px 30px;
        height: 100%;
    }

    .event-separator {
        border: 1px solid #B17A53;
        width: 100%;
        /* Đảm bảo không bị co */
        margin: 10px 0;
    }

    /* ===== COMPREHENSIVE RESPONSIVE DESIGN FOR FEATURED EVENTS ===== */

    /* Ultra Wide Screens (≥1600px) */
    @media (min-width: 1600px) {
        .event-section-inner {
            margin-left: 15rem;
            margin-right: 15rem;
        }

        .artical-item {
            grid-template-columns: 40% 60%;
            gap: 2rem;
            align-items: center;
        }

        .artical-info {
            gap: 2.5rem;
            align-items: center;
        }

        .artical-img-container {
            max-width: 30rem;
            place-self: center;
        }

        .artical-img {
            max-width: 30rem;
            height: 35rem;
        }

        .artical-title {
            font-size: 2.5em;
        }

        .artical-artist {
            font-size: 1.8rem;
        }

        .event-date-time-container {
            padding: 30px 40px;
        }

        .artical-detail-container {
            padding-left: 25px;
            place-self: end;
        }
    }

    /* Large Desktop (≥1400px) */
    @media (min-width: 1400px) and (max-width: 1599px) {
        .event-section-inner {
            margin-left: 12rem;
            margin-right: 12rem;
        }

        .artical-item {
            gap: 1.5rem;
            align-items: center;
        }

        .artical-info {
            gap: 2rem;
            align-items: center;
        }

        .artical-img-container {
            max-width: 28rem;
            place-self: center;
        }

        .artical-img {
            max-width: 28rem;
            height: 32rem;
        }

        .artical-title {
            font-size: 2.5rem;
        }

        .artical-detail-container {
            place-self: end;
            padding-left: 25px;
        }

        .event-date-time-container {
            padding: 25px 35px;
        }
    }

    /* Desktop Medium (1200px-1399px) */
    @media (max-width: 1399px) and (min-width: 1200px) {
        .event-section-inner {
            margin-left: 10rem;
            margin-right: 10rem;
        }

        .artical-item {
            gap: 1.3rem;
            align-items: center;
        }

        .artical-info {
            gap: 1.8rem;
            align-items: center;
        }

        .artical-img-container {
            max-width: 26rem;
            place-self: center;
        }

        .artical-img {
            max-width: 26rem;
            height: 31rem;
        }

        .artical-title {
            font-size: 2.3rem;
        }

        .artical-detail-container {
            place-self: end;
        }

        .event-date-time-container {
            padding: 22px 32px;
        }
    }

    /* Desktop Small to Medium (1025px-1199px) */
    @media (max-width: 1199px) and (min-width: 1025px) {
        .event-section-inner {
            margin-left: 6rem;
            margin-right: 6rem;
        }

        .artical-item {
            grid-template-columns: 40% 60%;
            gap: 1.2rem;
            align-items: center;
        }

        .artical-info {
            grid-template-columns: 45% 55%;
            gap: 1.5rem;
            align-items: center;
        }

        .artical-img-container {
            max-width: 22rem;
            place-self: center;
        }

        .artical-img {
            max-width: 22rem;
            height: 26rem;
        }

        .artical-title {
            font-size: 2.2rem;
        }

        .event-date-time-container {
            padding: 18px 25px;
        }

        .artical-detail-container {
            padding-left: 15px;
            place-self: end;
        }
    }

    /* Tablet Landscape & Small Desktop (769px-1024px) */
    @media (max-width: 1024px) and (min-width: 769px) {
        .events-section {
            padding: 5rem 0;
        }

        .event-section-inner {
            margin-left: 3rem;
            margin-right: 3rem;
        }

        .artical-item {
            grid-template-columns: 40% 60%;
            margin-bottom: 25px;
            gap: 1rem;
            align-items: center;
        }

        .artical-info {
            grid-template-columns: 50% 50%;
            gap: 1.2rem;
            align-items: center;
        }

        .artical-img-container {
            max-width: 18rem;
            place-self: center;
        }

        .artical-img {
            max-width: 18rem;
            height: 22rem;
        }

        .artical-title {
            font-size: 1.8rem;
        }

        .artical-artist {
            font-size: 1.2rem;
        }

        .artical-date,
        .artical-time {
            font-size: large;
        }

        .event-date-time-container {
            padding: 15px 20px;
        }

        .artical-detail-container {
            padding-left: 12px;
            place-self: end;
        }

        .artical-btn {
            padding: 8px 35px;
            font-size: 0.9rem;
        }
    }

    /* Mobile Large & Tablet Portrait (481px-768px) */
    @media (max-width: 768px) and (min-width: 481px) {
        .btn {
            padding: 0.6rem 1.1rem;
            font-size: 0.9rem;
        }

        .events-section {
            padding: 4rem 0;
        }

        .event-section-inner {
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .artical-item {
            grid-template-columns: 40% 60%;
            margin-bottom: 20px;
            gap: 0.8rem;
            align-items: center;
        }

        .artical-info {
            display: grid;
            grid-template-rows: auto auto;
            grid-template-columns: unset;
            gap: 1rem;
        }

        .artical-img-container {
            place-self: center;

        }

        .artical-img {
            width: 100%;
            height: 100%
        }

        .artical-title {
            font-size: 1.5rem;
            line-height: 1.2;
        }

        .artical-artist {
            font-size: 0.9rem;
        }

        .artical-date,
        .artical-time {
            font-size: medium;
            color: #B17A53;
            font-weight: bold;
            text-align: end;
        }

        .event-date-time-container {
            padding: 12px 15px;
        }

        .artical-detail-container {
            padding-left: 8px;
            place-self: end;
        }

        .artical-btn {
            padding: 8px 20px;
            font-size: 0.8rem;
        }

        .artical-disc {
            font-size: 0.78rem;
            line-height: 1.35;
        }
    }

    .event-countdown {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .countdown-item {
        background-color: #e63946;
        color: #ffffff;
        width: 80px;
        height: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s ease;
    }

    /* Legacy event card styles for other sections */
    .event-card {
        background: white;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .event-card:hover {
        transform: translateY(-0.5rem);
        box-shadow: var(--shadow-hover);
    }

    .event-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .event-details {
        padding: 1.5rem;
    }

    .event-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .event-artists {
        color: var(--primary-color);
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .event-description {
        color: var(--text-light);
        margin-bottom: 1.5rem;
    }

    .event-meta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
        color: var(--text-light);
    }

    .event-meta i {
        margin-right: 0.5rem;
        color: var(--primary-color);
    }

    /* Why Us Section */
    .why-us-section {
        padding: 6rem 0;
        margin-bottom: 2rem;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2.5rem;
        color: black;
    }

    .feature-item {
        text-align: center;
        padding: 2rem;
        background: white;
        border-radius: 1rem;
        box-shadow: var(--shadow);
        transition: all 0.3s ease;
    }

    .feature-item:hover {
        transform: translateY(-0.5rem);
    }

    .feature-item i {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .feature-item h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    /* Experience Section */
    .experience-section {
        padding: 6rem 0;
        background: var(--background-light);
        margin-bottom: 2rem;
    }

    .tabs {
        margin-top: 2rem;
    }

    /* Container chung cho tab content */
    .tab-content {
        padding: 1.5rem;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        font-family: 'UTM Avo';
        transition: all 0.3s ease;
        max-width: 100%;
    }

    /* Các đoạn mô tả bên trong tab */
    .tab-content p,
    .tab-content .tab-description {
        font-size: 1rem;
        line-height: 1.6;
        color: #444;
        margin: 0.75rem 0;
    }

    /* Responsive chỉnh cỡ chữ và padding khi màn hình nhỏ */
    @media screen and (max-width: 768px) {
        .tab-content {
            padding: 1rem;
        }

        .tab-content p,
        .tab-content .tab-description {
            font-size: 0.95rem;
            line-height: 1.5;
        }
    }

    @media screen and (max-width: 480px) {
        .btn {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
            width: 100%;
            /* optional: full-width on mobile */
            justify-content: center;
        }

        .banner-slider {
            margin-bottom: 20px;
        }

        .tab-content {
            padding: 0.75rem;
            border-radius: 8px;
        }

        .tab-content p,
        .tab-content .tab-description {
            font-size: 0.9rem;
        }

        .home_banner_image_title {
            font-size: 1.2rem;
            padding: 0 1rem;
        }

        .home-banner-image-overlay {
            padding: 0 1rem;
        }
    }

    .tab-nav {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 0.75rem 1.5rem;
        border: 2px solid var(--primary-color);
        border-radius: 9999px;
        background: none;
        color: var(--primary-color);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .tab-button:hover,
    .tab-button.active {
        background: var(--primary-color);
        color: white;
    }

    .tab-panel {
        display: none;
    }

    .tab-panel.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

    .tab-inner {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .tab-image {
        flex: 1;
        border-radius: 1rem;
        overflow: hidden;
    }

    .tab-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .image-placeholder {
        height: 300px;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 3rem;
    }

    .tab-text {
        flex: 1;
    }

    .tab-text h3 {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #0a3d8a;
    }

    /* Past Events Section */
    .past-events-section {
        padding: 6rem 0;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        border-radius: 0.5rem;
        overflow: hidden;
        display: block;
    }

    .gallery-item img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .gallery-cta {
        text-align: center;
        margin-top: 2rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: 6rem 0;
        background: var(--background-light);
        margin-bottom: 2rem;
    }

    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        margin-bottom: 1.5rem;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: var(--shadow);
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        background: white;
        cursor: pointer;
        color: black;
    }

    .faq-question h3 {
        font-size: 1.125rem;
        font-weight: 600;
    }

    .faq-question i {
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }

    .faq-item.active i {
        transform: rotate(180deg);
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: white;
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        max-height: 200px;
        padding: 1rem 1.5rem;
    }

    /* Countdown Styles */
    .countdown-timer {
        display: flex;
        gap: 1rem;
        margin: 2rem
    }

    /* Từng item (ngày, giờ, phút...) */
    .countdown-item {
        text-align: center;
        padding: 0.5rem;
        border-radius: 8px;
        background-color: rgb(255, 0, 85);
        /* Hồng nhạt (nhẹ nhàng) */
        color: #d63384;
        /* Hồng đậm nhẹ, dễ đọc */
        font-weight: 600;
        min-width: 60px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease;
    }

    .countdown-item:hover {
        transform: scale(1.05);
        /* Hiệu ứng hover nhẹ */
    }


    /* Giá trị số (ví dụ: 03, 45, 12) */
    .countdown-value {
        font-size: 1.25rem;
        font-weight: 700;
        color: #4a63e7;
        /* Màu xanh lam dễ chịu hơn var(--primary-color) */
    }

    /* Label (days, hours...) */
    .countdown-label {
        font-size: 0.875rem;
        color: rgb(218, 238, 255);
        /* Xám trung tính để dễ đọc hơn */
    }

    /* Badge "Happening Now!" */
    .countdown-happening {
        background: #f8d7da;
        /* Hồng nhạt (rất gần với ảnh bạn đưa) */
        color: #721c24;
        /* Đỏ đậm nhẹ, rõ ràng */
        padding: 0.5rem 1.2rem;
        border-radius: 50px;
        font-size: 0.875rem;
        font-weight: 600;
        display: inline-block;
        box-shadow: 0 1px 4px rgba(90, 203, 186, 0.05);
    }


    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .hero-title {
            font-size: 2.5rem;
        }

        .tab-inner {
            flex-direction: column;
        }

        .search-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .hero-section {
            min-height: 80vh;
        }

        .hero-title {
            font-size: 2rem;
        }

        .hero-subtitle {
            font-size: 1.25rem;
        }

        .section-title {
            font-size: 1.75rem;
        }

        .events-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 576px) {
        .hero-cta {
            flex-direction: column;
            gap: 0.75rem;
        }

        .section-title {
            font-size: 1.5rem;
        }

        .tab-image img,
        .image-placeholder {
            height: 200px;
        }
    }

    .event-spacing {
        height: 10px;
        /* hoặc margin như bạn muốn */
    }

    /* Additional breakpoint for zoom issues (600px-800px at 67%-125% zoom) */
    @media screen and (min-width: 600px) and (max-width: 800px) {
        .artical-item {
            grid-template-columns: 40% 60% !important;
            gap: 1rem !important;
            align-items: center !important;
        }

        .artical-info {
            grid-template-columns: 50% 50% !important;
            grid-template-rows: unset !important;
            gap: 1rem !important;
            align-items: center !important;
        }

        .artical-img-container {
            max-width: 13rem !important;
            place-self: center !important;
        }

        .artical-img {
            max-width: 13rem !important;
            height: 17rem !important;
        }

        .artical-detail-container {
            place-self: end !important;
            padding-left: 15px !important;
        }

        .event-date-time-container {
            padding: 15px 20px !important;
        }
    }

    /* Zoom-specific adjustments */
    @media screen and (min-device-pixel-ratio: 0.67) and (max-device-pixel-ratio: 1.25) {
        .artical-item {
            margin-bottom: 25px;
            gap: 1rem;
            align-items: center;
        }

        .artical-info {
            align-items: center;
            gap: 1rem;
        }

        .event-section-inner {
            margin-left: 1.5rem;
            margin-right: 1.5rem;
        }
    }

    /* Mobile Standard (≤768px) - For legacy support */
    @media (max-width: 768px) {
        .events-section {
            padding: 3rem 0;
        }

        .events-list {
            gap: 1.5rem;
            padding: 0 1rem;
        }

        .event-content-section {
            padding: 2rem 1.5rem;
        }

        .featured-event-title {
            font-size: 1.4rem;
        }

        .featured-event-description {
            font-size: 0.9rem;
            max-width: 100%;
        }

        .event-section-inner {
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .artical-item {
            display: grid;
            grid-template-columns: 40% 60%;
            margin-bottom: 2rem;
            gap: 0.5rem;
        }

        .artical-info {
            display: grid;
            grid-template-rows: auto auto !important;
            grid-template-columns: unset;
            gap: 1rem;
        }

        .event-date-time-container {
            padding-left: 0.5rem;
            padding-right: 0.5rem;
            align-self: start;
        }

        .artical-date,
        .artical-time {
            color: #B17A53;
            font-size: large;
            font-weight: bold;
            text-align: center;
        }

        .artical-img-container {
            place-self: center;
        }

        .artical-img {
            width: 100%;
            height: 100%;
        }

        .artical-detail-container {
            padding-left: 1rem;
            padding-bottom: 1rem;
            place-self: start;
        }

        .artical-title {
            font-family: SVN-Bon Voyage;
            color: black;
            font-weight: lighter;
            text-transform: uppercase;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        .artical-artist {
            color: black;
            font-weight: lighter;
            font-size: 1.1rem;
            text-transform: uppercase;
            font-style: italic;
            margin-bottom: 0.8rem;
        }

        .artical-disc {
            font-family: 'UTM Avo';
            font-size: 0.9rem;
            line-height: 1.5;
            margin-bottom: 1rem;
            color: #666;
        }

        .artical-btn {
            display: inline-block;
            background-color: #e43a12;

            color: white;
            margin-top: 0.5rem;
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 5px;
            box-sizing: border-box;
            text-decoration: none;
            font-weight: 500;
            font-family: 'UTM Avo';

        }
    }

    /* Mobile Small (≤480px) */
    @media (max-width: 480px) {
        .events-section {
            padding: 3rem 0;
        }

        .events-list {
            padding: 0 0.5rem;
        }

        .featured-event-card {
            border-radius: 12px;
        }

        .event-content-section {
            padding: 1.5rem 1rem;
        }

        .featured-event-title {
            font-size: 1.2rem;
        }

        .featured-event-description {
            margin-bottom: 2rem;
        }

        .featured-btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }

        .event-section-inner {
            margin-left: 0.25rem;
            margin-right: 0.25rem;
        }

        .artical-item {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
            gap: 1.5rem;
            margin-bottom: 25px;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
        }

        .event-date-time-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 1rem;
            background: rgba(177, 122, 83, 0.1);
            border-radius: 8px;
        }

        .event-date-time-container hr {
            display: none;
        }

        .artical-date,
        .artical-time {
            font-size: small;
            text-align: center;
            color: #B17A53;
            font-weight: bold;
        }

        .artical-info {
            display: block;
        }

        .artical-img-container {
            text-align: center;
            margin-bottom: 1rem;
            place-self: center;
            max-width: 100%;
        }

        .artical-img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .artical-title {
            font-size: 1.4rem;
            text-align: center;
            margin-bottom: 0.8rem;
            font-family: SVN-Bon Voyage;
            color: black;
            font-weight: lighter;
            text-transform: uppercase;
        }

        .artical-artist {
            font-size: 0.8rem;
            text-align: center;
            margin-bottom: 0.5rem;
            color: black;
            font-weight: lighter;
            text-transform: uppercase;
            font-style: italic;
        }

        .artical-disc {
            font-size: 0.75rem;
            text-align: center;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .artical-btn {
            display: block;
            text-align: center;
            width: 100%;
            padding: 12px;
            font-size: 0.8rem;
            margin-top: 1rem;
            text-decoration: none;
            background-color: #e43a12;

            color: white;
            border: none;
            border-radius: 5px;
            box-sizing: border-box;
            font-family: 'UTM Avo';

        }

        .artical-detail-container {
            padding: 0;
            text-align: center;
            place-self: center;
            width: 100%;
        }
    }

    /* Smooth transitions for all responsive changes */
    .artical-item,
    .artical-img,
    .artical-title,
    .artical-btn {
        transition: all 0.3s ease-in-out;
    }

    /* Container queries support (modern browsers) */
    @supports (container-type: inline-size) {
        .events-section {
            container-type: inline-size;
        }

        @container (max-width: 600px) {
            .artical-item {
                grid-template-columns: 1fr;
            }
        }
    }

    .nowrap {
        white-space: nowrap;
    }

/* Banner hero: full width + Splide fill */
.banner-slider {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.banner-slider .splide__track,
.banner-slider .splide__list {
    height: 100%;
}

.banner-slider .splide__slide.banner-slide {
    height: clamp(460px, 78vh, 960px);
    max-height: clamp(460px, 78vh, 960px);
    position: relative;
    overflow: hidden;
}

.banner-slide {
    background-color: #2a1414;
}

.banner-slider .splide__slide.banner-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* home-banner-image-block — bám httpdocs (ảnh full width, không crop viewport) */
.home-banner-image-block .home-banner-image-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.home-banner-image-block .home_banner_image_title {
    font-family: 'SVN-Bon Voyage', 'SVN-BonVoyage-Regular', serif !important;
    color: #fff !important;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .banner-slider.splide {
        height: clamp(200px, 42svh, 380px);
    }

    .banner-slider .splide__track,
    .banner-slider .splide__list {
        height: 100%;
    }

    .banner-slider .splide__slide,
    .banner-slider .splide__slide.banner-slide {
        height: 100%;
        max-height: none;
        width: 100%;
        border-radius: 12px;
    }

    .banner-slider .splide__slide.banner-slide > img {
        border-radius: 12px;
    }

    .home-banner-image-block .home_banner_image_title {
        font-size: 1.5rem;
    }

    .home-banner-image-block .home-banner-image-overlay {
        padding: 0 2rem;
    }
}

@media (max-width: 430px) {
    .banner-slider.splide {
        height: clamp(180px, 38svh, 320px);
    }
}

@media (max-width: 360px) {
    .banner-slider.splide {
        height: clamp(160px, 34svh, 280px);
    }
}

/* Events list — ảnh fill khung, card & nội dung căn giữa */
.events-section .event-section-inner {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

.events-section {
    --artical-img-size: clamp(220px, 38vw, 520px);
}

.events-section .events-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
    width: 100%;
}

.events-section .artical-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: clamp(0.75rem, 4vw, 2rem);
    box-sizing: border-box;
}

.events-section .artical-img-container {
    position: relative;
    flex: 0 0 var(--artical-img-size);
    width: var(--artical-img-size);
    max-width: var(--artical-img-size);
    min-width: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    align-self: center;
}

.events-section .artical-img-container a {
    position: absolute;
    inset: 0;
    display: block;
    line-height: 0;
}

.events-section .artical-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-height: 0;
    margin: 0;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    box-shadow: none;
}

.events-section .artical-img:hover {
    transform: scale(1.03);
}

.events-section .artical-detail-container {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    place-self: auto !important;
    margin-left: 0;
    padding: 0 !important;
    width: auto;
    overflow: visible;
}

.events-section .artical-meta-time,
.events-section .info-map {
    margin-bottom: 0.35rem;
}

.events-section .artical-meta-time,
.events-section .info-map,
.events-section .info-map p {
    font-family: 'UTM Avo', sans-serif !important;
}

.events-section .artical-artist {
    font-family: 'UTM Avo', sans-serif !important;
}

.events-section .artical-title {
    margin-top: 0.25rem;
}

.events-section .artical-btn {
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Ghi đè breakpoint cũ — vuông full size */
.events-section .artical-img-container {
    max-width: var(--artical-img-size) !important;
}

.events-section .artical-img {
    max-width: none !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .events-section {
        --artical-img-size: 100%;
    }

    .events-section .artical-item {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: unset !important;
        max-width: 100%;
        width: 100%;
        gap: clamp(1rem, 3.5vw, 1.5rem);
        padding-left: 0;
        padding-right: 0;
    }

    .events-section .artical-detail-container {
        order: 1;
        width: 100%;
        flex: 1 1 auto;
        margin-left: 0;
        padding-left: 0 !important;
        text-align: center;
        align-items: center;
    }

    .events-section .artical-img-container {
        order: 2;
        flex: 0 0 auto;
        align-self: stretch;
        width: 100%;
        max-width: 100% !important;
        aspect-ratio: unset;
        min-height: 0;
        height: auto;
        overflow: visible;
        border-radius: 10px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

    .events-section .artical-img-container a {
        position: static;
        display: block;
    }

    .events-section .artical-img {
        position: static;
        inset: auto;
        width: 100%;
        height: auto !important;
        max-height: none;
        object-fit: contain;
        object-position: center top;
        border-radius: 10px;
    }

    .events-section .artical-img:hover {
        transform: none;
    }

    .events-section .artical-artist {
        font-size: clamp(0.78rem, 3.4vw, 0.95rem);
        line-height: 1.45;
        letter-spacing: 0.02em;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-transform: none;
        font-style: italic;
        margin-bottom: 0.65rem;
        padding: 0 0.35rem;
        max-width: 100%;
        font-family: 'UTM Avo', sans-serif !important;
    }

    .events-section .artical-title {
        font-size: clamp(1.2rem, 5.2vw, 1.65rem);
        line-height: 1.25;
        padding: 0 0.25rem;
    }

    .events-section .artical-btn,
    .events-section a.artical-btn {
        align-self: center;
        display: inline-flex !important;
        width: min(100%, 320px);
        justify-content: center;
        background-color: #e43a12 !important;
        color: #fff !important;
        border: none !important;
        font-weight: 600;
        margin-top: 0.75rem;
    }

    .events-section .artical-btn:hover,
    .events-section .artical-btn:focus,
    .events-section a.artical-btn:hover,
    .events-section a.artical-btn:focus {
        background-color: #c93210 !important;
        color: #fff !important;
    }

    .events-section .artical-disc {
        font-size: clamp(0.8rem, 3.2vw, 0.9rem);
        line-height: 1.55;
        max-height: none;
        overflow: visible;
        text-align: center;
        color: #555;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .events-section .artical-disc p {
        text-align: center;
        margin-bottom: 0.5rem;
        letter-spacing: normal;
        word-spacing: normal;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .events-section .artical-disc * {
        max-width: 100%;
        letter-spacing: normal !important;
        word-spacing: normal !important;
    }
}

@media (max-width: 480px) {
    .events-section .artical-img-container,
    .events-section .artical-img {
        border-radius: 8px;
    }
}

.artical-btn--disabled {
    display: inline-block;
    background-color: #9a8f88;
    color: #fff;
    margin-top: 10px;
    padding: 10px 50px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'UTM Avo';
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.9;
    text-decoration: none;
}

/* Hết hạn bán vé — vẫn bấm vào xem chi tiết sự kiện */
a.artical-btn--ended,
.events-section a.artical-btn--ended {
    display: inline-block;
    background-color: #9a8f88;
    color: #fff !important;
    margin-top: 10px;
    padding: 10px 50px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'UTM Avo';
    cursor: pointer;
    text-decoration: none;
    opacity: 0.95;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

a.artical-btn--ended:hover,
.events-section a.artical-btn--ended:hover {
    background-color: #877970;
    color: #fff !important;
    opacity: 1;
}

.artical-title-link {
    color: inherit;
    text-decoration: none;
}

.artical-title-link:hover,
.artical-title-link:focus {
    color: inherit;
    text-decoration: none;
}

.events-section .artical-btn--static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e43a12;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 50px;
    font-family: 'UTM Avo', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    opacity: 0.88;
    box-sizing: border-box;
}

.event-expired-toast {
    position: fixed;
    left: 50%;
    bottom: max(1.75rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: min(96vw, 640px);
    max-width: min(96vw, 640px);
    padding: 1.5rem 1.75rem;
    background: #3d2c24;
    color: #fff;
    font-family: 'UTM Avo', sans-serif;
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
    box-sizing: border-box;
}

.event-expired-toast[hidden] {
    display: none !important;
}

.event-expired-toast i {
    color: #f0c9a0;
    flex-shrink: 0;
    font-size: 1.65em;
}

@media (max-width: 768px) {
    .events-section .artical-btn--static {
        width: min(100%, 320px);
        justify-content: center;
        margin-top: 0.75rem;
    }
}
