/* ==========================================================================
   beachglory front-page directory — ported from the Claude Design reference.
   Tokens: sand-grain #FBF8F2 · ocean-ink #15282E · turquoise #14A6A0 ·
   deep-ocean #0B83A4 · sun #F4DE7B · sand #EFDFC0.
   ========================================================================== */

.bg-directory {
  --bg-accent: #14A6A0;
  --bg-accent-deep: #0B83A4;
  --bg-ink: #15282E;
  --bg-sun: #F4DE7B;
  --bg-sand: #EFDFC0;
  --bg-muted: #5D6B6E;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--bg-ink);
}
.bg-directory ::selection { background: var(--bg-accent); color: #fff; }
.bg-directory a { text-decoration: none; }

/* ---- INTRO ---- */
.bg-intro {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(36px,7vw,72px) clamp(16px,4vw,32px) clamp(22px,3vw,30px);
}
.bg-eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bg-accent); font-weight: 700; margin-bottom: 14px;
}
.bg-h1 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(36px,7vw,66px); line-height: 1; letter-spacing: -1px;
  margin: 0 0 16px; color: var(--bg-ink); max-width: 13ch;
}
.bg-h1 .bg-italic { font-style: italic; }
.bg-sub {
  font-size: clamp(15px,2.4vw,17px); line-height: 1.6; color: var(--bg-muted);
  margin: 0; max-width: 54ch;
}
.bg-stats {
  display: flex; align-items: center; gap: 13px; flex-wrap: wrap;
  margin-top: 26px; font-size: 13.5px; color: var(--bg-muted);
}
.bg-stats b { color: var(--bg-ink); font-weight: 700; }
.bg-stats span { white-space: nowrap; }
.bg-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--bg-sand); display: inline-block; }

/* ---- FILTER BAR ---- */
.bg-filterbar { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px,4vw,32px); }
.bg-filterbar__inner {
  display: flex; flex-direction: column; gap: 14px; padding: 18px 0 22px;
  border-top: 1px solid var(--bg-sand); border-bottom: 1px solid var(--bg-sand);
}
.bg-filterbar__top {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.bg-search-wrap { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; }
.bg-search { position: relative; display: flex; align-items: center; flex: 1 1 200px; max-width: 320px; }
.bg-search svg { position: absolute; left: 13px; pointer-events: none; }
.bg-search input {
  width: 100%; padding: 10px 14px 10px 36px; border: 1px solid #e3ddce;
  border-radius: 999px; background: #fff; font-size: 14px; color: var(--bg-ink);
  outline: none; transition: border-color .15s ease; font-family: inherit;
}
.bg-search input:focus { border-color: var(--bg-accent); }
.bg-search input::placeholder { color: #9aa3a4; }

.bg-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e3ddce;
  background: #fff; color: var(--bg-ink); cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  white-space: nowrap; transition: all .15s ease;
}
.bg-btn-ghost:hover { border-color: var(--bg-accent); color: var(--bg-accent); }

.bg-filterbar__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bg-result-summary { font-size: 13px; color: var(--bg-muted); white-space: nowrap; }
.bg-result-summary b { color: var(--bg-ink); }
.bg-clear {
  display: inline-flex; align-items: center; gap: 5px; border: none; background: none;
  cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--bg-accent); padding: 0; transition: color .15s ease;
}
.bg-clear:hover { color: var(--bg-accent-deep); }
.bg-viewtoggle {
  display: flex; background: #fff; border: 1px solid #e3ddce; border-radius: 999px; padding: 3px; gap: 2px;
}
.bg-viewtoggle button {
  border: none; cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; background: transparent; color: var(--bg-muted);
  transition: all .15s ease;
}
.bg-viewtoggle button.is-active { background: var(--bg-ink); color: #fff; }

/* ---- CHIPS ---- */
.bg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.bg-chip {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid #e6e0d2;
  background: #fff; color: var(--bg-ink); cursor: pointer; font-family: inherit;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  white-space: nowrap; transition: all .15s ease;
}
.bg-chip--country { font-weight: 500; padding: 6px 13px; }
.bg-chip:hover { border-color: var(--bg-accent); }
.bg-chip.is-active { background: var(--bg-accent); color: #fff; border-color: var(--bg-accent); }
.bg-chip__flag { font-size: 15px; line-height: 1; }
.bg-chip__count { font-size: 11.5px; font-weight: 600; color: #9aa3a4; }
.bg-chip.is-active .bg-chip__count { color: rgba(255,255,255,.8); }

/* ---- LIST ---- */
.bg-list {
  max-width: 1160px; margin: 0 auto;
  padding: clamp(28px,4vw,40px) clamp(16px,4vw,32px) clamp(40px,6vw,60px);
  display: flex; flex-direction: column; gap: clamp(34px,5vw,46px);
}
.bg-group__head {
  display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--bg-sand);
  padding-bottom: 11px; margin-bottom: 16px;
}
.bg-group__flag { font-size: 24px; line-height: 1; flex: none; }
.bg-group__country { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(24px,4vw,31px); color: var(--bg-ink); line-height: 1; }
.bg-group__meta { margin-left: auto; display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.bg-group__region { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bg-accent); font-weight: 700; }
.bg-group__sep { width: 3px; height: 3px; border-radius: 50%; background: #cdc5b4; display: inline-block; }
.bg-group__count { font-size: 12.5px; color: var(--bg-muted); }

/* INDEX (default) */
.bg-group__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr)); gap: 2px 24px;
}
.bg-beach {
  position: relative; padding: 12px 13px; border-radius: 9px; border: 1px solid transparent;
  transition: all .15s ease;
}
.bg-beach:hover { background: #fff; border-color: #ece6d8; }
.bg-beach__flag { position: absolute; top: 16px; right: 12px; font-size: 16px; opacity: .22; pointer-events: none; line-height: 1; }
.bg-beach__name { color: var(--bg-ink); display: inline-block; padding-right: 22px; transition: color .15s ease; }
.bg-beach__name span { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(19px,2.6vw,22px); line-height: 1.1; }
.bg-beach__name:hover { color: var(--bg-accent); }
.bg-beach__town { font-size: 12.5px; color: var(--bg-muted); margin-top: 1px; }
.bg-beach__btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 9px; }

