/* ==========================================================================
   THIỆP CƯỚI TRỰC TUYẾN CAO CẤP - BẢNG 3 TÔNG MÀU SÁNG NHẸ PASTEL
   1. Màu Be Trắng Sáng  (Warm Beige & Pure White)
   2. Màu Hồng Trắng Sáng (Blush Pink & Bright White)
   3. Màu Xanh Blue Trắng Sáng (Soft Sky Blue & Bright White)
   ========================================================================== */

:root, [data-theme="beige-white"] {
  /* Tông 1: Màu Be Trắng Sáng — nhẹ, ấm, thanh lịch */
  --primary-rgb: 196, 164, 138;
  --primary-color: #C4A48A;        /* Be sáng nhẹ ấm áp */
  --primary-dark: #A88265;         /* Be trung bình, không quá đậm */
  --primary-light: #EBD9C8;        /* Be phấn rất nhạt */
  --accent-gold: #D4B896;          /* Vàng be nhạt */
  --accent-gold-light: #FBF7F2;    /* Trắng ngà cực nhạt */

  /* Nền và Khối */
  --bg-cream: #FEFCF9;             /* Trắng ngà sáng tinh khôi */
  --bg-soft: #F9F3EC;              /* Be phấn cực nhạt */
  --bg-card: #FFFFFF;
  --card-dark: #6B5347;            /* Nâu be vừa — không tối quá */

  /* Chữ và Đường viền */
  --text-dark: #3D2F26;
  --text-muted: #9C8679;
  --text-light: #FFFFFF;
  --border-color: #EEE2D6;
  --border-light: #FAF4EE;

  /* Đổ bóng */
  --shadow-color: rgba(196, 164, 138, 0.14);
  --shadow-sm: 0 4px 16px rgba(196, 164, 138, 0.08);
  --shadow-md: 0 12px 32px rgba(196, 164, 138, 0.12);
  --shadow-lg: 0 20px 48px rgba(107, 83, 71, 0.14);

  /* Typography */
  --font-serif: 'Prata', 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
  --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tông 2: Màu Hồng Trắng Sáng — Blush Pink, dịu dàng, lãng mạn */
[data-theme="pink-white"] {
  --primary-rgb: 229, 152, 170;
  --primary-color: #E598AA;        /* Hồng blush pastel sáng nhẹ */
  --primary-dark: #C97890;         /* Hồng vừa, không quá đậm */
  --primary-light: #F9D5DF;        /* Hồng phấn cực nhạt */
  --accent-gold: #EDA8BC;
  --accent-gold-light: #FFF5F7;

  /* Nền và Khối */
  --bg-cream: #FFFBFC;             /* Trắng sáng ửng hồng cực nhẹ */
  --bg-soft: #FEF0F3;              /* Hồng sữa pastel */
  --bg-card: #FFFFFF;
  --card-dark: #885566;            /* Hồng đậm vừa, không tối */

  /* Chữ và Đường viền */
  --text-dark: #3D2030;
  --text-muted: #9C6E7E;
  --text-light: #FFFFFF;
  --border-color: #FBDDE6;
  --border-light: #FEF4F7;

  /* Đổ bóng */
  --shadow-color: rgba(229, 152, 170, 0.14);
  --shadow-sm: 0 4px 16px rgba(229, 152, 170, 0.08);
  --shadow-md: 0 12px 32px rgba(229, 152, 170, 0.12);
  --shadow-lg: 0 20px 48px rgba(136, 85, 102, 0.14);
}

/* Tông 3: Màu Xanh Blue Trắng Sáng — Soft Sky Blue, trong trẻo, dịu mát */
[data-theme="blue-white"] {
  --primary-rgb: 100, 162, 211;
  --primary-color: #64A2D3;        /* Xanh sky pastel sáng */
  --primary-dark: #4381B0;         /* Xanh vừa, không quá đậm */
  --primary-light: #BDD9F0;        /* Xanh sữa cực nhạt */
  --accent-gold: #82B8E3;
  --accent-gold-light: #F0F7FD;

  /* Nền và Khối */
  --bg-cream: #F8FBFE;             /* Trắng xanh cực nhạt trong trẻo */
  --bg-soft: #EDF5FB;              /* Xanh sữa pastel */
  --bg-card: #FFFFFF;
  --card-dark: #3D6E96;            /* Xanh vừa, không tối */

  /* Chữ và Đường viền */
  --text-dark: #1A3348;
  --text-muted: #6A8FA8;
  --text-light: #FFFFFF;
  --border-color: #CCDFF0;
  --border-light: #E8F3FB;

  /* Đổ bóng */
  --shadow-color: rgba(100, 162, 211, 0.14);
  --shadow-sm: 0 4px 16px rgba(100, 162, 211, 0.08);
  --shadow-md: 0 12px 32px rgba(100, 162, 211, 0.12);
  --shadow-lg: 0 20px 48px rgba(61, 110, 150, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.modal-open {
  overflow: hidden;
}

/* Canvas cánh hoa rơi nền (màu trắng và be nhạt tinh tế) */
#petal-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.text-center {
  text-align: center;
}

.section-padding {
  padding: 64px 0;
}

.section-tagline {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-script);
  font-size: 4rem;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 400;
  text-shadow: 0 2px 10px var(--shadow-color);
}

.section-desc {
  max-width: 660px;
  margin: 0 auto 45px;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-style: italic;
}

/* ==========================================================================
   THEME SWITCHER PILL (3 Tông Màu: Trắng Sáng, Hồng Trắng Sáng, Xanh Trắng Sáng)
   ========================================================================== */
.theme-switcher-pill {
  position: fixed;
  top: 80px;
  right: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  z-index: 860;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.theme-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, outline 0.2s ease;
}

.theme-dot:hover {
  transform: scale(1.22);
}

.theme-dot.active {
  outline: 2.5px solid var(--primary-color);
  outline-offset: 1.5px;
  transform: scale(1.15);
}

.theme-dot.dot-beige {
  background: linear-gradient(135deg, #C4A48A, #FBF7F2);
  border: 1.5px solid #C4A48A;
  box-shadow: 0 2px 6px rgba(196, 164, 138, 0.35);
}

.theme-dot.dot-pink {
  background: linear-gradient(135deg, #E598AA, #FEF0F3);
  border: 1.5px solid #E598AA;
  box-shadow: 0 2px 6px rgba(229, 152, 170, 0.35);
}

.theme-dot.dot-blue {
  background: linear-gradient(135deg, #64A2D3, #EDF5FB);
  border: 1.5px solid #64A2D3;
  box-shadow: 0 2px 6px rgba(100, 162, 211, 0.35);
}

/* ==========================================================================
   1. PHONG BÌ THIỆP MỜI MỞ ĐẦU (ENTRANCE INVITATION CARD)
   ========================================================================== */
#invitation-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(52, 44, 38, 0.65), rgba(20, 16, 14, 0.88));
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

#invitation-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.invitation-card {
  position: relative;
  background: #FFFFFF;
  width: 100%;
  max-width: 500px;
  min-height: 660px;
  border-radius: 28px;
  border: 2px solid var(--border-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(255, 255, 255, 0.2);
  padding: 50px 35px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(0) scale(1);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.invitation-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--primary-light);
  border-radius: 20px;
  pointer-events: none;
  opacity: 0.7;
}

#invitation-modal.hidden .invitation-card {
  transform: translateY(50px) scale(0.9);
}

.card-ornament-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: url('https://w.ladicdn.com/s700x700/689218c23c46d40012eac1e2/7-20260302043442-eoq8q.png') no-repeat center center / contain;
  opacity: 0.18;
  filter: sepia(0.2);
  pointer-events: none;
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-top-label {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 600;
}

.guest-personalized-name {
  font-size: 1.4rem;
  font-weight: 700;
  font-style: italic;
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-underline-offset: 8px;
  margin-bottom: 16px;
  line-height: 1.4;
  word-break: break-word;
}

.card-subtext {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.card-couple-calligraphy {
  font-family: var(--font-script);
  font-size: 3.8rem;
  color: var(--primary-color);
  line-height: 1.15;
  margin: 8px 0;
  text-shadow: 0 3px 8px var(--shadow-color);
}

.card-couple-calligraphy span {
  display: block;
}

.card-date-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 4px;
  color: var(--primary-dark);
  padding: 8px 24px;
  border-top: 1px solid var(--primary-light);
  border-bottom: 1px solid var(--primary-light);
  margin: 18px 0;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 4px;
}

.card-quote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 15px 0 25px;
  padding: 0 10px;
}

.btn-open-card {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 13px 36px;
  border-radius: 35px;
  box-shadow: 0 8px 24px var(--shadow-color);
  border: 1px solid var(--primary-light);
  transition: var(--transition);
  margin-top: 10px;
}

.btn-open-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px var(--shadow-color);
}

