:root {
  --navy: #12324a;
  --navy-soft: #204b63;
  --sand: #e8d8bd;
  --sand-soft: #f7f1e8;
  --paper: #fffdf8;
  --ink: #24323a;
  --muted: #687780;
  --line: #e6e0d6;
  --blue: #dff1f5;
  --green: #e8f4ec;
  --rose: #fff1e8;
  --shadow: 0 18px 45px rgba(18, 50, 74, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f2e9 56%, #eef6f6 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(230, 224, 214, 0.82);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 120px;
  height: auto;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.global-language {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 4px;
}

.global-language button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.global-language button.active {
  background: var(--navy);
  color: #fff;
}

.site-nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 9px 13px;
  white-space: nowrap;
  font-weight: 650;
}

.site-nav a:hover,
.button:hover {
  border-color: var(--navy-soft);
}

@media (min-width: 901px) {
  .site-header {
    gap: 10px;
    padding: 13px clamp(18px, 1.8vw, 24px);
    border-bottom-color: rgba(18, 50, 74, 0.18);
    background: rgba(255, 253, 248, 0.985);
    box-shadow: 0 7px 24px rgba(18, 50, 74, 0.1);
    backdrop-filter: blur(20px);
  }

  .brand {
    min-width: 190px;
  }

  .brand img {
    width: 112px;
  }

  .site-nav {
    gap: 7px;
    padding: 2px 0;
  }

  .site-nav a {
    min-height: 44px;
    padding: 10px 19px;
    border-color: rgba(18, 50, 74, 0.28);
    color: #0d2b40;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 3px 11px rgba(18, 50, 74, 0.07);
  }

  .site-nav a:hover {
    border-color: rgba(18, 50, 74, 0.48);
    background: var(--sand-soft);
  }

  .header-actions {
    gap: 10px;
  }

  .global-language {
    gap: 5px;
    border-color: rgba(18, 50, 74, 0.44);
    background: var(--sand-soft);
    padding: 5px 6px;
    box-shadow: 0 4px 15px rgba(18, 50, 74, 0.13);
  }

  .global-language button {
    min-width: 43px;
    min-height: 38px;
    color: #0d3048;
    font-size: 14px;
    font-weight: 900;
  }

  .global-language button.active {
    background: #0d3048;
    box-shadow:
      0 0 0 2px rgba(18, 50, 74, 0.22),
      0 4px 9px rgba(18, 50, 74, 0.24);
  }
}

.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.contact-pending {
  cursor: default;
  border-style: dashed;
  color: var(--muted);
  background: var(--sand-soft);
}

.contact-channel {
  display: grid;
  gap: 4px;
  width: min(100%, 360px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  padding: 12px;
}

a.contact-channel {
  text-decoration: none;
}

.rednote-channel {
  border-color: #e2b8bd;
  background: #fff7f7;
}

.contact-action-stack {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-action-stack > .button,
.contact-action-stack > .contact-channel {
  width: 100%;
}

.secondary-contact-actions {
  margin-top: 0;
}

.rednote-channel .button {
  width: fit-content;
  margin-top: 8px;
}

.contact-qr {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-top: 6px;
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 60px);
  color: #fff;
  overflow: hidden;
}

.guide-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 60px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18, 50, 74, 0.16) 0%, rgba(18, 50, 74, 0.82) 100%),
    url("./assets/website/resort-photo.webp") center / cover;
}

.review-hero {
  min-height: 440px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 60px);
  background:
    linear-gradient(180deg, rgba(18, 50, 74, 0.08), rgba(18, 50, 74, 0.84)),
    url("./assets/website/resort-photo.webp") center / cover;
  color: #fff;
}

.review-hero > div {
  width: min(920px, 100%);
}

.review-hero h1 {
  max-width: 900px;
}

.review-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.65;
}

.guide-hero-inner {
  width: min(980px, 100%);
}

.guide-hero h1 {
  max-width: 980px;
}

.guide-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.6;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 50, 74, 0.08) 0%, rgba(18, 50, 74, 0.78) 100%),
    var(--hero-image) center / cover;
}