.bg-lnk {
  display: inline-flex; align-items: center; gap: 4px; color: var(--bg-muted);
  font-size: 11.5px; font-weight: 500; padding: 5px 7px; border-radius: 7px; transition: color .15s ease;
}
.bg-lnk:hover { color: var(--bg-accent); }
.bg-lnk--solid {
  gap: 5px; background: var(--bg-accent); color: #fff; font-weight: 600; border: none;
  padding: 5px 11px 5px 9px; border-radius: 999px; white-space: nowrap; transition: background .15s ease;
}
.bg-lnk--solid:hover { background: var(--bg-accent-deep); color: #fff; }

/* Win against the inherited GOA `.goa-content a:not(.btn)…{color:var(--navy-mid)}`
   rule (higher specificity) that was tinting these buttons dark/invisible.
   Scope with .bg-directory so the beach links keep their design colors:
   solid button = white label (matches its white icon), plain links = muted. */
.bg-directory .bg-lnk { color: var(--bg-muted); }
.bg-directory .bg-lnk:hover { color: var(--bg-accent); }
/* !important: the inherited GOA `.goa-content a…:hover{color:var(--red)}` rule
   otherwise wins on hover, leaving turquoise text on the deep-teal hover
   background. Force white label + icon on all solid buttons, and lock the
   directory solid-button background so rest/hover stay turquoise. */
.bg-directory .bg-lnk--solid,
.bg-directory .bg-lnk--solid:hover,
.bg-beachpage__btns .bg-lnk--solid,
.bg-beachpage__btns .bg-lnk--solid:hover { color: #fff !important; }
.bg-directory .bg-lnk--solid { background: var(--bg-accent); }
.bg-directory .bg-lnk--solid:hover { background: var(--bg-accent-deep); }

/* CARDS view */
.bg-list[data-bg-view-mode="cards"] .bg-group__grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%,220px),1fr)); gap: 14px;
}
.bg-list[data-bg-view-mode="cards"] .bg-beach {
  display: flex; flex-direction: column; gap: 5px; background: #fff;
  border: 1px solid #ece6d8; border-radius: 12px; padding: 16px;
}
.bg-list[data-bg-view-mode="cards"] .bg-beach:hover {
  border-color: var(--bg-accent); box-shadow: 0 8px 20px rgba(20,40,46,.10); transform: translateY(-3px);
}
.bg-list[data-bg-view-mode="cards"] .bg-beach__flag { top: 19px; right: 14px; font-size: 21px; }

