/*
Theme Name: Dirk Cox | STA Tutor
Theme URI: https://www.sta.co.uk/
Author: Dirk Cox
Description: A fully editable, responsive one-page WordPress theme for independent STA tutor Dirk Cox. Includes Gutenberg starter content, course enquiries and photographs extracted from the supplied profile.
Version: 1.6.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: dirk-cox-sta-tutor
Tags: one-column, custom-logo, block-styles, featured-images, custom-menu, education, full-width-template
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--dc-navy:#071e32;--dc-deep:#041626;--dc-blue:#08324b;--dc-blue2:#154764;--dc-teal:#41cfbf;--dc-mist:#f0f5f3;--dc-white:#fff;--dc-cream:#f7f6f1;--dc-ink:#133049;--dc-muted:#627384;--dc-line:#d8e2e5;--dc-width:1180px;--dc-font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--dc-ink);background:var(--dc-white);font-family:var(--dc-font);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto}a{color:inherit}a:hover{text-decoration-color:var(--dc-teal)}button,input,select,textarea{font:inherit}button,input,textarea,select{border-radius:0}h1,h2,h3,h4,p,figure{margin-top:0}.site-wrap{width:min(var(--dc-width),calc(100% - 72px));margin-inline:auto}.screen-reader-text{position:absolute!important;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{position:fixed!important;top:20px;left:20px;background:#fff;padding:16px;width:auto;height:auto;clip:auto;z-index:9999}.dc-site-header{height:110px;background:var(--dc-deep);color:#fff;position:relative;z-index:50}.dc-header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}.dc-brand{display:flex;align-items:center;gap:13px;text-decoration:none;white-space:nowrap}.dc-brand-logo{max-width:294px;max-height:82px;width:auto;display:block;background:#fff;padding:6px 10px;border-radius:4px}.dc-logo-mark{width:42px;height:42px;border:2px solid #47d6c7;transform:rotate(-12deg);border-radius:14px 2px 14px 2px;display:grid;place-items:center;color:#43d0c1;font-size:28px;font-weight:800;line-height:1}.dc-brand-copy{display:flex;flex-direction:column;line-height:1.05}.dc-brand-name{font-weight:900;letter-spacing:.11em;font-size:21px}.dc-brand-role{color:var(--dc-teal);font-size:10px;letter-spacing:.35em;font-weight:800;margin-top:7px}.dc-nav{display:flex;align-items:center;gap:16px}.dc-menu{display:flex;gap:16px;align-items:center;padding:0;margin:0;list-style:none}.dc-menu li{list-style:none}.dc-menu a{font-size:12px;font-weight:700;letter-spacing:.01em;color:#d9e8ef;text-decoration:none;transition:color .2s}.dc-menu a:hover,.dc-menu a:focus{color:var(--dc-teal)}.dc-header-cta{border:1px solid #46cebe;color:#061d32;text-decoration:none;background:#48cbbc;display:inline-flex;align-items:center;padding:12px 18px;border-radius:5px;font-size:12px;font-weight:850;letter-spacing:.03em}.dc-header-cta:hover{background:#77ecdc}.dc-mobile-toggle{display:none;background:none;border:0;color:white;font-weight:700}.dc-mobile-toggle svg{width:25px;height:25px}.dc-site-header .custom-logo-link{display:inline-flex;align-items:center}.dc-site-header .custom-logo-link img{max-width:294px;max-height:82px;width:auto;background:#fff;padding:6px 10px;border-radius:4px}.dc-hero{color:var(--dc-white);background:radial-gradient(ellipse 550px 300px at 84% 30%,rgba(44,124,141,.22),transparent 80%),linear-gradient(155deg,#071e32 25%,#06273c 75%,#092439 100%);position:relative;overflow:hidden}.dc-hero:before{content:"";pointer-events:none;position:absolute;width:700px;height:700px;right:-340px;top:-390px;border-radius:50%;border:1px solid rgba(118,214,210,.12);box-shadow:0 0 0 65px rgba(118,214,210,.028),0 0 0 130px rgba(118,214,210,.018)}.dc-hero .dc-container{position:relative}.dc-container{width:min(var(--dc-width),calc(100% - 72px));margin-inline:auto}.dc-hero-columns{display:grid!important;grid-template-columns:1.16fr .84fr;align-items:center;gap:72px;margin:0!important;padding:86px 0 58px}.dc-hero-columns>.wp-block-column{min-width:0;margin:0}.dc-eyebrow,.dc-kicker{text-transform:uppercase;font-size:11px;font-weight:850;letter-spacing:.22em;line-height:1.4}.dc-eyebrow{color:var(--dc-teal);margin-bottom:21px}.dc-hero-heading{color:#fff;font-size:clamp(47px,5.5vw,76px);line-height:1.08;font-weight:880;letter-spacing:-.056em;margin-bottom:23px;max-width:670px}.dc-hero-heading span{color:#63d9c9}.dc-lead{font-size:18px;line-height:1.85;color:#c9d9e0;max-width:525px;margin-bottom:32px}.dc-hero-actions{margin:0 0 29px!important;gap:12px!important}.wp-block-button.dc-btn-primary .wp-block-button__link,.wp-block-button.dc-btn-ghost .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;padding:16px 25px;min-height:53px;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:830;text-decoration:none;transition:background .2s,transform .2s}.dc-btn-primary .wp-block-button__link{background:var(--dc-teal);color:#032235!important}.dc-btn-primary .wp-block-button__link:hover{background:#88f0df;transform:translateY(-2px)}.dc-btn-ghost .wp-block-button__link{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.4)!important}.dc-btn-ghost .wp-block-button__link:hover{border-color:#fff!important;background:rgba(255,255,255,.07)}.dc-hero-small{font-size:12px;letter-spacing:.01em;color:#99b4c0}.dc-hero-visual{position:relative;max-width:420px;justify-self:end;width:100%}.dc-hero-photo{margin:0!important;height:480px;max-width:385px;margin-left:auto!important;position:relative;z-index:1;border:8px solid rgba(255,255,255,.07);border-radius:6px;overflow:hidden;box-shadow:28px 26px 0 -9px rgba(62,211,196,.11)}.dc-hero-photo img{height:100%;width:100%;object-fit:cover;object-position:50% 20%;display:block;filter:saturate(.83)}.dc-photo-caption{position:absolute!important;bottom:30px;left:-40px;z-index:2;background:#fff!important;padding:20px 24px!important;border-left:5px solid var(--dc-teal);border-radius:4px;min-width:220px;box-shadow:0 24px 50px rgba(0,0,0,.22)}.dc-photo-caption p{margin:0}.dc-photo-label{font-size:17px;color:var(--dc-navy);font-weight:900;letter-spacing:.1em}.dc-photo-sub{font-size:12px;color:#677780;margin-top:3px!important}.dc-stats{border-top:1px solid rgba(255,255,255,.15);padding:23px 0 35px}.dc-stats-columns{display:grid!important;grid-template-columns:repeat(3,1fr);gap:40px;margin:0!important}.dc-stats-columns>.wp-block-column{border-right:1px solid rgba(255,255,255,.14);padding:5px 0}.dc-stats-columns>.wp-block-column:last-child{border-right:0}.dc-stats p{margin:0}.dc-stat-value{font-size:20px;color:#f3ffff;line-height:1.5;font-weight:780;letter-spacing:-.02em}.dc-stat-label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#a8c0c7}.dc-section{padding-block:112px}.dc-courses{background:var(--dc-cream)}.dc-kicker{color:#087f83;margin-bottom:17px}.dc-section-title{font-size:clamp(36px,4.2vw,53px);line-height:1.16;letter-spacing:-.045em;font-weight:830;color:var(--dc-ink);margin:0}.dc-heading-columns{display:grid!important;grid-template-columns:1.12fr .88fr;align-items:end;gap:80px;margin:0 0 45px!important}.dc-heading-columns>.wp-block-column{margin:0}.dc-section-intro{font-size:16px;line-height:1.8;color:#536877;margin:0;max-width:440px}.dc-course-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0!important}.dc-course-column{margin:0!important;min-width:0}.dc-course-card{height:100%;min-height:425px;padding:29px 27px 30px!important;background:#fff!important;border:1px solid #e0e7e4;border-radius:7px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}.dc-course-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(10,37,52,.09)}.dc-course-card:before{content:"";position:absolute;width:53px;height:4px;top:0;left:27px;background:#2fc6b9}.dc-course-number{color:#0c8e91;font-weight:900;font-size:14px;letter-spacing:.08em;margin-bottom:30px}.dc-course-number span{color:#7f9099;font-size:10px;letter-spacing:.11em}.dc-card-title{font-size:25px;letter-spacing:-.035em;line-height:1.19;margin-bottom:20px;color:#102e46;font-weight:830;max-width:310px}.dc-card-description{font-size:14px;line-height:1.8;color:#526779;margin-bottom:22px}.dc-card-detail{border-top:1px solid #e8eeee;padding-top:18px;font-size:12px;color:#71838d;line-height:1.65;margin-top:auto;margin-bottom:17px}.dc-course-link{font-size:13px;font-weight:820;color:#087982;margin-bottom:0}.dc-course-link a{text-decoration:none}.dc-course-link span{padding-left:3px}.dc-course-disclaimer{font-size:12px;line-height:1.6;margin-top:22px!important;color:#677d84}.dc-bespoke{background:radial-gradient(ellipse at 100% 10%,#15526b,#0a3148 60%,#071f33);color:#fff;overflow:hidden;position:relative}.dc-bespoke-columns{display:grid!important;grid-template-columns:1.04fr .96fr;gap:60px;align-items:center;margin:0!important;padding-top:84px;padding-bottom:84px}.dc-bespoke-left{margin:0}.dc-bespoke-right{display:flex;justify-content:center;margin:0}.dc-eyebrow-light{color:#65e1d0}.dc-bespoke-title{font-size:clamp(48px,5.5vw,76px);font-weight:850;line-height:1.07;letter-spacing:-.057em;color:#fff;margin:0 0 23px}.dc-bespoke-title span{color:#69ddcd}.dc-bespoke-copy{font-size:16px;line-height:1.82;color:#ccdae2;max-width:530px;margin-bottom:13px}.dc-bespoke .wp-block-buttons{margin-top:28px}.dc-bespoke-image{max-width:390px;height:480px!important;width:100%;margin:0!important;position:relative;box-shadow:27px 28px 0 -5px rgba(68,213,200,.12);border-radius:6px;overflow:hidden}.dc-bespoke-image img{width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block;filter:contrast(1.04) saturate(.82)}.dc-about{background:#fff}.dc-about-columns{display:grid!important;grid-template-columns:.8fr 1.2fr;gap:105px;align-items:center;margin:0!important}.dc-about-left,.dc-about-right{margin:0;min-width:0}.dc-about-picture{padding:0!important}.dc-about-image{height:430px;width:100%;margin:0!important;overflow:hidden;border-radius:7px;background:#e7efee}.dc-about-image img{height:100%;width:100%;object-fit:cover;object-position:center 21%;display:block}.dc-image-footnote{font-size:12px;font-style:italic;color:#70808c;line-height:1.5;margin:14px 0 0!important}.dc-about .dc-section-title{max-width:720px;margin-bottom:20px}.dc-about-lead{font-size:19px;color:#17405a;line-height:1.65;font-weight:650;margin-bottom:15px}.dc-about-body{font-size:15px;line-height:1.82;color:#576d7b;margin-bottom:13px}.dc-about-credentials-wrap{margin-top:25px!important;border-top:1px solid #dae4e7;padding-top:23px!important}.dc-about-credentials{font-size:11px;letter-spacing:.08em;line-height:1.9;color:#167b85;font-weight:800;margin:0}.dc-about-credentials span{color:#a8b8b8;padding-inline:7px}.dc-process{background:#e9f2ef;padding-block:91px}.dc-process-title{font-size:clamp(33px,3.6vw,48px);line-height:1.2;max-width:725px;letter-spacing:-.04em;margin:0 0 40px}.dc-process-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:17px;margin:0!important}.dc-process-grid>.wp-block-column{margin:0}.dc-step{padding:28px 27px!important;border:1px solid #d7e6e2;border-radius:7px;background:#fff!important;min-height:230px}.dc-step-number{font-size:24px;font-weight:900;color:#0e9191;margin:0 0 18px}.dc-step-title{font-size:20px;line-height:1.3;font-weight:820;letter-spacing:-.025em;margin-bottom:10px}.dc-step-body{font-size:14px;line-height:1.77;color:#627985;margin:0}.dc-contact{background:#071b2e;color:white;padding-block:105px;position:relative}.dc-contact:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0% 20%,rgba(62,173,185,.16),transparent 35%)}.dc-contact>.dc-container{position:relative}.dc-contact-columns{display:grid!important;grid-template-columns:1fr 1.04fr;gap:95px;align-items:start;margin:0!important}.dc-contact-columns>.wp-block-column{min-width:0;margin:0}.dc-contact-title{font-size:clamp(44px,5vw,70px);line-height:1.08;letter-spacing:-.05em;color:#fff;font-weight:850;margin:0 0 22px}.dc-contact-copy{font-size:17px;line-height:1.85;color:#c4d7dc;margin-bottom:33px}.dc-contact-detail{padding-top:22px;border-top:1px solid rgba(255,255,255,.15);font-size:15px;line-height:1.7;color:#dbe8e7;max-width:360px}.dc-contact-detail strong{font-size:12px;color:#7cdccc;text-transform:uppercase;letter-spacing:.15em}.dc-contact-extra{font-size:13px;color:#86aab9;max-width:340px;line-height:1.7}.dc-form-panel{background:#fff!important;color:#19384a!important;padding:34px 37px!important;border-radius:8px;box-shadow:0 26px 70px rgba(0,0,0,.14)}.dc-form-title{font-size:26px;font-weight:840;color:#19374b;margin:0 0 5px;letter-spacing:-.03em}.dc-form-lead{font-size:13px;color:#6d808c;margin:0 0 23px}.dc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dc-field{margin-bottom:16px}.dc-field label{display:block;font-size:12px;font-weight:800;color:#25445a;margin-bottom:7px}.dc-field input,.dc-field select,.dc-field textarea{width:100%;border:1px solid #cfdbdf;background:#f9fbfb;border-radius:4px;padding:12px 13px;color:#17394b;outline-offset:2px;transition:border-color .18s,box-shadow .18s}.dc-field textarea{min-height:130px;resize:vertical}.dc-field input:focus,.dc-field select:focus,.dc-field textarea:focus{border-color:#168e97;box-shadow:0 0 0 3px rgba(58,204,193,.17);outline:0}.dc-consent{display:flex;gap:10px;align-items:start;font-size:11px;line-height:1.6;color:#6c7c87;margin-bottom:20px}.dc-consent input{margin-top:4px;accent-color:#127b81}.dc-submit{border:0;background:#2ac4b5;color:#042637;padding:15px 21px;border-radius:4px;font-weight:820;cursor:pointer;width:100%;font-size:14px;transition:background .2s}.dc-submit:hover{background:#63ded0}.dc-form-alert{margin-bottom:14px;padding:12px;border-radius:4px;border:1px solid #bddbd4;background:#eafbf7;color:#176057;font-size:13px;line-height:1.6}.dc-form-alert.dc-error{background:#fff2f0;border-color:#e6bfb9;color:#8a342c}.dc-honeypot{position:absolute;left:-9999px;top:auto;visibility:hidden}.dc-site-footer{background:#031524;color:#a1b8c4;padding:26px 0;border-top:1px solid rgba(255,255,255,.08)}.dc-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.dc-footer-brand{font-size:13px;color:#f1fcfc;font-weight:850;letter-spacing:.08em}.dc-footer-note{font-size:11px;color:#91a9b6;margin:5px 0 0}.dc-footer-right{font-size:12px;text-align:right}.dc-footer-right a{color:#83d7d0;text-decoration:none}.dc-footer-right p{margin:0}.dc-article{padding:90px 0;min-height:50vh;max-width:850px;margin:auto}.dc-article h1{font-size:44px;line-height:1.1}.dc-article-content a{color:#0e7c86}body.admin-bar .dc-site-header{top:0}.wp-block-columns{margin-bottom:0}.wp-block-image img{vertical-align:middle}.wp-block-group>p:last-child{margin-bottom:0}a:focus-visible,button:focus-visible{outline:3px solid #e4b752;outline-offset:3px}
@media(max-width:1100px){.dc-nav{gap:15px}.dc-menu{gap:15px}.dc-hero-columns{gap:40px}.dc-about-columns{gap:55px}.dc-contact-columns{gap:55px}.dc-bespoke-columns{gap:40px}}
@media(max-width:900px){.dc-header-cta{display:none}.dc-menu{gap:14px}.dc-container,.site-wrap{width:min(var(--dc-width),calc(100% - 48px))}.dc-hero-columns{grid-template-columns:1fr .75fr;gap:30px;padding-top:60px}.dc-hero-heading{font-size:50px}.dc-hero-photo{height:370px}.dc-photo-caption{left:-24px;bottom:20px}.dc-course-grid{grid-template-columns:1fr}.dc-course-card{min-height:0}.dc-card-title{max-width:none}.dc-bespoke-columns{grid-template-columns:1fr 1fr}.dc-bespoke-title{font-size:53px}.dc-about-columns{grid-template-columns:.85fr 1.15fr;gap:30px}.dc-contact-columns{grid-template-columns:1fr 1fr;gap:30px}.dc-form-panel{padding:26px 24px!important}}
@media(max-width:680px){.dc-site-header{height:75px}.dc-header-inner{gap:12px}.dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:220px;max-height:44px;padding:4px 8px}.dc-brand-name{font-size:18px}.dc-brand-role{font-size:9px}.dc-logo-mark{height:36px;width:36px}.dc-mobile-toggle{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}.dc-nav{display:none;position:absolute;top:75px;left:0;right:0;background:#09233a;padding:19px 24px 22px;box-shadow:0 20px 30px rgba(0,0,0,.18)}.dc-nav.dc-open{display:block}.dc-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.dc-menu a{display:block;padding:12px 8px;font-size:15px}.dc-container,.site-wrap{width:calc(100% - 38px)}.dc-hero-columns{grid-template-columns:1fr;gap:24px;padding:55px 0 50px}.dc-hero-heading{font-size:clamp(41px,10vw,55px);max-width:600px}.dc-lead{font-size:16px}.dc-hero-visual{max-width:390px;margin:0 auto}.dc-hero-photo{max-width:350px;height:385px;margin-right:0!important}.dc-photo-caption{left:0;bottom:12px}.dc-stats{padding-block:15px 23px}.dc-stats-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.dc-stat-value{font-size:15px}.dc-stat-label{font-size:9px}.dc-stats-columns>.wp-block-column{padding-right:5px}.dc-section{padding-block:73px}.dc-heading-columns,.dc-bespoke-columns,.dc-about-columns,.dc-contact-columns{grid-template-columns:1fr;gap:26px}.dc-heading-columns{margin-bottom:27px!important}.dc-section-title{font-size:39px}.dc-course-grid{gap:13px}.dc-course-card{padding:25px 23px!important}.dc-card-title{font-size:25px}.dc-bespoke-columns{padding-block:63px}.dc-bespoke-image{max-width:380px;height:370px!important;margin:15px auto 0!important}.dc-about-image{height:380px;max-width:410px}.dc-about-left{order:2}.dc-about-right{order:1}.dc-about .dc-section-title{font-size:38px}.dc-process{padding-block:65px}.dc-process-title{font-size:37px}.dc-process-grid{grid-template-columns:1fr;gap:12px}.dc-step{min-height:0}.dc-contact{padding-block:70px}.dc-contact-title{font-size:51px}.dc-contact-columns{gap:27px}.dc-form-panel{padding:25px 22px!important}.dc-footer-inner{flex-direction:column;align-items:flex-start}.dc-footer-right{text-align:left}}
@media(max-width:405px){.dc-hero-heading{font-size:40px}.dc-stats-columns{grid-template-columns:1fr}.dc-stats-columns>.wp-block-column{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);padding:7px 0}.dc-stat-value{font-size:18px}.dc-stat-label{font-size:11px}.dc-hero-actions{flex-direction:column;align-items:stretch!important}.dc-hero-actions>.wp-block-button{width:100%}.dc-hero-actions .wp-block-button__link{width:100%}.dc-form-grid{grid-template-columns:1fr}.dc-bespoke-title{font-size:48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}


/* About STA — kept consistent with the original course and biography layout. */
.dc-sta{background:#fff;border-top:1px solid #e6edec;border-bottom:1px solid #e6edec}
.dc-sta-columns{display:grid!important;grid-template-columns:1.05fr .95fr;gap:94px;align-items:center;margin:0!important}
.dc-sta-columns>.wp-block-column{min-width:0;margin:0}
.dc-sta .dc-section-title{max-width:590px;font-size:clamp(35px,3.8vw,49px);margin-bottom:24px}
.dc-sta-lead{color:#1a4057;font-size:18px;font-weight:610;line-height:1.72;margin-bottom:18px}
.dc-sta-copy{color:#566c78;font-size:15px;line-height:1.85;margin-bottom:22px}
.dc-sta-link,.dc-sta-panel-link{margin:0!important;font-size:13px;font-weight:800;color:#078c90}
.dc-sta-link a,.dc-sta-panel-link a{text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px}
.dc-sta-link a:hover,.dc-sta-panel-link a:hover{color:#085869}
.dc-sta-panel{background:#f0f6f5!important;padding:38px 39px!important;border-left:4px solid #42cabc;border-radius:0 6px 6px 0}
.dc-sta-panel-heading{font-size:25px;line-height:1.25;letter-spacing:-.035em;color:#14374c;margin:0 0 18px;font-weight:830}
.dc-sta-panel-copy{font-size:14px;line-height:1.82;color:#536d7b;margin-bottom:16px}
.dc-sta-panel-link{margin-top:25px!important}
@media(max-width:900px){.dc-sta-columns{gap:38px}.dc-sta-panel{padding:30px 28px!important}}
@media(max-width:680px){.dc-sta-columns{grid-template-columns:1fr;gap:30px}.dc-sta .dc-section-title{font-size:38px}.dc-sta-panel{padding:27px 25px!important}.dc-sta-lead{font-size:17px}}

/* Accessible standalone contact page while preserving the original one-page layout. */
.dc-article-content .dc-enquiry-form{margin-top:25px;max-width:680px}.dc-article-content .dc-form-alert{max-width:680px}.dc-article-content .dc-field label{color:#17394b}

/* v1.3 — informational cookie notice and privacy links (not a tracking-consent manager) */
.dc-legal-links{margin-top:7px!important;line-height:1.7}
.dc-legal-links span{padding:0 4px;color:#56758a}
.dc-cookie-note[hidden]{display:none!important}
.dc-cookie-note{position:fixed;bottom:18px;left:18px;right:auto;z-index:9000;background:#fff;color:#173449;max-width:575px;width:calc(100% - 36px);border:1px solid #d6e4e7;border-left:4px solid #29b9af;box-shadow:0 8px 30px rgba(2,26,42,.18);padding:16px 18px;display:flex;align-items:center;gap:20px;border-radius:5px;font-size:13px;line-height:1.5}
.dc-cookie-note-copy{display:flex;flex-direction:column;gap:3px;flex:1}
.dc-cookie-note strong{font-size:14px;color:#0b2b40}
.dc-cookie-note a{color:#086c73;font-weight:700;text-decoration:underline}
.dc-cookie-dismiss{background:#09334a;color:white;padding:9px 15px;border:0;border-radius:3px;cursor:pointer;font-weight:750;font-size:12px}
.dc-cookie-dismiss:hover{background:#154764}
.dc-consent a{color:#0c777d;text-decoration:underline;font-weight:700}
.dc-article-content h2{font-size:26px;margin:35px 0 10px;line-height:1.3;color:#0b3047}
.dc-article-content p,.dc-article-content li{font-size:16px;line-height:1.8}
@media(max-width:500px){.dc-cookie-note{left:10px;bottom:10px;width:calc(100% - 20px);padding:14px 13px;gap:10px}.dc-cookie-dismiss{padding:8px 11px}}

/* v1.4 — LinkedIn link: visible but understated, matching the original theme. */
.dc-about-social{margin:18px 0 22px!important;font-size:14px;font-weight:800;color:#087c85}
.dc-about-social a{color:inherit;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px}
.dc-about-social a:hover,.dc-about-social a:focus{color:#0a4d5c}
.dc-social-links{margin-bottom:7px!important;font-weight:800;letter-spacing:.02em}
.dc-social-links a{display:inline-flex;gap:6px;align-items:center;text-decoration:none}
.dc-social-links a:hover,.dc-social-links a:focus{text-decoration:underline}

/* Swim coach branding and new coaching price table */
.dc-coaching .wp-block-table{overflow-x:auto;margin:0 0 15px}.dc-coaching .wp-block-table table{border-collapse:collapse;width:100%;font-size:14px}.dc-coaching .wp-block-table td,.dc-coaching .wp-block-table th{border:1px solid #dce5e5;padding:13px 15px;text-align:left;vertical-align:middle}.dc-coaching .wp-block-table thead th{background:#e8f4f1;color:#10364e}.dc-coaching .wp-block-table tbody tr:nth-child(even){background:#f6faf8}.dc-coaching .wp-block-table tbody tr:last-child{background:#edf7f4}
@media (max-width:900px){.dc-brand-logo{max-width:205px;max-height:58px}.dc-menu{gap:10px}.dc-menu a{font-size:11px}}
@media (max-width:680px){.dc-brand-logo{max-width:180px;max-height:52px;padding:4px}.dc-coaching .wp-block-table table{font-size:12px}.dc-coaching .wp-block-table td,.dc-coaching .wp-block-table th{padding:9px 7px}.dc-coaching .dc-container{width:calc(100% - 38px)}}

/* v1.5.1 — increase header logo gently, preserving the existing design. */
.dc-site-header{height:120px}
.dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:340px;max-height:94px}
@media (min-width:681px) and (max-width:1100px){
  .dc-site-header{height:106px}
  .dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:238px;max-height:69px}
}
@media (max-width:680px){
  .dc-site-header{height:85px}
  .dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:205px;max-height:61px}
  .dc-nav{top:85px}
}

/* Organisation references — separate from the legal footer, not an endorsement panel. */
.dc-brand-refs{background:#f7f9f8;color:#17364a;border-top:1px solid #dfe8e8;padding:42px 0 29px}
.dc-brand-refs-heading{text-align:center;font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;color:#53727f;margin:0 0 24px}
.dc-brand-refs-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.dc-brand-ref{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:110px;padding:17px 18px;background:#fff;border:1px solid #e1eaeb;border-radius:6px;color:#0c3049;text-decoration:none;transition:box-shadow .2s,border-color .2s}
.dc-brand-ref:hover,.dc-brand-ref:focus-visible{border-color:#5ac9bd;box-shadow:0 4px 16px rgba(0,42,58,.07)}
.dc-brand-ref-main{display:flex;min-height:42px;align-items:center;justify-content:center}
.dc-brand-ref-name{font-size:23px;line-height:1.15;font-weight:850;letter-spacing:.025em}
.dc-brand-ref-detail{font-size:11px;color:#607787;margin-top:8px;line-height:1.45}
.dc-brand-ref-image{display:block;width:auto;max-height:62px;max-width:180px;object-fit:contain}
.dc-brand-ref-disclaimer{margin:18px 0 0;text-align:center;color:#71838c;font-size:11px;line-height:1.55}
@media(max-width:680px){.dc-brand-refs{padding:33px 0 24px}.dc-brand-refs-row{gap:9px}.dc-brand-ref{padding:12px 6px;min-height:92px}.dc-brand-ref-name{font-size:clamp(13px,3vw,20px)}.dc-brand-ref-detail{font-size:10px}.dc-brand-ref-image{max-height:42px;max-width:95px}}

/* v1.5.3 — four organisation references, with a British Triathlon logo. */
.dc-brand-refs-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.dc-brand-ref{padding:16px 10px}
.dc-brand-ref-image{max-height:70px;max-width:170px}
@media (max-width:780px){
 .dc-brand-refs-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .dc-brand-ref{min-height:110px;padding:14px 9px}
 .dc-brand-ref-image{max-height:66px;max-width:145px}
}

/* v1.5.4 — slightly larger header logo; responsive sizing and menu spacing preserved. */
@media (min-width:1101px){
  .dc-site-header{height:138px}
  .dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:405px;max-height:112px}
}
@media (min-width:681px) and (max-width:1100px){
  .dc-site-header{height:122px}
  .dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:278px;max-height:80px}
}
@media (max-width:680px){
  .dc-site-header{height:98px}
  .dc-brand-logo,.dc-site-header .custom-logo-link img{max-width:234px;max-height:72px}
  .dc-nav{top:98px}
}


/* v1.5.6 — Oceanman historical role reference in professional footer. */
@media (min-width:1101px){
 .dc-brand-refs-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
 .dc-brand-ref{padding:16px 9px;min-height:145px}
 .dc-brand-ref-detail{font-size:10px}
 .dc-brand-ref-image{max-height:85px;max-width:155px}
}
@media (min-width:781px) and (max-width:1100px){
 .dc-brand-refs-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
}
@media (max-width:780px){
 .dc-brand-ref-image{max-height:76px;max-width:160px}
}

/* v1.5.7 — thin current conditions strip (air + modelled sea surface temperature). */
.dc-cascais-weather{width:100%;min-height:44px;background:#08283d;color:#eef8fc;border-bottom:1px solid rgba(89,210,197,.26)}
.dc-weather-inner{width:min(100%,1440px);min-height:44px;padding:0 31px;margin:auto;display:flex;align-items:center;gap:14px;white-space:nowrap;overflow:hidden;font-size:12px;line-height:1.2}
.dc-weather-location{font-weight:850;font-size:11px;letter-spacing:.115em;color:#ffffff;display:inline-flex;align-items:center;gap:8px}
.dc-weather-dot{display:inline-block;width:7px;height:7px;border-radius:99px;background:#46d4c2;box-shadow:0 0 0 3px rgba(70,212,194,.12)}
.dc-weather-reading{display:inline-flex;align-items:baseline;gap:5px;color:#c5dbe5;font-size:12px}
.dc-weather-reading strong{color:#ffffff;font-weight:840;font-size:15px;letter-spacing:-.02em}
.dc-weather-est{color:#8eacbb;font-size:9px;margin-left:1px}
.dc-weather-separator{height:16px;border-left:1px solid rgba(190,223,227,.25)}
.dc-weather-summary{color:#b4cad7;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:235px}
.dc-weather-spacer{flex:1 1 auto;min-width:0}
.dc-weather-sources,.dc-weather-source-separator{color:#9bb2c0;font-size:10px;text-decoration:none}
.dc-weather-sources{text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(182,214,220,.45)}
.dc-weather-sources:hover{color:#7fe8d8}
@media (max-width:1000px){.dc-weather-summary{display:none}}
@media (max-width:600px){
 .dc-cascais-weather,.dc-weather-inner{min-height:40px}
 .dc-weather-inner{gap:9px;padding:0 14px;font-size:11px}
 .dc-weather-location{font-size:10px;letter-spacing:.05em;gap:6px}
 .dc-weather-reading{font-size:11px;gap:3px}
 .dc-weather-reading strong{font-size:13px}
 .dc-weather-sources{font-size:9px}
 .dc-weather-source-separator{display:none}
 .dc-weather-sources[href*="api.met.no"]{display:none}
 .dc-weather-est{font-size:8px}
}
@media (max-width:360px){.dc-weather-inner{gap:7px;padding:0 9px}.dc-weather-location{letter-spacing:0}.dc-weather-sources{font-size:8px}}


/* v1.5.8 — unified editorial strip: each organisation gets one equal optical logo space. */
.dc-brand-refs{background:#f4f8f8;padding:42px 0 30px}
.dc-brand-refs-heading{font-size:12px;letter-spacing:.15em;margin-bottom:21px}
.dc-brand-refs-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.dc-brand-ref{display:flex;flex-direction:column;justify-content:space-between;align-items:center;min-height:169px;padding:17px 11px 15px;border:1px solid #dfe8eb;border-radius:9px;background:#fff;box-shadow:0 2px 6px rgba(2,30,50,.025);text-align:center;text-decoration:none;overflow:hidden}
.dc-brand-ref:hover,.dc-brand-ref:focus-visible{border-color:#55bfb9;box-shadow:0 7px 19px rgba(4,44,59,.08);transform:translateY(-1px)}
.dc-brand-ref-main{display:flex;align-items:center;justify-content:center;flex:0 0 104px;height:104px;width:100%;margin:0;padding:5px 0 8px;line-height:1.05}
.dc-brand-ref-image{display:block;width:auto!important;height:auto!important;max-width:min(100%,165px)!important;max-height:92px!important;object-fit:contain;object-position:center}
.dc-brand-ref--british_triathlon .dc-brand-ref-image{max-height:98px!important;max-width:175px!important}
.dc-brand-ref--oceanman .dc-brand-ref-image{max-height:93px!important;max-width:165px!important}
.dc-brand-ref-name{display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.06;font-weight:840;letter-spacing:-.03em;color:#10324b}
.dc-ref-ironman{font-family:Arial,Helvetica,sans-serif;font-size:clamp(18px,1.9vw,29px);font-weight:950;letter-spacing:-.065em;color:#1c2330}
.dc-ref-subline{display:block;font:800 9px/1.1 Arial,Helvetica,sans-serif;letter-spacing:.19em;color:#4f8294;margin-top:8px;white-space:nowrap}
.dc-ref-swimengland{font:800 clamp(19px,2vw,29px)/.95 Arial,Helvetica,sans-serif;letter-spacing:-.05em;align-items:flex-start}
.dc-ref-swimengland span:first-child{color:#249bb4}
.dc-ref-swimengland span:last-child{color:#ea453c}
.dc-ref-sta{font:italic 950 46px/.95 Arial,Helvetica,sans-serif;letter-spacing:-.09em;color:#d64247;text-transform:lowercase}
.dc-ref-sta .dc-ref-subline{font-size:7px;letter-spacing:.045em;font-style:normal;color:#1d6b92;margin-top:6px;max-width:155px;line-height:1.5}
.dc-brand-ref-detail{width:100%;display:flex;align-items:center;justify-content:center;min-height:30px;margin:0;padding:9px 2px 0;border-top:1px solid #ebf0f1;font-size:10px;line-height:1.3;font-weight:700;color:#57717e}
.dc-brand-ref-disclaimer{margin-top:19px;max-width:900px;margin-inline:auto;font-size:10.5px;line-height:1.65;color:#647b88}
@media (min-width:781px) and (max-width:1100px){
 .dc-brand-refs-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .dc-brand-ref{min-height:165px}
}
@media (min-width:500px) and (max-width:780px){
 .dc-brand-refs-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .dc-brand-ref{min-height:163px}
 .dc-ref-ironman{font-size:27px}.dc-ref-swimengland{font-size:28px}
}
@media (max-width:499px){
 .dc-brand-refs{padding:32px 0 24px}
 .dc-brand-refs-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .dc-brand-ref{min-height:148px;padding:12px 8px 10px}
 .dc-brand-ref-main{height:94px;flex-basis:94px;padding:1px 0 7px}
 .dc-brand-ref-image{max-height:81px!important;max-width:min(100%,136px)!important}
 .dc-brand-ref--british_triathlon .dc-brand-ref-image{max-height:85px!important;max-width:140px!important}
 .dc-brand-ref--oceanman .dc-brand-ref-image{max-height:84px!important;max-width:138px!important}
 .dc-ref-ironman{font-size:clamp(17px,5vw,25px)}
 .dc-ref-swimengland{font-size:clamp(19px,5vw,25px)}
 .dc-ref-sta{font-size:40px}
 .dc-ref-sta .dc-ref-subline{font-size:6.5px}
 .dc-brand-ref-detail{font-size:9px;min-height:30px}
}


/* v1.6.0 — seven-day forecast opens below the slim Cascais weather strip. */
.dc-cascais-weather{position:relative;z-index:90}
.dc-weather-week-toggle{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;margin:0;padding:7px 10px;border:1px solid rgba(95,202,198,.45);border-radius:4px;background:rgba(53,150,155,.13);color:#d8fff7;font-family:inherit;font-weight:700;font-size:11px;line-height:1.15;cursor:pointer;white-space:nowrap;transition:background .16s ease,color .16s ease}
.dc-weather-week-toggle:hover,.dc-weather-week-toggle[aria-expanded="true"]{background:rgba(53,202,181,.24);color:#fff}
.dc-weather-week-toggle .dc-week-chevron{font-size:15px;line-height:.7;transform:translateY(-2px);transition:transform .16s}
.dc-weather-week-toggle[aria-expanded="true"] .dc-week-chevron{transform:rotate(180deg) translateY(2px)}
.dc-week-label-short{display:none}
.dc-weather-week-panel[hidden]{display:none!important}
.dc-weather-week-panel{position:absolute;z-index:200;right:clamp(16px,3vw,48px);top:calc(100% - 1px);width:min(780px,calc(100vw - 32px));padding:20px 21px 14px;border:1px solid #d5e8e5;border-top:3px solid #29bcb3;background:#fff;color:#12344a;box-shadow:0 20px 50px rgba(2,26,47,.24);border-radius:0 0 8px 8px;white-space:normal}
.dc-weather-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.dc-weather-panel-heading strong{display:block;color:#0b3149;font-size:16px;font-weight:840;letter-spacing:-.02em}
.dc-weather-panel-heading small{display:block;color:#637c86;font-size:11px;margin-top:3px}
.dc-weather-panel-close{border:0;background:#e8f4f3;color:#0b5260;border-radius:4px;width:28px;height:28px;font-size:21px;line-height:1;cursor:pointer}
.dc-weather-week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.dc-weather-day{min-width:0;background:#f0f7f6;border:1px solid #dcebe8;border-radius:6px;min-height:148px;padding:12px 5px 10px;text-align:center}
.dc-weather-day-label{color:#14374c;font-size:12px;font-weight:820}
.dc-weather-day-date{font-size:10px;color:#6b818d;margin-top:3px}
.dc-weather-day-icon{font-size:26px;line-height:1.55;min-height:43px;color:#108c9a}
.dc-weather-day-temps{font-size:15px;font-weight:800;letter-spacing:-.04em;color:#103750;white-space:nowrap}
.dc-weather-day-condition{font-size:10px;line-height:1.3;color:#667e8a;margin-top:6px}
.dc-weather-week-loading{padding:18px;font-size:13px;color:#536d7c;grid-column:1/-1}
.dc-weather-week-note{margin:12px 0 0!important;font-size:10px;line-height:1.5;color:#687d88}
.dc-weather-week-note a{color:#147f88;text-decoration:underline}
@media(max-width:720px){
 .dc-weather-sources,.dc-weather-source-separator{display:none}
 .dc-weather-inner{gap:9px;padding:0 12px}
 .dc-weather-week-toggle{padding:6px 7px;gap:4px;font-size:10px}
 .dc-week-label-full{display:none}.dc-week-label-short{display:inline}
 .dc-weather-week-panel{left:10px;right:10px;width:auto;padding:17px 12px 12px}
 .dc-weather-week-grid{display:flex;overflow-x:auto;gap:8px;scrollbar-width:thin;padding-bottom:7px;scroll-snap-type:x proximity}
 .dc-weather-day{flex:0 0 98px;scroll-snap-align:start}
 .dc-weather-week-note{font-size:10px}
}
@media(max-width:385px){.dc-weather-inner{gap:6px;padding:0 8px}.dc-weather-location{font-size:9px}.dc-weather-reading strong{font-size:12px}.dc-weather-week-toggle{font-size:9px;padding:5px}}
