/**
 * [전시홈]
 * - 역할: /exhibitions 피크 히어로·그리드·지역·스포트라이트·신규·하우스 CTA
 * - 작성/수정일: 2026-08-10
 * - 수정일: 2026-08-20 — 전역 --fs-* · 다크 색 토큰
 */

body.an-exhibition-home {
  --ex-page-bg: #f4f1ea;
  --ex-closing-bg: #efeae1;
  --ex-gold: #9b7940;
  --ex-deep: #191916;
  --ex-house: #171714;
  --ex-btn: #f3eee5;
  overflow-x: hidden;
}

html.dark body.an-exhibition-home,
body.dark.an-exhibition-home {
  --ex-page-bg: var(--section-bg-color);
  --ex-closing-bg: var(--section-bg-color2);
  --ex-gold: #d1ae6e;
  --ex-deep: var(--cta-surface);
  --ex-house: var(--cta-surface);
  --ex-btn: var(--on-dark);
}

body.an-exhibition-home .an-page-main {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--ex-page-bg);
}

body.an-exhibition-home .an-page-main__body {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  overflow: visible;
}

/**
 * [전시홈]
 * - 역할: 본문을 풀폭으로 푼 뒤, 히어로 제외 섹션만 DS 컨테이너 폭 복구
 * - 작성/수정일: 2026-08-19
 * DS `.an-page-main__body .an-container` 가 max-width를 제거하므로 여기서 되돌린다.
 */
body.an-exhibition-home .an-ex-home .an-container {
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.an-ex-home {
  background: var(--ex-page-bg);
  color: var(--title-color);
}

.an-ex-home a {
  color: inherit;
  text-decoration: none;
}

.an-ex-home a.an-ex-home-hero-card {
  color: var(--on-dark, #f5f5f5);
}

.an-ex-home a.an-ex-home-hero-card:hover,
.an-ex-home a.an-ex-home-hero-card:focus-visible {
  opacity: 1;
}

.an-ex-home img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-ex-home-section {
  padding: clamp(72px, 8vw, 120px) 0;
  /* border-bottom: 1px solid var(--divider-color); */
}

.an-ex-home-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-30);
  margin-bottom: var(--space-40);
}

.an-ex-home-tag {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-color);
}

.an-ex-home-tag:before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: currentColor;
  vertical-align: middle;
}

.an-ex-home-tag--gold {
  color: var(--ex-gold);
}

.an-ex-home-head h2 {
  margin: 10px 0 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: var(--letter-display);
  line-height: 1.2;
  color: var(--title-color);
  word-break: keep-all;
}

.an-ex-home-more {
  flex: none;
  font-size: var(--fs-caption);
  font-weight: 700;
  white-space: nowrap;
}

.an-ex-home-more:hover {
  color: var(--ex-gold);
}

/* 히어로 */
.an-ex-home-hero {
  --ex-hero-inner: calc(
    min(var(--container-max), 100vw) - 2 * var(--container-pad)
  );
  --ex-hero-slide-w: calc((var(--ex-hero-inner) - 16px) / 1.45);
  padding: 36px 0 22px;
  overflow: hidden;
  /* border-bottom: 1px solid var(--divider-color); */
  background: var(--white-color);
}

.an-ex-home-hero__track {
  position: relative;
  width: 100%;
  padding: 4px 0;
  overflow: hidden;
}

.an-ex-home-hero__swiper {
  overflow: hidden;
  width: 100%;
}

.an-ex-home-hero .swiper-slide {
  width: var(--ex-hero-slide-w);
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 1199.98px) {
  .an-ex-home-hero {
    --ex-hero-slide-w: calc((var(--ex-hero-inner) - 14px) / 1.22);
  }
}

@media (max-width: 767.98px) {
  .an-ex-home-hero {
    --ex-hero-slide-w: calc(100vw - 48px);
    padding: 12px 0 24px;
  }
}

.an-ex-home-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  height: 500px;
  padding: 40px 44px;
  overflow: hidden;
  border-radius: 0px;
  color: var(--on-dark);
  background: var(--ex-deep);
  box-sizing: border-box;
}

