/* =====================================================
   Du Lịch Vũng Tàu - Bopea Style
   Redesign theo phong cách Bopea Magazine Theme
   ===================================================== */

/* ---- CSS Variables (Bopea Design Tokens) ---- */
:root {
    /* Main Color - Red/Orange (Bopea style) */
    --main-color: #e74c3c;
    --main-hover: #c0392b;
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #f15a4a;
    --primary-bg: rgba(231, 76, 60, 0.06);

    /* Secondary - Dark */
    --secondary: #f39c12;
    --secondary-dark: #d68910;

    /* Accent */
    --accent: #e74c3c;

    /* Text Colors */
    --text-dark: #111111;
    --text-body: #555555;
    --text-muted: #999999;
    --meta-color: #999999;

    /* Background */
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --bg-section: #f5f5f5;
    --border: #eee;
    --border-strong: #ddd;

    /* Shadows - Minimal (Bopea style) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 3px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.1);

    /* Typography - Roboto Vietnamese */
    --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-body: 15px;

    /* Spacing */
    --section-py: 60px;
    --container-max: 1400px;
    --gap: 24px;

    /* Transitions */
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;

    /* Border Radius - Bopea uses minimal radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
}

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--main-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Section Title (Bopea style with arrow) ---- */
.section-title {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title--center {
    text-align: center;
    justify-content: center;
}

.section-title__tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title__heading {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 0;
    white-space: nowrap;
    flex-shrink: 0;
    order: 0;
    color: #1a1a1a;
}

/* Horizontal line between heading and "Xem thêm" */
.section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    min-width: 40px;
    background: #ccc;
    border-radius: 2px;
    order: 1;
}

/* "Xem thêm" link ordering */
.section-title__more {
    order: 2;
}

/* Color variants — heading text color + matching gradient line */
.section-title--orange {
    color: #ea580c;
}

.section-title--blue {
    color: #0284c7;
}

.section-title--emerald {
    color: #059669;
}

.section-title--red {
    color: #dc2626;
}

.section-title--purple {
    color: #7c3aed;
}

.section-title:has(.section-title--orange)::after {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.section-title:has(.section-title--blue)::after {
    background: linear-gradient(90deg, #0ea5e9, #0284c7);
}

.section-title:has(.section-title--emerald)::after {
    background: linear-gradient(90deg, #10b981, #047857);
}

.section-title:has(.section-title--red)::after {
    background: linear-gradient(90deg, #ef4444, #b91c1c);
}

.section-title:has(.section-title--purple)::after {
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
}

.section-title__desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    max-width: 550px;
}

.section-title--center .section-title__desc {
    margin: 8px auto 0;
}

/* "Xem thêm" link - pill style */
.section-title__more {
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    /* Default */
    color: var(--main-color);
    background: var(--primary-bg);
}

.section-title__more i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.section-title__more:hover {
    transform: translateX(2px);
}

.section-title__more:hover i {
    transform: translateX(4px);
}

/* Per-section "Xem thêm" colors */
.section-title__more--orange {
    color: #ea580c;
    background: rgba(249, 115, 22, 0.08);
}

.section-title__more--orange:hover {
    background: rgba(249, 115, 22, 0.15);
}

.section-title__more--blue {
    color: #0284c7;
    background: rgba(14, 165, 233, 0.08);
}

.section-title__more--blue:hover {
    background: rgba(14, 165, 233, 0.15);
}

.section-title__more--emerald {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
}

.section-title__more--emerald:hover {
    background: rgba(16, 185, 129, 0.15);
}

.section-title__more--red {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}

.section-title__more--red:hover {
    background: rgba(239, 68, 68, 0.15);
}

.section-title__more--purple {
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.08);
}

.section-title__more--purple:hover {
    background: rgba(139, 92, 246, 0.15);
}

/* ---- Buttons (Bopea flat style) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.5;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--main-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--main-hover);
    color: #fff;
}

.btn-secondary {
    background: var(--text-dark);
    color: #fff;
}

.btn-secondary:hover {
    background: #333;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text-dark);
}

.btn-outline:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.btn-white {
    background: #fff;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

/* ---- Header (Bopea style - white, clean, bold) ---- */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo - Bopea style with dot */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
}

.header-logo i {
    display: none;
}

.header-logo span {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.header-logo .logo-dot {
    color: var(--main-color);
}

/* Nav - Bopea bold menu */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav a {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    padding: 8px 16px;
    position: relative;
    text-transform: capitalize;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a:hover {
    color: var(--main-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .header-search-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    background: none;
    border: none;
}

.header-actions .header-search-btn:hover {
    color: var(--main-color);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 6px;
    padding: 2px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    border-radius: 4px;
    opacity: 0.5;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.lang-flag:hover {
    opacity: 0.85;
    background: rgba(0, 0, 0, 0.06);
}

.lang-flag.active {
    opacity: 1;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang-flag img {
    border-radius: 2px;
    display: block;
    width: 22px;
    height: 15px;
    object-fit: cover;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* ---- Hero Section (Bopea-style large feature post) ---- */
.hero {
    position: relative;
    margin-top: 64px;
    background: var(--bg-white);
    overflow: hidden;
}

.hero-slider {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto;
    max-width: var(--container-max);
    padding: 0 20px;
}

.hero-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-main__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-main__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 50%);
}

.hero-main__content {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.hero-main__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-main__cat::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--main-color);
}

.hero-main__title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-main__title a {
    color: #fff;
}

.hero-main__title a:hover {
    color: var(--secondary);
}

.hero-main__excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-main__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-main__meta i {
    margin-right: 4px;
}

/* Hero side posts (Bopea style - circle thumbnails) */
.hero-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-white);
}

.hero-side-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.hero-side-item:hover {
    background: var(--bg-light);
}

.hero-side-item__img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--border);
}

.hero-side-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-side-item__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-side-item__title a {
    color: var(--text-dark);
}

.hero-side-item__title a:hover {
    color: var(--main-color);
}

/* ---- Search Bar (Bopea clean style) ---- */
.search-bar {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 6px;
    display: flex;
    gap: 4px;
    max-width: 600px;
    margin: 20px auto;
}

.search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
    font-family: var(--font-primary);
}

.search-bar .btn-primary {
    border-radius: var(--radius-sm);
}

/* ---- Category Icons (Bopea circle-avatar style) ---- */
.category-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.category-icon-item:hover {
    transform: translateY(-4px);
}

.category-icon-item__circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: var(--transition);
}

.category-icon-item:hover .category-icon-item__circle {
    border-color: var(--main-color);
}

.category-icon-item__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-icon-item__circle i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 28px;
    color: var(--main-color);
    background: var(--primary-bg);
}

.category-icon-item__circle--hotline {
    border-color: #ef4444;
}

.category-icon-item__circle--hotline i {
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.category-icon-item__circle--zalo {
    border-color: #0068ff;
}

.category-icon-item__circle--zalo i {
    color: #fff;
    background: linear-gradient(135deg, #0068ff, #00a5ff);
}

.category-icon-item__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.category-icon-item__count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -6px;
}

/* ---- Cards Grid ---- */
.cards-grid {
    display: grid;
    gap: var(--gap);
}

.cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Hero Swiper Slider ---- */
.hero-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-swiper .swiper-slide {
    position: relative;
}

.swiper-slide__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 0 48px 48px;
    z-index: 2;
}

.swiper-slide__content h2 {
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.swiper-slide__content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.swiper-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--main-color);
    color: #fff;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.swiper-slide__btn:hover {
    background: var(--main-hover);
    transform: translateY(-1px);
}

.swiper-slide__link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* Swiper nav arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 16px;
    color: #fff;
}

/* Swiper pagination */
.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-swiper {
        height: 320px !important;
    }

    .swiper-slide__content h2 {
        font-size: 22px;
    }

    .swiper-slide__overlay {
        padding: 0 0 24px 20px;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        width: 34px;
        height: 34px;
    }

    .hero-swiper .swiper-button-next::after,
    .hero-swiper .swiper-button-prev::after {
        font-size: 12px;
    }
}

/* ---- Vũng Tàu Highlights (Trending News — 3 columns) ---- */
.hl-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.65fr;
    gap: 28px;
    align-items: stretch;
}

