/* The season control stays in the same navigation group in either appearance. */
#apus-header .elementor-widget-apus_element_nav_bar .elementor-widget-container {
  display:flex!important; align-items:center; gap:clamp(6px,1vw,18px); width:max-content!important;
}
#apus-header button.dob-season-switch {
  display:inline-flex; flex:none; align-items:center; gap:7px; min-height:44px;
  margin:0; padding:0 5px; background:transparent; border:0; border-radius:6px;
  color:#183e55; font-family:inherit; cursor:pointer;
}
.dob-season-switch:focus-visible { outline:3px solid #16739b; outline-offset:2px }
.dob-season-track { display:block; width:46px; height:25px; border:1px solid #72878f; border-radius:20px; background:#e8ecee; padding:2px; box-sizing:border-box }
.dob-season-track i { display:block; width:19px; height:19px; background:#fff url('sun.svg') center/15px no-repeat; border-radius:50%; box-shadow:0 1px 3px #17334e50; transition:transform .22s ease }
[aria-checked=true] .dob-season-track { background:#204a64; border-color:#204a64 }
[aria-checked=true] .dob-season-track i { background-image:url('resort-icons/snowflake.svg'); transform:translateX(20px) }
.dob-season-label { font-size:12px; font-weight:700 }
.dob-winter-gallery,.dob-season-snow { display:none }
html[data-dob-theme=winter] {
  --dob-blue:#a9d6e7; --dob-blue-dark:#163c53; --dob-blue-pale:#eaf4f8;
  --dob-orange:#286782; --dob-yellow:#bddeeb; --dob-green:#173e54; --dob-gold:#286782;
}
[data-dob-theme=winter] body { background:#f3f8fa; color:#294657 }
[data-dob-theme=winter] .elementor-kit-6,[data-dob-theme=winter] .pirin-page {
  --e-global-color-primary:#173e54; --e-global-color-secondary:#436576; --e-global-color-accent:#286782;
  --pirin-ink:#183a50; --pirin-paper:#f2f7fa; --pirin-sky:#deeff5; --pirin-orange:#27718d; --pirin-blue:#205875;
}
[data-dob-theme=winter] #apus-header .elementor-element-8ad6bc1 { background:#f3f9fb!important; box-shadow:0 1px 0 #bad1db }
[data-dob-theme=winter] #apus-header .elementor-button,
[data-dob-theme=winter] :is(.btn-theme,.btn-search,.fp-button,.elementor-button,.hd-hotel-hero a) {
  background-color:#205675!important; border-color:#205675!important; color:white!important;
}
[data-dob-theme=winter] :is(.fp-button,.elementor-button,.btn-search):hover { background-color:#123d58!important }
[data-dob-theme=winter] :is(.dobrinishte-businesses,.dob-home-section--resources,.gd-features,.lift-fun,.lake-seasons) { background:#e9f3f7 }
[data-dob-theme=winter] :is(.dob-footer,.dob-home-section--cinema,.business-contact-strip) { background:linear-gradient(120deg,#102c40,#1c465a) }
[data-dob-theme=winter] :is(.dob-home-hero,.elementor-5770 > .e-con:first-child)::before {
  background-image:linear-gradient(180deg,#08233655,#082336ad),url('winter-media/hija-bezbog-main.webp')!important; animation:none; opacity:1;
}
[data-dob-theme=winter] :is(.dob-home-hero,.elementor-5770 > .e-con:first-child)::after { background:none!important; animation:none; opacity:0 }
[data-dob-theme=winter] :is(.hd-hotel-hero,.bz-hero,.lift-hero) { background-image:linear-gradient(90deg,#0c273cce,#10324727),var(--season-photo)!important; background-size:cover; background-position:center }
[data-dob-theme=winter] .hd-hotel-hero { --season-photo:url('../new-year/hotel-dobrinishte-winter.jpg') }
[data-dob-theme=winter] .bz-hero { --season-photo:url('winter-media/hija-bezbog-main.webp') }
[data-dob-theme=winter] .lift-hero { --season-photo:url('winter-media/lift-hija-bezbog.webp') }
[data-dob-theme=winter] .pirin-hero--peak { --pirin-hero:url('../pirin-routes/bezbog-peak-winter.webp')!important }
[data-dob-theme=winter] .dob-winter-gallery { display:block; background:#102c40; color:white; padding:clamp(40px,6vw,88px) 0 }
.dob-winter-inner { width:min(1180px,calc(100% - 40px)); margin:auto }
.dob-winter-inner h2 { color:white; margin:0 0 24px; font:500 clamp(36px,5vw,70px)/1.1 Georgia,serif; letter-spacing:-.035em }
.dob-winter-frames { display:grid; grid-template-columns:1.35fr 1fr 1fr; gap:clamp(10px,2vw,24px) }
.dob-winter-frames figure { margin:0; min-width:0 }
.dob-winter-frames :is(img,video) { width:100%; height:clamp(190px,22vw,320px); display:block; object-fit:cover; border-radius:3px; background:#203e51 }
.dob-winter-frames figcaption { display:flex; align-items:center; gap:9px; margin-top:12px; color:#e5f3fa; font-size:15px }
.dob-winter-frames figcaption::before { content:''; width:24px; height:24px; background:#b0e1ef; mask:var(--season-icon,url('resort-icons/snowflake.svg')) center/contain no-repeat }
.dob-winter-frames figure:nth-child(2) { --season-icon:url('ski-icons/skier.svg') }
.dob-winter-frames figure:nth-child(3) { --season-icon:url('resort-icons/skilift.svg') }
@media(prefers-reduced-motion:no-preference) {
  [data-dob-theme=winter] .dob-season-snow { display:block; position:fixed; z-index:90; inset:-70px 0 0; pointer-events:none; background-image:radial-gradient(circle,#fff 0 1px,transparent 2px),radial-gradient(circle,#e5f6ff 0 2px,transparent 3px); background-size:111px 137px,209px 179px; animation:dob-snowfall 4s ease-out both }
  .dob-winter-frames figure:hover figcaption::before { animation:dob-icon-glide .75s ease-in-out }
}
@keyframes dob-snowfall { 0% {opacity:0; transform:translateY(-24px)} 22% {opacity:.65} 100% {opacity:0; transform:translate(6px,64px)} }
@keyframes dob-icon-glide { 50% {transform:translate(3px,-4px) rotate(-8deg)} }
@media(max-width:767px) {
  #apus-header .elementor-element-a380300 { padding-left:clamp(5px,3vw,18px) }
  .dob-season-label { display:none }
  .dob-winter-frames { grid-template-columns:1fr 1fr }
  .dob-winter-frames figure:first-child { grid-column:1/-1 }
  .dob-winter-frames :is(img,video) { height:auto; aspect-ratio:4/3 }
  .dob-winter-frames figure:first-child img { aspect-ratio:16/9 }
}
@media(prefers-reduced-motion:reduce) { .dob-season-track i { transition:none } }

/* Preserve contrast when Elementor supplies page-level colors. */
[data-dob-theme=winter] [class*="elementor-kit-"] {
  --e-global-color-primary:#173e54; --e-global-color-secondary:#436576; --e-global-color-accent:#286782;
}
[data-dob-theme=winter] :is(.dob-new-year__card,.lift-price-grid article:not(.lift-price-grid__featured),.fp-resource-card) { border-color:#b5d2df }
[data-dob-theme=winter] .pirin-hero .pirin-kicker { color:#b5e3f6 }
[data-dob-theme=winter] :is(.dob-home-hero,.elementor-5770 > .e-con:first-child)::before { transform:none }

[data-dob-theme=winter] .dobrinishte-business-card[href$="/hotel-dobrinishte/"] .dobrinishte-business-card__media { background-image:url('../new-year/hotel-dobrinishte-winter.jpg')!important }
[data-dob-theme=winter] .dobrinishte-business-card[href$="/hizha-bezbog/"] .dobrinishte-business-card__media { background-image:url('winter-media/hija-bezbog-main.webp')!important }
/* A lift follows its cable as the footer enters the viewport. */
[data-dob-theme=winter] .dob-footer { position:relative; padding-top:38px }
[data-dob-theme=winter] .dob-footer::before,
[data-dob-theme=winter] .dob-footer::after { content:''; position:absolute; pointer-events:none }
[data-dob-theme=winter] .dob-footer::before { top:18px; left:0; width:100%; border-top:1px solid #8ab8c8 }
[data-dob-theme=winter] .dob-footer::after { top:14px; left:8%; width:34px; height:34px; background:#d1e9f2; mask:url('resort-icons/skilift.svg') center/contain no-repeat }
@media(prefers-reduced-motion:no-preference) {
  @supports (animation-timeline:view()) {
    [data-dob-theme=winter] .dob-footer::after { animation:dob-lift-cross linear both; animation-timeline:view(); animation-range:entry 0% cover 55% }
  }
}
@keyframes dob-lift-cross { from {left:8%} to {left:78%} }

[data-dob-theme=winter] .dob-winter-gallery {
  background:radial-gradient(ellipse at 85% 0%,#285370 0,transparent 60%),#102c40;
}
.dob-winter-inner h2 { display:flex; align-items:center; gap:.32em }
.dob-winter-inner h2::before {
  content:''; display:block; width:.88em; height:.88em; flex:none;
  mask:url('resort-icons/snowflake.svg') center/contain no-repeat; background:#b9e6f6;
}

/* Two independently drifting snow depths. The decorative layer never captures input. */
[data-dob-theme=winter] .dob-season-snow {
  display:block; position:fixed; z-index:80; inset:0; overflow:hidden; pointer-events:none;
  background:none; animation:none; opacity:1; transform:none;
}
.dob-season-snow::before,.dob-season-snow::after {
  content:''; position:absolute; inset:-160px -60px 0; pointer-events:none;
  background-image:radial-gradient(circle at 22px 28px,#fff 0 2px,#7eafc2a8 2.4px,transparent 3px),
                   radial-gradient(circle at 68px 92px,#fff 0 1.3px,transparent 2px);
  background-size:157px 141px,121px 157px; opacity:.65;
}
.dob-season-snow::after {
  background-image:radial-gradient(circle at 80px 60px,#fff 0 3px,#9dc6d489 3.5px,transparent 4.3px);
  background-size:243px 193px; opacity:.7;
}
@media(prefers-reduced-motion:no-preference) {
  .dob-season-snow::before { animation:dob-fine-snow 13s linear infinite }
  .dob-season-snow::after { animation:dob-near-snow 9s linear infinite }
}
@keyframes dob-fine-snow { to { background-position:0 141px,0 157px } }
@keyframes dob-near-snow { to { background-position:0 193px } }
@media(max-width:767px) {
  .dob-season-snow::after { background-size:270px 193px }
}
@media(prefers-reduced-motion:reduce) {
  .dob-season-snow::after { display:none }
  .dob-season-snow::before { opacity:.32 }
}


/* The two supplied sets share a blue outline. Keep the original filled accents on light surfaces. */
.dob-winter-inner h2::after {
  content:''; width:clamp(54px,6vw,84px); height:1.25em; margin-left:auto;
  background:url('resort-icons/skier.svg') center/contain no-repeat;
  filter:brightness(0) invert(1);
}
[data-dob-theme=winter] .dobrinishte-business-card[href$="/hotel-dobrinishte/"],
[data-dob-theme=winter] .dobrinishte-business-card[href$="/hizha-goce-delchev/"] { --property-icon:url('resort-icons/chalet.svg') }
[data-dob-theme=winter] .dobrinishte-business-card[href$="/hizha-bezbog/"] { --property-icon:url('ski-icons/mountain.svg') }
[data-dob-theme=winter] .dobrinishte-business-card[href$="/sedalkov-lift/"] { --property-icon:url('resort-icons/skilift.svg') }
[data-dob-theme=winter] .dobrinishte-business-card[href$="/mehana-dobrinishte/"] { --property-icon:url('resort-icons/hotdrink.svg') }
[data-dob-theme=winter] .dobrinishte-business-card::after {
  content:''; position:absolute; top:16px; right:16px; z-index:2;
  width:clamp(44px,5vw,60px); aspect-ratio:1; border-radius:50%; pointer-events:none;
  background:#f5faff var(--property-icon) center/65% no-repeat;
}
[data-dob-theme=winter] .fp-resource-card:nth-child(1) > span::before { background-image:url('ski-icons/signpost.svg') }
[data-dob-theme=winter] .fp-resource-card:nth-child(2) > span::before { background-image:url('ski-icons/boot.svg') }
[data-dob-theme=winter] .fp-resource-card:nth-child(3) > span::before { background-image:url('resort-icons/trailmap.svg') }
[data-dob-theme=winter] .fp-resource-card:nth-child(4) > span::before { background-image:url('ski-icons/backpack.svg') }
[data-dob-theme=winter] .lift-trip .gd-section-head h2::before,
[data-dob-theme=winter] .pirin-routes__header h2::before {
  content:''; display:block; width:60px; height:60px; margin-bottom:12px;
  background:url('resort-icons/skilift.svg') left center/contain no-repeat;
}
[data-dob-theme=winter] .pirin-routes__header h2::before { background-image:url('ski-icons/signpost.svg') }
@media(prefers-reduced-motion:no-preference) {
  .dobrinishte-business-card::after { transition:transform .25s ease }
  .dobrinishte-business-card:hover::after { transform:translateY(-3px) }
}

[data-dob-theme=winter] .hd-section-icon--map { background-image:url('resort-icons/trailmap.svg') }
[data-dob-theme=winter] .hd-section-icon--bed { background-image:url('resort-icons/chalet.svg') }
[data-dob-theme=winter] .elementor-5995 .gd-access::before { background-image:url('ski-icons/boot.svg') }
[data-dob-theme=winter] .mehana-page .mehana-intro::before { background-image:url('resort-icons/hotdrink.svg') }
[data-dob-theme=winter] .lift-page .lift-fun::after { background-image:url('resort-icons/skilift.svg') }

/* Winter journey: a route selector and a photographic destination board. */
.dob-journey {display:none}
html[data-dob-theme=winter] .dob-journey {
  display:block; position:relative; isolation:isolate; width:100%; padding:clamp(44px,6vw,92px) 0;
  color:#102e3d; background:#e9f3f3; overflow:hidden;
}
.dob-journey::before {
  content:''; position:absolute; inset:0; z-index:-1; opacity:.55; pointer-events:none;
  background:repeating-radial-gradient(ellipse at 99% -13%,transparent 0 22px,#b3ced1 23px,transparent 24px 37px);
  mask-image:linear-gradient(102deg,transparent 25%,black);
}
.journey-shell {width:min(1200px,calc(100% - clamp(36px,9vw,140px))); margin:auto}
.journey-header {display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:clamp(22px,3vw,44px)}
.journey-header h2 {margin:0; color:#133447; font:500 clamp(46px,6.6vw,106px)/.99 Georgia,serif; letter-spacing:-.055em}
.journey-header h2 em {color:#276677; font-weight:400}
.journey-header .journey-film-open,.journey-cinema button {
  display:inline-flex; align-items:center; gap:10px; flex:none; padding:12px 18px; min-height:44px; border:1px solid #557682;
  border-radius:99px; background:#f6faf8; color:#173d4b; font-size:14px;font-weight:700;line-height:1.25; cursor:pointer;
}
.journey-film-open span {color:#b9471c}
.journey-stops {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #89a6aa;border-bottom:0;background:#fdfffa}
.journey-stops .journey-stop {display:flex;position:relative;align-items:center;justify-content:flex-start;gap:18px;padding:18px clamp(12px,2.6vw,40px); border:0;border-right:1px dashed #99b3b6;border-radius:0;color:#203e4c;background:transparent;text-align:left;cursor:pointer}
.journey-stop:last-child {border-right:0}
.journey-stop img {width:clamp(30px,3.2vw,50px);height:auto;flex:none}
.journey-stop small,.journey-stop strong {display:block}
.journey-stop small {font-size:11px;letter-spacing:.09em;text-transform:uppercase;line-height:1.35;margin-bottom:4px}
.journey-stop strong {font-size:clamp(16px,1.6vw,23px);line-height:1.18}
.journey-stops .journey-stop[aria-pressed=true] {background:#183c49;color:white;box-shadow:inset 0 -4px #f7a15c}
.journey-stop[aria-pressed=true] img {filter:brightness(0) invert(1)}
.dob-journey button:focus-visible,.dob-journey a:focus-visible {outline:3px solid #ed8b40;outline-offset:-4px}
.journey-view {position:relative;isolation:isolate;display:grid;align-items:end;min-height:clamp(350px,35vw,535px);padding:clamp(26px,4.5vw,75px);overflow:hidden;background:#173b49}
.journey-view[hidden] {display:none}
.journey-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.journey-view::after {content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(75deg,#09202ff2 1%,#09202f99 41%,transparent 78%)}
.journey-caption {max-width:530px}
.journey-caption h3 {margin:0;color:#fff;font:500 clamp(42px,5.5vw,84px)/1.03 Georgia,serif;letter-spacing:-.04em}
.journey-caption p {max-width:420px;margin:12px 0 24px;color:#e2f1f2;font-size:clamp(15px,1.2vw,18px);line-height:1.5}
.journey-caption a {display:inline-flex;align-items:center;gap:20px;background:#fff3d7;color:#153b49!important;padding:12px 20px;border-radius:2px;font-size:14px;font-weight:700}
.journey-caption a:hover {background:#ffd6a5}
.journey-cinema {box-sizing:border-box;width:min(920px,92vw);max-height:90vh;border:1px solid #67818c;background:#0b2634;color:white;padding:15px}
.journey-cinema::backdrop {background:#071d29db}
.journey-cinema form {display:flex;justify-content:flex-end;margin:0 0 10px}
.journey-cinema video {display:block;width:100%;max-height:72vh;background:#081d28}
@media(prefers-reduced-motion:no-preference) {
 .journey-view:not([hidden]) .journey-photo {animation:dob-arrive .65s ease-out both}
 @keyframes dob-arrive {from {transform:scale(1.035);opacity:.6} to {transform:none;opacity:1}}
}
@media(max-width:650px) {
 .journey-header {align-items:flex-start;flex-direction:column}
 .journey-header h2 {max-width:10ch}
 .journey-stops .journey-stop {align-items:flex-start;flex-direction:column;gap:7px;padding:12px 8px}
 .journey-stop small {font-size:9px;letter-spacing:0}
 .journey-stop strong {font-size:15px}
 .journey-view {min-height:355px;padding:24px 18px}
 .journey-view::after {background:linear-gradient(0deg,#0a2435f5,#0a243591 50%,transparent)}
}

.journey-next {display:none}
[data-dob-theme=winter] .journey-next {display:block;background:#e9f3f3;padding:clamp(22px,4vw,60px) max(5vw,calc((100% - 1200px)/2))}
.journey-next a {display:flex;align-items:center;gap:clamp(14px,3vw,44px);background:#153846;color:#fff!important;overflow:hidden}
.journey-next-photo {width:clamp(80px,22vw,290px);height:clamp(120px,12vw,190px);object-fit:cover}
.journey-next-copy small,.journey-next-copy strong {display:block;color:white}
.journey-next-copy small {font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px;color:#bddadf}
.journey-next-copy strong {font:500 clamp(24px,3.6vw,54px)/1.08 Georgia,serif}
.journey-next-icon {width:clamp(36px,5vw,72px);margin-left:auto;filter:brightness(0) invert(1)}
.journey-next-arrow {margin-right:clamp(15px,3vw,44px);color:#ffc28e;font-size:32px}
@media(max-width:550px) {.journey-next-icon{display:none}.journey-next-arrow{margin-left:auto}}

.dob-journey .journey-view > .journey-photo {height:100%;max-width:none}
@media(min-width:768px) {.dob-journey {scroll-margin-top:112px}}
.journey-film-open span {font-size:0;width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid #b54b29}

[data-dob-theme=winter] .elementor-5995 .gd-hero {
  background-image:linear-gradient(90deg,#0b283ed1,#10324736),url('winter-media/hija-goce-delchev-packed.webp')!important;
}
[data-dob-theme=winter] .dobrinishte-business-card[href$="/hizha-goce-delchev/"] .dobrinishte-business-card__media {background-image:url('winter-media/hija-goce-delchev-packed.webp')!important}
[data-dob-theme=winter] .dobrinishte-business-card[href$="/sedalkov-lift/"] .dobrinishte-business-card__media {background-image:url('winter-media/lift-hija-bezbog.webp')!important}
[data-dob-theme=winter] .journey-header,
[data-dob-theme=winter] .dob-footer__main {position:relative;isolation:isolate}
[data-dob-theme=winter] .journey-header::after,
[data-dob-theme=winter] .dob-footer__main::before {
  content:'';position:absolute;pointer-events:none;z-index:-1;width:clamp(50px,7vw,95px);aspect-ratio:1;
  mask:url('resort-icons/snowflake.svg') center/contain no-repeat;background:#47899c;opacity:.33;
  right:20%;top:-1.1rem;transform:rotate(15deg)
}
[data-dob-theme=winter] .dob-footer__main::before {top:auto;bottom:10px;right:4%;width:48px;background:#b4dfed}
.journey-cinema .winter-clip-picker {display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:white;margin:0 0 10px}
.winter-clip-picker select {width:auto;max-width:100%;color:#173948;background:white;padding:8px;border-radius:4px}
@media(max-width:767px){
  [data-dob-theme=winter] :is(.dob-home-hero,.elementor-5770 > .e-con:first-child)::before {background-image:linear-gradient(180deg,#08233655,#082336ad),url('winter-media/bezbog-portrait.webp')!important}
  [data-dob-theme=winter] .elementor-5995 .gd-hero {background-image:linear-gradient(90deg,#0b283ed1,#10324736),url('winter-media/hija-goce-delchev-and-the-mountain.webp')!important}
  [data-dob-theme=winter] .journey-header::after {right:0;top:0}
}

/* Winter photography and wayfinding for the lower homepage and footer. */
[data-dob-theme=winter] .dob-home-section--cinema {
  background:radial-gradient(ellipse at 15% 15%,#315b70,transparent 55%),#102f41;
}
[data-dob-theme=winter] .dob-home-section--cinema .fp-eyebrow,
[data-dob-theme=winter] .fp-cta .fp-eyebrow {color:#dcf1f6}
[data-dob-theme=winter] .fp-cta .fp-button {color:#fff}
[data-dob-theme=winter] .dob-footer {
  background:linear-gradient(90deg,#0a2639ed,#102e42e8 60%,#123148ce),url('winter-media/hija-bezbog-view.webp') center 47%/cover no-repeat;
}
[data-dob-theme=winter] .dob-footer__column h2::before {
  display:block;content:'';width:28px;height:28px;margin-bottom:12px;background:#c9e6ef;
  mask:var(--footer-symbol,url('resort-icons/chalet.svg')) center/contain no-repeat;
}
[data-dob-theme=winter] .dob-footer nav[aria-label="Полезни връзки"] {--footer-symbol:url('resort-icons/trailmap.svg')}
[data-dob-theme=winter] .dob-footer__contact {--footer-symbol:url('resort-icons/snowflake.svg')}
