﻿:root {
  --paper: #181716;
  --paper-strong: #22201e;
  --ink: #f2ece1;
  --muted: #c2b6a6;
  --accent: #a8ba8e;
  --accent-soft: #334131;
  --border: rgba(242, 236, 225, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
  --reading-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lightbox-open,
html.lightbox-open body {
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(92, 118, 84, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(120, 104, 78, 0.16), transparent 22%),
    linear-gradient(180deg, #161514 0%, #1f1d1a 52%, #151412 100%);
  font-family: "Aptos", "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

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

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  padding: 2rem 0 1rem;
}

.story-layout .site-header {
  display: flex;
  justify-content: center;
}

.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.site-header:not(.story-layout .site-header) {
  text-align: center;
}

.site-subtitle {
  width: min(100%, 48rem);
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.featured-hero,
.story-hero {
  margin: 2rem 0 3rem;
  border-radius: 28px;
  overflow: hidden;
  background: #24211d;
  box-shadow: var(--shadow);
}

.featured-hero img,
.story-hero img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.featured-copy,
.story-header-copy {
  padding: 1.6rem 1.6rem 1.9rem;
  border: 1px solid rgba(242, 236, 225, 0.08);
  border-radius: 24px;
  background: rgba(30, 28, 25, 0.78);
  backdrop-filter: blur(14px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-copy h2,
.story-header-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

.featured-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.story-header-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.featured-copy p,
.story-header-copy p {
  margin: 0.9rem 0 0;
  max-width: 42rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(38, 35, 31, 0.88);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--accent);
  color: #171613;
  border-color: transparent;
}

.section-heading {
  margin: 3.2rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  line-height: 1.1;
}

.purpose-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 0 0 3.2rem;
}

.purpose-copy,
.purpose-list {
  padding: 1.35rem;
  border: 1px solid rgba(242, 236, 225, 0.08);
  border-radius: 24px;
  background: rgba(34, 31, 28, 0.82);
  box-shadow: var(--shadow);
}

.purpose-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  line-height: 1.05;
}

.purpose-copy p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.purpose-list {
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.purpose-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: rgba(168, 186, 142, 0.11);
  color: var(--muted);
  font-weight: 800;
}

.purpose-pill span {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.adventure-card {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(34, 31, 28, 0.82);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.adventure-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  transform-origin: center center;
}

.adventure-card-copy {
  padding: 1.25rem;
}

.adventure-card-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.15;
}

.adventure-card-copy p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.meta-pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(168, 186, 142, 0.12);
  color: var(--accent);
  font-size: 0.92rem;
}

.story-layout {
  padding-bottom: 4rem;
}

.chapter-jump {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  margin: 1.5rem 0 2rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(242, 236, 225, 0.08);
  border-radius: 22px;
  background: rgba(26, 24, 22, 0.88);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.chapter-jump-label {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chapter-jump-links {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.chapter-chip {
  flex: 0 0 auto;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 236, 225, 0.1);
  background: rgba(40, 36, 32, 0.92);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 3rem;
}

.fact-card {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(35, 32, 29, 0.82);
  border: 1px solid rgba(242, 236, 225, 0.08);
}

.fact-card span {
  display: block;
}

.fact-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fact-value {
  margin-top: 0.35rem;
  font-weight: 600;
}

.rating-summary,
.map-summary {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  margin: 0 0 3rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(242, 236, 225, 0.08);
  background: rgba(35, 32, 29, 0.82);
  box-shadow: var(--shadow);
}

.rating-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(168, 186, 142, 0.13);
}

.rating-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.9;
}

.rating-scale,
.rating-label,
.rating-description {
  color: var(--muted);
  font-weight: 700;
}

.rating-description {
  margin-top: 0.3rem;
  color: var(--accent);
}

.rating-breakdown {
  display: grid;
  gap: 0.55rem;
  align-content: center;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(242, 236, 225, 0.08);
}

.rating-row span {
  color: var(--muted);
}

.rating-row strong {
  display: grid;
  justify-items: end;
  line-height: 1.15;
  font-size: 1.05rem;
  text-align: right;
}

.rating-row small {
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.rating-breakdown p,
.map-summary p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.rating-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.rating-key span {
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  background: rgba(168, 186, 142, 0.11);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.map-summary {
  display: block;
  width: min(100%, var(--reading-width));
  margin-left: auto;
  margin-right: auto;
  padding: 0.85rem;
  border-radius: 18px;
}

.map-summary h2 {
  margin: 0.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.08;
}

.map-stats,
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.map-stats span,
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(168, 186, 142, 0.11);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.adventure-map {
  position: relative;
  width: 100%;
  height: clamp(420px, 62vw, 560px);
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(242, 236, 225, 0.1);
  background: #24211d;
}

.map-style-switch {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 700;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(242, 236, 225, 0.16);
  border-radius: 999px;
  background: rgba(31, 29, 26, 0.78);
  backdrop-filter: blur(10px);
}

.map-style-switch button {
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.map-style-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #1f1d1a;
}

.adventure-map.leaflet-container,
.adventure-map .leaflet-container {
  position: relative;
  overflow: hidden;
}

.adventure-map .leaflet-pane,
.adventure-map .leaflet-tile,
.adventure-map .leaflet-marker-icon,
.adventure-map .leaflet-marker-shadow,
.adventure-map .leaflet-tile-container,
.adventure-map .leaflet-pane > svg,
.adventure-map .leaflet-pane > canvas,
.adventure-map .leaflet-zoom-box,
.adventure-map .leaflet-image-layer,
.adventure-map .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.adventure-map .leaflet-tile,
.adventure-map .leaflet-marker-icon,
.adventure-map .leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.adventure-map .leaflet-tile-pane {
  z-index: 200;
}

.adventure-map .leaflet-overlay-pane {
  z-index: 400;
}

.adventure-map .leaflet-marker-pane {
  z-index: 600;
}

.adventure-map .leaflet-tooltip-pane,
.adventure-map .leaflet-popup-pane {
  z-index: 700;
}

.adventure-map .leaflet-control-container .leaflet-top,
.adventure-map .leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.adventure-map .leaflet-control-container .leaflet-top {
  top: 0;
}

.adventure-map .leaflet-control-container .leaflet-right {
  right: 0;
}

.adventure-map .leaflet-control-container .leaflet-bottom {
  bottom: 0;
}

.adventure-map .leaflet-control-container .leaflet-left {
  left: 0;
}

.adventure-map .leaflet-control {
  position: relative;
  z-index: 1000;
  pointer-events: auto;
  float: left;
  clear: both;
  margin: 10px;
}

.adventure-map .leaflet-right .leaflet-control {
  float: right;
}

.adventure-map .leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.adventure-map .leaflet-interactive {
  cursor: pointer;
}

.adventure-map .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}

.adventure-map .leaflet-pane > svg {
  max-width: none !important;
  max-height: none !important;
}

.adventure-map .leaflet-overlay-pane svg {
  overflow: visible;
}

.adventure-map .leaflet-control-zoom a,
.adventure-map .leaflet-control-attribution {
  background: rgba(31, 29, 26, 0.88);
  color: var(--ink);
}

.adventure-map.map-tiles-unavailable::after {
  content: "Basemap unavailable; route and photo markers are still shown.";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(31, 29, 26, 0.9);
  color: var(--muted);
  font-size: 0.82rem;
  pointer-events: none;
}

.adventure-map.maplibre-ready .route-fallback-svg {
  display: none;
}

.adventure-map .maplibregl-canvas {
  outline: none;
}

.adventure-map .maplibregl-ctrl-group {
  background: rgba(31, 29, 26, 0.88);
}

.adventure-map .maplibregl-ctrl-group button {
  background-color: transparent;
  color: var(--ink);
}

.adventure-map .maplibregl-popup-content {
  padding: 0;
  border-radius: 10px;
  background: #1f1d1a;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.adventure-map .maplibregl-popup-tip {
  border-top-color: #1f1d1a;
  border-bottom-color: #1f1d1a;
}

.route-fallback-svg {
  position: absolute;
  inset: 0;
  z-index: 650;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-fallback-svg a {
  pointer-events: auto;
  cursor: pointer;
}

.route-fallback-svg .fallback-route-shadow {
  fill: none;
  stroke: #1f1d1a;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.88;
}

.route-fallback-svg .fallback-route-line {
  fill: none;
  stroke: #f2ece1;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.96;
}

.route-fallback-svg .fallback-photo-marker {
  fill: #d7b46a;
  stroke: #1f1d1a;
  stroke-width: 3;
  transition: r 160ms ease, fill-opacity 160ms ease;
}

.route-fallback-svg .fallback-photo-marker.track-near {
  fill: #c88959;
}

.route-fallback-svg a:hover .fallback-photo-marker,
.route-fallback-svg a:focus .fallback-photo-marker {
  fill-opacity: 1;
  r: 10;
}

.map-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #b75d5d;
}

.map-dot.exact {
  background: #a8ba8e;
}

.map-dot.track {
  background: #d7b46a;
}

.map-dot.inferred-high {
  background: #d7b46a;
}

.map-dot.inferred-medium {
  background: #c88959;
}

.map-dot.inferred-low {
  background: #b75d5d;
}

.map-line {
  display: inline-block;
  width: 1.45rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #f2ece1;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #1f1d1a;
  color: var(--ink);
}

.map-popup {
  display: grid;
  gap: 0.35rem;
  min-width: 170px;
  color: inherit;
  text-decoration: none;
}

.map-popup img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.map-popup strong,
.map-popup span {
  display: block;
}

.map-popup span {
  color: var(--muted);
  font-size: 0.82rem;
}

.story-body {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}

.chapter-marker {
  position: relative;
  width: min(100%, var(--reading-width));
  margin: 5.5rem auto 2.2rem;
  padding: 1.4rem 0 0.2rem;
  border-top: 1px solid rgba(242, 236, 225, 0.18);
}

.chapter-marker::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(180px, 42%);
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
}

.chapter-marker .eyebrow {
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.chapter-marker h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 1;
}

.story-section {
  margin-bottom: 3rem;
  content-visibility: auto;
  contain-intrinsic-size: 920px;
}

.story-section h2 {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.08;
}

.story-section p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
}

.story-image {
  margin: 1rem 0 0;
}

.story-image a,
.photo-grid-wrap a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(242, 236, 225, 0.16);
  border-radius: 24px;
  background: rgba(242, 236, 225, 0.05);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.image-action {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  background: rgba(18, 17, 15, 0.78);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.story-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow: none;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  transform-origin: center center;
}

.photo-grid-wrap {
  width: min(100%, 980px);
  margin: 1.2rem auto 0;
}

.photo-grid-wrap table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 12px;
  table-layout: fixed;
}