/* ===== COL 1: Featured card ===== */
.hl-featured {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.hl-featured__img {
    width: 100%;
    height: 100%;
    min-height: 380px;
}

.hl-featured__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hl-featured:hover .hl-featured__img img {
    transform: scale(1.05);
}

.hl-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.05) 55%);
    z-index: 1;
}

.hl-featured__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.hl-featured__date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 10px;
}

.hl-featured__date i {
    font-size: 11px;
}

.hl-featured__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 10px 0 0;
    color: #fff;
}

.hl-featured__desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.hl-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #bbb;
    font-size: 28px;
}

/* Badge (shared) */
.hl-card__badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

/* ===== COL 2: Horizontal list ===== */
.hl-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.hl-list__item {
    display: flex;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
    padding: 0;
    transition: transform 0.2s ease;
}

.hl-list__item:hover {
    transform: translateX(4px);
}

.hl-list__item+.hl-list__item {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.hl-list__thumb {
    flex: 0 0 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.hl-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hl-list__item:hover .hl-list__thumb img {
    transform: scale(1.08);
}

.hl-list__body {
    flex: 1;
    min-width: 0;
}

.hl-list__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.hl-list__date {
    font-size: 12px;
    color: #999;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hl-list__date i {
    font-size: 11px;
}

.hl-list__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.2s;
}

.hl-list__item:hover .hl-list__title {
    color: #ef4444;
}

.hl-list__desc {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 4px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* ===== COL 3: Sidebar banners ===== */
.hl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hl-sidebar__label {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 3px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hl-sidebar__banner {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    min-height: 90px;
    text-decoration: none;
}

.hl-sidebar__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hl-sidebar__banner:hover img {
    transform: scale(1.05);
}

.hl-sidebar__cat {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.hl-sidebar__banner--empty {
    background: #f5f5f5;
    border: 1px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hl-sidebar__banner--empty span {
    color: #bbb;
    font-size: 13px;
    font-weight: 500;
}

/* Sidebar slider: show only active banner */
.hl-sidebar__slider {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    position: relative;
}

.hl-sidebar__slider .hl-sidebar__banner {
    display: none;
    animation: hlSidebarFade 0.5s ease;
}

.hl-sidebar__slider .hl-sidebar__banner--active {
    display: block;
}

.hl-sidebar__banner picture {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes hlSidebarFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hl-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hl-featured {
        grid-column: span 2;
    }

    .hl-sidebar {
        grid-column: span 2;
        flex-direction: row;
    }

    .hl-sidebar__banner {
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .hl-grid {
        grid-template-columns: 1fr;
    }

    .hl-featured {
        grid-column: span 1;
    }

    .hl-sidebar {
        grid-column: span 1;
        flex-direction: column;
    }

    .hl-list__thumb {
        flex: 0 0 110px;
        height: 80px;
    }

    .hl-featured__img {
        min-height: 260px;
    }

    .hl-featured__title {
        font-size: 17px;
    }
}

/* ---- Destination Card (Bopea clean) ---- */
.dest-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dest-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.dest-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.dest-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dest-card:hover .dest-card__img img {
    transform: scale(1.04);
}

.dest-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.6);
}

.dest-card__badge::before {
    content: '●';
    color: var(--main-color);
    font-size: 8px;
}

.dest-card__body {
    padding: 16px;
}

.dest-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.dest-card__title a {
    color: var(--text-dark);
}

.dest-card__title a:hover {
    color: var(--main-color);
}

.dest-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

/* =====================================================
   Destination Section — Fullwidth ocean blue slider
   ===================================================== */

.dest-section {
    position: relative;
    background: linear-gradient(135deg, #e8f4f8 0%, #dbeef5 50%, #cfe7f0 100%);
    padding: 56px 0 64px;
    overflow: hidden;
}

/* Animated wave background — pure CSS, sits behind cards */
.dest-section::before,
.dest-section::after {
    content: '';
    position: absolute;
    left: -10%;
    width: 120%;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.dest-section::before {
    bottom: -40px;
    height: 100px;
    background: rgba(12, 74, 110, 0.05);
    animation: destWave1 6s ease-in-out infinite;
}

.dest-section::after {
    bottom: -30px;
    height: 80px;
    background: rgba(12, 74, 110, 0.03);
    animation: destWave2 8s ease-in-out infinite;
}

@keyframes destWave1 {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(-20px) scaleY(1.3);
    }
}

@keyframes destWave2 {

    0%,
    100% {
        transform: translateX(0) scaleY(1);
    }

    50% {
        transform: translateX(20px) scaleY(1.2);
    }
}

/* Ensure cards sit above animation */
.dest-section>.container {
    position: relative;
    z-index: 1;
}

.dest-section__bg {
    position: absolute;
    right: -40px;
    bottom: -20px;
    width: 320px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.dest-section__bg-img {
    width: 100%;
    height: auto;
}

/* Header: Title left | Tabs + "Xem thêm" right */
.dest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.dest-header__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 28px;
    font-weight: 800;
    color: #0c4a6e;
    margin: 0;
    white-space: nowrap;
}

.dest-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Category Tabs */
.dest-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dest-tab {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(12, 74, 110, 0.12);
    color: #0c4a6e;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.dest-tab:hover {
    background: rgba(12, 74, 110, 0.08);
    border-color: rgba(12, 74, 110, 0.25);
}

.dest-tab.active {
    background: #0c4a6e;
    color: #fff;
    border-color: #0c4a6e;
    box-shadow: 0 3px 12px rgba(12, 74, 110, 0.3);
}

.dest-header__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0c4a6e;
    text-decoration: none;
    padding: 7px 18px;
    border: 1.5px solid #0c4a6e;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
}

.dest-header__more:hover {
    background: #0c4a6e;
    color: #fff;
}

/* Swiper Container */
.dest-section .destSwiper {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Slide Card */
.dest-slide-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.dest-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(12, 74, 110, 0.15);
}

.dest-slide-card__img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.dest-slide-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.dest-slide-card:hover .dest-slide-card__img img {
    transform: scale(1.06);
}

.dest-slide-card__placeholder {
    height: 100%;
    background: #e8f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c4a6e;
    font-size: 36px;
}

.dest-slide-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0c4a6e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dest-slide-card__body {
    padding: 14px 16px 18px;
}

.dest-slide-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #0f2942;
    margin: 0 0 6px;
    line-height: 1.3;
}

.dest-slide-card__meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.dest-slide-card__meta i {
    color: #0c4a6e;
    font-size: 11px;
}

/* Navigation Buttons */
.dest-swiper-nav {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.dest-swiper-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(12, 74, 110, 0.2);
    color: #0c4a6e;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dest-swiper-btn:hover {
    background: #0c4a6e;
    color: #fff;
    border-color: #0c4a6e;
    box-shadow: 0 4px 14px rgba(12, 74, 110, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .dest-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dest-header__right {
        width: 100%;
        justify-content: space-between;
    }

    .dest-tabs {
        gap: 4px;
    }

    .dest-tab {
        font-size: 12px;
        padding: 6px 12px;
    }

    .dest-section__bg {
        width: 200px;
        right: -30px;
        bottom: -10px;
    }

    .dest-slide-card__img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .dest-header__title {
        font-size: 22px;
    }

    .dest-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
}

/* ---- Hotel Card (Bopea clean) ---- */
.hotel-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.hotel-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.hotel-card__img {
    height: 180px;
    overflow: hidden;
}

.hotel-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hotel-card:hover .hotel-card__img img {
    transform: scale(1.04);
}

.hotel-card__body {
    padding: 16px;
}

.hotel-card__stars {
    color: var(--secondary);
    font-size: 12px;
    margin-bottom: 6px;
}

.hotel-card__name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hotel-card__name a {
    color: var(--text-dark);
}

.hotel-card__name a:hover {
    color: var(--main-color);
}

.hotel-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--main-color);
}

.hotel-card__price small {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ---- Tour Card (Bopea clean) ---- */
.tour-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.tour-card__img {
    height: 200px;
    overflow: hidden;
}

.tour-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.tour-card:hover .tour-card__img img {
    transform: scale(1.04);
}

.tour-card__body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.tour-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tour-card__title a {
    color: var(--text-dark);
}

.tour-card__title a:hover {
    color: var(--main-color);
}

.tour-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.tour-card__price {
    font-size: 17px;
    font-weight: 700;
    color: var(--main-color);
}

.tour-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
}

/* ---- Restaurant Card ---- */
.resto-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.resto-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.resto-card__img {
    height: 180px;
    overflow: hidden;
}

.resto-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.resto-card:hover .resto-card__img img {
    transform: scale(1.04);
}

.resto-card__body {
    padding: 16px;
}

.resto-card__cuisine {
    font-size: 11px;
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.resto-card__name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.resto-card__name a {
    color: var(--text-dark);
}

.resto-card__meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ---- News Section (Bopea featured + side layout) ---- */
.news-section {
    padding: var(--section-py) 0;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}

/* Featured post */
.news-featured {
    grid-row: span 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.news-featured:hover {
    box-shadow: var(--shadow-lg);
}

.news-featured__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.news-featured:hover .news-featured__bg {
    transform: scale(1.02);
}

.news-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.05) 55%);
}

.news-featured__content {
    position: relative;
    z-index: 2;
    padding: 32px;
    width: 100%;
}

.news-featured__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    background: var(--main-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-featured__title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-featured__excerpt {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-featured__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.news-featured__meta i {
    margin-right: 3px;
}

/* Side news cards */
.news-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-card {
    display: flex;
    gap: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    padding: 14px;
}

.news-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.news-card__img {
    width: 120px;
    min-height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-card__img img {
    transform: scale(1.05);
}

.news-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card__cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.news-card__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a {
    color: var(--text-dark);
}

.news-card__title a:hover {
    color: var(--main-color);
}

.news-card__date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-card__excerpt {
    font-size: 13px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
}

.news-section__footer {
    text-align: center;
    margin-top: 32px;
}

/* ---- Section ---- */
.section {
    padding: var(--section-py) 0;
}

.section--alt {
    background: var(--bg-section);
}

.section--border {
    border-top: 1px solid var(--border);
}

/* ---- Footer (Bopea compact style) ---- */
.site-footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--main-color);
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--main-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--main-color);
    color: #fff;
}

/* ---- Flash Messages ---- */
.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInDown 0.4s ease;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-left: 3px solid #28a745;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 3px solid #dc3545;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Pagination (Bopea clean) ---- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a {
    background: var(--bg-white);
    color: var(--text-body);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

.pagination .active {
    background: var(--text-dark);
    color: #fff;
    border: 1px solid var(--text-dark);
}

/* ---- Stars ---- */
.stars {
    color: var(--secondary);
    font-size: 13px;
}

.stars .empty {
    color: #ddd;
}

/* ---- Breadcrumb (Bopea compact) ---- */
.breadcrumb {
    padding: 84px 0 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.breadcrumb__list {
    display: flex;
    gap: 6px;
    list-style: none;
    font-size: 13px;
}

.breadcrumb__list li+li::before {
    content: '/';
    margin-right: 6px;
    color: var(--text-muted);
}

.breadcrumb__list a {
    color: var(--text-muted);
}

.breadcrumb__list a:hover {
    color: var(--main-color);
}

.breadcrumb__list .active {
    color: var(--text-dark);
    font-weight: 600;
}

/* ---- Page Header ---- */
.page-header {
    padding: 84px 0 30px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    color: var(--text-dark);
    font-size: 32px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ---- Filter Bar (Bopea tab style) ---- */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.filter-bar a,
.filter-bar button {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-bar a:hover,
.filter-bar button:hover,
.filter-bar a.active,
.filter-bar button.active {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

/* ---- Detail Page ---- */
.detail-section {
    padding: 30px 0 60px;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
}

.detail-content {
    min-width: 0;
}

.detail-content h1 {
    font-size: 28px;
    margin-bottom: 14px;
}

.detail-content h2 {
    font-size: 20px;
    margin: 28px 0 14px;
}

.detail-content p {
    margin-bottom: 14px;
}

.detail-content img {
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.content-body {
    font-size: 15px;
    line-height: 1.8;
}

/* Blockquote — Premium Quote Style */
.detail-content blockquote,
.content-body blockquote {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
    margin: 28px 0;
    padding: 28px 32px;
    background: #f3f4f6;
    border: none;
    border-left: 4px solid #abd5ff;
    border-radius: 0 14px 14px 0;
    font-style: normal;
    color: #334155;
}

.detail-content blockquote::before,
.content-body blockquote::before {
    content: '\201C\201C';
    grid-row: 1 / 20;
    font-size: 40px;
    font-family: Georgia, serif;
    font-style: normal;
    line-height: 1;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    align-self: start;
    margin-top: 4px;
}

/* Trichdan has its own icon via PHP span — hide CSS ::before */
.trichdan-block::before {
    display: none !important;
}

.detail-content blockquote p,
.content-body blockquote p {
    grid-column: 2;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    color: #1e293b;
}

.detail-content blockquote p:last-child,
.content-body blockquote p:last-child {
    margin-bottom: 0;
}

.detail-content blockquote ul,
.content-body blockquote ul {
    grid-column: 2;
    list-style: none;
    padding: 0;
    margin: 4px 0;
}

.detail-content blockquote ul li,
.content-body blockquote ul li {
    position: relative;
    padding: 5px 0 3px 20px;
    line-height: 1.6;
    font-style: normal;
    color: #1e293b;
}

.detail-content blockquote ul li::before,
.content-body blockquote ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
}

.detail-content blockquote strong,
.content-body blockquote strong {
    font-style: normal;
    color: #1e293b;
    font-weight: 700;
}

.detail-content blockquote em,
.content-body blockquote em {
    color: #475569;
}

.detail-content blockquote cite,
.content-body blockquote cite {
    grid-column: 2;
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-style: normal;
    color: #6b7280;
    font-weight: 500;
}

.detail-content blockquote cite::before,
.content-body blockquote cite::before {
    content: '';
}

.content-body p {
    margin-bottom: 14px;
}

.detail-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.sidebar-box h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sidebar-info {
    list-style: none;
}

.sidebar-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.sidebar-info li:last-child {
    border-bottom: none;
}

.sidebar-info i {
    width: 18px;
    color: var(--main-color);
}

/* ---- Booking Form ---- */
.booking-form .form-group {
    margin-bottom: 12px;
}

.booking-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: border-color 0.2s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.booking-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

/* ---- Auth Pages ---- */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 84px 20px 40px;
    background: var(--bg-section);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px;
}

.auth-card h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 6px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-card .form-group {
    margin-bottom: 14px;
}

.auth-card label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.auth-card input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s;
}

.auth-card input:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.auth-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    font-size: 14px;
    padding: 12px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ---- Search Results ---- */
.search-section {
    padding: 30px 0 60px;
}

.search-result {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result__type {
    font-size: 11px;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.search-result__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.search-result__title a {
    color: var(--text-dark);
}

.search-result__title a:hover {
    color: var(--main-color);
}

.search-result__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
}

.contact-form .form-group {
    margin-bottom: 14px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
}

.contact-info-card {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    padding: 32px;
}

.contact-info-card h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.contact-info-item i {
    font-size: 16px;
    color: var(--main-color);
    margin-top: 2px;
}

/* ---- Share Buttons ---- */
.share-buttons {
    display: flex;
    gap: 6px;
    margin: 16px 0;
}

.share-buttons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.share-buttons a:hover {
    transform: translateY(-2px);
}

.share-fb {
    background: #1877f2;
}

.share-tw {
    background: #1da1f2;
}

.share-pin {
    background: #e60023;
}

/* ---- Related Items ---- */
.related-section {
    padding: 50px 0;
    background: var(--bg-section);
}

.related-section h2 {
    text-align: center;
    margin-bottom: 28px;
}

/* ---- Listing Section ---- */
.listing-section {
    padding: 40px 0 60px;
}

.listing-section .cards-grid {
    margin-bottom: 32px;
}

/* ---- Detail Gallery ---- */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.detail-gallery img {
    border-radius: var(--radius-sm);
    height: 140px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.detail-gallery img:hover {
    opacity: 0.9;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
    .cards-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        min-height: 320px;
    }

    .hero-slider {
        grid-template-columns: 1fr;
    }

    .hero-side {
        display: none;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .category-icons {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 40px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 16px 20px;
        z-index: 999;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 10px 0;
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-inner {
        height: 56px;
        padding: 0 12px;
    }

    .header-logo span {
        font-size: 20px;
        white-space: nowrap;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions .btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .lang-switcher {
        gap: 4px;
    }

    .lang-flag img {
        width: 18px;
        height: 12px;
    }

    .cards-grid--3,
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .section-title__heading {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .news-card {
        flex-direction: column;
    }

    .news-card__img {
        width: 100%;
        min-height: 160px;
    }

    .news-featured__title {
        font-size: 20px;
    }

    .hero-main__title {
        font-size: 24px;
    }

    .search-bar {
        flex-direction: column;
    }

    .category-icons {
        gap: 16px;
    }

    .category-icon-item__circle {
        width: 60px;
        height: 60px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .auth-card {
        padding: 24px;
    }

    .breadcrumb {
        padding: 74px 0 16px;
    }
}

@media (max-width: 768px) {
    .main-nav.show ul {
        display: flex;
        flex-direction: column;
    }
}

/* =====================================================
   Trust Badges
   ===================================================== */
.trust-badges {
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.trust-badges__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-badges__item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.trust-badges__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.trust-badges__text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 2px;
}

.trust-badges__text p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* =====================================================
   Site Footer - Dark Theme
   ===================================================== */
.site-footer {
    background: #1a1f2e;
    color: #c0c5d0;
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
    position: relative;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* Brand column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.footer-logo h4 {
    font-size: 18px;
    margin: 0;
    color: #fff;
}

.footer-logo span {
    font-size: 12px;
    color: #f97316;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #8b92a5;
    margin: 0 0 20px;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: #f97316;
    color: #fff;
    transform: translateY(-2px);
}

/* Contact column */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-item>i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item span {
    display: block;
    font-size: 12px;
    color: #8b92a5;
    margin-bottom: 2px;
}

.footer-contact-item strong {
    display: block;
    font-size: 13px;
    color: #e5e7eb;
    font-weight: 500;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.footer-bottom strong {
    color: #e5e7eb;
}

.footer-bottom__links {
    display: flex;
    gap: 24px;
}

.footer-bottom__links a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom__links a:hover {
    color: #fff;
}

/* ==== Footer Responsive ==== */
@media (max-width: 992px) {
    .trust-badges__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .trust-badges__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .trust-badges__item {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom__links {
        gap: 16px;
    }
}



/* =====================================================
   Detail Page — Hero, Cards, Reviews
   ===================================================== */

/* Detail Card */
.detail-card {
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
}

.detail-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card__accent {
    width: 4px;
    height: 24px;
    background: var(--main-color, #e74c3c);
    border-radius: 2px;
    display: inline-block;
    flex-shrink: 0;
}

/* Info Grid */
.detail-info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-info-item>i {
    width: 20px;
    text-align: center;
    margin-top: 3px;
    font-size: 16px;
    flex-shrink: 0;
}

.detail-info-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.detail-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted, #94a3b8);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* Stars Display */
.stars-display {
    display: inline-flex;
    gap: 2px;
    font-size: 14px;
}

.stars-display .fa-star {
    color: #f59e0b;
}

.stars-display .far.fa-star {
    color: #e2e8f0;
}

/* Star Picker */
.star-picker {
    display: inline-flex;
    gap: 4px;
}

/* Review Item */
.review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.review-item:last-child {
    border-bottom: none;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* Responsive: 2-column to 1-column */
@media (max-width: 900px) {

    .detail-hero .container,
    .detail-card,
    .section .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .section .container>div[style*="grid-template-columns"]>aside {
        position: static !important;
    }
}

/* =====================================================
   Info Ticker (Weather + Traffic)
   ===================================================== */

.info-ticker {
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.info-ticker__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    flex: 1;
    min-width: 0;
    cursor: default;
    transition: background 0.2s;
}

.info-ticker__item:hover {
    background: rgba(0, 0, 0, 0.015);
}

.info-ticker__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
    overflow: hidden;
}

.info-ticker__icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.info-ticker__item:hover .info-ticker__icon {
    transform: scale(1.08);
}

.info-ticker__icon--sun {
    background: none;
    color: #d97706;
}

.info-ticker__icon--green {
    background: none;
    color: #059669;
}

.info-ticker__icon--red {
    background: none;
    color: #dc2626;
    animation: pulse-red 2s infinite;
}

.info-ticker__icon--blue {
    background: none;
    color: #2563eb;
}

.info-ticker__icon--orange {
    background: none;
    color: #ea580c;
}

.info-ticker__icon--honba {
    background: none;
    box-shadow: none;
}

@keyframes pulse-red {

    0%,
    100% {
        box-shadow: 0 3px 12px rgba(220, 38, 38, 0.2);
    }

    50% {
        box-shadow: 0 3px 20px rgba(220, 38, 38, 0.4);
    }
}

.info-ticker__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.info-ticker__label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-ticker__value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-ticker__divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, #e2e8f0, transparent);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .info-ticker {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 14px;
    }

    .info-ticker__item {
        padding: 12px 14px;
        gap: 10px;
    }

    .info-ticker__divider {
        display: none;
    }

    .info-ticker__value {
        font-size: 12px;
        white-space: normal;
    }

    .info-ticker__label {
        font-size: 10px;
    }

    .info-ticker__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
    }

    .info-ticker__logo {
        width: 36px;
        height: 36px;
    }
}

/* =====================================================
   Highlights Section Background (clean)
   ===================================================== */

.highlights-section {
    background: #fff;
    padding: 40px 0 24px;
    border-top: none;
}

.highlights-section>.container>.section-title,
.highlights-section>.container>.hl-grid {
    position: relative;
    z-index: 1;
}

/* White variant for dark gradient sections */
.section-title--white {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.section-title__more--white {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-title__more--white:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.section-title__more--white i {
    color: #fff;
}

/* ===== TRENDING SECTION (Dark Video Scroll) ===== */
.trending-section {
    position: relative;
    padding: 56px 0 60px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 30%, #112d4e 60%, #0f3460 100%);
    overflow: hidden;
}

/* Section title dark line variant */
.section-title--dark::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08)) !important;
}


/* Floating hearts animation */
.trending-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.trending-heart {
    position: absolute;
    bottom: -30px;
    animation: floatHeart linear forwards;
    pointer-events: none;
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: var(--heart-opacity, 0.4);
        transform: translateY(-10%) translateX(-10px) rotate(-10deg) scale(0.8);
    }

    50% {
        transform: translateY(-50vh) translateX(20px) rotate(15deg) scale(1);
    }

    90% {
        opacity: var(--heart-opacity, 0.3);
    }

    100% {
        transform: translateY(-100vh) translateX(-15px) rotate(-5deg) scale(0.6);
        opacity: 0;
    }
}

/* Scroll track */
.trending-scroll {
    position: relative;
    z-index: 1;
}

.trending-scroll__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
    padding-bottom: 10px;
}

.trending-scroll__track::-webkit-scrollbar {
    height: 6px;
}

.trending-scroll__track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.trending-scroll__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
}

/* Trend Card */
.trend-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.trend-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

.trend-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.trend-card__media img,
.trend-card__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trend-card:hover .trend-card__media img,
.trend-card:hover .trend-card__media video {
    transform: scale(1.08);
}

.trend-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.trend-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.trend-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 16px;
    z-index: 3;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.trend-card:hover .trend-card__play-icon {
    transform: translate(-50%, -50%) scale(1.12);
}

.trend-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a4a, #0d2137);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.2);
}

.trend-card__body {
    padding: 14px 16px 16px;
}

.trend-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 8px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.trend-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.trend-card__author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-card__avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.trend-card__time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-card__time i {
    font-size: 10px;
}

/* ===== Video Popup Modal ===== */
.trend-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trend-popup--active {
    pointer-events: all;
    opacity: 1;
}

.trend-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.trend-popup__content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.trend-popup__video {
    width: 100%;
    border-radius: 12px;
    background: #000;
    max-height: 80vh;
}

.trend-popup__close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.trend-popup__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Trending Responsive */
@media (max-width: 992px) {
    .trend-card {
        flex: 0 0 calc(33.33% - 14px);
        min-width: 240px;
    }
}

@media (max-width: 768px) {
    .trending-section {
        padding: 40px 0 44px;
    }

    .trend-card {
        flex: 0 0 75%;
        min-width: 260px;
    }
}

@media (max-width: 576px) {
    .trend-card {
        flex: 0 0 85%;
        min-width: 240px;
    }
}

/* Promotional Banner */
.promo-banner-section {
    padding: 24px 0;
    position: relative;
    z-index: 2;
}

.promo-banner {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background: transparent !important;
    max-width: 1370px;
    width: 100%;
    margin: 0 auto;
}

.promo-banner__bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Overlay removed — user requested no overlay on banner */

.promo-banner__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 16px 20px;
}

.promo-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 20px;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.promo-banner__subtitle {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.promo-banner__title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.3;
}

.promo-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--main-color, #e74c3c);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.promo-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .highlights-section>.container {
        padding: 24px 16px 64px;
        border-radius: 14px;
    }

    .promo-banner-section {
        margin-top: -90px;
    }

    .promo-banner {
        border-radius: 0;
    }

    .promo-banner__title {
        font-size: 18px;
    }

    .promo-banner__badge {
        font-size: 11px;
        padding: 6px 14px;
    }
}

/* ================================================
   TRENDING SECTION (Dark Video Scroll)
   ================================================ */
.trending-section {
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 30%, #0f3460 70%, #0a1628 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.trending-scroll {
    position: relative;
    overflow: hidden;
}

.trending-scroll__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.trending-scroll__track::-webkit-scrollbar {
    height: 6px;
}

.trending-scroll__track::-webkit-scrollbar-track {
    background: transparent;
}

.trending-scroll__track::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.trend-card {
    flex: 0 0 calc(25% - 15px);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    scroll-snap-align: start;
}

.trend-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.trend-card__media {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.trend-card__media video,
.trend-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trend-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.trend-card__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0f3460;
    transition: opacity 0.3s;
    z-index: 2;
}

.trend-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 52, 96, 0.85);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.trend-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    font-size: 36px;
    color: rgba(255, 255, 255, 0.2);
}

