/* Polyana Travel v16 — restore original v14 white centre, fade OUTWARD;
   unify all homepage SECTION headings, eyebrows, and subtitles.
   No changes to mobile hero, neon header, avatar UI, or images. */

/* In v14, the pure white centre starts at edge-strip + edge-fade.
   Keep that EXACT boundary. Instead of shrinking white area as v15 did,
   start the fade earlier, TOWARDS the outer edges of the panoramic background. */
body {
  --pt-edge-strip: clamp(52px, 11.2vw, 200px);
  --pt-edge-fade: clamp(14px, 1.7vw, 26px);
  --pt-outward-start: clamp(12px, 5vw, 95px);
  --pt-outward-mid: clamp(36px, 7.2vw, 135px);
  background-color: #fff !important;
  background-image: linear-gradient(90deg,
    transparent 0,
    transparent var(--pt-outward-start),
    rgba(255,255,255,.16) var(--pt-outward-mid),
    rgba(255,255,255,.64) var(--pt-edge-strip),
    #fff calc(var(--pt-edge-strip) + var(--pt-edge-fade)),
    #fff calc(100% - var(--pt-edge-strip) - var(--pt-edge-fade)),
    rgba(255,255,255,.64) calc(100% - var(--pt-edge-strip)),
    rgba(255,255,255,.16) calc(100% - var(--pt-outward-mid)),
    transparent calc(100% - var(--pt-outward-start)),
    transparent 100%
  ), url('/assets/site-bg-polyana-v13.webp') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 100% 100%, cover !important;
  background-position: center center, center top !important;
  background-attachment: fixed, fixed !important;
}
@media (max-width:720px) {
  body { background-attachment: scroll, scroll !important; }
}

/* Unified home section headings. Never affect hero H1, hotel cards or admin. */
body.pt-home-page :is(
  .holiday-heading, .stay-home-heading, .resort-about-heading, .map-heading,
  .today-heading, .prices-heading, .routes-heading, .gallery-heading, .faq-heading
) {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.pt-home-page .stay-home-heading { padding-right: 0 !important; }
body.pt-home-page .stay-home-badge {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  margin: 16px auto 0 !important;
}
body.pt-home-page :is(
  .holiday-display, .stay-home-title, .resort-about-title, .map-display,
  .today-display, .prices-display, .routes-display, .gallery-heading h2, .faq-title
) {
  color: #151515 !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 700 !important;
  font-size: clamp(34px, 3.9vw, 62px) !important;
  letter-spacing: -.037em !important;
  line-height: 1.07 !important;
  text-align: center !important;
  text-wrap: balance;
  max-width: 1160px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* The first text part is black. Selected words are consistently crimson. */
body.pt-home-page :is(
  .holiday-display, .stay-home-title, .resort-about-title, .map-display,
  .today-display, .prices-display, .routes-display, .gallery-heading h2, .faq-title
) span { color: #151515 !important; }
body.pt-home-page :is(
  .stay-home-title, .resort-about-title, .today-display, .prices-display,
  .routes-display, .gallery-heading h2, .faq-title
) em,
body.pt-home-page .holiday-display .holiday-display-accent,
body.pt-home-page .map-display .map-display-accent {
  color: #b51227 !important;
  font-style: normal !important;
}
body.pt-home-page :is(
  .holiday-heading .section-eyebrow,
  .stay-home-eyebrow, .resort-about-eyebrow,
  .map-heading .section-eyebrow, .today-heading .section-eyebrow,
  .prices-heading .section-eyebrow, .routes-heading .section-eyebrow,
  .faq-eyebrow
) {
  color: #b51227 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  line-height: 1.5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-bottom: 15px !important;
}
body.pt-home-page :is(
  .holiday-heading .section-eyebrow, .map-heading .section-eyebrow,
  .today-heading .section-eyebrow, .prices-heading .section-eyebrow,
  .routes-heading .section-eyebrow
)::before,
body.pt-home-page :is(.stay-home-eyebrow,.resort-about-eyebrow,.faq-eyebrow) i {
  background-color: #b51227 !important;
}
body.pt-home-page :is(
  .holiday-heading, .stay-home-heading, .map-heading, .today-heading,
  .prices-heading, .routes-heading, .gallery-heading, .faq-heading
) > p {
  max-width: 850px !important;
  margin: 15px auto 0 !important;
  color: #37383c !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  font-size: clamp(15px, 1.3vw, 19px) !important;
  line-height: 1.55 !important;
  text-align: center !important;
}
/* Keep the original FAQ photo switcher, badges and update statuses beneath headings. */
body.pt-home-page :is(
  .today-heading-row, .prices-heading-row, .routes-heading-row
) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
body.pt-home-page :is(
  .today-heading-row .today-status, .prices-heading-row .prices-badges,
  .routes-heading-row .routes-update
) {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}
@media (max-width:720px) {
  body.pt-home-page :is(
    .holiday-display, .stay-home-title, .resort-about-title, .map-display,
    .today-display, .prices-display, .routes-display, .gallery-heading h2, .faq-title
  ) {
    font-size: clamp(30px, 8.2vw, 44px) !important;
    letter-spacing: -.028em !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere;
  }
  body.pt-home-page :is(
    .holiday-heading .section-eyebrow, .stay-home-eyebrow, .resort-about-eyebrow,
    .map-heading .section-eyebrow, .today-heading .section-eyebrow,
    .prices-heading .section-eyebrow, .routes-heading .section-eyebrow,
    .faq-eyebrow
  ) { font-size: 10px !important; letter-spacing: .1em !important; }
}
