@font-face {
  font-family: Playfair;
  src: url("/assets/travel-fonts/playfair-400.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #171717;
  --muted: #565656;
  --line: #dedede;
  --edge: clamp(16px, 5.55vw, 80px);
  --serif: Playfair, Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font: 16px/1.6 Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.27; overflow-wrap: anywhere; }
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid #2c5891; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.frame { width: min(1280px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.column, .blog-nav, .related { width: min(940px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.mast .frame { min-height: 100px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 32px; padding-block: 18px; }
.brand { text-decoration: none; font: 20px/1.2 var(--serif); text-transform: uppercase; }
.mast nav, .blog-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.mast nav { font-size: 14px; }
.mast a:not(:hover), .blog-nav a:not(:hover) { text-decoration: none; }
.blog-nav { min-height: 104px; font: 15px/1.45 var(--serif); padding-block: 20px; }
.search-open { margin-left: auto; min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

.wide-cover { height: min(840px, 58.34vw); min-height: 240px; width: 100%; object-fit: cover; }
.intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(42px, 5.55vw, 80px); align-items: center; }
.intro img { width: 100%; aspect-ratio: 640 / 620; object-fit: cover; }
.intro-copy { max-width: 460px; margin-left: clamp(20px, 6.25vw, 90px); }
.intro h1 { font-size: clamp(32px, 3.1vw, 44px); text-transform: uppercase; text-wrap: balance; max-width: 370px; }
.intro p { font-size: 15px; margin-block: 30px 42px; max-width: 440px; }
.action { display: inline-flex; justify-content: center; align-items: center; padding: 10px 20px; min-height: 44px; color: white; background: black; border: 1px solid black; text-decoration: none; cursor: pointer; }
.action:hover { color: black; background: white; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: clamp(65px, 19.45vw, 280px); }
.topics img { width: 100%; aspect-ratio: 424 / 390; object-fit: cover; }
.topics a { display: block; text-align: center; text-decoration: none; }
.topics a:hover h2 { text-decoration: underline; }
.topics h2 { font-size: 18px; margin-top: clamp(22px, 4vw, 58px); text-transform: uppercase; }
.safe-live-grid { display: grid; gap: 30px; }
.highlights { margin-top: clamp(70px, 13.75vw, 198px); padding-bottom: clamp(40px, 5vw, 72px); }
.highlights .safe-live-grid, .related .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlights .safe-live-grid > :nth-child(n+4), .blog-preview > :nth-child(n+7) { display: none; }
.post-card { border: 1px solid var(--line); min-width: 0; }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card a:hover h3 { text-decoration: underline; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card .card-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; padding: 20px 24px; }
.post-card h3 { font-size: 21px; margin: 7px 0 10px; text-transform: uppercase; }
.card-meta { font-size: 12px; color: var(--muted); }
.card-summary { font-size: 14px; margin-bottom: 1em; }
.card-end { border-top: 1px solid var(--line); margin-top: auto; padding-top: 12px; font-size: 12px; }
.highlights .card-summary, .highlights .card-meta, .related .card-summary { display: none; }
.highlights .post-card h3 { font: 19px/1.24 Arial, sans-serif; }

.banner { display: grid; place-items: center; position: relative; min-height: min(500px, 39.06vw); margin-bottom: clamp(28px, 6.2vw, 89px); background: #24412e; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68); }
.banner h1 { position: relative; max-width: 12ch; text-align: center; font-size: clamp(30px, 5vw, 72px); text-transform: uppercase; color: white; padding: 16px 10px; }
.directory .post-card a { display: grid; grid-template-columns: minmax(0, 48.4%) 1fr; min-height: 340px; }
.directory .post-card img { height: 100%; min-height: 100%; aspect-ratio: 4 / 3; }
.directory .post-card .card-copy { padding: 27px 33px; }
.directory .post-card h3 { font-size: clamp(20px, 2vw, 28px); }
.directory .post-card h3, .directory .card-summary { font-family: var(--serif); }
.directory .card-summary { font-size: 16px; }
.directory .column { padding-bottom: clamp(54px, 14vw, 202px); }
.blog-more { margin-top: 28px; }

.reading > .blog-nav { margin-top: 48px; min-height: 110px; }
.story { width: min(940px, calc(100% - 2 * var(--edge))); border: 1px solid var(--line); margin: 0 auto; padding: clamp(24px, 5vw, 72px) clamp(14px, 7vw, 99px); font: 18px/1.53 var(--serif); }
.story h1 { font-size: clamp(30px, 3vw, 40px); text-transform: uppercase; margin-block: 12px 18px; }
.story h2 { margin-block: 1.45em .55em; font-size: clamp(21px, 2vw, 28px); }
.story h3 { font-size: 21px; margin-top: 1.15em; }
.story :is(p, figure, blockquote, ul, ol, .table-wrap) { margin-bottom: 1em; }
.story p, .story li, .utility p { overflow-wrap: anywhere; }
.story header { display: flex; flex-direction: column; }
.story :is(.meta, .safe-live-article__meta, .archive-import-kicker) { order: -1; font-size: 13px; color: var(--muted); }
.story .meta time { white-space: nowrap; }
.story :is(.kicker, .breadcrumbs) { font: 13px/1.5 Arial, sans-serif; color: var(--muted); }
.story :is(.dek, .safe-live-article__dek, .archive-import-dek) { font-weight: bold; }
.story figure img { width: 100%; }
.story iframe[data-editorial-calculator] { display: block; width: 100%; max-width: 460px; height: 860px; border: 0; border-radius: 24px; }
.story figcaption { font: 13px/1.4 Arial, sans-serif; color: var(--muted); margin-top: 8px; }
.story :is(aside, blockquote) { border-left: 2px solid var(--line); margin: 1.25em 0; padding: 8px 16px; }
.story aside strong { display: block; }
.story aside p:last-child { margin-bottom: 0; }
.story .table-wrap, .story [role="region"][tabindex]:has(>table) { max-width: 100%; overflow-x: auto; }
.story table { border-collapse: collapse; width: 100%; }
.story caption { font-size: 15px; text-align: left; padding-bottom: 8px; }
.story :is(th, td) { border: 1px solid var(--line); text-align: left; padding: .45em; }
.story .article-body { display: block; }
.related { margin-block: 38px 88px; }
.related header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.related .tiles { display: grid; gap: 30px; }
.utility main { width: min(940px, calc(100% - 2 * var(--edge))); margin: 40px auto; min-height: 50vh; }
.utility main :is(h1, h2, h3, p) { margin: 0 0 14px; }
.utility form { width: min(460px, 100%); display: grid; gap: 9px; }
.utility input { border: 1px solid #a2a2a2; min-width: 0; padding: 8px; }

.travel-footer { padding: clamp(32px, 7vw, 100px) var(--edge) 32px; min-height: 410px; display: grid; justify-items: center; align-content: end; gap: 15px; text-align: center; }
.feed-panel { width: min(460px, 100%); display: grid; gap: 10px; text-align: left; }
.feed-panel input { min-width: 0; border: 0; border-bottom: 1px solid #444; padding: 8px 0; }
.travel-footer small { color: var(--muted); }
.travel-footer > button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; color: var(--muted); }

.search-dialog, .editorial-consent { width: min(580px, calc(100% - 2rem)); max-height: 88dvh; padding: 20px; border: 1px solid #555; color: var(--ink); background: white; }
.search-dialog::backdrop, .editorial-consent::backdrop { background: #16161699; }
.search-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: .65em; }
.search-field input { width: 100%; min-width: 0; padding: 7px; }
.search-results a { display: grid; gap: 2px; padding: 7px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.editorial-consent h2 { margin-bottom: 10px; }
.editorial-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.editorial-consent-actions button { border: 1px solid black; background: white; color: black; cursor: pointer; padding: 7px 12px; }

@media (max-width: 1000px) {
  .intro-copy { width: auto; margin-right: 0; }
  .intro p { margin-block: 20px 24px; }
  .directory .post-card a { min-height: 280px; }
}

@media (max-width: 660px) {
  .mast .frame { min-height: 86px; }
  .intro, .topics, .highlights .safe-live-grid, .related .tiles { grid-template-columns: 1fr; }
  .intro-copy { margin: 24px 0 0; }
  .topics { gap: 28px; }
  .topics h2 { margin-top: 12px; }
  .directory .post-card a { display: flex; min-height: 0; }
  .directory .post-card img { height: auto; min-height: auto; }
  .directory .post-card .card-copy { padding: 18px; }
  .reading > .blog-nav { margin-top: 0; }
  .story { font-size: 16px; padding-inline: clamp(12px, 4vw, 24px); }
  .banner { min-height: 190px; }
  .travel-footer { min-height: 290px; }
}

