/* ============================================================
   Moban 8-10-15 — Pinterest Mosaic | main.css
   Thác nước Pinterest · Thanh công cụ kép · Bo góc 14px
   ============================================================ */

/* --- Guard chống tràn ngang --- */
html, body { overflow-x: hidden; }

/* --- Biến màu & nền tảng --- */
:root {
    --teal: #00838F;
    --teal-deep: #006064;
    --teal-dark: #00454B;
    --teal-soft: #B2EBF2;
    --slate: #455A64;
    --slate-light: #78909C;
    --bg: #EEF4F5;
    --card: #FFFFFF;
    --amber: #FFB300;
    --coral: #FF7043;
    --radius: 14px;
    --shadow-soft: 0 6px 24px rgba(0, 96, 100, 0.09);
    --shadow-lift: 0 18px 44px rgba(0, 96, 100, 0.18);
    --font-display: 'Paytone One', 'Be Vietnam Pro', sans-serif;
    --font-body: 'Be Vietnam Pro', Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate);
    background:
        radial-gradient(1100px 500px at 85% -120px, rgba(0, 131, 143, 0.10), transparent 70%),
        radial-gradient(900px 420px at -160px 30%, rgba(178, 235, 242, 0.55), transparent 65%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--teal); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--teal-deep); }
ul { padding-left: 1.2em; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.site-main { padding: 34px 0 70px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--teal-dark); line-height: 1.25; margin: 0 0 .5em; }

/* --- Nút --- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    letter-spacing: .02em;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, var(--coral), #FF8A65); color: #fff; box-shadow: 0 8px 20px rgba(255, 112, 67, .35); }
.btn-accent:hover { box-shadow: 0 12px 26px rgba(255, 112, 67, .45); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(0, 131, 143, .3); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; }
.btn-light { background: #fff; color: var(--teal-deep); box-shadow: 0 8px 20px rgba(0, 0, 0, .14); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { display: block; text-align: center; }

/* ============================================================
   Đầu trang hai hàng
   ============================================================ */
.top-toolbar { background: linear-gradient(90deg, var(--teal-dark), var(--teal-deep) 55%, var(--teal)); color: rgba(255, 255, 255, .92); font-size: 13px; }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 46px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.toolbar-left { display: flex; align-items: center; gap: 16px; }
.toolbar-date { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-transform: capitalize; }
.date-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 179, 0, .25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.toolbar-slogan { color: rgba(255, 255, 255, .72); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar-search { position: relative; display: flex; align-items: center; }
.toolbar-search-input {
    width: 210px; padding: 8px 40px 8px 16px; border-radius: 999px; border: 0;
    background: rgba(255, 255, 255, .16); color: #fff; font-family: inherit; font-size: 13px;
    outline: none; transition: background .25s ease, width .3s ease;
}
.toolbar-search-input::placeholder { color: rgba(255, 255, 255, .7); }
.toolbar-search-input:focus { background: rgba(255, 255, 255, .95); color: var(--slate); width: 250px; }
.toolbar-search-input:focus::placeholder { color: var(--slate-light); }
.side-card .toolbar-search-input { background: var(--bg); color: var(--slate); width: 100%; }
.side-card .toolbar-search-input:focus { background: #fff; width: 100%; box-shadow: 0 0 0 3px rgba(0, 131, 143, .18); }
.side-card .toolbar-search-btn { background: var(--teal); color: #fff; }
.toolbar-search-btn {
    position: absolute; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .2); color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .22s ease;
}
.toolbar-search-btn:hover { background: var(--amber); color: var(--teal-dark); }

.main-navbar { background: var(--card); box-shadow: 0 4px 18px rgba(0, 96, 100, .08); position: sticky; top: 0; z-index: 90; transition: box-shadow .3s ease; }
.site-header.is-scrolled .main-navbar { box-shadow: 0 8px 30px rgba(0, 69, 75, .18); }
.navbar-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.site-logo a { display: inline-flex; align-items: center; }
.logo-img { max-height: 48px; width: auto; }
.main-nav { margin-left: auto; }
.nav-menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-menu li a {
    display: block; padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--slate);
    border-radius: var(--radius); position: relative; transition: color .22s ease, background .22s ease;
}
.nav-menu li a::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-soft)); transform: scaleX(0); transform-origin: left;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.nav-menu li a:hover, .nav-menu li.current-menu-item a, .nav-menu li.current_page_item a { color: var(--teal); background: rgba(0, 131, 143, .07); }
.nav-menu li a:hover::after, .nav-menu li.current-menu-item a::after, .nav-menu li.current_page_item a::after { transform: scaleX(1); }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg); cursor: pointer; position: relative; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
    content: ''; position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 3px; background: var(--teal-deep); transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle-icon { top: 50%; margin-top: -1px; }
