/* Desktop only. Keep the existing phone and tablet layout unchanged. */
@media screen and (min-width:901px) and (hover:hover) and (pointer:fine){
 .hospital-opening-banner>.wrap{padding-top:4px;padding-bottom:4px}
 .hospital-opening-banner img{height:60px}
 .site-notice{padding-top:3px;padding-bottom:3px}
 .header{position:relative;max-width:1180px;flex-wrap:nowrap;gap:16px;padding-top:6px;padding-bottom:6px}
 .header .brand .mark{width:40px;height:40px;flex-basis:40px}
 .header .brand>span:last-child{display:flex;flex-direction:column;gap:4px}
 .header .brand strong{font-size:24px;line-height:1.1}
 .header .brand small{font-size:10px;line-height:1.2}
 :root body header .header .brand:is(:hover,:active){background:transparent;border-color:transparent;outline:none;box-shadow:none;cursor:pointer}
 :root body header .header .brand:focus-visible{background:transparent;border-color:transparent;outline:2px solid #fff;outline-offset:3px}
 :root body header .header .brand:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
 :root body .header .menu{display:inline-flex;flex-direction:row;gap:8px;height:44px!important;min-height:44px!important;min-width:104px;border:2px solid transparent}
 :root body header .header .menu:is(:hover,:focus-visible){background:#245fc9;border-color:#fff;outline:none;box-shadow:none}
 .header .menu-panel{display:none;position:absolute;right:28px;top:100%;width:min(580px,calc(100vw - 56px));min-height:0;background:#202020;border:1px solid #454545;border-top:4px solid #245fc9;border-radius:0 0 10px 10px;box-shadow:0 12px 24px #0006;padding:10px}
 body.menu-open .header .menu-panel{display:flex;flex-direction:column;height:auto;max-height:var(--menu-panel-max-height,70dvh)}
 .header .nav{display:none}
 body.menu-open .header .menu-panel .nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;justify-content:stretch;gap:6px;flex:1 1 auto;width:100%;min-height:0;max-height:calc(var(--menu-panel-max-height,70dvh) - 24px);margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain}
 .header .nav a{display:flex;align-items:center;gap:6px;font-size:15px;min-height:44px;padding:8px 10px;white-space:normal}
 :root body .menu-more{flex:0 0 44px;display:flex;align-items:center;justify-content:center;min-height:44px;padding:5px 0;background:#202020}
 :root body #menuMoreButton{height:34px!important;min-height:34px!important;padding:0 14px;border:0;border-radius:999px;background:#245fc9;color:#fff}
 /* A desktop dropdown must leave the page scrollbar and content width intact. */
 body.menu-open{position:static;top:auto;left:auto;right:auto;width:auto;overflow:visible;overscroll-behavior:auto}
 html.menu-open{overflow:visible;overscroll-behavior:auto}
 .page-title-bar{padding-top:7px;padding-bottom:7px}
 .page-title-bar .page-description{padding-top:4px}
 .pageintro{padding-top:20px;padding-bottom:10px}
 #main>.section{padding-top:16px;padding-bottom:20px}
 .hero .wrap{padding-top:24px;padding-bottom:24px}
 .hero h1{margin-top:8px;margin-bottom:12px}
 /* A lighter home-page hierarchy, with readable copy and compact actions. */
 #main>.hero h1{font-size:36px;line-height:1.12;margin-top:6px;margin-bottom:10px}
 #main>.hero p{font-size:16px;line-height:1.5;margin-top:0;margin-bottom:0}
 #main:has(>.hero) .home-help-heading h2{font-size:28px;line-height:1.2;margin-top:4px;margin-bottom:8px}
 #main:has(>.hero) .home-help-heading{margin-bottom:12px}
 #main:has(>.hero) .task{padding:16px}
 #main:has(>.hero) .task strong{font-size:18px;line-height:1.4}
 #main:has(>.hero) .jellico-install-area{padding-top:12px}
 :root body #main:has(>.hero) .jellico-install-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:center;gap:20px;padding:16px}
 #main:has(>.hero) .jellico-install-intro{align-items:center;margin-bottom:0}
 #main:has(>.hero) .jellico-install-card h2{font-size:18px;margin-bottom:4px}
 :root body #main:has(>.hero) .jellico-install-button{min-height:48px;font-size:16px}
 /* Keep public controls compact without changing directory cards or document readers. */
 :root body #main:not(:has(.document-reader,.meeting-document-reader,.record-scan-page)) :is(.btn,.phone-link,button):not(:where(#homePhotoOpen,#directoryResults *,#directory-business-detail *)){
  height:44px!important;min-height:44px!important;padding-top:6px;padding-bottom:6px
 }
 :root body #site-alerts .top-business-banner>.wrap{min-height:56px;padding-top:4px;padding-bottom:4px}
 :root body #site-alerts .top-business-banner img{height:48px}
 /* Ordinary introductions scroll away so they cannot cover the content below. */
 body:not(:has(.meeting-document-reader,.record-scan-page)) #main>.page-title-bar{position:static;top:auto}
 body:not(:has(.meeting-document-reader,.record-scan-page)) #main:has(>.page-title-bar){padding-top:0}
 body:not(:has(.meeting-document-reader,.record-scan-page)) .page-title-bar h1{font-size:26px}
 html{scroll-padding-top:calc(var(--site-header-height,100px) + 10px)}
 html:has(.meeting-document-reader,.record-scan-page){scroll-padding-top:calc(var(--site-header-height,100px) + var(--page-title-height,0px) + 10px)}
 /* Use the desktop width to keep the forecast beside current conditions. */
 a.card.home-weather-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:4px 24px;padding:12px 20px}
 .home-weather-card h2{grid-column:1 / -1;margin:0 0 2px}
 .home-weather-current{grid-column:1;grid-row:2}
 .home-weather-sun-times{grid-column:1;grid-row:3;margin-top:0}
 .home-weather-days{grid-column:2;grid-row:2;align-self:center;border-top:0;margin-top:0;padding-top:0}
 .home-weather-card .home-weather-source{grid-column:2;grid-row:3;align-self:center;text-align:center;margin:0}
}
