/* NDL coastal design system: deep water, warm stone and sand. */
:root {
 --ink: #163c3c;
 --muted: #617270;
 --aqua: #177c72;
 --pale: #edf1eb;
 --sand: #f0bd7d;
 --paper: #f8f7f2;
 --line: #dce3da;
 --deep: #123b3b;
 --header: #163c3c;
 --text: #617270;
 --theme: #177c72;
 --white: #fff;
}
body { background: var(--paper); color: var(--muted); -webkit-font-smoothing: antialiased; }
h1,h2,h3 { letter-spacing: -.05em; }
h1 { font-weight: 600; }
h2 { font-weight: 600; font-size: clamp(32px,3.8vw,54px); line-height: 1.14; }
h3 { font-weight: 700; letter-spacing: -.025em; }
p { line-height: 1.85; }
a { text-decoration: none; }
.ndl-section { padding: 108px 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .16em; font-weight: 800; color: #247267; margin-bottom: 23px; }
.eyebrow::before { content: ''; width: 23px; height: 1px; background: currentColor; flex-shrink: 0; }
.ndl-pale { background: #edf1eb; }
.ndl-dark { background: var(--deep); color: #c0d2cc; position: relative; }
.ndl-dark .eyebrow { color: #abd8c6; }
.ndl-dark h2,.ndl-dark h3 { color: #fcfbf6; }
.ndl-header { border-bottom: 1px solid #ffffff24; }
.ndl-header-inner { min-height: 98px; }
.ndl-logo { width: 155px; }
.ndl-nav { gap: 28px; }
.ndl-nav a { font-size: 13px; font-weight: 600; position: relative; }
.ndl-nav a:not(.ndl-nav-contact)::after { content: ''; height: 1px; position: absolute; left: 0; bottom: -8px; width: 0; background: currentColor; transition: width .2s ease; }
.ndl-nav a:hover::after,.ndl-nav a[aria-current]::after { width: 100%; }
.ndl-header:not(.ndl-header-solid) .ndl-nav a:hover,.ndl-header:not(.ndl-header-solid) .ndl-nav a[aria-current] { color: #f0bd7d; }
.ndl-nav-contact { border-radius: 50px; padding: 11px 20px; font-size: 12px !important; gap: 22px; }
.ndl-nav-contact i { font-size: 11px; }
.ndl-header-solid { background: var(--paper); border-color: var(--line); }
.ndl-header-solid .ndl-nav-contact { border-color: #bbcfc1; }
.ndl-header-solid .ndl-nav-contact:hover { background: var(--ink); border-color: var(--ink); color: white; }
.ndl-hero { padding: 155px 0 135px; min-height: 100vh; min-height: 100dvh; }
.ndl-hero::after { background: linear-gradient(90deg,#0a282ad6 0%,#0b2a2b73 65%,#0b2a2b21),linear-gradient(0deg,#092a2cce,transparent 35%,transparent 70%,#092a2c55); }
.ndl-hero-content { max-width: 980px; }
.ndl-hero h1 { font-size: clamp(48px,6.7vw,92px); font-weight: 500; line-height: 1.08; margin-bottom: 30px; letter-spacing: -.055em; }
.hero-place { color: #c1dfcb; }
.ndl-hero .eyebrow { color: #d6e6db; font-size: 10px; }
.ndl-hero .hero-intro { font-size: 15px; line-height: 1.85; max-width: 420px; color: #d4e0d9; }
.hero-links { gap: 32px; margin-top: 32px; }
.ndl-button { border-radius: 50px; background: var(--sand); color: #193e38; padding: 16px 25px; gap: 30px; font-size: 12px; font-weight: 800; line-height: 1.5; transition: background .2s, transform .2s; }
.ndl-button i { font-size: 12px; }
.ndl-button:hover { background: #f8d6a4; color: #193e38; transform: translateY(-2px); }
.text-link { font-size: 12px; gap: 22px; font-weight: 700; }
.text-link i { width: 33px; height: 33px; border: 1px solid #b7cbbd; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; transition: background .2s, color .2s, transform .2s; }
.text-link:hover i { background: var(--ink); color: white; border-color: var(--ink); transform: translateX(3px); }
.ndl-dark .text-link i,.hero-links .text-link i { border-color: #d5e7dc55; }
.ndl-dark .text-link:hover i,.hero-links .text-link:hover i { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.hero-footnote { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #d7e3dc; padding-top: 23px; border-top: 1px solid #dce8df40; font-size: 10px; letter-spacing: .035em; }
.hero-footnote > span { display: inline-flex; align-items: center; gap: 10px; }
.hero-footnote > a { display: flex; align-items: center; gap: 18px; color: inherit; }
.hero-footnote > a i { font-size: 12px; }
.section-heading { margin-bottom: 42px; gap: 35px; }
.section-intro { font-size: 14px; max-width: 610px; }
.about-story p,.about-page-story p,.about-page-sea p { font-size: 15px; }
.about-images { display: grid; gap: 18px; }
.about-layout .photo-card { margin: 0; }
.photo-card { border-radius: 14px; background: #dce6dd; }
.photo-card img { transition: transform .65s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-caption { font-size: 11px; padding: 50px 20px 18px; background: linear-gradient(transparent,#0b292bc9); }
.photo-caption > i { width: 28px; height: 28px; border: 1px solid #ffffff70; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; }
.club-principles { border-top: 0; background: #eef1e9; padding: 30px; border-radius: 14px; margin-top: 40px; gap: 0; }
.club-principles > div { padding: 0 25px; border-right: 1px solid #d2dfd3; }
.club-principles > div:first-child { padding-left: 0; }
.club-principles > div:last-child { border-right: 0; }
.club-principles i { font-size: 22px; color: #32786b; margin-bottom: 12px; }
.club-principles p { font-size: 12px; font-weight: 600; line-height: 1.6; }
#diving { background: radial-gradient(ellipse at 100% 0%,#2c5b50,transparent 55%),var(--deep); }
.dive-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.dive-option { display: grid; grid-template-columns: 35px 1fr; padding: 30px; border: 1px solid #c6dece35; border-radius: 13px; background: #ffffff04; gap: 16px; position: relative; color: #c0d2cc !important; transition: background .25s,border-color .25s; }
.dive-option:hover { background: #ffffff0d; border-color: #c6dece80; }
.dive-option > span { color: #d7bd8e; font-size: 11px; padding-top: 4px; }
.dive-option h3 { font-size: 24px; font-weight: 500; padding-right: 22px; }
.dive-option p { grid-column: 2; font-size: 13px; max-width: 350px; color: #bfd0c9; }
.dive-option-arrow { position: absolute; right: 24px; top: 34px; font-size: 12px; color: #b4cfc0; }
.learning-grid { gap: 20px; }
.learning-card { position: relative; border-color: var(--line); background: #fffefa; padding: 34px; border-radius: 14px; transition: border-color .25s,box-shadow .25s,transform .25s; }
.learning-card:hover { border-color: #9db8a5; box-shadow: 0 18px 35px #1a3d3210; transform: translateY(-4px); }
.learning-card > i { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; background: #edf3e9; border: 1px solid #dce7d8; border-radius: 50%; font-size: 22px; color: #317865; margin-bottom: 30px; }
.learning-card h3 { font-size: 25px; font-weight: 600; }
.learning-card p { font-size: 14px; }
.learning-card > span { border-top: 1px solid var(--line); padding-top: 20px; font-size: 10px; }
.learning-more { display: flex; justify-content: space-between; gap: 15px; align-items: center; color: #296e5e; font-size: 12px; font-weight: 800; margin-top: 22px; }
.learning-more i { font-size: 11px; }
.coast-grid { gap: 20px !important; }
#places { background: #e8eee5; }
#places .photo-card { aspect-ratio: 4 / 4.5 !important; }
#gallery .photo-masonry { gap: 20px; }
#gallery .photo-card { aspect-ratio: 4 / 3; }
#videos { background: #173d3b; }
.film-card { border-radius: 14px; border-color: var(--line); background: #fffefa; }
.ndl-dark .film-card { background: #214744; border-color: #ffffff15; }
.film-description { padding: 25px; }
.film-description h3 { font-size: 21px; font-weight: 600; }
.film-description p { font-size: 12px; line-height: 1.75; }
.film-duration { border-radius: 30px; background: #102d32bb; font-size: 10px; padding: 3px 9px; }
.preparation-list { display: grid; gap: 12px; margin: 25px 0; }
.preparation-list li { margin: 0; font-size: 13px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fffefa; }
.preparation-list i { color: #368276; margin-right: 10px; }
#faq { background: #f0f2ec; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid #dbe3d8; border-radius: 10px; padding: 0 23px; background: #fffefa; }
.faq-list details[open] { border-color: #9abca8; }
.faq-list summary { padding: 22px 0; font-size: 15px; font-weight: 600; }
.faq-list summary i { color: #477e6e; }
.faq-list details p { font-size: 13px; padding-bottom: 4px; }
.portfolio-heading { background: radial-gradient(ellipse at 90% 100%,#dce7d9,transparent 65%),#edf1e9; padding: 38px 0 65px; border-bottom: 1px solid #dbe3d8; }
.portfolio-back { font-size: 11px; gap: 10px; margin-bottom: 35px; }
.portfolio-heading h1 { font-size: clamp(44px,5.8vw,78px); font-weight: 500; letter-spacing: -.055em; max-width: 1000px; }
.portfolio-heading-bottom p { font-size: 14px; }
.portfolio-heading-bottom > span { padding: 9px 16px; border: 1px solid #bdcdbb; border-radius: 30px; font-size: 10px; }
.program-grid { gap: 20px; }
.program-card { background: #fffefa; border-color: #d9e2d4; padding: 35px; border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.program-card:hover { box-shadow: 0 16px 35px #153c3210; transform: translateY(-3px); }
.program-top > i { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; background: #edf3e9; border-radius: 50%; font-size: 22px; color: #317865; }
.program-top > span { color: #8a9f8e; }
.program-audience { color: #467a63; font-size: 10px !important; }
.program-card h3 { font-size: 28px; font-weight: 600; }
.program-card > p { font-size: 14px; }
.program-note { border-color: var(--line); color: #5b7569; font-size: 11px; }
.program-footnote { font-size: 11px; line-height: 1.8; }
.program-skills { border-color: var(--line); }
.program-skills li { font-size: 12px; }
.program-skills li::before { background: #59896f; }
.steps-grid { gap: 25px; }
.steps-grid article { border-color: #bccfbd; padding: 25px 18px 0 0; }
.step-number { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bdcdbb; border-radius: 50%; color: #427260; font-size: 11px; margin-bottom: 24px; }
.steps-grid h3 { font-size: 21px; font-weight: 600; }
.steps-grid p { font-size: 13px; }
.ndl-dark .step-number { border-color: #bed7c64d; color: #e6c291; }
.about-values article { border-color: #bed7c640; }
.about-values article > i { color: #bbd7c2; font-size: 25px; }
.about-values h3 { font-weight: 500; }
.about-values p { font-size: 14px; }
.about-page-invite { margin-top: 50px; background: #e5ece1; border: 1px solid #d3dfcd; border-radius: 14px; padding: 32px; }
.about-page-invite h3 { font-size: 24px; font-weight: 600; }
.about-page-invite p { font-size: 13px; margin: 10px 0 0; }
.about-page-invite .ndl-button { flex-shrink: 0; }
.portfolio-filters { padding: 7px; background: #e9eee4; border: 1px solid #dbe4d6; border-radius: 50px; width: fit-content; gap: 4px; }
.portfolio-filters button { border: 0; font-size: 12px; padding: 10px 22px; }
.portfolio-filters button.is-active { background: #1d4840; color: white; }
.portfolio-filters button:not(.is-active):hover { background: #dce6d6; }
.media-group-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.media-group-heading h2 { font-size: 28px; }
.media-group-heading p { font-size: 11px; }
.ndl-footer { background: #0f302f; padding-top: 80px; color: #a5bfb0; }
.footer-heading h2 { font-size: clamp(36px,4.8vw,65px); font-weight: 500; color: #f6f4e9; }
.footer-heading .eyebrow { color: #b6cebd; }
.footer-heading > a { border: 1px solid #8baa9950; padding: 14px 22px; border-radius: 40px; font-size: 11px; }
.footer-heading > a:hover { border-color: var(--sand); color: var(--sand); }
.footer-columns { gap: 40px; }
.footer-columns h3 { font-size: 13px; font-weight: 600; }
.footer-columns p,.footer-columns nav a { font-size: 11px; }
.footer-columns nav a { color: #b0c6b8; }
.footer-columns nav a:hover { color: var(--sand); }
.footer-copyright { color: #8ca99a; font-size: 10px; }
.photo-dialog { background: #0d2929f7; }
.photo-dialog::backdrop { background: #081e1ee6; }
.photo-dialog button { background: #e7f1df14; }
.photo-full-caption { font-size: 12px; color: #d7e5d9; }
.photo-counter { color: #b7cdbd; }
@media (min-width: 1600px) { .ndl-hero h1 { font-size: 106px; } .ndl-hero-content { max-width: 1100px; } }
@media (max-width: 1199px) { .ndl-nav { gap: 20px; } .ndl-nav a { font-size: 12px; } .ndl-nav-contact { padding: 9px 15px; } .learning-card { padding: 27px; } }
@media (max-width: 991px) {
 .ndl-section { padding: 78px 0; }
 .ndl-header-inner { min-height: 82px; }
 .ndl-nav { background: #f8f7f2; border-bottom: 1px solid var(--line); border-radius: 0 0 16px 16px; padding: 18px 24px; color: var(--ink); }
 .ndl-header:not(.ndl-header-solid) .ndl-nav a:hover,.ndl-header:not(.ndl-header-solid) .ndl-nav a[aria-current] { color: #177c72; }
 .ndl-nav a { font-size: 15px; padding: 13px 14px; border-radius: 7px; }
 .ndl-nav a::after { display: none; }
 .ndl-nav a[aria-current] { background: #e8eee2; }
 .ndl-nav-contact { border-color: #b8ccb9; }
 .ndl-hero { padding-top: 145px; }
 .club-principles { padding: 25px; }
 .club-principles > div { padding: 0 15px; }
 .dive-option { padding: 25px; grid-template-columns: 25px 1fr; gap: 13px; }
 .dive-option h3 { font-size: 21px; }
 .dive-option-arrow { right: 18px; top: 28px; }
 .about-page-invite { padding: 27px; }
}
@media (max-width: 767px) {
 h2 { font-size: 34px; }
 .ndl-section { padding: 62px 0; }
 .ndl-logo { width: 140px; }
 .ndl-hero { padding: 135px 0 130px; }
 .ndl-hero h1 { font-size: clamp(40px,8vw,56px); line-height: 1.13; margin-bottom: 25px; }
 .ndl-hero .hero-intro { font-size: 14px; }
 .hero-links { gap: 17px 25px; }
 .hero-links .text-link { font-size: 11px; }
 .hero-footnote { bottom: 22px; font-size: 9px; padding-top: 17px; gap: 10px; }
 .hero-footnote > a { font-size: 0; gap: 0; }
 .hero-footnote > a i { width: 32px; height: 32px; border: 1px solid #ffffff60; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
 .ndl-button { padding: 15px 22px; gap: 22px; }
 .eyebrow { font-size: 9px; gap: 9px; margin-bottom: 20px; }
 .section-heading { gap: 20px; margin-bottom: 30px; }
 .club-principles { gap: 25px 15px; padding: 24px; margin-top: 30px; }
 .club-principles > div { padding: 0; border: 0; }
 .club-principles p { font-size: 11px; }
 .dive-options { grid-template-columns: 1fr; gap: 12px; }
 .dive-option { padding: 24px 22px; }
 .dive-option p { grid-column: 2; font-size: 12px; }
 .learning-card { padding: 27px; }
 .learning-card h3 { font-size: 25px; }
 .learning-card > i { margin-bottom: 23px; }
 #places .photo-card { aspect-ratio: 4 / 3 !important; }
 #gallery .photo-masonry { gap: 12px; }
 .photo-caption { padding: 40px 13px 14px; font-size: 10px; }
 .photo-caption > i { display: none; }
 .film-description { padding: 22px; }
 .portfolio-heading { padding: 28px 0 45px; }
 .portfolio-heading h1 { font-size: clamp(38px,8vw,56px); line-height: 1.14; }
 .portfolio-heading-bottom p { font-size: 13px; }
 .portfolio-back { margin-bottom: 28px; }
 .program-card { padding: 27px; }
 .program-card h3 { font-size: 25px; }
 .program-top { margin-bottom: 22px; }
 .about-page-invite { margin-top: 35px; padding: 25px; }
 .about-page-invite .ndl-button { flex-shrink: 1; }
 .faq-list details { padding: 0 18px; }
 .faq-list summary { font-size: 14px; padding: 20px 0; }
 .footer-heading { padding-bottom: 35px; }
 .footer-columns { padding: 35px 0; gap: 30px 20px; }
 .ndl-footer { padding-top: 60px; }
 .portfolio-filters { padding: 5px; gap: 0; }
 .portfolio-filters button { padding: 10px 17px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .learning-card:hover,.program-card:hover,.ndl-button:hover { transform: none; } }

/* A continuous preparation/FAQ area with a single, measured interval. */
#preparation, #faq { background: #f0f2ec; }
#preparation { padding-bottom: 42px; }
#preparation + #faq { padding-top: 42px; }
@media (max-width: 767px) {
 #preparation { padding-bottom: 30px; }
 #preparation + #faq { padding-top: 30px; }
}

/* Let the preparation image balance the adjacent text column. */
@media (min-width: 768px) {
 #preparation .prep-layout { align-items: stretch; }
 #preparation .prep-layout > div:first-child .photo-card { height: 100%; min-height: 380px; }
 #preparation .prep-layout .photo-card img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 40% center; }
}

/* Contact and booking dialog */
body.contact-open { overflow: hidden; }
.contact-dialog { position: fixed; inset: 0; width: min(520px,calc(100vw - 28px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 42px; border: 1px solid #dce7d6; border-radius: 24px; background: #f8f7f2; color: #62746b; box-shadow: 0 30px 100px #061f2850; overflow-y: auto; }
.contact-dialog::backdrop { background: #0b2828ba; backdrop-filter: blur(7px); }
.contact-close { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #d9e3d3; border-radius: 50%; background: #eef1e8; color: #244d41; }
.contact-emblem { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #306e5a; background: #e7eee0; font-size: 24px; margin-bottom: 24px; }
.contact-dialog .eyebrow { font-size: 9px; }
.contact-dialog h2 { font-size: 38px; margin-bottom: 18px; }
.contact-dialog > p { font-size: 13px; line-height: 1.8; }
.contact-topic { padding: 10px 14px; border-radius: 8px; background: #e9efdf; margin-bottom: 18px; color: #3b6f58; font-size: 12px; }
.contact-method { display: flex; gap: 15px; align-items: center; padding: 19px 17px; border: 1px solid #d9e4d3; border-radius: 13px; background: #fffefa; color: #173e33; margin-top: 12px; transition: border-color .2s,background .2s; }
.contact-method:hover { background: #edf3e5; border-color: #93b49c; color: #173e33; }
.contact-method-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #e5eddd; font-size: 19px; }
.contact-telegram .contact-method-icon { background: #e0edf1; color: #247e9f; font-size: 24px; }
.contact-method small { display: block; font-size: 10px; color: #6b8173; margin-bottom: 2px; }
.contact-method strong { display: block; font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
.contact-method > i { margin-left: auto; font-size: 11px; color: #65846f; }
.contact-bottom { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 23px 0 0; font-size: 10px !important; color: #759080; }
.ndl-nav-contact { font-family: inherit; font-size: 13px; font-weight: 600; color: inherit; }
.footer-heading > .ndl-button { color: #14352c; }
.footer-contact-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-links h3 { margin-bottom: 5px; }
.footer-contact-links > a { display: flex; gap: 9px; align-items: center; font-size: 12px; }
.footer-contact-links > a > i { color: #a8cdb4; }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff26; padding-top: 20px; }
.footer-bottom-row .footer-copyright { border: 0; padding: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #9ab2a3; font-size: 10px; }
.footer-legal a:hover { color: #f0bd7d; }
.program-book { margin-top: 24px; width: 100%; }
.program-intro { max-width: 650px; }
#gallery .photo-card:nth-child(-n+3) { aspect-ratio: 1; }
/* Editorial pages */
.blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid #dce5d6; border-radius: 16px; background: #fffefa; overflow: hidden; }
.blog-card-cover { display: block; overflow: hidden; background: #e5ebde; }
.blog-card-cover img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.blog-card-cover:hover img { transform: scale(1.035); }
.blog-card-content { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: 10px; display: flex; flex-wrap: wrap; gap: 12px; color: #6e8c77; margin-bottom: 18px; }
.blog-card h2 { font-size: 27px; line-height: 1.25; margin-bottom: 16px; }
.blog-card p { font-size: 13px; }
.blog-card .text-link { margin-top: auto; }
.article-title { max-width: 1000px; }
.article-lead { max-width: 760px; font-size: 16px; }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) minmax(230px,1fr); gap: 60px; align-items: start; }
.article-cover { display: block; width: 100%; max-height: 480px; object-fit: cover; border-radius: 16px; margin-bottom: 40px; }
.article-aside { border: 1px solid #d6e1cd; border-radius: 16px; padding: 28px; background: #edf2e6; position: sticky; top: 25px; }
.article-aside h2 { font-size: 29px; }
.article-aside p { font-size: 13px; }
.article-aside .ndl-button { font-size: 11px; padding: 13px 16px; gap: 10px; white-space: normal; text-align: left; }
.article-aside .text-link { font-size: 11px; margin-top: 15px; }
.prose { font-size: 15px; line-height: 1.9; }
.prose h2 { font-size: 29px; margin: 38px 0 20px; }
.prose p { margin-bottom: 22px; }
.prose a { color: #176c58; text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.legal-document { max-width: 900px; }
.legal-notice { border: 1px solid #d5dfcc; border-left: 3px solid #527d62; background: #eaf0e2; padding: 22px 26px; border-radius: 8px; font-size: 14px; }
.legal-source { font-size: 12px; color: #768d7e; margin-top: 40px; padding-top: 20px; border-top: 1px solid #d9e2d3; }
@media (max-width: 1199px) { .ndl-nav { gap: 17px; } .ndl-nav a,.ndl-nav-contact { font-size: 12px; } .article-layout { gap: 30px; } }
@media (max-width: 991px) { .ndl-nav-contact { padding: 12px 14px; font-size: 15px; } .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }
@media (max-width: 767px) { .contact-dialog { padding: 30px 24px; border-radius: 20px; } .contact-dialog h2 { font-size: 33px; } .contact-method { padding: 16px 13px; gap: 12px; } .contact-method strong { font-size: 17px; } .contact-method-icon { width: 36px; height: 36px; } .footer-bottom-row { align-items: start; flex-direction: column; gap: 12px; } .footer-legal { gap: 16px; } .blog-grid { grid-template-columns: 1fr; gap: 22px; } .blog-card-content { padding: 23px; } .blog-card h2 { font-size: 25px; } .prose h2 { font-size: 25px; } .prose { font-size: 14px; } #gallery .photo-card:nth-child(-n+3) { aspect-ratio: 4 / 3; } }

#faq { background: #fff; }

.certificate-section { background: #ecf1e7; }
.certificate-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; align-items: center; }
.instructor-name { color: #204d3d; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.certificate-layout > div > p { font-size: 14px; }
.credential-details { display: grid; gap: 12px; margin: 26px 0; }
.credential-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid #d0ddc8; }
.credential-details dt { font-size: 11px; color: #728775; font-weight: 400; }
.credential-details dd { margin: 0; font-size: 12px; color: #2f5846; font-weight: 700; }
.certificate-display { background: #fffefa; border: 1px solid #d9e3d1; border-radius: 18px; padding: 23px; box-shadow: 0 18px 50px #25463212; }
.certificate-preview { display: block; color: #315b46; }
.certificate-preview img { width: 100%; height: auto; display: block; border-radius: 5px; }
.certificate-preview > span { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 11px; padding: 20px 0 10px; }
.certificate-note { font-size: 10px !important; line-height: 1.8; text-align: center; color: #7c8f7d; margin: 0; }
.certificate-note a { color: #37684f; text-decoration: underline; text-underline-offset: 3px; }
.article-cover-figure { margin: 0 0 32px; }
.article-cover-figure figcaption { font-size: 10px; color: #7b8d7e; margin-top: 10px; }
.article-cover-figure figcaption a { color: #44765c; }
.article-cover { height: auto; }
.error-page { max-width: 850px; margin: auto; padding: 15vh 24px; }
@media (max-width: 991px) { .certificate-layout { grid-template-columns: 1fr; gap: 35px; } .certificate-display { max-width: 720px; } }
@media (max-width: 767px) { .certificate-display { padding: 15px; } .instructor-name { font-size: 20px; } .credential-details > div { flex-wrap: wrap; gap: 4px 18px; } }

/* Refined sea story, programme cards, footer and mobile hero. */
.about-page-sea { grid-template-columns: 1fr 1.1fr; gap: 55px; }
.about-page-sea > div:first-child { max-width: none; width: 100%; margin: 0; }
.about-page-sea .photo-card { height: 360px; }
.about-page-sea .photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
#formats .program-grid { gap: 24px; }
#formats .program-card { padding: 28px 30px; border-color: #d5e0cd; position: relative; overflow: hidden; }
#formats .program-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #96b89c; }
#formats .program-top { margin-bottom: 18px; }
#formats .program-top > span { font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -.06em; color: #c6d3be; }
#formats .program-audience { color: #5f7e65; font-size: 11px !important; line-height: 1.5; }
#formats .program-card h3 { font-size: 27px; margin-bottom: 15px; }
#formats .program-card > p:not(.program-audience) { font-size: 14px; line-height: 1.8; margin-bottom: 22px; max-width: 530px; }
#formats .program-card-actions { margin-top: auto; padding-top: 20px; border-top: 1px solid #dde6d7; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#formats .program-note { margin: 0; padding: 0; border: 0; max-width: 230px; font-size: 11px; line-height: 1.65; }
#formats .program-note > i { color: #699573; margin-right: 5px; }
#formats .program-book { width: auto; flex-shrink: 0; margin: 0; padding: 12px 18px; font-size: 11px; gap: 14px; }
#formats .program-card:first-child { background: #193e35; border-color: #193e35; }
#formats .program-card:first-child::before { background: #edc391; }
#formats .program-card:first-child h3 { color: #fffdf7; }
#formats .program-card:first-child > p:not(.program-audience) { color: #c1d2c7; }
#formats .program-card:first-child .program-audience { color: #abc9b0; }
#formats .program-card:first-child .program-top > span { color: #527363; }
#formats .program-card:first-child .program-top > i { background: #2d5443; color: #d4e6c9; }
#formats .program-card:first-child .program-card-actions { border-color: #9cb9a333; }
#formats .program-card:first-child .program-note { color: #abc7b1; }
#formats .program-card:first-child .program-note > i { color: #a8cbaa; }
.ndl-footer .footer-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px; }
.footer-columns { grid-template-columns: 1fr 1fr 1.25fr .8fr; gap: 40px; align-items: start; }
.footer-columns > a { display: block; padding-top: 0; }
.footer-columns h3 { margin: 0 0 15px; line-height: 24px; font-size: 13px; }
.footer-columns p { margin: 0; line-height: 26px; }
.footer-columns nav { display: block; }
.footer-columns nav > a { display: block; line-height: 26px; }
.footer-contact-links { display: block; }
.footer-contact-links > a { display: flex; align-items: center; gap: 10px; line-height: 26px; margin: 0 0 5px; white-space: nowrap; }
.footer-contact-links > a > i { width: 16px; text-align: center; }
.footer-columns .ndl-logo { width: 155px; height: auto; margin-top: -2px; }
.footer-legal { justify-content: flex-end; align-items: center; }
.ndl-hero h1 .hero-place { display: inline-block; }
@media (max-width: 991px) { .footer-columns { grid-template-columns: 1fr 1fr; gap: 35px; } .about-page-sea { gap: 32px; } }
@media (max-width: 767px) {
 .portfolio-heading { padding-top: 42px; }
 .about-page-sea { grid-template-columns: 1fr; }
 .about-page-sea > div:first-child { order: 2; max-width: none; }
 .about-page-sea .photo-card { height: 260px; }
 #formats .program-card { padding: 25px 23px; }
 #formats .program-card-actions { align-items: stretch; flex-direction: column; gap: 17px; }
 #formats .program-note { max-width: none; }
 #formats .program-book { align-self: flex-start; min-width: 155px; }
 .ndl-footer .footer-heading { grid-template-columns: 1fr; gap: 25px; }
 .ndl-footer .footer-heading > .ndl-button { justify-self: start; }
 .footer-columns { gap: 30px 20px; }
 .footer-columns > a { grid-column: 1 / -1; }
 .footer-columns nav { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
 .footer-columns nav h3 { grid-column: 1 / -1; }
 .footer-contact-links > a { font-size: 11px; white-space: normal; line-height: 22px; }
 .footer-columns p { font-size: 11px; line-height: 22px; }
 .footer-legal { justify-content: flex-start; }
 .ndl-hero h1 { font-size: clamp(34px,9.4vw,48px); line-height: 1.15; }
 .ndl-hero h1 br { display: block; }
 .ndl-hero h1 .hero-place { display: block; margin-top: 10px; max-width: 100%; }
 .ndl-hero { padding: 130px 0 110px; }
}
@media (max-width: 399px) { .footer-columns { grid-template-columns: 1fr; } .footer-columns > * { grid-column: 1 / -1; } }

.blog-card-cover img { height: auto; aspect-ratio: 16 / 9; }

h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 767px) { .legal-heading h1 { font-size: clamp(28px,7.9vw,38px); letter-spacing: -.045em; } }