.hero-inner {
  position: relative;
  width: min(1080px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.01;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.6;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.hero .button {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 84px;
}

.article-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 84px;
}

.guide-article {
  display: grid;
  gap: 30px;
}

.guide-article section {
  display: grid;
  gap: 12px;
}

.guide-article h2 {
  color: var(--navy);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.guide-article h3 {
  color: var(--navy-soft);
  margin-bottom: 0;
  font-size: 21px;
}

.guide-article p,
.guide-article li {
  color: #35464f;
  font-size: 17px;
  line-height: 1.75;
}

.source-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand-soft);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.guide-check-grid,
.guide-site-list,
.related-faq-grid {
  display: grid;
  gap: 10px;
}

.guide-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-check-grid div,
.guide-site-list section,
.guide-callout,
.guide-final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.guide-callout {
  background: var(--sand-soft);
}

.guide-list {
  columns: 2;
  padding-left: 20px;
}

.related-faq-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.related-faq-grid a {
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 8px 10px;
  font-weight: 800;
}

.section {
  padding: 34px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-header h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.section-header p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-panel {
  border: 1px solid rgba(230, 224, 214, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.card {
  padding: 20px;
}

.card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 20px;
}

.card p {
  color: var(--muted);
  line-height: 1.68;
}

.guide-card .eyebrow {
  color: var(--navy-soft);
}

.guide-card .button-row {
  margin-top: 16px;
}

.review-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.review-summary div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.review-summary strong {
  color: var(--navy);
  font-size: 42px;
}

.review-summary span,
.review-summary p {
  color: var(--muted);
}

.public-review-grid {
  margin-top: 18px;
}

.public-review-card {
  display: grid;
  align-content: start;
  min-height: 280px;
  min-width: 0;
}

.review-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.review-card-head .eyebrow {
  color: var(--navy-soft);
}

.review-card-head h2 {
  color: var(--navy);
  font-size: 20px;
}

.review-score {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
}

.public-review-card blockquote {
  margin: 12px 0 0;
  color: #35464f;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.filter-label {
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.source-tabs {
  margin-bottom: 8px;
}

#reviews .card {
  min-width: 0;
}

#reviews blockquote {
  overflow-wrap: anywhere;
}

.contextual-review-card {
  min-width: 0;
}

.contextual-review-card blockquote {
  margin: 12px 0 0;
  color: #35464f;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.review-empty {
  grid-column: 1 / -1;
}

.feature-panel.diving-lead {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  margin-bottom: 16px;
}

.feature-panel.text-feature-panel {
  grid-template-columns: 1fr;
}

.feature-panel.diving-lead img {
  width: 100%;
  height: auto;
  max-height: 300px;
  min-height: 0;
  object-fit: contain;
  padding: 18px;
  background: var(--sand-soft);
}

.diving-lead .feature-copy {
  padding: clamp(22px, 3vw, 34px);
}

.diving-pillars,
.stay-pillars {
  margin: 16px 0 24px;
}

.padi-education {
  margin: 8px 0 30px;
}

.padi-course-grid .card {
  min-height: 220px;
}

.room-card,
.media-card,
.activity-card,
.dive-site-card {
  overflow: hidden;
}

.card-media {
  display: block;
  width: calc(100% + 40px);
  height: 190px;
  margin: -20px -20px 18px;
  border-bottom: 1px solid var(--line);
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-content: center;
  gap: 7px;
  height: 150px;
  background:
    linear-gradient(135deg, rgba(232, 216, 189, 0.22), rgba(223, 241, 245, 0.46)),
    var(--sand-soft);
  border-bottom-style: dashed;
  color: var(--navy-soft);
  padding: 22px;
  text-align: center;
}

.media-placeholder span {
  font-weight: 850;
}

.media-placeholder small {
  max-width: 210px;
  color: var(--muted);
  line-height: 1.45;
}

.visual-gallery,
.activity-grid,
.guide-topic-grid {
  margin-bottom: 22px;
}

.activity-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-fare-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(232, 216, 189, 0.18);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 750;
  list-style: none;
}

.guide-fare-list li {
  position: relative;
  padding-left: 14px;
}

.guide-fare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--navy-soft);
}