.trend-card__body {
    padding: 16px;
}

.trend-card__title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trend-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.trend-card__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
}

.trend-card__author {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trend-card__time {
    white-space: nowrap;
}

/* Floating hearts */
.trending-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.trending-heart {
    position: absolute;
    bottom: -30px;
    animation: floatHeart linear forwards;
    opacity: var(--heart-opacity, 0.4);
}

@keyframes floatHeart {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: var(--heart-opacity, 0.4);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ================================================
   REEL VIEWER (TikTok-Style Fullscreen)
   ================================================ */
.reel-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    background: #000;
}

.reel-viewer--active {
    display: block;
}

.reel-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
}

.reel-viewer__close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.reel-viewer__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.reel-viewer__nav {
    position: absolute;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.reel-viewer__nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.reel-viewer__nav--prev {
    top: 80px;
}

.reel-viewer__nav--next {
    top: 140px;
}

.reel-viewer__slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.reel-viewer__slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-viewer__slide:nth-child(1) {
    top: 0;
}

.reel-viewer__slide:nth-child(2) {
    top: 100%;
}

.reel-viewer__slide:nth-child(3) {
    top: 200%;
}

.reel-viewer__slide:nth-child(4) {
    top: 300%;
}

.reel-viewer__slide:nth-child(5) {
    top: 400%;
}

.reel-viewer__slide:nth-child(6) {
    top: 500%;
}

.reel-viewer__slide:nth-child(7) {
    top: 600%;
}

.reel-viewer__slide:nth-child(8) {
    top: 700%;
}

.reel-viewer__slide:nth-child(9) {
    top: 800%;
}

.reel-viewer__slide:nth-child(10) {
    top: 900%;
}

.reel-viewer__video,
.reel-viewer__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Sidebar */
.reel-viewer__sidebar {
    position: absolute;
    right: 16px;
    bottom: 160px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reel-viewer__reactions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reel-viewer__emoji {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s;
    backdrop-filter: blur(6px);
}

.reel-viewer__emoji:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.15);
}

