/*
Theme Name: Monifieth Modern
Author: Monifieth Swim Club
Description: A bespoke responsive theme for Monifieth Swim Club, preserving WordPress pages, posts, menus and plugin content.
Version: 1.0.11
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: monifieth-modern
License: GPL v2 or later
*/
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:fixed;top:15px;left:15px;padding:15px;z-index:999;background:white}.entry-content{max-width:1100px;font-size:16px;line-height:1.9;overflow-wrap:anywhere}.entry-content h1,.entry-content h2,.entry-content h3{line-height:1.1;margin:1em 0 .5em}.entry-content h2{font-size:42px}.entry-content h3{font-size:32px}.entry-content a{color:#b81523;text-decoration:underline}.entry-content img{max-width:100%;height:auto}.entry-content iframe,.entry-content video{max-width:100%}.entry-content iframe{border:0}.entry-content table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:25px 0}.entry-content td,.entry-content th{border:1px solid #c6cdd1;padding:12px;vertical-align:top}.entry-content th{background:#e5e9ea}.entry-content .aligncenter{margin-left:auto;margin-right:auto}.entry-content .alignleft{float:left;margin:0 25px 20px 0}.entry-content .alignright{float:right;margin:0 0 20px 25px}.entry-content:after{content:'';display:table;clear:both}.wp-caption{max-width:100%}.wp-caption-text{font-size:12px;color:var(--muted)}.pagehero h1{font-size:clamp(48px,6.2vw,85px);line-height:1.05;overflow-wrap:anywhere}.pagehero h1 em{font-style:normal;color:#ff4147}.news-search{display:flex;gap:10px;flex-wrap:wrap}.pagination{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:40px 0}.page-numbers{padding:12px 16px;border:1px solid #c9ced0}.page-numbers.current{background:var(--ink);color:white}.post-navigation{padding-bottom:50px}.nav-links{display:flex;gap:30px;justify-content:space-between}.nav-links a{color:#b81523;text-decoration:underline}.page-directory{border-top:1px solid #ffffff20;margin-top:35px;padding-top:25px;font-size:13px}.page-directory summary{cursor:pointer;color:white}.page-directory>ul{columns:3;margin-top:20px;padding:0;list-style:none}.page-directory ul ul{padding-left:18px;list-style:none}.page-directory li{break-inside:avoid}.footer .page-directory a{font-size:12px!important}.intro{color:var(--muted);font-size:14px;line-height:1.8}.article-meta{padding-top:30px;border-top:1px solid #d1d6d8;font-size:13px}.msc-menu{list-style:none;margin:0;padding:0;display:flex;gap:24px}.msc-menu li{position:relative}.msc-menu .sub-menu{display:none;position:absolute;background:white;padding:18px;list-style:none;min-width:220px;z-index:20;box-shadow:0 8px 18px #0002}.msc-menu li:hover>.sub-menu,.msc-menu li:focus-within>.sub-menu{display:block}.msc-menu .sub-menu a{display:block;padding:9px 0}.comments-area{max-width:1000px}.comments-area input:not([type=checkbox]),.comments-area textarea,.post-password-form input{max-width:100%;padding:12px;border:1px solid #bac4c8}.comments-area textarea{width:100%}.comments-area .submit{background:var(--ink);color:white;padding:15px 24px;border:0}.comment-list{padding-left:20px}.comment-list li{margin:25px 0}.comment-author .avatar{display:inline-block;width:40px;height:40px;vertical-align:middle}.search-form{display:flex;gap:10px;flex-wrap:wrap}.search-form input{padding:13px;border:1px solid #c9ced0;max-width:100%}.search-submit{background:var(--ink);color:white}.about h2{font-size:clamp(46px,4.6vw,64px)}
@media(max-width:680px){.page-directory>ul{columns:1}.msc-menu{flex-direction:column}.msc-menu .sub-menu{display:block;position:static;box-shadow:none;padding:10px 0 0 15px}.news-search{width:100%}.news-search .search{min-width:0;width:100%}.entry-content{font-size:15px}.entry-content .alignleft,.entry-content .alignright{float:none;margin:20px 0}.nav-links{flex-direction:column}}

.msc-social-strip{background:#101b26;color:#e1e5e8;padding:11px 0}.msc-social-strip>.wrap{display:flex;align-items:center;justify-content:space-between;gap:18px}.msc-tagline{font-weight:500;font-size:15px;letter-spacing:.025em;white-space:nowrap}.msc-tagline strong{color:#ff5358;font-weight:800}.msc-social{display:flex;gap:22px;align-items:center}.msc-social a,.footer .msc-social a:not(.brand){display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600;line-height:1.5;padding:5px 0;white-space:nowrap}.msc-social a:hover,.msc-social a:focus-visible{color:#ff7377}.msc-social svg{flex-shrink:0}.footer .follow-label{margin-top:25px;margin-bottom:8px;color:white;font-size:11px;text-transform:uppercase;letter-spacing:.12em}.footer .msc-social{gap:18px}.footnote .msc-tagline{font-size:12px}.navlinks{flex-shrink:1}.brand{flex-shrink:0}
@media(max-width:1100px) and (min-width:681px){.menu{display:block;margin-left:auto}.nav{position:relative;gap:20px}.brand{margin-right:0}.navlinks{display:none;position:absolute;top:100px;left:-7%;width:114%;padding:25px 7%;z-index:30;background:white;box-shadow:0 12px 16px #0002}.navlinks.open{display:block}.msc-menu{flex-direction:column;gap:18px}.msc-menu .sub-menu{position:static;box-shadow:none;display:block;padding:8px 0 0 20px}.navlinks a{font-size:13px}}
@media(max-width:480px){.msc-social-strip{padding:8px 0}.msc-social-strip>.wrap{gap:8px}.msc-tagline{font-size:12px;letter-spacing:0}.msc-social-strip .msc-social{gap:9px}.msc-social-strip .msc-social a{padding:5px;font-size:0;gap:0}.msc-social-strip .msc-social svg{width:20px;height:20px}.msc-social-strip .msc-social span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.msc-social-strip .msc-social a:focus-visible{outline:2px solid #fff}.footnote .msc-tagline{font-size:13px}}

.msc-gallery-section{background:#e9eceb}.msc-gallery-intro{font-size:14px;line-height:1.8;color:#53636e;max-width:390px;margin:0 0 4px}.msc-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.msc-photo{margin:0;min-width:0}.msc-photo-wide{grid-column:span 2}.msc-photo-open{display:block;position:relative;padding:0;border:0;background:#101b26;width:100%;overflow:hidden}.msc-photo-open img{width:100%;height:270px;object-fit:cover;object-position:center 40%;transition:transform .25s}.msc-photo-open:hover img{transform:scale(1.025)}.msc-photo-expand{position:absolute;right:12px;bottom:12px;background:#101b26d9;color:white;width:32px;height:32px;display:grid;place-items:center;font-size:19px}.msc-photo figcaption{font-family:'Barlow Condensed',Impact,sans-serif;font-size:24px;text-transform:uppercase;font-weight:700;padding:13px 0 0;line-height:1.15}.msc-gallery-follow{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #bec7ca;margin-top:35px;padding-top:22px;font-size:13px;font-weight:600}.msc-gallery-follow .msc-social a{font-size:12px}.msc-photo-dialog{background:#101b26;color:white;border:0;padding:45px 15px 15px;width:min(1100px,94vw);max-width:94vw;max-height:94vh;overflow:auto}.msc-photo-dialog::backdrop{background:#060d14df}.msc-photo-full{display:block;max-width:100%;width:auto;max-height:76vh;height:auto;object-fit:contain;margin:auto}.msc-photo-dialog p{margin:12px 0 0;text-align:center;font-size:14px}.msc-photo-close{position:absolute;top:3px;right:10px;border:0;background:none;color:white;font-size:32px;line-height:1;width:36px;height:36px}.about-grid>img{object-position:center center}.msc-gallery-section .section-head{align-items:end}
@media(max-width:950px){.msc-photo-grid{gap:18px}.msc-photo-open img{height:225px}.msc-gallery-section .section-head{align-items:start;flex-direction:column}.msc-gallery-intro{margin-top:5px}}
@media(max-width:680px){.msc-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.msc-photo-open img{height:170px}.msc-photo-wide{grid-column:span 2}.msc-photo-wide img{height:230px}.msc-photo:last-child{grid-column:span 2}.msc-photo:last-child img{height:auto;max-height:340px;object-fit:contain}.msc-photo figcaption{font-size:21px;padding-top:10px}.msc-gallery-follow{align-items:start;flex-direction:column;gap:15px}.msc-gallery-intro{font-size:13px}.msc-photo-dialog{padding-top:44px}.msc-photo-full{max-height:72vh}}

/* Team profiles: original WordPress biographies and portraits, presented as cards. */
.msc-team-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 95% 120%,#27576b 0,transparent 48%),#101b26;padding:65px 0 55px}.msc-team-hero:after{content:'';position:absolute;right:-90px;top:-200px;width:600px;height:600px;border:1px solid #ffffff14;border-radius:50%;box-shadow:0 0 0 40px #ffffff06,0 0 0 80px #ffffff06,0 0 0 120px #ffffff06;pointer-events:none}.msc-team-hero .wrap{position:relative;z-index:1}.msc-team-hero p{color:#c2d0d7;max-width:550px;font-size:17px;line-height:1.7;margin:22px 0 28px}.msc-coach-nav{display:flex;gap:10px;flex-wrap:wrap}.msc-coach-nav a{border:1px solid #ffffff40;padding:10px 16px;font-size:13px;color:white;display:flex;gap:25px;align-items:center}.msc-coach-nav a:hover,.msc-coach-nav a:focus-visible{background:#ec2430;border-color:#ec2430}.msc-team-section{max-width:1200px}.msc-team-intro{display:grid;grid-template-columns:1.5fr 1fr;column-gap:60px;align-items:end;margin-bottom:40px}.msc-team-intro .eyebrow{grid-column:1/-1}.msc-team-intro h2{font-size:clamp(38px,4vw,56px);line-height:1.02;margin:20px 0 0}.msc-team-intro>p{font-size:15px;color:#53636e;line-height:1.8;max-width:350px;margin:0}.msc-coach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.msc-coach-card{background:white;box-shadow:0 8px 35px #101b2609;border:1px solid #101b2610;min-width:0;scroll-margin-top:35px;transition:transform .25s,box-shadow .25s}.msc-coach-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #101b2615}.msc-coach-visual{position:relative;min-height:280px;display:flex;justify-content:center;align-items:center;overflow:hidden;background:repeating-linear-gradient(130deg,transparent 0,transparent 28px,#ffffff06 28px,#ffffff06 30px),linear-gradient(125deg,#101b26,#234a5d)}.msc-coach-visual:before{content:'';position:absolute;width:300px;height:65px;background:#ee2633;transform:rotate(-42deg);right:-100px;bottom:15px}.msc-coach-visual:after{content:'';position:absolute;width:245px;height:245px;border:1px solid #ffffff35;border-radius:50%;pointer-events:none}.msc-coach-visual img{position:relative;z-index:1;display:block;width:206px;height:206px;object-fit:cover;border:5px solid #fff;border-radius:50%;box-shadow:0 10px 25px #0004;transition:transform .3s}.msc-coach-card:hover .msc-coach-visual img{transform:scale(1.035)}.msc-coach-number{position:absolute;left:20px;top:-30px;font-family:'Barlow Condensed',Impact,sans-serif;font-size:150px;line-height:1.3;font-weight:800;color:#ffffff08}.msc-coach-mark{position:absolute;bottom:12px;left:20px;font-size:9px;letter-spacing:.17em;color:#bdced7}.msc-coach-copy{padding:30px 32px 35px}.msc-coach-role{color:#bd1827;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}.msc-coach-copy h2{font-size:48px;line-height:1.05;margin:10px 0 18px}.msc-coach-bio{font-size:14px;line-height:1.85;color:#53616c}.msc-coach-bio p{margin:0 0 12px}.msc-coach-bio p:last-child{margin-bottom:0}.msc-coach-bio br{display:none}.msc-coach-lead{grid-column:1/-1;display:grid;grid-template-columns:36% 1fr}.msc-coach-lead .msc-coach-visual{min-height:340px}.msc-coach-lead .msc-coach-copy{padding:42px}.msc-coach-card:nth-child(3n) .msc-coach-visual{background:repeating-linear-gradient(130deg,transparent 0,transparent 28px,#ffffff06 28px,#ffffff06 30px),linear-gradient(125deg,#253c47,#101b26)}
@media(max-width:760px){.msc-team-intro{grid-template-columns:1fr;gap:20px}.msc-team-intro .eyebrow{margin:0}.msc-team-intro h2{margin:0}.msc-coach-grid{gap:22px}.msc-coach-copy{padding:24px}.msc-coach-visual{min-height:240px}.msc-coach-visual img{width:180px;height:180px}.msc-coach-visual:after{width:212px;height:212px}.msc-coach-lead{grid-template-columns:1fr}.msc-coach-lead .msc-coach-visual{min-height:260px}.msc-coach-lead .msc-coach-copy{padding:28px}.msc-coach-copy h2{font-size:42px}.msc-team-hero{padding:45px 0}.msc-team-hero p{font-size:15px}}
@media(max-width:560px){.msc-coach-grid{grid-template-columns:1fr}.msc-coach-lead{grid-column:auto}.msc-coach-visual{min-height:255px}.msc-coach-copy{padding:28px}.msc-coach-nav{gap:8px}.msc-coach-nav a{padding:10px 12px;gap:16px}.msc-team-section{padding-top:45px}.msc-coach-bio{font-size:14px}}
@media(prefers-reduced-motion:reduce){.msc-coach-card,.msc-coach-visual img{transition:none}.msc-coach-card:hover,.msc-coach-card:hover .msc-coach-visual img{transform:none}}

/* Squad pathway and colour identities. */
.msc-level-overview{--squad-accent:#49c8d8;--squad-deep:#155865}.msc-level-flying{--squad-accent:#53d4de;--squad-deep:#13525c}.msc-level-bronze{--squad-accent:#d6a073;--squad-deep:#754525}.msc-level-silver{--squad-accent:#c7d5e0;--squad-deep:#455c6c}.msc-level-gold{--squad-accent:#edc85b;--squad-deep:#68500b}.msc-squads-hero{background:#101b26;color:white;overflow:hidden}.msc-squads-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding-top:65px;padding-bottom:65px}.msc-squads-hero h1{font-size:clamp(55px,6.2vw,90px);line-height:.98;margin:25px 0}.msc-squads-hero h1 em{color:var(--squad-accent);font-style:normal}.msc-squads-hero h1>span{display:block;color:var(--squad-accent)}.msc-squads-hero p{max-width:475px;font-size:16px;line-height:1.8;color:#c5d2da;margin:24px 0 30px}.msc-squads-hero-photo{position:relative;padding:0 18px 18px 0}.msc-squads-hero-photo:before{content:'';position:absolute;inset:18px 0 0 18px;background:var(--squad-accent)}.msc-squads-hero-photo img{position:relative;width:100%;height:340px;object-fit:cover;display:block}.msc-squads-hero-photo>span{position:absolute;left:18px;bottom:38px;background:#101b26e8;color:white;padding:10px 14px;font-size:10px;letter-spacing:.13em;text-transform:uppercase}.msc-squad-back{font-size:13px;border-bottom:1px solid #ffffff50;padding-bottom:8px}.msc-pathway-strip{background:white;border-bottom:1px solid #cbd2d4}.msc-pathway-strip nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.msc-path-step{display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;padding:25px 20px;border-right:1px solid #e0e5e7;border-top:5px solid var(--squad-accent);min-width:0}.msc-path-step:first-child{border-left:1px solid #e0e5e7}.msc-path-step:hover,.msc-path-step:focus-visible,.msc-path-step.is-current{background:#f0f4f4}.msc-path-step strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:25px;text-transform:uppercase;line-height:1}.msc-path-number{color:var(--squad-deep);font-size:11px;font-weight:700}.msc-path-arrow{color:var(--squad-deep);font-size:19px}.msc-squad-overview .section-head>p{max-width:330px;color:#53636e;font-size:15px;line-height:1.8}.msc-squad-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.msc-squad-card{background:white;box-shadow:0 8px 24px #101b2608;min-width:0;transition:transform .25s,box-shadow .25s}.msc-squad-card:hover{transform:translateY(-6px);box-shadow:0 15px 30px #101b2618}.msc-squad-card-photo{position:relative;overflow:hidden;border-bottom:6px solid var(--squad-accent)}.msc-squad-card-photo img{width:100%;height:210px;object-fit:cover;display:block;transition:transform .3s}.msc-squad-card:hover img{transform:scale(1.035)}.msc-squad-card-photo>span{position:absolute;top:12px;left:12px;background:#101b26e8;color:var(--squad-accent);padding:7px 10px;font-size:12px;font-weight:700}.msc-squad-card-copy{padding:25px 20px}.msc-squad-card-copy small{color:var(--squad-deep);font-size:9px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;display:block;min-height:28px}.msc-squad-card-copy h3{font-size:38px;line-height:1.05;margin:10px 0 15px}.msc-squad-card-copy p{font-size:13px;line-height:1.8;color:#53636e;min-height:48px;margin-bottom:22px}.msc-squad-card-link{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #dae1e3;padding-top:16px;font-size:11px;font-weight:700}.msc-squad-card-link b{color:var(--squad-deep);font-size:20px}.msc-squad-info{background:#e7edee}.msc-squad-info-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:65px}.msc-squad-info h2{font-size:55px;line-height:1.05;margin-top:22px}.msc-squad-info .entry-content{font-size:15px}.msc-squad-info .btn{margin-top:20px;text-decoration:none;color:white}.msc-squad-detail{display:grid;grid-template-columns:275px minmax(0,1fr);gap:60px;align-items:start}.msc-squad-side-inner{position:sticky;top:30px;background:#101b26;color:white;padding:30px 26px;border-top:6px solid var(--squad-accent)}.msc-squad-side h2{font-size:40px;line-height:1.05;margin:25px 0 20px;color:var(--squad-accent)}.msc-squad-side p{font-size:13px;line-height:1.8;color:#c2d1d8}.msc-squad-side a{display:flex;justify-content:space-between;font-size:12px;margin-top:25px;padding-top:20px;border-top:1px solid #ffffff30}.msc-squad-side .eyebrow{font-size:9px}.msc-squad-content{background:white;padding:35px 40px;border-top:6px solid var(--squad-accent);font-size:15px}.msc-squad-content>p:has(>strong:only-child){font-family:'Barlow Condensed',Impact,sans-serif;font-size:29px;line-height:1.1;border-top:1px solid #d8e1e4;padding-top:25px;margin-top:30px}.msc-squad-content li{margin-bottom:8px}.msc-squad-content>p:first-child{margin-top:0}.msc-squad-content table{font-size:13px}.msc-squad-content th{background:#e9eff1}.msc-squad-content img{height:auto}
@media(max-width:1000px){.msc-squads-hero-grid{gap:35px}.msc-squad-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.msc-squad-card-photo img{height:240px}.msc-squad-card-copy small,.msc-squad-card-copy p{min-height:0}.msc-path-step{padding:20px 13px;gap:8px}.msc-path-step strong{font-size:22px}.msc-squad-detail{grid-template-columns:220px minmax(0,1fr);gap:25px}.msc-squad-content{padding:25px}.msc-squad-info-grid{gap:35px}}
@media(max-width:700px){.msc-squads-hero-grid{grid-template-columns:1fr;padding-top:45px;padding-bottom:40px;gap:30px}.msc-squads-hero h1{font-size:62px}.msc-squads-hero p{font-size:15px}.msc-squads-hero-photo img{height:250px}.msc-pathway-strip nav{grid-template-columns:repeat(2,minmax(0,1fr))}.msc-path-step{padding:18px 12px}.msc-squad-overview .section-head{flex-direction:column;align-items:start;gap:20px}.msc-squad-overview .section-head>p{margin:0}.msc-squad-info-grid,.msc-squad-detail{grid-template-columns:1fr}.msc-squad-side-inner{position:static}.msc-squad-side h2{margin:15px 0}.msc-squad-side p{max-width:350px}.msc-squad-side a{max-width:350px}.msc-squad-content{padding:25px 22px}.msc-squad-info h2{font-size:45px}.msc-squad-cards{gap:20px}.msc-squad-card-photo img{height:190px}.msc-squad-card-copy{padding:20px 16px}.msc-squad-card-copy h3{font-size:33px}}
@media(max-width:440px){.msc-squad-cards{grid-template-columns:1fr}.msc-squad-card-photo img{height:220px}.msc-squad-card-copy{padding:24px}.msc-squad-card-copy h3{font-size:40px}.msc-squad-card-copy small{font-size:10px}.msc-squad-card-copy p{font-size:14px}.msc-path-step strong{font-size:24px}.msc-squads-hero h1{font-size:56px}}
@media(prefers-reduced-motion:reduce){.msc-squad-card,.msc-squad-card-photo img{transition:none}.msc-squad-card:hover,.msc-squad-card:hover img{transform:none}}

/* Keep faces and the club shirts visible in the portrait squad photographs. */
.msc-level-flying .msc-squad-card-photo img,.msc-level-flying .msc-squads-hero-photo img{object-position:50% 39%}.msc-level-bronze .msc-squad-card-photo img,.msc-level-bronze .msc-squads-hero-photo img{object-position:50% 27%}.msc-level-silver .msc-squad-card-photo img,.msc-level-silver .msc-squads-hero-photo img{object-position:50% 65%}

.msc-level-bronze .msc-squad-card-photo img,.msc-level-bronze .msc-squads-hero-photo img{object-fit:contain;object-position:center;background:linear-gradient(120deg,#283039,#121e27)}

/* Fill the portrait's landscape frame using a soft backdrop from the same photo. */
.msc-level-bronze .msc-squad-card-photo::before,.msc-level-bronze .msc-squads-hero-photo::after{content:'';position:absolute;background:url('assets/squad-bronze-medals.png') center 55%/cover no-repeat;filter:blur(20px) brightness(.85);transform:scale(1.12);pointer-events:none}
.msc-level-bronze .msc-squad-card-photo::before{inset:0;z-index:0}.msc-level-bronze .msc-squad-card-photo img{position:relative;z-index:1;background:transparent}.msc-level-bronze .msc-squad-card-photo>span{z-index:2}
.msc-level-bronze .msc-squads-hero-photo{isolation:isolate}.msc-level-bronze .msc-squads-hero-photo::after{inset:0 18px 18px 0;z-index:0;transform:none;filter:blur(14px) brightness(.85)}.msc-level-bronze .msc-squads-hero-photo img{z-index:1;background:transparent}.msc-level-bronze .msc-squads-hero-photo>span{z-index:2}

/* Keep the Bronze frame crisp: the blur is clipped inside the photo area. */
.msc-level-bronze .msc-squads-hero-photo{padding:0 18px 18px 0;overflow:hidden;border-right:18px solid #d6a073;border-bottom:18px solid #d6a073;background:#d6a073}
.msc-level-bronze .msc-squads-hero-photo::before{display:none}.msc-level-bronze .msc-squads-hero-photo::after{inset:0;transform:scale(1.08);z-index:0}.msc-level-bronze .msc-squads-hero-photo{padding:0}.msc-level-bronze .msc-squads-hero-photo img{position:relative;z-index:1}.msc-level-bronze .msc-squads-hero-photo>span{bottom:20px;z-index:2}
/* Shared page system for club information, resources and membership pages. */
.msc-standard-hero{overflow:hidden;background:radial-gradient(ellipse at 100% 110%,#244d60,transparent 60%),#101b26;padding:48px 0 58px}.msc-standard-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:65px;align-items:center}.msc-standard-hero h1{font-size:clamp(48px,5.4vw,78px);line-height:1.02;max-width:850px;margin:22px 0}.msc-standard-hero p{max-width:560px;font-size:16px;line-height:1.8;margin:0 0 24px}.msc-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;color:#afc0cb;font-size:10px;margin-bottom:35px}.msc-breadcrumb a:hover{color:white}.msc-content-jump{display:inline-flex;align-items:center;gap:28px;font-size:12px;font-weight:700;padding:10px 0;border-bottom:1px solid #ffffff55}.msc-standard-photo{position:relative;border-right:12px solid #ed272e;border-bottom:12px solid #ed272e;margin-top:15px}.msc-standard-photo img{width:100%;height:290px;object-fit:cover}.msc-standard-photo>span{position:absolute;left:15px;bottom:16px;background:#101b26de;color:white;font-size:9px;letter-spacing:.15em;padding:10px 13px}.msc-page-motif{position:relative;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ffffff1a;background:repeating-linear-gradient(130deg,transparent 0,transparent 35px,#ffffff05 35px,#ffffff05 37px);overflow:hidden}.msc-page-motif:before{content:'';position:absolute;width:320px;height:320px;border:1px solid #ffffff15;border-radius:50%;box-shadow:0 0 0 25px #ffffff04,0 0 0 50px #ffffff04}.msc-page-motif>span{font-family:'Barlow Condensed',Impact,sans-serif;font-size:160px;font-weight:800;line-height:1;color:#ffffff0f;position:relative}.msc-page-motif>small{color:#d6e0e6;font-size:9px;letter-spacing:.2em;position:relative;padding:18px 0}.msc-information-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:35px;align-items:start;scroll-margin-top:30px}.msc-information-main{min-width:0}.msc-page-panel{background:white;border-top:5px solid #ed272e;padding:36px 40px;box-shadow:0 8px 35px #101b2606;font-size:15px;line-height:1.9;width:100%;max-width:none}.msc-page-panel:empty{display:none}.msc-page-panel>p:first-child{margin-top:0}.msc-page-panel h2{font-size:38px}.msc-page-panel h3{font-size:30px}.msc-page-panel h4{font-size:17px;line-height:1.6}.msc-page-panel h2,.msc-page-panel h3{padding-top:18px;border-top:1px solid #d9e1e5;margin-top:32px}.msc-page-panel h2:first-child,.msc-page-panel h3:first-child{border-top:0;margin-top:0;padding-top:0}.msc-page-panel blockquote{border-left:4px solid #ed272e;background:#f0f4f5;padding:20px 25px;margin:25px 0}.msc-page-panel li{margin-bottom:9px}.msc-page-panel figure{margin:25px 0;max-width:100%}.msc-page-panel table{font-size:13px}.msc-page-panel td,.msc-page-panel th{padding:12px}.msc-page-panel a[href$=".pdf"],.msc-page-panel a[href$=".doc"],.msc-page-panel a[href$=".docx"]{display:inline-flex;padding:12px 16px;border:1px solid #ccd7dd;background:#f0f4f5;font-weight:600;font-size:13px;line-height:1.6;margin:6px 5px 6px 0;text-decoration:none}.msc-page-panel a[href$=".pdf"]:hover{background:#e3ebef}.msc-page-panel input:not([type=checkbox]):not([type=radio]):not([type=submit]),.msc-page-panel select,.msc-page-panel textarea{max-width:100%;border:1px solid #bdcbd3;border-radius:0;padding:12px;background:#fbfcfc;font:inherit}.msc-page-panel input[type=submit],.msc-page-panel button[type=submit]{padding:13px 20px;background:#101b26;color:white;border:0;font:inherit;cursor:pointer}.msc-aside-card{background:#101b26;color:white;padding:28px 24px;border-top:5px solid #ed272e}.msc-aside-card .eyebrow{font-size:9px;letter-spacing:.12em}.msc-aside-card h2{font-size:35px;line-height:1.05;margin:22px 0 25px}.msc-aside-card nav a{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid #ffffff25;font-size:12px}.msc-aside-card nav a:hover,.msc-aside-card nav a:focus-visible{color:#ff7377}.msc-aside-social{margin-top:20px;padding:24px;border:1px solid #cad5db;background:#eaf0f2}.msc-aside-social>span{font-family:'Barlow Condensed',Impact,sans-serif;font-size:27px;font-weight:700;text-transform:uppercase}.msc-aside-social>p{font-size:12px;line-height:1.8;color:#53636e}.msc-aside-social .msc-social{gap:17px;flex-wrap:wrap}.msc-aside-social .msc-social a{font-size:11px}.msc-child-pages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:25px}.msc-child-pages a{background:white;border-left:4px solid #ed272e;padding:24px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-family:'Barlow Condensed',Impact,sans-serif;font-size:25px;line-height:1.1;text-transform:uppercase;transition:transform .2s}.msc-child-pages a:hover{transform:translateY(-3px)}.msc-child-pages b{color:#c51a24}.msc-page-contacts p:has(a[href^="mailto:"]),.msc-page-contacts li:has(a[href^="mailto:"]){background:#f0f4f5;padding:18px 22px;border-left:3px solid #ed272e;list-style:none;margin:13px 0}.msc-page-contacts ul,.msc-page-contacts ol{padding-left:0}.msc-page-contacts a[href^="mailto:"]{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.msc-page-panel .wp-block-file{padding:18px 20px;border:1px solid #d2dce1;background:#f6f8f9;margin:15px 0}.msc-page-panel .wp-block-buttons{gap:12px}.msc-page-panel .wp-block-button__link{color:white;text-decoration:none}
@media(max-width:1000px){.msc-standard-hero-grid{gap:35px}.msc-information-layout{grid-template-columns:minmax(0,1fr) 225px;gap:25px}.msc-page-panel{padding:28px}.msc-aside-card{padding:25px 20px}.msc-standard-photo img{height:250px}}
@media(max-width:760px){.msc-standard-hero-grid{grid-template-columns:1fr;gap:25px}.msc-standard-photo{max-width:550px;margin:0}.msc-standard-photo img{height:260px}.msc-page-motif{display:none}.msc-standard-hero{padding:32px 0 40px}.msc-breadcrumb{margin-bottom:28px}.msc-standard-hero h1{font-size:52px}.msc-standard-hero p{font-size:15px}.msc-information-layout{grid-template-columns:1fr;gap:30px;padding-top:40px}.msc-page-panel{padding:28px 24px}.msc-page-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.msc-aside-social{margin:0}.msc-child-pages a{font-size:23px;padding:20px}.msc-page-panel h2{font-size:34px}}
@media(max-width:480px){.msc-page-aside,.msc-child-pages{grid-template-columns:1fr}.msc-standard-hero h1{font-size:46px}.msc-standard-photo img{height:220px}.msc-page-panel{padding:24px 20px;font-size:14px}.msc-page-contacts p:has(a[href^="mailto:"]),.msc-page-contacts li:has(a[href^="mailto:"]){padding:15px}.msc-page-contacts a[href^="mailto:"]{font-size:12px}.msc-page-panel table{font-size:12px}.msc-aside-card h2{font-size:34px}}

/* Show the complete volunteering group photograph at every screen width. */
.msc-standard-photo img[src$="/club-swimmers-together.jpeg"]{height:auto;aspect-ratio:auto;object-fit:contain;object-position:center top}
