/*
Theme Name: Flatsome Child
Description: ezWhy edit
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* =========================================================
   NHÓM 1: GLOBAL CORE (TOÀN WEBSITE)
   Mục tiêu: Cấu hình Font, Reset CSS, Ảnh chuẩn
   Lưu ý: nhóm này cho mọi dự án web.
   ========================================================= */

/* 1.1. TYPOGRAPHY (FONT CHỮ NUNITO & MULISH) */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,400;0,500;0,600;1,400&family=Nunito:wght@600;700;800&display=swap');

body, p, li, a, .box-text, .entry-content {
    font-family: 'Mulish', sans-serif !important;
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
    letter-spacing: 0.01em;
}
p { margin-bottom: 1.5em; margin-top: 0; }

h1, h2, h3, h4, h5, h6, .section-title span, .post-title a {
    font-family: 'Nunito', sans-serif !important;
    color: #2D3748;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.2em; margin-bottom: 0.8em;
    text-decoration: none !important; border-bottom: none !important;
}
h1 { font-size: 2.2rem; font-weight: 800; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.25rem; }
h1 a, h2 a, h3 a { color: inherit; text-decoration: none !important; box-shadow: none !important; }

/* 1.2. GLOBAL IMAGE STYLES (Bo góc & Canh giữa) */
img, .box-image, .box-image img, .image-cover img, .wp-block-image img {
    border-radius: 10px !important;
}
.box-image, .image-cover { overflow: hidden; transform: translateZ(0); }
.entry-content img, .col-inner img, .wp-block-image img {
    display: block; margin-left: auto !important; margin-right: auto !important;
}

/* 1.3. RESET FLATSOME DIVIDERS */
.is-divider { display: none !important; height: 0 !important; margin: 0 !important; border: none !important; opacity: 0 !important; }
.is-divider + * { margin-top: 5px !important; }


/* =========================================================
   NHÓM 2: SINGLE POST (DÀNH CHO TRANG BÀI VIẾT)
   Mục tiêu: Giao diện bài đọc, TOC, Nav, Breadcrumbs
   Lưu ý: nhóm này khi làm Blog/Tin tức.
   ========================================================= */

/* 2.1. TITLE & SPACING */
.entry-header-text { padding-bottom: 0 !important; padding-top: 10px !important; margin-bottom: 0 !important; }
.entry-header .entry-title { text-align: left !important; margin-bottom: 5px !important; }
.entry-header .entry-title::after {
    content: ""; display: block; width: 60px; height: 4px;
    background-color: #C5A065; margin-top: 5px; border-radius: 2px;
}

/* 2.2. AUTO TABLE OF CONTENTS (TOC) */
#toc_container {
    background: #f8f9fa; border: 1px solid #e2e8f0; border-left: 4px solid #C5A065;
    border-radius: 8px; padding: 20px 24px; margin: 10px 0 30px 0;
    width: fit-content; min-width: 300px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
#toc_container .toc_title {
    font-weight: 700; margin-bottom: 12px; color: #1a202c;
    border-bottom: 2px solid #cbd5e0; padding-bottom: 5px; display: inline-block;
}
#toc_container ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
#toc_container li { margin-bottom: 6px; }
#toc_container li.toc_level3 { margin-left: 20px; border-left: 2px solid #e2e8f0; padding-left: 10px; }
#toc_container a { text-decoration: none; color: #4a5568; transition: color 0.2s; }
#toc_container a:hover { color: #C5A065; }

