/**
 * 엔스타일투어 매거진 (여행 콘텐츠: 큐레이션 · 여행후기 · 인터뷰 · 매거진)
 * - 목록 : /magazine/        (templates/site/magazine/list.html)
 * - 상세 : /magazine/{tcIdx} (templates/site/magazine/view.html)
 * - 테마 : body[data-region="magazine"] (base.css) - 잉크 블랙 + 샴페인 골드 + 아이보리
 * - 슬라이더 : /res/site/js/renewal/magazine.js (외부 라이브러리 없이 scroll-snap)
 * 규칙: 본문 폭 720px(읽기 폭), 이미지는 본문보다 넓게(와이드 1280px / 풀블리드)
 */

.mz {
  --mz-measure: 720px;
  --mz-wide: 1280px;
  --mz-gap: clamp(3.5rem, 7vw, 6.5rem);
  background: var(--white);
}

.mz-measure {
  width: 100%;
  max-width: calc(var(--mz-measure) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mz-wide-wrap {
  width: 100%;
  max-width: calc(var(--mz-wide) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* 관리자 미리보기 안내 */
.mz-preview-bar {
  background: var(--gold-deep);
  color: var(--white);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 0.6rem var(--gutter);
  letter-spacing: 0.3px;
}

/* 읽기 진행 표시 (헤더 아래 골드 라인) */
.mz-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1001;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ==========================================================
   1. 상세 - 히어로
   ========================================================== */
.mz-hero {
  position: relative;
  min-height: min(88vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.mz-hero picture, .mz-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mz-hero-img {
  object-fit: cover;
  transform: scale(1.04);
  animation: mzHeroIn 2.4s var(--ease) forwards;
}

@keyframes mzHeroIn { to { transform: scale(1); } }

.mz-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 11, 8, 0.28) 0%, rgba(13, 11, 8, 0) 30%),
    linear-gradient(0deg, rgba(13, 11, 8, 0.86) 0%, rgba(13, 11, 8, 0.42) 38%, rgba(13, 11, 8, 0) 70%);
}

.mz-hero-inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  max-width: var(--container);
}

.mz-hero-text { max-width: 920px; }

.mz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
  color: var(--gold-light);
}

.mz-kicker .en {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.mz-kicker .ko {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--on-dark-2);
}

.mz-kicker .ko::before { content: ''; width: 28px; height: 1px; background: var(--gold-line); }

.mz-title {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.mz-subtitle {
  margin-top: 1.3rem;
  max-width: 720px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.8;
  color: var(--on-dark-2);
}

.mz-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-on-dark);
  max-width: 520px;
  font-size: var(--fs-sm);
  color: var(--on-dark-2);
  letter-spacing: 0.5px;
}

.mz-byline em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--on-dark);
}

.mz-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

.mz-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 7vw, 5.5rem);
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--on-dark-3);
}

.mz-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 56px;
  margin: 0.8rem auto 0;
  background: linear-gradient(var(--gold-light), transparent);
}

/* 커버 이미지가 없는 경우 : 아이보리 바탕 */
.mz-hero.is-plain {
  min-height: 0;
  background: var(--ivory);
  color: var(--text-primary);
  border-bottom: 1px solid var(--line);
}

.mz-hero.is-plain .mz-hero-inner { padding-top: 5.5rem; padding-bottom: 4rem; }
.mz-hero.is-plain .mz-kicker { color: var(--gold-deep); }
.mz-hero.is-plain .mz-kicker .ko { color: var(--text-secondary); }
.mz-hero.is-plain .mz-subtitle, .mz-hero.is-plain .mz-byline { color: var(--text-secondary); }
.mz-hero.is-plain .mz-byline { border-top-color: var(--line); }
.mz-hero.is-plain .mz-byline em { color: var(--text-primary); }
.mz-hero.is-plain .mz-scroll { display: none; }

/* ==========================================================
   2. 상세 - 본문
   ========================================================== */
