/**
 * Stylesheet cho trang: NGƯỜI THẬT - XE THẬT - TRẢI NGHIỆM THẬT (GoBike Community Experience)
 * 
 * QUY CHUẨN THIẾT KẾ BẮT BUỘC:
 * 1. Font-weight tối đa là 700 (Tuyệt đối không dùng 800 hoặc 900).
 * 2. Tất cả các nút/link có mũi tên (rarr) bắt buộc white-space: nowrap !important, display: inline-flex, chống rớt dòng.
 * 3. Khung hình card dọc tỷ lệ Shorts chuẩn (aspect-ratio 9/14 hoặc padding-bottom), ảnh cover chống méo.
 * 4. Không dùng style inline bừa bãi trong file template.
 */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */

.gb-ce-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.gb-ce-breadcrumb-wrap {
    padding: 16px 0 10px;
}

.gb-ce-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gb-ce-breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.gb-ce-breadcrumb a:hover {
    color: #044b25;
}

.gb-ce-breadcrumb .sep {
    color: #94a3b8;
    font-size: 11px;
}

.gb-ce-breadcrumb .current {
    color: #0f172a;
    font-weight: 600;
}

/* ==========================================================================
   SECTION 1: HERO BANNER FULL-WIDTH (CỘNG ĐỒNG GOBIKE)
   ========================================================================== */
.gb-ce-hero-section {
    position: relative;
    width: 100%;
    min-height: 440px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* Ảnh nền toàn cảnh tràn viền 100% */
.gb-ce-hero-bg-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gb-ce-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Lớp phủ gradient trắng mềm mại từ trái sang phải */
.gb-ce-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        rgba(255, 255, 255, 0.98) 32%,
        rgba(255, 255, 255, 0.88) 46%,
        rgba(255, 255, 255, 0.35) 64%,
        rgba(255, 255, 255, 0) 84%
    );
}

/* Inner container căn giữa 1240px thẳng lề với các khối bên dưới */
.gb-ce-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 16px 36px 16px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gb-ce-hero-inner .gb-ce-breadcrumb-wrap {
    padding: 0 0 16px 0;
}

.gb-ce-hero-content {
    max-width: 540px;
}

.gb-ce-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #044b25;
    background: #e8f7ee;
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 14px;
}

.gb-ce-hero-title {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

.gb-ce-hero-title .gb-ce-highlight {
    color: #044b25;
    display: block;
}

.gb-ce-hero-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 480px;
}

/* 3 Chỉ số thống kê (Stats) */
.gb-ce-stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    padding-top: 20px;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.gb-ce-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Đường kẻ dọc ngăn cách giữa các khối stats như ảnh 2 */
.gb-ce-stat-item:not(:last-child)::after {
    content: "";
    display: block;
    width: 1px;
    height: 32px;
    background-color: #cbd5e1;
    margin-left: 20px;
}

.gb-ce-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #044b25;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gb-ce-stat-icon svg {
    width: 18px;
    height: 18px;
}

.gb-ce-stat-info {
    display: flex;
    flex-direction: column;
}

