/* Warmer opening and reading surfaces for elderly patients.
   Words are unchanged. October–April (body.dw-winter-sun) shows the
   existing city photograph behind the title. May–September keeps the
   colours and hides the photograph. Centre pages use that city's photo
   via the existing window list. */

body:not(.dw-winter-sun) #dw-desktop-window{display:none!important}

/* A real opening: the photograph is visible, and the words that were
   already on the page sit on a cream panel in front of it. */
body.dw-winter-sun #dw-desktop-window .dw-window-tint{
 background:linear-gradient(180deg,rgba(90,24,8,.72) 0,rgba(106,31,14,.5) 46%,rgba(106,31,14,.34) 100%)!important
}
@media (min-width:960px){
 body.dw-winter-sun #dw-desktop-window{height:250px;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 160px,transparent 250px);mask-image:linear-gradient(180deg,#000 0,#000 160px,transparent 250px)}
 body.dw-winter-sun.home .dw-home-carousel-as-hero{padding-top:72px!important;padding-bottom:0!important;min-height:0!important;gap:8px!important}
 body.dw-winter-sun.home #main .dw-home-carousel-heading-hero{
  display:block!important;max-width:none;margin:4px auto 8px!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  text-shadow:0 2px 14px rgba(60,12,0,.85)!important;
  color:#fff6d8!important;-webkit-text-fill-color:#fff6d8!important;
  font-size:clamp(28px,2.2vw,34px)!important;line-height:1.2!important
 }
 body.dw-winter-sun.home #main .dw-hero-escape{display:block;color:#ffd56a!important;-webkit-text-fill-color:#ffd56a!important}
 body.dw-winter-sun:not(.home) #main h1:first-of-type{
  display:inline-block;position:relative;z-index:2;margin:8px 0 12px!important;padding:10px 18px!important;
  background:#fff4e4!important;color:#8f2f14!important;border-radius:12px;
  box-shadow:0 8px 20px rgba(60,12,0,.28);text-shadow:none!important
 }
}

/* Phones share the same warm frame. One still photograph, no crossfade.
   Card and text colours on phones live in phone-autumn.css, per surface
   (a blanket .hentry ink rule here made the phone wizard unreadable,
   2026-10-25 night). */
@media (max-width:959px){
 body.dueseweb-modern{background-color:#6a1f0e;font-size:18px;line-height:1.65}
 body.dw-winter-sun #dw-desktop-window{display:block!important;position:absolute;top:0;left:0;right:0;height:148px;z-index:-1;overflow:hidden;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 88px,transparent 148px);mask-image:linear-gradient(180deg,#000 0,#000 88px,transparent 148px)}
 body.dw-winter-sun.home #main .dw-home-carousel-heading-hero{font-size:26px!important;line-height:1.2!important;margin:0 auto 6px!important}
 body.dw-winter-sun #dw-desktop-window .dw-window-layer:first-child{opacity:1;background-size:cover;background-position:center 40%}
 body.dw-winter-sun #dw-desktop-window .dw-window-tint{position:absolute;inset:0;background:rgba(106,31,14,.86)}
}

/* Long reading on every page, not only the Kosten pilot. Centre leaves
   and the homepage mosaic keep their own cards. Desktop only: phones get
   the same cream reading card from phone-autumn.css. */
@media (min-width:960px){
body.dueseweb-modern:not(.page-id-839):not(.home) #main .hentry > .entry-content:not(:has(.dw-center-leaf,.dw-seo-intro)){
 --dw-ink:#3a1c0c;background:#fff4e4!important;color:#3a1c0c!important;
 border:1px solid #ffd9ad;border-radius:16px;box-shadow:0 8px 22px rgba(60,12,0,.28);
 padding:22px 26px!important;margin:16px auto 28px!important;text-align:left
}
body.dueseweb-modern:not(.page-id-839):not(.home) #main .hentry > .entry-content:not(:has(.dw-center-leaf,.dw-seo-intro)) :is(p,li,dd){
 max-width:68ch;line-height:1.65;text-align:left;color:#3a1c0c!important
}
body.dueseweb-modern:not(.page-id-839):not(.home) #main .hentry > .entry-content:not(:has(.dw-center-leaf,.dw-seo-intro)) :is(h1,h2,h3,h4){
 color:#8f2f14!important;text-align:left
}
body.dueseweb-modern:not(.page-id-839):not(.home) #main .hentry > .entry-content:not(:has(.dw-center-leaf,.dw-seo-intro)) a:not(.dw-cta){
 color:#a3431a!important
}
}

body.dueseweb-modern :is(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid #ffd56a;outline-offset:3px
}
body.dueseweb-modern :is(a.dw-cta,button.dw-cta,a.dw-seo-button,.dw-leaf-aside__cta){
 min-height:48px
}
body.dueseweb-modern #main :is(a.dw-cta,button.dw-cta,a.dw-seo-button),.dueseweb-modern #main :is(a.dw-cta,button.dw-cta,a.dw-seo-button) *{
 color:#fff!important
}

/* Finder: the same warm top, list cards already cream on desktop. */
body.dw-coastal-preview.dw-winter-sun .top{
 background:linear-gradient(180deg,rgba(106,31,14,.2),rgba(156,52,22,.55));
}
body.dw-winter-sun{isolation:isolate}