.dive-site-card {
  display: grid;
  align-content: start;
}

.dive-map-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
}

.dive-map-card .card-media {
  width: 100%;
  height: auto;
  max-height: 360px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: contain;
  background: var(--sand-soft);
}

.dive-site-note {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.dive-site-note > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-soft);
  font-size: 14px;
}

.dive-site-note p {
  margin-bottom: 0;
}

.dive-site-note.caution {
  border-top-style: dashed;
}

.course-detail-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #40535e;
  line-height: 1.55;
}

.course-detail-list li::marker {
  color: var(--navy-soft);
}

.stay-lead {
  margin-bottom: 16px;
}

.packages-lead {
  align-items: center;
}

.feature-panel.packages-lead img {
  width: 100%;
  height: auto;
  max-height: 440px;
  min-height: 0;
  object-fit: contain;
  background: var(--sand-soft);
}

.section-subhead {
  margin: 28px 0 14px;
}

.section-subhead h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 24px;
}

.section-subhead p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  overflow: hidden;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.feature-copy {
  padding: clamp(22px, 4vw, 42px);
  align-self: center;
}

.feature-copy h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--navy-soft);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.search-field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}

.search-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
  font: inherit;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tabs button,
.language-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 8px 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.category-tabs button.active,
.language-toggle button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.category-tabs span {
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
}

.faq-count {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 700;
}

.faq-more-row {
  margin-top: 18px;
}

.gallery-teaser-card {
  margin-top: 18px;
}

.detail-page {
  background: var(--background);
  color: var(--ink);
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.detail-main {
  padding-top: 24px;
}

.detail-hero {
  padding-top: 56px;
}

.detail-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.06em;
}

.gallery-section h2 {
  margin-top: 0;
}

.about-page {
  background:
    radial-gradient(circle at top left, rgba(223, 241, 245, 0.9), transparent 34%),
    var(--sand-soft);
}

.about-header {
  position: sticky;
}

.about-main {
  padding-top: 24px;
}

.about-hero-section {
  padding-top: clamp(48px, 8vw, 92px);
  padding-bottom: 26px;
}

.about-hero-section h1 {
  max-width: 820px;
  color: var(--navy);
}

.about-hero-section > p:not(.eyebrow) {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.68;
}

.about-soft-note,
.about-extra-note {
  color: var(--muted);
  line-height: 1.7;
}

.about-feature-panel {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
}

.about-feature-panel img {
  height: auto;
  min-height: 0;
  max-height: 720px;
  object-fit: contain;
  background: #fff;
}

.about-meaning-line {
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 850;
  line-height: 1.16;
}

.about-staff-card h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
}

.about-credential-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.about-credential-list li,
.cat-name-row span {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sand-soft);
  color: var(--navy-soft);
  font-weight: 800;
}

.about-notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(223, 241, 245, 0.48);
  color: var(--navy-soft);
  line-height: 1.7;
}

.cat-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.compact-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 240px;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: var(--sand-soft);
}

.gallery-todo-card {
  min-height: 240px;
  display: grid;
  align-content: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
}

.footer strong {
  color: #fff;
}

.footer-note {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.footer-links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .global-language {
    align-self: flex-start;
  }

  .hero {
    min-height: 560px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-panel.diving-lead {
    grid-template-columns: 1fr;
  }

  .dive-map-card {
    grid-template-columns: 1fr;
  }

  .feature-panel img {
    min-height: 260px;
  }

  .about-feature-panel img {
    max-height: none;
    min-height: 0;
  }

  .feature-panel.diving-lead img {
    max-height: 260px;
    min-height: 0;
    padding: 14px;
  }

  .feature-panel.packages-lead img {
    max-height: none;
    min-height: 0;
  }

  .padi-course-grid .card {
    min-height: 0;
  }

  .card-media {
    width: calc(100% + 34px);
    margin: -17px -17px 16px;
  }

  .review-summary {
    align-items: start;
    flex-direction: column;
  }

  .detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid,
  .compact-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 520px;
  }

  .card {
    padding: 17px;
  }
}