.photo-grid-wrap td {
  position: relative;
  width: 33.333%;
  padding: 0;
}

.photo-grid-wrap a {
  display: block;
}

.photo-grid-wrap img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 11;
  border-radius: 22px;
  object-fit: cover !important;
  box-shadow: none;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  transform-origin: center center;
}

.featured-hero:hover img,
.story-hero:hover img,
.adventure-card:hover img,
.story-image:hover img,
.story-image a:hover img,
.photo-grid-wrap td:hover img,
.photo-grid-wrap a:hover img {
  transform: scale(1.085) translateZ(0);
  filter: brightness(1.07);
  box-shadow: none;
  cursor: zoom-in;
}

.story-image:hover,
.story-image a:hover,
.photo-grid-wrap td:hover,
.photo-grid-wrap a:hover {
  z-index: 5;
}

.story-image a:hover,
.story-image a:focus-visible,
.photo-grid-wrap a:hover,
.photo-grid-wrap a:focus-visible {
  border-color: rgba(168, 186, 142, 0.5);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(168, 186, 142, 0.08);
}

.story-image a:hover .image-action,
.story-image a:focus-visible .image-action,
.photo-grid-wrap a:hover .image-action,
.photo-grid-wrap a:focus-visible .image-action {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .adventure-card img,
  .featured-hero img,
  .story-hero img,
  .story-image img,
  .photo-grid-wrap img {
    transition: none;
  }

  .image-action {
    transition: none;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.8rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(12px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-figure {
  display: grid;
  place-items: center;
  min-height: 0;
}

.image-lightbox img {
  max-width: min(100%, 1180px);
  max-height: calc(100vh - 8rem);
  border: 1px solid rgba(242, 236, 225, 0.18);
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
  object-fit: contain;
}

.image-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.image-lightbox button,
.image-lightbox a {
  border: 1px solid rgba(242, 236, 225, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(31, 29, 26, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.photo-grid-wrap.natural table {
  table-layout: auto;
}

.photo-grid-wrap.natural img {
  height: auto !important;
  aspect-ratio: auto;
}

.story-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 3rem 0 4rem;
}

.story-footer a {
  text-decoration: none;
}

@media (max-width: 780px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .featured-copy,
  .story-header-copy {
    padding: 1.1rem 1rem 1.3rem;
  }

  .story-section {
    margin-bottom: 2.2rem;
    contain-intrinsic-size: 720px;
  }

  .story-section p {
    font-size: 1rem;
  }

  .chapter-jump {
    top: 0.35rem;
    margin: 1rem 0 1.5rem;
    padding: 0.8rem 0.8rem 0.85rem;
  }

  .photo-grid-wrap table,
  .photo-grid-wrap tbody,
  .photo-grid-wrap tr,
  .photo-grid-wrap td {
    display: block;
    width: 100%;
  }

  .photo-grid-wrap tr + tr,
  .photo-grid-wrap td + td {
    margin-top: 12px;
  }

  .photo-grid-wrap img {
    height: auto !important;
  }

  .rating-summary {
    grid-template-columns: 1fr;
  }

  .purpose-section {
    grid-template-columns: 1fr;
  }
}