.an-ex-home-hero-card.has-bg {
  background-color: var(--ex-deep);
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}

.an-ex-home-hero-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
  transition: background 0.32s ease;
}

.an-ex-home-hero-card.is-photo:after {
  background: linear-gradient(
    90deg,
    rgba(12, 12, 10, 0.78) 0%,
    rgba(12, 12, 10, 0.45) 58%,
    rgba(12, 12, 10, 0.32) 100%
  );
}

.an-ex-home a.an-ex-home-hero-card:hover:after,
.an-ex-home a.an-ex-home-hero-card:focus-visible:after {
  background: rgba(8, 8, 6, 0.42);
}

.an-ex-home a.an-ex-home-hero-card.is-photo:hover:after,
.an-ex-home a.an-ex-home-hero-card.is-photo:focus-visible:after {
  background: linear-gradient(
    90deg,
    rgba(8, 8, 6, 0.9) 0%,
    rgba(8, 8, 6, 0.72) 58%,
    rgba(8, 8, 6, 0.58) 100%
  );
}

.an-ex-home-hero-card.is-navy {
  background:
    radial-gradient(
      circle at 78% 22%,
      rgba(212, 185, 126, 0.28),
      transparent 32%
    ),
    linear-gradient(135deg, #141a2e 0%, #0d1324 100%);
}

.an-ex-home-hero-card.is-navy:before {
  content: "";
  position: absolute;
  inset: 18% 8% auto auto;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.an-ex-home-hero-card.is-wine {
  background:
    radial-gradient(
      circle at 86% 80%,
      rgba(255, 255, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(160deg, #6d1c3a 0%, #3d1022 100%);
}

.an-ex-home-hero-card__copy,
.an-ex-home-hero-card__poster {
  position: relative;
  z-index: 2;
  align-self: center;
}

.an-ex-home-hero-card__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding-right: 1rem;
}

.an-ex-home-hero-card__badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.an-ex-home-hero-card__copy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.an-ex-home-hero-card__copy h2 {
  max-width: none;
  margin: 0 0 16px;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--on-dark);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  word-break: keep-all;
}
.an-ex-home-hero-card__copy h4 {
  font-size: var(--fs-body-m);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.an-ex-home-hero-card__copy p {
  max-width: none;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-label);
  line-height: 1.7;
  word-break: keep-all;
}

.an-ex-home-hero-card__copy strong {
  display: block;
  font-size: var(--fs-body-l);
  font-weight: 600;
  letter-spacing: var(--letter-tight);
  color: var(--on-dark);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.an-ex-home-hero-card__poster {
  width: min(88%, 300px);
  max-height: calc(100% - 8px);
  margin: 0 auto;
  aspect-ratio: var(--ex-poster-ratio, 480 / 679);
  overflow: hidden;
  border: 3px solid var(--white-color);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  justify-self: center;
}

.an-ex-home-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-full);
  background: var(--white-color);
  color: var(--title-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transform: translateY(-50%);
}

.an-ex-home-hero__nav:hover,
.an-ex-home-hero__nav:focus-visible {
  background: var(--ex-page-bg);
}

.an-ex-home-hero__nav--prev {
  left: max(8px, calc(50% - var(--ex-hero-slide-w) / 2 - 22px));
}

.an-ex-home-hero__nav--next {
  right: max(8px, calc(50% - var(--ex-hero-slide-w) / 2 - 22px));
}

.an-ex-home-hero__nav i {
  font-size: var(--fs-h6);
  line-height: 1;
}

/* 지역 칩 */
.an-ex-home-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: -12px calc(var(--container-pad) * -1) 28px;
  padding: 4px var(--container-pad);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.an-ex-home-filters::-webkit-scrollbar {
  display: none;
}

.an-ex-home-filter {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-pill);
  padding: 9px 15px;
  background: transparent;
  color: var(--title-color);
  font-family: inherit;
  font-size: var(--fs-xs);
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
}

.an-ex-home-filter.is-active {
  background: var(--ink);
  color: var(--on-dark);
  border-color: var(--ink);
}

html.dark .an-ex-home-filter.is-active,
body.dark .an-ex-home-filter.is-active {
  background: var(--white-color);
  color: var(--ink);
  border-color: var(--white-color);
}

.an-ex-home-filter:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.an-ex-home-grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.an-ex-home-grid > .an-empty {
  grid-column: 1 / -1;
}

/* [전시홈] 빈 상태 — 섹션 배경에 붙이고 라운드 보더 제거 — 작성/수정일: 2026-08-20 */
.an-ex-home .an-empty {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.an-ex-home .an-empty::before {
  display: none;
}

.an-ex-home .an-empty__ring {
  background: var(--ex-page-bg);
  border-color: var(--divider-color);
  box-shadow: none;
}

/* 4열 카드 */
.an-ex-home-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.an-ex-home-card {
  position: relative;
  min-width: 0;
  display: block;
}

.an-ex-home a.an-ex-home-card:hover,
.an-ex-home a.an-ex-home-card:focus-visible {
  opacity: 1;
}

.an-ex-home-card__pic {
  aspect-ratio: var(--ex-poster-ratio, 480 / 679);
  overflow: hidden;
  background: var(--chip-color);
}

.an-ex-home-card__pic img {
  transform: scale(1);
  transition: transform 0.4s ease;
}

.an-ex-home-card:hover .an-ex-home-card__pic img,
.an-ex-home-card:focus-visible .an-ex-home-card__pic img {
  transform: scale(1.05);
}

.an-ex-home-card h3 {
  margin: 16px 0 7px;
  font-size: var(--fs-h6);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  color: var(--title-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-ex-home-card p {
  margin: 0;
  font-size: var(--fs-caption);
  line-height: 1.55;
  color: var(--muted-color);
}

.an-ex-home-card__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 0;
  font-size: var(--fs-micro);
  color: var(--muted-color);
}

.an-ex-home-badge {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  padding: 7px 9px;
  background: var(--ex-gold);
  color: var(--on-dark);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.an-ex-home-section--now,
.an-ex-home-section--regional {
  background: var(--white-color);
}

.an-ex-home-section--closing {
  /* background: var(--ex-closing-bg); */
}

/* 지역 큐레이션 */
.an-ex-home-regions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.an-ex-home-region {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--divider-color);
  background: linear-gradient(
    135deg,
    var(--section-bg-color2),
    var(--chip-color)
  );
  background-size: cover;
  background-position: center;
}

.an-ex-home-region.is-photo {
  color: var(--on-dark);
}

.an-ex-home-region.is-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
  transition: background 0.32s ease;
}

.an-ex-home-region.is-photo:hover:before,
.an-ex-home-region.is-photo:focus-within:before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.an-ex-home-region > * {
  position: relative;
  z-index: 1;
}

.an-ex-home-region span {
  margin-bottom: 12px;
  color: var(--ex-gold);
  font-size: var(--fs-caption);
  font-weight: 800;
}

.an-ex-home-region.is-photo span {
  color: var(--ex-gold);
}

.an-ex-home-region h3 {
  margin: 0 0 10px;
  font-size: var(--fs-icon);
  line-height: 1.2;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.an-ex-home-region.is-photo h3 {
  color: var(--on-dark);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.an-ex-home-region p {
  margin: 0 0 16px;
  color: var(--text-color);
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.an-ex-home-region.is-photo p {
  color: rgba(248, 243, 234, 0.92);
}

.an-ex-home-region__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
  margin-top: 0;
  padding: 8px 14px;
  border: 1px solid var(--divider-color);
  font-size: var(--fs-caption);
  font-weight: 700;
  line-height: 1.2;
  color: var(--title-color);
}

.an-ex-home-region.is-photo .an-ex-home-region__cta {
  border-color: rgba(248, 243, 234, 0.45);
  color: var(--on-dark);
}

/* 스포트라이트 */
.an-ex-home-section--spot {
  background: var(--ex-deep);
  color: var(--on-dark);
  border-bottom-color: transparent;
}

.an-ex-home-section--spot .an-ex-home-tag,
.an-ex-home-section--spot .an-ex-home-head h2,
.an-ex-home-section--spot .an-ex-home-more {
  color: var(--on-dark);
}

.an-ex-home-section--spot .an-ex-home-tag {
  color: var(--muted-color);
}

.an-ex-home-spots {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 16px;
}

.an-ex-home-spots--n4 .an-ex-home-spot:first-child {
  grid-row: span 2;
}

.an-ex-home-spots--n4 .an-ex-home-spot:last-child {
  grid-column: span 2;
}

.an-ex-home-spots--n1,
.an-ex-home-spots--n2,
.an-ex-home-spots--n3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 280px;
}

.an-ex-home-spots--n1 {
  grid-template-columns: 1fr;
}

.an-ex-home-spot {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  background: #302f2a;
}

.an-ex-home-spot img,
.an-ex-home-spot__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.an-ex-home-spot__ph {
  display: block;
  background: #3a3934;
}

.an-ex-home-spot:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.an-ex-home-spot .an-ex-home-badge {
  top: 14px;
  left: 14px;
}

.an-ex-home-spot__info {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.an-ex-home-spot__info small {
  color: var(--ex-gold);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.an-ex-home-spot__info h4 {
  margin: 8px 0 6px;
  color: var(--white-color);
  font-size: var(--fs-h4);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.an-ex-home-spot__info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-caption);
}

.an-ex-home-spot__info b {
  display: inline-block;
  margin-top: 12px;
  color: var(--white-color);
  font-size: var(--fs-caption);
}

@media (hover: hover) {
  .an-ex-home-spot__info {
    transform: translateY(10px);
    opacity: 0.92;
    transition:
      transform 0.32s ease,
      opacity 0.32s ease;
  }

  .an-ex-home-spot:hover img {
    transform: scale(1.04);
  }

  .an-ex-home-spot:hover .an-ex-home-spot__info {
    transform: none;
    opacity: 1;
  }
}

@media (hover: none) {
  .an-ex-home-spot__info {
    opacity: 1;
    transform: none;
  }
}

/* 신규 행 */
.an-ex-home-rows {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--divider-color);
}

.an-ex-home-rows:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--divider-color);
  transform: translateX(-0.5px);
}

.an-ex-home-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 128px;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider-color);
}

