/* Scoped to the first photo block of imported activity pages. */
.hoap-hero .elementor-column:last-child{min-width:0}
.hoap-hero .elementor-column:last-child>.elementor-widget-wrap{align-content:center}
.hoap-hero-photo.elementor-widget-image{width:100%!important;max-width:100%!important;flex:0 0 100%}
.hoap-hero-photo.elementor-widget-image>.elementor-widget-container{width:100%!important;max-width:none!important}
.hoap-hero-photo.elementor-widget-image a,.hoap-hero-photo.elementor-widget-image figure{display:block!important;width:100%!important;margin:0!important}
.hoap-hero-photo.elementor-widget-image img{display:block!important;width:100%!important;max-width:100%!important;height:360px!important;max-height:none!important;object-fit:cover!important;border-radius:18px}
@media(max-width:767px){.hoap-hero-photo.elementor-widget-image img{height:250px!important}}

/* Catalogue cards: supports current and legacy Elementor section markup. */
.hoap-cards.elementor-section{background-color:#F3EFE5!important}
.hoap-cards>.elementor-container{align-items:stretch}
.hoap-cards>.elementor-container>.elementor-column{padding:10px;box-sizing:border-box;min-width:0}
.hoap-cards>.elementor-container>.elementor-column>.elementor-widget-wrap,
.hoap-cards>.elementor-container>.elementor-column>.elementor-column-wrap{
 background:#FFFFFF!important;border:1px solid #B2C3CC!important;border-top:4px solid #245C8A!important;
 border-radius:18px!important;box-shadow:0 6px 18px rgba(24,62,82,.13)!important;
 margin:0!important;padding:22px!important;box-sizing:border-box;width:100%;
 display:flex;flex-direction:column;align-content:flex-start;
}
.hoap-cards .elementor-column-wrap>.elementor-widget-wrap{padding:0!important;display:flex;flex-direction:column;align-content:flex-start}
.hoap-cards .elementor-widget{width:100%;min-width:0}
.hoap-cards .elementor-widget-heading .elementor-heading-title{color:#183E52!important;line-height:1.35!important}
.hoap-cards .elementor-widget-text-editor,.hoap-cards .elementor-widget-text-editor p{color:#263A43!important;line-height:1.65!important}
.hoap-cards .elementor-widget-button{margin-top:auto}
.hoap-cards .elementor-button{background:#245C8A!important;color:#FFFFFF!important;white-space:normal}
.hoap-cards .elementor-button:hover{background:#183E52!important}
.hoap-cards .elementor-button:focus-visible{outline:3px solid #183E52;outline-offset:4px}
.hoap-cards .elementor-widget-image img{display:block;width:100%!important;max-width:100%!important;height:220px!important;object-fit:cover;border-radius:12px}
@media(max-width:767px){
 .hoap-cards>.elementor-container>.elementor-column{padding:10px 6px}
 .hoap-cards>.elementor-container>.elementor-column>.elementor-widget-wrap,
 .hoap-cards>.elementor-container>.elementor-column>.elementor-column-wrap{padding:18px!important}
}