.reel-viewer__emoji--active {
    background: rgba(229, 57, 53, 0.3);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.4);
}

.reel-viewer__emoji-icon {
    font-size: 22px;
    line-height: 1;
}

.reel-viewer__emoji-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.reel-viewer__action {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.reel-viewer__action:hover {
    background: rgba(255, 255, 255, 0.2);
}

.reel-viewer__action i {
    font-size: 20px;
}

.reel-viewer__count {
    font-size: 12px;
}

/* Info overlay */
.reel-viewer__info {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 100px;
    z-index: 10;
    color: #fff;
}

.reel-viewer__author {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.reel-viewer__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.reel-viewer__views {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Comments Panel */
.reel-viewer__comments {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 20;
    display: flex;
    flex-direction: column;
}

.reel-viewer__comments--open {
    transform: translateY(0);
}

.reel-viewer__comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-viewer__comments-header h4 {
    color: #fff;
    margin: 0;
    font-size: 16px;
}

.reel-viewer__comments-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
}

.reel-viewer__comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}

.reel-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.reel-comment__avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 32px;
}

.reel-comment__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.reel-comment__body {
    flex: 1;
}

.reel-comment__body strong {
    color: #fff;
    font-size: 14px;
}

.reel-comment__body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 4px 0;
}

.reel-comment__body small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.reel-comments__empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 30px 0;
    font-size: 14px;
}

