:root {
  --page-bg: #ffffff;
  --paper: #ffffff;
  --ink: #202020;
  --muted: #777777;
  --line: #eeeeee;
  --accent: #428bca;
  --accent-strong: #2a6496;
  --max-width: 1170px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 14px;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.42857143;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.container {
  width: min(calc(100% - 30px), var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: none;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-4,
.col-md-5,
.col-md-7,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-4 {
  width: 33.33333333%;
}

.col-md-5 {
  width: 41.66666667%;
}

.col-md-7 {
  width: 58.33333333%;
}

.col-md-12 {
  width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 56px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-header,
.site-footer {
  display: none;
}

.portal-home {
  padding: 40px 0 22px;
}

.portal-intro {
  display: flex;
}

.featurette-heading {
  margin: 10px 0;
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.featurette-heading span {
  color: var(--muted);
  font-weight: 400;
}

.lead {
  margin: 0 0 10px;
  color: #333333;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.4;
}

.featurette-divider {
  margin: 34px 0;
  border: 0;
  border-top: 1px solid #eeeeee;
}

.home-featurette {
  align-items: center;
}

.home-featurette-media {
  margin: 0;
}

.home-featurette-media img {
  width: 100%;
  max-width: 500px;
}

.home-featurette-copy p {
  margin: 0 0 1rem;
}

.home-travel-section {
  clear: both;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid #dddddd;
}

.home-travel-section + .home-travel-section {
  margin-top: 56px;
}

.home-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.home-section-title::before {
  content: "";
  flex: 0 0 42px;
  height: 3px;
  background: var(--ink);
}

.home-section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-top: 4px;
  background: #dddddd;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 30px;
}

.home-trip-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
}

.home-trip-card:hover {
  color: var(--ink);
  text-decoration: none;
}

.home-trip-card-image {
  position: absolute;
  inset: 0;
  display: block;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-trip-card:hover .home-trip-card-image {
  opacity: 0.96;
}

.home-trip-card-label {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: block;
  width: min(250px, 82%);
  min-height: 20px;
  padding: 0 6px;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.home-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.home-contact {
  margin: 20px 0 10px;
  text-align: center;
}

.muted,
.article-subtitle {
  color: var(--muted);
}

.article-page {
  padding-top: 20px;
}

.article-top-nav {
  margin: 0 0 24px;
}

.back-link {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.2;
}

.back-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.article-header {
  margin-bottom: 20px;
}

.article-header h1 {
  margin: 20px 0 10px;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
}

.article-notice {
  margin: 0 15px 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--ink);
  background: #f6f6f3;
  color: #333333;
  font-size: 1rem;
  line-height: 1.5;
}

.wordpress-article {
  max-width: 920px;
}

.wordpress-featured-media {
  margin: 0 auto 30px;
  text-align: center;
}

.wordpress-featured-media img {
  display: inline-block;
  width: auto;
  max-height: none;
  border-radius: 0;
}

.wordpress-article .article-header {
  text-align: center;
}

.wordpress-article .editorial-block {
  display: block;
  margin-bottom: 18px;
}

.wordpress-article .editorial-copy {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

.article-subtitle {
  display: inline;
  margin-left: 8px;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.article-summary {
  max-width: 760px;
  margin-top: 20px;
}

.editorial-block {
  align-items: start;
  padding: 0;
  border-top: 0;
  margin-bottom: 20px;
}

.editorial-block--left {
  align-items: start;
}

.editorial-block--none,
.editorial-block--text {
  display: flex;
}

.editorial-copy h2 {
  margin: 10px 0;
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rich-text {
  text-align: justify;
}

.rich-text p {
  margin: 0 0 10px;
}

.rich-text .legacy-section-title,
.rich-text .legacy-subsection-title {
  margin: 18px 0 10px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-align: left;
}

.rich-text .legacy-section-title {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
}

.rich-text .legacy-subsection-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.rich-text img {
  max-width: 100%;
  height: auto;
}

.rich-text .alignleft,
.rich-text img.alignleft {
  float: left;
  margin: 4px 18px 12px 0;
}

.rich-text .alignright,
.rich-text img.alignright {
  float: right;
  margin: 4px 0 12px 18px;
}

.rich-text .aligncenter,
.rich-text img.aligncenter {
  display: block;
  margin: 10px auto;
}

.rich-text .wp-caption {
  max-width: 100%;
}

.rich-text .wp-caption-text {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

.rich-text::after {
  display: block;
  clear: both;
  content: "";
}

.editorial-media {
  margin: 0;
  text-align: center;
}

.image-lightbox-trigger {
  display: block;
  color: inherit;
  cursor: zoom-in;
}

.image-lightbox-trigger:hover {
  text-decoration: none;
}

.editorial-media img {
  width: 100%;
  border-radius: 0;
}

.editorial-media figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

.gallery-block {
  padding: 0;
  border-top: 0;
  margin-bottom: 20px;
}

.gallery-grid {
  column-count: 3;
  column-gap: 30px;
  width: 100%;
}

.gallery-grid--single {
  column-count: 1;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0 0 30px;
  min-width: 0;
  break-inside: avoid;
  page-break-inside: avoid;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 0;
  object-fit: contain;
}

.gallery-grid--single .gallery-item img {
  aspect-ratio: auto;
  object-fit: contain;
}

.gallery-item figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 12, 12, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease-out;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox figure {
  max-width: min(96vw, 1480px);
  max-height: 92vh;
  margin: 0;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  cursor: zoom-out;
}

.image-lightbox figcaption {
  max-width: 900px;
  margin: 10px auto 0;
  color: #f2f2ee;
  font-size: 0.95rem;
  text-align: center;
}

.has-lightbox-open {
  overflow: hidden;
}

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

  .gallery-grid {
    column-count: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: none;
  }

  .row {
    display: block;
  }

  .col-md-4,
  .col-md-5,
  .col-md-7,
  .col-md-12 {
    width: 100%;
  }

  .portal-home {
    padding-top: 28px;
  }

  .featurette-divider {
    margin: 24px 0;
  }

  .home-featurette {
    display: block;
  }

  .home-featurette-media img {
    width: min(100%, 360px);
  }

  .home-card-grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .home-travel-section {
    margin-top: 36px;
    padding-top: 20px;
  }

  .home-travel-section + .home-travel-section {
    margin-top: 40px;
  }

  .home-section-title {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 28px;
  }

  .home-section-title::before {
    flex-basis: 28px;
  }

  .home-trip-card-label {
    width: min(82%, 250px);
  }

  .article-header h1,
  .article-subtitle {
    display: block;
    margin-left: 0;
  }

  .editorial-block,
  .editorial-block--left {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .editorial-block--left .editorial-media {
    order: 2;
  }

  .editorial-block--left .editorial-copy {
    order: 1;
  }

  .rich-text {
    text-align: left;
  }

  .gallery-grid {
    column-count: 1;
    column-gap: 0;
  }

  .gallery-item {
    margin-bottom: 18px;
  }

  .image-lightbox {
    padding: 12px;
  }
}
