/* ==========================================================================
   THE HOLIDAYSPOT - MOBILE UI DESIGN SYSTEM
   Figma Replicas: Frame 3 (Emerald Forest Green) & Frame 4 (Royal Blue)
   ========================================================================== */

/* --- CSS Reset & Base Setup --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000000;
  color: #1e293b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color 0.3s ease;
  overflow-x: hidden;
}

/* ==========================================================================
   COLOR TOKENS & THEME VARIABLES
   ========================================================================== */

/* Theme: Green (Frame 3 - Deep Forest / Sage) */
body[data-theme="green"] {
  --theme-primary: #123326;
  --theme-primary-hover: #0c251b;
  --theme-section-tag: #11211e;
  --theme-surface-search: #11211e;
  --theme-surface-insight: #11211e;
  --theme-stat-card-bg: #b0beb0;
  --theme-stat-card-text: #11211e;
  --theme-stat-card-border: transparent;
  --theme-title-color: #11211e;
  --theme-accent-badge: #c2572b;
  --theme-action-btn: #ba5d32;
  --theme-action-btn-hover: #a34e27;
  --theme-editor-section-bg: #11211e;
  --theme-editor-title: #ffffff;
  --theme-editor-subtitle: #8ea89c;
  --theme-editor-badge: #c2572b;
  --theme-editor-btn-bg: #c2572b;
  --theme-editor-btn-icon: #ffffff;
  --theme-footer-bg: #ffffff;
  --theme-footer-text: #2c3831;
  --theme-footer-btn-color: #11211e;
  --theme-footer-logo-bg: #11211e;
  --theme-footer-logo-text: #ffffff;
  --theme-divider: rgba(18, 51, 38, 0.12);
  --theme-article-badge: #c2572b;
  --theme-arrow-pill-bg: #f3efe6;
  --theme-arrow-pill-color: #11211e;
  --theme-accent-indicator-1: #199c51;
  --theme-accent-indicator-2: #b5d746;
  --theme-accent-indicator-3: #ffde3c;
  --theme-accent-indicator-4: #cd632f;
  --theme-hero-title: #11211e;
  --theme-hero-tagline: #11211e;
  --theme-hero-divider: rgba(17, 33, 30, 0.45);
  --theme-hero-btn-bg: #f7f2eb;
  --theme-hero-btn-hover: #ede5da;
  --theme-hero-btn-title: #11211e;
  --theme-hero-btn-sub: #1e293b;
  --theme-hero-btn-border: rgba(17, 33, 30, 0.08);
}

/* Theme: Blue (Frame 4 - Royal Cobalt / Ice Blue) */
body[data-theme="blue"] {
  --theme-primary: #1e40af;
  --theme-primary-hover: #1e3a8a;
  --theme-section-tag: #2549b9;
  --theme-surface-search: #2549b9;
  --theme-surface-insight: #2549b9;
  --theme-stat-card-bg: #b9d1ec;
  --theme-stat-card-text: #2549b9;
  --theme-stat-card-border: transparent;
  --theme-title-color: #2549b9;
  --theme-accent-badge: #c2572b;
  --theme-action-btn: #2563eb;
  --theme-action-btn-hover: #1d4ed8;
  --theme-editor-section-bg: #f2f6fe;
  --theme-editor-title: #2549b9;
  --theme-editor-subtitle: #575a5b;
  --theme-editor-badge: #2549b9;
  --theme-editor-btn-bg: #165dfb;
  --theme-editor-btn-icon: #ffffff;
  --theme-footer-bg: #0f1423;
  --theme-footer-text: #8a92a6;
  --theme-footer-btn-color: #ffffff;
  --theme-footer-logo-bg: #2549b9;
  --theme-footer-logo-text: #ffffff;
  --theme-divider: rgba(30, 64, 175, 0.15);
  --theme-article-badge: #2549b9;
  --theme-arrow-pill-bg: #f3efe6;
  --theme-arrow-pill-color: #2549b9;
  --theme-accent-indicator-1: #199c51;
  --theme-accent-indicator-2: #b5d746;
  --theme-accent-indicator-3: #ffde3c;
  --theme-accent-indicator-4: #cd632f;
  --theme-hero-title: #2549b9;
  --theme-hero-tagline: #2549b9;
  --theme-hero-divider: rgba(37, 73, 185, 0.35);
  --theme-hero-btn-bg: #edf3fc;
  --theme-hero-btn-hover: #e0ecfc;
  --theme-hero-btn-title: #2549b9;
  --theme-hero-btn-sub: #1e40af;
  --theme-hero-btn-border: rgba(37, 73, 185, 0.15);
}

/* Global Font Families */
.font-serif,
.top-guide-title,
.hero-heading,
.editorial-title,
.insight-heading,
.stat-price-value,
.article-headline a,
.editors-title,
.overlay-headline {
  font-family: 'Newsreader', 'DM Serif Display', Georgia, serif;
}

/* ==========================================================================
   FLOATING THEME SWITCHER (Left Side Bottom Corner)
   ========================================================================== */
.floating-theme-switch {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 10px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.switch-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 0 4px;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.theme-pill-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.theme-pill-btn.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.green-dot {
  background: #123326;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.blue-dot {
  background: #1e40af;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   VIEWPORT & FLAT MOBILE CONTAINER
   ========================================================================== */
.page-viewport {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
  background-color: #000000;
}

/* Flat Mobile Container (Only Flat View) */
.mobile-container {
  width: 100%;
  max-width: 375px;
  background-color: #ffffff;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
   TOP GUIDE HEADER BAR (With Background Blur)
   ========================================================================== */
.top-guide-header {
  position: relative;
  padding: 16px 18px 10px 18px;
  text-align: left;
  overflow: hidden;
  background-color: #111a16;
  min-height: 110px;
  display: flex;
  align-items: center;
}

/* Blurred background image layer */
.top-header-blur-bg {
  position: absolute;
  inset: -10px;
  background-color: #111a16;
  background-image: var(--header-bg-image, none);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transform: scale(1.08);
  z-index: 1;
}

/* Gradient overlay */
.top-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.64) 100%);
  z-index: 2;
}

