/* Shared guide article shell: hero + body layout for destinations and reviews. */

.guide-main {
  padding-bottom: 48px;
}

.guide-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--hairline);
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.guide-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px 8px 0;
}

.guide-hero-media {
  margin: 0;
}

.guide-hero-media.photo-slot {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--raise), var(--edge);
  background: var(--ground);
}

.guide-hero-media.photo-slot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.guide-hero-media.photo-slot figcaption {
  margin: 0;
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted-soft);
  background: var(--raised);
  border-top: 1px solid var(--hairline);
}

.guide-hero-media.hub-media.is-placeholder {
  min-height: 280px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--raise-sm), var(--edge);
  background:
    linear-gradient(160deg, rgba(18, 20, 18, 0.10) 0%, rgba(18, 20, 18, 0.28) 100%),
    linear-gradient(135deg, #8a8f8a 0%, #6a6f6a 60%, #4a4f4a 100%);
}

.hub-media-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(247, 245, 241, 0.82);
}

.guide-hero .eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 22ch;
}

.guide-hero .lede {
  margin: 0;
  max-width: 42em;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.guide-article {
  padding: 32px 0 0;
  max-width: 760px;
}

.guide-article.wrap {
  max-width: min(760px, calc(100% - 40px));
}

.guide-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-article a:hover {
  color: var(--accent-hi);
}

.guide-article h2,
.guide-article h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.guide-article h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 2.2rem 0 0.75rem;
}

.guide-article h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.guide-article p {
  margin: 0 0 1rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.guide-article ul,
.guide-article ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.65;
}

.guide-article li {
  margin-bottom: 0.35rem;
}

.guide-article .card {
  background: var(--raised);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--raise-sm), var(--edge);
}

.guide-article .note {
  color: var(--muted);
  font-size: 14px;
}

.guide-article .tbd {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--raised-hi);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  margin-right: 0.35rem;
  box-shadow: var(--recess);
}

.guide-article .split {
  display: grid;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
}

@media (min-width: 640px) {
  .guide-article .split {
    grid-template-columns: 1fr 1fr;
  }
}

.guide-article .table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
}

.guide-article table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--raised);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--raise-sm), var(--edge);
}

.guide-article table.data th,
.guide-article table.data td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  font-size: 14px;
}

.guide-article table.data th {
  background: var(--raised-hi);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-article table.data tr:last-child td {
  border-bottom: none;
}

.guide-article .fact {
  margin-top: 1rem;
}

.guide-article .fact dl {
  margin: 0;
}

.guide-article .fact dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-top: 0.75rem;
}

.guide-article .fact dt:first-child {
  margin-top: 0;
}

.guide-article .fact dd {
  margin: 0.15rem 0 0;
  font-size: 14px;
  color: var(--muted);
}

.guide-article .related {
  margin-top: 2.4rem;
  background: var(--raised);
  border-radius: var(--r-sm);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--raise-sm), var(--edge);
}

.guide-article .related h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.guide-article .related ul {
  margin: 0.4rem 0 0;
  list-style: none;
  padding: 0;
}

.guide-article .related li {
  margin-bottom: 0.45rem;
}

.guide-track {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
}

.guide-track .link-quiet {
  font-size: 13px;
}

/* Hub index: place-forward cards for /destinations, /courses, and /trips. */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 48px;
}

.hub-card {
  background: var(--raised);
  border-radius: var(--r);
  box-shadow: var(--raise), var(--edge);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease;
}

.hub-card:active {
  transform: translateY(1px);
}

.hub-card.is-static {
  cursor: default;
  opacity: 0.72;
}

.hub-card.is-static:active {
  transform: none;
}

.hub-media {
  height: 200px;
  position: relative;
  background: linear-gradient(145deg, #6b8472, #3f5a48 55%, #2c4034);
}

.hub-media.dest {
  background: linear-gradient(150deg, #7a8f9a 0%, #4a6670 45%, #2e464e 100%);
}

.hub-media.course {
  background: linear-gradient(150deg, #8a9a78 0%, #5a704c 50%, #354832 100%);
}

.hub-media.trip {
  background: linear-gradient(150deg, #8a9a8a 0%, #5a7060 50%, #3a5040 100%);
}

.hub-media.is-placeholder {
  background:
    linear-gradient(160deg, rgba(18, 20, 18, 0.08) 0%, rgba(18, 20, 18, 0.22) 100%),
    linear-gradient(135deg, #9a9e9a 0%, #7a7e7a 45%, #5a5e5a 100%);
}

.hub-media.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 48' fill='none'%3E%3Cpath d='M0 36 L24 22 L40 30 L56 18 L80 28 L80 48 L0 48 Z' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='62' cy='14' r='6' fill='rgba(255,255,255,0.18)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: 72px auto;
  opacity: 0.9;
}

.hub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hub-body {
  padding: 16px 18px 18px;
}

.hub-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hub-body h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.hub-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .guide-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guide-hero-media.photo-slot,
  .guide-hero-media.hub-media.is-placeholder {
    order: -1;
    min-height: 220px;
  }

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

@media (max-width: 560px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
