@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #0c0e12;
  --surface: #181c24;
  --paper: #f2f3f6;
  --soft: #bfc5d0;
  --line: #454b57;
  --serif: "Playfair Display", Georgia, serif;
  font: 400 1rem/1.65 "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid #e4edff; outline-offset: 4px; border-radius: 3px; }
.shell { width: min(1140px, 88%); margin-inline: auto; }

.guide-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ffffff18;
  background: #050506f2;
  backdrop-filter: blur(18px);
}
.guide-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  min-height: 88px;
  padding: 0 6%;
}
.guide-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 62px;
  overflow: hidden;
}
.guide-brand img { width: 150px; height: 150px; flex: none; object-fit: contain; }
.guide-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 38px);
  font-size: .875rem;
  color: #c3c3c6;
}
.guide-links [aria-current] { color: #fff; text-underline-offset: .45em; text-decoration: underline; }
.guide-language select {
  width: 132px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #55565a;
  border-radius: 6px;
  background: #111214;
  color: #ececee;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.guide-language select:focus-visible { outline: 2px solid #e4edff; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guide-language-fallback { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 12px; }
.guide-main { padding-top: clamp(23px, 4vw, 46px); }

h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.1vw, 4.3rem); letter-spacing: -.025em; }
p { margin: 0; }
.guide-hero {
  display: grid;
  align-content: center;
  min-height: clamp(320px, 38vw, 400px);
  padding: clamp(29px, 5.3vw, 62px);
  border: 1px solid #5a6372;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #0b0e14f5, #0b0e14db 44%, #0b0e1433 75%, #0b0e140a),
    url("../assets/guide-bavaro-banner.jpg") center 53% / cover #181c24;
}
.guide-hero h1 { max-width: 16ch; }
.guide-hero p, .article-hero p { max-width: 60ch; margin-top: 19px; color: #d2d7df; }
.guide-hero p { max-width: 42ch; }
.guide-banner-caption { margin: 7px 2px 0; color: var(--soft); font-size: .8rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.guide-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.card-photo { display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #0e1117; }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-photo img[src$="/guide-bluemall-puntacana.jpg"] { object-position: center 8%; }
.guide-card a:focus-visible { outline-offset: 4px; }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: 21px; gap: 14px; }
.card-copy h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.card-copy p { flex: 1; color: var(--soft); }
.read-link { font-size: .9375rem; color: #edf1f7; text-decoration: underline; text-underline-offset: .3em; }

.article-hero {
  padding: clamp(25px, 5vw, 55px) 0 33px;
  border-bottom: 1px solid #606775;
}
.article-hero h1 { max-width: 23ch; margin-top: 17px; }
.article-cover { margin: 22px 0 0; }
.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.article-cover figcaption { margin: 6px 2px 0; color: var(--soft); font-size: .8rem; }
.article-cover img[src$="/guide-punta-cana-hotels.jpg"] { object-position: center 72%; }
.article-cover img[src$="/guide-bluemall-puntacana.jpg"] { aspect-ratio: 3 / 2; }
.article-cover img[src$="/guide-punta-cana-sports.jpg"],
.article-cover img[src$="/guide-dominican-souvenirs.jpg"] { aspect-ratio: 2 / 1; }
.article-cover img[src$="/guide-punta-cana-boat-trips.jpg"] { object-position: center 40%; }
.article-cover-wedding img { aspect-ratio: 2.35 / 1; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .42fr); align-items: start; gap: clamp(24px, 5vw, 65px); margin-top: 34px; }
.article-body section + section { margin-top: 29px; }
.article-body h2 { font-size: clamp(1.36rem, 3vw, 1.85rem); margin-bottom: 9px; }
.article-body p { max-width: 72ch; color: #dce0e8; }
.article-body ul { max-width: 72ch; margin: 0; padding-left: 1.35rem; color: #dce0e8; }
.article-body li + li { margin-top: 7px; }
.article-aside { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.article-aside h2 { font-size: 1.23rem; }
.article-aside ul { margin: 10px 0 0; padding-left: 17px; }
.article-aside ul + h2 { margin-top: 24px; }
.article-aside li + li { margin-top: 8px; }
.article-aside a { color: #d4dae4; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.booking-link { display: inline-block; margin-top: 29px; padding: 12px 20px; background: linear-gradient(110deg, #c8cdd7, #f4f5f8, #b8bfcc); color: #11141a; border-radius: 6px; font-weight: 600; }
.article-rental {
  margin-top: 34px;
  padding: clamp(17px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(140deg, #282e39, var(--surface) 75%);
}
.article-rental .booking-link { margin-top: 16px; }
.guide-footer { margin-top: 50px; border-top: 1px solid var(--line); padding: 22px 0; color: var(--soft); font-size: .875rem; }

@media (max-width: 750px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
}

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

@media (max-width: 680px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .article-cover img { aspect-ratio: 2 / 1; }
  .guide-hero {
    align-content: end;
    min-height: 365px;
    background-image:
      linear-gradient(0deg, #0b0e14f7, #0b0e14d9 39%, #0b0e1426 79%, #0b0e140a),
      url("../assets/guide-bavaro-banner.jpg");
    background-position: center, 65% center;
  }
}

@media (max-width: 485px) {
  .guide-hero { padding: 26px 20px; }
}

@media (max-width: 700px) {
  .guide-nav { min-height: 78px; gap: 10px; }
  .guide-brand { width: 104px; height: 58px; }
  .guide-brand img { width: 140px; height: 140px; }
  .guide-links { text-align: center; font-size: .8125rem; }
  .guide-links a:not(:first-child) { display: none; }
  .guide-language select { width: min(110px, 30vw); font-size: .8125rem; }
}
