/* =====================================================================
   ONE design language for the public site: golden (#cdb975) + navy
   (#021032) + white — the base template's palette, applied everywhere.
   Loaded LAST on purpose, so it wins over per-page stylesheets that
   were written with their own accents (the old green on the property
   page, the plain outline on search, etc.).
   ===================================================================== */

/* ---- the slim navy band behind the floating header --------------------
   Pages with a photo banner get their dark backdrop free; pages without
   one (property detail, checkout, offline listing) render this instead,
   so the header's light links are always readable and never overlap
   content. */
.hh-headband {
  height: 150px;
  background: linear-gradient(135deg, #021032 0%, #0a1f4d 55%, #1c2f56 100%);
}
@media (max-width: 767px) {
  .hh-headband { height: 96px; }
}

/* ---- the ONE button ---------------------------------------------------
   Every call-to-action on the site: gold, white text, same radius, navy
   on hover. Sizes stay whatever each context set (a hero button and a
   form button differ in height, not in identity). */
/* The reference is the search bar's button (.hh-sb__go): gold gradient,
   navy text, 54px tall, 0 30px padding, 16px radius. Every button matches
   it exactly — same padding, same face, no odd one out. */
.main-btn,
.srch-cta,
.pdp-book__go,
.hh-cta__btn,
.hh-cta__btn--gold,
.hh-cta__btn--line {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  height: 54px !important;
  padding: 0 30px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #dcc98a 0%, var(--secondary-color, #cdb975) 45%, #b49a55 100%) !important;
  color: var(--primary-color, #021032) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(180, 154, 85, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.main-btn:hover,
.srch-cta:hover,
.pdp-book__go:hover:not(:disabled),
.hh-cta__btn:hover {
  background: linear-gradient(135deg, #dcc98a 0%, var(--secondary-color, #cdb975) 45%, #b49a55 100%) !important;
  color: var(--primary-color, #021032) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(180, 154, 85, 0.75);
  filter: none !important;
}
.pdp-book__go { width: 100%; }
/* The theme wraps .main-btn labels in a span with its own colors. */
.main-btn span { color: inherit !important; background: transparent !important; font-size: inherit !important; }

/* ---- homepage hero heading + description ------------------------------ */
.video-sec { position: relative; }
.hh-hero-copy {
  position: absolute;
  left: 0; right: 0;
  top: 42%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 20px;
  z-index: 3;
  pointer-events: none;
}
.hh-hero-copy h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 auto 14px;
  max-width: 900px;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.45);
}
.hh-hero-copy p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

/* ---- property page: gold accents, not green --------------------------- */
.pdp { --p-brand: #b49a55; }

/* A description pasted as one endless word must WRAP, not run off the
   page and under the booking card. Applies to every prose block on the
   property page and every CMS-written body. */
.pdp-prose,
.pdp-head,
.pdp-sec,
.cms-body,
.cms-article {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pdp-badge--brand {
  background: #faf6ea !important;
  border-color: #e7dbb8 !important;
  color: #8a7434 !important;
}

/* ---- About page story media -------------------------------------------
   The main photo was a towering portrait that dwarfed the text column and
   left the accent photo floating awkwardly under it. Landscape-ish, capped
   height, accent tucked onto the corner — balanced at every width. */
.abt2-story__img1 {
  width: 100% !important;
  aspect-ratio: 4 / 3.1 !important;
  max-height: 540px;
}
/* The story text reads left-to-right — its heading and prose sit LEFT,
   never centered (the theme centers h2 globally; not here). */
.abt2-story__text,
.abt2-story__text h2,
.abt2-story__text p,
.abt2-story__text .cms-body {
  text-align: left !important;
}
.abt2-story__media { padding-bottom: 70px !important; padding-right: 44px; }
.abt2-story__img2 { width: 46% !important; right: 6px !important; bottom: 6px !important; }
@media (max-width: 900px) {
  .abt2-story__media { padding-right: 0; }
}

/* Images inside any CMS-written body stay inside their column. */
.cms-body img,
.cms-article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ---- booking confirmation --------------------------------------------- */
.hh-done { max-width: 720px; margin: 0 auto; padding: 46px 0 90px; text-align: center; }
.hh-done__check {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, #cdb975, #b49a55);
  color: #fff; font-size: 38px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(180, 154, 85, 0.55);
}
.hh-done h1 { font-size: 32px; color: #021032; margin: 0 0 10px; font-weight: 700; }
.hh-done__msg { font-size: 16px; line-height: 1.65; color: #4b5563; max-width: 520px; margin: 0 auto 26px; }
.hh-done__card {
  text-align: left; background: #fff; border: 1px solid #e7dbb8; border-radius: 16px;
  padding: 8px 22px; box-shadow: 0 24px 50px -30px rgba(2, 16, 50, 0.25);
}
.hh-done__card .pdp-line { border-bottom: 1px solid #f1ead6; }
.hh-done__card .pdp-line:last-child { border-bottom: 0; }
.hh-done__ref { font-family: monospace; font-size: 17px; letter-spacing: 0.5px; color: #021032; }
.hh-done__hint { font-size: 13.5px; color: #6b7280; margin-top: 18px; line-height: 1.6; }
.hh-done .srch-cta { margin-top: 24px; }

/* =====================================================================
   BLOG — index and article. Golden/white, and responsive by construction:
   every grid is auto-fit with a min track, so it reflows from four
   columns to one without a single breakpoint fighting another.
   ===================================================================== */

.blog-wrap { padding: 64px 0 90px; background: #fff; }
.blog-intro { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.blog-intro h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  color: #021032; margin: 0 0 12px; font-weight: 700; line-height: 1.25;
}
.blog-intro p { font-size: clamp(15px, 1.6vw, 17px); line-height: 1.7; color: #55607a; margin: 0; }

/* ---- the pill that labels a category or tag ---- */
.blog-tag {
  display: inline-block;
  background: #faf6ea; border: 1px solid #e7dbb8; color: #8a7434;
  border-radius: 999px; padding: 4px 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- placeholder when a post has no cover photo ---- */
.blog-ph {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, #021032 0%, #22355e 55%, #b49a55 100%);
}

/* ---- lead article ---- */
.blog-lead {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px); align-items: center;
  background: #fff; border: 1px solid #eceff5; border-radius: 20px;
  overflow: hidden; margin-bottom: 44px; text-decoration: none;
  box-shadow: 0 24px 60px -40px rgba(2, 16, 50, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-lead:hover { transform: translateY(-3px); box-shadow: 0 30px 70px -38px rgba(2, 16, 50, .45); }
.blog-lead__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; height: 100%; }
.blog-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-lead:hover .blog-lead__media img { transform: scale(1.04); }
.blog-lead__body { padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) 0; }
.blog-lead__body h3 {
  font-size: clamp(21px, 2.6vw, 31px); line-height: 1.25; color: #021032;
  margin: 0 0 12px; font-weight: 700;
}
.blog-lead__body p { font-size: 16px; line-height: 1.7; color: #55607a; margin: 0 0 14px; }
.blog-more { display: inline-block; margin-top: 6px; font-weight: 700; color: #b49a55; font-size: 14.5px; }

/* ---- card grid ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #eceff5; border-radius: 16px;
  overflow: hidden; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px); border-color: #e7dbb8;
  box-shadow: 0 22px 46px -28px rgba(2, 16, 50, .38);
}
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__body h3 { font-size: 18.5px; line-height: 1.35; color: #021032; margin: 0 0 10px; font-weight: 700; }
.blog-card__body p {
  font-size: 14.5px; line-height: 1.65; color: #55607a; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: #8a93a8; margin-top: auto;
}

/* ---- closing call to action on the index ---- */
.blog-cta {
  margin-top: 56px; text-align: center; padding: clamp(28px, 4vw, 46px) 20px;
  background: linear-gradient(135deg, #021032 0%, #0a1f4d 100%);
  border-radius: 20px; color: #fff;
}
.blog-cta h3 { color: #fff; font-size: clamp(20px, 2.4vw, 27px); margin: 0 0 8px; font-weight: 700; }
.blog-cta p { color: rgba(255, 255, 255, .82); margin: 0 0 20px; font-size: 15.5px; }

/* ---- article ---- */
.post-wrap { padding: 56px 0 90px; background: #fff; }
.post-wrap .container { max-width: 820px; }
.post-head { text-align: center; margin-bottom: 26px; }
.post-head .blog-meta { justify-content: center; }
.post-lede {
  font-size: clamp(16.5px, 1.9vw, 20px); line-height: 1.65; color: #3c4763;
  margin: 18px auto 0; max-width: 660px;
}
.post-cover { margin: 30px 0 34px; }
.post-cover img { width: 100%; border-radius: 18px; display: block; box-shadow: 0 26px 60px -36px rgba(2, 16, 50, .5); }

.post-body { font-size: 17px; line-height: 1.8; color: #333d55; }
.post-body { color: #333d55; }
.post-body h2 {
  font-size: clamp(21px, 2.4vw, 27px); color: #021032; font-weight: 700;
  margin: 38px 0 14px; line-height: 1.3;
}
.post-body h3 { font-size: 19px; color: #021032; font-weight: 700; margin: 28px 0 10px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 22px; }
.post-body li { margin-bottom: 9px; }
.post-body a { color: #8a7434; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: #021032; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 22px 0; }
.post-body blockquote {
  margin: 24px 0; padding: 16px 22px; border-left: 4px solid #cdb975;
  background: #faf6ea; border-radius: 0 12px 12px 0; font-style: italic; color: #4a5670;
}

.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 0; }
.post-tags .blog-tag { margin-bottom: 0; text-transform: none; letter-spacing: 0; }

.post-cta {
  margin: 44px 0 0; text-align: center; padding: clamp(26px, 3.5vw, 40px) 20px;
  background: #faf6ea; border: 1px solid #e7dbb8; border-radius: 18px;
}
.post-cta h3 { color: #021032; font-size: clamp(19px, 2.2vw, 25px); margin: 0 0 8px; font-weight: 700; }
.post-cta p { color: #55607a; margin: 0 0 18px; font-size: 15px; }

.post-related { margin-top: 60px; }
.post-related > h2 {
  font-size: clamp(20px, 2.4vw, 27px); color: #021032; font-weight: 700;
  margin: 0 0 22px; text-align: center;
}

/* ---- phones ---- */
@media (max-width: 860px) {
  .blog-lead { grid-template-columns: 1fr; }
  .blog-lead__media { aspect-ratio: 16 / 9; }
  .blog-lead__body { padding: 22px 22px 26px; }
}
@media (max-width: 560px) {
  .blog-wrap, .post-wrap { padding: 40px 0 64px; }
  .blog-intro { margin-bottom: 30px; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-body { font-size: 16px; }
  .post-cover { margin: 22px 0 26px; }
  .post-cover img { border-radius: 12px; }
}