/* ==========================================================================
   2. TOP FLOATING NAVBAR & LIVE WISH TICKER (TRẮNG & BE)
   ========================================================================== */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #fff;
  padding: 2px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  color: var(--primary-color);
  transition: color 0.35s ease, border-color 0.35s ease;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary-dark);
  letter-spacing: 1.5px;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
}

/* Floating Live Wish Toast Ticker - Disabled as requested */
.wish-toast-ticker {
  display: none !important;
}

/* ==========================================================================
   3. HERO / COVER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(30, 20, 15, 0.22), rgba(20, 15, 10, 0.50)),
              url('images/anh-bia-cuoi.jpg') no-repeat center center / cover;
  color: #FFFFFF;
  text-align: center;
  padding: 130px 20px 90px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(28, 22, 18, 0.7) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  animation: fadeInUp 1s ease-out;
}

.hero-script-title {
  font-family: var(--font-script);
  font-size: 5.5rem;
  color: #F8F1E4;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero-names {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #FFFFFF;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
  margin-bottom: 35px;
  line-height: 1.25;
}

.hero-family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto 45px;
  background: rgba(45, 36, 30, 0.55);
  backdrop-filter: blur(12px);
  padding: 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
}

.family-box h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #F8F1E4;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}

.family-box p {
  font-size: 1rem;
  line-height: 1.65;
  color: #FFFFFF;
}

.hero-scroll-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  padding: 12px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  animation: floatBounce 2.5s infinite;
}

.hero-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* ==========================================================================
   4. STORY SECTION ("Chuyện Chúng Mình" - NỀN BE NHẸ, THẺ TRẮNG)
   ========================================================================== */