.nav-toggle-icon::before { top: -8px; left: 0; right: 0; }
.nav-toggle-icon::after { top: 8px; left: 0; right: 0; }
.nav-toggle.open .nav-toggle-icon { background: transparent; }
.nav-toggle.open .nav-toggle-icon::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .nav-toggle-icon::after { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   Dải hero trang chủ
   ============================================================ */
.hero-band { padding-top: 8px; }
.hero-grid {
    display: grid;
    grid-template-areas: "main side";
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}
.hero-main { grid-area: main; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); min-height: 380px; display: flex; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
    position: relative; z-index: 2; margin-top: auto; width: 100%; padding: 46px 38px 34px;
    background: linear-gradient(180deg, transparent, rgba(0, 69, 75, .55) 30%, rgba(0, 69, 75, .92));
    color: #fff;
}
.hero-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); background: var(--amber); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero-title { font-size: clamp(28px, 4vw, 46px); color: #fff; margin-bottom: 10px; text-shadow: 0 3px 18px rgba(0, 0, 0, .35); }
.hero-desc { max-width: 52ch; margin: 0 0 20px; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-side { grid-area: side; display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.hero-side-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .3s ease, box-shadow .3s ease; }
.hero-side-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lift); }
.hero-side-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-side-label {
    position: absolute; left: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 700; font-size: 14px;
    background: rgba(0, 69, 75, .72); padding: 5px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ============================================================
   Tiêu đề khu vực
   ============================================================ */
.section-head { margin: 46px 0 26px; text-align: left; }
.section-title { font-size: clamp(24px, 3vw, 34px); position: relative; display: inline-block; padding-bottom: 12px; margin-bottom: 4px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-soft)); }
.section-sub { margin: 0; color: var(--slate-light); }
.section-title-light, .section-sub-light { color: #fff; }
.section-title-light::after { background: linear-gradient(90deg, var(--amber), transparent); }

/* ============================================================
   Lưới thác nước (CSS columns)
   ============================================================ */
.masonry { columns: 4 268px; column-gap: 26px; }
.pin-card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 26px;
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.pin-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pin-media { position: relative; display: block; overflow: hidden; }
.pin-media img { width: 100%; display: block; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.pin-card:hover .pin-media img { transform: scale(1.06); }

/* Hé lộ khi hover: tóm tắt + nút tải xuống */
.pin-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
    padding: 20px; color: #fff; font-size: 13.5px; line-height: 1.55;
    background: linear-gradient(180deg, rgba(0, 96, 100, .1), rgba(0, 69, 75, .88));
    opacity: 0; transform: translateY(14px);
    transition: opacity .32s ease, transform .32s ease;
}
.pin-overlay p { margin: 0; }
.pin-overlay .btn { align-self: flex-start; }
.pin-card:hover .pin-overlay, .pin-card:focus-within .pin-overlay, .pin-card.is-touched .pin-overlay { opacity: 1; transform: translateY(0); }

.pin-tag {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}
.pin-tag a { color: inherit; }
.tag-nohu { background: linear-gradient(135deg, #00838F, #26C6DA); }
.tag-khampha { background: linear-gradient(135deg, #455A64, #78909C); }
.tag-hot { background: linear-gradient(135deg, #F4511E, #FFB300); }
.tag-news { background: linear-gradient(135deg, #00695C, #26A69A); }
.tag-cat { background: linear-gradient(135deg, #00838F, #4DD0E1); }

.pin-body { padding: 16px 18px 18px; }
.pin-title { font-family: var(--font-body); font-weight: 800; font-size: 16.5px; color: var(--teal-dark); margin: 0 0 8px; line-height: 1.4; }
.pin-title a { color: inherit; }
.pin-title a:hover { color: var(--teal); }
.pin-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--slate-light); }
.pin-stars { color: var(--amber); letter-spacing: 2px; }
.pin-score { font-weight: 800; color: var(--teal-deep); }
.masonry-more { text-align: center; margin-top: 26px; }

/* Bộ lọc */
.masonry-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.filter-btn {
    border: 2px solid rgba(0, 131, 143, .25); background: #fff; color: var(--slate);
    font-family: var(--font-body); font-weight: 600; font-size: 13px;
    padding: 8px 20px; border-radius: 999px; cursor: pointer;
    transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 18px rgba(0, 131, 143, .3); }
.pin-card.pin-hidden { display: none; }

/* ============================================================
   Dải poster ngang (marquee)
   ============================================================ */
.poster-band { background: linear-gradient(135deg, var(--slate), #2E3D45); padding: 44px 0 54px; margin: 60px 0 0; }
.poster-strip-wrap { overflow: hidden; position: relative; }
.poster-strip-wrap::before, .poster-strip-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 3; pointer-events: none;
}
.poster-strip-wrap::before { left: 0; background: linear-gradient(90deg, #37474F, transparent); }
.poster-strip-wrap::after { right: 0; background: linear-gradient(-90deg, #2E3D45, transparent); }
.poster-strip { overflow: hidden; }
.poster-track { display: flex; gap: 22px; width: max-content; animation: poster-scroll 38s linear infinite; }
.poster-strip:hover .poster-track { animation-play-state: paused; }
@keyframes poster-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.poster-item { position: relative; display: block; width: 240px; flex: 0 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .3s ease; }
.poster-item:hover { transform: translateY(-8px) rotate(-1.2deg); }
.poster-item img { width: 100%; display: block; }
.poster-item-label {
    position: absolute; left: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: 12.5px; font-weight: 700;
    background: rgba(0, 69, 75, .78); padding: 4px 12px; border-radius: 999px;
}

/* ============================================================
   Dải CTA tải xuống
   ============================================================ */
.cta-band { margin-top: 60px; }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--teal-deep), var(--teal) 60%, #00ACC1);
    border-radius: calc(var(--radius) + 6px); padding: 40px 44px; color: #fff;
    box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.cta-inner::before { content: ''; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-inner::after { content: ''; position: absolute; right: 60px; bottom: -90px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-title { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.cta-text p { margin: 0; color: rgba(255, 255, 255, .88); }
.cta-btn { position: relative; z-index: 2; }

/* ============================================================
   Bố cục nội dung + sidebar (grid-template-areas)
   ============================================================ */
.content-layout {
    display: grid;
    grid-template-areas: "main sidebar";
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}
.content-main { grid-area: main; }
.content-sidebar { grid-area: sidebar; position: sticky; top: 92px; }

.single-layout {
    display: grid;
    grid-template-areas: "main sidebar";
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}
.single-main { grid-area: main; }
.single-sidebar { grid-area: sidebar; position: sticky; top: 92px; }

/* Thẻ sidebar */
.side-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 22px 22px 24px; margin-bottom: 24px; }
.side-card-title { font-size: 17px; position: relative; padding-bottom: 10px; margin-bottom: 16px; }
.side-card-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 4px; border-radius: 3px; background: var(--amber); }
.side-cat-list, .related-list { list-style: none; margin: 0; padding: 0; }
.side-cat-list li, .related-list li { border-bottom: 1px dashed rgba(69, 90, 100, .18); }
.side-cat-list li:last-child, .related-list li:last-child { border-bottom: 0; }
.side-cat-list a, .related-list a { display: block; padding: 9px 2px; font-size: 14.5px; color: var(--slate); font-weight: 500; transition: color .2s ease, padding-left .2s ease; }
.side-cat-list a:hover, .related-list a:hover { color: var(--teal); padding-left: 8px; }
.side-card-cta { background: linear-gradient(150deg, var(--teal-deep), var(--teal)); color: #fff; }
.side-card-cta .side-card-title { color: #fff; }
.side-card-cta p { color: rgba(255, 255, 255, .88); font-size: 14px; }

/* ============================================================
   Trang chi tiết (single / page)
   ============================================================ */
.archive-hero { margin-bottom: 30px; position: relative; }
.archive-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--teal); padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.archive-colorbar { display: block; width: 90px; height: 6px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--amber)); }

.single-header { margin-bottom: 22px; }
.single-header .pin-tag { position: static; display: inline-block; margin-bottom: 14px; }
.single-title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 12px; }
.single-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--slate-light); font-size: 14px; }
.single-thumb { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.single-content { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 32px 36px; }
.entry-content { font-size: 16.5px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 4px solid var(--teal); background: var(--bg); border-radius: 0 var(--radius) var(--radius) 0; color: var(--teal-dark); font-style: italic; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.page-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 38px 42px; }

.single-download {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    margin-top: 30px; padding: 26px 30px; border-radius: var(--radius); color: #fff;
    background: linear-gradient(120deg, var(--teal-deep), var(--teal));
    box-shadow: var(--shadow-lift);
}
.single-download-text h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.single-download-text p { margin: 0; color: rgba(255, 255, 255, .85); }

.post-nav { display: flex; gap: 18px; margin-top: 30px; }
.post-nav .nav-previous, .post-nav .nav-next { flex: 1; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); padding: 18px 20px; transition: transform .25s ease, box-shadow .25s ease; }
.post-nav .nav-previous:hover, .post-nav .nav-next:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-nav .nav-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 4px; }
.post-nav .nav-title { display: block; color: var(--slate); font-weight: 600; }

/* Phân trang */
.pagination-bar { margin-top: 30px; text-align: center; }
.pagination-bar .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination-bar .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px;
    background: var(--card); color: var(--slate); font-weight: 600; border-radius: 12px; box-shadow: var(--shadow-soft);
    transition: all .22s ease;
}
.pagination-bar .page-numbers:hover { transform: translateY(-3px); color: var(--teal); box-shadow: var(--shadow-lift); }
.pagination-bar .page-numbers.current { background: var(--teal); color: #fff; }

/* Trạng thái rỗng */
.empty-state { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); text-align: center; padding: 60px 30px; }

/* ============================================================
   Chân trang
   ============================================================ */
.site-footer { background: var(--teal-deep); color: rgba(255, 255, 255, .85); margin-top: 70px; position: relative; }
.footer-wave { line-height: 0; position: relative; top: 1px; }
.footer-wave svg { width: 100%; height: 46px; display: block; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 34px 0 30px; }
.footer-widget .widget-title { color: #fff; font-size: 17px; position: relative; padding-bottom: 10px; }
.footer-widget .widget-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 4px; border-radius: 3px; background: var(--amber); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .85); transition: color .2s ease, padding-left .2s ease; }
.footer-links a:hover { color: var(--amber); padding-left: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding: 26px 0 30px; text-align: center; }
.disclaimer-text { font-size: 13px; color: rgba(255, 255, 255, .8); max-width: 760px; margin: 18px auto 8px; line-height: 1.7; }
.footer-copy { font-size: 12.5px; color: rgba(255, 255, 255, .55); margin: 12px 0 0; }

/* Nút lên đầu trang */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 99;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 96, 100, .4);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--amber); color: var(--teal-dark); }

/* ============================================================
   Hiệu ứng xuất hiện khi cuộn
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.4, 0, .2, 1); animation: none; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.hero-side-card.reveal.revealed { animation: none; }
.hero-side .hero-side-card:nth-child(2) { transition-delay: .14s; }
@keyframes hero-pop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Widget WordPress mặc định */
.widget { margin-bottom: 24px; }
.site-footer .widget .widget-title { color: #fff; }
.screen-reader-text { position: absolute; left: -9999px; }