.an-ex-home-row img,
.an-ex-home-row__ph {
  width: 92px;
  height: auto;
  aspect-ratio: var(--ex-poster-ratio, 480 / 679);
  object-fit: cover;
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-md);
}

.an-ex-home-row__ph {
  display: block;
  background: var(--chip-color);
}

.an-ex-home-row time {
  display: block;
  margin-bottom: 8px;
  color: var(--ex-gold);
  font-size: var(--fs-caption);
  font-weight: 500;
}

.an-ex-home-row .an-list-title {
  display: block;
  letter-spacing: -0.025em;
}

.an-ex-home-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted-color);
  font-size: var(--fs-sm);
}

.an-ex-home-row em {
  justify-self: end;
  padding: 7px 12px;
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-pill);
  font-style: normal;
  color: var(--ex-gold);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}

.an-ex-home-row:hover strong {
  color: var(--ex-gold);
}

/* 하우스 CTA */
.an-ex-home-section--house {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ex-house);
  background-image: url("../img/exhibition-home/house.jpg");
  background-size: cover;
  background-position: center;
  color: var(--on-dark);
  border-bottom: 0;
}

.an-ex-home-section--house:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 14, 0.88) 0%,
    rgba(17, 17, 14, 0.62) 55%,
    rgba(17, 17, 14, 0.5) 100%
  );
  pointer-events: none;
}

