/* Programme pages and entry points */
.course-tabs button{display:flex;align-items:center;gap:.6rem;line-height:1.25}.course-tabs button img{width:38px;height:34px;object-fit:contain;background:white;border-radius:5px}.teddy-tab-mark{display:inline-block;width:34px;height:34px;flex:none;background-image:url(assets/teddy-start.png);background-size:270px auto;background-position:0 0;border-radius:5px}.program-breadcrumb{max-width:1340px;margin:auto;padding:24px 5%;display:flex;gap:24px;justify-content:space-between;color:#52617a}.program-breadcrumb a{text-underline-offset:4px}.program-hero{display:grid;grid-template-columns:1.05fr .95fr;min-height:520px;background:#eef3ff}.program-hero-copy{padding:65px 9%;align-self:center}.program-hero-copy h1{font-size:clamp(48px,6vw,84px);margin:15px 0}.program-hero-copy h2{font-size:clamp(25px,3vw,40px);line-height:1.18;color:#17366b;letter-spacing:-1px}.program-hero-copy>p:not(.kicker){font-size:18px;max-width:640px;color:#3e4e67;line-height:1.7}.program-logo{width:min(260px,70%);height:90px;object-fit:contain;object-position:left center}.teddy-logo-frame{width:115px;height:72px;display:block;overflow:hidden;position:relative;background:white}.teddy-logo-frame img{position:absolute;width:700px;max-width:none;height:auto;top:0;left:0}.program-cover{width:100%;height:100%;min-height:480px;object-fit:cover}.program-levels,.program-gallery,.program-next{padding:80px 6%}.program-section-heading{max-width:690px;margin-bottom:35px}.program-section-heading h2,.program-next h2{font-size:clamp(35px,4vw,55px);color:#17366b;letter-spacing:-1.5px}.program-section-heading>p:last-child{font-size:17px;color:#4a5871}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.level-card{background:white;border:1px solid #d8dfed;min-width:0}.level-card img{width:100%;height:215px;object-fit:contain;background:#f4f6fb}.level-card div{padding:25px}.level-card h3{font-size:25px;color:#17366b;line-height:1.2}.level-card p{color:#43516a}.program-gallery{background:#fff}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.photo-grid figure{margin:0;background:#eef3ff}.photo-grid img{display:block;width:100%;height:350px;object-fit:cover}.program-next{background:#ffdf59}.program-next>div{display:flex;flex-wrap:wrap;gap:15px;margin:25px 0}.program-next>div a{background:white;color:#17366b;text-decoration:none;padding:12px 17px;font-weight:bold}.program-next p{font-size:14px;color:#344365}.course-detail-link{color:#17366b;font-weight:800}.course-tabs button img{border:0}@media(max-width:900px){.program-hero{grid-template-columns:1fr}.program-cover{max-height:460px}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.program-hero-copy{padding:40px 6%}.program-cover{min-height:300px}.program-levels,.program-gallery,.program-next{padding:55px 6%}.level-grid,.photo-grid{grid-template-columns:1fr}.photo-grid img{height:auto;max-height:450px}.course-tabs button{gap:.3rem}.course-tabs button img{width:28px;height:28px}}
.program-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 25px}.program-quicklinks a{display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:#fff;border:1px solid #d8dfed;border-radius:12px;padding:16px;color:#17366b;text-decoration:none}.program-quicklinks a:hover,.program-quicklinks a:focus-visible{border-color:#17366b;box-shadow:0 5px 20px #17366b18}.program-quicklinks img{width:65px;height:44px;object-fit:contain}.program-quicklinks a>span:last-child{width:100%;font-size:13px;text-decoration:underline}@media(max-width:700px){.program-quicklinks{grid-template-columns:1fr}}

.adult-course-photo{display:block;width:100%;max-width:620px;max-height:330px;object-fit:cover;object-position:center 40%;border-radius:10px;margin:20px 0}

.program-quicklinks{grid-template-columns:repeat(4,minmax(0,1fr))}.program-quicklinks a{min-width:0}.program-quicklinks img{width:72px;max-width:100%;height:48px}.course-mark{display:block;width:min(100%,240px);height:145px;object-fit:contain;object-position:left center;background:#fff;border-radius:10px;padding:12px}.translation-symbol{display:block;font-size:clamp(35px,5vw,60px);color:var(--yellow);font-weight:800;line-height:1.2}.translation-teaser{padding:75px 6%;background:#f0f5ff}.translation-teaser h2{max-width:800px;font-size:clamp(36px,4vw,57px);letter-spacing:-1.5px;color:var(--navy)}.translation-teaser>p:not(.kicker){max-width:750px;font-size:18px;color:#43516a}.translation-teaser .button{display:inline-block;margin-top:20px}.translation-link{margin-top:18px}.translation-link a{color:var(--navy);font-weight:750}.level-card img{height:240px;object-fit:contain;object-position:center;background:#fff}.photo-grid figure:last-child img[src*="teddy-start"]{object-fit:contain;background:#fff}@media(max-width:900px){.program-quicklinks{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.program-quicklinks{grid-template-columns:1fr}.course-mark{height:110px;width:180px}}
.bearton-logo-panel{display:grid;place-items:center;background:#fff;padding:8%}.bearton-logo-panel img{max-width:100%;max-height:440px;object-fit:contain}.bearton-logo{width:min(300px,90%);height:auto}.bearton-hero .program-hero-copy{padding-top:75px;padding-bottom:75px}
.translation-page-hero{background:#eef3ff;padding:85px 7%;}.translation-page-hero h1{font-size:clamp(48px,6vw,84px);color:var(--navy);max-width:850px;line-height:1.1;letter-spacing:-2px}.translation-page-hero p:not(.kicker){max-width:660px;color:#3e4e67;font-size:19px}.translation-page-hero .button{display:inline-block;margin-top:22px}.translation-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.translation-categories article{background:#f0f5ff;padding:28px}.translation-categories h3{font-size:25px;color:var(--navy)}.translation-categories p{color:#43516a}@media(max-width:750px){.translation-categories{grid-template-columns:1fr}}

.school-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:860px;margin-top:25px}.school-contact-form label{display:grid;gap:8px;font-weight:700}.school-contact-form label:has(textarea){grid-column:1/-1}.school-contact-form input,.school-contact-form textarea,.school-contact-form select{width:100%;font:inherit;min-width:0;background:#fff;color:#17366b;border:2px solid transparent;border-radius:6px;padding:12px 14px}.school-contact-form input:focus-visible,.school-contact-form textarea:focus-visible,.school-contact-form select:focus-visible{outline:3px solid #ffdf59;outline-offset:2px}.school-contact-form .form-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.school-contact-form .form-privacy{grid-column:1/-1;font-size:14px;color:#e8ecff;max-width:670px;margin:0}.school-contact-form button{justify-self:start;border:0;cursor:pointer}.phone-reveal{background:transparent;color:inherit;border:0;padding:0;font:inherit;text-decoration:underline;cursor:pointer}.phone-shown{color:inherit;text-underline-offset:4px}@media(max-width:640px){.school-contact-form{grid-template-columns:1fr}.school-contact-form label:has(textarea),.school-contact-form .form-privacy{grid-column:auto}}

.hero-school-photo{position:relative;overflow:hidden;margin:0;background:#17366b;min-height:560px}.hero-school-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}.hero-school-photo figcaption{position:absolute;left:25px;bottom:25px;background:#17366be8;color:#fff;font-size:14px;font-weight:800;padding:10px 15px}.school-evening{margin:20px 0 35px;max-width:700px}.school-evening img{display:block;width:100%;max-height:330px;object-fit:cover;border-radius:8px}@media(max-width:900px){.hero-school-photo{min-height:480px}}@media(max-width:650px){.hero-school-photo{min-height:360px}}
.hero-brand{display:block;width:90px;height:90px;object-fit:contain;margin:0 0 16px;background:#fff;border-radius:14px;padding:5px}.contact-grid a{line-height:1.8}
.school-gallery{padding:75px 6%;background:#fff}.school-gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.school-gallery-grid figure{margin:0}.school-gallery-grid img{width:100%;height:340px;object-fit:cover;display:block}@media(max-width:680px){.school-gallery-grid{grid-template-columns:1fr}.school-gallery-grid img{height:auto}}
/* Keep the school mark centred in the adult-course tile. */
.course-number .course-mark{object-position:center center;align-self:center}
