/* Blue Label Diving additions to the Swimline styles */
.rich-text .table-wrap{overflow-x:auto;margin:1.5em 0;-webkit-overflow-scrolling:touch}
.rich-text table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.45;min-width:520px}
.rich-text th,.rich-text td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid rgba(14,26,37,.12)}
.rich-text thead th{font-weight:600;border-bottom:2px solid rgba(14,26,37,.25)}
.rich-text thead th:empty{display:none}
.rich-text table:has(thead th:empty) thead{display:none}
.rich-text td:first-child{font-weight:600;white-space:nowrap}
.rich-text table:not(:has(thead th:empty)) td:first-child{white-space:normal}
.rich-text em:only-child{opacity:.75}
.cform .h3{margin-bottom:12px}
.cform .p a{text-decoration:underline}
.logo__mark{width:28px;height:auto}
@media (max-width:767px){
.hero__title.h1{font-size:44px;line-height:1.05}
.hero__img{object-position:66% 50%}
}
.rich-text img{display:block;width:100%;height:auto}
.rich-text img.portrait{width:62%}
@media (max-width:767px){.rich-text img.portrait{width:100%}}
.photo-credit{font-size:13px;line-height:1.4;opacity:.7;margin:6px 0 0 !important}
.photo-credit--hero{position:absolute;right:10px;bottom:8px;margin:0;padding:2px 8px;border-radius:4px;background:rgba(0,0,0,.45);color:#fff;opacity:1;font-size:12px;z-index:2;pointer-events:none}
/* hero slideshow */
.hero__slide{position:absolute;inset:0;opacity:0;animation:heroFade 30s infinite;z-index:0}
.hero__slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__bg > .hero__shade,.hero__bg > .hero__tint{z-index:1}
.hero__bg > .photo-credit--hero,.hero__slide .photo-credit--hero{z-index:3}
@keyframes heroFade{0%{opacity:0}3%{opacity:1}20%{opacity:1}23%{opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hero__slide{animation:none;display:none}}
/* large photo tiles, two per row */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;margin-top:8px}
@media (max-width:809.98px){.tiles{grid-template-columns:minmax(0,1fr);gap:12px}}
.tile{position:relative;display:block;aspect-ratio:3/2;border-radius:16px;overflow:hidden;background:#0b1a26;color:#fff;text-decoration:none}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.tile:hover img{transform:scale(1.03)}
.tile::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,12,20,.78) 0%,rgba(4,12,20,.25) 45%,rgba(4,12,20,0) 70%)}
.tile__body{position:absolute;left:24px;right:24px;bottom:20px;z-index:1}
.tile__chip{font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 6px;opacity:.85}
.tile__title{font-family:var(--font-serif);font-weight:400;font-size:clamp(26px,3vw,36px);line-height:1.1;margin:0;color:#fff}
.tile__sub{font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;margin:8px 0 0;opacity:.8}
/* tiles keep the photo's own shape (no cropping) */
.tiles{align-items:start}
.tile{aspect-ratio:auto}
.tile img{position:static;display:block;width:100%;height:auto}
.tile:hover img{transform:none}
.tile__text{font-size:15px;line-height:1.45;margin:8px 0 0;opacity:.9;max-width:36em}
/* dive sites on the home page: two per row, with a short text */
@media (min-width:810px){.journal__posts.two-up{flex-wrap:wrap;row-gap:48px}.journal__posts.two-up>*{flex:0 0 calc(50% - 16px)}}
.blog-card__text{font-size:15px;line-height:1.5;margin:8px 0 0;opacity:.8}
/* never crop photos in cards or content: show the whole picture */
.program-card__media,.blog-card__media{height:auto !important;aspect-ratio:auto !important}
.program-card__img,.blog-card__img{height:auto !important;object-fit:contain !important;display:block}
.blog-card:hover .blog-card__img{transform:none !important}
.about__img{aspect-ratio:auto !important;object-fit:contain !important;height:auto !important}
@media (min-width:810px){.about__media{flex:1.3 0 0 !important}}
@media (min-width:1200px){.about__content{flex:1 0 0 !important;width:auto !important}.about__media{flex:1.2 0 0 !important}}