.mz-article { padding-bottom: var(--mz-gap); }

/* 리드문 + 첫 글자 장식 */
.mz-lead {
  padding-top: var(--mz-gap);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 2.05;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.mz-lead p::first-letter {
  float: left;
  margin: 0.18em 0.6rem 0 0;
  font-family: var(--font-serif);
  font-size: 4.3em;
  font-weight: 600;
  line-height: 0.82;
  color: var(--gold);
}

.mz-lead::after {
  content: '';
  display: block;
  clear: both;
  width: 48px;
  height: 1px;
  margin-top: 3rem;
  background: var(--gold);
}

.mz-block { padding-top: var(--mz-gap); }

.mz-text {
  font-size: 1.0625rem;
  line-height: 2.05;
  color: #3a352e;
  letter-spacing: -0.01em;
}

.mz-text + .mz-cta-wrap, .mz-measure + .mz-cta-wrap { margin-top: 0; }

/* TITLE 블록 : 챕터 */
.mz-chapter-head { margin-bottom: 2.4rem; }

.mz-chapter-no {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 3px;
  color: var(--gold-deep);
}

.mz-chapter-no b {
  font-size: 3.4rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  color: var(--gold);
}

.mz-chapter-no::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.mz-chapter-title {
  margin-top: 1.2rem;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.mz-chapter .mz-text { margin-bottom: 2.6rem; }

/* BODY 블록 : 소제목 */
.mz-body-title {
  margin-bottom: 1.3rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.mz-body-title::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 1.1rem;
  background: var(--gold);
}

.mz-body .mz-text + .mz-gallery, .mz-body .mz-measure + .mz-gallery { margin-top: 2.8rem; }

/* 이미지 + 캡션 */
.mz-figure { margin: 0; }
.mz-figure img { width: 100%; height: auto; background: var(--ivory-2); }

.mz-figure figcaption {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-tertiary);
}

.mz-figure figcaption::before { content: ''; flex: none; width: 16px; height: 1px; margin-top: 0.72em; background: var(--gold); }

.mz-wide-list { display: grid; gap: 2.2rem; }

/* BODY 이미지 배치 : 1장 와이드 / 2장 나란히 / 3장 이상 비대칭 그리드 */
.mz-gallery { display: grid; gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.mz-gallery.is-single { max-width: calc(1080px + var(--gutter) * 2); }
.mz-gallery.is-pair { grid-template-columns: repeat(2, 1fr); align-items: start; }
.mz-gallery.is-pair .mz-figure img { aspect-ratio: 4 / 5; object-fit: cover; }

.mz-gallery.is-grid { grid-template-columns: repeat(3, 1fr); }
.mz-gallery.is-grid .mz-figure { position: relative; overflow: hidden; }
.mz-gallery.is-grid .mz-figure img { aspect-ratio: 1 / 1; object-fit: cover; height: 100%; transition: transform var(--transition-slow); }
.mz-gallery.is-grid .mz-figure:first-child { grid-column: span 2; grid-row: span 2; }
.mz-gallery.is-grid .mz-figure:first-child img { aspect-ratio: auto; }
.mz-gallery.is-grid .mz-figure:hover img { transform: scale(1.04); }

.mz-gallery.is-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.2rem 1rem 0.8rem;
  background: linear-gradient(0deg, rgba(13, 11, 8, 0.72), rgba(13, 11, 8, 0));
  color: var(--on-dark);
  font-size: var(--fs-xs);
}

.mz-gallery.is-grid figcaption::before { background: var(--gold-light); }

/* 동영상 */
.mz-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); margin-bottom: 2.4rem; }
.mz-video iframe, .mz-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 블록 링크 버튼 */
.mz-cta-wrap { margin-top: 2.4rem; }

.mz-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0 0.75rem;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  transition: gap var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.mz-cta .icon { font-size: 15px; color: var(--gold); }
.mz-cta:hover { gap: 1.15rem; color: var(--gold-deep); border-color: var(--gold); }

