@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
:root{--ink:#1f3136;--deep:#173c48;--accent:#bb8752;--paper:#fffdf9;--mist:#f3f1ec;--line:#e8e4dc;--muted:#67777a}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.55}button,select{font:inherit}button{cursor:pointer}a{color:#176277}.site-header{height:73px;padding:0 clamp(18px,4vw,50px);display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;letter-spacing:.18em;color:var(--deep)}.brand-mark{font-family:Georgia,serif;font-size:33px;border:1px solid var(--deep);border-radius:50%;width:46px;height:46px;text-align:center;line-height:44px}.brand strong,.brand small{display:block;font-weight:600;line-height:1.2}.brand small{font-size:10px;letter-spacing:.42em}.text-button{background:transparent;border:0;color:var(--deep);text-decoration:underline}.start{max-width:1180px;min-height:calc(100vh - 147px);margin:auto;display:grid;grid-template-columns:1fr 1fr}.start-photo{min-height:470px;background:linear-gradient(150deg,rgba(13,48,58,.05),rgba(13,48,58,.55)),url('https://images.unsplash.com/photo-1539037116277-4db20889f2d4?auto=format&fit=crop&w=1100&q=85') center/cover;position:relative}.photo-credit{position:absolute;left:35px;bottom:35px;color:white;letter-spacing:.04em}.start-content{padding:clamp(28px,6vw,86px);align-self:center}.eyebrow{color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.19em;margin:0 0 13px;text-transform:uppercase}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.13}h1{font-size:clamp(35px,5.3vw,57px);margin:0 0 22px}h1 em{font-weight:400;color:var(--accent)}h2{font-size:35px;margin:0}h3{font-size:23px;margin:0 0 12px}.start-content>p:not(.eyebrow){color:var(--muted)}label{display:block;font-weight:bold;margin-top:30px;margin-bottom:8px}select{width:100%;padding:15px;border:1px solid var(--line);border-radius:4px;background:white;color:var(--ink)}.primary{background:var(--deep);color:white;border:0;padding:15px 22px;width:100%;margin-top:16px;letter-spacing:.03em}.primary:hover{background:#286071}.disclaimer,.fine{font-size:12px!important;color:var(--muted)}.hero{background:var(--deep);color:white;text-align:center;padding:36px 20px 37px}.hero h1{font-size:clamp(29px,6vw,46px);margin-bottom:6px}.hero p:last-child{margin:0;color:#cfdfdb}.tabs{display:flex;justify-content:center;gap:0;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.tabs button{padding:16px clamp(8px,3vw,23px);border:0;border-bottom:3px solid transparent;background:white;font-size:13px;color:var(--muted)}.tabs button.active{border-color:var(--accent);color:var(--deep);font-weight:700}.page{max-width:790px;margin:auto;padding:30px 18px 50px}.section-header{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.year{color:var(--muted);font-size:12px;letter-spacing:.12em}.date-scroll{display:flex;overflow-x:auto;gap:7px;padding:0 0 14px;margin-bottom:8px}.date-scroll button{min-width:70px;background:white;border:1px solid var(--line);color:var(--deep);padding:7px;border-radius:4px}.date-scroll button.active{background:var(--deep);color:white;border-color:var(--deep)}.date-scroll strong,.date-scroll small{display:block}.date-scroll small{font-size:10px;text-transform:uppercase;letter-spacing:.1em}.day-heading{color:var(--deep);font-family:Georgia,serif;font-size:23px;margin:20px 0 15px}.event{display:flex;gap:15px;align-items:center;width:100%;text-align:left;background:white;border:1px solid var(--line);border-radius:5px;padding:15px;margin:10px 0;box-shadow:0 2px 9px #20394307}.time{font-weight:bold;color:var(--deep);width:60px;flex-shrink:0;font-size:13px}.event-main{flex:1}.event-title{font-weight:bold;font-size:15px}.event-sub{font-size:12px;color:var(--muted)}.tag{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#9a713e}.arrow{font-size:24px;color:var(--accent)}.intro{color:var(--muted)}.explore-card{display:grid;grid-template-columns:125px 1fr;gap:15px;align-items:center;background:white;border:1px solid var(--line);padding:9px;margin:14px 0;cursor:pointer;border-radius:5px}.explore-picture,.detail-image{background:linear-gradient(145deg,#7b9786,#2c4953);object-fit:cover}.explore-picture{width:125px;height:110px}.explore-card h3{font-size:19px;margin:0 0 7px}.explore-card p{color:var(--muted);margin:0;font-size:12px}.panel{background:#f8f7f3;padding:23px;border:1px solid var(--line);margin-top:18px}.panel p{margin:8px 0}.modal{position:fixed;inset:0;z-index:10;display:flex;justify-content:center;align-items:end}.modal[hidden],section[hidden],main[hidden],button[hidden]{display:none!important}.modal-backdrop{position:absolute;inset:0;background:#18252ac4}.modal-card{z-index:1;position:relative;background:var(--paper);width:min(100%,680px);max-height:92vh;overflow-y:auto;border-radius:14px 14px 0 0;padding:22px 22px 35px}.close{position:absolute;right:16px;top:10px;background:#fff;border:1px solid var(--line);border-radius:50%;width:37px;height:37px;font-size:24px;z-index:2}.detail-image{width:100%;height:210px;margin:0 0 20px;border-radius:5px}.details{white-space:pre-wrap}.details a{overflow-wrap:anywhere}.meta{color:var(--muted);font-size:13px}footer{padding:23px 18px;background:#112f3a;color:white;text-align:center;letter-spacing:.16em;font-size:11px}footer span{display:block;letter-spacing:0;color:#bacaca;font-size:12px;margin-top:4px}@media(max-width:650px){.start{display:block}.start-photo{min-height:210px}.start-content{padding:28px 23px 40px}.hero{padding:29px 12px}.tabs button{flex:1;font-size:12px;padding:15px 5px}.explore-card{grid-template-columns:95px 1fr}.explore-picture{width:95px;height:93px}} 

.explore-picture img{width:100%;height:100%;object-fit:cover}.detail-image{object-fit:cover;display:block;background:#e8e4dc}.text-button{font-size:13px}#syncStatus{margin-top:14px}button:disabled{opacity:.55;cursor:wait}


/* Helicon refinement, October 2026. Brand-consistent editorial typography and touch sizing. */
:root{--ink:#203239;--deep:#173c48;--accent:#b88450;--paper:#fcfaf6;--mist:#f5f2eb;--line:#e6e2d9;--muted:#66777b}
html{scroll-behavior:smooth}body{font-size:16px;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:var(--deep);text-underline-offset:3px}a:hover{color:#a8733f}
.site-header{height:82px;border-bottom:1px solid #e9e6df;box-shadow:0 1px 3px #1c384309}.brand{gap:12px;letter-spacing:.19em}.brand-mark{width:51px;height:51px;line-height:48px;border:1.5px solid var(--deep);font-size:35px}.brand strong{font-size:16px;letter-spacing:.24em}.brand small{font-size:10px;margin-top:3px}.text-button{text-underline-offset:4px;min-height:42px}
.hero{padding:36px 20px 39px;background:var(--deep)}.hero h1{max-width:850px;margin:0 auto 11px;font-size:clamp(30px,5vw,51px);line-height:1.12}.hero .eyebrow{font-size:11px;letter-spacing:.24em;margin-bottom:17px}.hero p:last-child{font-size:15px;line-height:1.5}
.tabs{box-shadow:0 1px 8px #1935400a}.tabs button{min-height:54px;white-space:nowrap;font-size:14px;transition:color .15s,border-color .15s}.tabs button:hover{color:var(--deep)}.page{padding-top:36px}.section-header{margin-bottom:27px;gap:12px}h2{font-size:clamp(34px,5vw,42px)}.eyebrow{letter-spacing:.2em}.date-scroll{gap:9px;padding:0 0 14px}.date-scroll button{border:1px solid #dcded9;min-height:64px;min-width:76px;border-radius:7px}.date-scroll button:hover{border-color:var(--accent)}.date-scroll strong{font-size:17px;margin-top:1px}.date-scroll small{font-size:11px}.day-heading{font-size:26px;margin:22px 0 17px}
.event{min-height:88px;border-radius:9px;padding:17px 16px;gap:14px;box-shadow:0 2px 12px #20394309;transition:border-color .2s,box-shadow .2s,transform .2s}.event:hover{border-color:#cab79f;box-shadow:0 6px 18px #20394312;transform:translateY(-1px)}.time{font-size:14px;min-width:57px;width:57px}.event-title{display:inline-block;font-size:16px;color:var(--deep);line-height:1.4;margin-top:2px}.event-sub{display:inline-block;font-size:13px;line-height:1.65;margin-top:2px}.tag{font-size:10px;letter-spacing:.14em}.arrow{font-size:26px}.explore-card{border-radius:9px;overflow:hidden;transition:box-shadow .2s,border-color .2s}.explore-card:hover{border-color:#cab79f;box-shadow:0 5px 16px #20394312}.explore-picture,.explore-picture img{border-radius:5px}.panel{border-radius:7px;background:#f6f3ed}.modal-card{border-radius:18px 18px 0 0;padding:27px 23px max(35px,env(safe-area-inset-bottom))}.detail-image{height:auto;max-height:300px;aspect-ratio:16/9}.modal-card h2{font-size:clamp(32px,5vw,43px);line-height:1.16;margin-bottom:16px}.modal-card .meta{font-size:14px;line-height:1.65;margin-bottom:25px}.details{white-space:normal;line-height:1.75;font-size:16px}.details p{margin:0 0 15px}.details strong{color:var(--ink)}.details p:has(strong:first-child){margin-top:21px}.details a{text-decoration-thickness:1px}.close{width:43px;height:43px;right:13px;top:12px}footer{padding-bottom:max(23px,env(safe-area-inset-bottom))}
@media(max-width:650px){.site-header{height:80px;padding:0 17px}.brand-mark{height:47px;width:47px;font-size:32px;line-height:44px}.brand strong{font-size:14px}.hero{padding:33px 17px 35px}.hero h1{font-size:clamp(30px,7vw,42px)}.hero p:last-child{font-size:14px}.tabs{justify-content:space-around}.tabs button{font-size:13px;padding:14px 7px;min-height:59px}.page{padding:30px 17px 46px}.section-header{margin-bottom:23px}.date-scroll button{min-width:72px}.event{padding:15px 12px;gap:11px}.time{width:49px;min-width:49px}.event-title{font-size:15px}.event-sub{font-size:12px}.modal-card{padding:25px 20px max(32px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.event,.explore-card{transition:none}.event:hover{transform:none}}

/* Website-matched visual language, based on the supplied Helicon Arts 2026 course-page PDF.
   Distinct from the navy PWA HOME-SCREEN ICON, which is retained intentionally. */
:root{--ink:#232b30;--deep:#163e4c;--accent:#bc2672;--paper:#fff;--mist:#f8f9fa;--line:#e3e8e9;--muted:#626d74;--brand-blue:#006f96;--brand-magenta:#bb236e}
body{background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.62}
h1,h2,h3,.day-heading{font-family:Arial,Helvetica,sans-serif;font-weight:500;letter-spacing:-.025em;line-height:1.2}
h1{font-size:clamp(29px,5.2vw,43px)}h2{font-size:clamp(28px,4vw,35px)}h3{font-size:22px}
.site-header{height:79px;padding:0 clamp(18px,4vw,50px);background:#fff;border-bottom:1px solid #edf0f0;box-shadow:none}
.brand{gap:0;letter-spacing:normal}.brand-logo{width:178px;height:auto;display:block;object-fit:contain}
.text-button{color:var(--brand-blue);font-size:14px;font-weight:500;text-decoration-color:#8ac1d2;text-underline-offset:4px}
a{color:var(--brand-blue)}a:hover{color:var(--brand-magenta)}
.start-photo{background-image:linear-gradient(150deg,rgba(0,0,0,0),rgba(0,0,0,.22)),url('https://images.unsplash.com/photo-1539037116277-4db20889f2d4?auto=format&fit=crop&w=1100&q=85')}
.start-content{background:white}.start-content h1 em{font-style:normal;color:var(--brand-magenta)}.start-content p:not(.eyebrow){color:var(--muted)}
.eyebrow{color:var(--brand-magenta);letter-spacing:.14em;font-size:11px}
.primary{background:var(--brand-blue)}.primary:hover{background:var(--deep)}
.hero{background:#fff;color:#252b2f;text-align:left;padding:27px max(20px,calc((100vw - 790px)/2)) 32px;border-bottom:1px solid var(--line)}
.hero .eyebrow{font-size:11px;color:var(--brand-magenta);letter-spacing:.12em;margin:0 0 9px}
.hero h1{font-size:clamp(27px,5vw,40px);max-width:790px;margin:0 0 9px;line-height:1.2}
.hero p:last-child{color:var(--muted);font-size:14px}
.tabs{background:#fff;box-shadow:none;border-bottom:1px solid #e6eaea}.tabs button{background:white;color:#55636b;border-bottom-width:3px;font-weight:500}
.tabs button.active{color:var(--brand-blue);border-color:var(--brand-magenta);font-weight:700}
.page{padding-top:31px}.section-header{margin-bottom:22px}.section-header h2{color:#232b30}
.date-scroll button{border-color:#dfe6e8;border-radius:4px;color:#34454b}.date-scroll button.active{background:var(--brand-blue);color:white;border-color:var(--brand-blue)}
.day-heading{font-size:24px;color:#222e33;font-weight:500}
.event{box-shadow:none;border-radius:5px;border:1px solid #e2e8eb;min-height:82px}
.event:hover{border-color:#a9cbd9;box-shadow:0 3px 11px #1b4b6010}
.event-title{color:var(--brand-blue);font-weight:700;font-size:16px}
.time{color:#263f48}.tag{color:#a16d40;letter-spacing:.08em}.arrow{color:var(--brand-magenta)}
.explore-card{border-radius:5px;box-shadow:none}.explore-card h3{color:var(--brand-blue);font-size:20px}
.panel{background:#f8fafb;border-radius:4px;border-color:#e7ebee}.panel h3{font-weight:600}
.modal-card{background:white}.modal-card h2{font-weight:500}.details{font-size:16px;line-height:1.7}.details strong{font-weight:700}
footer{background:#f6f8f9;color:#364b52;border-top:1px solid #e5e9eb}footer span{color:#64777d}
@media(max-width:650px){.site-header{height:74px;padding:0 17px}.brand-logo{width:159px}.hero{padding:25px 19px 27px}.hero h1{font-size:clamp(27px,6vw,34px)}.tabs button{font-size:13px;padding:14px 5px}.event{padding:15px 12px}.date-scroll button.active{background:#006f96}}

/* Personal portal additions — brand matched */
[hidden]{display:none!important}.header-actions{display:flex;gap:14px;align-items:center}
.login-shell{min-height:calc(100vh - 160px);display:flex;align-items:center;justify-content:center;padding:35px 18px;background:#f8f9fa}
.login-panel{background:#fff;border:1px solid #e3e8e9;border-radius:7px;padding:clamp(25px,5vw,48px);max-width:520px;width:100%;box-shadow:0 12px 40px #163e4c0b}
.login-panel h1{margin-bottom:14px}.login-panel>p{color:#64777d}.login-panel label{margin-top:18px}
.login-panel input{display:block;width:100%;border:1px solid #cdd8dc;border-radius:4px;padding:14px 13px;font:inherit;color:#203139;background:white}
.login-panel input:focus-visible{outline:2px solid #006f96;outline-offset:2px}.login-panel button{margin-top:24px}
#loginMessage{min-height:23px;color:#a21b51!important;margin-top:14px}
.account-fields{margin-top:12px}.account-field{padding:14px 0;border-bottom:1px solid #e3e8e9;display:grid;grid-template-columns:135px 1fr;gap:12px;overflow-wrap:anywhere}
.account-field:last-child{border-bottom:0}.account-field span{color:#62717a}.account-field strong{font-weight:500}
.history-card{background:white;border:1px solid #e3e8e9;border-radius:5px;padding:17px 19px;margin:12px 0}.history-card h3{color:#176277;font-size:18px;font-weight:600;margin:0 0 4px}.history-card p:last-child{color:#64777d;font-size:13px;margin:0}
#courseHistory>h3{font-size:23px;margin:27px 0 14px}.muted{color:#64777d}
@media(max-width:650px){.tabs{overflow-x:auto;justify-content:flex-start}.tabs button{flex:0 0 auto;min-width:96px;padding:12px 9px}.account-field{grid-template-columns:1fr;gap:1px}.site-header .text-button{font-size:12px}.brand-logo{max-width:145px}}

/* Helicon Arts portal v6: consistent white/sans-serif/magenta and blue from course page */
:root{--paper:#fff;--ink:#252a2d;--accent:#bd2671;--muted:#657078;--brand-blue:#006f96;--line:#e4e8eb}
body{background:#fff} .site-header{border-bottom:1px solid var(--line)}
.site-header .brand-logo{width:clamp(145px,19vw,182px)}
.tabs{justify-content:flex-start;overflow-x:auto;scrollbar-width:thin;max-width:100%;padding:0 max(14px,calc((100vw - 790px)/2));position:sticky;top:0}
.tabs button{flex:0 0 auto;white-space:nowrap;min-height:56px}
.page{padding-top:26px}.section-header{align-items:center;flex-wrap:wrap}
.page h2{font-family:Arial,Helvetica,sans-serif;font-size:clamp(28px,5vw,36px);font-weight:500}
.page h3{font-family:Arial,Helvetica,sans-serif;font-weight:500}
.event,.history-card{box-shadow:none;border:1px solid #e1e7ea;border-radius:5px}
.history-card h3{font-size:19px;color:#006f96;font-weight:600}
.history-card .eyebrow,.tag{color:#bb236e}.history-card p.course-leader{font-size:14px;color:#333;margin:3px 0 4px}
.balance-line{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-top:12px;border-top:1px solid #e5ebed;padding-top:11px;font-size:14px}.balance-line strong{color:#26363d;font-size:16px}
.programme-course-label{margin:8px 0 0;font-size:14px}.programme-controls{display:flex;align-items:center;gap:10px}.programme-controls select{width:auto;max-width:210px;padding:8px;font-size:13px}.programme-controls label{margin:0;font-size:12px}.placeholder{padding:12px;border-left:3px solid #bd2671;background:#f7f8f9;color:#4b5e65}.panel h4{font-size:15px;margin:18px 0 7px}
@media(max-width:650px){.site-header{gap:8px}.site-header .brand-logo{width:148px}.header-actions{gap:6px}.header-actions .text-button{font-size:12px}.tabs{padding:0 12px}.tabs button{min-width:auto;padding:11px 14px}.section-header{align-items:start}.programme-controls{width:100%;justify-content:space-between}.programme-controls select{max-width:230px}.balance-line{align-items:center}}

.local-time-note { font-size: .88rem; color: #617078; margin: 0 0 1rem; font-weight: 500; }

/* v9: booking-led programme navigation */
.booking-actions{border-top:1px solid #e3e8e9;margin-top:14px;padding-top:12px;display:grid;gap:8px}
.programme-link{width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #c6dce4;border-radius:5px;color:#006f96;padding:12px 15px;font-size:14px;font-weight:600;line-height:1.35;cursor:pointer}
.programme-link:hover,.programme-link:focus-visible{background:#f3f9fb;border-color:#006f96}
.programme-link span{font-size:19px;color:#bb236e;flex-shrink:0}
.programme-links{padding:0 0 15px}.programme-links .link-list{display:grid;gap:8px}
.history-card .booking-dates{color:#657078;font-size:14px;margin:6px 0}

/* v10: concise navigation, shared Holiday Guide and transfer information */
:root{--brand-blue:#006f96;--brand-magenta:#bb236e}
.tabs{justify-content:center;gap:6px}
.tabs button{font-size:14px;padding:13px 17px}
.back-link{border:0;background:transparent;color:var(--brand-blue);font-weight:600;font-size:14px;padding:9px 0 18px;text-decoration:underline;text-underline-offset:3px}
.info-line{display:grid;grid-template-columns:118px 1fr;border-bottom:1px solid #e5e9eb;gap:14px;padding:14px 0}
.info-line strong{color:#243640;font-weight:600}.info-line span{color:#35444b}
.guide-feature{padding:22px 24px;border:1px solid #e4e9eb;background:#fbfcfd;margin-bottom:15px;border-radius:5px}
.guide-feature h3{color:var(--brand-blue);font-size:22px;font-weight:600;margin:0 0 10px}
.guide-feature p{margin:0 0 8px}.guide-section-title{font-size:21px!important;margin:30px 0 14px}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}
.guide-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e0e7ea;text-align:left;padding:0;border-radius:5px;overflow:hidden;min-height:170px}
.guide-card:hover,.guide-card:focus-visible{border-color:var(--brand-blue);box-shadow:0 5px 18px #006f9617}
.guide-card img{width:100%;height:150px;object-fit:cover}
.guide-card-placeholder{height:65px;background:#f3f7f8;color:var(--brand-magenta);font-size:30px;display:flex;align-items:center;justify-content:center}
.guide-card-body{display:flex;flex-direction:column;gap:6px;padding:15px;flex:1}
.guide-card-body strong{color:var(--brand-blue);font-size:17px}
.guide-card-body>span{color:#6a767d;font-size:13px}
.guide-card-body .guide-card-action{color:var(--brand-magenta);font-weight:700;margin-top:auto;padding-top:6px}
.flight-alert{display:flex;gap:11px;margin-top:14px;border-left:3px solid #bb236e;padding:11px 13px;background:#fff8fb;color:#51273b;font-size:13px}
.flight-alert>span{font-size:20px;line-height:1}.flight-alert strong{font-weight:700}.flight-alert p{font-size:12px!important;margin:4px 0 0!important;color:#684f5d!important}
@media(max-width:650px){.tabs{justify-content:space-between;gap:0}.tabs button{font-size:12px;min-height:52px;padding:11px 9px}.guide-grid{grid-template-columns:1fr 1fr;gap:9px}.guide-card img{height:110px}.guide-card-body{padding:12px}.guide-card-body strong{font-size:15px}.info-line{grid-template-columns:1fr;gap:2px}}
@media(max-width:350px){.guide-grid{grid-template-columns:1fr}.tabs button{font-size:11px;padding:10px 6px}}

/* v11: accessible programmes, excursion rows, personal booking header */
.client-context{display:flex;flex-direction:column;align-items:flex-end;line-height:1.3;max-width:min(50vw,320px);font-size:12px;color:#344a51}
.client-context strong{font-weight:650;font-size:13px}.client-context span{font-size:11px;overflow-wrap:anywhere;text-align:right}
.available-programmes{background:#f5fafb;border:1px solid #d8e8ee;padding:18px 20px;margin:14px 0 26px;border-radius:5px}
.available-programmes h3{margin:0 0 4px;color:#23424d}.available-programmes p{margin:0 0 12px;font-size:13px}
.programme-choices{display:grid;gap:9px}.programme-choices .programme-link{background:#fff}
.programme-choices .programme-link>span:first-child{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.programme-choices .programme-link strong{font-size:15px;color:#006f96}.programme-choices .programme-link small{font-size:12px;color:#62737c;font-weight:400}
#guideYear{font-weight:400;color:#68777f;font-size:.65em}
.guide-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.guide-card{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:135px}
.guide-card img{width:100%;height:100%;max-height:none;min-height:148px;object-fit:cover}
.guide-card-placeholder{height:100%;min-height:140px}
.guide-description{color:#3c515a!important;font-size:14px!important;line-height:1.55;max-width:100%}
.guide-card-body .guide-card-action{margin-top:4px}
.team-line{margin:8px 0!important;font-size:15px}.team-line strong{font-weight:600}
@media(max-width:650px){.site-header{height:auto;min-height:76px;padding:10px 13px;gap:8px}.site-header .brand-logo{width:137px}.header-actions{gap:7px}.client-context{max-width:42vw}.client-context strong{font-size:12px}.client-context span{font-size:10px}.guide-card{grid-template-columns:120px minmax(0,1fr)}.guide-card img{min-height:145px;height:100%}.guide-card-body{padding:12px}.guide-description{font-size:12px!important;line-height:1.4}.guide-card-body strong{font-size:15px}.available-programmes{padding:16px 13px}}
@media(max-width:380px){.guide-card{grid-template-columns:1fr}.guide-card img{height:145px;min-height:0}.guide-card-placeholder{height:70px;min-height:0}.client-context span{font-size:9px}}

/* v12: personalised landing, website-like hierarchy, compact historical bookings */
.brand-home{padding:0;border:0;background:transparent;cursor:pointer;line-height:0}
.tabs{justify-content:center}.tabs button{padding:13px 14px}
.welcome-heading{margin:10px 0 21px}.welcome-heading h1{font-family:Arial,Helvetica,sans-serif;font-weight:500;font-size:clamp(31px,6vw,44px);margin:0 0 16px}
.welcome-photo{height:clamp(220px,43vw,350px);width:100%;background-position:center;background-size:cover;border-radius:5px;background-color:#dfe8eb}
.photo-caption{font-size:11px;color:#6c787c;margin:8px 0 23px}
.home-booking{border:1px solid #e1e7ea;padding:22px 23px;border-radius:5px;background:white}.home-booking h3{font-family:Arial,Helvetica,sans-serif;font-size:clamp(20px,4vw,26px);font-weight:550;line-height:1.28;margin:0 0 7px;color:#006f96}.home-booking p{margin:6px 0}.home-text-link{border:0;background:transparent;padding:12px 0 0;color:#006f96;text-decoration:underline;font-weight:600}
.booking-reference{font-size:12px;color:#60717b;overflow-wrap:anywhere}.history-card .booking-reference{margin-top:7px}
.bank-details{background:#fff;border:1px solid #e4e7e8;padding:12px 16px;margin-bottom:15px;overflow-wrap:anywhere}.bank-details p{margin:4px 0;font-size:14px}
.site-footer{background:#333333;color:#f8f8f8;letter-spacing:normal;padding:28px 14px 34px}.site-footer p{margin:0 0 9px}.site-footer strong{font-size:14px}.footer-links{display:flex;gap:22px;justify-content:center;flex-wrap:wrap;margin-bottom:12px}.footer-links a{color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:13px}.site-footer small{color:#d7d7d7;font-size:11px}
.excursion-day{color:#b32a71!important;font-size:11px!important;font-weight:650;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:650px){.tabs{justify-content:flex-start;overflow-x:auto}.tabs button{padding:12px 11px;font-size:12px}.page{padding-top:22px}.home-booking{padding:19px 16px}.welcome-photo{height:235px}}

/* v13 — cohesive brand controls */
.brand-portal-title{font-family:Arial,Helvetica,sans-serif;font-size:16px;color:#24617b;font-weight:650;white-space:nowrap;padding-left:15px;margin-left:15px;border-left:1px solid #d7e2e4;letter-spacing:.015em}
.site-header{display:flex;align-items:center}
.footer-links{gap:9px}.footer-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #9e9e9e;border-radius:100px;padding:9px 16px;text-decoration:none;font-size:13px;min-height:40px}.footer-links a:hover{background:#505050}
.guide-card-action,.team-line a,.guide-feature a{border-radius:100px;text-decoration:none;color:#006f96}
.programme-publishing-note{background:#f3f8fa;border-left:3px solid #05779a;padding:12px 16px;line-height:1.55;font-size:14px;color:#314a57;margin:8px 0 10px}
.programme-choices{margin:12px 0 18px}.programme-select-title{margin:0 0 8px}.programme-choice-list{display:flex;flex-wrap:wrap;gap:8px}.programme-choice{padding:10px 16px;background:#fff;color:#006f96;border:1px solid #aacbd7;border-radius:100px;cursor:pointer;font-weight:600;font-size:13px;line-height:1.4}.programme-choice.selected{background:#006f96;color:#fff;border-color:#006f96}
@media(max-width:620px){.site-header .brand-logo{width:137px}.brand-portal-title{font-size:13px;padding-left:9px;margin-left:9px}.client-context{max-width:33vw}.client-context strong{font-size:11px}.client-context span{font-size:9px}}

/* v14: mobile-first Helicon Arts / clean Audley-inspired layout */
:root{--brand-blue:#006f96;--brand-magenta:#b62472;--line:#e2e5e5;--ink:#28353a;--muted:#637178}
body{background:#fff;color:var(--ink)}
.site-header{background:white;min-height:68px;padding:11px max(18px,calc((100vw - 900px)/2));border-bottom:1px solid #e7e9ea;gap:4px}
.brand-logo{max-width:175px}.brand-portal-title{font-size:14px;font-weight:600;color:#3e6877;margin-left:10px;padding-left:11px;border-left:1px solid #d8e2e7}
.profile-button{margin-left:auto;display:grid;place-items:center;border:2px solid #e1e8e9;background:#f3f7f8;border-radius:50%;height:44px;width:44px;padding:0;overflow:hidden;cursor:pointer;flex:none}
.profile-button:focus-visible{outline:3px solid var(--brand-magenta);outline-offset:2px}
.profile-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center 28%;border-radius:50%}
.profile-fallback{display:grid;place-items:center;width:100%;height:100%;background:#e6f1f3;color:#006f96;font-size:16px;font-weight:700;border-radius:50%}
.site-header .header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.site-header #logout{font-size:12px;font-weight:500;color:#65777d;padding:6px}
.tabs{background:#fff;border-bottom:1px solid #e8ecee;box-shadow:none;justify-content:flex-start;scrollbar-width:none;gap:0;position:sticky;top:0;z-index:4}
.tabs::-webkit-scrollbar{display:none}
.tabs button{min-height:49px;padding:12px 18px;font-size:13px;color:#61757c;font-weight:500;border-bottom:2px solid transparent}
.tabs button.active{color:var(--brand-blue);border-color:var(--brand-magenta);font-weight:700}
.page{padding:23px 18px 55px;max-width:790px;margin-inline:auto}
.page h2{font-size:clamp(27px,5vw,36px);font-weight:600;color:#244451;letter-spacing:-.018em}
.section-header{margin-bottom:17px}.eyebrow{font-size:10px;letter-spacing:.115em;color:#a12b70}
.welcome-heading h1{font-size:clamp(29px,6vw,39px);font-weight:550;color:#284957;letter-spacing:-.02em}
.welcome-photo{border-radius:10px;overflow:hidden;aspect-ratio:16/9;height:auto;max-height:340px;background-size:cover;background-position:center}
.home-booking{background:#fff;border:1px solid #e5e9eb;border-radius:9px;box-shadow:0 2px 10px #1f334009;padding:22px;margin-top:18px}
.home-booking h3{font-weight:600;color:#28536a;font-size:23px}
.home-text-link,.programme-link{border-radius:100px!important;color:var(--brand-blue)!important;border:1px solid #c6dae1!important;background:#f7fafb!important;text-decoration:none!important;padding:10px 15px!important;font-weight:600;font-size:13px}
.date-scroll{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;padding:0;margin-top:20px;border-bottom:1px solid #e6ebed}
.date-scroll::-webkit-scrollbar{display:none}
.date-scroll button{border:0;border-right:1px solid #e4e9e9;border-radius:0;background:transparent;min-width:72px;min-height:69px;color:#506068}
.date-scroll button.active{background:transparent!important;color:var(--brand-blue)!important;border-bottom:3px solid var(--brand-magenta);font-weight:700}
.day-heading{font-size:19px;font-weight:650;margin:22px 0 8px;color:#2d4f5a}
/* Thin dividers for everyday itinerary items */
.event.event-list-row{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;background:#fff;border:0;border-bottom:1px solid #e4e8eb;border-radius:0;box-shadow:none;padding:16px 3px;margin:0;text-align:left;min-height:69px;transform:none}
.event-list-row .time{font-weight:700;color:#2b6d88;font-size:14px;width:auto;min-width:0}
.event-list-row .event-main{min-width:0}.event-list-row .event-title{font-size:15px;line-height:1.35;color:#253e4a;font-weight:600;margin:0;display:block}.event-list-row .event-sub{font-size:12px;display:block;color:#7b8587;margin-top:4px}
.event-kind{font-size:10px;color:#819096;font-weight:500;max-width:74px;text-align:right}
/* Excursions retain imagery and details */
.event.event-excursion{width:100%;display:grid;grid-template-columns:108px minmax(0,1fr);align-items:stretch;gap:13px;min-height:122px;margin:13px 0;background:#fff;border:1px solid #e2e8ea;border-radius:10px;box-shadow:0 2px 9px #22353b0b;padding:0;overflow:hidden;text-align:left;transform:none}
.programme-thumb{height:100%;width:108px;min-height:122px;object-fit:cover;display:block}.excursion-fallback{background:#e7f1f2;color:var(--brand-magenta);font-size:30px;display:grid;place-items:center}
.event-excursion .event-main{padding:13px 13px 12px 0;display:flex;flex-direction:column;align-items:start;justify-content:center;min-width:0;gap:4px}
.event-excursion .tag{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#a92a70;font-weight:700}
.event-excursion .event-title{font-size:16px;font-weight:650;color:#24536a;line-height:1.33;margin:0}
.event-excursion .event-sub{font-size:12px;color:#67777d;line-height:1.4;margin:0}
.event-readmore{font-size:11px;color:var(--brand-blue);font-weight:600;margin-top:3px}
/* profile and minimal dividers */
#accountContent{border:0;background:#fff;padding:0;margin-top:6px;box-shadow:none}
.profile-identity{display:flex;align-items:center;gap:17px;padding:6px 0 24px;border-bottom:1px solid #e1e7e9}
.profile-identity .profile-large{width:88px;height:88px;flex:0 0 88px;object-fit:cover;object-position:center 26%;border-radius:50%}
.profile-identity .profile-fallback{width:88px;height:88px;font-size:28px}
.profile-identity h3{font-size:23px;margin:0 0 5px;color:#27546b;font-weight:600}.profile-identity p{margin:0;color:#687b83}
.account-fields{display:block}
.account-field{display:flex!important;align-items:center;gap:17px;grid-template-columns:none!important;border:0;border-bottom:1px solid #e3e8ea;padding:16px 0;margin:0;background:#fff}
.account-icon{font-size:20px;color:#6a8391;flex:0 0 28px;text-align:center;font-weight:400}
.account-text{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.account-caption{font-size:12px;color:#73818a;font-weight:500}.account-text strong{color:#2c4049;font-size:15px;font-weight:550;line-height:1.45;overflow-wrap:anywhere;text-align:left}
/* Footer links: recognisable icons rather than trailing arrows */
.site-footer{background:#333;color:#f8f8f8;padding:28px 14px 33px}
.footer-links{gap:9px;display:flex;justify-content:center;flex-wrap:wrap;margin:16px auto 14px}
.footer-links a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 13px;border:1px solid #747474;background:#414141;border-radius:100px;text-decoration:none;color:#fff;font-size:13px;min-height:42px;transition:background .15s}
.footer-links a:hover,.footer-links a:focus-visible{background:#555;text-decoration:none}
.footer-links svg{height:17px;width:17px;flex:0 0 17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.guide-card{border-radius:10px;box-shadow:0 1px 7px #17384c0c;overflow:hidden}
.guide-grid{gap:13px}
.guide-feature{background:#fff;border-bottom:1px solid #e2e8e8;border-radius:0;padding:21px 0;margin:0}
@media(min-width:850px){.tabs{justify-content:center}.page{padding-top:32px}}
@media(max-width:620px){.site-header{padding:10px 15px;min-height:67px;height:auto}.site-header .brand-logo{width:135px}.brand-portal-title{font-size:12px;padding-left:9px;margin-left:8px}.header-actions{gap:6px}.site-header #logout{font-size:11px}.profile-button{width:39px;height:39px}.tabs{padding:0 8px;justify-content:flex-start}.tabs button{font-size:12px;padding:11px 13px;min-height:48px}.page{padding:20px 17px 45px}.welcome-photo{max-height:none;height:auto;aspect-ratio:16/10}.event.event-list-row{grid-template-columns:47px minmax(0,1fr) auto;gap:9px}.event-kind{max-width:55px}.event.event-excursion{grid-template-columns:95px minmax(0,1fr)}.programme-thumb{width:95px}.profile-identity .profile-large,.profile-identity .profile-fallback{width:74px;height:74px;flex-basis:74px}.footer-links{gap:8px}.footer-links a{padding:8px 11px}}
@media(max-width:360px){.site-header .brand-logo{width:115px}.brand-portal-title{font-size:11px}.site-header #logout{font-size:10px}.event-kind{font-size:9px}}

/* v15: simplified Audley-inspired course-led mobile experience */
.home-welcome{font-size:clamp(27px,6vw,36px);margin:8px 0 22px;font-weight:500;color:#273f43}
.home-booking-switch{display:grid;grid-template-columns:1fr 1fr;gap:0;border-bottom:1px solid #d6dedc;margin:12px 0 18px}
.home-booking-switch button{border:0;background:transparent;font-size:14px;color:#73807e;padding:13px 6px;border-bottom:3px solid transparent;cursor:pointer}
.home-booking-switch button.active{color:#216a67;border-color:#216a67;font-weight:650}
.trip-tile{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e0e7e4;margin:15px 0;box-shadow:0 3px 12px #15313b0b}
.trip-open{border:0;display:block;width:100%;padding:0;background:#fff;text-align:left;cursor:pointer;color:inherit}
.trip-image{display:block;aspect-ratio:16/7;background-position:center;background-size:cover}
.trip-content{display:flex;flex-direction:column;gap:5px;padding:16px}
.trip-content small{color:#6b8280;font-size:12px}.trip-content strong{font-size:18px;line-height:1.35;color:#263f45}.trip-content>span{font-size:13px;color:#006f96;font-weight:600}
.trip-balance{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:10px 16px 14px;border-top:1px solid #e4ebe8;gap:8px;font-size:14px}
.text-link{border:0;background:none;color:#006f96;text-decoration:underline;cursor:pointer}
.past-booking{border-bottom:1px solid #e3e8e6;padding:13px 3px;display:flex;flex-direction:column;gap:7px}
.past-booking strong{font-size:15px;font-weight:600;color:#345057}.confirmation-link{font-size:13px;color:#006f96}
.booking-list-item{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce5e3;padding:16px 0;gap:14px}
.booking-list-copy{flex:1;min-width:0}.booking-list-copy h3{font-size:16px;color:#294b52;margin:0 0 6px}.booking-list-copy p{font-size:12px;margin:3px 0}
.course-open{background:#f2f8f7;border:1px solid #c3d9d5;border-radius:20px;color:#236d76;font-size:12px;padding:8px 10px;cursor:pointer;min-width:112px}
.course-open span{font-size:17px}
.course-team{display:flex;align-items:center;gap:14px;margin:22px 0 10px}
.course-team h3{font-size:21px;font-weight:600;color:#2c5154;margin:4px 0 10px}
.team-avatar{height:74px;width:74px;border-radius:50%;display:grid;place-items:center;background:#e3efec;color:#267068;font-size:25px;font-weight:600;flex-shrink:0}
.pill-link{border:1px solid #bbd5d0;border-radius:100px;padding:6px 12px;display:inline-flex;color:#216b75;font-size:12px;text-decoration:none;font-weight:600}
.course-accompanist{font-size:14px;margin:9px 0 18px;color:#49636b}
.course-hero-photo{display:block;width:100%;height:auto;max-height:340px;object-fit:cover;border-radius:10px;margin:18px 0}
.course-introduction{font-size:15px;line-height:1.75;color:#35484b;margin:18px 0 30px}
.itinerary-heading{font-size:23px;font-weight:500;color:#27635f;margin:27px 0 10px}
.excursion-accordion{border:1px solid #e1e9e7;border-radius:11px;margin:12px 0;overflow:hidden}
.excursion-accordion>summary{list-style:none;cursor:pointer;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.excursion-accordion>summary::-webkit-details-marker{display:none}
.excursion-accordion[open] .event-readmore{color:#8c2b6b}
.excursion-accordion-body{padding:16px 18px;border-top:1px solid #e2e9e7;font-size:14px;line-height:1.7}
.excursion-accordion-body p{margin:0 0 12px}
.event.event-list-row{grid-template-columns:50px minmax(0,1fr)}
.footer-links a{width:49px;height:49px;padding:0;border-radius:50%;background:#e9f2ef;color:#165e72;border:1px solid #9bcbc6}
.footer-links svg{height:23px;width:23px;flex:0 0 23px;stroke-width:1.9}
.footer-links{gap:15px}
@media(max-width:600px){.trip-image{aspect-ratio:16/8}.booking-list-item{align-items:flex-start}.course-open{font-size:11px}.course-team{gap:11px}.team-avatar{width:62px;height:62px;flex-basis:62px}.course-team h3{font-size:19px}.footer-links a{width:46px;height:46px}}

/* v16: course-focused mobile-first presentation */
.trip-open{display:flex;align-items:stretch;width:100%;text-align:left}
.trip-photo{width:120px;min-width:120px;object-fit:cover;align-self:stretch;aspect-ratio:4/3}
.trip-photo-placeholder{width:110px;min-width:110px;background:#e4eeea}
.trip-content{flex:1;min-width:0}
.trip-content .trip-booking-id{color:#7d8588;font-size:11px}
.past-compact{gap:4px;padding:13px 1px;border-bottom:1px solid #dfe7e5}
.past-compact strong{font-size:14px}
.past-compact small{font-size:12px;color:#778387}
.past-compact .confirmation-link{font-size:12px}
#programmeTitle{font-size:clamp(24px,4vw,32px);line-height:1.2;margin:0 0 8px}
.programme-course-label{margin:0 0 12px;font-size:14px}
.event.event-list-row{display:grid;grid-template-columns:52px minmax(0,1fr) 68px;gap:12px;align-items:center;min-height:70px;margin:0!important;border-radius:0!important;padding:13px 0!important;border:0!important;border-bottom:1px solid #dce5e2!important}
.event-list-row .programme-thumb{grid-column:3;grid-row:1;width:68px;height:54px;border-radius:6px;object-fit:cover}
.excursion-accordion{border:0;border-radius:0;margin:0;overflow:visible}
.excursion-accordion>summary{border-bottom:1px solid #dce5e2!important;list-style:none}
.excursion-accordion .event-readmore{font-size:12px;color:#327281;margin-top:5px}
.excursion-accordion-body{padding:13px 0 18px 64px;background:#f8faf9;border:0;border-bottom:1px solid #dce5e2}
.course-team-section{margin:20px 0 24px}.course-team-section>h3{font-size:18px;color:#27565e}
.team-person{display:flex;gap:13px;align-items:center;padding:10px 0;border-bottom:1px solid #e3e9e7}
.team-person .team-avatar{width:62px;height:62px;min-width:62px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#e8eded}
.team-person>div{display:flex;flex-direction:column;gap:4px}.team-person strong{font-size:15px}.team-person a{font-size:13px;color:#26748a}.team-person small{color:#67767a}
.venue-accordion{border-top:1px solid #dfe7e4;border-bottom:1px solid #dfe7e4;margin:25px 0}
.venue-accordion>summary{padding:18px 0;cursor:pointer;font-size:17px;font-weight:600;color:#295961;display:flex;justify-content:space-between;gap:12px}
.venue-more{font-size:12px;font-weight:400;color:#327281}
.venue-body{font-size:14px;line-height:1.7;padding-bottom:14px}.venue-image{width:100%;max-height:270px;object-fit:cover;border-radius:8px}
.account-icon i{font-size:19px;color:#357684}
@media(max-width:550px){.trip-photo{width:95px;min-width:95px}.trip-content{padding:10px}.event.event-list-row{grid-template-columns:48px minmax(0,1fr) 54px;gap:9px}.event-list-row .programme-thumb{width:54px;height:52px}.excursion-accordion-body{padding-left:57px}}

/* v17 visual refinements */
.course-hero-photo{width:100%;max-width:400px;max-height:none;aspect-ratio:1/1;object-fit:contain;background:#f5f7f6;margin:18px 0;border-radius:8px}
.venue-image{display:block;width:auto;height:auto;max-width:min(100%,340px);max-height:260px;object-fit:contain;margin:0 0 14px;border-radius:7px}
.event.event-list-row{grid-template-columns:91px minmax(0,1fr) auto}
.event-list-row .time{width:91px;min-width:0;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.event-list-row .programme-thumb{width:auto;max-width:83px;height:auto;max-height:65px;object-fit:contain;grid-column:3;grid-row:1;background:#f3f5f4}
.excursion-large-image{display:block;width:auto;height:auto;max-width:min(100%,500px);max-height:none;object-fit:contain;margin:0 0 17px;border-radius:8px}
.excursion-accordion-body em,.course-introduction em,.venue-body em{font-style:italic}
.excursion-accordion .event-readmore i{font-size:10px;margin-left:6px;transition:transform .15s}
.excursion-accordion[open] .event-readmore i{transform:rotate(180deg)}
.site-footer{background:#912663!important;color:#fff!important;border:0;letter-spacing:normal;padding:33px 18px max(27px,env(safe-area-inset-bottom))}
.site-footer .footer-inner{width:min(100%,950px);margin:auto}
.site-footer .footer-primary{display:flex;justify-content:center;padding:0 0 20px}
.site-footer .footer-contact{display:flex;flex-wrap:wrap;gap:22px;align-items:center;justify-content:center}
.site-footer a{color:#fff!important;text-decoration:none}
.site-footer a:hover,.site-footer a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.footer-website{display:inline-flex;gap:10px;align-items:center;font-size:15px;font-weight:600;letter-spacing:0}
.footer-website i{font-size:20px}
.footer-icon-links{display:flex;gap:23px;align-items:center}
.footer-icon-links a{display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:0;background:transparent!important;color:white!important;min-width:26px;min-height:33px}
.footer-icon-links i{font-size:24px}
.site-footer .footer-legal{display:flex;gap:10px 22px;flex-wrap:wrap;justify-content:center;padding:16px 0;border-top:1px solid #ffffff45;border-bottom:1px solid #ffffff45}
.site-footer .footer-legal a{font-size:12px;line-height:1.6}
.site-footer .footer-copyright{margin:16px 0 0;font-size:12px;color:#fff!important;text-align:center;letter-spacing:0;font-weight:400}
@media(max-width:550px){.event.event-list-row{grid-template-columns:84px minmax(0,1fr) auto;gap:8px}.event-list-row .time{width:84px;font-size:11px}.event-list-row .programme-thumb{max-width:65px;max-height:59px}.excursion-accordion-body{padding-left:0}.site-footer .footer-contact{flex-direction:column;gap:16px}.site-footer .footer-legal{flex-direction:column;align-items:center;gap:10px}.site-footer .footer-legal a{font-size:12px}}

/* v18: tighter course staff and clearer client documents */
.team-person{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.team-person .team-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.team-person .team-avatar{order:2;flex:0 0 50px;width:50px;height:50px;min-width:50px;object-fit:cover;align-self:flex-start}
.music-details-section{padding:18px 0;margin:20px 0;border-top:1px solid #dfe7e4;border-bottom:1px solid #dfe7e4}
.music-details-section h3{margin:0 0 12px;font-size:19px;color:#295961}
.music-download-button{display:inline-flex;align-items:center;gap:9px;background:#912663;color:white!important;border-radius:100px;padding:11px 18px;margin-top:12px;text-decoration:none;font-weight:600;font-size:14px}
.trip-document-links{display:flex;flex-wrap:wrap;gap:9px 20px;padding:0 14px 12px}
.trip-document-links:empty{display:none}
.trip-document-links .confirmation-link{font-size:12px;line-height:1.4}
.site-footer .footer-contact{display:flex;flex-direction:column;align-items:center;gap:14px}
.site-footer .footer-primary{padding-bottom:19px}
.site-footer .footer-website{display:block;font-size:15px}
.site-footer .footer-legal{border-bottom:0}
.site-footer .footer-copyright{white-space:normal;line-height:1.5;margin-top:12px}
@media(max-width:550px){.site-footer .footer-contact{gap:14px}.site-footer .footer-copyright{font-size:11px}.team-person .team-avatar{width:48px;height:48px;min-width:48px;flex-basis:48px}}

/* v19 visual system: consistent type, colour, spacing, documents and footer */
:root{--brand:#912663;--ink:#26393d;--deep:#912663;--accent:#912663;--line:#e4e7e6;--muted:#627176}
html{font-size:16px}
body,button,input,select,textarea{font-family:'Open Sans',Arial,Helvetica,sans-serif!important}
body{font-size:16px;line-height:1.65;color:var(--ink);background:#fff}
p,li,.course-introduction,.venue-body,.excursion-accordion-body,.music-details-section,.panel,.account-text strong{font-size:16px;line-height:1.65}
h1,h2,h3,h4,.home-welcome,.day-heading,.itinerary-heading,#programmeTitle,.venue-accordion>summary{font-family:'Open Sans',Arial,Helvetica,sans-serif!important;font-weight:600;color:var(--brand);line-height:1.3;letter-spacing:-.025em}
h1,.home-welcome{font-size:clamp(25px,4vw,29px);font-weight:600;color:var(--brand)}
h2,#programmeTitle{font-size:clamp(22px,3.5vw,25px);font-weight:600;color:var(--brand)}
h3,.day-heading,.itinerary-heading,.course-team-section>h3,.music-details-section h3,.venue-accordion>summary{font-size:18px;font-weight:600;color:var(--brand)}
h4{font-size:16px}
.page h2{font-size:24px}
.team-person strong,.trip-content strong,.event-title,.account-text strong{font-size:16px;font-weight:600}
.team-person small,.team-person a,.event-sub,.account-caption,.trip-booking-id{font-size:13px}
.course-link-label,.trip-tile .text-link{color:var(--brand)}
a,.text-link{color:var(--brand)}
.trip-tile{border:1px solid #e2e6e5;border-radius:12px;box-shadow:0 2px 10px #26393d08;overflow:hidden}
.trip-content{padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.trip-content .trip-booking-id{color:#6f777b}
.trip-document-links{display:flex;gap:9px;flex-wrap:wrap;padding:12px 16px;border-top:1px solid #edf0ef}
.trip-document-links .confirmation-link{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:7px;background:#f9f4f7;border:1px solid #ecdce5;text-decoration:none;font-size:13px;line-height:1.3;font-weight:600;color:var(--brand)}
.trip-document-links .confirmation-link i{font-size:18px;color:var(--brand)}
.trip-document-links .confirmation-link:hover{background:#f4e8ef}
.single-room-label{display:inline-flex;gap:7px;align-items:center;font-size:11px;line-height:1.2;color:var(--brand);font-weight:700;letter-spacing:.045em;margin:4px 0}
.trip-financials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #edf0ef;padding:12px 8px}
.financial-item{display:flex;flex-direction:column;min-width:0;gap:2px;align-items:center;text-align:center;padding:5px 7px;border-right:1px solid #e8eceb}
.financial-item:last-child{border-right:0}.financial-item span{font-size:12px;color:#677378}.financial-item strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#253d43}
.financial-item.amount-outstanding strong{color:var(--brand)}
.trip-payment-action{padding:0 16px 14px;text-align:right}
.trip-payment-action .text-link{font-size:13px}
.home-booking-switch button.active,.tabs button.active{border-color:var(--brand);color:var(--brand)}
.site-footer{background:var(--brand)!important;color:#fff!important}
.site-footer,.site-footer *{color:#fff!important}
.site-footer .footer-copyright{display:block!important;width:100%;max-width:100%;font-family:'Open Sans',Arial,sans-serif!important;font-size:12px!important;line-height:1.5!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;letter-spacing:0!important;text-align:center;margin:18px auto 0}
.site-footer .footer-copyright span{display:inline!important;font-size:inherit!important;font-weight:inherit!important;white-space:nowrap!important;line-height:inherit!important;color:#fff!important}
@media(max-width:480px){.trip-financials{padding-left:4px;padding-right:4px}.financial-item strong{font-size:13px}.trip-document-links .confirmation-link{font-size:12px}.site-footer .footer-copyright{font-size:10px!important;white-space:normal!important}}

/* v20: streamlined booking actions, unified labels and more legible itinerary */
.home-welcome{color:#1b2529!important}
.trip-open{display:flex;align-items:stretch;cursor:default!important}
.trip-title-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:baseline;width:100%}
.trip-title-row .trip-title{flex:0 1 auto;min-width:0;color:#263f45!important}
.course-details-button{appearance:none;border:1px solid #912663;border-radius:999px;padding:6px 12px;background:#912663;color:white;font:600 12px/1.35 'Open Sans',sans-serif;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer;vertical-align:middle}
.course-details-button:hover,.course-details-button:focus-visible{background:#74204f;border-color:#74204f}
.course-details-button i{font-size:10px}
.trip-content .trip-booking-id{font-size:12px;color:#58676e}
.single-room-label{color:#912663!important;cursor:default;pointer-events:none}
.trip-document-links{padding:12px 16px;border-top:1px solid #edf0ef;gap:8px;display:flex;flex-wrap:wrap}
.trip-document-links .confirmation-link{display:inline-flex;gap:9px;align-items:center;padding:9px 12px;background:#f9f4f7;border:1px solid #ecdce5;border-radius:7px;color:#912663;text-decoration:none;font-size:13px;font-weight:600}
.trip-document-links .confirmation-link.payment-confirmation{background:#eef6f5;border-color:#d2e6e3;color:#27645d}
.trip-document-links .confirmation-link.payment-confirmation i{color:#27645d}
.trip-document-links .confirmation-link:hover,.trip-document-links .confirmation-link:focus-visible{filter:brightness(.96)}
.event.event-list-row,.excursion-accordion>summary{align-items:start!important}
.event-list-row .time,.event-list-row .event-main{align-self:start!important;padding-top:2px!important}
.site-footer .footer-copyright{display:block!important;text-align:center!important;font-size:12px!important;line-height:1.5!important;color:#fff!important;margin-top:16px!important;white-space:nowrap!important}
.site-footer .footer-copyright .copyright-one-line{display:inline!important;white-space:nowrap!important;color:#fff!important}
.site-footer .footer-copyright #copyrightYear{display:inline!important;white-space:nowrap!important;color:#fff!important}
@media(max-width:620px){.trip-title-row{align-items:flex-start}.course-details-button{padding:7px 11px}.site-footer .footer-copyright{font-size:10px!important;letter-spacing:-.02em!important}}
@media(max-width:375px){.site-footer .footer-copyright{font-size:9px!important}}

/* v21: steady course detail hierarchy, consistent downloadable links and expandable notes */
.venue-static{margin:23px 0 16px;padding:18px 0 0;border-top:1px solid #dfe7e4}
.venue-static>h3{font-size:18px;font-weight:600;color:#912663;margin:0 0 13px}
.venue-static .venue-body{padding-bottom:0}
.venue-static .venue-website-link{margin-top:10px}
.music-details-section{margin:20px 0 0;padding:18px 0 0;border-top:1px solid #dfe7e4;border-bottom:0}
.music-download-button,.venue-website-link{display:inline-flex!important;align-items:center;gap:9px;border:1px solid #ecdce5!important;border-radius:7px!important;padding:9px 12px!important;background:#f9f4f7!important;color:#912663!important;font:600 13px/1.4 'Open Sans',Arial,sans-serif!important;text-decoration:none!important;margin-top:12px}
.music-download-button i,.venue-website-link i{color:#912663;font-size:18px}
.music-download-button:hover,.venue-website-link:hover{background:#f4e8ef!important}
.event-list-row .programme-thumb{width:auto!important;height:auto!important;max-width:83px!important;max-height:80px!important;object-fit:contain!important;object-position:top right!important;background:transparent!important;border-radius:5px;min-height:0!important;align-self:start!important;display:block}
.excursion-accordion-body{background:#fff}
@media(max-width:550px){.event-list-row .programme-thumb{max-width:65px!important;max-height:70px!important}}

/* v22: quieter hierarchy matching the main Helicon Arts identity */
.brand-portal-title{
  color:#912663!important;
  font-family:'Open Sans',Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:.09em!important;
  text-transform:uppercase;
  border-left:1px solid #e6c7d8!important;
  padding-left:16px!important;
}
.excursion-accordion-body{
  padding:15px 0 22px 103px!important;
  font-family:'Open Sans',Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.65!important;
}
.excursion-accordion-body p,
.excursion-accordion-body li,
.excursion-accordion-body .details,
.excursion-accordion-body div{font-size:15px!important;line-height:1.65!important}
.event-list-row .event-title{font-size:16px!important}
.event-list-row .event-sub{font-size:13px!important}
.event-list-row .event-readmore{font-size:13px!important}
.payment-overview{border:0;background:transparent;padding:0;margin:0}
.payment-overview>p{margin:0 0 18px;font-size:16px;line-height:1.7}
.payment-overview>h4{font-size:16px;font-weight:650;margin:22px 0 10px;color:#912663}
.payment-overview .bank-details{
  background:#f1f3f4!important;
  border:0!important;
  border-radius:12px!important;
  padding:17px 20px!important;
  margin-bottom:17px;
}
.payment-overview .bank-details p{font-size:16px!important;line-height:1.65!important}
@media(max-width:620px){
 .brand-portal-title{font-size:11px!important;padding-left:9px!important;letter-spacing:.05em!important}
 .excursion-accordion-body{padding-left:93px!important}
 .payment-overview .bank-details{padding:15px 16px!important}
}

/* D1 account onboarding */
.auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}
.auth-link{border:0;background:none;color:#912663;text-decoration:underline;font:600 14px 'Open Sans',sans-serif;cursor:pointer;padding:5px 0}
.account-auth-panel{border-top:1px solid #e7e7e7;margin-top:20px;padding-top:20px}
.account-auth-panel h2{font-size:19px;color:#912663;margin:0 0 10px}
.account-auth-panel form{display:grid;gap:10px;margin-top:12px}
.account-auth-panel input{width:100%;min-height:42px;padding:10px;border:1px solid #c7ced1;border-radius:7px}

/* v24 - separate sign-in / activation / reset screens */
#loginForm[hidden],#loginActions[hidden],#authCompleteForm[hidden],#authRequestForm[hidden]{display:none!important}
#loginScreen .login-panel .account-auth-panel{margin-top:8px;padding-top:8px;border-top:0}
#loginScreen .login-panel .account-auth-panel h2{font-size:24px;line-height:1.3;font-weight:650;color:#912663}
#loginScreen .auth-feedback{margin:17px 0 5px;font-size:14px!important;line-height:1.5;color:#314751}
#loginScreen .auth-feedback[data-status='error']{color:#9f2640}
#loginScreen .auth-feedback[data-status='success']{color:#256647}
#loginScreen .auth-link{text-decoration:none;font-weight:650}
#loginScreen .auth-link:hover{text-decoration:underline}

/* v25 admin and account activation */
.auth-activate-button{display:inline-flex;align-items:center;justify-content:center;border:2px solid #912663;border-radius:8px;background:white;color:#912663;font:700 15px 'Open Sans',Arial,sans-serif;padding:11px 18px;cursor:pointer;margin:8px 10px 5px 0}
.auth-activate-button:hover{background:#f9eef4}
.admin-shell{max-width:900px;margin:0 auto;padding:35px 20px 70px}
.admin-shell h1,.admin-shell h2{color:#912663}.admin-inner{width:100%}.admin-settings-form{display:grid;gap:15px;max-width:620px;margin:20px 0 35px}.admin-settings-form label{display:grid;gap:7px;font-weight:600}.admin-settings-form input,.admin-settings-form textarea{border:1px solid #cbd3d6;border-radius:7px;padding:10px;font:inherit}.admin-settings-form .primary{max-width:240px}.admin-table-wrap{overflow-x:auto}.admin-log-table{border-collapse:collapse;width:100%;font-size:14px}.admin-log-table th,.admin-log-table td{text-align:left;padding:10px;border-bottom:1px solid #e2e5e6}