.story-section {
  background-color: var(--bg-soft);
  position: relative;
}

.story-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.story-text-card {
  background: #FFFFFF;
  padding: 50px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-color);
  position: relative;
}

.story-text-card::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px dashed var(--primary-light);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0.7;
}

.story-p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.story-highlight {
  font-family: var(--font-serif);
  color: var(--primary-dark);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.85;
  border-left: 3px solid var(--primary-color);
  padding-left: 20px;
  margin-top: 25px;
}

.story-img-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #FFFFFF;
}

.story-img-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-img-card:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   5. COUPLE PORTRAITS SECTION ("Chân Dung Cô Dâu Chú Rể")
   ========================================================================== */
.portrait-section {
  background-color: var(--bg-cream);
}

.portrait-banner {
  max-width: 1040px;
  margin: 0 auto 45px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #FFFFFF;
}

.portrait-banner img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.portrait-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 45px;
}

.tab-btn {
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 40px;
  border: 2px solid var(--primary-color);
  background-color: #FFFFFF;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.portrait-content-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.portrait-content-pane.active {
  display: block;
}

.portrait-card {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.portrait-photo {
  height: 100%;
  min-height: 520px;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-info {
  padding: 55px 48px;
  position: relative;
}

.quote-decor {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--primary-light);
  opacity: 0.45;
  margin-bottom: 12px;
}

.portrait-name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary-color);
  letter-spacing: 2px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portrait-name::after {
  content: '🌿';
  font-size: 1.3rem;
}

.portrait-desc {
  color: var(--text-dark);
  font-size: 1.06rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* ==========================================================================
   6. PHOTO GALLERY SECTION ("Bộ Sưu Tập Ảnh Cưới" - KHUNG TRẮNG VIỀN BE)
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
  cursor: pointer;
  height: 390px;
  border: 5px solid #FFFFFF;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.emblem-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #FFFFFF;
  text-align: center;
  cursor: default;
  border: 5px solid #FFFFFF;
}

