/*
 * Dream inner pages — shared component styles (Sleep, Room Detail, listings, details, Gallery, Contact, Standard).
 * Loaded after the Home theme CSS so header/footer/typography stay identical to the Home page.
 * Colours come from the Home theme: --demo-primary (#00612e), ink #394034, body #555, cream #f2f0e9.
 */
.dream-page {
  --dp-green: var(--demo-primary, #00612e);
  --dp-ink: #394034;
  --dp-text: #555;
  --dp-cream: #f2f0e9;
  --dp-paper: #f9f8f7;
  --dp-line: #dcd8cc;
  --dp-error: #a4262c;
}
.dream-page a:not(.btn):hover { color: var(--dp-green); }
.dream-page :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #2c6faa !important; outline-offset: 3px; }
.dream-page main ul.dp-feature-list, .dream-page main ul.dp-room-card__amenities, .dream-page main ul.dp-share__list,
.dream-page main ul.dp-gallery__grid, .dream-page main .dp-card-grid { list-style: none; margin: 0; padding: 0; }
.dream-page main ul.dp-feature-list > li, .dream-page main ul.dp-room-card__amenities > li, .dream-page main ul.dp-share__list > li, .dream-page main ul.dp-gallery__grid > li { margin: 0; }
.dp-icon { display: block; width: 44px; height: 44px; fill: none; stroke: var(--dp-green); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.dp-center { text-align: center; }
.dream-page .page-transition figure { max-width: 100%; }
html:has(body.dream-page), body.dream-page { overflow-x: clip; }

/* Header: no booking button on inner pages → pull utility icons to the edge (Check Availability removed). */
@media (min-width: 975px) { .dream-page .header.property .utility-nav { right: 40px !important; } }
@media (min-width: 1281px) { .dream-page .header.property .utility-nav { right: 48px !important; } }
.dream-page .header .notifications [class*="swiper-prev-"], .dream-page .header .notifications [class*="swiper-next-"] { border: 0; background-color: transparent; cursor: pointer; }
.dream-page .header .notifications .notification[hidden] { display: none !important; }
.dream-page .header .phone-menu[hidden] { display: none !important; }
.dream-page .header.property .mobile-logo a { display: block; }

/* ---------- Hero ---------- */
.dp-hero { position: relative; height: clamp(420px, 56vw, 820px); overflow: hidden; background: var(--dp-ink); }
.dp-hero__media, .dp-hero__media img { display: block; width: 100%; height: 100%; margin: 0; }
.dp-hero__media img { object-fit: cover; object-position: center; }
.dp-hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 220px; background: linear-gradient(rgba(0, 0, 0, .45), transparent); pointer-events: none; }
.dp-hero--room { height: clamp(460px, 52vw, 860px); }
.dp-hero--room::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 55%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); pointer-events: none; }
.dp-hero__overlay { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 96px; color: #fff; text-align: center; }
.dp-hero__overlay h1 { margin: 0 0 10px; color: #fff !important; font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.dp-hero__size { font-size: .8125rem; font-weight: 500; letter-spacing: .08em; }
.dp-hero__size span { font-weight: 700; }
.dp-hero__extras { position: absolute; z-index: 2; right: 24px; bottom: 20px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.dp-hero__extra { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid #fff; border-radius: 2px; background: #fff; color: var(--dp-ink); font: 500 .8125rem/1 Brown, sans-serif; letter-spacing: .06em; cursor: pointer; transition: background-color .2s, color .2s; }
.dp-hero__extra .dp-icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; }
.dp-hero__extra:hover { background: transparent; color: #fff; }
@media (max-width: 768px) {
  .dp-hero { height: 70vh; min-height: 420px; max-height: 640px; }
  .dp-hero__overlay { bottom: 84px; }
  .dp-hero__extras { left: 16px; right: 16px; justify-content: center; }
  .dp-hero__extra { padding: 6px 10px; font-size: .75rem; }
}

/* ---------- Sections & intro ---------- */
.dp-section { padding: 60px 0; }
.dp-section--tight { padding-top: 0; }
.dp-intro { text-align: center; padding-bottom: 48px; }
.dp-intro h1 { margin-bottom: 24px; }
.dp-body { color: var(--dp-text); font-size: 1rem; line-height: 2; text-wrap: pretty; }
.dp-body p { margin-bottom: 18px; }
.dp-body p:last-child { margin-bottom: 0; }
.dp-body a { color: var(--dp-green); border-bottom: 1px solid currentColor; font-weight: 500; }
.dp-body ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.dp-intro .dp-body { max-width: 780px; margin: 0 auto; }
.dp-contact-line { font-size: .9375rem; }
.dp-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.dp-section-heading h2 { margin: 0; }
@media (max-width: 768px) { .dp-section { padding: 40px 0; } .dp-section--tight { padding-top: 0; } }

/* ---------- Feature list (All apartments include / Your stay includes) ---------- */
.dp-features { background: #fff; }
.dp-features h2 { margin-bottom: 40px; }
.dp-feature-list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 32px 20px; }
.dp-feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.dp-feature .dp-icon { margin-bottom: 14px; }
.dp-feature__title { color: var(--dp-green); font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.dp-feature__subtitle { margin-top: 4px; color: #6f746d; font-size: 12px; line-height: 1.4; letter-spacing: .02em; }
.dp-feature-list--room { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 760px; margin: 48px auto 0 !important; }
@media (max-width: 1024px) { .dp-feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; } }
@media (max-width: 600px) { .dp-feature-list, .dp-feature-list--room { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Room cards (Sleep: 2 × 2) ---------- */
.dp-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.dp-room-card { display: flex; flex-direction: column; background: var(--dp-paper); }
.dp-room-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.dp-room-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dp-room-card:hover .dp-room-card__media img { transform: scale(1.03); }
.dp-room-card__content { flex: 1; padding: 32px 32px 8px; }
.dp-room-card__title { margin: 0 0 22px; font-size: 1.375rem; }
.dp-room-card__title a { color: inherit; }
.dp-room-card__amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-bottom: 22px !important; }
.dp-room-card__amenities li { display: flex; align-items: center; gap: 10px; color: var(--dp-ink); font-size: .8125rem; line-height: 1.3; letter-spacing: .06em; }
.dp-room-card__amenities .dp-icon { flex: 0 0 28px; width: 28px; height: 28px; }
.dp-room-card__text { margin-bottom: 14px; font-size: .9375rem; line-height: 1.8; }
.dp-room-card__size { color: var(--dp-ink); font-size: .8125rem; letter-spacing: .06em; }
.dp-room-card__size span { font-weight: 700; }
.dp-room-card__actions { padding: 16px 32px 32px; }
.dp-room-card__actions .btn { display: inline-flex; background: var(--dp-green); border-color: var(--dp-green); }
@media (max-width: 768px) {
  .dp-room-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dp-room-card__content { padding: 24px 20px 8px; }
  .dp-room-card__actions { padding: 12px 20px 24px; }
}

/* ---------- Content cards (Experiences / Offers / Services) ---------- */
.dp-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.dp-card { min-width: 0; }
.dp-card__link { position: relative; display: block; color: #fff; }
.dp-card__media { position: relative; aspect-ratio: 1 / 1; margin: 0; overflow: hidden; background: #d9d6cc; }
.dp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.dp-card__link:hover img, .dp-card__link:focus-visible img { transform: scale(1.04); }
.dp-card__overlay { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 72px 24px 24px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.dp-card__title { margin: 6px 0 0 !important; color: #fff !important; font-size: clamp(20px, 1.55vw, 26px); line-height: 1.12; }
.dp-card__text { margin: 16px 0 0; font-size: .9375rem; line-height: 1.75; color: var(--dp-text); }
@media (max-width: 1024px) { .dp-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dp-card-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .dp-card__overlay { padding: 56px 18px 18px; } }

/* ---------- Article (detail + Standard) ---------- */
.dp-article { padding: 60px 0 72px; }
.dp-article__header { text-align: center; margin-bottom: 32px; }
.dp-article__header h1 { margin: 0; font-size: clamp(1.625rem, 2.4vw, 2rem); }
.dp-kicker { margin-bottom: 14px; color: var(--dp-green); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dp-article__body { max-width: 760px; margin: 0 auto; }
.dp-back { margin: 40px 0 0; text-align: center; font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dp-back a { color: var(--dp-ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* Share */
.dp-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--dp-line); }
.dp-share__label { color: var(--dp-ink); font-size: .8125rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dp-share__list { display: flex; flex-wrap: wrap; gap: 10px; }
.dp-share__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--dp-green); color: #fff !important; cursor: pointer; transition: background-color .2s; }
.dp-share__link:hover { background: var(--dp-ink); }
.dp-share__link svg { width: 18px; height: 18px; }
.dp-share__status { flex-basis: 100%; min-height: 1.5em; margin: 0; text-align: center; color: var(--dp-green); font-size: .8125rem; }
.dp-share__status.is-error { color: var(--dp-error); }

/* ---------- Hotel Policies ---------- */
.dp-policies { background: #fff; }
.dp-policies__grid { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr); gap: 48px; }
.dp-policies__nav h2 { margin-bottom: 24px; }
.dp-policies__tabs { display: flex; flex-direction: column; }
.dp-policies__tab { padding: 14px 16px; border: 0; border-left: 2px solid var(--dp-line); background: none; color: var(--dp-ink); font: 500 .875rem/1.3 Brown, sans-serif; letter-spacing: .08em; text-align: left; cursor: pointer; }
.dp-policies__tab:hover { color: var(--dp-green); }
.dp-policies__tab.is-active { border-left-color: var(--dp-green); color: var(--dp-green); font-weight: 700; }
.dp-policies__acc-heading { display: none; margin: 0 !important; }
.dp-policies__panel { display: none; }
.dp-policies__panel.is-open { display: block; }
.dp-policies__panel-title { margin-bottom: 18px; font-size: 1.125rem; }
@media (max-width: 1024px) {
  .dp-policies__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dp-policies__tabs, .dp-policies__panel-title { display: none; }
  .dp-policies__acc-heading { display: block; border-top: 1px solid var(--dp-line); }
  .dp-policies__acc { position: relative; width: 100%; min-height: 56px; padding: 16px 44px 16px 0; border: 0; background: none; color: var(--dp-ink); font: 700 .875rem/1.3 Brown, sans-serif; letter-spacing: .1em; text-align: left; text-transform: uppercase; cursor: pointer; }
  .dp-policies__acc::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.375rem; font-weight: 400; }
  .dp-policies__acc[aria-expanded="true"]::after { content: "\2212"; }
  .dp-policies__panel.is-open { padding-bottom: 20px; }
}

/* ---------- Generic accordion ---------- */
.dp-accordion { border-bottom: 1px solid var(--dp-line); }
.dp-accordion__heading { margin: 0 !important; border-top: 1px solid var(--dp-line); }
.dp-accordion__trigger { position: relative; width: 100%; min-height: 60px; padding: 18px 48px 18px 0; border: 0; background: none; color: var(--dp-ink); font: 700 .9375rem/1.4 Brown, sans-serif; letter-spacing: .06em; text-align: left; cursor: pointer; }
.dp-accordion__trigger::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--dp-green); }
.dp-accordion__trigger[aria-expanded="true"]::after { content: "\2212"; }
.dp-accordion__panel { padding: 0 0 24px; }

/* ---------- Gallery ---------- */
.dp-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 40px; border-bottom: 1px solid var(--dp-line); }
.dp-tabs__tab { position: relative; min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--dp-ink); font: 500 .8125rem/1 Brown, sans-serif; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.dp-tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.dp-tabs__tab:hover { color: var(--dp-green); }
.dp-tabs__tab.is-active { color: var(--dp-green); font-weight: 700; }
.dp-tabs__tab.is-active::after { background: var(--dp-green); }
.dp-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 290px); grid-auto-flow: dense; gap: 16px; }
.dp-gallery__cell[hidden] { display: none; }
.dp-gallery__cell.is-feature { grid-column: span 2; grid-row: span 2; }
.dp-gallery__cell.is-feature-alt { grid-column: 3 / span 2; grid-row: span 2; }
.dp-gallery__item { display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; background: #d9d6cc; cursor: zoom-in; }
.dp-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s; }
.dp-gallery__item:hover img, .dp-gallery__item:focus-visible img { transform: scale(1.04); }
.dp-gallery__grid--simple { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 320px); }
@media (max-width: 1024px) {
  .dp-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 34vw; gap: 12px; }
  .dp-gallery__cell.is-feature, .dp-gallery__cell.is-feature-alt { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 600px) {
  .dp-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; gap: 24px; padding: 0 4px; scrollbar-width: none; }
  .dp-tabs__tab { flex: 0 0 auto; }
  .dp-gallery__grid, .dp-gallery__grid--simple { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 8px; }
  .dp-gallery__cell.is-feature, .dp-gallery__cell.is-feature-alt { grid-row: span 1; }
}
/* Lightbox (extends .demo-lightbox from site-overrides.css) */
.dp-lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dp-lightbox__caption { color: #fff; font-size: .8125rem; letter-spacing: .06em; text-align: center; padding: 0 64px; }
.dp-lightbox__counter { position: absolute; top: 30px; left: 32px; margin: 0; color: #fff; font-size: .8125rem; letter-spacing: .1em; }
.dp-lightbox .demo-lightbox__image { max-height: 80vh; }
.dp-lightbox button:focus-visible { outline: 2px solid #fff !important; }
.dp-lightbox [hidden] { display: none; }
@media (max-width: 600px) {
  .dp-lightbox .demo-lightbox__nav { top: auto; bottom: 20px; width: 48px; height: 48px; transform: none; }
  .dp-lightbox__caption { padding: 0 16px; }
}

/* ---------- Contact form ---------- */
.dp-form { padding: 40px; background: #fff; }
.dp-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dp-field--full { grid-column: 1 / -1; }
.dp-field label { display: block; margin-bottom: 8px; color: var(--dp-ink); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dp-required { color: var(--dp-error); }
.dp-field :is(input, select, textarea) { display: block; width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid #bdbdbd; border-radius: 1px; background: var(--dp-paper); color: #222; font: 400 1rem/1.4 Brown, sans-serif; letter-spacing: .04em; }
.dp-field textarea { min-height: 150px; resize: vertical; }
.dp-field :is(input, select, textarea):focus { border-color: var(--dp-green); outline: 2px solid var(--dp-green) !important; outline-offset: 0; }
.dp-field.has-error :is(input, select, textarea) { border-color: var(--dp-error); background: #fdf6f6; }
.dp-field__error { margin: 8px 0 0; color: var(--dp-error); font-size: .8125rem; line-height: 1.4; }
.dp-form__note { margin: 20px 0 0; font-size: .8125rem; }
.dp-form__actions { margin-top: 24px; }
.dp-form__actions .btn { display: inline-flex; background: var(--dp-green); border-color: var(--dp-green); }
.dp-form__actions .btn:disabled { opacity: .6; cursor: wait; }
.dp-form__status { margin-top: 24px; padding: 16px 20px; border-left: 3px solid var(--dp-ink); background: var(--dp-cream); color: var(--dp-ink); font-size: .9375rem; line-height: 1.6; }
.dp-form__status.is-error { border-left-color: var(--dp-error); }
.dp-form__status.is-success { border-left-color: var(--dp-green); }
@media (max-width: 600px) { .dp-form { padding: 24px 16px; } .dp-form__grid { grid-template-columns: minmax(0, 1fr); } }
.dp-map-section { padding-bottom: 0 !important; }

/* ---------- Standard template blocks ---------- */
.dp-block + .dp-block { padding-top: 0; }
.dp-figure { margin: 0; }
.dp-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.dp-figure figcaption { margin-top: 12px; font-size: .8125rem; color: #6f746d; text-align: center; }
.dp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.dp-split--reverse .dp-split__media { order: 2; }
.dp-split__media { margin: 0; }
.dp-split__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dp-split__content .links { margin-top: 24px; }
.dp-cta { padding: 56px 40px; background: #fff; text-align: center; }
.dp-cta p { margin-bottom: 28px; }
.dp-cta .btn { display: inline-flex; background: var(--dp-green); border-color: var(--dp-green); }
@media (max-width: 768px) {
  .dp-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dp-split--reverse .dp-split__media { order: 0; }
  .dp-cta { padding: 40px 20px; }
}
.dream-page code { font-family: "Space Mono", monospace; font-size: .875em; }
