/* Restore the desktop composition; only the panel opacity changes. */
body:is(.public-portal,.public-programare) .portal-calendar-shell .gc-side{display:flex!important;flex-direction:column!important}
body:is(.public-portal,.public-programare) .portal-calendar-shell #gcTimes{display:flex!important;flex-direction:column!important;flex:1!important}
body:is(.public-portal,.public-programare) .portal-calendar-shell #gcTimes .gc-hint{margin-top:auto!important}
body:is(.public-portal,.public-programare) .portal-calendar-shell #gcTimes .gc-time-grid{margin-bottom:22px!important}
@media(min-width:761px){
 body:is(.public-portal,.public-programare) .gentrom-photo-layer{display:none!important}
 body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero{display:grid!important;grid-template-columns:170px minmax(0,1fr) auto!important;align-items:center!important;gap:12px 18px!important;padding-left:max(24px,calc((100% - 1120px)/2))!important;padding-right:max(24px,calc((100% - 1120px)/2))!important;box-sizing:border-box!important}
 body:is(.public-portal,.public-programare) .hero-inner{display:contents!important}
 body:is(.public-portal,.public-programare) .hero-brand{grid-column:1!important;grid-row:1!important}
 body:is(.public-portal,.public-programare) .hero-copy{grid-column:1 / 3!important;grid-row:2!important}
 body:is(.public-portal,.public-programare) .hero-links{grid-column:3!important;grid-row:1!important;justify-self:end!important}
 body:is(.public-portal,.public-programare) .portal-shell>.p-card{background:rgba(255,255,255,.68)!important;backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important}
 body:is(.public-portal,.public-programare) .calendar-card :is(.gc-layout,.gc-month,.gc-side){background:transparent!important}
}
@media(min-width:761px) and (max-height:850px){
 body:is(.public-portal,.public-programare) .hero-copy{grid-column:2!important;grid-row:1!important}
}
/* Retain the agreed top-aligned introduction. */
body:is(.public-portal,.public-programare)::after{background-position:center top!important}
@media(max-width:760px){
 /* Full 4:3 photograph, with the heading over its lower edge. */
 body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero{height:auto!important;min-height:0!important;flex-basis:auto!important;padding:0 0 56px!important}
 body:is(.public-portal,.public-programare) .gentrom-photo-layer{inset:0 0 auto!important;width:100%!important;height:auto!important;aspect-ratio:4 / 3}
 body:is(.public-portal,.public-programare) .gentrom-photo-image{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important;transform:none!important}
 body:is(.public-portal,.public-programare) .gentrom-photo-layer::after{background:linear-gradient(180deg,transparent 54%,rgba(4,15,23,.18) 72%,rgba(4,15,23,.88) 100%)!important}
 body:is(.public-portal,.public-programare) .portal-shell .gentrom-hero .hero-inner{height:75vw!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
 body:is(.public-portal,.public-programare) .portal-shell>.p-card,
 body:is(.public-portal,.public-programare) .portal-shell>.p-card:not(.calendar-card){background:#f7f8fa!important}
 body:is(.public-portal,.public-programare) .calendar-card :is(.gc-layout,.gc-month,.gc-side){background:transparent!important}
 body:is(.public-portal,.public-programare) .p-card :is(input,select,textarea){background:#fff!important}
 body:is(.public-portal,.public-programare) .hero-brand{top:0!important;right:0!important;bottom:auto!important;left:auto!important;transform:none!important}
 body:is(.public-portal,.public-programare) .hero-brand .portal-brand-logo{width:138px!important;height:50px!important;object-position:right center!important}
 body:is(.public-portal,.public-programare) .hero-copy{z-index:2!important;bottom:16px!important;left:16px!important;right:16px!important;text-align:center!important}
 body:is(.public-portal,.public-programare) .hero-copy h1{font-size:clamp(28px,8.5vw,38px)!important}
}