.emblem-logo {
  width: 108px;
  height: 108px;
  flex: 0 0 auto;
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  border: 0;
  filter: drop-shadow(0 3px 5px rgba(48, 33, 22, 0.22));
}

.emblem-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.emblem-sub {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: #F8F1E4;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay span {
  background: #FFFFFF;
  color: var(--primary-color);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transform: scale(0.6);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
  transform: scale(1);
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 42px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-light);
}

.btn-view-more:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Lightbox Modal */
#gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 18, 0.96);
  backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #fff;
  font-size: 2.2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

/* ==========================================================================
   7. GUESTBOOK SECTION ("Gửi Lời Chúc" - KHỐI TRẮNG TINH TẾ)
   ========================================================================== */
.guestbook-section {
  background-color: var(--bg-cream);
}

.guestbook-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #FAF8F5;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--shadow-color);
  outline: none;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.btn-send-wish {
  padding: 15px 32px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-send-wish:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wish-list-wrapper {
  max-height: 420px;
  overflow-y: hidden;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  scrollbar-width: none; /* Ẩn scrollbar Firefox */
  -ms-overflow-style: none; /* Ẩn scrollbar IE/Edge */
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  cursor: default;
}

.wish-list-wrapper::-webkit-scrollbar {
  display: none; /* Ẩn scrollbar Chrome/Safari */
}

.wish-card-item {
  background: var(--bg-cream);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-align: left;
  animation: fadeIn 0.4s ease;
}

.wish-card-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wish-card-name::before {
  content: '💌';
  font-size: 0.9rem;
}

.wish-card-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.55;
}

/* ==========================================================================
   8. WEDDING EVENTS TIMELINE ("Sự Kiện Cưới" - NÂU BE ĐẬM SANG TRỌNG)
   ========================================================================== */
.events-section {
  background-color: var(--bg-soft);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.event-card {
  position: relative;
  background-color: var(--card-dark);
  color: #FFFFFF;
  border-radius: 26px;
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-badge-photo {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 92px;
  height: 92px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.event-badge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: #F8F1E4;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: var(--primary-light);
  margin-bottom: 24px;
  max-width: calc(100% - 110px);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.detail-icon {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin-top: 2px;
}

.detail-text strong {
  display: block;
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.detail-text span {
  font-size: 0.98rem;
  color: #E8DCD1;
  line-height: 1.5;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--primary-light);
}

.btn-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* ==========================================================================
   9. COUNTDOWN & RSVP SECTION ("Xác Nhận Tham Dự")
   ========================================================================== */
.rsvp-section {
  background-color: var(--bg-cream);
}

.rsvp-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: stretch;
}

.countdown-box {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid #FFFFFF;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 45px 35px;
  background: url('images/anh-dem-nguoc.png') no-repeat center center / cover;
}

.countdown-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 22, 16, 0.75) 0%, rgba(30, 22, 16, 0.22) 60%, transparent 100%);
  pointer-events: none;
}

.countdown-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

.countdown-date {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 8px;
  color: #F8F1E4;
}

.countdown-sub {
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  margin-bottom: 26px;
  font-weight: 500;
}

.countdown-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 400px;
  margin: 0 auto;
}

.timer-unit {
  background: rgba(var(--primary-rgb), 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 14px 6px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.timer-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
}

.timer-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #F8F1E4;
  margin-top: 5px;
  font-weight: 600;
}

.rsvp-card {
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rsvp-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-align: center;
}

.rsvp-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 26px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.radio-group-container {
  display: flex;
  gap: 30px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
}

.radio-label input[type="radio"] {
  accent-color: var(--primary-color);
  width: 18px;
  height: 18px;
}