/* SLIDE 블록 : 다크 밴드 + 풀폭 슬라이더 */
.mz-slide-sec {
  margin-top: var(--mz-gap);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--ink);
  color: var(--on-dark);
}

.mz-slide-sec .mz-body-title { color: var(--on-dark); }
.mz-slide-sec .mz-text { color: var(--on-dark-2); }
.mz-slide-sec .mz-measure { margin-bottom: 2.8rem; }
.mz-slide-sec .mz-cta { color: var(--on-dark); border-color: var(--on-dark-3); }
.mz-slide-sec .mz-cta:hover { color: var(--gold-light); border-color: var(--gold-light); }

.mz-slider { position: relative; }

.mz-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mz-slider-track::-webkit-scrollbar { display: none; }

.mz-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
}

.mz-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  object-fit: cover;
  background: var(--ink-2);
}

.mz-slider-ui {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.4rem;
}

.mz-slider-count {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--on-dark-3);
  white-space: nowrap;
}

.mz-slider-count b { font-size: 1.9rem; font-weight: 500; color: var(--gold-light); }

.mz-slider-caption {
  min-height: 1.6em;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--on-dark-2);
}

.mz-slider-nav { display: flex; gap: 0.6rem; }

.mz-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  color: var(--on-dark);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}

.mz-slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.mz-slider-btn:disabled { opacity: 0.3; pointer-events: none; }
.mz-slider-btn .icon { font-size: 16px; }

.mz-slider-bar { height: 1px; margin-top: 1.2rem; background: var(--line-on-dark); }
.mz-slider-bar span { display: block; height: 100%; width: 0; background: var(--gold-light); transition: width var(--transition-normal); }

/* 해시태그 */
.mz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: var(--mz-gap);
}

.mz-tags span {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ==========================================================
   3. 상세 - 하단 (IN THIS STORY / MORE STORIES)
   ========================================================== */
.mz-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.mz-sec-head .en {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.1;
}

.mz-sec-head .ko { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 3px; color: var(--text-secondary); }

.mz-story-links { padding: var(--mz-gap) 0; background: var(--ivory); }

.mz-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.mz-link-card {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem 1rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--transition-fast), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.mz-link-card:hover { border-color: var(--gold-line); box-shadow: 0 18px 40px -26px rgba(22, 19, 15, 0.45); transform: translateY(-2px); }

.mz-link-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.mz-link-thumb img { width: 100%; height: 100%; object-fit: cover; }

.mz-link-type {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-deep);
}

.mz-link-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.mz-link-sub { display: block; margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--text-tertiary); }
.mz-link-card .icon { font-size: 16px; color: var(--gold); transition: transform var(--transition-fast); }
.mz-link-card:hover .icon { transform: translateX(4px); }

.mz-more { padding: var(--mz-gap) 0; }
.mz-more-foot { display: flex; justify-content: center; margin-top: 3rem; }

/* ==========================================================
   4. 카드 (목록 / MORE STORIES 공통)
   ========================================================== */
.mz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.25rem, 2.4vw, 2.5rem);
  row-gap: clamp(2.5rem, 4vw, 4rem);
}

.mz-card { display: block; }

.mz-card-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory-2);
}

.mz-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.mz-card:hover .mz-card-thumb img { transform: scale(1.05); }

.mz-card-noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  background: linear-gradient(135deg, var(--ivory-2), var(--ivory));
}

.mz-card-body { padding-top: 1.3rem; }

.mz-card-cat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--gold-deep);
}

.mz-card-cat::after { content: ''; width: 20px; height: 1px; background: var(--gold-line); }