.gb-ce-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.gb-ce-stat-label {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Dòng chữ viết tay nghệ thuật phía bên phải banner */
.gb-ce-hero-quote-art {
    position: absolute;
    bottom: 32px;
    right: 28px;
    font-family: 'Caveat', 'Dancing Script', cursive;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transform: rotate(-3deg);
    z-index: 3;
}

/* Stats Bar độc lập dưới banner: Ẩn mặc định trên Desktop, hiển thị trên Tablet & Mobile */
.gb-ce-stats-mobile-section {
    display: none;
}

/* ==========================================================================
   SECTION 2: FILTER BAR (FULL-WIDTH, KHÔNG BO VIỀN)
   ========================================================================== */
.gb-ce-filter-section {
    width: 100%;
    background: transparent !important;
    border-bottom: none !important;
    margin-bottom: 24px;
}

.gb-ce-filter-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gb-ce-filter-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.gb-ce-filter-tabs::-webkit-scrollbar {
    display: none;
}

.gb-ce-tab-btn {
    display: inline-block;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    outline: none;
    background: #ffffff;
    color: #475569;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gb-ce-tab-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
    text-decoration: none !important;
}

.gb-ce-tab-btn.active {
    background: #044b25;
    color: #ffffff;
    border-color: #044b25;
    text-decoration: none !important;
}

.gb-ce-sort-dropdown-wrap select {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gb-ce-sort-dropdown-wrap select:focus {
    border-color: #044b25;
}

/* ==========================================================================
   SECTION 3: LƯỚI CARD CÂU CHUYỆN NỔI BẬT (6 CỘT - DỌC 9:16)
   ========================================================================== */
.gb-ce-stories-section {
    margin-bottom: 40px;
}

.gb-ce-sec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.gb-ce-sec-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-ce-sec-icon-leaf {
    color: #044b25;
    display: flex;
    align-items: center;
}

.gb-ce-sec-icon-leaf svg {
    width: 20px;
    height: 20px;
}

.gb-ce-sec-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Link Xem tất cả với quy chuẩn chống rớt dòng */
.gb-ce-link-all {
    font-size: 13px;
    font-weight: 700;
    color: #044b25;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.gb-ce-link-all:hover {
    color: #03381b;
    transform: translateX(3px);
}

/* Lưới 6 cột theo thiết kế ảnh */
.gb-ce-stories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

/* Từng card câu chuyện */
.gb-ce-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.gb-ce-card:hover {
    transform: translateY(-4px);
}

/* Khung ảnh tỷ lệ dọc Shorts */
.gb-ce-card-thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 14;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.gb-ce-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gb-ce-card:hover .gb-ce-card-img {
    transform: scale(1.06);
}

/* Overlay gradient che nhẹ để nổi bật quote & badge */
.gb-ce-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
}

/* Câu quote nghệ thuật phía trên card */
.gb-ce-card-quote {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 28px;
    font-family: 'Caveat', 'Dancing Script', cursive;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 2;
}

/* Nút 3 chấm menu góc phải trên */
.gb-ce-card-dots {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.85);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.gb-ce-card-dots:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Nút Play tròn ở giữa */
.gb-ce-card-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.gb-ce-card-play-btn svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.gb-ce-card:hover .gb-ce-card-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(4, 75, 37, 0.85);
    border-color: #ffffff;
}

/* Badge lượt xem góc dưới */
.gb-ce-card-views {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 3px 8px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.gb-ce-card-views svg {
    width: 12px;
    height: 12px;
}

/* Thông tin dưới card */
.gb-ce-card-info {
    padding: 8px 2px 2px 2px;
}

.gb-ce-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.gb-ce-card:hover .gb-ce-card-title {
    color: #044b25;
}

.gb-ce-card-location {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.gb-ce-card-location svg {
    width: 13px;
    height: 13px;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Nút Xem thêm câu chuyện ở giữa đáy */
.gb-ce-loadmore-wrap {
    text-align: center;
    margin-top: 10px;
}

.gb-ce-loadmore-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    text-decoration: none;
}

.gb-ce-loadmore-btn:hover {
    background: #f8fafc;
    border-color: #044b25;
    color: #044b25;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 75, 37, 0.12);
}

/* ==========================================================================
   SECTION 4: COMMUNITY CALLOUT BANNER (KHỐI LAN TỎA HÀNH TRÌNH THẬT)
   ========================================================================== */
.gb-ce-community-section {
    margin-bottom: 48px;
}

.gb-ce-comm-box {
    background: #eaf8ef;
    border-radius: 24px;
    padding: 38px 42px;
    border: 1px solid #d1fae5;
    display: grid;
    grid-template-columns: 1.15fr 1.25fr 1.1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 4px 16px rgba(4, 75, 37, 0.04);
}

/* Cột 1: Quote & Social Proof (Tiêu đề to, nổi bật theo ảnh mẫu 3) */
.gb-ce-comm-quote-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(4, 75, 37, 0.16);
    padding-right: 32px;
}

.gb-ce-comm-quote-text {
    font-size: 24px;
    font-weight: 700;
    color: #064e3b;
    line-height: 1.35;
    margin: 0 0 10px 0;
}

.gb-ce-comm-quote-author {
    font-size: 14.5px;
    color: #044b25;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.gb-ce-comm-avatars-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gb-ce-comm-avatar-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.gb-ce-comm-avatar-group img {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff;
    margin-left: -10px;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.gb-ce-comm-avatar-group img:first-child {
    margin-left: 0;
}

.gb-ce-comm-avatar-caption {
    font-size: 13px;
    color: #044b25;
    line-height: 1.4;
    font-weight: 500;
    max-width: 220px;
}

/* Cột 2: 3 bước tham gia & Nút CTA (Icon to rõ nét theo ảnh mẫu 3) */
.gb-ce-comm-steps-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gb-ce-comm-steps-title {
    display: none; /* Mặc định ẩn trên desktop, hiện trên mobile */
}

.gb-ce-comm-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    margin-bottom: 24px;
}

.gb-ce-comm-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 110px;
}