.btn-rsvp-submit {
  width: 100%;
  padding: 16px 26px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: 14px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.btn-rsvp-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   10. WEDDING GIFT / BANK QR ("Hộp Mừng Cưới" - THẺ TRẮNG TINH KHÔI)
   ========================================================================== */
.gift-section {
  background-color: var(--bg-soft);
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
  max-width: 880px;
  margin: 0 auto;
}

.gift-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: 24px;
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gift-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.qr-frame {
  width: 230px;
  height: 230px;
  background: #FFFFFF;
  border: 2px solid var(--primary-light);
  border-radius: 18px;
  padding: 10px;
  margin-bottom: 22px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.qr-frame:hover {
  transform: scale(1.05);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bank-owner-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.bank-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.bank-account-num {
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.btn-copy-acc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  border-radius: 25px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-copy-acc:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

/* Enlarge QR Modal */
#qr-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 18, 0.9);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

#qr-modal.active {
  opacity: 1;
  visibility: visible;
}

.qr-modal-content {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 42px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-color);
}

.qr-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
  color: var(--text-muted);
}

.qr-modal-img {
  width: 290px;
  height: 290px;
  margin: 16px auto;
  border-radius: 14px;
}

/* ==========================================================================
   11. THANK YOU SECTION
   ========================================================================== */
.thankyou-section {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(30, 20, 15, 0.25), rgba(20, 15, 10, 0.55)),
              url('images/anh-nen-thankyou.png') no-repeat center top / cover;
  color: #FFFFFF;
  text-align: center;
  padding: 72px 20px;
}

.thankyou-card {
  max-width: 650px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  background: rgba(45, 36, 30, 0.55);
  backdrop-filter: blur(12px);
  padding: 44px 40px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-lg);
}

.thankyou-title {
  font-family: var(--font-script);
  font-size: 5.5rem;
  color: #F8F1E4;
  margin-bottom: 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.thankyou-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.85;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.footer-bar {
  background-color: var(--card-dark);
  color: #E8DCD1;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bar a {
  color: #F8F1E4;
  text-decoration: underline;
}

/* ==========================================================================
   12. FLOATING UTILITIES (Audio Toggle, Scroll To Top, Toast)
   ========================================================================== */
.floating-audio-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1.5px solid #FFFFFF;
  z-index: 800;
  animation: pulseGlow 2.5s infinite;
}

.floating-audio-btn.playing {
  animation: discSpin 4s linear infinite;
}

.floating-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1.5px solid #FFFFFF;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.floating-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.floating-top-btn:hover,
.floating-audio-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

#action-toast {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--card-dark);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 35px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--primary-light);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99999;
}