/* 2.3. BREADCRUMBS */
.bb-breadcrumbs { font-size: .9rem; color: #6b7280; }
.bb-breadcrumbs a { color: #555; text-decoration: none; }
.bb-breadcrumbs a:hover { color: #C5A065; }

/* 2.4. NEXT/PREV NAVIGATION (ALIGN TOP FIX) */
:root { --bb-nav-thumb-w: 260px; }
.next-prev-nav.bt.bb {
    display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08);
    background: #fff; position: relative; gap: 20px; padding: 20px 0;
    align-items: stretch; /* Fix chiều cao bằng nhau */
}
.next-prev-nav.bt.bb::before {
    content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: rgba(0,0,0,.08);
}
.next-prev-nav .nav-previous a, .next-prev-nav .nav-next a {
    display: flex; flex-direction: column !important; justify-content: flex-start !important;
    gap: 15px; padding: 10px; text-decoration: none; color: #555; height: 100%;
}
.next-prev-nav .nav-previous a { align-items: flex-start; text-align: left; }
.next-prev-nav .nav-next a { align-items: flex-end; text-align: right; }

/* Nav Image & Arrows */
.bb-nav-thumb {
    order: 0 !important; width: 100%; aspect-ratio: 16/9; border-radius: 12px;
    overflow: hidden; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease; flex-shrink: 0;
}
.bb-nav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-previous a:hover .bb-nav-thumb, .nav-next a:hover .bb-nav-thumb {
    transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.nav-previous .bb-nav-thumb::before, .nav-next .bb-nav-thumb::after {
    position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.95); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 20px; color: #2D3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); z-index: 10; transition: all 0.3s ease;
}
.nav-previous .bb-nav-thumb::before { content: "❮"; left: 10px; }
.nav-next .bb-nav-thumb::after { content: "❯"; right: 10px; }
.nav-previous a:hover .bb-nav-thumb::before, .nav-next a:hover .bb-nav-thumb::after {
    background: #C5A065; color: #fff; transform: translateY(-50%) scale(1.1);
}
/* Nav Title */
.bb-nav-title {
    order: 1 !important; font-weight: 700; font-size: 1rem; line-height: 1.4; color: #2D3748;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color 0.2s;
}
.nav-previous a:hover .bb-nav-title, .nav-next a:hover .bb-nav-title { color: #C5A065; }
.hide-for-small, .meta-nav { display: none !important; }
@media (max-width: 640px) {
    .next-prev-nav.bt.bb::before { display: none; }
    .next-prev-nav .nav-previous a, .next-prev-nav .nav-next a { padding: 10px 5px; }
    .nav-previous .bb-nav-thumb::before, .nav-next .bb-nav-thumb::after { width: 28px; height: 28px; font-size: 14px; }
}

/* 2.5. GLOBAL BLOCKQUOTE (TRÍCH DẪN BÀI VIẾT) */
blockquote {
    position: relative; margin: 40px auto; padding: 30px 40px;
    background-color: #F9FAFB; border-left: 5px solid #C5A065; border-radius: 0 12px 12px 0;
    font-family: 'Mulish', sans-serif !important; font-size: 0.9rem; font-style: italic; color: #2D3748;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease;
}
blockquote::before {
    content: "\201C"; position: absolute; top: -20px; left: 10px;
    font-family: 'Nunito', serif; font-size: 5rem; line-height: 1; color: #C5A065;
    opacity: 0.2; pointer-events: none;
}
blockquote:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); background-color: #fff; }
blockquote p { margin-bottom: 0; }
blockquote cite {
    display: block; margin-top: 15px; font-size: 0.9rem; font-weight: 600;
    font-style: normal; text-transform: uppercase; color: #C5A065; letter-spacing: 1px;
}


/* =========================================================
   NHÓM 3: BLOCK LIBRARY (KHO ĐỒ CHƠI - THÍCH GÌ LẤY ĐÓ)
   Mục tiêu: Các hiệu ứng đặc biệt cho từng khối (Blocks)
   Lưu ý: đoạn code tương ứng khi dùng block đó.
   ========================================================= */

/* 3.1. INTRO HERO SECTION (TRANG CHỦ - NỀN HÀO QUANG)
   Class: .intro-hero-section */
.intro-hero-section {
    position: relative; background-color: #FDFBF7 !important;
    background-image: radial-gradient(#C5A065 1px, transparent 1px); background-size: 35px 35px;
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
    padding-top: 80px; padding-bottom: 80px; overflow: hidden;
}
.intro-hero-section > .section-content, .intro-hero-section .row {
    width: 100%; max-width: 1200px !important; margin-left: auto !important; margin-right: auto !important;
    display: flex; justify-content: center; flex-wrap: wrap;
}
.intro-hero-section::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(197, 160, 101, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(45, 55, 72, 0.2) 0%, transparent 60%);
    z-index: 0; pointer-events: none; animation: spotlight-move 8s ease-in-out infinite alternate;
}
@keyframes spotlight-move { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }
.intro-hero-section::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0) 150px),
                linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 150px);
}
.intro-hero-section .section-content { position: relative; z-index: 10; }