.gb-ce-comm-step-icon-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.gb-ce-comm-step-icon {
    width: 52px;
    height: 52px;
    background: transparent;
    color: #044b25;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
}

.gb-ce-comm-step-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.8;
}

.gb-ce-step-number {
    display: none !important;
}

.gb-ce-step-arrow {
    display: none !important;
}

.gb-ce-comm-step-text {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.gb-ce-comm-cta-btn {
    background: #03381b;
    color: #ffffff;
    padding: 13px 32px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(3, 56, 27, 0.28);
    transition: all 0.25s ease;
}

.gb-ce-comm-cta-btn:hover {
    background: #044b25;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(3, 56, 27, 0.38);
    color: #ffffff;
}

/* Cột 3: Ảnh Polaroid collage & Chữ ký nghệ thuật (Ảnh to rõ theo ảnh mẫu 3) */
.gb-ce-comm-polaroid-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.gb-ce-polaroid-stack {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin-bottom: 12px;
}

.gb-ce-polaroid-item {
    background: #ffffff;
    padding: 6px 6px 20px 6px;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform-origin: bottom center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin: 0 -12px;
}

.gb-ce-polaroid-item:nth-child(1) {
    transform: rotate(-10deg) translateY(4px);
    z-index: 1;
}

.gb-ce-polaroid-item:nth-child(2) {
    transform: rotate(-3deg) translateY(-8px);
    z-index: 2;
}

.gb-ce-polaroid-item:nth-child(3) {
    transform: rotate(5deg) translateY(-4px);
    z-index: 3;
}

.gb-ce-polaroid-item:nth-child(4) {
    transform: rotate(12deg) translateY(6px);
    z-index: 2;
}

.gb-ce-polaroid-item:hover {
    transform: scale(1.08) rotate(0deg) translateY(-10px);
    z-index: 10;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.gb-ce-polaroid-item img {
    width: 96px;
    height: 118px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.gb-ce-comm-polaroid-art {
    font-family: 'Caveat', 'Dancing Script', cursive;
    color: #064e3b;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 6px 0 0 0;
    line-height: 1.25;
}

.gb-ce-comm-polaroid-art span {
    font-size: 17px;
    display: inline-block;
    color: #044b25;
    margin-top: 2px;
}

/* ==========================================================================
   SECTION 5: BOTTOM CTA BANNER (BẠN CŨNG CÓ CÂU CHUYỆN ĐỂ KỂ? - FULL WIDTH)
   Toàn màn hình Edge-to-edge, bỏ toàn bộ bo viền theo ảnh mẫu 2
   ========================================================================== */
.gb-ce-bottom-cta-section {
    width: 100%;
    margin-bottom: 0;
    border-radius: 0 !important;
}

.gb-ce-bottom-banner {
    position: relative;
    border-radius: 0 !important;
    overflow: hidden;
    min-height: 200px;
    background: #0f172a;
    display: flex;
    align-items: center;
    width: 100%;
}

.gb-ce-bottom-banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    border-radius: 0 !important;
}

.gb-ce-bottom-banner-overlay {
    position: absolute;
    inset: 0;
    border-radius: 0 !important;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.15) 100%);
}