.reel-viewer__comments-input {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.reel-viewer__comments-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.reel-viewer__comments-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.reel-viewer__comments-input input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.reel-viewer__comments-input button {
    background: linear-gradient(135deg, #e53935, #ff6f60);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

.reel-viewer__comments-input button:hover {
    transform: scale(1.1);
}

/* ================================================================
   WARD VIDEO POPUP — Container layout (player + sidebar)
   Used by ward-video.js popup, different from trending slide-based layout
   ================================================================ */

/* Container: flexbox with player + sidebar */
.reel-viewer__container {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: stretch;
}

/* Player area: 2/3 width */
.reel-viewer__container .reel-viewer__player {
    flex: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.reel-viewer__container .reel-viewer__player iframe,
.reel-viewer__container .reel-viewer__player video {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

/* Sidebar panel: 1/3 width, scrollable */
.reel-viewer__container>.reel-viewer__sidebar {
    position: relative;
    right: auto;
    bottom: auto;
    flex: 1;
    max-width: 380px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background: rgba(20, 20, 25, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Info section inside sidebar */
.reel-viewer__container .reel-viewer__info {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-viewer__container .reel-viewer__title {
    text-shadow: none;
    font-size: 16px;
}

.reel-viewer__container .reel-viewer__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin: 8px 0 0;
    line-height: 1.5;
}

/* Reactions inside sidebar */
.reel-viewer__container .reel-viewer__reactions {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reel-viewer__container .reel-viewer__reactions .reel-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.reel-viewer__container .reel-reaction-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reel-viewer__container .reel-reaction-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.reel-viewer__container .reel-reaction-btn.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.reel-viewer__container .reel-reaction-btn span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Comments panel inside sidebar */
.reel-viewer__comments-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reel-viewer__comments-panel .reel-viewer__comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px;
}

.reel-viewer__comments-panel .reel-no-comments {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    padding: 30px 0;
    font-size: 14px;
}

/* Comment form (ward popup) */
.reel-viewer__comment-form {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
}

.reel-viewer__comment-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.reel-viewer__comment-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.reel-viewer__comment-form input:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.reel-viewer__comment-form button {
    background: linear-gradient(135deg, #e53935, #ff6f60);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.reel-viewer__comment-form button:hover {
    transform: scale(1.1);
}

/* Ward popup close button sits above container */
.reel-viewer__container .reel-viewer__close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

/* Responsive: Stack vertically on mobile */
@media (max-width: 768px) {
    .reel-viewer__container {
        flex-direction: column;
    }

    .reel-viewer__container .reel-viewer__player {
        flex: none;
        height: 45vh;
    }

    .reel-viewer__container>.reel-viewer__sidebar {
        max-width: 100%;
        min-width: 0;
        flex: 1;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Floating emoji */
.reel-viewer__float-emoji {
    position: absolute;
    font-size: 36px;
    bottom: 50%;
    animation: floatEmoji 1.5s ease-out forwards;
    pointer-events: none;
    z-index: 15;
}

@keyframes floatEmoji {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-200px) scale(1.8);
        opacity: 0;
    }
}

/* Toast */
.reel-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 20000;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reel-toast--show {
    transform: translateX(-50%) translateY(0);
}

.reel-toast--success {
    background: rgba(39, 174, 96, 0.9);
}

.reel-toast--warning {
    background: rgba(241, 196, 15, 0.9);
    color: #333;
}

.reel-toast--error {
    background: rgba(231, 76, 60, 0.9);
}

.reel-toast--info {
    background: rgba(52, 152, 219, 0.9);
}

/* ================================================
   TRENDING GRID PAGE (/xu-huong)
   ================================================ */
.trending-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.trending-page {
    padding-top: 40px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f0f2f5 0%, #fff 100%);
    min-height: 60vh;
}

.trending-page .section-title__heading {
    font-size: 28px;
}

.trending-page .section-title__tagline {
    color: #666;
    font-size: 15px;
    margin-top: 4px;
}

.trending-grid__badge-yt {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 2;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    margin-bottom: 16px;
    color: #ccc;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.trending-grid__card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.trending-grid__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.trending-grid__media {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    background: #1a1a2e;
}

.trending-grid__media video,
.trending-grid__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.trending-grid__card:hover .trending-grid__media video,
.trending-grid__card:hover .trending-grid__media img {
    transform: scale(1.05);
}

.trending-grid__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.trending-grid__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #0f3460;
    transition: opacity 0.3s;
    z-index: 2;
}

.trending-grid__category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 52, 96, 0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.trending-grid__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.15);
}

.trending-grid__body {
    padding: 16px;
}

.trending-grid__title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-grid__meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.trending-grid__meta i {
    margin-right: 3px;
}

.trending-grid__author {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================================
   TRENDING DETAIL (/xu-huong/{id})
   ================================================ */
.trending-detail {
    padding: 30px 0 60px;
    background: #f0f2f5;
}

.trending-detail__breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.trending-detail__breadcrumb a {
    color: #0f3460;
    text-decoration: none;
}

.trending-detail__breadcrumb a:hover {
    text-decoration: underline;
}

.trending-detail__breadcrumb i {
    font-size: 10px;
    margin: 0 6px;
    color: #ccc;
}

.trending-detail__layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.trending-detail__player {
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.trending-detail__player video,
.trending-detail__player img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trending-detail__info {
    padding: 20px 0 16px;
}

.trending-detail__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.trending-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #666;
}

.trending-detail__author {
    font-weight: 500;
}

.trending-detail__category {
    background: #e8eaf6;
    color: #3949ab;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Reactions */
.trending-detail__reactions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.trending-detail__emoji {
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.trending-detail__emoji:hover {
    background: #fff;
    border-color: #e53935;
    transform: scale(1.08);
}

.trending-detail__emoji--active {
    background: #fde8e8;
    border-color: #e53935;
    transform: scale(1.1);
}

.trending-detail__emoji-icon {
    font-size: 20px;
}

.trending-detail__emoji-count {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.trending-detail__reaction-total {
    margin-left: auto;
    font-size: 13px;
    color: #888;
}

/* Comments */
.trending-detail__comments {
    margin-top: 24px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.trending-detail__comments-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.trending-detail__comment-input-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.trending-detail__comment-input-wrap input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.trending-detail__comment-input-wrap input:focus {
    border-color: #0f3460;
}

.trending-detail__comment-input-wrap button {
    background: linear-gradient(135deg, #0f3460, #16537e);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.trending-detail__comment-input-wrap button:hover {
    opacity: 0.9;
}

.trending-detail__login-prompt {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 16px;
}

.trending-detail__comment {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.trending-detail__comment:last-child {
    border-bottom: none;
}

.trending-detail__comment-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: #ccc;
    font-size: 34px;
}

.trending-detail__comment-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.trending-detail__comment-body {
    flex: 1;
}

.trending-detail__comment-body strong {
    font-size: 14px;
    color: #1a1a2e;
}

.trending-detail__comment-body p {
    font-size: 14px;
    color: #444;
    margin: 4px 0;
}

.trending-detail__comment-body small {
    font-size: 12px;
    color: #999;
}

.trending-detail__no-comments {
    text-align: center;
    color: #aaa;
    padding: 20px;
    font-size: 14px;
}

.trending-detail__flash {
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
}

.trending-detail__flash--success {
    background: #e8f5e9;
    color: #2e7d32;
}

/* Sidebar */
.trending-detail__sidebar {
    position: sticky;
    top: 80px;
}

.trending-detail__sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.trending-detail__sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.trending-sidebar-card {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.trending-sidebar-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.trending-sidebar-card__thumb {
    position: relative;
    width: 120px;
    min-height: 70px;
    flex-shrink: 0;
    background: #1a1a2e;
}

.trending-sidebar-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-sidebar-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.trending-sidebar-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #0f3460;
}

.trending-sidebar-card__info {
    padding: 8px 10px;
    flex: 1;
}

.trending-sidebar-card__info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-sidebar-card__info span {
    font-size: 11px;
    color: #888;
    margin-right: 8px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #aaa;
}

.empty-state i {
    margin-bottom: 16px;
}

/* Admin tabs */
.admin-tabs {
    display: flex;
    gap: 4px;
    background: #f0f2f5;
    padding: 4px;
    border-radius: 12px;
    width: fit-content;
}

.admin-tab {
    padding: 8px 16px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-tab:hover {
    background: #e0e0e0;
}

.admin-tab--active {
    background: #fff;
    color: #1a1a2e;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ================================================
   TRENDING RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .trend-card {
        flex: 0 0 calc(33.33% - 14px);
        min-width: 220px;
    }

    .trending-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trending-detail__layout {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 768px) {
    .trend-card {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .trending-detail__layout {
        grid-template-columns: 1fr;
    }

    .trending-detail__sidebar {
        position: static;
    }

    .reel-viewer__nav {
        display: none;
    }

    .reel-viewer__sidebar {
        right: 8px;
        bottom: 120px;
    }

    .reel-viewer__emoji {
        padding: 6px;
    }

    .reel-viewer__emoji-icon {
        font-size: 18px;
    }

    .reel-viewer__info {
        left: 12px;
        right: 60px;
        bottom: 30px;
    }

    .reel-viewer__title {
        font-size: 15px;
    }

    .reel-viewer__comments {
        height: 65%;
    }
}

@media (max-width: 480px) {
    .trend-card {
        flex: 0 0 85%;
        min-width: 240px;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .trending-section {
        padding: 40px 0;
    }

    .trending-detail__title {
        font-size: 18px;
    }

    .trending-detail__reactions {
        gap: 4px;
    }

    .trending-detail__emoji {
        padding: 4px 8px;
    }

    .trending-detail__emoji-icon {
        font-size: 16px;
    }
}

/* Gradient sea title */
.section-title--gradient-sea {
    background: linear-gradient(135deg, #ffffff 0%, #b3e5fc 40%, #4fc3f7 70%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================================
   WARD NEWS SECTION — Điểm tin phường Vũng Tàu
   ================================================================ */

/* Section — Ward news background */
.ward-news-section {
    background: #FFF7F7 url(/assets/images/bg-trong-dong.webp) center;
    padding: 40px 0 48px;
    margin: 0 -100vw;
    padding-left: 100vw;
    padding-right: 100vw;
    position: relative;
}

/* Title row — flex for button far-right */
.ward-news-section .section-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Section title — Red gradient text */
.section-title--ward {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 800;
}

.section-title--ward .ward-logo {
    display: inline-block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.section-title:has(.section-title--ward)::after {
    display: none;
}

/* "Xem thêm" button — push to far right */
.ward-news-section .section-title__more--ward {
    margin-left: auto;
}

/* Frame bottom dưới title — full width */
.ward-title-frame {
    margin: -8px 0 20px;
    line-height: 0;
}

.ward-title-frame img {
    width: 100%;
    height: auto;
}

.section-title__more--ward {
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    background: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
}

.section-title__more--ward:hover {
    color: #fff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    transform: translateY(-1px);
}

/* Main grid: 2 columns */
.ward-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ward-news-grid__left,
.ward-news-grid__right {
    min-width: 0;
}

/* Featured row: 2 large posts side by side */
.ward-featured-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.ward-post-featured {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(252, 165, 165, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ward-post-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
}

.ward-post-featured__img {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.ward-post-featured__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ward-post-featured:hover .ward-post-featured__img img {
    transform: scale(1.05);
}

.ward-post-featured__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #dc2626;
}

.ward-post-featured__title {
    padding: 12px 12px 4px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-post-featured__excerpt {
    padding: 0 12px;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-post-featured__date {
    display: block;
    padding: 8px 12px 12px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Small posts row: 3 cards */
.ward-small-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ward-post-small {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(252, 165, 165, 0.3);
    transition: transform 0.3s;
}

.ward-post-small:hover {
    transform: translateY(-3px);
}

.ward-post-small__img {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
}

.ward-post-small__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ward-post-small__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #dc2626;
}

.ward-post-small__title {
    padding: 8px 10px 4px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-post-small__excerpt {
    padding: 0 10px 8px;
    font-size: 0.75rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video header */
.ward-video-header {
    margin-bottom: 12px;
}

.ward-video-header__title {
    font-size: 1rem;
    color: #ef4444;
    font-weight: 700;
}

.ward-video-header__title i {
    margin-right: 6px;
}

/* Video main card */
.ward-video-main {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(252, 165, 165, 0.3);
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 12px;
}

.ward-video-main:hover {
    transform: translateY(-3px);
}

.ward-video-main__thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.ward-video-main__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ward-video-main__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #dc2626;
}

.ward-video-main__title {
    padding: 10px 12px 4px;
    font-size: 0.9rem;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-video-main__stats {
    padding: 4px 12px 10px;
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: #6b7280;
}

.ward-video-main__stats span i {
    margin-right: 4px;
}

/* Play button overlay */
.ward-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
    z-index: 2;
}

.ward-video-play--sm {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

.ward-video-main:hover .ward-video-play,
.ward-video-card:hover .ward-video-play {
    background: rgba(239, 68, 68, 0.85);
    transform: translate(-50%, -50%) scale(1.1);
}

.ward-video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    z-index: 2;
}

/* Video grid 2x2 */
.ward-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ward-video-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(252, 165, 165, 0.3);
    cursor: pointer;
    transition: transform 0.3s;
}

.ward-video-card:hover {
    transform: translateY(-3px);
}

.ward-video-card__thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.ward-video-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ward-video-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #64748b;
}

.ward-video-card__title {
    padding: 8px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-empty {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 0.9rem;
}

/* ================================================================
   WARD LISTING PAGE — /diem-tin-phuong-vung-tau
   ================================================================ */

.ward-listing-page {
    padding: 40px 0 60px;
}

.ward-listing-header {
    text-align: center;
    margin-bottom: 32px;
}

.ward-listing-header__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a237e;
}

.ward-listing-header__title i {
    margin-right: 8px;
    color: #283593;
}

.ward-listing-header__sub {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 1rem;
}

/* Filter bar */
.ward-filter-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.ward-filter-btn {
    padding: 8px 20px;
    border-radius: 24px;
    background: var(--card-bg, #1e293b);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.ward-filter-btn:hover {
    background: #283593;
    color: #fff;
}

.ward-filter-btn.active {
    background: #1a237e;
    color: #fff;
    border-color: #3949ab;
}

.ward-filter-btn i {
    margin-right: 6px;
}

/* Grid listing */
.ward-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ward-listing-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg, #1e293b);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.ward-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ward-listing-card__img {
    position: relative;
    width: 100%;
    padding-top: 56%;
    overflow: hidden;
}

.ward-listing-card__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ward-listing-card:hover .ward-listing-card__img img {
    transform: scale(1.05);
}

.ward-listing-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #64748b;
}

.ward-listing-card__type {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26, 35, 126, 0.85);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    z-index: 2;
}

.ward-listing-card__type--video {
    background: rgba(239, 68, 68, 0.85);
}

.ward-listing-card__body {
    padding: 14px;
}

.ward-listing-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-listing-card__desc {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ward-listing-card__meta {
    display: flex;
    gap: 14px;
    font-size: 0.75rem;
    color: #64748b;
    flex-wrap: wrap;
}

.ward-listing-card__meta span i {
    margin-right: 3px;
}

.ward-listing-empty {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.ward-listing-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

/* Pagination */
.ward-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.ward-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--card-bg, #1e293b);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s;
}

.ward-pagination__btn:hover {
    background: #283593;
    color: #fff;
}

.ward-pagination__btn.active {
    background: #1a237e;
    color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .ward-news-grid {
        grid-template-columns: 1fr;
    }

    .ward-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ward-featured-row {
        grid-template-columns: 1fr;
    }

    .ward-small-row {
        grid-template-columns: 1fr 1fr;
    }

    .ward-listing-grid {
        grid-template-columns: 1fr;
    }

    .ward-listing-header__title {
        font-size: 1.3rem;
    }

    .section-title--ward {
        font-size: 1rem;
    }
}

/* ================================================================
   POST AUTHOR BOX
   ================================================================ */
.post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    float: right;
    max-width: 420px;
    transition: box-shadow 0.3s, transform 0.2s;
}

.post-author-box:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.post-author-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.post-author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-box__avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent, #f59e0b));
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.post-author-box__info {
    flex: 1;
    min-width: 0;
}

.post-author-box__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}

.post-author-box__name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}

.post-author-box__date {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.post-author-box__date i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .post-author-box {
        float: none;
        max-width: 100%;
    }
}

/* =====================================================
   EVENTS — Homepage Section, Cards, Detail, Countdown, Booking
   ===================================================== */

/* Homepage dark section */
.event-home-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.event-home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.event-home-section .container {
    position: relative;
    z-index: 1;
}

.section-title--dark .section-title__heading {
    color: #fff;
}

.section-title--dark::after {
    display: none;
}

.section-title__more--white {
    color: rgba(255, 255, 255, 0.7);
}

.section-title__more--white:hover {
    color: #fff;
}

.section-title--gradient-fire::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ef4444);
    margin-top: 8px;
    border-radius: 2px;
}

/* Event Card */
.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.event-card--dark {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-card--dark .event-card__title a {
    color: #fff;
}

.event-card--dark .event-card__title a:hover {
    color: #f97316;
}

.event-card__img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-card__img img {
    transform: scale(1.08);
}

.event-card__badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card__date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(249, 115, 22, 0.95);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    line-height: 1.1;
    min-width: 50px;
}

.event-card__day {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.event-card__month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-card__body {
    padding: 16px 20px 20px;
}

.event-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card__title a {
    color: var(--text-dark);
    text-decoration: none;
}

.event-card__title a:hover {
    color: var(--main-color);
}

.event-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.event-card__meta i {
    margin-right: 4px;
}

.event-card__footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.event-card--dark .event-card__footer {
    border-color: rgba(255, 255, 255, 0.1);
}

.event-card__price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #f97316;
}

.event-card__price--free {
    color: #10b981;
}

/* Detail Page */
.event-detail__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.event-detail__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Prevent Swiper from overflowing grid column */
.event-detail__main {
    min-width: 0;
    overflow: hidden;
}

.event-detail__hero {
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
}

.event-detail__hero img,
.event-detail__featured-img {
    width: 100%;
    border-radius: 16px;
    max-height: 500px;
    object-fit: cover;
}

.event-detail__content {
    line-height: 1.8;
    color: var(--text-body);
}

.event-detail__content img {
    max-width: 100%;
    border-radius: 12px;
}

/* Sidebar */
.event-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.event-sidebar__heading {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

/* Countdown */
.event-countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.event-countdown__item {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 12px;
    padding: 12px 4px;
    text-align: center;
    color: #fff;
}

.event-countdown__num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.event-countdown__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.85;
}

/* Sidebar items */
.event-sidebar__item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.event-sidebar__item:last-of-type {
    border-bottom: none;
}

.event-sidebar__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.event-sidebar__item small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.event-sidebar__item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.event-sidebar__item span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.event-sidebar__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--main-color);
    font-weight: 600;
    margin-top: 4px;
}

.event-sidebar__cat-tag {
    color: var(--main-color) !important;
}

/* Sidebar CTA */
.event-sidebar__cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid var(--border);
    text-align: center;
}

.event-sidebar__price {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 12px;
}

.event-sidebar__price strong {
    display: inline;
    font-size: 24px;
    color: #f97316;
}

.event-sidebar__free {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
}

.event-sidebar__book-btn {
    display: block;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.event-sidebar__book-btn:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

/* Booking Form */
.event-booking {
    background: var(--bg-section);
    border-radius: 16px;
    padding: 28px;
    margin-top: 32px;
}

.event-booking__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--text-dark);
}

.event-booking__title i {
    color: #f97316;
    margin-right: 8px;
}

.event-booking__login-notice {
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--text-body);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
}

.event-booking__login-notice a {
    color: var(--main-color);
}

.event-booking__row {
    margin-bottom: 16px;
}

.event-booking__row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.event-booking__input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.event-booking__input:focus {
    border-color: var(--main-color);
    outline: none;
}

.event-booking__total {
    font-size: 24px;
    font-weight: 800;
    color: #f97316;
}

.event-booking__banks {
    display: grid;
    gap: 12px;
}

.event-booking__bank-item {
    cursor: pointer;
}

.event-booking__bank-item input {
    display: none;
}

.event-booking__bank-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s;
}

.event-booking__bank-item input:checked+.event-booking__bank-card {
    border-color: var(--main-color);
    background: rgba(249, 115, 22, 0.05);
}

.event-booking__qr {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.event-booking__submit {
    width: 100%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.event-booking__submit:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-2px);
}

/* Gallery Swiper in detail */
.event-gallery-swiper {
    border-radius: 16px;
    overflow: hidden;
}

.event-gallery-swiper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event-gallery-swiper .swiper-button-next,
.event-gallery-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.event-gallery-swiper .swiper-button-next::after,
.event-gallery-swiper .swiper-button-prev::after {
    font-size: 16px;
}

.event-gallery-swiper .swiper-pagination-bullet-active {
    background: #f97316;
}

/* Filter bar (used on events listing) */
.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-bar a {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-section);
    text-decoration: none;
    transition: all 0.2s;
}

.filter-bar a:hover,
.filter-bar a.active {
    background: var(--main-color);
    color: #fff;
}

/* 4-column grid for homepage events */
.cards-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .event-detail__grid {
        grid-template-columns: 1fr;
    }

    .event-sidebar {
        position: static;
    }

    .cards-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cards-grid--4 {
        grid-template-columns: 1fr;
    }

    .event-countdown__num {
        font-size: 22px;
    }

    .event-detail__title {
        font-size: 22px;
    }

    .event-gallery-swiper img {
        height: 250px;
    }
}

/* Admin stat cards */
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stat-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-card__label {
    font-size: 12px;
    color: var(--text-muted);
}

.stat-card__number {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
}

/* ---- Highlights Title (Orange Gradient + Line) ---- */
.hl-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hl-section-title::after {
    display: none;
}

.hl-title {
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.hl-title__line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 2px;
}

/* ---- Highlights Slider ---- */
.hl-slider {
    display: flex;
    flex-direction: column;
    position: relative;
}

.hl-slider__nav {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.hl-slider__btn {
    width: 34px;
    height: 34px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #555;
    transition: all 0.2s;
}

.hl-slider__btn:hover {
    border-color: #ea580c;
    color: #ea580c;
    background: #fff5f0;
}

/* Track: show 3 items, hide the rest */
.hl-slider__track {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    position: relative;
}

.hl-slide-item {
    display: none;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    animation: hlFadeIn 0.35s ease;
    flex-shrink: 0;
}

.hl-slide-item.hl-slide-item--visible {
    display: flex;
}

.hl-slide-item:last-child {
    border-bottom: none;
}

@keyframes hlFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hl-slide-item:hover .hl-slide-item__title {
    color: #ea580c;
}

.hl-slide-item__thumb {
    width: 110px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.hl-slide-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-slide-item__body {
    flex: 1;
    min-width: 0;
}

.hl-slide-item__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.hl-slide-item__date {
    font-size: 12px;
    color: #999;
}

.hl-slide-item__title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

/* Progress bar */
.hl-slider__progress {
    height: 3px;
    background: #eee;
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.hl-slider__bar {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33%;
}

/* ---- Hòn Bà Widget Icon ---- */
.info-ticker__icon--honba {
    background: transparent !important;
    padding: 0 !important;
    overflow: hidden;
}

.info-ticker__logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.info-ticker__honba .info-ticker__label {
    font-weight: 700;
}

/* ---- Hòn Bà Schedule Page ---- */
.honba-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.honba-page-header__info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.honba-page-header__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 2px solid #e5e7eb;
}

.honba-page-header__logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.honba-page-header__title {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #f97316, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.honba-page-header__desc {
    font-size: 14px;
    color: #6b7280;
    margin: 2px 0 0;
}

.honba-month-picker {
    display: flex;
    gap: 6px;
    align-items: center;
}

.honba-month-picker select {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

.honba-month-picker button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.honba-month-picker button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.honba-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.honba-stats__card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.honba-stats__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.honba-stats__num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.honba-stats__card--total .honba-stats__num {
    color: #3b82f6;
}

.honba-stats__card--ok .honba-stats__num {
    color: #22c55e;
}

.honba-stats__card--no .honba-stats__num {
    color: #ef4444;
}

.honba-stats__label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.honba-today {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 2px solid #fdba74;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.honba-today--open {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #6ee7b7;
}

.honba-today__badge {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.honba-today__date {
    display: flex;
    flex-direction: column;
}

.honba-today__dow {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a2e;
}

.honba-today__day {
    font-size: 13px;
    color: #6b7280;
    font-family: monospace;
}

.honba-today__time {
    font-size: 22px;
    font-weight: 800;
    color: #0d9488;
    letter-spacing: 1px;
}

.honba-today__closed {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
}

.honba-today__countdown {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    margin-left: auto;
}

.honba-today__countdown--waiting {
    background: #fff7ed;
    color: #f97316;
}

.honba-today__countdown--open {
    background: #ecfdf5;
    color: #059669;
    animation: honbaPulse 2s ease-in-out infinite;
}

.honba-today__countdown--closed {
    background: #fef2f2;
    color: #6b7280;
}

@keyframes honbaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0);
    }
}

.honba-table-wrap {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.honba-table {
    width: 100%;
    border-collapse: collapse;
}

.honba-table thead th {
    background: linear-gradient(135deg, #1e3a5f, #0d2137);
    color: #fff;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.honba-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.honba-table tbody tr:last-child {
    border-bottom: none;
}

.honba-table tbody tr:hover {
    background: #f8fafc !important;
}

.honba-table__today {
    background: #fffbeb !important;
    border-left: 4px solid #f97316;
}

.honba-table__weekend {
    background: #f0f7ff !important;
}

.honba-table__no {
    opacity: 0.75;
}

.honba-table td {
    padding: 12px 20px;
    font-size: 14px;
}

.honba-table__dow {
    font-weight: 600;
    color: #374151;
    min-width: 130px;
}

.honba-table__weekend .honba-table__dow {
    color: #3b82f6;
    font-weight: 700;
}

.honba-table__badge {
    display: inline-block;
    background: #f97316;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.honba-table__date {
    font-family: monospace;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.honba-table__timerange {
    font-weight: 700;
    color: #059669;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.honba-table__unavail {
    color: #ef4444;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.honba-table__note {
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

.honba-info {
    display: flex;
    gap: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
}

.honba-info__icon {
    font-size: 20px;
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 768px) {
    .honba-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .honba-stats {
        gap: 8px;
    }

    .honba-stats__card {
        padding: 14px 8px;
    }

    .honba-stats__num {
        font-size: 24px;
    }

    .honba-today {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .honba-today__countdown {
        margin-left: 0;
    }

    .honba-today__time {
        font-size: 18px;
    }

    .honba-table td {
        padding: 10px 12px;
    }

    .honba-table__timerange {
        font-size: 13px;
    }
}