/* 3.2. BRAND AVATAR (ẢNH CHỦ NHÂN - HIỆU ỨNG THỞ)
   Class: .brand-avatar */
.brand-avatar .img-inner {
    border-radius: 12px; border: 5px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    overflow: hidden; position: relative; animation: float-avatar 6s ease-in-out infinite;
}
@keyframes float-avatar { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }
.brand-avatar::before {
    content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; height: 90%;
    border-radius: 50%; background: radial-gradient(circle, rgba(197, 160, 101, 0.2) 0%, rgba(255,255,255,0) 70%); z-index: -1;
}
.brand-avatar:hover img { filter: brightness(1.05); }

/* 3.3. BLOCK HIGHLIGHT TRAVEL (NHỮNG NƠI ĐÃ QUA)
   Class: .block-highlight-travel */
.block-highlight-travel { padding: 20px 0; }
.block-highlight-travel .box {
    border-radius: 12px; overflow: hidden; position: relative; background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.block-highlight-travel .box:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); z-index: 5; }
.block-highlight-travel .box-image img { transform: scale(1.0); transition: transform 0.8s ease; }
.block-highlight-travel .box:hover .box-image img { transform: scale(1.12); }
.block-highlight-travel .post-title a { font-weight: 700; font-size: 1.1em; color: #2D3748; transition: color 0.3s; }
.block-highlight-travel .box:hover .post-title a { color: #C5A065; }

/* 3.4. QUOTE MAGIC (NHỊP ĐẬP VÀNG)
   Class: .quote-magic */
.quote-magic {
    position: relative; max-width: 800px; margin: 60px auto 40px; padding: 40px 30px 30px; text-align: center;
    background: #fff; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 2px 5px rgba(0,0,0,0.02);
    animation: fade-up-card 1s ease-out forwards; transform: translateY(20px); opacity: 0;
}
@keyframes fade-up-card { to { opacity: 1; transform: translateY(0); } }
.quote-magic p, .quote-magic span {
    font-family: 'Montserrat', sans-serif !important; font-size: 1.25rem; font-weight: 500; font-style: italic;
    line-height: 1.8; color: #4A5568; margin: 0; position: relative; z-index: 2;
}
.quote-magic::before {
    content: "“"; position: absolute; top: -35px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 70px; line-height: 100px; background: #2D3748; border-radius: 50%;
    font-family: serif; font-size: 4rem; color: #C5A065; text-align: center;
    animation: golden-pulse 2s infinite; z-index: 10;
}
@keyframes golden-pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 101, 0.7); transform: translateX(-50%) scale(1); }
    70% { box-shadow: 0 0 0 20px rgba(197, 160, 101, 0); transform: translateX(-50%) scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 101, 0); transform: translateX(-50%) scale(1); }
}
.quote-magic::after {
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #2D3748;
}

/* 3.5. FOOD BLOCK (MÓN NGON - OVERLAP)
   Class: .food-hero (Trái) & .food-grid (Phải) */