.top-guide-title {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.34;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  text-align: left;
  margin: 0;
  width: 100%;
}

/* ==========================================================================
   HERO CULINARY CARD
   ========================================================================== */
.hero-culinary-section {
  padding: 0;
  background: #ffffff;
  margin: 0;
}

.hero-culinary-container {
  position: relative;
  width: 100%;
}

/* Mobile Hero Typography & Cream Button Overlay (Exact look of hero.png on clean image) */
.hero-desktop-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  padding: clamp(16px, 4.5vw, 24px) 0 clamp(18px, 5.5vw, 28px) 0;
}

.hero-culinary-header {
  padding-left: clamp(16px, 4.5vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.culinary-tagline-top {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(10px, 2.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.culinary-title-experience {
  font-family: 'DM Serif Display', 'Newsreader', Georgia, serif;
  font-size: clamp(30px, 8.8vw, 42px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  color: #ffffff;
  margin: 2px 0 3px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.culinary-tagline-bottom {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(10px, 2.9vw, 13px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.culinary-divider-line {
  width: clamp(65px, 20vw, 90px);
  height: 1.5px;
  background-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Cream button on Mobile: Flush to the left edge, rounded on the right */
.hero-culinary-btn-wrap {
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.hero-culinary-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background-color: #faf4eb;
  padding: clamp(10px, 2.8vw, 13px) clamp(22px, 6vw, 32px) clamp(8px, 2.4vw, 11px) clamp(16px, 4.5vw, 22px);
  border-radius: 0 20px 20px 0;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.hero-culinary-btn:hover {
  background-color: #f3eae0;
  transform: translateX(2px);
}

.hero-culinary-btn .btn-primary-text {
  font-family: 'DM Serif Display', 'Newsreader', Georgia, serif;
  font-size: clamp(18px, 5.2vw, 23px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #111827;
  text-transform: uppercase;
}

.hero-culinary-btn .btn-sub-text {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(8.5px, 2.5vw, 11px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #1e293b;
  text-transform: uppercase;
  margin-top: 3px;
  transition: transform 0.2s ease;
}

.hero-culinary-btn:hover .btn-sub-text {
  transform: translateX(3px);
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 896;
  overflow: hidden;
  background: #1c2722;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   RELATED SEARCHES SECTION
   ========================================================================== */
.related-searches-section {
  padding: 21px 16px 22px 16px;
  background-color: #ffffff;
  font-size: 14px;
}

.section-tag-row {
  margin-bottom: 12px;
}

.section-tag {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-section-tag);
  display: block;
}

/* Themed Search Stack Container */
.search-card-stack {
  background-color: var(--theme-surface-search);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.search-item-row {
  display: flex;
  align-items: center;
  position: relative;
  padding: 16px 16px 16px 22px;
  min-height: 65px;
  text-decoration: none;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.search-item-row:last-child {
  border-bottom: none;
}

.search-item-row:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.search-item-row:active {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Colored vertical indicator bar on the left edge */
.search-item-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  flex-shrink: 0;
}

.search-item-row:first-child .search-item-bar {
  border-top-left-radius: 12px;
}

.search-item-row:last-child .search-item-bar {
  border-bottom-left-radius: 12px;
}

.search-item-bar.bar-1 {
  background-color: var(--theme-accent-indicator-1);
}

.search-item-bar.bar-2 {
  background-color: var(--theme-accent-indicator-2);
}

.search-item-bar.bar-3 {
  background-color: var(--theme-accent-indicator-3);
}

.search-item-bar.bar-4 {
  background-color: var(--theme-accent-indicator-4);
}

.search-item-text {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.34;
  color: #ffffff;
}

.search-item-icon {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.search-item-row:hover .search-item-icon {
  transform: scale(1.1);
  color: #ffffff;
}

/* ==========================================================================
   THE ESSENTIAL GUIDE SECTION (Editorial & Price Insights)
   ========================================================================== */
.guide-editorial-section {
  padding: 16px;
  background-color: #ffffff;
}

.guide-editorial-container,
.latest-articles-container {
  width: 100%;
}

.editorial-badge {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--theme-accent-badge);
  margin-bottom: 20px;
}

.editorial-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--theme-title-color);
  margin-bottom: 16px;
  max-width: 15.5ch;
  text-wrap: balance;
}

.editorial-lead {
  font-size: 12px;
  line-height: 1.58;
  color: #555e6c;
  margin-bottom: 26px;
}

/* Composite Rent & Insight Card (Unified Square-Corner Card Block) */
.rent-composite-card {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  margin-top: 24px;
}

/* Average Rent Stat Card (Top Portion) */
.rent-stat-card {
  background-color: var(--theme-stat-card-bg);
  border: none;
  border-radius: 0;
  padding: 62px 28px 62px 28px;
  text-align: left;
  margin: 0;
  transition: background-color 0.3s ease;
}

.stat-meta-top {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-stat-card-text);
  margin-bottom: 18px;
}

.stat-price-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--theme-stat-card-text);
  margin: 0 0 18px 0;
}

.stat-meta-bottom {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--theme-stat-card-text);
}

/* Market Insight Card (Bottom Portion) */
.market-insight-card {
  background-color: var(--theme-surface-insight);
  border-radius: 0;
  padding: 34px 28px 36px 28px;
  color: #ffffff;
  margin: 0;
  box-shadow: none;
  text-align: left;
  transition: background-color 0.3s ease;
}

.insight-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 16px;
}

.insight-description {
  font-size: 12px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.insight-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.insight-link:hover {
  gap: 14px;
}

.insight-link .inline-arrow {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.insight-link:hover .inline-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   LATEST ARTICLES SECTION (Knowledge, Curated)
   ========================================================================== */
.latest-articles-section {
  padding: 20px 16px;
  background-color: #ffffff;
  border-top: none;
  margin-bottom: 20px;
}

.latest-articles-section .editorial-badge {
  color: var(--theme-article-badge);
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin-top: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-media-container {
  position: relative;
  width: 100%;
  aspect-ratio: 343 / 268;
  border-radius: 0;
  overflow: hidden;
  background-color: #f1f5f9;
}

.media-img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.article-card:hover .article-img {
  transform: scale(1.03);
}

/* Square arrow button flush at bottom right corner of image */
.media-arrow-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: var(--theme-arrow-pill-bg);
  color: var(--theme-arrow-pill-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background-color 0.2s ease;
  text-decoration: none;
  z-index: 2;
}

.media-arrow-btn:hover {
  background: #ffffff;
}

.article-info {
  padding-top: 14px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 14px;
}

.article-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.article-headline a {
  color: var(--theme-title-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.article-headline a:hover {
  opacity: 0.85;
}

/* ==========================================================================
   EDITOR'S SELECTION (Ideas Shaping Modern Industry)
   ========================================================================== */
.editors-selection-section {
  background-color: var(--theme-editor-section-bg);
  padding: 34px 22px 42px 22px;
  transition: background-color 0.3s ease;
}

.editors-header-wrap {
  margin-top: 32px;
  margin-bottom: 32px;
}

.editors-badge {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--theme-editor-badge);
  margin-bottom: 22px;
}

.editors-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--theme-editor-title);
  margin-bottom: 20px;
}

.editors-subtitle {
  font-size: 13px;
  line-height: 1.55;
  color: var(--theme-editor-subtitle);
}

.editors-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Overlay Card Style (Image with dark text overlay & action button) */
.overlay-feature-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: #0b1512;
  box-shadow: none;
}

.overlay-card-media {
  position: absolute;
  inset: 0;
}

.overlay-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.overlay-feature-card:hover .overlay-card-img {
  transform: scale(1.03);
}

.overlay-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.45) 65%,
      rgba(0, 0, 0, 0.88) 100%);
}

.overlay-card-body {
  position: absolute;
  inset: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.overlay-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.meta-slash {
  opacity: 0.7;
}

.overlay-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
  padding-right: 52px;
  text-wrap: balance;
}

.overlay-action-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background-color: var(--theme-editor-btn-bg);
  color: var(--theme-editor-btn-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.overlay-action-btn:hover {
  opacity: 0.88;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.app-footer {
  background-color: var(--theme-footer-bg);
  padding: 25px 16px;
  border-top: none;
  transition: background-color 0.3s ease;
}

.footer-inner-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-badge {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background-color: var(--theme-footer-logo-bg);
  color: var(--theme-footer-logo-text);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--theme-footer-text);
  letter-spacing: -0.01em;
}

.back-to-top-btn {
  background: none;
  border: none;
  color: var(--theme-footer-btn-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 0;
  transition: opacity 0.2s ease;
}

.back-to-top-btn:hover {
  opacity: 0.7;
}

/* ==========================================================================
   TOAST NOTIFICATION (Interactive Search & Action Feedback)
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (S, M, L MOBILE BREAKPOINTS)
   - Mobile S: <= 359px (e.g. 320px iPhone SE)
   - Mobile M: 360px - 399px (e.g. 375px baseline) -> CURRENT DEFAULT, 100% UNTOUCHED
   - Mobile L: 400px - 480px (e.g. 414px - 430px iPhone Plus / Pro Max)
   ========================================================================== */

/* Universal mobile viewport setup */
@media (max-width: 480px) {
  .page-viewport {
    padding: 0;
  }

  .mobile-container {
    max-width: 100%;
    box-shadow: none;
  }

  .floating-theme-switch {
    bottom: 16px;
    left: 16px;
    padding: 5px 8px;
    gap: 4px;
  }

  .theme-pill-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   MOBILE S: Small Screens (<= 359px, e.g. 320px)
   STRICT ISOLATION: Never applies to M (375px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 359px) {

  /* Top Header */
  .top-guide-header {
    padding: 14px 14px 10px 14px;
    min-height: 98px;
  }

  .top-guide-title {
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  /* The Essential Guide */
  .guide-editorial-section {
    padding: 14px 12px;
  }

  .editorial-badge {
    font-size: 8px;
    letter-spacing: 0.22em;
    margin-bottom: 14px;
  }

  .editorial-title {
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }

  .editorial-lead {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .rent-stat-card {
    /* padding: 20px 16px 16px 16px; */
  }

  .stat-meta-top {
    font-size: 8.5px;
    letter-spacing: 0.16em;
    margin-bottom: 6px;
  }

  .stat-price-value {
    font-size: 36px;
    margin-bottom: 6px;
  }

  .stat-meta-bottom {
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

  .market-insight-card {
    padding: 20px 16px 18px 16px;
  }

  .insight-heading {
    font-size: 20px;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .insight-description {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .insight-link {
    font-size: 10px;
    gap: 8px;
  }

  /* Latest Articles */
  .latest-articles-section {
    padding: 16px 12px;
  }

  .articles-list {
    gap: 24px;
    margin-top: 16px;
  }

  .article-info {
    padding-top: 10px;
  }

  .article-meta {
    font-size: 8.5px;
    margin-bottom: 8px;
  }

  .article-headline {
    font-size: 19px;
    line-height: 1.15;
  }

  .media-arrow-btn {
    width: 34px;
    height: 34px;
  }

  /* Editor's Selection */
  .editors-selection-section {
    padding: 26px 12px 34px 12px;
  }

  .editors-header-wrap {
    margin-top: 20px;
    margin-bottom: 22px;
  }

  .editors-badge {
    font-size: 8.5px;
    letter-spacing: 0.22em;
    margin-bottom: 16px;
  }

  .editors-title {
    font-size: 28px;
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .editors-subtitle {
    font-size: 12px;
    line-height: 1.5;
  }

  .editors-cards-grid {
    gap: 18px;
  }

  .overlay-card-body {
    padding: 18px 14px;
  }

  .overlay-headline {
    font-size: 20px;
    line-height: 1.18;
    padding-right: 44px;
  }

  .overlay-action-btn {
    bottom: 16px;
    right: 14px;
    width: 34px;
    height: 34px;
  }

  /* Footer */
  .app-footer {
    padding: 20px 12px;
  }

  .footer-logo-badge {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .footer-tagline {
    font-size: 10px;
  }

  .back-to-top-btn {
    font-size: 9.5px;
  }
}

/* --------------------------------------------------------------------------
   MOBILE L: Large Screens (400px - 480px, e.g. 414px - 430px)
   STRICT ISOLATION: Never applies to M (375px)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 400px) and (max-width: 480px) {

  /* Top Header */
  .top-guide-header {
    padding: 20px 22px 14px 22px;
    min-height: 122px;
  }

  .top-guide-title {
    font-size: 22px;
    line-height: 1.36;
    letter-spacing: 0.05em;
  }

  /* The Essential Guide */
  .guide-editorial-section {
    padding: 20px 18px;
  }

  .editorial-badge {
    font-size: 10px;
    letter-spacing: 0.32em;
    margin-bottom: 22px;
  }

  .editorial-title {
    font-size: 42px;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
  }

  .editorial-lead {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .rent-stat-card {
    /* padding: 28px 22px 20px 22px; */
  }

  .stat-meta-top {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
  }

  .stat-price-value {
    font-size: 48px;
    margin-bottom: 8px;
  }

  .stat-meta-bottom {
    font-size: 9.5px;
    letter-spacing: 0.16em;
  }

  .market-insight-card {
    padding: 30px 22px 28px 22px;
  }

  .insight-heading {
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .insight-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .insight-link {
    font-size: 12px;
    gap: 12px;
  }

  /* Latest Articles */
  .latest-articles-section {
    padding: 24px 18px;
  }

  .articles-list {
    gap: 36px;
    margin-top: 24px;
  }

  .article-info {
    padding-top: 16px;
  }

  .article-meta {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .article-headline {
    font-size: 24px;
    line-height: 1.15;
  }

  .media-arrow-btn {
    width: 42px;
    height: 42px;
  }

  /* Editor's Selection */
  .editors-selection-section {
    padding: 38px 18px 46px 18px;
  }

  .editors-header-wrap {
    margin-top: 34px;
    margin-bottom: 34px;
  }

  .editors-badge {
    font-size: 10px;
    letter-spacing: 0.32em;
    margin-bottom: 24px;
  }

  .editors-title {
    font-size: 38px;
    line-height: 1;
    margin-bottom: 22px;
  }

  .editors-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .editors-cards-grid {
    gap: 28px;
  }

  .overlay-card-body {
    padding: 28px 22px;
  }

  .overlay-headline {
    font-size: 26px;
    line-height: 1.2;
    padding-right: 56px;
  }

  .overlay-action-btn {
    bottom: 24px;
    right: 22px;
    width: 42px;
    height: 42px;
  }

  /* Footer */
  .app-footer {
    padding: 26px 18px;
  }

  .footer-logo-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .back-to-top-btn {
    font-size: 11px;
  }
}


/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
/* ==========================================================================
   FULLSCREEN RESPONSIVE SYSTEM (TABLET, LAPTOP, DESKTOP, 4K)
   - Zero black borders on sides (Full-bleed edge-to-edge layout)
   - Zero black space on top (Header starts flush at top edge)
   - Hero Section: White Background, Responsive Balanced Gap System
   - Mobile S, M, L (<= 480px) are 100% UNTOUCHED
   ========================================================================== */

/* Universal Reset for Viewport & Fullscreen Container (> 480px) */
@media screen and (min-width: 481px) {
  body {
    background-color: #ffffff;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .page-viewport {
    width: 100%;
    min-height: 100vh;
    padding: 0 !important;
    margin: 0;
    background-color: #ffffff;
    display: block;
  }

  .mobile-container {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background-color: #ffffff;
  }

  /* Full-width Section Inner Container Alignment */
  .mobile-only-br {
    display: none;
  }

  /* Full-width Section Inner Container Alignment */
  .section-inner-wrap,
  .top-guide-title,
  .hero-culinary-container,
  .guide-editorial-container,
  .latest-articles-container,
  .related-searches-section .section-tag-row,
  .related-searches-section .search-card-stack,
  .editors-selection-section .editors-header-wrap,
  .editors-selection-section .editors-cards-grid,
  .footer-inner-wrap {
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* ==========================================================================
     HERO SECTION: WHITE BG, EXACT TYPOGRAPHY & BUTTON FROM HERO IMAGE
     ========================================================================== */
  .hero-culinary-section {
    position: relative;
    width: 100%;
    background-color: #ffffff !important;
    padding: 48px 24px;
    overflow: hidden;
  }

  .hero-culinary-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 36px;
  }

  /* Left Column: Exact Typography from Hero Image */
  .hero-desktop-content {
    position: static;
    pointer-events: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .hero-culinary-header {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .culinary-tagline-top {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--theme-hero-tagline);
    margin-bottom: 6px;
    text-shadow: none;
    transition: color 0.3s ease;
  }

  .culinary-title-experience {
    font-family: 'DM Serif Display', 'Newsreader', Georgia, serif;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--theme-hero-title);
    margin: 2px 0 6px 0;
    text-shadow: none;
    transition: color 0.3s ease;
  }

  .culinary-tagline-bottom {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--theme-hero-tagline);
    margin-bottom: 16px;
    text-shadow: none;
    transition: color 0.3s ease;
  }

  .culinary-divider-line {
    width: 120px;
    height: 1.5px;
    background-color: var(--theme-hero-divider);
    box-shadow: none;
    transition: background-color 0.3s ease;
  }

  /* Exact Cream Button from Hero Image */
  .hero-culinary-btn-wrap {
    display: flex;
    align-items: center;
  }

  .hero-culinary-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--theme-hero-btn-bg);
    padding: 16px 36px 14px 28px;
    border-radius: 8px 32px 32px 8px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--theme-hero-btn-border);
    border-left: 1px solid var(--theme-hero-btn-border);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  .hero-culinary-btn:hover {
    background-color: var(--theme-hero-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
  }

  .hero-culinary-btn .btn-primary-text {
    font-family: 'DM Serif Display', 'Newsreader', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: var(--theme-hero-btn-title);
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

  .hero-culinary-btn .btn-sub-text {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--theme-hero-btn-sub);
    text-transform: uppercase;
    margin-top: 4px;
    transition: transform 0.2s ease, color 0.3s ease;
  }

  .hero-culinary-btn:hover .btn-sub-text {
    transform: translateX(3px);
  }

  /* Right Column Image Card */
  .hero-image-wrapper {
    width: 100%;
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    background-color: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
  }

  .hero-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  }

  .hero-image-wrapper .hero-image {
    object-position: center;
  }

  /* Related Searches: 2x2 Clean Grid */
  .search-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .search-item-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .search-item-row:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .search-item-row:nth-child(3),
  .search-item-row:nth-child(4) {
    border-bottom: none;
  }

  .search-item-row:last-child .search-item-bar {
    border-bottom-left-radius: 0;
  }

  .search-item-row:nth-child(3) .search-item-bar {
    border-bottom-left-radius: 12px;
  }

  /* The Essential Guide: 2-Column Side-by-Side Composite Card */
  .rent-composite-card {
    display: grid;
    grid-template-columns: 1fr 1.38fr;
    align-items: stretch;
  }

  .rent-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .market-insight-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Latest Articles: 3-Column Magazine Grid */
  .articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .article-media-container {
    aspect-ratio: 16 / 11;
  }

  /* Editor's Selection: 2-Column Gallery Grid */
  .editors-selection-section {
    width: 100%;
  }

  .editors-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .overlay-feature-card {
    aspect-ratio: 16 / 11;
  }

  /* Footer: Full-bleed Edge-to-Edge with centered inner */
  .app-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background-color: var(--theme-footer-bg);
  }

  .footer-inner-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   PHABLET & SMALL TABLET (481px - 767px)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .top-guide-header {
    padding: 22px 24px;
    min-height: 84px;
  }

  .top-guide-title {
    font-size: 20px;
    line-height: 1.34;
  }

  .hero-culinary-section {
    padding: 32px 24px;
  }

  .hero-culinary-container {
    padding: 0;
    gap: 28px;
  }

  .hero-desktop-content {
    gap: 28px;
    align-items: flex-start;
  }

  .culinary-tagline-top,
  .culinary-tagline-bottom {
    font-size: 15px;
  }

  .culinary-title-experience {
    font-size: 42px;
  }

  .hero-culinary-btn .btn-primary-text {
    font-size: 22px;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  .related-searches-section,
  .guide-editorial-section,
  .latest-articles-section,
  .app-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .search-card-stack {
    grid-template-columns: 1fr;
  }

  .search-item-row:nth-child(odd) {
    border-right: none;
  }

  .search-item-row:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .search-item-row:last-child .search-item-bar {
    border-bottom-left-radius: 12px;
  }

  .editorial-title {
    font-size: 38px;
    line-height: 1.15;
    max-width: 24ch;
    text-wrap: balance;
  }

  .rent-composite-card {
    grid-template-columns: 1fr;
  }

  .articles-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .editors-selection-section {
    padding: 40px 24px;
  }

  .editors-title {
    font-size: 40px;
  }

  .editors-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .overlay-feature-card {
    aspect-ratio: 4 / 5;
  }
}

/* --------------------------------------------------------------------------
   TABLET (768px - 1023px, e.g. iPad Portrait / Landscape)
   PROPER GAP MANAGEMENT: Proportional gap & balanced heights
   -------------------------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {

  /* Header */
  .top-guide-header {
    padding: 24px 36px;
    min-height: 88px;
  }

  .top-guide-title {
    font-size: 24px;
    line-height: 1.32;
    letter-spacing: 0.03em;
    max-width: 100%;
  }

  /* Hero: Side-by-Side 2-Column Split with Proper Tablet Gap */
  .hero-culinary-section {
    padding: 40px 36px;
  }

  .hero-culinary-container {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    align-items: center;
    padding: 0;
    gap: 32px;
  }

  .hero-desktop-content {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 16px 0;
  }

  .hero-culinary-header {
    margin-bottom: 0;
  }

  .culinary-tagline-top,
  .culinary-tagline-bottom {
    font-size: 14px;
    letter-spacing: 0.18em;
  }

  .culinary-title-experience {
    font-size: 44px;
    line-height: 0.98;
    margin: 2px 0 6px 0;
  }

  .culinary-divider-line {
    width: 90px;
  }

  .hero-culinary-btn {
    padding: 12px 24px 10px 20px;
    border-radius: 6px 24px 24px 6px;
  }

  .hero-culinary-btn .btn-primary-text {
    font-size: 20px;
  }

  .hero-culinary-btn .btn-sub-text {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-image-wrapper {
    max-width: 100%;
    height: 100%;
    min-height: 280px;
  }

  /* Related Searches */
  .related-searches-section {
    padding: 34px 36px;
  }

  .section-tag-row {
    margin-bottom: 16px;
  }

  .search-item-row {
    padding: 18px 20px 18px 26px;
    min-height: 72px;
  }

  .search-item-text {
    font-size: 16px;
  }

  /* The Essential Guide */
  .guide-editorial-section {
    padding: 38px 36px;
  }

  .editorial-badge {
    font-size: 10px;
    letter-spacing: 0.32em;
    margin-bottom: 22px;
  }

  .editorial-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 24ch;
    text-wrap: balance;
  }

  .editorial-lead {
    font-size: 15px;
    line-height: 1.62;
    max-width: 720px;
    margin-bottom: 28px;
  }

  .rent-composite-card {
    margin-top: 30px;
  }

  .rent-stat-card {
    padding: 44px 32px;
  }

  .stat-meta-top {
    font-size: 9.5px;
    margin-bottom: 12px;
  }

  .stat-price-value {
    font-size: 48px;
    margin-bottom: 12px;
  }

  .stat-meta-bottom {
    font-size: 9.5px;
  }

  .market-insight-card {
    padding: 40px 32px;
  }

  .insight-heading {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .insight-description {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .insight-link {
    font-size: 11.5px;
  }

  /* Latest Articles */
  .latest-articles-section {
    padding: 38px 36px 46px 36px;
    margin-bottom: 0;
  }

  .latest-articles-section .editorial-title {
    font-size: 42px;
  }

  .articles-list {
    gap: 24px;
    margin-top: 28px;
  }

  .article-info {
    padding-top: 14px;
  }

  .article-meta {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .article-headline {
    font-size: 18px;
    line-height: 1.22;
  }

  .media-arrow-btn {
    width: 36px;
    height: 36px;
  }

  /* Editor's Selection */
  .editors-selection-section {
    padding: 48px 36px 56px 36px;
  }

  .editors-header-wrap {
    margin-top: 12px;
    margin-bottom: 28px;
  }

  .editors-title {
    font-size: 46px;
    margin-bottom: 16px;
  }

  .editors-subtitle {
    font-size: 14px;
    max-width: 640px;
  }

  .editors-cards-grid {
    gap: 24px;
  }

  .overlay-feature-card {
    aspect-ratio: 4 / 3;
  }

  .overlay-card-body {
    padding: 24px 20px;
  }

  .overlay-headline {
    font-size: 22px;
    line-height: 1.25;
    padding-right: 48px;
    text-wrap: balance;
  }

  .overlay-action-btn {
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
  }

  /* Footer */
  .app-footer {
    padding: 28px 36px;
  }

  .footer-logo-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .footer-tagline {
    font-size: 12px;
  }

  .back-to-top-btn {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   LAPTOP & SMALL DESKTOP (1024px - 1439px, e.g. MacBook, 13" / 15" Laptops)
   PROPER GAP MANAGEMENT: Proportional gap & balanced heights
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1024px) and (max-width: 1439px) {

  /* Header */
  .top-guide-header {
    padding: 28px 6%;
    min-height: 96px;
  }

  .top-guide-title {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.3;
    letter-spacing: 0.03em;
    max-width: 1200px;
  }

  /* Hero: Balanced 2-Column Split with Proper Laptop Gap */
  .hero-culinary-section {
    padding: 52px 6%;
  }

  .hero-culinary-container {
    display: grid;
    grid-template-columns: 1.05fr 1.6fr;
    align-items: center;
    padding: 0;
    gap: 48px;
  }

  .hero-desktop-content {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 20px 0;
  }

  .hero-culinary-header {
    margin-bottom: 0;
  }

  .culinary-tagline-top,
  .culinary-tagline-bottom {
    font-size: 17px;
    letter-spacing: 0.2em;
  }

  .culinary-title-experience {
    font-size: 58px;
    line-height: 0.98;
  }

  .culinary-divider-line {
    width: 110px;
  }

  .hero-culinary-btn {
    padding: 14px 30px 12px 24px;
    border-radius: 8px 28px 28px 8px;
  }

  .hero-culinary-btn .btn-primary-text {
    font-size: 24px;
  }

  .hero-culinary-btn .btn-sub-text {
    font-size: 11px;
  }

  .hero-image-wrapper {
    max-width: 100%;
    height: 100%;
    min-height: 340px;
  }

  /* Related Searches */
  .related-searches-section {
    padding: 42px 6%;
  }

  .section-tag-row {
    margin-bottom: 18px;
  }

  .search-item-row {
    padding: 22px 24px 22px 30px;
    min-height: 76px;
  }

  .search-item-text {
    font-size: 17px;
  }

  /* The Essential Guide */
  .guide-editorial-section {
    padding: 50px 6%;
  }

  .editorial-badge {
    font-size: 10.5px;
    letter-spacing: 0.34em;
    margin-bottom: 24px;
  }

  .editorial-title {
    font-size: 50px;
    line-height: 1.08;
    margin-bottom: 20px;
    max-width: 24ch;
    text-wrap: balance;
  }

  .editorial-lead {
    font-size: 16.5px;
    line-height: 1.65;
    max-width: 820px;
    margin-bottom: 34px;
  }

  .rent-composite-card {
    margin-top: 34px;
  }

  .rent-stat-card {
    padding: 52px 38px;
  }

  .stat-meta-top {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
  }

  .stat-price-value {
    font-size: 54px;
    margin-bottom: 14px;
  }

  .stat-meta-bottom {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .market-insight-card {
    padding: 48px 40px;
  }

  .insight-heading {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .insight-description {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 26px;
  }

  .insight-link {
    font-size: 12px;
    gap: 12px;
  }

  /* Latest Articles */
  .latest-articles-section {
    padding: 50px 6% 60px 6%;
    margin-bottom: 0;
  }

  .latest-articles-section .editorial-title {
    font-size: 48px;
  }

  .articles-list {
    gap: 30px;
    margin-top: 32px;
  }

  .article-info {
    padding-top: 16px;
  }

  .article-meta {
    font-size: 9.5px;
    margin-bottom: 12px;
  }

  .article-headline {
    font-size: 21px;
    line-height: 1.25;
  }

  .media-arrow-btn {
    width: 40px;
    height: 40px;
  }

  /* Editor's Selection */
  .editors-selection-section {
    padding: 60px 6% 72px 6%;
  }

  .editors-header-wrap {
    margin-top: 14px;
    margin-bottom: 32px;
  }

  .editors-title {
    font-size: 54px;
    margin-bottom: 18px;
  }

  .editors-subtitle {
    font-size: 15.5px;
    max-width: 700px;
  }

  .editors-cards-grid {
    gap: 30px;
  }

  .overlay-feature-card {
    aspect-ratio: 16 / 11;
  }

  .overlay-card-body {
    padding: 28px 24px;
  }

  .overlay-headline {
    font-size: 25px;
    line-height: 1.25;
    padding-right: 56px;
    text-wrap: balance;
  }

  .overlay-action-btn {
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
  }

  /* Footer */
  .app-footer {
    padding: 34px 6%;
  }

  .footer-logo-badge {
    width: 30px;
    height: 30px;
    font-size: 14.5px;
  }

  .footer-tagline {
    font-size: 13px;
  }

  .back-to-top-btn {
    font-size: 11.5px;
  }
}

/* --------------------------------------------------------------------------
   LARGE DESKTOP & 4K (1440px and above, e.g. iMac, External 2K/4K Monitors)
   EXACT 1440px GAP AS APPROVED BY USER
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1440px) {

  /* Header */
  .top-guide-header {
    padding: 34px 8%;
    min-height: 104px;
  }

  .top-guide-title {
    font-size: clamp(28px, 2.2vw, 36px);
    line-height: 1.28;
    letter-spacing: 0.03em;
    max-width: 1360px;
  }

  /* Hero: Luxury 2-Column Split (Exact 1440px Setup Approved by User) */
  .hero-culinary-section {
    padding: 68px 8%;
  }

  .hero-culinary-container {
    display: grid;
    grid-template-columns: 1.05fr 2fr;
    align-items: center;
    padding: 0;
    gap: 68px;
  }

  .hero-desktop-content {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    padding: 24px 0;
  }

  .hero-culinary-header {
    margin-bottom: 0;
  }

  .culinary-tagline-top,
  .culinary-tagline-bottom {
    font-size: 22px;
    letter-spacing: 0.24em;
  }

  .culinary-title-experience {
    font-size: 76px;
  }

  .hero-culinary-btn {
    padding: 18px 40px 16px 32px;
    border-radius: 8px 36px 36px 8px;
  }

  .hero-culinary-btn .btn-primary-text {
    font-size: 30px;
  }

  .hero-culinary-btn .btn-sub-text {
    font-size: 13px;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  /* Related Searches */
  .related-searches-section {
    padding: 50px 8%;
  }

  .section-tag-row {
    margin-bottom: 20px;
  }

  .search-item-row {
    padding: 24px 28px 24px 34px;
    min-height: 82px;
  }

  .search-item-text {
    font-size: 18px;
  }

  /* The Essential Guide */
  .guide-editorial-section {
    padding: 62px 8%;
  }

  .editorial-badge {
    font-size: 11px;
    letter-spacing: 0.36em;
    margin-bottom: 26px;
  }

  .editorial-title {
    font-size: 58px;
    line-height: 1.06;
    margin-bottom: 22px;
    max-width: 24ch;
    text-wrap: balance;
  }

  .editorial-lead {
    font-size: 17.5px;
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: 38px;
  }

  .rent-composite-card {
    margin-top: 38px;
  }

  .rent-stat-card {
    padding: 62px 46px;
  }

  .stat-meta-top {
    font-size: 10.5px;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
  }

  .stat-price-value {
    font-size: 62px;
    margin-bottom: 16px;
  }

  .stat-meta-bottom {
    font-size: 10.5px;
    letter-spacing: 0.16em;
  }

  .market-insight-card {
    padding: 56px 48px;
  }

  .insight-heading {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .insight-description {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .insight-link {
    font-size: 13px;
    gap: 14px;
  }

  /* Latest Articles */
  .latest-articles-section {
    padding: 60px 8% 72px 8%;
    margin-bottom: 0;
  }

  .latest-articles-section .editorial-title {
    font-size: 54px;
  }

  .articles-list {
    gap: 36px;
    margin-top: 36px;
  }

  .article-info {
    padding-top: 18px;
  }

  .article-meta {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .article-headline {
    font-size: 23px;
    line-height: 1.25;
  }

  .media-arrow-btn {
    width: 44px;
    height: 44px;
  }

  /* Editor's Selection */
  .editors-selection-section {
    padding: 72px 8% 88px 8%;
  }

  .editors-header-wrap {
    margin-top: 16px;
    margin-bottom: 36px;
  }

  .editors-title {
    font-size: 60px;
    margin-bottom: 20px;
  }

  .editors-subtitle {
    font-size: 16.5px;
    max-width: 760px;
  }

  .editors-cards-grid {
    gap: 36px;
  }

  .overlay-feature-card {
    aspect-ratio: 16 / 11;
  }

  .overlay-card-body {
    padding: 32px 28px;
  }

  .overlay-headline {
    font-size: 28px;
    line-height: 1.25;
    padding-right: 64px;
    text-wrap: balance;
  }

  .overlay-action-btn {
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
  }

  /* Footer */
  .app-footer {
    padding: 40px 8%;
  }

  .footer-logo-badge {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .footer-tagline {
    font-size: 13.5px;
  }

  .back-to-top-btn {
    font-size: 12px;
  }
}

/* ==========================================================================
   ANIMATIONS & PREMIUM MICRO-INTERACTIONS
   ========================================================================== */

/* Hero Entrance Animations */
@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDividerExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }

  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes heroImageGentleZoom {
  from {
    opacity: 0.6;
    transform: scale(1.05);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.culinary-tagline-top {
  animation: heroFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.culinary-title-experience {
  animation: heroFadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.culinary-tagline-bottom {
  animation: heroFadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s backwards;
}

.culinary-divider-line {
  animation: heroDividerExpand 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.hero-culinary-btn-wrap {
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s backwards;
}

.hero-image-wrapper .hero-image {
  animation: heroImageGentleZoom 1.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

/* Scroll-Triggered Reveal Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Hover Interactions */
.hero-culinary-btn {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    background-color 0.25s ease;
}

.hero-culinary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-culinary-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.rent-composite-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.rent-composite-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.insight-link {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.insight-link:hover {
  opacity: 0.85;
}

.insight-link .inline-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.insight-link:hover .inline-arrow {
  transform: translateX(6px);
}

.article-card {
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-media-container {
  overflow: hidden;
}

.article-card .article-img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-img {
  transform: scale(1.06);
}

.article-card .media-arrow-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card .media-arrow-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .media-arrow-btn {
  transform: scale(1.06);
}

.article-card:hover .media-arrow-btn svg {
  transform: translateX(3px);
}

.overlay-feature-card {
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.38s ease;
}

.overlay-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.overlay-card-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-feature-card:hover .overlay-card-img {
  transform: scale(1.05);
}

.overlay-action-btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s ease;
}

.overlay-action-btn svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-feature-card:hover .overlay-action-btn {
  transform: scale(1.06);
}

.overlay-feature-card:hover .overlay-action-btn svg {
  transform: translateX(3px);
}

.floating-theme-switch {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.floating-theme-switch:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.theme-pill-btn {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-pill-btn:hover:not(.active) {
  transform: scale(1.06);
}

.theme-pill-btn.active {
  animation: pillPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pillPop {
  0% {
    transform: scale(0.9);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.back-to-top-btn {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    letter-spacing 0.25s ease,
    opacity 0.2s ease;
}

.back-to-top-btn:hover {
  transform: translateY(-3px);
  letter-spacing: 0.16em;
}

/* Accessibility: respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   ARTICLE DETAIL PAGE (GlanceDetail) — HOME-LINK, FULL BODY, FOOTER LEGAL
   ========================================================================== */
.guide-home-link {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.guide-home-link:hover {
  color: #ffffff;
}

.article-full-body {
  padding: 22px 16px;
  background-color: #ffffff;
  font-size: 14.5px;
  line-height: 1.75;
  color: #1e293b;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-full-body h2,
.article-full-body h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--theme-title-color);
  margin: 1.4em 0 0.6em;
}

.article-full-body p {
  margin-bottom: 1em;
}

.article-full-body a {
  color: var(--theme-accent-badge);
  text-decoration: underline;
}

.article-full-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 1em 0;
}

.article-full-body ul,
.article-full-body ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.article-full-body li {
  margin-bottom: 0.5em;
}

.article-full-body blockquote {
  border-left: 3px solid var(--theme-accent-badge);
  padding-left: 16px;
  font-style: italic;
  color: #555e6c;
  margin: 1.2em 0;
}

.article-full-body table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1em;
}

.article-full-body table th,
.article-full-body table td {
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
}

.article-full-body iframe,
.article-full-body embed,
.article-full-body video {
  max-width: 100%;
}

.article-full-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.footer-legal-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--theme-footer-text);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (min-width: 481px) {
  .article-full-body {
    max-width: 1360px;
    margin: 0 auto;
    padding: 44px 24px;
    font-size: 16.5px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .article-full-body {
    padding: 44px 36px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .article-full-body {
    padding: 50px 6%;
  }
}

@media (max-width: 480px) {
  .app-footer {
    display: none;
  }
}