/*
Theme Name: Nì Bán Quạt Magazine
Theme URI: https://nibanquat.me
Author: linhtay.me
Description: Lightweight custom entity/profile magazine theme built for linhtay.me. No page builder, no build step, semantic HTML5, mobile-first, minimal JS.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linhtay
*/

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
	--ink: #17181c;
	--ink-soft: #55585f;
	--ink-faint: #85888e;
	--paper: #faf8f5;
	--paper-alt: #f1ece4;
	--card-bg: #ffffff;
	--line: #e6e0d5;
	--accent: #a97a2f;
	--accent-strong: #7c5a21;
	--accent-tint: #f4e9d8;
	--rose: #b8395a;
	--focus: #2563eb;
	--radius: 10px;
	--radius-lg: 16px;
	--container: 1240px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--shadow-sm: 0 1px 2px rgba(23, 24, 28, 0.06);
	--shadow-md: 0 6px 20px rgba(23, 24, 28, 0.08);
}

/* ==========================================================================
   1. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.2em; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   2. Layout helpers
   ========================================================================== */
.wrap {
	width: 100%;
	max-width: var(--container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.section { padding: 40px 0; }
.section--alt { background: var(--paper-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-title { font-size: 1.5rem; margin: 0; }
.section-kicker {
	display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--accent-strong); margin: 0 0 6px;
}
.section-link { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }
.visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   3. Header + navigation
   ========================================================================== */
.site-header {
	background: var(--card-bg);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.site-branding { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site-branding__logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.site-branding__name {
	font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-branding__name a { color: inherit; }
.site-branding__name a:hover { text-decoration: none; color: var(--accent-strong); }

.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav a {
	display: inline-block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 0.94rem;
	border-radius: 999px;
}
.primary-nav a:hover { background: var(--accent-tint); color: var(--accent-strong); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-toggle,
.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
	background: var(--card-bg); cursor: pointer; color: var(--ink);
}
.header-search-toggle:hover, .menu-toggle:hover { background: var(--paper-alt); }

.header-search {
	display: none; border-bottom: 1px solid var(--line); background: var(--paper-alt);
}
.header-search.is-open { display: block; }
.header-search form { display: flex; gap: 8px; padding: 12px 0; }
.header-search input[type="search"] {
	flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem;
}
.header-search button {
	padding: 10px 18px; border: none; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer;
}

.mobile-nav {
	display: none;
	border-bottom: 1px solid var(--line);
	background: var(--card-bg);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav a { display: block; padding: 12px 20px; color: var(--ink); font-weight: 600; }
.mobile-nav a:hover { background: var(--paper-alt); text-decoration: none; }

@media (min-width: 900px) {
	.primary-nav { display: block; }
	.menu-toggle { display: none; }
	.mobile-nav { display: none !important; }
}

/* ==========================================================================
   4. Breadcrumbs
   ========================================================================== */
.breadcrumbs {
	font-size: 0.82rem; color: var(--ink-faint); padding: 14px 0 0;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs .sep { margin: 0 6px; color: var(--ink-faint); }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   5. Hero / entity intro
   ========================================================================== */
.hero {
	padding: 32px 0 8px;
}
.hero__grid {
	display: grid;
	gap: 24px;
	align-items: center;
}
.hero__portrait {
	width: 100%;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper-alt);
	box-shadow: var(--shadow-md);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero__portrait--placeholder {
	display: flex; align-items: center; justify-content: center;
	color: var(--ink-faint); font-size: 0.9rem; text-align: center; padding: 20px;
	border: 1px dashed var(--line);
}
.hero__eyebrow {
	display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--accent-strong); background: var(--accent-tint);
	padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero__name { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 10px; }
.hero__tagline { font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 18px; }
.hero__social { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__social a {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line);
	border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: var(--ink);
}
.hero__social a:hover { background: var(--paper-alt); text-decoration: none; border-color: var(--accent); }

@media (min-width: 780px) {
	.hero__grid { grid-template-columns: 320px 1fr; }
}

/* ==========================================================================
   6. Quick facts
   ========================================================================== */
.quick-facts__list {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0;
}
.quick-facts__item {
	background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 14px 16px;
}
.quick-facts__label {
	display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--ink-faint); margin-bottom: 4px;
}
.quick-facts__value { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.quick-facts__empty {
	grid-column: 1 / -1; padding: 18px; text-align: center; color: var(--ink-faint);
	border: 1px dashed var(--line); border-radius: var(--radius); font-size: 0.9rem;
}
@media (min-width: 700px) {
	.quick-facts__list { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   7. Prose / intro blocks (Nì Bán Quạt la ai?, Tieu su)
   ========================================================================== */
.prose-block { max-width: 74ch; }
.prose-block p { color: var(--ink-soft); }
.editable-note {
	border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px;
	color: var(--ink-faint); font-size: 0.92rem; background: var(--paper-alt);
}
.editable-note strong { color: var(--ink-soft); }

/* ==========================================================================
   8. Article cards + grids
   ========================================================================== */
.card-grid {
	display: grid; gap: 20px; grid-template-columns: 1fr;
}
.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
	.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.article-card {
	background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card__thumb { aspect-ratio: 16 / 10; background: var(--paper-alt); overflow: hidden; }
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.article-card__cat {
	font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-strong);
}
.article-card__title { font-size: 1.05rem; margin: 0; }
.article-card__title a { color: var(--ink); }
.article-card__title a:hover { color: var(--accent-strong); text-decoration: none; }
.article-card__excerpt { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }
.article-card__meta { color: var(--ink-faint); font-size: 0.78rem; margin-top: auto; }

.featured-card {
	position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
	aspect-ratio: 16 / 9; background: var(--paper-alt);
}
.featured-card img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__overlay {
	position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
	display: flex; align-items: flex-end; padding: 20px;
}
.featured-card__cat {
	font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #f3d9a6;
}
.featured-card__title { color: #fff; font-size: 1.15rem; margin: 4px 0 0; }
.featured-card__title a { color: #fff; }
.featured-card__title a:hover { text-decoration: underline; }

/* ==========================================================================
   9. Social + media gallery
   ========================================================================== */
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .social-grid { grid-template-columns: repeat(4, 1fr); } }
.social-tile {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px;
	background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
}
.social-tile:hover { border-color: var(--accent); text-decoration: none; }
.social-tile__icon { width: 30px; height: 30px; }
.social-tile__label { font-weight: 700; font-size: 0.88rem; color: var(--ink); }

.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .media-grid { grid-template-columns: repeat(4, 1fr); } }
.media-grid__item { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--paper-alt); }
.media-grid__item img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 74ch; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-bg); }
.faq-item summary {
	cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.3rem; color: var(--accent-strong);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 16px 16px; margin: 0; color: var(--ink-soft); }

/* ==========================================================================
   11. Entity / about box
   ========================================================================== */
.about-box {
	display: flex; gap: 16px; align-items: flex-start; background: var(--card-bg);
	border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
}
.about-box__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--paper-alt); }
.about-box__title { margin: 0 0 6px; font-size: 1.1rem; }
.about-box__text { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #d9dade; margin-top: 20px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 24px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand__name { color: #fff; font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.footer-brand__desc { color: #adaeb4; font-size: 0.9rem; max-width: 40ch; }
.footer-heading { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #c7c8cd; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
	border-top: 1px solid #2b2d33; margin-top: 30px; padding-top: 18px;
	font-size: 0.82rem; color: #8b8d94; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
}

/* ==========================================================================
   13. Single article
   ========================================================================== */
.single-article { padding: 24px 0 50px; }
.single-article__header { max-width: 76ch; margin: 0 auto 24px; }
.single-article__cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; color: var(--accent-strong); }
.single-article__title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 8px 0 12px; }
.single-article__meta { color: var(--ink-faint); font-size: 0.86rem; }
.single-article__thumb {
	max-width: 900px; margin: 0 auto 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.single-article__body {
	max-width: 76ch; margin: 0 auto; font-size: 1.05rem; color: var(--ink);
}
.single-article__body p { color: var(--ink); }
.single-article__body h2 { font-size: 1.4rem; margin-top: 1.6em; }
.single-article__body h3 { font-size: 1.15rem; margin-top: 1.4em; }
.single-article__body img { border-radius: var(--radius); }
.single-article__body a { text-decoration: underline; }
.single-article__body blockquote {
	margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink-soft); font-style: italic;
}
.single-article__tags { max-width: 76ch; margin: 30px auto 0; display: flex; gap: 8px; flex-wrap: wrap; }
.single-article__tags a {
	font-size: 0.8rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft);
}
.pillar-link-box {
	max-width: 76ch; margin: 30px auto 0; padding: 16px 18px; background: var(--accent-tint);
	border-radius: var(--radius); font-size: 0.94rem;
}
.pillar-link-box a { font-weight: 700; }

/* ==========================================================================
   14. Archive / search / 404
   ========================================================================== */
.archive-header { padding: 30px 0 10px; }
.archive-header__title { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 6px; }
.archive-header__desc { color: var(--ink-soft); max-width: 70ch; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 34px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
	padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { background: var(--paper-alt); text-decoration: none; }

.no-results { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.error-404 { text-align: center; padding: 70px 0; }
.error-404__code { font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; color: var(--accent); margin: 0; line-height: 1; }
.error-404__title { font-size: 1.4rem; margin: 10px 0 8px; }
.error-404__actions { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn {
	display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; text-decoration: none; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--paper-alt); text-decoration: none; }

/* ==========================================================================
   6b. Profile card ("Thông tin nhanh")
   ========================================================================== */
.profile-card {
	display: grid; gap: 24px; grid-template-columns: 1fr;
	background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 20px; box-shadow: var(--shadow-md);
}
@media (min-width: 780px) {
	.profile-card { grid-template-columns: minmax(220px, 32%) 1fr; padding: 28px; gap: 32px; align-items: start; }
	/* Quick Facts has no portrait column - full-width card, facts laid out in 2 columns. */
	.profile-card--full { grid-template-columns: 1fr; padding: 28px; }
}
.profile-card__portrait {
	width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-alt);
}
.profile-card__portrait img { width: 100%; height: 100%; object-fit: cover; }
.profile-card__social { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.profile-card--full .profile-card__social { margin-top: 0; margin-bottom: 20px; }
.profile-card__social a {
	flex: 1; min-width: 130px; text-align: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px;
	font-size: 0.84rem; font-weight: 700; color: var(--ink);
}
.profile-card--full .profile-card__social a { flex: 0 0 auto; }
.profile-card__social a:hover { border-color: var(--rose); background: var(--accent-tint); text-decoration: none; }

.fact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
@media (min-width: 700px) {
	.profile-card--full .fact-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
}
.fact-row {
	display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.fact-row:last-child { border-bottom: none; }
.fact-row__icon { flex-shrink: 0; margin-top: 2px; color: var(--rose); }
.fact-row__label {
	flex: 0 0 128px; font-weight: 700; font-size: 0.88rem; color: var(--ink-soft);
}
.fact-row__value { flex: 1; font-size: 0.96rem; color: var(--ink); font-weight: 600; }
.fact-row__value a { color: var(--accent-strong); font-weight: 700; }
@media (max-width: 480px) {
	.fact-row { flex-wrap: wrap; }
	.fact-row__label { flex-basis: 100%; margin-bottom: 2px; }
}

.topic-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.topic-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
	background: var(--accent-tint); color: var(--accent-strong); font-size: 0.86rem; font-weight: 700;
}

/* ==========================================================================
   15b. Image gallery + lightbox
   ========================================================================== */
.gallery-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid__item {
	position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--radius);
	overflow: hidden; background: var(--paper-alt);
}
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.gallery-grid__item:hover img { transform: scale(1.04); }
.gallery-grid__caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 0.78rem; color: #fff;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}

.linhtay-lightbox {
	position: fixed; inset: 0; background: rgba(10, 10, 12, 0.94); z-index: 1000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.linhtay-lightbox[hidden] { display: none; }
.linhtay-lightbox__figure { max-width: 90vw; max-height: 85vh; margin: 0; text-align: center; }
.linhtay-lightbox__img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.linhtay-lightbox__caption { color: #e6e6e8; font-size: 0.88rem; margin-top: 10px; }
.linhtay-lightbox__counter { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); color: #cfcfd2; font-size: 0.82rem; }
.linhtay-lightbox__close,
.linhtay-lightbox__prev,
.linhtay-lightbox__next {
	position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none; border-radius: 50%;
	width: 44px; height: 44px; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.linhtay-lightbox__close:hover,
.linhtay-lightbox__prev:hover,
.linhtay-lightbox__next:hover { background: rgba(255,255,255,0.22); }
.linhtay-lightbox__close { top: 16px; right: 16px; }
.linhtay-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.linhtay-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
body.linhtay-lightbox-open { overflow: hidden; }

/* ==========================================================================
   15c. TikTok video grid
   ========================================================================== */
.video-grid {
	display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
	background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 14px; overflow: hidden;
}
.video-card__title { font-size: 1rem; margin: 0 0 10px; }
.video-card__embed {
	max-width: 100%; overflow: hidden; border-radius: var(--radius);
	min-height: 300px;
}
.video-card__embed iframe,
.video-card__embed blockquote { max-width: 100% !important; }
.video-card__caption { color: var(--ink-soft); font-size: 0.88rem; margin: 10px 0 0; }

/* ==========================================================================
   15. Gutenberg base blocks (minimal, so post content stays readable)
   ========================================================================== */
.wp-block-image { margin: 1.4em 0; }
.wp-block-quote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--ink-soft); }
.wp-block-gallery { margin: 1.4em 0; }
.alignwide { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