/* hidden states (filtering) */
.bg-beach[hidden], .bg-group[hidden] { display: none !important; }

/* no results */
.bg-noresults { text-align: center; padding: 60px 20px; color: var(--bg-muted); }
.bg-noresults__title { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; color: var(--bg-ink); margin-bottom: 8px; }
.bg-noresults p { font-size: 15px; margin: 0 0 18px; }
.bg-btn-solid {
  border: 1px solid var(--bg-accent); background: var(--bg-accent); color: #fff; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
}

/* ---- NEWSLETTER ---- */
.bg-newsletter {
  max-width: 1160px; margin: 0 auto;
  padding: 0 clamp(16px,4vw,32px) clamp(48px,7vw,72px); scroll-margin-top: 80px;
}
.bg-newsletter__box {
  background: var(--bg-ink); border-radius: 18px; padding: clamp(28px,5vw,52px);
  display: flex; justify-content: space-between; align-items: center;
  gap: clamp(22px,4vw,44px); flex-wrap: wrap; position: relative; overflow: hidden;
}
.bg-newsletter__copy { flex: 1 1 320px; position: relative; z-index: 1; }
.bg-newsletter__copy h2 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(26px,4.4vw,38px); line-height: 1.05; margin: 0 0 10px;
  color: #FBF8F2; letter-spacing: -.5px;
}
.bg-newsletter__copy p { font-size: 14.5px; line-height: 1.6; color: rgba(251,248,242,.72); margin: 0; max-width: 46ch; }
.bg-newsletter__form { flex: 0 1 380px; position: relative; z-index: 1; width: 100%; max-width: 420px; }
.bg-newsletter__form form { display: flex; gap: 8px; flex-wrap: wrap; }
.bg-newsletter__form input {
  flex: 1 1 200px; min-width: 0; padding: 13px 16px; border: 1px solid rgba(251,248,242,.2);
  border-radius: 999px; background: rgba(251,248,242,.06); font-size: 14.5px; color: #FBF8F2;
  outline: none; transition: border-color .15s ease; font-family: inherit;
}
.bg-newsletter__form input::placeholder { color: rgba(251,248,242,.5); }
.bg-newsletter__form input:focus { border-color: var(--bg-accent); }
.bg-newsletter__form button {
  flex: none; border: none; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700;
  color: var(--bg-ink); background: var(--bg-accent); padding: 13px 22px; border-radius: 999px;
  white-space: nowrap; transition: background .15s ease;
}
.bg-newsletter__form button:hover { background: var(--bg-sun); }
.bg-newsletter__done {
  display: flex; align-items: center; gap: 10px; background: rgba(251,248,242,.08);
  border: 1px solid rgba(251,248,242,.18); border-radius: 12px; padding: 16px 18px;
  color: #FBF8F2; font-size: 14.5px;
}

@media (max-width: 560px) {
  .bg-filterbar__top { flex-direction: column; align-items: stretch; }
  .bg-filterbar__meta { justify-content: space-between; }
}

/* ==========================================================================
   beachglory — minimal per-beach article page
   ========================================================================== */