.mz-card-title {
  margin-top: 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.mz-card:hover .mz-card-title { color: var(--gold-deep); }

.mz-card-sub {
  margin-top: 0.55rem;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mz-card-meta {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
  font-size: var(--fs-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* 대표 카드 (목록 첫 페이지 첫 번째) */
.mz-card.is-featured {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.mz-card.is-featured .mz-card-thumb { aspect-ratio: 3 / 2; }
.mz-card.is-featured .mz-card-body { padding-top: 0; }
.mz-card.is-featured .mz-card-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.38; -webkit-line-clamp: 3; }
.mz-card.is-featured .mz-card-sub { font-size: 1rem; -webkit-line-clamp: 4; margin-top: 1.1rem; }

.mz-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  transition: gap var(--transition-fast);
}

.mz-card:hover .mz-card-read { gap: 1rem; }
.mz-card-read .icon { color: var(--gold); }

/* ==========================================================
   5. 목록 - 마스트헤드 / 탭
   ========================================================== */
.mz-masthead {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.mz-masthead-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--gold-deep);
}

.mz-masthead-title {
  margin-top: 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.mz-masthead-title em { font-style: italic; color: var(--gold); }

.mz-masthead-sub {
  margin-top: 1.2rem;
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.mz-tabs {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.mz-tabs-inner {
  display: flex;
  justify-content: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.mz-tabs-inner::-webkit-scrollbar { display: none; }

.mz-tab {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.15rem 0 1.05rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.mz-tab .en { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1rem; letter-spacing: 1px; }
.mz-tab:hover { color: var(--text-primary); }
.mz-tab.is-active { color: var(--text-primary); }
.mz-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }

.mz-list { padding: clamp(3rem, 6vw, 5rem) 0 var(--mz-gap); }

.mz-empty {
  padding: 6rem 0;
  text-align: center;
  color: var(--text-tertiary);
}

.mz-empty .en { display: block; margin-bottom: 0.6rem; font-family: var(--font-serif); font-style: italic; font-size: 2rem; color: var(--gold); }

/* ==========================================================
   6. 반응형
   ========================================================== */
@media (max-width: 1024px) {
  .mz-grid { grid-template-columns: repeat(2, 1fr); }
  .mz-scroll { display: none; }
}

@media (max-width: 768px) {
  .mz-hero { min-height: min(82vh, 720px); }
  .mz-hero-inner { padding-top: 6rem; }
  .mz-byline { margin-top: 1.6rem; }

  .mz-lead p::first-letter { font-size: 3.6em; }
  .mz-text { font-size: 1rem; line-height: 1.95; }
  .mz-chapter-no b { font-size: 2.6rem; }

  .mz-gallery.is-pair, .mz-gallery.is-grid { grid-template-columns: repeat(2, 1fr); }
  .mz-gallery.is-grid .mz-figure:first-child { grid-column: span 2; grid-row: auto; }
  .mz-gallery.is-grid .mz-figure:first-child img { aspect-ratio: 4 / 3; }
  .mz-gallery.is-grid figcaption { padding: 1.6rem 0.6rem 0.5rem; }

  .mz-slide img { aspect-ratio: 4 / 5; }
  .mz-slider-ui { grid-template-columns: auto 1fr; row-gap: 0.6rem; }
  .mz-slider-caption { grid-column: 1 / -1; grid-row: 2; }
  .mz-slider-nav { justify-self: end; }
  .mz-slider-btn { width: 42px; height: 42px; }

  .mz-link-grid { grid-template-columns: 1fr; }
  .mz-link-card { grid-template-columns: 104px 1fr auto; gap: 1rem; }

  .mz-card.is-featured { grid-template-columns: 1fr; gap: 1.4rem; }
  .mz-card.is-featured .mz-card-thumb { aspect-ratio: 4 / 3; }

  .mz-tabs { top: calc(var(--header-h) - 1px); }
  .mz-tabs-inner { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .mz-grid { grid-template-columns: 1fr; }
  .mz-card-thumb { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .mz-hero-img { animation: none; transform: none; }
  .mz-slider-track { scroll-behavior: auto; }
}
