/*
Theme Name: In Nhanh Tay Ninh
Theme URI: https://innhanhtayninh.com
Author: Thien Minh Design & Printing
Author URI: https://innhanhtayninh.com
Description: Theme WordPress cho In Nhanh Tay Ninh / In Thien Minh - quan ly san pham, video, banner, thu vien anh va bai viet ngay tren WP Admin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: intm
*/

/* ============================================
   In Nhanh Tây Ninh — Modern Professional Theme
   Mobile-first, auto-scaling responsive design
   ============================================ */

:root {
  --orange: #D0021B;
  --orange-dark: #A50116;
  --orange-light: #FF4D4D;
  --red: #8B0000;
  --red-dark: #5C0000;
  --dark: #121212;
  --gray-900: #1E1E1E;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #d0d0d0;
  --gray-100: #f5f5f7;
  --white: #ffffff;
  --gradient-promo: linear-gradient(90deg, #D0021B, #5C0000, #D0021B);
  --gradient-hero: linear-gradient(135deg, rgba(208,2,27,.85) 0%, rgba(18,18,18,.75) 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --header-h: 64px;
  --bottom-bar-h: 78px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--bottom-bar-h);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(208,2,27,.35);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--outline {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn--outline:hover { background: var(--orange); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn--ghost {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  background: transparent;
}
.btn--ghost:hover { background: rgba(255,255,255,.15); }

/* ---- 1. Promo Bar ---- */
.promo-bar {
  background: var(--gradient-promo);
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite;
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.promo-bar__track {
  display: flex;
  gap: 60px;
  animation: scroll-promo 20s linear infinite;
  white-space: nowrap;
  padding: 0 20px;
}
@keyframes scroll-promo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.promo-bar__track span { flex-shrink: 0; }

/* ---- 1. Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
}
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.header__menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.header__menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__menu-btn.active span:nth-child(2) { opacity: 0; }
.header__menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.header__logo-tm { height: 36px; width: auto; }
.header__logo-in { height: 40px; width: auto; }

.header__search {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 6px 14px;
  flex-shrink: 0;
  max-width: 160px;
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.header__search:focus-within {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(208,2,27,.15);
}
.header__search input {
  border: none;
  background: none;
  outline: none;
  font-size: .82rem;
  width: 100%;
  font-family: var(--font);
  color: var(--dark);
}
.header__search input::placeholder { color: var(--gray-500); }
.header__search button { color: var(--gray-500); padding: 2px; }

/* ---- Nav Drawer ---- */
.nav-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.nav-drawer.open { pointer-events: all; }
.nav-drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity var(--transition);
}
.nav-drawer.open .nav-drawer__overlay { opacity: 1; }
.nav-drawer__panel {
  position: absolute; top: 0; left: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.nav-drawer.open .nav-drawer__panel { transform: translateX(0); }
.nav-drawer__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-300);
}
.nav-drawer__close {
  font-size: 1.8rem;
  color: var(--gray-700);
  line-height: 1;
}
.nav-drawer__list { flex: 1; padding: 12px 0; overflow-y: auto; }
.nav-drawer__list a {
  display: block;
  padding: 14px 24px;
  font-weight: 500;
  font-size: .95rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.nav-drawer__list a:hover {
  background: var(--gray-100);
  border-left-color: var(--orange);
  color: var(--orange);
}
.nav-drawer__contact {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--gray-300);
}

/* ---- 2. Hero Carousel ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero__carousel { position: relative; }
.hero__slide {
  display: none;
  position: relative;
  min-height: 280px;
}
.hero__slide.active { display: block; }
.hero__slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.hero__content {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  color: var(--white);
}
.hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,.3);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.hero__desc {
  font-size: .88rem;
  opacity: .9;
  margin-bottom: 16px;
  max-width: 320px;
}
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__actions .btn { padding: 10px 20px; font-size: .82rem; }

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  background: var(--dark);
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.hero__dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

.hero__arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.hero__arrow:hover { background: var(--orange); }
.hero__arrow--prev { left: 12px; }
.hero__arrow--next { right: 12px; }

/* ---- Section Common ---- */
.section { padding: 48px 0; }
.section__header {
  text-align: center;
  padding: 32px 16px 24px;
  background: var(--gray-100);
  position: relative;
}
.section__header--dark {
  background: var(--dark);
  color: var(--white);
}
.section__header--dark .section__subtitle { color: rgba(255,255,255,.7); }
.section__title {
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.section__subtitle {
  font-size: .88rem;
  color: var(--gray-700);
  max-width: 500px;
  margin: 0 auto;
}
.section__arrow {
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 12px solid var(--gray-100);
  margin: 16px auto 0;
}
.section__header-inline {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.section__cta { text-align: center; margin-top: 32px; }

/* ---- 3. Products Grid ---- */
.products { padding-top: 0; background: var(--white); }
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 24px 0 16px;
}
.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-300);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.product-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__name {
  padding: 12px 10px 4px;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}
.product-card__tag {
  display: block;
  text-align: center;
  font-size: .72rem;
  color: var(--orange);
  font-weight: 600;
  padding-bottom: 12px;
}
.product-card.hidden { display: none; }

/* ---- 4. In 3D Section ---- */
.in3d { background: var(--gray-100); }
.in3d__banner-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: var(--shadow-md);
}
.in3d__banner-slide { display: none; }
.in3d__banner-slide.active { display: block; }
.in3d__banner-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.in3d__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}
.in3d__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.in3d__dot.active { background: var(--orange); width: 20px; border-radius: 4px; }
.in3d__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.in3d__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.in3d__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.in3d__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.in3d__item p {
  padding: 10px;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
}

/* ---- 5. Videos ---- */
.videos { background: var(--white); }
.videos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-card p {
  padding: 12px 16px;
  font-weight: 600;
  font-size: .88rem;
}

/* ---- 6. Articles ---- */
.articles { background: var(--white); }
.articles__header-box {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.articles__header-box .section__title {
  text-align: left;
  margin-bottom: 6px;
}
.articles__header-box .section__subtitle {
  text-align: left;
  margin: 0;
  max-width: none;
}
.articles__list {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
}
.article-card {
  border-bottom: 1px solid var(--gray-300);
  transition: var(--transition);
}
.article-card:last-child { border-bottom: none; }
.article-card:hover { background: var(--gray-100); }
.article-card a {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding: 16px;
}
.article-card__img {
  flex: none;
  width: 120px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.article-card:hover .article-card__img img { transform: scale(1.05); }
.article-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-card__body time {
  font-size: .75rem;
  color: var(--orange);
  font-weight: 700;
}
.article-card__body h3 {
  font-size: .95rem;
  font-weight: 700;
  margin: 6px 0;
  line-height: 1.4;
  color: var(--dark);
}
.article-card__body p {
  font-size: .82rem;
  color: var(--gray-700);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__link {
  color: var(--orange);
  font-weight: 700;
  font-size: .82rem;
}
.articles__cta { text-align: center; margin-top: 24px; }
.articles__cta .btn--outline {
  border-radius: 50px;
  padding: 14px 32px;
}

/* ---- 7. Gallery ---- */
.gallery { background: var(--white); text-align: center; }
.gallery .section__subtitle { margin-bottom: 32px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gallery__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery__item:hover img { transform: scale(1.08); }

/* ---- 8. Map ---- */
.map-section { background: var(--gray-100); text-align: center; }
.map-section .section__subtitle { margin-bottom: 24px; }
.map-section__wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ---- 9. Contact ---- */
.contact { background: var(--white); text-align: center; }
.contact .section__subtitle { margin-bottom: 32px; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--gray-100);
  transition: var(--transition);
  border: 2px solid transparent;
}
.contact__card:hover {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.contact__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}
.contact__icon--messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.contact__icon--zalo { background: #0068FF; }
.contact__icon--facebook { background: #1877F2; }
.contact__card h3 { font-weight: 700; font-size: 1rem; }
.contact__card p { font-size: .85rem; color: var(--gray-700); }

.contact__staff { margin-bottom: 40px; }
.contact__staff h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.contact__staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.staff-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  transition: var(--transition);
  text-align: center;
}
.staff-card:hover { background: var(--orange); color: var(--white); }
.staff-card strong { font-size: .82rem; }
.staff-card span { font-size: .95rem; font-weight: 700; }
.staff-card--hot {
  background: var(--orange);
  color: var(--white);
  grid-column: 1 / -1;
}
.staff-card--hot:hover { background: var(--orange-dark); }

.contact__form {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: left;
}
.contact__form h3 {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.contact__form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.contact__form input,
.contact__form select {
  padding: 14px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.contact__form input:focus,
.contact__form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(208,2,27,.15);
}

/* ---- 10. Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 40px 0 24px;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand img { filter: brightness(1.1); }
.footer__info p { font-size: .85rem; margin-bottom: 4px; }
.footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  width: 100%;
}

/* ---- Sticky Bottom Bar ---- */
.bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  height: var(--bottom-bar-h);
  border-top: 1px solid var(--gray-300);
}
.bottom-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  padding: 6px 2px;
}
.bottom-bar__item:hover { color: var(--orange); }
.bottom-bar__item svg { color: var(--orange); }
.bottom-bar__zalo {
  width: 30px; height: 30px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.bottom-bar__item--call {
  position: relative;
  top: -14px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 62px; height: 62px;
  flex: none;
  margin: 0 4px;
  box-shadow: 0 4px 15px rgba(139,0,0,.4);
}
.bottom-bar__item--call svg { color: var(--white); }
.bottom-bar__item--call span { color: var(--white); font-size: .62rem; }
.bottom-bar__item--call:hover { background: var(--red-dark); color: var(--white); }

/* ---- Toast Notification ---- */
.toast {
  position: fixed;
  bottom: calc(var(--bottom-bar-h) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
  z-index: 300;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   TABLET (≥ 600px)
   ============================================ */
@media (min-width: 600px) {
  .hero__slide img, .hero__slide { min-height: 360px; }
  .hero__slide img { height: 360px; }
  .products__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .in3d__banner-slide img { height: 240px; }
  .in3d__grid { grid-template-columns: repeat(4, 1fr); }
  .videos__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .contact__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__staff-grid { grid-template-columns: repeat(4, 1fr); }
  .staff-card--hot { grid-column: auto; }
  .contact__form-grid { grid-template-columns: 1fr 1fr; }
  .contact__form-grid button { grid-column: 1 / -1; }
  .section__header-inline { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ============================================
   DESKTOP (≥ 900px)
   ============================================ */
@media (min-width: 900px) {
  :root {
    --header-h: 72px;
    --bottom-bar-h: 0px;
  }
  body { padding-bottom: 0; }
  .bottom-bar { display: none; }

  .header__logo { justify-content: flex-start; }
  .header__search { max-width: 260px; }

  .hero__slide img, .hero__slide { min-height: 480px; }
  .hero__slide img { height: 480px; }
  .hero__content { padding: 48px 60px; }
  .hero__arrow { display: flex; }

  .products__grid { grid-template-columns: repeat(5, 1fr); }
  .in3d__banner-slide img { height: 300px; }
  .videos__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
  .footer__copy { text-align: center; }
}

/* ============================================
   LARGE DESKTOP (≥ 1200px)
   ============================================ */
@media (min-width: 1200px) {
  .hero__slide img, .hero__slide { min-height: 520px; }
  .hero__slide img { height: 520px; }
  .section { padding: 64px 0; }
}

/* Search highlight */
.search-highlight {
  outline: 3px solid var(--orange) !important;
  outline-offset: 2px;
}

/* ---- Single post / Page (bổ sung cho WordPress) ---- */
.single-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.single-breadcrumb { display: block; margin-bottom: 16px; }
.single-breadcrumb a { color: var(--orange); font-weight: 600; font-size: .9rem; }
.single-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.single-thumb img { width: 100%; height: auto; display: block; }
.single-date { color: var(--orange); font-weight: 700; font-size: .8rem; }
.single-title { font-size: 1.8rem; font-weight: 800; margin: 10px 0 20px; color: var(--dark); line-height: 1.3; }
.single-content { font-size: 1rem; line-height: 1.8; color: var(--gray-700); }
.single-content p { margin-bottom: 16px; }
.single-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 16px 0; }
.single-content h2, .single-content h3 { color: var(--dark); margin: 24px 0 12px; }
.single-content ul, .single-content ol { margin: 0 0 16px 20px; }
.single-content a { color: var(--orange); text-decoration: underline; }

/* ---- Pagination (the_posts_pagination) ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--gray-300); border-radius: 8px;
  color: var(--dark); font-weight: 600; font-size: .9rem;
}
.pagination .page-numbers.current { background: var(--orange); color: var(--white); border-color: var(--orange); }
.pagination .page-numbers:hover { border-color: var(--orange); color: var(--orange); }

/* ---- Video card iframe (video sản xuất qua Custom Post Type) ---- */
.video-card__embed { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius-sm); }
.video-card__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Map wrapper ---- */
.map-section__wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