.gb-ce-bottom-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 46px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}

.gb-ce-bottom-banner-text {
    max-width: 680px;
}

.gb-ce-bottom-banner-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.gb-ce-bottom-banner-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.5;
}

.gb-ce-bottom-share-btn {
    background: #ffffff;
    color: #044b25;
    padding: 13px 30px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.gb-ce-bottom-share-btn:hover {
    background: #f1f5f9;
    color: #044b25;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Section 6 Mobile Polaroid Card: Mặc định ẩn trên Desktop */
.gb-ce-polaroid-mobile-section {
    display: none;
}

/* ==========================================================================
   VIDEO MODAL POPUP (XEM VIDEO THẬT)
   ========================================================================== */
.gb-ce-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gb-ce-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.gb-ce-modal-content {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 840px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    animation: gbCeSlideUp 0.3s ease;
}

@keyframes gbCeSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gb-ce-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.gb-ce-modal-close:hover {
    background: #044b25;
    color: #ffffff !important;
    text-decoration: none !important;
}

.gb-ce-modal-video-box {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
}

.gb-ce-modal-video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gb-ce-modal-info {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.gb-ce-modal-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #0f172a;
}

.gb-ce-modal-info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1100px) {
    .gb-ce-stories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gb-ce-comm-box {
        grid-template-columns: 1fr 1fr;
    }
    .gb-ce-comm-polaroid-col {
        grid-column: span 2;
        margin-top: 10px;
    }
}

@media (max-width: 860px) {
    .gb-ce-hero-section {
        min-height: 400px;
    }
    .gb-ce-hero-bg-img {
        object-position: 72% center; /* Canh vị trí cô gái đạp xe mỉm cười chuẩn góc phải */
    }
    .gb-ce-hero-bg-overlay {
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.94) 42%,
            rgba(255, 255, 255, 0.65) 68%,
            rgba(255, 255, 255, 0.25) 100%
        );
    }
    .gb-ce-hero-inner {
        min-height: 400px;
        padding: 16px 14px 22px 14px;
    }
    .gb-ce-hero-content {
        max-width: 100%;
    }
    .gb-ce-hero-title {
        font-size: 26px;
        line-height: 1.15;
        margin-bottom: 8px;
    }
    .gb-ce-hero-desc {
        font-size: 13px;
        line-height: 1.45;
        max-width: 250px;
        margin-bottom: 14px;
    }

    /* Ẩn stats bên trong banner trên tablet & mobile */
    .gb-ce-stats-desktop {
        display: none !important;
    }

    /* Hiển thị Khối Stats Bar độc lập nằm dưới banner trên nền trắng chuẩn ảnh 2 */
    .gb-ce-stats-mobile-section {
        display: block !important;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
        padding: 16px 0;
        margin-bottom: 16px;
    }

    .gb-ce-stats-mobile-inner {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        padding: 0 4px;
    }

    /* Đường kẻ dọc ngăn cách giữa các khối stats như ảnh 2 */
    .gb-ce-stats-mobile-inner .gb-ce-stat-item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 28px;
        background-color: #cbd5e1;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-icon {
        width: auto;
        height: auto;
        background: transparent;
        color: #044b25;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-icon svg {
        width: 24px;
        height: 24px;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-info {
        display: flex;
        flex-direction: column;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-number {
        font-size: 15px;
        font-weight: 700;
        color: #044b25;
        line-height: 1.1;
    }

    .gb-ce-stats-mobile-inner .gb-ce-stat-label {
        font-size: 11px;
        color: #334155;
        margin-top: 2px;
        line-height: 1.2;
    }

    .gb-ce-hero-quote-art {
        display: none; /* Ẩn trên mobile để không che cô gái */
    }

    /* Bộ lọc tabs vuốt ngang full-width không bo viền */
    .gb-ce-filter-section {
        margin-bottom: 16px;
        background: transparent !important;
        border-bottom: none !important;
    }
    .gb-ce-filter-inner {
        padding: 8px 14px;
    }
    .gb-ce-filter-tabs {
        width: 100%;
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 2px 0 4px 0;
        -webkit-overflow-scrolling: touch;
    }
    .gb-ce-tab-btn {
        padding: 6px 14px;
        font-size: 12px;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        color: #475569;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }
    .gb-ce-tab-btn.active {
        background: #044b25;
        color: #ffffff;
        border-color: #044b25;
    }
    .gb-ce-sort-dropdown-wrap {
        display: none; /* Ẩn dropdown sắp xếp trên mobile */
    }

    /* Lưới Card 2 cột theo ảnh 1 & 2 */
    .gb-ce-stories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-bottom: 22px;
    }
    .gb-ce-card-thumb-wrap {
        aspect-ratio: 9 / 14;
        border-radius: 12px;
    }
    .gb-ce-card-quote {
        font-size: 13.5px;
        top: 8px;
        left: 8px;
        right: 24px;
        line-height: 1.2;
    }
    .gb-ce-card-play-btn {
        width: 36px;
        height: 36px;
    }
    .gb-ce-card-play-btn svg {
        width: 14px;
        height: 14px;
    }
    .gb-ce-card-views {
        font-size: 10px;
        padding: 2px 7px;
        bottom: 8px;
        left: 8px;
    }
    .gb-ce-card-title {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 3px;
    }
    .gb-ce-card-location {
        font-size: 11px;
    }
    .gb-ce-loadmore-btn {
        padding: 9px 20px;
        font-size: 13px;
        border-radius: 20px;
        border-color: #044b25;
        color: #044b25;
    }

    /* Section 4: Community Callout trên Mobile theo ảnh 3 */
    .gb-ce-comm-box {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    /* ==========================================================================
       SECTION 4: COMMUNITY CALLOUT BANNER TRÊN MOBILE
       ========================================================================== */
    .gb-ce-comm-box {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Khối trích dẫn Quote trực tiếp trên nền */
    .gb-ce-comm-quote-col {
        background: transparent !important;
        border: none !important;
        padding: 0 4px !important;
        border-radius: 0 !important;
    }
    .gb-ce-comm-quote-text {
        font-size: 20px;
        font-weight: 700;
        color: #064e3b;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    .gb-ce-comm-quote-author {
        font-size: 13.5px;
        color: #044b25;
        font-weight: 600;
        margin-bottom: 14px;
    }
    .gb-ce-comm-avatars-wrap {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .gb-ce-comm-avatar-caption {
        font-size: 12px;
        color: #044b25;
        line-height: 1.35;
    }

    /* Card trắng 3 bước chia sẻ */
    .gb-ce-comm-steps-col {
        background: #f0fdf4;
        border-radius: 16px;
        padding: 24px 16px;
        border: 1px solid #d1fae5;
        box-shadow: 0 4px 16px rgba(4, 75, 37, 0.05);
        width: 100%;
    }
    .gb-ce-comm-steps-title {
        display: block;
        font-size: 19px;
        font-weight: 700;
        color: #064e3b;
        line-height: 1.35;
        text-align: center;
        margin: 0 0 18px 0;
    }
    .gb-ce-comm-steps-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        margin-bottom: 22px;
        width: 100%;
    }
    .gb-ce-comm-step-item {
        flex: 1;
        max-width: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .gb-ce-comm-step-icon-wrap {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 6px;
    }
    .gb-ce-comm-step-icon {
        width: 48px;
        height: 48px;
        background: transparent;
        color: #044b25;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .gb-ce-comm-step-icon svg {
        width: 34px;
        height: 34px;
        stroke-width: 1.8;
    }
    .gb-ce-step-number {
        display: none !important;
    }
    .gb-ce-step-arrow {
        display: none !important;
    }
    .gb-ce-comm-step-text {
        font-size: 12.5px;
        font-weight: 600;
        color: #064e3b;
        line-height: 1.3;
        text-align: center;
        margin-top: 4px;
    }
    .gb-ce-comm-cta-btn {
        width: 100%;
        justify-content: center;
        background: #044b25;
        color: #ffffff;
        padding: 13px 20px;
        font-size: 14.5px;
        font-weight: 700;
        border-radius: 28px;
    }

    /* Ẩn dải Polaroid desktop trên Mobile */
    .gb-ce-desktop-only {
        display: none !important;
    }

    /* ==========================================================================
       SECTION 5: BOTTOM CTA BANNER TRÊN MOBILE (FULL WIDTH, BỎ BO VIỀN THEO ẢNH 2)
       ========================================================================== */
    .gb-ce-bottom-cta-section {
        margin-bottom: 20px;
        border-radius: 0 !important;
        width: 100%;
    }
    .gb-ce-bottom-banner {
        border-radius: 0 !important;
        min-height: 250px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
    }
    .gb-ce-bottom-banner-bg {
        border-radius: 0 !important;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 72% center;
        opacity: 1;
    }
    .gb-ce-bottom-banner-overlay {
        border-radius: 0 !important;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.38) 50%, rgba(15, 23, 42, 0.1) 100%);
    }
    .gb-ce-bottom-banner-inner {
        padding: 26px 20px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        z-index: 2;
        width: 100%;
    }
    .gb-ce-bottom-banner-title {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.25;
        margin-bottom: 6px;
    }
    .gb-ce-bottom-banner-desc {
        font-size: 13.5px;
        color: rgba(255, 255, 255, 0.95);
        line-height: 1.45;
        max-width: 280px;
        margin-bottom: 4px;
    }
    .gb-ce-bottom-share-btn {
        background: #ffffff;
        color: #044b25;
        padding: 11px 26px;
        font-size: 13.5px;
        font-weight: 700;
        border-radius: 26px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* ==========================================================================
       SECTION 6: POLAROID CARD MOBILE (NẰM DƯỚI CÙNG TRÊN MOBILE)
       ========================================================================== */
    .gb-ce-mobile-only {
        display: block !important;
    }

    .gb-ce-polaroid-mobile-section {
        display: block !important;
        margin-top: 18px;
        margin-bottom: 28px;
        width: 100%;
    }

    .gb-ce-polaroid-mobile-card {
        background: #edf7f1;
        border: 1px solid #c8f0d6;
        border-radius: 20px;
        padding: 24px 22px 20px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        box-shadow: 0 4px 14px rgba(4, 75, 37, 0.05);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .gb-ce-polaroid-mobile-left {
        flex: 1;
        min-width: 0;
    }

    .gb-ce-polaroid-mobile-title {
        font-size: clamp(18px, 4.8vw, 24px);
        font-weight: 700;
        color: #064e3b;
        line-height: 1.32;
        margin: 0;
        max-width: none;
        word-break: normal;
        white-space: normal;
    }

    .gb-ce-polaroid-mobile-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
    }

    .gb-ce-polaroid-mobile-stack {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        gap: 0;
        position: relative;
        padding-top: 6px;
        padding-bottom: 4px;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item {
        background: #ffffff;
        padding: 4px 4px 14px 4px;
        border-radius: 4px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
        flex-shrink: 0;
        margin: 0 -9px;
        transform-origin: bottom center;
        transition: transform 0.2s ease;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item:nth-child(1) {
        transform: rotate(-10deg) translateY(2px);
        z-index: 1;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item:nth-child(2) {
        transform: rotate(-2deg) translateY(-5px);
        z-index: 2;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item:nth-child(3) {
        transform: rotate(5deg) translateY(-3px);
        z-index: 3;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item:nth-child(4) {
        transform: rotate(12deg) translateY(3px);
        z-index: 2;
    }

    .gb-ce-polaroid-mobile-stack .gb-ce-polaroid-item img {
        width: clamp(52px, 13vw, 76px) !important;
        height: clamp(64px, 16vw, 92px) !important;
        min-width: 50px !important;
        min-height: 62px !important;
        object-fit: cover !important;
        border-radius: 2px !important;
        display: block !important;
    }

    .gb-ce-polaroid-mobile-art {
        font-family: 'Caveat', 'Dancing Script', cursive;
        color: #044b25;
        font-size: clamp(15px, 3.6vw, 18px);
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        margin-top: 6px;
    }

    .gb-ce-polaroid-mobile-art span {
        font-size: clamp(12px, 2.8vw, 14px);
        display: block;
        color: #044b25;
    }
}
