/* Delian — design system
   Tokens, base, components. Mobile-first. */

:root {
  --aegean: #16477F;
  --aegean-dark: #0E2E54;
  --aegean-tint: #E8EEF6;
  --sea: #3B9BC9;
  --sea-tint: #E6F3F9;
  --whitewash: #FAF7F2;
  --paper: #FFFFFF;
  --stone: #6B6760;
  --stone-light: #9A958C;
  --ink: #1C1B19;
  --sun: #E9B44C;
  --sun-dark: #C9942E;
  --bougainvillea: #D8457B;
  --bougainvillea-text: #C2255C; /* the brand pink darkened for small text on white (WCAG AA) */
  --line: #E6E1D8;
  --line-strong: #CFC8BB;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(28, 27, 25, .06), 0 8px 24px rgba(28, 27, 25, .06);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aegean); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--aegean-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; color: var(--ink); font-variation-settings: "opsz" 72, "SOFT" 30; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--aegean); margin: 0 0 .5em; }
.eyebrow--pink { color: var(--bougainvillea-text); }
.eyebrow--light { color: var(--sun); }

.btn {
  display: inline-block; background: var(--aegean); color: #fff; font-family: var(--sans); font-weight: 600; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 14px 22px; border: 2px solid var(--aegean);
  border-radius: var(--radius); cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1;
}
.btn:hover { background: var(--aegean-dark); border-color: var(--aegean-dark); color: #fff; }
.btn--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-dark); border-color: var(--sun-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--aegean); }
.btn--ghost:hover { background: var(--aegean); color: #fff; }
.btn--small { padding: 10px 16px; font-size: .72rem; }
.btn--block { display: block; text-align: center; width: 100%; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__badge { width: 46px; height: 46px; background: var(--aegean); border-radius: 6px; display: grid; place-items: center; flex: none; }
.brand__badge svg { width: 34px; height: auto; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; display: block; color: var(--aegean); }
.brand__strap { display: block; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-top: 3px; white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1180px) { .brand__strap { display: none; } .nav__list { gap: 14px; } .nav__list a { font-size: .72rem; } }
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.nav__list a { white-space: nowrap; }
.nav__list a { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav__list a:hover, .nav__list a[aria-current] { border-bottom-color: var(--bougainvillea); color: var(--ink); }
.nav__cta a { color: var(--aegean); }
.site-header__tools { display: flex; gap: 4px; }
.icon-btn { background: none; border: 0; color: var(--ink); padding: 10px; cursor: pointer; border-radius: var(--radius); display: inline-flex; }
.icon-btn:hover { background: var(--aegean-tint); color: var(--aegean); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 20px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 12px 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav__secondary { margin-top: 12px !important; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mobile-nav__secondary li a { font-family: var(--sans); font-size: .85rem; font-weight: 500; border: 0; padding: 6px 0; color: var(--stone); }
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Ads */
.ad { position: relative; }
.ad__label { position: absolute; top: 4px; right: var(--gutter); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-light); }
.ad--leaderboard { background: var(--whitewash); border-bottom: 1px solid var(--line); }
.ad--leaderboard > a { display: block; max-width: var(--wrap); margin: 0 auto; }
.ad--leaderboard img { width: 100%; height: auto; }
.ad--house > a { display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter); text-decoration: none; color: var(--ink); font-size: .9rem; max-width: var(--wrap); margin: 0 auto; }
.ad--house__mark { display: none; }
.ad--house__mark svg { width: 44px; height: auto; }
.ad--house .btn { margin-left: auto; white-space: nowrap; }
.ad--mpu.ad--house { background: var(--aegean-tint); border-radius: var(--radius); }
.ad--mpu.ad--house > a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; }
.ad--mpu.ad--house .ad--house__mark { display: block; }
.ad--mpu.ad--house .btn { margin-left: 0; margin-top: 6px; }
.ad--mpu img { width: 100%; border-radius: var(--radius); }
@media (min-width: 720px) { .ad--house__mark { display: block; } }

/* Home */
.home-hero { padding-top: 32px; }
.home-hero__title { text-align: center; margin-bottom: .2em; }
.home-hero__sub { text-align: center; color: var(--stone); max-width: 640px; margin: 0 auto 28px; font-size: 1.05rem; }
.home-hero__grid { display: grid; gap: 24px; }
.home-hero__side { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .home-hero__grid { grid-template-columns: 2fr 1fr; }
  .home-hero__side { grid-template-rows: 1fr 1fr; }
}

/* Section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 2px solid var(--ink); padding-top: 14px; margin: 44px 0 18px; }
.section-head h2, .section-head__h { font-size: 1.5rem; margin: 0; }
.section-head__more { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.section-head__note { margin: 0; font-size: .85rem; color: var(--stone); }

/* Grids and cards */
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); }
.card__link { display: block; text-decoration: none; color: inherit; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--aegean-tint); border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 12px 0 0; }
.card__title { font-size: 1.15rem; margin-bottom: .3em; }
.card--large .card__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.card--large .card__media { aspect-ratio: 3 / 2; }
.card__standfirst { color: var(--stone); font-size: .95rem; margin: 0; }
.card__link:hover .card__title { color: var(--aegean); }
.card--small .card__title { font-size: 1.05rem; }

