/* Restore mobile sizing lost with generated archive styles. */
.mri-missing-photo{display:flex;position:relative;flex-direction:column;gap:8px;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:140px;padding:24px;background:#f1f4f5;border:1px dashed #b9c7cc;border-radius:12px;color:#4d626b;text-align:center;font:500 14px/1.5 Poppins,Arial,sans-serif}
.mri-missing-photo small{font-size:11px;font-weight:400;color:#637780}
img.mri-restore-missing[hidden]{display:none!important}
.kb-is-ratio-image:has(>.mri-missing-photo){padding-bottom:0!important;height:auto!important;aspect-ratio:auto!important}
.kb-is-ratio-image>.mri-missing-photo{position:relative!important;inset:auto!important}
@media(max-width:1024px){
 main img,main figure,main video,main iframe,:is(.entry-content,main) img,:is(.entry-content,main) figure{max-width:100%!important}
 main img,:is(.entry-content,main) img{height:auto}
 .kt-row-column-wrap>*,.elementor-container>*,.elementor-row>*{min-width:0}
}
@media(max-width:767px){
 :is(.entry-content,main) .kt-row-column-wrap{grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;row-gap:24px!important}
 :is(.entry-content,main) .kt-row-column-wrap>.wp-block-kadence-column{width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
 :is(.entry-content,main) .kt-inside-inner-col{min-width:0;max-width:100%;box-sizing:border-box}
 :is(.entry-content,main) h1{font-size:clamp(27px,7.2vw,34px)!important;line-height:1.3!important}
 :is(.entry-content,main) h2{font-size:clamp(23px,6vw,29px)!important;line-height:1.35!important}
 :is(.entry-content,main) h3{font-size:21px!important;line-height:1.4!important}
 :is(.entry-content,main) p,:is(.entry-content,main) li{overflow-wrap:break-word;word-break:normal;hyphens:none}
 :is(.entry-content,main) p{font-size:16px!important;line-height:1.75!important}
 :is(.entry-content,main) figure{width:auto!important;margin-left:auto!important;margin-right:auto!important}
 :is(.entry-content,main) figure img:not([hidden]){width:100%;height:auto;object-fit:contain}
 :is(.entry-content,main) .kb-is-ratio-image img:not([hidden]){height:100%;object-fit:cover}
 :is(.entry-content,main) .kb-row-layout-wrap{max-width:100%}
 :is(.entry-content,main) .mri-photo-section{display:flex!important;flex-direction:column;gap:22px!important}
 .mri-photo-section>.mri-copy-column,.mri-photo-section>.mri-copy-column>.kt-inside-inner-col{display:contents!important}
 .mri-photo-section>.mri-photo-column{order:1!important}
 .mri-photo-column>.kt-inside-inner-col{min-height:0!important;height:auto!important}
 .mri-photo-column:has(.mri-missing-photo),.mri-photo-column:has(.mri-missing-photo)>.kt-inside-inner-col{min-height:0!important;height:auto!important}
 .mri-photo-section .mri-section-heading{order:0!important;width:100%;margin-bottom:0!important}
 .mri-photo-section>.mri-copy-column>.kt-inside-inner-col>:not(.mri-section-heading){order:2}
 :is(.entry-content,main) .kb-progress-label-wrap{display:flex!important;align-items:center;justify-content:space-between;gap:12px;padding:12px!important;min-height:50px;height:auto!important;white-space:normal!important}
 :is(.entry-content,main) .kt-progress-label{font-size:12px!important;line-height:1.45!important;text-align:left;min-width:0;flex:1}
 :is(.entry-content,main) .kt-progress-percent{position:static!important;float:none!important;flex:none;font-size:12px!important}
 :is(.entry-content,main) .kb-progress-bar,:is(.entry-content,main) .kb-progress-bar-container{height:auto!important;min-height:50px}
 :is(.entry-content,main) .splide__slide{min-width:0;box-sizing:border-box}
 :is(.entry-content,main) .kb-advanced-slide,:is(.entry-content,main) .kb-advanced-slide-inner-wrap,:is(.entry-content,main) .kb-advanced-slide-inner{height:auto!important;min-height:0!important;max-width:100%}
 :is(.entry-content,main) .kb-slider-size-fixed .splide__track{height:auto!important}
 :is(.entry-content,main) .kb-advanced-slide-inner{padding:20px!important}
 :is(.entry-content,main) .kb-advanced-slide p strong{font-size:21px!important;line-height:1.4!important}
 :is(.entry-content,main) .kt-button,:is(.entry-content,main) .kb-button{max-width:100%;white-space:normal;text-align:center}
 :is(.entry-content,main) input,:is(.entry-content,main) textarea,:is(.entry-content,main) select{max-width:100%;box-sizing:border-box}
 :is(.entry-content,main) .elementor-container,:is(.entry-content,main) .elementor-row{flex-wrap:wrap}
 :is(.entry-content,main) .elementor-column{width:100%!important;min-width:0}
 :is(.entry-content,main) table{display:block;max-width:100%;overflow-x:auto}
 .mri-missing-photo{min-height:120px;max-height:170px}
}

/* Legacy OceanWP pages put archived blocks directly inside main. */
main .kt-row-column-wrap>.wp-block-kadence-column,main .kt-inside-inner-col{min-width:0!important;max-width:100%!important;box-sizing:border-box}main figure,main img{max-width:100%!important}

.mri-site-credit{box-sizing:border-box;width:100%;text-align:center;font:400 12px/1.8 Poppins,Arial,sans-serif;padding:20px 24px;background:#edf3f6;color:#334d5c}.mri-site-credit a{color:#165b78!important;text-decoration:underline!important;white-space:nowrap}
