/* Ravens Boat Club — Editorial Homepage, v2.0.0
   Designed for the existing 2-column Elementor layout. Never narrows each
   card's copy into a second 50% column. Preserves original media URLs/content. */
:root{--rvh-navy:#06182b;--rvh-blue:#0a2540;--rvh-ink:#0c253c;--rvh-gold:#bd9850;--rvh-cream:#f9f7f3;--rvh-muted:#53687a}
.rvh-original-hidden{display:none!important}
.rvh-feature,.rvh-feature *{box-sizing:border-box}
.rvh-feature{position:relative;isolation:isolate;display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:#fff;box-shadow:0 20px 55px rgba(1,13,27,.17);font-family:inherit;transform:translateZ(0)}
.rvh-feature :is(h2,p,ul,li){margin-block-start:0;margin-block-end:0}
.rvh-feature img{display:block!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.rvh-media{position:relative;order:-1;flex:0 0 auto;width:100%;height:clamp(285px,26vw,390px);min-height:0;overflow:hidden;background:#152c42}
.rvh-media::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(4,17,29,.03) 35%,rgba(4,17,29,.44) 100%)}
.rvh-media-image{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 50%!important;transition:transform .6s ease;will-change:transform}
.rvh-feature:hover .rvh-media-image{transform:scale(1.025)}
/* Portrait uploads display entirely over a softened full-width background. */
.rvh-media-backdrop{display:none!important}
.rvh-media.is-portrait .rvh-media-backdrop{display:block!important;position:absolute;inset:-18px;width:calc(100% + 36px)!important;height:calc(100% + 36px)!important;object-fit:cover!important;filter:blur(14px) brightness(.66);opacity:.8;transform:scale(1.08)}
.rvh-media.is-portrait .rvh-media-image{object-fit:contain!important;object-position:center!important;filter:none!important}
.rvh-photo-caption{position:absolute;z-index:2;left:clamp(24px,3.5vw,46px);bottom:22px;color:#fff!important;font-size:11px;line-height:1.4;font-weight:750;letter-spacing:.21em;text-transform:uppercase;text-shadow:0 2px 15px #07192e}
.rvh-photo-caption::before{content:"";display:inline-block;vertical-align:middle;width:29px;height:2px;margin-right:10px;background:#d2ab65}
.rvh-media-shade{display:none}
.rvh-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:0;width:100%;padding:clamp(28px,3vw,45px) clamp(28px,3.5vw,52px) clamp(32px,3.3vw,48px);background:#fff}
.rvh-kicker{font-size:11px!important;font-weight:800!important;line-height:1.3!important;letter-spacing:.2em!important;text-transform:uppercase;color:#af823b!important;margin:0 0 14px!important}
.rvh-title{font-size:clamp(29px,2.4vw,40px)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.03em!important;text-transform:uppercase;color:var(--rvh-ink)!important;max-width:none!important;width:100%;margin:0 0 17px!important;overflow-wrap:normal!important;word-break:normal!important}
.rvh-description{font-size:clamp(15px,1.06vw,17px)!important;font-weight:400!important;line-height:1.65!important;letter-spacing:0!important;color:var(--rvh-muted)!important;max-width:65ch;margin:0 0 20px!important}
.rvh-points{display:flex!important;flex-wrap:wrap;list-style:none!important;gap:9px 11px!important;margin:0 0 4px!important;padding:0!important}
.rvh-points li{display:flex!important;align-items:flex-start;gap:9px;min-width:0;max-width:100%;padding:8px 11px!important;margin:0!important;border:1px solid #ebe7de;border-radius:5px;background:#faf8f4;color:#344d63;font-size:13px;line-height:1.4}
.rvh-point-tick{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#dfd0af;color:#6d4e1c;font-size:12px;font-weight:800;line-height:1}
.rvh-rule{width:48px;height:2px;background:var(--rvh-gold);margin-top:auto;margin-bottom:11px;flex:0 0 auto}
.rvh-aside{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#81909c;font-weight:700}
/* The Join card shares the same architecture: photograph first, wide content below. */
.rvh-feature--join,.rvh-feature--join .rvh-copy{background:var(--rvh-navy)}
.rvh-feature--join .rvh-copy{color:#fff}
.rvh-feature--join .rvh-title{color:#fff!important}
.rvh-feature--join .rvh-description{color:#ced8e4!important}
.rvh-feature--join .rvh-kicker{color:#d7b36e!important}
.rvh-fees{display:flex;flex-wrap:wrap;gap:0;margin:auto 0 22px!important;padding:15px 0 0;border-top:1px solid rgba(255,255,255,.19);width:100%}
.rvh-fee{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 45%}
.rvh-fee+.rvh-fee{padding-left:22px;border-left:1px solid rgba(255,255,255,.17)}
.rvh-fee-label{font-size:10px;letter-spacing:.1em;line-height:1.3;text-transform:uppercase;color:#b5c5d2}
.rvh-fee-value{font-size:clamp(23px,2vw,31px);font-weight:800;line-height:1.15;letter-spacing:-.02em;color:#fff}
.rvh-button{display:inline-flex!important;align-items:center;justify-content:space-between;gap:24px;max-width:100%;padding:14px 18px;border-radius:4px;border:1px solid #d3ae67;background:#d1ac66;color:#091c31!important;text-decoration:none!important;font-size:11px!important;letter-spacing:.13em!important;line-height:1.3!important;font-weight:800!important;text-transform:uppercase;transition:background .2s,transform .2s;white-space:normal}
.rvh-button:hover{background:#e4c585;transform:translateY(-2px);color:#091c31!important}
.rvh-button-icon{font-size:18px;line-height:1;font-weight:400}
.rvh-button:focus-visible,.rvh-regatta-link:focus-visible{outline:3px solid #e2bf7d;outline-offset:3px}
/* Regatta links are presented as balanced horizontal rows, not a narrow strip. */
.rvh-feature--regattas .rvh-title{font-size:clamp(28px,2.3vw,39px)!important}
.rvh-regatta-list{width:100%;margin-top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rvh-regatta-link{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 16px;border:1px solid #e8e4dc;border-radius:4px;background:#faf8f4;text-decoration:none!important;font-size:12px;line-height:1.35;font-weight:750;letter-spacing:.01em;text-transform:uppercase;color:var(--rvh-ink)!important;transition:background .2s,border-color .2s}
.rvh-regatta-link:hover{background:#f2ebdc;border-color:#d1b782;color:#0a233a!important}
.rvh-regatta-arrow{font-size:18px;font-weight:400;color:#b18c49}
/* A gallery collage occupies the generous upper half of its card. */
.rvh-feature--gallery{padding:0!important;background:#fff}
.rvh-gallery-heading{padding:clamp(28px,3vw,44px) clamp(28px,3.5vw,52px) 18px;flex:0 0 auto}
.rvh-feature--gallery .rvh-kicker{margin-bottom:11px!important}
.rvh-feature--gallery .rvh-title{margin:0!important;font-size:clamp(29px,2.4vw,40px)!important}
.rvh-gallery-grid{display:grid;flex:1 1 auto;grid-template-columns:1.5fr 1fr;grid-template-rows:repeat(2,minmax(145px,1fr));width:calc(100% - clamp(56px,7vw,104px));height:auto;min-height:330px;margin:4px auto 0;gap:9px;overflow:hidden;border-radius:5px}
.rvh-gallery-tile{min-height:0;min-width:0;position:relative;overflow:hidden;background:#d4dce2;border-radius:3px}
.rvh-gallery-tile--lead{grid-row:span 2}
.rvh-gallery-tile:nth-child(n+4){display:none}
.rvh-gallery-image{display:block!important;position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transition:transform .6s ease}
.rvh-gallery-tile:hover .rvh-gallery-image{transform:scale(1.035)}
.rvh-gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:0 0 auto;padding:19px clamp(28px,3.5vw,52px) clamp(29px,3.2vw,45px)}
.rvh-gallery-bottom::before{content:"MOMENTS ON & OFF THE WATER";display:block;color:#77889a;font-size:10px;font-weight:750;letter-spacing:.12em;line-height:1.5}
.rvh-feature--gallery .rvh-button{background:var(--rvh-navy);color:#fff!important;border-color:var(--rvh-navy)}
.rvh-feature--gallery .rvh-button:hover{background:#21415c;color:#fff!important}
.elementor-widget-container > .rvh-feature,.e-con > .rvh-feature{width:100%!important;max-width:none!important;margin:0!important}
/* Parent rows/columns are retained to preserve Elementor's own structure. */
.rvh-pair-row{align-items:stretch!important}
.rvh-pair-row > *{min-width:0!important}
@media (min-width:1100px){
 .rvh-feature{min-height:710px}
 .rvh-feature--about .rvh-copy,.rvh-feature--join .rvh-copy,.rvh-feature--regattas .rvh-copy{min-height:332px}
}
@media (min-width:1550px){.rvh-media{height:395px}.rvh-feature{min-height:770px}}
@media (max-width:1100px){
 .rvh-media{height:290px}
 .rvh-feature{min-height:0}
 .rvh-copy{padding:27px}
 .rvh-title{font-size:28px!important}
 .rvh-description{font-size:15px!important}
 .rvh-points li{font-size:12px}
 .rvh-gallery-heading{padding:27px 27px 18px}
 .rvh-gallery-grid{width:calc(100% - 54px);min-height:280px}
 .rvh-gallery-bottom{padding:20px 27px 28px}
}
@media (max-width:960px){
 .rvh-pair-row{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important}
 .rvh-pair-row > *{width:100%!important;max-width:100%!important;flex:0 0 auto!important;min-width:0!important}
 .rvh-feature{height:auto}
 .rvh-media{height:390px}
 .rvh-gallery-grid{min-height:390px}
}
@media (max-width:600px){
 .rvh-feature{border-radius:8px}
 .rvh-media{height:260px}
 .rvh-copy{padding:28px 24px 30px}
 .rvh-title,.rvh-feature--gallery .rvh-title{font-size:29px!important}
 .rvh-description{font-size:15px!important}
 .rvh-regatta-list{grid-template-columns:1fr}
 .rvh-gallery-heading{padding:26px 23px 15px}
 .rvh-gallery-grid{width:calc(100% - 46px);min-height:260px;grid-template-rows:1fr 1fr;gap:6px}
 .rvh-gallery-bottom{padding:20px 23px 28px;flex-wrap:wrap}
 .rvh-gallery-bottom::before{flex:1 0 100%}
 .rvh-photo-caption{left:24px;bottom:17px}
}
@media (prefers-reduced-motion:reduce){.rvh-media-image,.rvh-gallery-image,.rvh-button{transition:none!important}}
