/*
 * Guide pages, the guide index, the live sea-conditions page and the
 * homepage/explorer headings added in the SEO pass (October 2026).
 * Tokens come from conditions.css (--wb-purple, --wb-teal, --wb-line…).
 */

:root {
  --guide-measure: 46rem;
  --guide-radius: 14px;
  --guide-ink: #3d3d4a;
  --guide-soft: #f5f3fa;
}

/* The theme paints every <header> teal (it's the site header's rule). */
.guide__header,
.explorer-intro { background-color: transparent; }

/* Homepage H1, above "Right now we recommend" */
.home-title {
  color: var(--wb-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 18px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

/* Beach and dive explorer intro */
.explorer-intro { padding-bottom: 8px; padding-top: 40px; }

.explorer-intro__title {
  color: var(--wb-purple);
  font-size: clamp(26px, 2.2vw + 14px, 38px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.explorer-intro__text {
  color: var(--guide-ink);
  font-size: 16px;
  line-height: 1.6;
  max-width: var(--guide-measure);
}

.explorer-intro__text a,
.guide__intro a { color: var(--wb-purple); text-decoration: underline; text-decoration-color: var(--wb-teal); text-underline-offset: 3px; }

/* Guide page */
.guide { color: var(--guide-ink); }

.guide__header {
  border-bottom: 1px solid var(--wb-line);
  margin-bottom: 40px;
  padding-bottom: 32px;
  padding-top: 48px;
}

.guide__eyebrow {
  align-items: center;
  color: var(--wb-teal);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.guide__title {
  color: var(--wb-purple);
  font-size: clamp(30px, 3vw + 14px, 52px);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 20px;
  max-width: 18ch;
}

.guide__intro {
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: var(--guide-measure);
}

.guide__live {
  align-items: center;
  color: #6b6b7b;
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: 18px 0 0;
}

.guide__live-dot {
  animation: guide-pulse 2.4s ease-out infinite;
  background: var(--wb-calm);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(47, 169, 140, 0.5);
  display: inline-block;
  flex: none;
  height: 8px;
  width: 8px;
}

@keyframes guide-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 169, 140, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(47, 169, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 169, 140, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .guide__live-dot { animation: none; }
}

.guide__h2 {
  color: var(--wb-purple);
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 22px;
}

/* The numbered list: photo left, text right; stacked on phones */
.guide-list {
  counter-reset: none;
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

.guide-item {
  background: #fff;
  border: 1px solid var(--wb-line);
  border-radius: var(--guide-radius);
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.guide-item:hover {
  box-shadow: 0 14px 30px -18px rgba(49, 22, 100, 0.45);
  transform: translateY(-2px);
}

.guide-item__media {
  aspect-ratio: 4 / 3;
  background: var(--guide-soft);
  display: block;
  overflow: hidden;
  position: relative;
}

.guide-item__media picture,
.guide-item__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  width: 100%;
}

.guide-item:hover .guide-item__media img { transform: scale(1.04); }

.guide-item__media--icon {
  align-items: center;
  background: linear-gradient(160deg, #3f2080 0%, var(--wb-purple) 60%, #22104a 100%);
  display: flex;
  justify-content: center;
}

.guide-item__verdict {
  left: 12px;
  position: absolute;
  top: 12px;
}

.guide-item__body {
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
}

.guide-item__title {
  align-items: baseline;
  display: flex;
  font-size: 21px;
  gap: 12px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.guide-item__title a { color: var(--wb-purple); text-decoration: none; }
.guide-item__title a:hover { text-decoration: underline; text-decoration-color: var(--wb-teal); text-underline-offset: 4px; }

.guide-item__rank {
  color: var(--wb-teal);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  min-width: 1.4em;
}

.guide-item__meta {
  color: #77778a;
  font-size: 13px;
  margin: 0 0 12px;
}

.guide-item__distance { color: var(--wb-purple); font-weight: 700; }

.guide-item__blurb {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 40rem;
}

.guide-item__more {
  align-self: flex-start;
  color: var(--wb-purple);
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
}

.guide-item__more span { color: var(--wb-teal); display: inline-block; transition: transform 0.2s ease; }
.guide-item__more:hover span { transform: translateX(4px); }

.guide-item__more:focus-visible,
.guide-item__title a:focus-visible,
.guide-chip:focus-visible,
.guide-index__live:focus-visible,
.sea-later__pick:focus-visible {
  outline: 2px solid var(--wb-teal);
  outline-offset: 3px;
}

.guide__faq { margin: 0 0 56px; max-width: var(--guide-measure); }

.guide__related { margin: 0 0 24px; }

/* Chips: related guides, "In our guides", the guide index */
.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-chip {
  background: var(--guide-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wb-purple);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 16px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.guide-chip:hover { background: #fff; border-color: var(--wb-teal); }

.in-guides { margin: 48px 0 56px; }
.in-guides > h2 { margin: 0 0 20px; }
.in-guides .guide-chips { justify-content: flex-start; }

@media (max-width: 59.99em) {
  .in-guides > h2 { text-align: left; }
}

/* Guide index (homepage, beach explorer): live banner + photo cards */
.guide-index {
  border-top: 1px solid var(--wb-line);
  padding-bottom: 72px;
  padding-top: 56px;
}

.guide-index__top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  margin-bottom: 36px;
}

.guide-index__title {
  color: var(--wb-purple);
  font-size: clamp(26px, 1.6vw + 16px, 36px);
  line-height: 1.1;
  margin: 0;
}

.guide-index__live {
  align-items: center;
  background: var(--wb-purple);
  border-radius: 999px;
  max-width: 100%;
  color: #fff;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 6px 16px;
  padding: 10px 12px 10px 18px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.guide-index__live:hover { background: #241050; }

.guide-index__live-label {
  align-items: center;
  color: var(--wb-teal);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-index__live-stat { color: rgba(255, 255, 255, 0.85); }
.guide-index__live-stat strong { color: #fff; font-size: 16px; }

.guide-index__live-link {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 700;
  padding: 6px 12px;
}

.guide-index__live-link span { color: var(--wb-teal); }

.guide-index__group + .guide-index__group { margin-top: 36px; }

.guide-index__heading {
  color: #77778a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.guide-tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-tile {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #3f2080 0%, var(--wb-purple) 60%, #22104a 100%);
  border-radius: var(--guide-radius);
  display: block;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.guide-tile picture,
.guide-tile__image {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  width: 100%;
  z-index: -2;
}

.guide-tile::after {
  background: linear-gradient(180deg, rgba(20, 8, 46, 0) 30%, rgba(20, 8, 46, 0.55) 62%, rgba(20, 8, 46, 0.88) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.guide-tile--plain::after { background: none; }

.guide-tile:hover .guide-tile__image,
.guide-tile:hover picture img { transform: scale(1.05); }

.guide-tile:focus-visible { outline: 3px solid var(--wb-teal); outline-offset: 3px; }

.guide-tile__text {
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  left: 0;
  padding: 16px 18px;
  position: absolute;
  right: 0;
}

/* The theme colours text inside links purple; these sit on photos. */
a.guide-tile,
a.guide-tile:hover,
a.guide-tile .guide-tile__text,
a.guide-tile .guide-tile__title,
a.guide-tile .guide-tile__count { color: #fff !important; }

a.guide-tile .guide-tile__title { font-size: 19px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 10px rgba(20, 8, 46, 0.5); }
a.guide-tile .guide-tile__count { font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px rgba(20, 8, 46, 0.5); }

.guide-tile__icon {
  color: #fff;
  height: 56px;
  left: 50%;
  opacity: 0.9;
  position: absolute;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 56px;
}

.guide-tile__icon svg { height: 100%; width: 100%; }
.guide-tile__icon svg * { fill: #fff; stroke: #fff; }

@media (max-width: 59.99em) {
  /* A swipeable row per group on phones and tablets */
  .guide-tiles {
    grid-auto-columns: minmax(62%, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 6px;
    scroll-padding: 0 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .guide-tiles::-webkit-scrollbar { display: none; }
  .guide-tiles > li { scroll-snap-align: start; }

  .guide-index__live { border-radius: var(--guide-radius); padding: 14px 16px; width: 100%; }
}

@media (min-width: 30em) and (max-width: 59.99em) {
  .guide-tiles { grid-auto-columns: minmax(38%, 1fr); }
}

/* Live sea-conditions page */
.sea-region {
  border-bottom: 1px solid var(--wb-line);
  margin: 0 0 40px;
  padding: 0 0 36px;
}

.sea-region__summary {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 28px;
}

.sea-facts-grid {
  background: var(--guide-soft);
  border-radius: var(--guide-radius);
  display: grid;
  flex: 2 1 30rem;
  gap: 4px 28px;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  margin: 0;
  padding: 18px 22px;
}

.sea-facts-grid dt {
  color: #77778a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sea-facts-grid dd {
  color: var(--wb-purple);
  font-size: 20px;
  font-weight: 800;
  margin: 2px 0 10px;
}

.sea-counts {
  border: 1px solid var(--wb-line);
  border-radius: var(--guide-radius);
  display: flex;
  flex: 1 1 14rem;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 16px 22px;
}

.sea-count { align-items: baseline; display: flex; font-size: 15px; gap: 8px; }
.sea-count strong { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 1.6em; }
.sea-count--calm strong { color: var(--wb-calm); }
.sea-count--choppy strong { color: var(--wb-choppy); }
.sea-count--rough strong { color: var(--wb-rough); }
.sea-count--avoid strong { color: var(--wb-avoid); }
.sea-count--total { color: #77778a; font-size: 13px; padding-left: calc(1.6em + 8px); }

.sea-region__h3 {
  color: var(--wb-purple);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 14px;
}

.sea-region .nearby__cards { margin-bottom: 26px; }

.sea-later { margin: 0 0 56px; }

.sea-later__table {
  border: 1px solid var(--wb-line);
  border-radius: var(--guide-radius);
  overflow: hidden;
}

.sea-later__row {
  align-items: stretch;
  display: grid;
  grid-template-columns: 12rem repeat(2, minmax(0, 1fr));
}

.sea-later__row + .sea-later__row { border-top: 1px solid var(--wb-line); }

.sea-later__when {
  background: var(--guide-soft);
  color: var(--wb-purple);
  display: flex;
  flex-direction: column;
  font-weight: 800;
  justify-content: center;
  padding: 14px 18px;
}

.sea-later__when span { color: #77778a; font-size: 12px; font-weight: 600; }

.sea-later__pick {
  align-items: center;
  color: var(--wb-purple);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 14px 18px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sea-later__pick:hover { background: #fbfaff; }
.sea-later__region { color: #77778a; font-size: 12px; font-weight: 700; text-transform: uppercase; width: 100%; }
.sea-later__beach { font-weight: 800; }

@media (max-width: 47.99em) {
  .guide-item { grid-template-columns: 1fr; }
  .guide-item__body { padding: 18px 18px 20px; }
  .guide-item__title { font-size: 19px; }
  .sea-later__row { grid-template-columns: 1fr 1fr; }
  .sea-later__when { flex-direction: row; gap: 8px; grid-column: 1 / -1; justify-content: space-between; }
}

/* Forecast page: jump links and the day-by-day outlook */
.sea-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.sea-nav a {
  border: 1px solid var(--wb-line);
  border-radius: 999px;
  color: var(--wb-purple);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sea-nav a:hover { background: var(--guide-soft); border-color: var(--wb-teal); }
.sea-nav a:focus-visible { outline: 2px solid var(--wb-teal); outline-offset: 2px; }

.sea-region,
.sea-outlook { scroll-margin-top: 24px; }

.sea-outlook { margin: 0 0 56px; }

.sea-outlook__note { color: #77778a; font-size: 14px; margin: -12px 0 20px; }

.sea-days {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.sea-day {
  border: 1px solid var(--wb-line);
  border-radius: var(--guide-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sea-day__name {
  background: var(--wb-purple);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  padding: 12px 16px;
}

.sea-day__name span { color: var(--wb-teal); font-size: 13px; font-weight: 700; margin-left: 4px; }

.sea-day__region { padding: 14px 16px 16px; }
.sea-day__region + .sea-day__region { border-top: 1px solid var(--wb-line); }

.sea-day__island {
  color: #77778a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.sea-day__weather { align-items: center; display: flex; gap: 8px; margin-bottom: 8px; }
.sea-day__icon { color: var(--wb-purple); display: inline-flex; height: 30px; width: 30px; }
.sea-day__icon svg { height: 100%; width: 100%; }
.sea-day__temp { color: var(--wb-purple); font-size: 22px; font-weight: 800; }

.sea-day__facts { display: grid; gap: 4px; margin: 0 0 12px; }
.sea-day__facts div { align-items: baseline; display: flex; justify-content: space-between; }
.sea-day__facts dt { color: #77778a; font-size: 12px; }
.sea-day__facts dd { align-items: center; color: var(--wb-purple); display: inline-flex; font-size: 14px; font-weight: 800; gap: 4px; margin: 0; }
.sea-day__facts small { color: #77778a; font-size: 11px; font-weight: 600; }
.sea-day__arrow { color: var(--wb-teal); height: 14px; width: 14px; }

.sea-day__best {
  background: var(--guide-soft);
  border-radius: 10px;
  color: var(--wb-purple);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sea-day__best:hover { background: #ece8f6; }
.sea-day__best:focus-visible { outline: 2px solid var(--wb-teal); outline-offset: 2px; }
.sea-day__best .condition-pill { align-self: flex-start; }
.sea-day__best-label { color: #77778a; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.sea-day__best-name { font-size: 14px; font-weight: 800; line-height: 1.25; }
.sea-day__count { color: #77778a; font-size: 12px; margin: 8px 0 0; }

@media (max-width: 59.99em) {
  .sea-days {
    grid-auto-columns: minmax(78%, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin: 0 -20px;
    overflow-x: auto;
    padding: 0 20px 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sea-days::-webkit-scrollbar { display: none; }
  .sea-day { scroll-snap-align: start; }
}

@media (min-width: 30em) and (max-width: 59.99em) {
  .sea-days { grid-auto-columns: minmax(44%, 1fr); }
}

/* Forecast page: the "right now" summary for each island */
.sea-now {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  margin: 0 0 32px;
}

.sea-now__tiles {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
}

.sea-tile {
  align-items: center;
  background: var(--guide-soft);
  border-radius: var(--guide-radius);
  display: flex;
  gap: 14px;
  padding: 18px;
}

.sea-tile p { margin: 0; }

.sea-tile__label {
  color: #77778a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sea-tile__value {
  color: var(--wb-purple);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.1;
}

.sea-tile__value small { color: #77778a; font-size: 14px; font-weight: 700; margin-left: 3px; }
.sea-tile__sub { color: #5a5a6e; font-size: 13px; margin-top: 2px; }

.sea-tile__icon {
  fill: none;
  flex: none;
  height: 30px;
  stroke: var(--wb-teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 30px;
}

.sea-tile__icon circle { fill: var(--wb-teal); stroke: none; }

.sea-tile--wind { background: var(--wb-purple); }
.sea-tile--wind .sea-tile__label { color: rgba(255, 255, 255, 0.65); }
.sea-tile--wind .sea-tile__value { color: #fff; }
.sea-tile--wind .sea-tile__value small,
.sea-tile--wind .sea-tile__sub { color: rgba(255, 255, 255, 0.75); }

.sea-dial { flex: none; height: 64px; width: 64px; }
.sea-dial__ring { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.25); stroke-width: 2; }
.sea-dial__n { fill: rgba(255, 255, 255, 0.7); font-size: 9px; font-weight: 800; text-anchor: middle; }
.sea-dial__arrow { fill: none; stroke: var(--wb-teal); stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }

.sea-mix {
  border: 1px solid var(--wb-line);
  border-radius: var(--guide-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
}

.sea-mix__headline { color: var(--guide-ink); font-size: 15px; margin: 0 0 12px; }
.sea-mix__headline strong { color: var(--wb-calm); font-size: 30px; font-variant-numeric: tabular-nums; margin-right: 4px; vertical-align: -3px; }

.sea-mix__bar {
  border-radius: 999px;
  display: flex;
  gap: 3px;
  height: 12px;
  margin: 0 0 12px;
  overflow: hidden;
}

.sea-mix__segment { flex-basis: 0; min-width: 6px; }
.sea-mix__segment--calm { background: var(--wb-calm); }
.sea-mix__segment--choppy { background: var(--wb-choppy); }
.sea-mix__segment--rough { background: var(--wb-rough); }
.sea-mix__segment--avoid { background: var(--wb-avoid); }

.sea-mix__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; }
.sea-mix__item { align-items: center; color: #5a5a6e; display: inline-flex; font-size: 13px; gap: 6px; }
.sea-mix__item::before { border-radius: 50%; content: ""; height: 8px; width: 8px; }
.sea-mix__item strong { color: var(--wb-purple); }
.sea-mix__item--calm::before { background: var(--wb-calm); }
.sea-mix__item--choppy::before { background: var(--wb-choppy); }
.sea-mix__item--rough::before { background: var(--wb-rough); }
.sea-mix__item--avoid::before { background: var(--wb-avoid); }

@media (max-width: 74.99em) {
  .sea-now { grid-template-columns: 1fr; }
}

@media (max-width: 47.99em) {
  .sea-now__tiles { grid-template-columns: 1fr 1fr; }
  .sea-tile--wind { grid-column: 1 / -1; }
  .sea-tile { padding: 14px; }
  .sea-tile__value { font-size: 26px; }
}

/* The old theme styled `.forecast .title` (its 5-day page) at 35px with
   padding; /forecast/ keeps that body class, so undo it for the cards. */
.forecast .nearby-card .nearby-card__title {
  font-size: 15px;
  line-height: 20px;
  padding: 0;
}

/* Forecast outlook: one tab per island */
.sea-tabs {
  background: var(--guide-soft);
  border-radius: 999px;
  display: none;
  gap: 4px;
  margin: 0 0 20px;
  padding: 4px;
  width: max-content;
}

.is-tabbed .sea-tabs { display: flex; }

.sea-tabs__tab {
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--wb-purple);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sea-tabs__tab:hover { background: rgba(49, 22, 100, 0.06); }
.sea-tabs__tab[aria-selected="true"] { background: var(--wb-purple); color: #fff; }
.sea-tabs__tab:focus-visible { outline: 2px solid var(--wb-teal); outline-offset: 2px; }

/* Without the script, every island shows under its own heading. */
.sea-outlook__island { color: var(--wb-purple); font-size: 18px; margin: 24px 0 12px; }
.is-tabbed .sea-outlook__island { display: none; }

.sea-day__region { flex: 1; display: flex; flex-direction: column; }
.sea-day__best { margin-top: auto; }