/* Island tiles */
.island-tiles { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.island-tiles li { scroll-snap-align: start; }
.island-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--aegean-dark); }
.island-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.island-tile:hover img { transform: scale(1.04); }
.island-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 46, 84, .85) 0%, rgba(14, 46, 84, .1) 55%, rgba(0,0,0,0) 100%); }
.island-tile__name, .island-tile__tag, .island-tile__short { position: absolute; left: 12px; right: 12px; z-index: 1; }
.island-tile__name { bottom: 28px; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.1; }
.island-tile__tag { bottom: 10px; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island-tile__short { display: none; }
@media (min-width: 720px) { .island-tiles { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; } }
@media (min-width: 1024px) { .island-tiles { grid-template-columns: repeat(7, 1fr); } .island-tile__name { font-size: 1.05rem; bottom: 26px; } .island-tile__tag { font-size: .6rem; } }
.island-tiles--large { grid-template-columns: 1fr; grid-auto-flow: row; overflow: visible; gap: 24px; }
.island-tiles--large .island-tile { aspect-ratio: 3 / 2; }
.island-tiles--large .island-tile__name { font-size: 1.6rem; bottom: 66px; }
.island-tiles--large .island-tile__tag { bottom: 48px; font-size: .7rem; }
.island-tiles--large .island-tile__short { display: block; bottom: 12px; font-size: .85rem; line-height: 1.35; opacity: .95; }
@media (min-width: 560px) { .island-tiles--large { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .island-tiles--large { grid-template-columns: repeat(3, 1fr); } }

/* Feature band */
.feature-band { margin-top: 44px; }
.feature-band__link { display: grid; background: var(--aegean); color: #fff; text-decoration: none; border-radius: var(--radius); overflow: hidden; }
.feature-band__media { aspect-ratio: 3 / 2; }
.feature-band__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-band__text { padding: 28px; }
.feature-band__text h2 { color: #fff; }
.feature-band__text p { opacity: .9; }
@media (min-width: 900px) { .feature-band__link { grid-template-columns: 1.2fr 1fr; align-items: center; } .feature-band__media { aspect-ratio: auto; height: 100%; min-height: 360px; } .feature-band__text { padding: 48px; } }

/* Hub pages */
.hub__head { max-width: 760px; padding-top: 32px; }
.hub__intro { font-size: 1.1rem; color: var(--stone); }
.hub__picks { margin-top: 24px; }
.hub__filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 36px 0 18px; }
.hub__filters-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-right: 6px; }
.chip { font: inherit; font-size: .8rem; font-weight: 500; padding: 7px 12px; background: var(--whitewash); border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--aegean); color: var(--aegean); }
.chip.is-active { background: var(--aegean); border-color: var(--aegean); color: #fff; }

/* Article */
.crumbs { font-size: .78rem; color: var(--stone); padding: 18px 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--stone-light); }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--aegean); }
.article__head { max-width: 860px; padding: 18px 0 8px; }
.article__title { margin-bottom: .3em; }
.article__standfirst { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.4; color: var(--stone); font-variation-settings: "opsz" 24; margin-bottom: .8em; }
.byline { font-size: .8rem; letter-spacing: .04em; color: var(--stone); text-transform: uppercase; }
.article__hero { margin: 8px 0 12px; }
.article__hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; }
/* Upright hero: shown whole, beside the headline on wide screens, instead of being cut to a landscape strip */
.article__hero--tall img { aspect-ratio: 4 / 5; }
@media (min-width: 860px) {
  .article__top--tall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 52px; align-items: center; padding-top: 10px; }
  .article__top--tall .article__hero { margin: 0; }
}
.credit { font-size: .72rem; color: var(--stone); margin-top: 6px; }
.credit a { color: inherit; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.share__label { color: var(--stone); font-weight: 600; }
.share a, .share button { color: var(--ink); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.share a:hover, .share button:hover { color: var(--aegean); }
.article__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.article__grid > * { min-width: 0; } /* lets a wide table scroll inside the column instead of widening the page on phones */
@media (min-width: 960px) { .article__grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .article__side { position: sticky; top: 84px; } }
.article__side { display: grid; gap: 24px; }
.article__disclaimer { font-size: .8rem; color: var(--stone); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 36px; }

/* Prose */
.prose { font-size: 1.07rem; line-height: 1.7; max-width: 760px; }
.prose > p:first-child { font-size: 1.15rem; }
.prose h2 { margin-top: 2em; padding-top: .2em; }
.prose h2 + p > em:only-child { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--aegean); font-style: italic; font-variation-settings: "opsz" 24; margin-bottom: .6em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--radius); }
.prose .figure { margin: 1.6em 0; }
.prose .figure--tall { max-width: 460px; margin-inline: auto; }
.prose .figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.6em 0; align-items: start; }
.prose .figure-pair .figure { margin: 0; max-width: none; }
@media (max-width: 520px) { .prose .figure-pair { grid-template-columns: 1fr; } }
.prose .figure img { width: 100%; height: auto; display: block; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); border-bottom: 2px solid var(--ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 1em; border-left: 3px solid var(--sun); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.practical-block { background: var(--whitewash); border-left: 3px solid var(--sun); padding: 12px 16px 6px; margin: 1em 0 1.8em; border-radius: 0 var(--radius) var(--radius) 0; }
.practical-line { margin: 0 0 .4em; font-size: .93rem; padding-left: 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; }
@media (max-width: 480px) { .practical-line { grid-template-columns: 1fr; gap: 0; } }
.practical-line strong { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 600; padding-top: .3em; }
.practical-line--cta { grid-template-columns: 1fr; margin-top: .4em; padding-bottom: .4em; }
.practical-line--cta strong { display: none; }
.practical-line--cta a { display: inline-block; background: var(--aegean); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 11px 16px; border-radius: var(--radius); text-decoration: none; }
.practical-line--cta a:hover { background: var(--aegean-dark); }
.practical-block + h2 { margin-top: 1.6em; }

/* Practical sidebar box */
.practical { background: var(--whitewash); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.practical dl { margin: 0 0 16px; display: grid; gap: 10px; }
.practical dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.practical dd { margin: 2px 0 0; font-size: .95rem; }
.quick-answers { background: var(--whitewash); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 6px; margin: 0 0 1.8em; }
.quick-answers__h, .prose .quick-answers__h { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); margin: 0 0 10px; }
.quick-answers dl { margin: 0; }
.quick-answers dl > div { padding: 0 0 12px; }
.quick-answers dt { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.quick-answers dd { margin: 4px 0 0; font-size: .95rem; line-height: 1.5; }
.side-box { border-top: 2px solid var(--ink); padding-top: 12px; }
.side-box__h { font-size: .78rem; font-family: var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.side-list a { color: var(--ink); text-decoration: none; }
.side-list a:hover { color: var(--aegean); }
.side-box--toc .side-list li { font-family: var(--sans); font-size: .9rem; }

/* Island hero */
.island__hero { margin: 0; position: relative; background: var(--aegean-dark); }
.island__hero img { width: 100%; height: min(62vh, 600px); min-height: 360px; object-fit: cover; object-position: center 60%; }
.island__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 46, 84, .88) 0%, rgba(14, 46, 84, .35) 40%, rgba(0,0,0,0) 75%); }
.island__hero-text { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 1; color: #fff; }
.island__hero-text h1 { color: #fff; max-width: 820px; margin-bottom: .2em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.island__standfirst { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem); max-width: 720px; opacity: .95; margin: 0; }
.island__hero .credit { position: absolute; right: var(--gutter); bottom: 10px; z-index: 1; color: rgba(255,255,255,.7); margin: 0; }
.island__quick { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--stone); padding: 14px 0 6px; }

/* Partners / listings */
.partners { margin-top: 44px; }
.listing { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.listing > a { display: block; padding: 0 0 18px; text-decoration: none; color: inherit; height: 100%; }
.listing__media { aspect-ratio: 3 / 2; background: var(--aegean-tint); }
.listing__media img { width: 100%; height: 100%; object-fit: cover; }
.listing__media--empty { display: grid; place-items: center; }
.listing__media--empty svg { width: 64px; opacity: .35; }
.listing .eyebrow, .listing h3, .listing p { padding: 0 16px; }
.listing .eyebrow { margin-top: 14px; }
.listing h3 { font-size: 1.1rem; }
.listing p { font-size: .9rem; color: var(--stone); }
.listing .btn { margin: 0 16px; }
.listing--premium { border-color: var(--sun); box-shadow: var(--shadow); }
.listing--placeholder { border-style: dashed; }
/* House band: the 'advertise here' placeholder shown where partner cards will go */
.house-band { margin-top: 44px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--whitewash); }
.house-band__link { display: grid; gap: 14px; padding: 22px; text-decoration: none; color: var(--ink); align-items: center; }
.house-band__mark svg { width: 52px; height: auto; display: block; opacity: .85; }
.house-band__text { display: grid; gap: 4px; font-size: .95rem; color: var(--stone); }
.house-band__text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.house-band__text .eyebrow { margin: 0; }
.house-band .btn { justify-self: start; white-space: nowrap; }
.house-band__link:hover strong { color: var(--aegean); }
@media (min-width: 720px) { .house-band__link { grid-template-columns: auto 1fr auto; gap: 22px; padding: 24px 28px; } .house-band .btn { justify-self: end; } }

/* Related */
.related { margin-bottom: 8px; }

/* Newsletter band */
.newsletter { background: var(--aegean); color: #fff; margin-top: 56px; }
.newsletter__inner { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.newsletter h2 { color: #fff; }
.newsletter .eyebrow { color: var(--sun); }
.newsletter__form { display: grid; gap: 10px; align-content: start; }
.newsletter__form input[type=email] { font: inherit; padding: 14px 16px; border: 0; border-radius: var(--radius); }
.newsletter__fine { font-size: .75rem; opacity: .8; margin: 0; }
.newsletter__fine a { color: #fff; }
@media (min-width: 800px) { .newsletter__inner { grid-template-columns: 1.2fr 1fr; align-items: center; } }

/* Forms */
.form { margin: 8px 0 28px; }
.form__grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.form__row { margin-bottom: 16px; }
.form__row label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.form__row input, .form__row select, .form__row textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.form__row input:focus, .form__row select:focus, .form__row textarea:focus, .newsletter__form input:focus { outline: 2px solid var(--sea); outline-offset: 1px; }
.form__row--check { display: flex; gap: 10px; align-items: flex-start; }
.form__row--check input { width: auto; margin-top: 4px; }
.form__row--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .9rem; color: var(--ink); }
.form__msg { margin-top: 12px; font-weight: 500; color: var(--sea); }
.form__msg.is-error { color: var(--bougainvillea); }
.newsletter .form__msg { color: var(--sun); }

/* Packages */
.packages { display: grid; gap: 20px; margin: 20px 0 24px; }
@media (min-width: 800px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--whitewash); position: relative; }
.package--featured { border-color: var(--aegean); background: #fff; box-shadow: var(--shadow); }
.package__tag { position: absolute; top: -12px; left: 18px; background: var(--bougainvillea); color: #fff; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin: 0; }
.package h3 { margin-bottom: .2em; }
.package__price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--aegean); margin: 0 0 .5em; }
.package__price span { font-family: var(--sans); font-size: .8rem; color: var(--stone); font-weight: 400; }
.package ul { padding-left: 1.1em; font-size: .92rem; margin: 0; }

/* Page */
.page { padding-top: 12px; padding-bottom: 20px; }

/* Footer */
.site-footer { background: var(--aegean-dark); color: rgba(255,255,255,.85); margin-top: 0; padding: 48px 0 24px; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand svg { width: 220px; height: auto; margin-bottom: 14px; }
.site-footer__h { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer__islands { columns: 2; }
.social { display: flex; flex-wrap: wrap; gap: 14px; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 36px; padding-top: 18px; font-size: .75rem; color: rgba(255,255,255,.6); }

/* Pagefind */
.pagefind-ui { --pagefind-ui-primary: var(--aegean); --pagefind-ui-text: var(--ink); --pagefind-ui-border: var(--line-strong); --pagefind-ui-font: var(--sans); --pagefind-ui-border-radius: 4px; }
.pagefind-ui .pagefind-ui__form .pagefind-ui__search-input { padding-right: 92px; }
/* The search page runs Pagefind with resetStyles off, so its Clear button kept the browser's default bevelled border and font. */
.pagefind-ui .pagefind-ui__form .pagefind-ui__search-clear { -webkit-appearance: none; appearance: none; border: 0; background: transparent; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); padding: 0 18px; }
.pagefind-ui .pagefind-ui__form .pagefind-ui__search-clear:hover { color: var(--aegean); }
.pagefind-ui .pagefind-ui__form .pagefind-ui__search-clear:focus-visible { outline: 2px solid var(--aegean); outline-offset: -6px; }

@media print { .site-header, .ad, .newsletter, .site-footer, .share, .article__side { display: none !important; } }
