/* Scoped to verified Coastal Collection selectors. */
#main .grid:has(> article.card) {align-items:stretch;}
#main .grid > article.card {display:flex;flex-direction:column;min-width:0;height:100%;}
#main .grid > article.card > a:has(> img) {display:block;overflow:hidden;}
#main .grid > article.card > a > img {display:block;width:100%;height:auto!important;aspect-ratio:4/3;object-fit:cover;object-position:50% 50%;}
#main .grid > article.card > .card-body {display:flex;flex-direction:column;flex:1;min-width:0;}
#main .grid > article.card .card-body > .actions {margin-top:auto;padding-top:16px;display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
#main .grid > article.card .card-body > h3 {line-height:1.18;}
#main .split > img {display:block;width:100%;height:100%;object-fit:cover;object-position:center;min-width:0;}
#main .split > .split-copy {min-width:0;align-self:center;}
#main .wp-block-image:not(.alignleft):not(.alignright) {margin-inline:auto;text-align:center;}
#main .wp-block-image img {max-width:100%;height:auto;}
@media(min-width:900px){
 #main .section > .wrap:has(> .grid > article.card) {width:calc(100% - 96px);max-width:1440px;margin-inline:auto;padding-inline:0;}
 #main .section:has(> .wrap > .grid > article.card) {padding-bottom:64px;}
 #main .grid:has(> article.card) {gap:32px;}
 #main .grid > article.card .card-body > h3 {min-height:2.36em;}
 #main .split {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:calc(100% - 96px);max-width:1440px;margin:0 auto 48px;min-height:0;align-items:stretch;}
 #main .split > img {height:100%;min-height:360px;max-height:560px;}
 #main .split > .split-copy {padding:clamp(32px,5vw,80px);}
 #main .split.reverse > img {grid-column:2;grid-row:1;}
 #main .split.reverse > .split-copy {grid-column:1;grid-row:1;}
}
@media(max-width:899px){
 #main .split {display:flex;flex-direction:column;width:100%;min-height:0;}
 #main .split > img {height:auto;aspect-ratio:4/3;max-height:500px;}
 #main .split > .split-copy {width:100%;box-sizing:border-box;padding:32px 24px;}
 #main .grid > article.card {height:auto;}
 #main .grid > article.card .card-body > h3 {min-height:0;}
}