.an-ex-home-section--house .an-container {
  position: relative;
  z-index: 1;
}

.an-ex-home-house {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 32px;
  align-items: end;
}

.an-ex-home-house h2 {
  max-width: 820px;
  margin: 18px 0;
  font-size: var(--fs-display);
  line-height: 1.08;
  letter-spacing: -0.06em;
  word-break: keep-all;
  color: inherit;
}

.an-ex-home-house p {
  max-width: 620px;
  margin: 0;
  color: var(--white-color, #f3eee5);
  opacity: 0.6;
  line-height: 1.8;
}

.an-ex-home-house__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.an-ex-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: var(--fs-caption);
  font-weight: 600;
}

.an-ex-home a.an-ex-home-btn--light {
  background: var(--ex-btn);
  color: var(--ink);
}

.an-ex-home a.an-ex-home-btn--ghost {
  border: 1px solid rgba(243, 238, 229, 0.55);
  color: var(--on-dark);
  background: transparent;
}

@media (max-width: 1199.98px) {
  .an-ex-home-hero-card {
    height: 420px;
    padding: 32px 28px;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 20px;
  }

  .an-ex-home-hero-card__poster {
    width: min(90%, 240px);
  }

  .an-ex-home-regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .an-ex-home-spots--n4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 220px;
  }

  .an-ex-home-spots--n4 .an-ex-home-spot:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 320px;
  }

  .an-ex-home-spots--n4 .an-ex-home-spot:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 991.98px) {
  .an-ex-home-rows {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .an-ex-home-rows:before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .an-ex-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .an-ex-home-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    height: min(280px, 72vw);
    min-height: 220px;
    padding: 16px 14px;
    gap: 12px;
  }

  .an-ex-home-hero-card.is-photo:after {
    background: linear-gradient(
      90deg,
      rgba(12, 12, 10, 0.82) 0%,
      rgba(12, 12, 10, 0.5) 52%,
      rgba(12, 12, 10, 0.28) 100%
    );
  }

  .an-ex-home a.an-ex-home-hero-card.is-photo:hover:after,
  .an-ex-home a.an-ex-home-hero-card.is-photo:focus-visible:after {
    background: linear-gradient(
      90deg,
      rgba(8, 8, 6, 0.9) 0%,
      rgba(8, 8, 6, 0.62) 52%,
      rgba(8, 8, 6, 0.4) 100%
    );
  }

  .an-ex-home-hero-card.is-navy:before {
    display: none;
  }

  .an-ex-home-hero-card__copy h2 {
    font-size: var(--fs-h3);
    margin-bottom: 8px;
  }

  .an-ex-home-hero-card__copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: none;
    margin: 0 0 10px;
    padding-right: 0;
    font-size: var(--fs-caption);
    line-height: 1.5;
  }

  .an-ex-home-hero-card__copy strong {
    font-size: var(--fs-caption);
  }

  .an-ex-home-hero-card__poster {
    position: static;
    top: auto;
    right: auto;
    width: min(86%, 140px);
    margin: 0;
    margin-left: auto;
    justify-self: end;
    margin-right: 22px;
  }

  .an-ex-home-hero__nav {
    display: none;
  }

  .an-ex-home-regions {
    grid-template-columns: 1fr;
  }

  .an-ex-home-spots {
    display: block;
  }

  .an-ex-home-spot {
    height: 340px;
    margin-bottom: 12px;
  }

  .an-ex-home-row {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .an-ex-home-row img,
  .an-ex-home-row__ph {
    width: 72px;
    height: auto;
    aspect-ratio: var(--ex-poster-ratio, 480 / 679);
    grid-row: 1 / span 2;
  }

  .an-ex-home-row em {
    grid-column: 2;
    justify-self: start;
  }

  .an-ex-home-house {
    grid-template-columns: 1fr;
  }

  .an-ex-home-house__actions a {
    flex: 1;
  }
}

@media (max-width: 575.98px) {
  .an-ex-home-hero-card {
    height: min(240px, 78vw);
    min-height: 200px;
    padding: 14px 24px;
    gap: 10px;
  }

  .an-ex-home-hero-card__poster {
    width: min(90%, 110px);
  }

  .an-ex-home-hero-card__copy p {
    padding-right: 0;
    -webkit-line-clamp: 2;
  }

  .an-ex-home-grid {
    gap: 28px 10px;
  }

  .an-ex-home-card__meta {
    display: none;
  }

  .an-ex-home-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