#action-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDownToast { from { opacity: 0; transform: translate(-50%, -20px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes heartPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes floatBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 4px 16px var(--shadow-color); } 50% { box-shadow: 0 4px 30px var(--primary-color); } }
@keyframes discSpin { 100% { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 991px) {
  .section-title { font-size: 3.2rem; }
  .hero-script-title { font-size: 4.2rem; }
  .hero-names { font-size: 2.6rem; }
  .story-wrapper { grid-template-columns: 1fr; }
  .portrait-card, .portrait-card.reverse { grid-template-columns: 1fr; }
  .portrait-photo { min-height: 420px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .rsvp-wrapper { grid-template-columns: 1fr; }
  .guestbook-card { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: 1fr; max-width: 440px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
  }
  .nav-menu.open { left: 0; }
  .mobile-menu-btn { display: block; }
  .hero-family-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 330px; }
  .countdown-timer-grid { gap: 10px; }
  .timer-num { font-size: 1.8rem; }
  .invitation-card { padding: 40px 22px; }
  .card-couple-calligraphy { font-size: 3.2rem; }
  .thankyou-title { font-size: 4rem; }
  .theme-switcher-pill { top: 76px; right: 15px; padding: 4px 10px; font-size: 0.78rem; }
}

/* Phong cách giấy cưới ngà, viền champagne và nâu ấm */
[data-theme="beige-white"] {
  --primary-rgb: 167, 131, 101;
  --primary-color: #A78365;
  --primary-dark: #86664D;
  --primary-light: #E8D8C8;
  --accent-gold: #C7A76F;
  --accent-gold-light: #FBF7F0;
  --bg-cream: #FBF8F3;
  --bg-soft: #F4EEE6;
  --bg-card: #FFFEFC;
  --card-dark: #80634C;
  --text-dark: #493A30;
  --text-muted: #8E7967;
  --border-color: #E4D6C7;
  --border-light: #F5EEE6;
  --shadow-color: rgba(105, 78, 55, 0.12);
  --shadow-sm: 0 4px 16px rgba(105, 78, 55, 0.08);
  --shadow-md: 0 12px 32px rgba(105, 78, 55, 0.12);
  --shadow-lg: 0 20px 48px rgba(71, 52, 38, 0.16);
}

body {
  background-color: var(--bg-cream);
  background-image: radial-gradient(rgba(167, 131, 101, 0.055) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
}

.top-navbar {
  background: rgba(var(--primary-rgb), 0.97);
  border-bottom-color: rgba(231, 213, 188, 0.65);
  box-shadow: 0 5px 22px rgba(73, 53, 37, 0.16);
}

.brand-logo-img { background-color: transparent; color: #FFF9F0; border-color: rgba(255, 249, 240, 0.6); }
.brand-text, .nav-menu a, .mobile-menu-btn { color: #FFF9F0; }
.nav-menu a:hover, .nav-menu a.active { color: #F2DCA8; }
.nav-menu a::after { background-color: #E4C58D; }
.hero-script-title { color: #F0D69A; text-shadow: 0 3px 18px rgba(39, 28, 19, 0.55); }
.section-title { text-shadow: 0 2px 14px rgba(167, 131, 101, 0.16); }
.story-section, .guestbook-section, .rsvp-section {
  background-image: radial-gradient(rgba(167, 131, 101, 0.045) 0.65px, transparent 0.65px);
  background-size: 9px 9px;
}
.story-section, .gallery-section, .guestbook-section, .rsvp-section { background-color: var(--bg-cream); }
.portrait-section, .events-section, .gift-section { background-color: var(--bg-soft); }
.story-text-card, .portrait-card, .guestbook-card, .event-card, .gift-card, .rsvp-card {
  border-color: rgba(167, 131, 101, 0.22);
  box-shadow: 0 10px 28px rgba(105, 78, 55, 0.08);
}

.section-padding {
  background-image: url('images/floral-side-pattern.svg'), url('images/floral-side-pattern.svg'), radial-gradient(rgba(167, 131, 101, 0.035) 0.65px, transparent 0.65px);
  background-repeat: no-repeat, no-repeat, repeat;
  background-position: left 2% center, right 2% center, 0 0;
  background-size: 165px auto, 165px auto, 9px 9px;
}

@media (max-width: 768px) {
  .nav-menu { background-color: rgba(var(--primary-rgb), 0.98); }
}

.thankyou-section > .container {
  width: 100%;
  max-width: none;
  padding-left: 5vw;
  padding-right: 5vw;
}

@media (max-width: 768px) {
  .thankyou-section > .container { padding-left: 16px; padding-right: 16px; }
  .thankyou-card { max-width: 100%; margin: 0 auto; }
}

/* Chồng hai ảnh cưới theo bố cục scrapbook */
.story-img-card {
  position: relative;
  min-height: 590px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.story-photo {
  position: absolute;
  overflow: hidden;
  border: 6px solid #FFFFFF;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}
.story-photo-main { top: 0; right: 0; width: 88%; height: 420px; z-index: 1; }
.story-photo-overlap { top: 310px; left: 11%; width: 86%; height: 290px; z-index: 2; }
.story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 991px) {
  .story-img-card { width: 100%; max-width: 610px; min-height: 610px; margin: 8px auto 0; }
  .story-photo-main { height: 430px; }
  .story-photo-overlap { top: 320px; height: 290px; }
}
@media (max-width: 768px) {
  .story-img-card { min-height: 510px; }
  .story-photo-main { height: 350px; }
  .story-photo-overlap { top: 260px; height: 245px; }
}

/* Canh điểm dừng đồng nhất dưới thanh điều hướng cố định */
html { scroll-padding-top: 76px; }
section[id], header[id] { scroll-margin-top: 0; }
.section-padding { padding: 32px 0 48px; }