.bg-beachpage {
  /* Same bg-* tokens as .bg-directory so buttons/planner/discover inside the
     article page resolve var(--bg-accent) etc. Without these the solid buttons
     rendered white-on-transparent (invisible) because the vars were only
     scoped to .bg-directory. */
  --bg-accent: #14A6A0;
  --bg-accent-deep: #0B83A4;
  --bg-ink: #15282E;
  --bg-sun: #F4DE7B;
  --bg-sand: #EFDFC0;
  --bg-muted: #5D6B6E;
  max-width: 680px; margin: 0 auto;
  padding: clamp(36px,7vw,72px) clamp(16px,4vw,32px) clamp(48px,7vw,80px);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #15282E;
}
.bg-beachpage__loc {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #14A6A0; font-weight: 700; margin: 0 0 10px;
}
.bg-beachpage__title {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(40px,8vw,68px); line-height: 1; letter-spacing: -1px;
  margin: 0 0 18px; color: #15282E;
}
.bg-beachpage__intro {
  font-size: clamp(16px,2.5vw,18px); line-height: 1.65; color: #5D6B6E; margin: 0 0 30px;
}
.bg-beachpage__intro p { margin: 0 0 12px; }
.bg-beachpage__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bg-beachpage__btns .bg-lnk {
  font-size: 14px; padding: 11px 16px; border: 1px solid #e3ddce; border-radius: 999px; background: #fff;
}
.bg-beachpage__btns .bg-lnk--solid { background: #14A6A0; border-color: #14A6A0; color: #fff; padding: 11px 18px; }
.bg-beachpage__btns .bg-lnk--solid:hover { background: #0B83A4; border-color: #0B83A4; color: #fff; }
.bg-beachpage__btns .bg-lnk--photos { font-weight: 600; color: #15282E; }
.bg-beachpage__back { margin: 34px 0 0; font-size: 13.5px; }
.bg-beachpage__back a { color: #14A6A0; font-weight: 600; }
.bg-beachpage__back a:hover { color: #0B83A4; }

/* ==========================================================================
   beachglory — full beach article sections
   ========================================================================== */
.bg-beachpage__photos { margin: 0 0 22px; }
.bg-beachpage__photos a {
  display: inline-flex; align-items: center; gap: 7px; color: #0B83A4;
  font-weight: 600; font-size: 15px; border-bottom: 1px dotted currentColor; padding-bottom: 2px;
}
.bg-beachpage__photos a:hover { color: #14A6A0; }

.bg-beachpage__h2 {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400;
  font-size: clamp(22px,4vw,30px); color: #15282E; margin: 38px 0 14px; line-height: 1.1;
}
.bg-embed {
  border-radius: 10px; overflow: hidden; border: 1px solid #e3ddce; background: #fff;
}
.bg-embed iframe { display: block; border: 0; width: 100%; }

.bg-beachpage__map, .bg-beachpage__hotels { margin-top: 8px; }

/* AI planner */
.bg-planner {
  margin: 44px 0 24px; padding: 24px; border: 1px solid #e3ddce; border-top: 2px solid #14A6A0;
  border-radius: 10px; background: #FBF8F2;
}
.bg-planner__title {
  font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(20px,3.5vw,26px);
  color: #15282E; margin: 0 0 6px;
}
.bg-planner__sub { font-size: 14px; color: #5D6B6E; margin: 0 0 18px; }
.bg-planner__rows { display: flex; flex-direction: column; gap: 14px; }
.bg-planner__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.bg-planner__label { font-size: 13px; font-weight: 700; color: #15282E; min-width: 92px; }
.bg-planner__opts { display: flex; flex-wrap: wrap; gap: 7px; }
.bg-planner__opt {
  border: 1px solid #e3ddce; background: #fff; color: #15282E; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px;
  transition: all .15s ease;
}
.bg-planner__opt:hover { border-color: #14A6A0; }
.bg-planner__opt.is-active { background: #14A6A0; color: #fff; border-color: #14A6A0; }
.bg-planner__preview {
  width: 100%; margin-top: 16px; padding: 13px 15px; border: 1px solid #e3ddce; border-radius: 10px;
  background: #fff; font-family: inherit; font-size: 14px; color: #15282E; line-height: 1.55; resize: vertical;
}
.bg-planner__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }

/* discovery CTA */
.bg-discover {
  margin: 32px 0 8px; padding: 24px; border: 1px solid #e3ddce; border-top: 2px solid #15282E;
  border-radius: 10px; background: #FBF8F2;
}
.bg-discover__kicker {
  font-family: 'Instrument Serif', Georgia, serif; font-size: 20px; color: #15282E; margin: 0 0 14px;
}
.bg-discover__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.bg-discover__btn {
  flex: 1 1 240px; appearance: none; border: 1px solid #e3ddce; border-radius: 8px; background: #fff;
  color: #15282E; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700;
  padding: 16px 20px; text-align: left; transition: all .15s ease;
}
.bg-discover__btn:hover { border-color: #14A6A0; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,40,46,.08); }
.bg-discover__btn--random { border-top: 2px solid #15282E; }

/* ---- floating country flag on the beach article page (GOA .goa-flag-float
   ported into .bg-beachpage; turquoise hover instead of GOA's coral). ---- */
.bg-beachpage .bg-flag-float {
  float: right; display: inline-block; line-height: 1; font-size: 3rem;
  padding: 9px; margin: 0 0 0.5rem 1rem; text-decoration: none; border-radius: 8px;
  background: transparent;
  transition: transform 140ms cubic-bezier(.2,.7,.2,1), background-color 140ms cubic-bezier(.2,.7,.2,1);
}
.bg-beachpage .bg-flag-float:hover,
.bg-beachpage .bg-flag-float:focus-visible {
  background: rgba(20,166,160,.10); transform: scale(1.05); outline: none;
}
.bg-beachpage .bg-flag-float span { display: inline-block; }
@media (max-width: 900px) {
  .bg-beachpage .bg-flag-float { font-size: 2.5rem; margin: 0 0 0.4rem 0.75rem; }
}
@media (max-width: 560px) {
  .bg-beachpage .bg-flag-float { font-size: 2rem; padding: 6px; margin: 0 0 0.3rem 0.5rem; border-radius: 6px; }
}

/* "beaches" suffix after each country heading */
.bg-group__country-suffix { color: var(--bg-muted); font-style: italic; }

/* two-row beach card buttons: info row (Photos/Details/Map) + booking row (Guide/Hotels) */
.bg-beach__btns { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.bg-beach__btnrow { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.bg-beach__btnrow--book { padding-top: 5px; border-top: 1px solid #f1ece0; }

/* ---- beach card: left-aligned buttons + inline Details pill (definitive) ---- */
.bg-beach__btns { flex-direction: column !important; align-items: flex-start !important; gap: 6px; margin-top: 9px; }
.bg-beach__btnrow { display: flex; align-items: center; justify-content: flex-start; gap: 4px; flex-wrap: wrap; width: 100%; }
.bg-beach__btnrow--book { padding-top: 7px; border-top: 1px solid #f1ece0; }

/* name + inline Details */
.bg-beach__nameline { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.bg-beach__details {
  display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600;
  color: var(--bg-accent); padding: 2px 8px; border: 1px solid #d8f0ee; border-radius: 999px;
  background: #f1faf9; transition: all .15s ease; white-space: nowrap; align-self: center;
}
.bg-beach__details:hover { background: var(--bg-accent); color: #fff; border-color: var(--bg-accent); }

/* ensure [hidden] beats display:inline-flex on chips + chip rows */
.bg-chip[hidden], .bg-chips[hidden] { display: none !important; }

/* Details pill: force readable colors over the template's global a:hover rules */
.bg-directory .bg-beach__details { color: var(--bg-accent) !important; background: #f1faf9 !important; border-color: #d8f0ee !important; }
.bg-directory .bg-beach__details:hover { color: #fff !important; background: var(--bg-accent) !important; border-color: var(--bg-accent) !important; }

/* Details on its own line below the name (consistent regardless of name length) */
.bg-beach__nameline { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.bg-beach__details { align-self: flex-start; }

/* Details: quiet secondary text-link under the name (not a heavy pill) —
   keeps clear hierarchy below the action buttons, consistent at all lengths. */
.bg-directory .bg-beach__details {
  align-self: flex-start;
  padding: 0 0 1px 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-bottom: 1px dotted currentColor !important;
  border-radius: 0 !important;
  font-size: 11.5px !important;
  color: var(--bg-accent) !important;
}
.bg-directory .bg-beach__details:hover {
  color: var(--bg-accent-deep) !important;
  background: transparent !important;
  border-bottom-color: currentColor !important;
}
.bg-beach__nameline { gap: 4px; }

/* ---- beach article: Stay22 hotel cards (GOA-style, beachglory-skinned) ---- */
.bg-hotels { margin: 8px 0 18px; }
.bg-beachpage__h3 { font-family:'Instrument Serif',Georgia,serif; font-weight:400; font-size:clamp(18px,3vw,24px); color:#15282E; margin:30px 0 12px; }
.bg-hotels__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:14px; }
.bg-hotels__card {
  display:flex; flex-direction:column; background:#fff; border:1px solid #ece6d8; border-radius:12px;
  overflow:hidden; transition:all .15s ease; color:#15282E;
}
.bg-hotels__card:hover { border-color:#14A6A0; box-shadow:0 8px 20px rgba(20,40,46,.10); transform:translateY(-3px); }
.bg-hotels__thumb { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; background:#EFDFC0; margin:0; box-shadow:none; }
.bg-hotels__name { font-weight:700; font-size:14.5px; padding:11px 13px 0; line-height:1.25; }
.bg-hotels__rating { font-size:12px; color:#5D6B6E; padding:4px 13px 0; }
.bg-hotels__price { font-size:13px; font-weight:700; color:#0B83A4; padding:7px 13px 13px; margin-top:auto; }
.bg-hotels__price small { font-weight:500; color:#5D6B6E; }

/* article button rows: info row + booking row (mirrors the front-page cards) */
.bg-beachpage__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 4px 0 8px; }
.bg-beachpage__btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bg-beachpage__btnrow--book { padding-top: 12px; border-top: 1px solid #ece6d8; width: 100%; }

/* discover block: GOA-style kicker (italic serif) + button icons */
.bg-discover__kicker { font-family:'Instrument Serif',Georgia,serif; font-style:italic; font-weight:400; font-size:22px; line-height:1.15; color:#15282E; margin:0 0 18px; }
.bg-discover__btn { background-repeat:no-repeat; background-position:20px center; background-size:24px 24px; padding-left:56px !important; }
/* carousel = circular refresh arrow */
.bg-discover__btn--next {
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 12a8 8 0 1 1-2.34-5.66' fill='none' stroke='%2314A6A0' stroke-width='1.8' stroke-linecap='round'/><path d='M20 4v4h-4' fill='none' stroke='%2314A6A0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
/* random = grid/dots */
.bg-discover__btn--random {
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='3' y='3' width='18' height='18' rx='3.5' fill='none' stroke='%2314A6A0' stroke-width='1.6'/><circle cx='8' cy='8' r='1.4' fill='%2314A6A0'/><circle cx='16' cy='8' r='1.4' fill='%2314A6A0'/><circle cx='12' cy='12' r='1.4' fill='%2314A6A0'/><circle cx='8' cy='16' r='1.4' fill='%2314A6A0'/><circle cx='16' cy='16' r='1.4' fill='%2314A6A0'/></svg>");
}
/* Kayak AI = visible outlined button (not faint text) */
.bg-lnk--outline { border:1px solid var(--bg-accent) !important; color:var(--bg-accent) !important; border-radius:999px !important; padding:9px 16px !important; font-weight:600 !important; background:#fff !important; }
.bg-lnk--outline:hover { background:var(--bg-accent) !important; color:#fff !important; }

/* GOA-style location intro line on beach articles */
.bg-beachpage__lead { font-size: clamp(16px,2.4vw,18px); line-height: 1.6; color: #5D6B6E; margin: 0 0 18px; max-width: 60ch; }
.bg-beachpage__lead strong { color: #15282E; }

/* hotel cards: fixed 2-up grid (4 cards = 2x2, 2 cards = one row), 1-up on mobile */
.bg-hotels__grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 560px) { .bg-hotels__grid { grid-template-columns: 1fr !important; } }

/* search input: keep left padding clear of the magnifier icon (global input rule was overriding it) */
.bg-directory .bg-search input { padding-left: 38px !important; border-radius: 999px !important; }

/* getoutalready.com cross-promo leaderboard (above discovery CTA on beach articles) */
.bg-goa-promo {
  display: block; max-width: 760px; margin: 34px auto 8px; border-radius: 10px; overflow: hidden;
  border: 1px solid #ece6d8; box-shadow: 0 1px 3px rgba(20,40,46,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bg-goa-promo img { display: block; width: 100%; height: auto; margin: 0; }
.bg-goa-promo:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,40,46,.14); }
