/* Guide training page and homepage invitation */
.course-page { background:#f7fafb; }
.course-page h1,.course-page h2,.course-page h3,.course-promo h2 { font-family:Montserrat,sans-serif; line-height:1.15; letter-spacing:-.035em; }
.course-page h1 { font-size:clamp(2.7rem,5.2vw,5rem); margin:20px 0 24px; max-width:800px; }
.course-page h2,.course-promo h2 { font-size:clamp(1.9rem,3.4vw,3rem); margin:0 0 22px; }
.course-page h3 { font-size:1.4rem; margin:0 0 14px; }
.course-page p { line-height:1.8; }
.course-eyebrow { font-size:.75rem; letter-spacing:.16em; font-weight:700; color:#087c8c; margin:0 0 16px; }
.course-hero { padding:150px 0 80px; overflow:hidden; }
.course-hero-grid { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:55px; }
.course-intro { font-size:1.1rem; color:#506272; max-width:640px; }
.course-facts { display:flex; flex-wrap:wrap; gap:12px 24px; align-items:center; margin:28px 0; }
.course-facts strong { font-size:1.7rem; color:#153a50; }
.course-facts span { font-size:.9rem; color:#506272; }
.course-actions { display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.course-button { background:#f5b51b; color:#102f42; border:2px solid #f5b51b; font-weight:700; border-radius:12px; padding:16px 24px; text-align:center; }
.course-button:hover { background:#ffd368; border-color:#ffd368; color:#102f42; transform:translateY(-2px); }
.course-text-link { color:#164e65; font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.course-hero-visual { border-radius:20px; overflow:hidden; background:transparent; }
.course-hero-visual img { display:block; width:100%; height:auto; }
.course-image-caption { position:absolute; bottom:0; left:0; right:0; padding:70px 32px 28px; background:linear-gradient(transparent,rgba(4,30,44,.95)); color:white; font-family:Montserrat,sans-serif; font-size:1.5rem; font-weight:600; }
.course-section { padding:85px 0; scroll-margin-top:100px; }
.course-section-heading { max-width:780px; margin-bottom:40px; }
.course-section-heading p { color:#506272; font-size:1.05rem; }
.course-days { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.course-day { display:flex; align-items:flex-start; gap:22px; padding:32px; background:white; border:1px solid #dce8ed; border-radius:20px; }
.course-day:last-child { grid-column:1/-1; background:#e8f3f5; }
.course-day-number { font-family:Montserrat,sans-serif; font-size:2.25rem; font-weight:700; color:#0098aa; line-height:1; }
.course-day p,.course-extras p { color:#506272; margin:0; }
.course-note { max-width:850px; font-size:.85rem; color:#647681; margin-top:24px; }
.course-ocean,.course-enrol { background:#103647; color:white; }
.course-ocean .course-section-heading p { color:#c1d7df; }
.course-fish { display:flex; flex-wrap:wrap; gap:12px; list-style:none; padding:0; }
.course-fish li { border:1px solid #547481; padding:12px 20px; border-radius:40px; font-size:1rem; }
.course-extras { display:grid; grid-template-columns:1fr 1fr; gap:42px; }
.course-extras article { border-top:3px solid #11a5b5; padding-top:24px; }
.course-faq { padding-top:10px; }
.course-faq .container { max-width:900px; }
.course-faq details { border-bottom:1px solid #d3e0e5; padding:22px 0; }
.course-faq summary { font-weight:600; font-size:1.1rem; cursor:pointer; }
.course-faq details p { color:#506272; margin:16px 0 0; }
.course-enrol { text-align:center; }
.course-enrol p { color:#c1d7df; margin-bottom:26px; }
.course-promo { padding:35px 0; background:#f7fafb; }
.course-promo-inner { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:40px; background:#103647; color:white; border-radius:24px; }
.course-promo h2 { font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:12px; }
.course-promo p:not(.course-eyebrow) { max-width:760px; color:#c1d7df; line-height:1.7; margin:0; }
.course-promo .course-eyebrow { color:#6be0dc; }
.course-promo .course-button { flex-shrink:0; }
.course-page a:focus-visible,.course-page summary:focus-visible,.course-promo a:focus-visible { outline:3px solid #08adc1; outline-offset:5px; }
@media(max-width:991px) {
 .course-hero-grid { grid-template-columns:1fr; gap:32px; }
 .course-hero { padding-top:120px; }
 .course-hero-visual { max-width:520px; width:100%; justify-self:center; }
 .course-promo-inner { flex-direction:column; align-items:flex-start; }
}
@media(max-width:600px) {
 .course-section { padding:55px 0; }
 .course-days,.course-extras { grid-template-columns:1fr; }
 .course-day { padding:24px 20px; gap:15px; }
 .course-day-number { font-size:1.8rem; }
 .course-promo-inner { padding:28px 22px; }

 .course-image-caption { font-size:1.25rem; }
 .course-actions { align-items:stretch; flex-direction:column; }
 .course-actions .course-text-link { text-align:center; }
}
.course-image-caption p,.course-ocean h2,.course-enrol h2,.course-promo h2 { color:white; }

.course-package-link { display:inline-block; margin:0 0 24px; }
.course-practice { padding-bottom:20px; background:#e8f3f5; }
.course-practice .course-section-heading { max-width:950px; }
.course-packages { scroll-margin-top:100px; }
.course-package-value { max-width:950px; color:#506272; margin-bottom:32px; }
.course-package-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.course-package { display:flex; flex-direction:column; padding:32px; background:white; border:1px solid #cbdde4; border-radius:20px; }
.course-package .course-package-price { font-size:3rem; font-weight:800; color:#103647; margin:8px 0 0; line-height:1.2; }
.course-package-unit { color:#506272; margin:8px 0 24px; }
.course-package-includes { font-weight:700; color:#087c8c; padding:20px 0; }
.course-package .course-button { margin-top:auto; align-self:flex-start; }
@media(max-width:700px) { .course-package-grid { grid-template-columns:1fr; } .course-package { padding:24px; } }

/* Photos retain their natural proportions at every viewport width. */
.course-practice-grid { display:grid; grid-template-columns:1fr 1.1fr; align-items:center; gap:40px; }
.course-practice-photo,.course-inline-photo { display:block; background:transparent; }
.course-practice-photo img,.course-inline-photo img { display:block; width:100%; height:auto; border-radius:18px; }
.course-photo-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:28px; max-width:1000px; padding-top:24px; padding-bottom:64px; }

.course-work-layout { display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); align-items:start; gap:40px; }
.course-work-photo { width:100%; max-width:440px; }
.course-work-layout .course-extras { grid-template-columns:1fr; gap:28px; }
@media(max-width:767px) { .course-work-layout { grid-template-columns:1fr; gap:28px; } .course-work-photo { max-width:380px; justify-self:center; } }

@media(max-width:991px) { .course-practice-grid { grid-template-columns:1fr; gap:12px; } }
@media(max-width:600px) { .course-photo-pair { grid-template-columns:1fr; gap:24px; padding-bottom:40px; } }

.course-topic-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); align-items:center; gap:40px; }
#programme .course-topic-layout { margin-bottom:40px; }
.course-topic-layout .course-section-heading { margin-bottom:24px; }
.course-topic-layout > .course-inline-photo { width:100%; max-width:320px; justify-self:center; }
@media(max-width:700px) { .course-topic-layout { grid-template-columns:1fr; gap:24px; } .course-topic-layout > .course-inline-photo { max-width:280px; } }