.food-hero .box-image img, .food-grid .box-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease; will-change: transform;
}
.food-hero .box:hover .box-image img, .food-grid .box:hover .box-image img {
    transform: scale(1.08); filter: saturate(1.2) brightness(1.05);
}
.food-hero .box-image { border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.food-hero .box-text {
    background: #fff; margin: -25px 20px 0 20px !important; padding: 20px 25px !important; border-radius: 8px;
    position: relative; z-index: 10; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.food-hero .box:hover .box-text { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.food-hero .post-title a { font-size: 1.2rem; font-weight: 700; color: #2D3748; }
.food-hero .post-title a:hover { color: #C5A065; }
.food-grid .box { margin-bottom: 15px; }
.food-grid .box-image { border-radius: 10px; overflow: hidden; }
.food-grid .box-text { padding: 10px 5px 0 5px !important; text-align: center; }
.food-grid .post-title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.food-grid .post-title a {
    color: #4A5568; text-decoration: none; background-image: linear-gradient(#C5A065, #C5A065);
    background-position: bottom center; background-size: 0% 2px; background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease; padding-bottom: 3px;
}
.food-grid .box:hover .post-title a { color: #2D3748; background-size: 100% 2px; }

/* 3.6. KITCHEN PUSH (TIMELINE & RECIPE CARD)
   Class: .kitchen-push */
.kitchen-push .box-image::after {
    content: ""; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px; border: 1px dashed rgba(255,255,255,0.9);
    border-radius: 6px; opacity: 0; transform: scale(0.95); transition: all 0.3s ease; pointer-events: none;
}
.kitchen-push .box:hover .box-image::after { opacity: 1; transform: scale(1); }
.kitchen-push .box-image img { transition: transform 0.5s ease; }
.kitchen-push .box:hover .box-image img { transform: scale(1.1); }
.kitchen-push .badge-inner {
    background-color: #2D3748 !important; border: 2px solid #fff; border-radius: 50% !important;
    width: 35px; height: 35px; line-height: 1.1; font-size: 0.75rem;
}
.kitchen-push .box-text {
    position: relative; z-index: 10; margin-top: -35px !important; margin-left: 10px; margin-right: 10px; margin-bottom: 10px;
    background-color: #F8F9FA; border-left: 3px solid #C5A065; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 12px 15px 12px 18px !important; text-align: left; transition: background 0.3s ease;
}
.kitchen-push .box:hover .box-text { background-color: #ffffff; }
.kitchen-push .box-text::before {
    content: "“"; position: absolute; top: 5px; right: 10px; font-family: serif; font-size: 2.5rem;
    line-height: 1; color: #C5A065; opacity: 0.15;
}
.kitchen-push .post-title { margin-bottom: 5px; padding-right: 15px; }
.kitchen-push .post-title a { font-size: 0.95rem; font-weight: 700; color: #2D3748; }
.kitchen-push .box-text p { display: none; }

/* 3.7. SIDEBAR QUOTE (WIDGET TRÍCH DẪN)
   Class: .sidebar-quote */
.sidebar-quote {
    position: relative; background: #fff; border-left: 4px solid #C5A065; border-radius: 0 10px 10px 0;
    padding: 20px 20px 20px 40px; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sidebar-quote:hover { transform: translateX(5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); background: #FDFBF7; }
.sidebar-quote::before {
    content: "“"; position: absolute; top: 5px; left: 10px; font-family: serif; font-size: 60px;
    line-height: 1; color: #C5A065; opacity: 0.3;
}
.sidebar-quote p, .sidebar-quote span {
    font-family: 'Nunito Sans', sans-serif !important; font-style: italic; color: #4A5568;
    font-size: 15px; line-height: 1.6; margin: 0;
}
.sidebar-quote cite {
    display: block; margin-top: 10px; font-size: 12px; font-weight: 700; text-transform: uppercase;
    color: #2D3748; text-align: right; letter-spacing: 1px;
}
.sidebar-quote cite::before { content: "— "; color: #C5A065; }

/* 3.8. ALBUM: THE CHAOTIC MASTERPIECE (TITANIUM STORM)
   Class: .album-messy-stream */
.album-messy-stream {
    width: 100vw !important; margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important;
    max-width: 100vw !important; display: flex !important; flex-wrap: nowrap !important; align-items: center;
    padding: 100px 0 !important; overflow-x: hidden; position: relative;
    background: linear-gradient(to bottom, #ffffff 0%, #e2e8f0 20%, #cbd5e1 50%, #e2e8f0 80%, #ffffff 100%);
}
.album-messy-stream::after {
    content: ""; position: sticky; left: 0; top: 0; width: 100vw; height: 100%;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0) 150px),
                linear-gradient(to top, #ffffff 0%, rgba(255,255,255,0) 150px);
    pointer-events: none; z-index: 10; flex-shrink: 0; margin-left: -100vw;
}
.album-messy-stream .col {
    flex: 0 0 auto; width: 600px !important; max-width: 60vw; margin-right: -30px !important;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; padding: 0 !important;
    cursor: pointer; opacity: 1; z-index: 5;
}
.album-messy-stream .col:nth-child(odd) { transform: rotate(-3deg) translateY(20px); }
.album-messy-stream .col:nth-child(even) { transform: rotate(3deg) translateY(-20px); }
.album-messy-stream .col:nth-child(4n+3) { transform: rotate(-1deg) translateY(10px); }
.album-messy-stream .box-image {
    border: 10px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-radius: 4px; overflow: hidden;
}
.album-messy-stream .box-image img { height: 450px !important; width: 100%; object-fit: cover; display: block; }
.album-messy-stream .col:hover {
    z-index: 999 !important; transform: rotate(0deg) translateY(0) scale(1.1) !important;
    margin-right: 40px !important; margin-left: 40px !important;
}
.album-messy-stream .col:hover .box-image { border-color: #fff; box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.album-messy-stream .box-text { display: none !important; }
@media (max-width: 768px) {
    .album-messy-stream .col { width: 280px !important; margin-right: -10px !important; }
    .album-messy-stream .box-image img { height: 350px !important; }
    .album-messy-stream { background: linear-gradient(to bottom, #ffffff 0%, #e2e8f0 50%, #ffffff 100%); }
}

/* =========================================================
   4.1. SIDEBAR QUICK LIST (LUXURY TRAVEL CARD - FINAL FIX)
   Concept: Card bóng bẩy, Ảnh trên Chữ dưới, Fix khoảng cách
   ========================================================= */

/* A. TÂN TRANG TIÊU ĐỀ WIDGET (span.widget-title) */
.widget-title,
span.widget-title {
    display: block;
    position: relative;
    font-family: 'Nunito', sans-serif !important;
    font-size: 1.15rem;      /* To rõ */
    font-weight: 800;        /* Cực đậm */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2D3748;
    margin-bottom: 30px !important; /* Khoảng cách với bài viết */
    padding-bottom: 12px;
    border-bottom: 1px solid #eee; /* Đường kẻ mờ nền */
}

/* Gạch chân điểm nhấn màu Vàng Be */
.widget-title::after,
span.widget-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;  /* Độ dài gạch chân */
    height: 3px;  /* Độ dày */
    background-color: #C5A065;
    border-radius: 2px;
}

/* B. DANH SÁCH BÀI VIẾT (CONTAINER) */
.bb-sidebar-quick {
  padding: 0 !important;
  margin-bottom: 30px;
}

.bb-sidebar-quick .bb-quicklist {
  border: none;
  background: transparent;
  padding: 0;
  display: block; /* Dùng block để margin hoạt động chuẩn nhất */
}

/* C. TỪNG THẺ BÀI VIẾT (CARD) */
.bb-quicklist .box {
  display: flex;
  flex-direction: column; /* Xếp dọc: Ảnh trên - Chữ dưới */
  align-items: center;    /* Canh giữa nội dung */
  
  /* FIX LỖI CHỒNG LẤN & KHOẢNG CÁCH */
  margin: 0 0 30px 0 !important; /* Đẩy thẻ dưới ra xa 30px */
  padding: 0;
  width: 100%;            /* Chiếm trọn chiều rộng sidebar */
  
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
  position: relative;     /* Để chứa hiệu ứng ánh sáng */
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

/* Hiệu ứng Hover: Nổi lên & Bóng đậm */
.bb-quicklist .box:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  border-color: transparent;
  z-index: 10;
}

/* --- D. ẢNH THUMBNAIL & HIỆU ỨNG "SHINE" (QUÉT SÁNG) --- */
.bb-quicklist .box-image {
  width: 100%;
  aspect-ratio: 16/10;    /* Tỉ lệ ảnh chữ nhật đẹp */
  border-radius: 0;
  overflow: hidden;
  margin: 0; 
  position: relative;
}

.bb-quicklist .box-image img {
  width: 100%; height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.8s ease; /* Zoom chậm */
}

/* Hover: Zoom ảnh */
.bb-quicklist .box:hover .box-image img {
  transform: scale(1.12);
}

/* ✨ HIỆU ỨNG QUÉT SÁNG (SHEEN) ✨ */
.bb-quicklist .box-image::before {
    content: "";
    position: absolute;
    top: 0; left: -100%; 
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
    transition: none;
    pointer-events: none;
}
.bb-quicklist .box:hover .box-image::before {
    animation: shine-sweep 0.75s;
}
@keyframes shine-sweep { 100% { left: 150%; } }

/* --- E. PHẦN CHỮ (BÊN DƯỚI) --- */
.bb-quicklist .box-text {
  width: 100%;
  padding: 18px 20px;
  text-align: center;     /* Canh giữa */
  background: #fff;
  position: relative;
  z-index: 3;
}

/* Tiêu đề bài viết */
.bb-quicklist .post-title {
  font-family: 'Nunito', sans-serif !important;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
  color: #2D3748;
  
  /* Cắt dòng 2 hàng */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb-quicklist .post-title a {
    color: inherit; text-decoration: none; transition: color 0.3s;
}
.bb-quicklist .box:hover .post-title a {
    color: #C5A065;
}

/* Thanh gạch trang trí nhỏ dưới tiêu đề */
.bb-quicklist .box-text::after {
    content: ""; display: block;
    width: 30px; height: 2px; 
    background: #eee;
    margin: 10px auto 0 auto; /* Canh giữa */
    transition: width 0.3s ease, background 0.3s ease;
}
.bb-quicklist .box:hover .box-text::after {
    width: 50px; background: #C5A065; /* Dài ra & Đổi màu khi hover */
}

/* Ẩn rác */
.bb-quicklist .from_the_blog_excerpt,
.bb-quicklist .post-meta,
.bb-quicklist .is-divider,
.bb-quicklist .post-date { display: none !important; }

/* =========================================================
   NHÓM 5: CUSTOM BUTTONS (HIỆU ỨNG SÓNG NƯỚC LUXURY)
   Mục tiêu: Nút bấm Gradient + Hiệu ứng lan tỏa (Ripple)
   ========================================================= */

/* CẤU HÌNH CHUNG CHO CẢ 2 NÚT */
.btn-gold, .btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;       /* To, rộng, dễ bấm */
    border-radius: 50px;      /* Bo tròn hình viên thuốc (Pill shape) sang hơn hình vuông */
    border: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;         /* Để cắt hiệu ứng sóng lan ra ngoài */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    z-index: 1;
}

/* Hiệu ứng chung: Nổi lên khi hover */
.btn-gold:hover, .btn-dark:hover {
    transform: translateY(-3px);
}

/* ---------------------------------------------------------
   5.1. BUTTON 1: THE GOLDEN DIAMOND (MÀU CHÍNH)
   Class: .btn-gold
   Hiệu ứng: Sóng hình thoi (Diamond Ripple) mạnh mẽ
   --------------------------------------------------------- */
.btn-gold {
    /* Gradient Vàng Be sang trọng */
    background: linear-gradient(135deg, #C5A065 0%, #D4B47D 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(197, 160, 101, 0.3); /* Bóng màu vàng */
}

.btn-gold:hover {
    box-shadow: 0 10px 25px rgba(197, 160, 101, 0.5);
}

/* Tạo hình thoi (2 mũi tên chụm đáy) nằm ẩn ở giữa */
.btn-gold::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    background: rgba(255, 255, 255, 0.4); /* Màu sóng trắng mờ */
    
    /* Cắt thành hình thoi sắc cạnh */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    
    transform: translate(-50%, -50%) scale(0); /* Ban đầu thu nhỏ = 0 */
    opacity: 1;
    transition: none;
    z-index: -1;
}

/* Khi hover: Phóng to hình thoi phủ kín nút */
.btn-gold:hover::after {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0; /* Mờ dần khi lan ra */
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}


/* ---------------------------------------------------------
   5.2. BUTTON 2: THE MIDNIGHT RIPPLE (MÀU PHỤ)
   Class: .btn-dark
   Hiệu ứng: Sóng tròn (Classic Ripple) mềm mại
   --------------------------------------------------------- */
.btn-dark {
    /* Gradient Than Chì -> Xám Đen */
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(45, 55, 72, 0.3); /* Bóng màu đen */
}

.btn-dark:hover {
    box-shadow: 0 10px 25px rgba(45, 55, 72, 0.5);
    background: linear-gradient(135deg, #1A202C 0%, #000000 100%) !important;
}

/* Tạo hình tròn nằm ẩn ở giữa */
.btn-dark::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0; /* Ban đầu size = 0 */
    background: rgba(255, 255, 255, 0.15); /* Sóng trắng rất mờ */
    border-radius: 50%; /* Hình tròn */
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
    z-index: -1;
}

/* Khi hover: Lan tỏa hình tròn ra */
.btn-dark:hover::after {
    width: 300px; height: 300px; /* To hơn nút */
    opacity: 0;
}

/* =========================================================
   STYLE CHO TITLE "XEM TẤT CẢ" (LUXURY LINK)
   Class áp dụng: .title-luxury
   ========================================================= */

/* 1. Phần Tiêu đề chính (GÓC CHECK-IN) */
.title-luxury h3 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 800;
    color: #2D3748;
    text-transform: uppercase;
    font-size: 1.5rem; /* Chỉnh to nhỏ tùy ý */
	margin-bottom: 0em !important;
}

/* 2. Phần Link "XEM TẤT CẢ" bên phải */
.title-luxury a {
    font-family: 'Mulish', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #C5A065; /* Màu Vàng Be */
    letter-spacing: 1px;
    padding: 8px 15px;
    border: 1px solid #C5A065; /* Viền mỏng sang trọng */
    border-radius: 30px; /* Bo tròn */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
}

/* 3. Hiệu ứng Hover: Đổi nền vàng, chữ trắng */
.title-luxury a:hover {
    background: #C5A065;
    color: #fff;
    box-shadow: 0 5px 15px rgba(197, 160, 101, 0.3);
    transform: translateY(-2px);
}

/* 4. Thêm mũi tên tự động bằng CSS */
.title-luxury a::after {
    content: "→"; /* Mũi tên */
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* Hover thì mũi tên chạy sang phải */
.title-luxury a:hover::after {
    transform: translateX(5px);
}

/* Mobile: Nếu màn hình nhỏ quá thì cho nó xuống dòng hoặc ẩn bớt */
@media (max-width: 600px) {
    .title-luxury a {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}