
body{margin:0}
.pg{font-family:'Work Sans',sans-serif;color:#000078;background:#FAF8F3;line-height:1.6}
.pg h1,.pg h2,.pg h3{margin:0;line-height:1.15}
.pg a{color:inherit;text-decoration:none}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px;box-sizing:border-box}
.btn{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;border-radius:999px;font-weight:700}
.y{background:#F1B543;color:#000078}
.pg a.y{color:#000078}
.ph{background:#E9E6DD;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:14px;letter-spacing:.08em;font-family: 'Syne', sans-serif;}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:48px;align-items:center}
.sec{padding:96px 0}
.pg{overflow-x:clip}
.tr{position:absolute;opacity:0;pointer-events:none}
.tabs{display:flex;gap:12px;flex-wrap:wrap;margin:32px 0 40px}
.tabs label{padding:12px 28px;border-radius:999px;border:2px solid #000078;font-weight:700;cursor:pointer}
.jp{display:none}
#j1:checked~.p1,#j2:checked~.p2,#j3:checked~.p3,#j4:checked~.p4{display:block}
#j1:checked~.tabs label[for=j1],#j2:checked~.tabs label[for=j2],#j3:checked~.tabs label[for=j3],#j4:checked~.tabs label[for=j4]{background:#000078;color:#fff}
.stp{background:#fff;border-radius:20px;padding:20px 24px}
.in{width:100%;box-sizing:border-box;min-height:52px;padding:0 20px;border-radius:14px;border:1px solid #00007833;background:#fff;font:500 16px 'Syne',sans-serif;color:#000078}
.hb{position:relative;color:#fff;display:flex;flex-direction:column;height:clamp(560px,100svh,56.25vw)}
.hb .media{position:absolute;inset:0;background:linear-gradient(135deg,#000078 0%,#2AA9BC 100%);display:flex;align-items:flex-end;justify-content:center;padding-bottom:16px;box-sizing:border-box;font:700 13px 'Syne',sans-serif;letter-spacing:.08em;color:#ffffffb3}
.hb .shade{position:absolute;inset:0;background:linear-gradient(rgba(0,0,120,.6),rgba(0,0,120,.1) 35%,rgba(0,0,120,.45))}
.hc{position:relative;flex:1;padding-top:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:28px;padding-bottom:48px;padding-left:6%;padding-right:6%}
.hc h1,.hc h2{font-size:clamp(32px,5vw,72px);font-weight:600;line-height:1.15;margin:0}
.cd{background:#fff;border-radius:24px;padding:28px}
.cd b{font:700 32px/1 'Work Sans',sans-serif;color:#D71E3E;display:block;margin-bottom:16px}
.ck{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #00007822}
.ck i{font-style:normal;color:#D71E3E;font-weight:700}
.sp{display:flex;gap:16px;align-items:flex-start;padding:14px 0}
.sp b{flex:none;width:40px;height:40px;border-radius:50%;background:#000078;color:#fff;display:flex;align-items:center;justify-content:center;font:700 16px 'Work Sans',sans-serif}
.jb{background:#fff;border-radius:24px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.wm{position:relative;max-width:1100px;width:calc(100% - 2*clamp(0px,7vw,96px));margin:0 auto;aspect-ratio:1000/383}
.wm svg{position:absolute;inset:0}
.mk{position:absolute;width:36px;height:36px;margin:-44px 0 0 -18px;cursor:pointer;outline:none;z-index:1}
.mk:hover,.mk:focus{z-index:50}
.mk .pn{display:block;position:relative;width:36px;height:36px;box-sizing:border-box;background:#D71E3E;border:3px solid #fff;border-radius:50%;transform:rotate(-45deg);box-shadow:0 4px 10px #00007840;translate:0 0;transition:border-radius .3s ease,translate .25s ease}
.mk .pn::after{content:"";position:absolute;inset:7px;border-radius:50%;background:#fff}
.mk:hover .pn,.mk:focus .pn{border-radius:50% 50% 50% 0;translate:0 -6px}
.fl{transition:opacity .35s ease}
.wm:has(.m-us:hover) .c-us,.wm:has(.m-us:focus) .c-us{opacity:.92}
.wm:has(.m-ca:hover) .c-ca,.wm:has(.m-ca:focus) .c-ca{opacity:.92}
.wm:has(.m-uk:hover) .c-uk,.wm:has(.m-uk:focus) .c-uk{opacity:.92}
.wm:has(.m-au:hover) .c-au,.wm:has(.m-au:focus) .c-au{opacity:.92}
.wm:has(.m-za:hover) .c-za,.wm:has(.m-za:focus) .c-za{opacity:.92}
.wm:has(.m-nz:hover) .c-nz,.wm:has(.m-nz:focus) .c-nz{opacity:.92}
.wm:has(.m-in:hover) .c-in,.wm:has(.m-in:focus) .c-in{opacity:.92}
.wm:has(.m-pk:hover) .c-pk,.wm:has(.m-pk:focus) .c-pk{opacity:.92}
.wm:has(.m-cn:hover) .c-cn,.wm:has(.m-cn:focus) .c-cn{opacity:.92}
.wm:has(.m-ph:hover) .c-ph,.wm:has(.m-ph:focus) .c-ph{opacity:.92}


.mk .lb{position:absolute;bottom:calc(100% + 14px);left:50%;transform:translate(-50%,6px);opacity:0;pointer-events:none;white-space:nowrap;background:#fff;color:#000078;padding:9px 20px 9px 14px;border-radius:999px;display:flex;gap:14px;align-items:center;font:700 15px 'Syne',sans-serif;box-shadow:0 6px 20px #00007826;transition:opacity .25s ease .12s,transform .25s ease .12s}
.mk .lb span{display:block;line-height:1.2}
.mk .lb svg{border-radius:3px;flex:none;display:block;width:28px;height:19px}
.mk:hover .lb,.mk:focus .lb{opacity:1;transform:translate(-50%,0)}
.ss{display:none;gap:40px;flex-wrap:wrap;align-items:center}
#q1:checked~.q1,#q2:checked~.q2,#q3:checked~.q3{display:flex}
.nx2{width:48px;height:48px;border-radius:50%;background:#000078;color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;flex:none}
.dots2{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:40px}
.dots2 label{width:10px;height:10px;border-radius:999px;background:#000078;opacity:.25;cursor:pointer;transition:width .25s,opacity .25s}
#q1:checked~.dots2 label[for=q1],#q2:checked~.dots2 label[for=q2],#q3:checked~.dots2 label[for=q3]{width:40px;opacity:1}
.pilars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;align-items:start}
.pil{position:relative;overflow:hidden;display:block;box-sizing:border-box;min-height:96px;border-radius:24px;background:var(--bg);color:#fff;padding:28px;cursor:pointer}
.pil input{position:absolute;opacity:0;pointer-events:none}
.pil:has(input:focus-visible){outline:3px solid #F1B543;outline-offset:3px}
.pt{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px}
.pt b{font:600 22px/1.2 'Work Sans',sans-serif}
.pt i{flex:none;width:32px;height:32px;border:1.5px solid #fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font:400 20px/1 'Work Sans',sans-serif;font-style:normal;transition:rotate .35s ease}
.pd{position:relative;z-index:1;display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease}
.pd>span{min-height:0;overflow:hidden;opacity:0;transition:opacity .3s ease}
.pd em{display:block;padding-top:16px;font:400 16px/1.5 'Syne',sans-serif;font-style:normal}
.pil:hover .pd,.pil:has(input:checked) .pd{grid-template-rows:1fr}
.pil:hover .pd>span,.pil:has(input:checked) .pd>span{opacity:1;transition-delay:.1s}
.pil:hover .pt i,.pil:has(input:checked) .pt i{rotate:45deg}
.ps{position:absolute;right:-26px;bottom:-34px;width:150px;fill:#fff;opacity:.14;pointer-events:none}
html{scroll-behavior:smooth}
.ff{display:grid;gap:8px;font:600 14px 'Syne',sans-serif}
.sp{position:relative;width:fit-content;max-width:100%;padding-right:24px;gap:0}
.sp b{position:absolute;left:0;top:14px;justify-content:flex-start;padding-left:15px;box-sizing:border-box;border-radius:999px;z-index:0;transition:width .45s cubic-bezier(.2,.8,.2,1),height .35s ease,border-radius .35s ease,background-color .3s ease,color .3s ease}
.sp>div{position:relative;z-index:1;margin-left:56px}
.sp:hover b,.sp:focus-within b{width:100%;background:#F1B543;color:#000078}
.teacher-apply .sp:hover>b,.teacher-apply .sp:focus-within>b{top:0;right:0;bottom:0;height:auto;align-items:flex-start;padding-top:14px;transform:none;border-radius:18px}
.sp:hover a,.sp:focus-within a{text-decoration:none!important}
select.in{appearance:auto}
.up{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:2px dashed #00007855;border-radius:20px;padding:20px 24px;background:#FAF8F3;font-weight:500}
.up input{font:500 15px 'Syne',sans-serif;color:#000078;max-width:100%}
.up input::file-selector-button{background:#000078;color:#fff;border:0;border-radius:999px;padding:10px 20px;margin-right:14px;font:700 14px 'Syne',sans-serif;cursor:pointer}
.up em{font-style:normal;font-size:13px;opacity:.7;font-weight:400}
.pg button.btn.y{color:#000078}

.teacher-intro{position:relative;isolation:isolate;display:flex;align-items:center;overflow:hidden;min-height:clamp(560px,42vw,760px);padding:72px 0;background:#000078;color:#fff}
.teacher-intro-photo{position:absolute;z-index:-2;top:0;right:0;width:55%;height:100%;max-width:none!important;object-fit:cover;object-position:center}
.teacher-intro::before{position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#000078 0%,#000078 39%,rgba(0,0,120,.94) 47%,rgba(0,0,120,.58) 59%,rgba(0,0,120,0) 73%);content:""}
.teacher-intro-container{position:relative}
.teacher-intro-content{max-width:700px}
.teacher-intro-eyebrow{margin:0 0 18px;color:#ffb719;font-size:24px;font-weight:700}
.teacher-intro-content h2{max-width:650px;color:#fff;font-size:clamp(2.75rem,4vw,4.5rem);font-weight:700;line-height:1.1}
.teacher-intro-text{max-width:600px;margin:24px 0 34px;color:#fff;font-size:clamp(1.15rem,1.5vw,1.6rem);line-height:1.45}
.teacher-intro-stats{display:flex;align-items:center;gap:52px}
.teacher-intro-stat{display:flex;align-items:center;gap:18px;color:#fff}
.teacher-intro-stat img{display:block;flex:none;width:72px;height:72px;object-fit:contain}
.teacher-intro-stat strong{display:block;color:#fff;font-size:clamp(3rem,4.2vw,4.75rem);font-weight:800;line-height:1}
.teacher-intro-stat span{display:block;margin-top:6px;color:#fff;font-size:18px;font-weight:600;line-height:1.2}
.teacher-approach-section{padding:64px 0 72px;background:#fff}
.teacher-benefits-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:56px}
.teacher-benefits-image img{display:block;width:100%;max-width:470px;margin:0 auto}
.teacher-approach-eyebrow{margin:0 0 8px;color:#f0003d;font-size:16px;font-weight:600;line-height:1.3}
.teacher-approach-title{margin:0;color:#000078;font-size:clamp(1.75rem,2.4vw,2.2rem);font-weight:700;line-height:1.2}
.teacher-benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;row-gap:24px;margin-top:28px}
.teacher-benefit-number{display:block;margin-bottom:8px;color:#f0003d;font-size:20px;font-weight:700;line-height:1}
.teacher-benefit h3{margin:0 0 8px;color:#000078;font-size:16px;font-weight:700;line-height:1.25}
.teacher-benefit p{margin:0;color:#000078;font-size:13px;font-weight:400;line-height:1.5}
.teacher-approach-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:80px;margin-top:48px}
.teacher-requirement-list{margin:14px 0 0;padding:0;list-style:none}
.teacher-requirement-list li{position:relative;padding:20px 0 10px 14px;border-bottom:1px solid #00007822;color:#000078;font-size:13px;font-weight:500;line-height:1.4}
.teacher-requirement-list li::before{position:absolute;left:0;color:#f0003d;content:"✓";font-weight:700}
.teacher-apply .sp{padding:8px 24px 8px 0}
.teacher-apply .sp b{background:#ffb719;color:#000078}
.teacher-apply .sp h3,.teacher-apply .sp a{margin-top:15px;color:#000078;font-size:14px;font-weight:700;line-height:1.35}
.teacher-apply .teacher-apply-step-one{width:fit-content;max-width:100%;box-sizing:border-box;min-height:56px;align-items:center;padding:0 5px 0 0}
.teacher-apply .teacher-apply-step-one>b{top:50%;transform:translateY(-50%)}
.teacher-apply .teacher-apply-step-one>div{display:block;min-width:0;flex:0 1 auto;margin-left:56px}
.teacher-apply .teacher-apply-step-one-content{display:flex;width:100%;align-items:center;justify-content:flex-start;gap:12px}
.teacher-apply .teacher-apply-step-one-heading{min-width:0;flex:1}
.teacher-apply .teacher-apply-step-one h3{margin:0}
.teacher-apply .sp .teacher-apply-step-description{max-width:420px;max-height:0;overflow:hidden;margin:0;color:#000078;font-size:12px;font-weight:400;line-height:1.45;opacity:0;transition:max-height .35s ease,margin .25s ease,opacity .25s ease}
.teacher-apply .sp:hover .teacher-apply-step-description,.teacher-apply .sp:focus-within .teacher-apply-step-description{max-height:100px;margin-top:4px;opacity:1}
.teacher-apply .teacher-apply-step-one:hover>b,.teacher-apply .teacher-apply-step-one:focus-within>b{background:#2aa9bc;color:#000078}
.teacher-apply .teacher-apply-step-one .teacher-apply-submit{display:inline-flex;min-height:34px;flex:none;align-items:center;justify-content:center;margin-top:0;padding:0 16px;transform:translateX(8px);border-radius:999px;background:#f0003d;color:#fff;font-size:12px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease}
.teacher-apply .teacher-apply-step-one:hover .teacher-apply-submit,.teacher-apply .teacher-apply-step-one:focus-within .teacher-apply-submit{transform:translateX(0);opacity:1;pointer-events:auto}
.teacher-apply .teacher-apply-submit:hover,.teacher-apply .teacher-apply-submit:focus-visible{background:#c90032;color:#fff}
.teacher-apply .teacher-apply-submit:focus-visible{outline:2px solid #000078;outline-offset:3px}
.teacher-jobs-section{padding:34px 0 40px;background:#000078;color:#fff}
.teacher-jobs-eyebrow{margin:0 0 4px;color:#ffb719;font-size:16px;font-weight:600;line-height:1.3}
.teacher-jobs-title{margin:0;color:#fff;font-size:24px;font-weight:700;line-height:1.2}
.teacher-jobs-carousel{position:relative;margin-top:18px;padding:0 56px}
.teacher-jobs-viewport{min-width:0;overflow:hidden}
.teacher-jobs-track{display:flex;gap:30px;transition:transform .4s ease}
.teacher-job-card{display:flex;flex:0 0 calc((100% - 60px)/3);min-width:0;min-height:136px;flex-direction:column;align-items:stretch;justify-content:space-between;gap:16px;padding:18px 20px;border-radius:14px;background:#fff;color:#000078}
.teacher-job-card-content{min-width:0}
.teacher-job-card h3{margin:0;color:#000078;font-size:18px;font-weight:700;line-height:1.25}
.teacher-job-card p{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 0;color:#000078;font-size:14px;font-weight:500;line-height:1.35}
.teacher-job-detail-link{display:inline-flex;min-height:36px;flex:none;align-self:flex-end;align-items:center;justify-content:center;padding:0 16px;border-radius:999px;background:#000078;color:#fff!important;font-size:12px;font-weight:700;text-decoration:none}
.teacher-job-detail-link:hover,.teacher-job-detail-link:focus-visible{background:#1717a0;color:#fff!important}
.teacher-jobs-controls{position:absolute;inset:0;pointer-events:none}
.teacher-jobs-control{position:absolute;top:50%;display:flex;width:40px;height:40px;align-items:center;justify-content:center;padding:0;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;pointer-events:auto}
.teacher-jobs-control[data-jobs-prev]{left:0}
.teacher-jobs-control[data-jobs-next]{right:0}
.teacher-jobs-control img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s ease}
.teacher-jobs-control[data-jobs-prev] img{transform:rotate(180deg)}
.teacher-jobs-control[data-jobs-prev]:hover img,.teacher-jobs-control[data-jobs-prev]:focus-visible img{transform:rotate(180deg) scale(1.08)}
.teacher-jobs-control[data-jobs-next]:hover img,.teacher-jobs-control[data-jobs-next]:focus-visible img{transform:scale(1.08)}
.teacher-jobs-control[hidden]{display:none}
.teacher-jobs-empty{margin:20px 0 0;color:#fff;font-size:14px}
.teacher-application-eyebrow{margin:0 0 4px;color:#f0003d;font-size:16px;font-weight:600;line-height:1.3}
.teacher-application-intro{max-width:720px;margin:12px 0 24px;color:#000078;font-size:14px;font-weight:400;line-height:1.5}
.teacher-application-form{max-width:820px}
.teacher-application-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.teacher-application-field{display:grid;min-width:0;gap:6px;color:#000078;font-size:12px;font-weight:500;line-height:1.3}
.teacher-application-required>.teacher-application-label::after{color:#dc3545;content:" *"}
.teacher-application-field-wide{grid-column:1/-1}
.teacher-application-field>input,.teacher-application-field>select,.teacher-application-field>textarea{width:100%;min-height:40px;padding:9px 12px;border:1px solid #d5d8e5;border-radius:6px;background:#f8f8f8;color:#000078;font:400 14px 'Work Sans',sans-serif}
.teacher-application-field textarea{min-height:112px;resize:vertical}
.teacher-application-cv-field{gap:10px}
.teacher-application-file-picker{position:relative;display:flex;min-height:48px;min-width:0;align-items:center;gap:12px;overflow:hidden;padding:7px 12px;border:1px dashed #cbd0e0;border-radius:7px;background:#ececf2;cursor:pointer}
.teacher-application-file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:pointer}
.teacher-application-file-button{display:inline-flex;flex:none;min-height:32px;align-items:center;padding:0 18px;border-radius:999px;background:#000078;color:#fff;font-size:12px;font-weight:700}
.teacher-application-file-name{min-width:0;overflow:hidden;color:#000078;font-size:12px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}
.teacher-application-file-picker:hover .teacher-application-file-button{background:#1717a0}
.teacher-application-file-picker:focus-within{outline:2px solid #ffb719;outline-offset:2px}
.teacher-application-cv-or{color:#555;font-size:12px;font-weight:600}
.teacher-application-field small{color:#555;font-size:11px;font-weight:400}
.teacher-application-note{margin:18px 0;color:#f0003d;font-size:12px;font-weight:500;line-height:1.4}
.teacher-application-submit{min-height:40px;padding:0 22px;border:0;border-radius:999px;background:#ffb719;color:#000078;cursor:pointer;font:700 13px 'Work Sans',sans-serif}
.teacher-application-submit:disabled{cursor:wait;opacity:.65}
.teacher-application-modal .modal-dialog{max-width:980px}
.teacher-application-modal .modal-content{overflow:hidden;border:0;border-radius:20px}
.teacher-application-modal .modal-header{align-items:flex-start;padding:20px 24px;background:#000078;color:#fff}
.teacher-application-modal .modal-title{max-width:680px;margin:0;color:#fff;font-size:clamp(1.15rem,2.4vw,1.7rem);font-weight:700;line-height:1.25}
.teacher-application-modal .teacher-application-eyebrow{margin-bottom:5px}
.teacher-application-modal .btn-close{flex:none;margin:4px 0 0 auto;filter:invert(1);opacity:1}
.teacher-application-modal .modal-body{padding:24px;background:#f3f3f3}
.teacher-application-modal .teacher-application-intro{margin:0 0 20px}
.teacher-application-modal .teacher-application-form{max-width:820px}
.teacher-application-modal .modal-footer{justify-content:flex-end;padding:14px 24px;border-top:1px solid #dfe2eb;background:#f3f3f3}
.teacher-application-modal .modal-footer .teacher-application-submit{min-height:42px}
.teacher-application-field:has([aria-invalid="true"]) .select2-selection{border-color:#dc3545}
.teacher-job-detail-section{position:relative;overflow:hidden;padding:48px 0 72px;background:#fff;color:#000078}
.teacher-job-detail-ornament-top{position:absolute;top:-1px;right:-14px;z-index:2;width:150px;opacity:1;pointer-events:none}
.teacher-job-detail-ornament-top img{display:block;width:100%;height:auto}
.teacher-job-detail-ornament-bottom{position:absolute;bottom:152px;left:-230px;z-index:0;width:305px;height:305px;border-radius:50%;background:#fde8c5;pointer-events:none}
.teacher-job-detail-section>.container{position:relative;z-index:1}
.teacher-job-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:24px;color:#667085;font-size:13px}
.teacher-job-breadcrumb a{color:#168d9f;text-decoration:none}
.teacher-job-breadcrumb a:hover,.teacher-job-breadcrumb a:focus-visible{text-decoration:underline}
.teacher-job-detail-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);align-items:start;gap:28px}
.teacher-job-detail-card{min-width:0;padding:clamp(22px,3vw,40px);border:1px solid #e3e7ef;border-radius:20px;background:#fff;box-shadow:0 12px 36px #0000780d}
.teacher-job-detail-header{padding-bottom:20px;border-bottom:1px solid #e3e7ef}
.teacher-job-detail-eyebrow{margin:0 0 8px;color:#f0003d;font-size:14px;font-weight:700}
.teacher-job-detail-header h1{margin:0;color:#000078;font-size:clamp(1.8rem,3vw,2.6rem);font-weight:700;line-height:1.15}
.teacher-job-detail-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:22px 0 28px}
.teacher-job-detail-meta div{min-width:0}
.teacher-job-detail-meta dt{margin-bottom:5px;color:#788196;font-size:12px;font-weight:500}
.teacher-job-detail-meta dd{margin:0;color:#000078;font-size:14px;font-weight:700}
.teacher-job-description{color:#202b45;font-size:15px;line-height:1.7}
.teacher-job-description h2{margin:0 0 14px;color:#000078;font-size:20px;font-weight:700}
.teacher-job-description p{margin:0 0 14px}
.teacher-job-detail-section-content{margin-top:24px;padding-top:22px;border-top:1px solid #e3e7ef}
.teacher-job-benefits{position:relative;overflow:hidden;margin-top:30px;padding:24px;border:1px solid #e3e7ef;border-radius:20px;background:linear-gradient(145deg,#f8faff,#fff 70%);box-shadow:0 10px 28px #0000780a}
.teacher-job-benefits::before{position:absolute;top:0;right:0;left:0;height:5px;background:linear-gradient(90deg,#f0003d,#ffb719,#09bec8);content:""}
.teacher-job-benefits-heading{max-width:560px;margin-bottom:20px}
.teacher-job-benefits-eyebrow{margin:0 0 6px;color:#f0003d;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.teacher-job-benefits-heading h2{margin:0;color:#000078;font-size:22px;font-weight:700;line-height:1.2}
.teacher-job-benefits-heading>p:last-child{margin:8px 0 0;color:#69748a;font-size:13px;line-height:1.55}
.teacher-job-benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px}
.teacher-job-benefit{display:grid;grid-template-columns:40px minmax(0,1fr);align-content:start;gap:12px;min-width:0;padding:16px;border:1px solid #e3e7ef;border-top:3px solid #09bec8;border-radius:14px;background:#fff;box-shadow:0 6px 18px #0000780a;transition:transform .2s ease,box-shadow .2s ease}
.teacher-job-benefit:hover{transform:translateY(-3px);box-shadow:0 12px 24px #00007814}
.teacher-job-benefit-number{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;background:#000078;color:#fff;font-size:12px;font-weight:700}
.teacher-job-benefit h3{margin:0 0 6px;color:#000078;font-size:14px;font-weight:700;line-height:1.3}
.teacher-job-benefit p{margin:0;color:#475467;font-size:12px;line-height:1.55}
.teacher-job-benefit:nth-child(4n+2){border-top-color:#ffb719}
.teacher-job-benefit:nth-child(4n+2) .teacher-job-benefit-number{background:#ffb719;color:#000078}
.teacher-job-benefit:nth-child(4n+3){border-top-color:#f0003d}
.teacher-job-benefit:nth-child(4n+3) .teacher-job-benefit-number{background:#f0003d}
.teacher-job-benefit:nth-child(4n){border-top-color:#000078}
.teacher-job-description-body h2,.teacher-job-description-body h3,.teacher-job-description-body h4{margin:22px 0 10px;color:#000078;font-weight:700}
.teacher-job-description-body ul,.teacher-job-description-body ol{padding-left:22px}
.teacher-job-apply{display:inline-flex;min-height:42px;align-items:center;justify-content:center;margin-top:24px;padding:0 24px;border:0;border-radius:999px;background:#f0003d;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}
.teacher-job-apply:hover,.teacher-job-apply:focus-visible{background:#c90032;color:#fff!important}
.teacher-job-related{display:grid;gap:14px}
.teacher-job-related>h2{margin:0 0 4px;color:#000078;font-size:20px;font-weight:700}
.teacher-job-related-card{padding:18px;border:1px solid #e3e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px #0000780a}
.teacher-job-related-card h3{margin:0;color:#000078;font-size:16px;font-weight:700;line-height:1.35}
.teacher-job-related-card p{margin:7px 0 14px;color:#69748a;font-size:13px;line-height:1.4}
.teacher-job-related-empty{margin:0;padding:18px;border-radius:16px;background:#f3f3f3;color:#000078;font-size:13px}
.teacher-city-articles{display:grid;gap:12px;margin-top:12px;padding-top:20px;border-top:1px solid #e3e7ef}
.teacher-city-articles>h2{margin:0;color:#000078;font-size:19px;font-weight:700}
.teacher-city-article-card{padding:16px;border:1px solid #e3e7ef;border-radius:16px;background:#fff;box-shadow:0 8px 24px #0000780a}
.teacher-city-article-card h3{margin:0;color:#000078;font-size:15px;font-weight:700;line-height:1.4}
.teacher-city-article-card h3 a{color:inherit;text-decoration:none}
.teacher-city-article-card h3 a:hover,.teacher-city-article-card h3 a:focus-visible{color:#168d9f;text-decoration:underline}
.teacher-city-article-card p{margin:8px 0 0;color:#69748a;font-size:13px;line-height:1.5}
.teacher-testimonials-section{padding:34px 0 30px;background:#f3f3f3;color:#000078}
.teacher-testimonials-section .container{max-width:980px}
.teacher-stories-eyebrow{margin:0 0 4px;color:#f0003d;font-size:16px;font-weight:600;line-height:1.3}
.teacher-stories-title{margin:0;color:#000078;font-size:clamp(1.75rem,3vw,2.1rem);font-weight:700;line-height:1.2}
.teacher-testimonials-carousel{display:grid;min-height:270px;margin-top:24px}
.teacher-testimonial-feature-slide{display:grid;grid-area:1/1;grid-template-columns:minmax(150px,200px) minmax(0,1fr);align-items:center;gap:32px;min-width:0;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .55s ease}
.teacher-testimonial-feature-slide.is-active{visibility:visible;opacity:1;pointer-events:auto}
.teacher-testimonial-feature-photo{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:9px}
.teacher-testimonial-feature-avatar{display:grid;width:100%;aspect-ratio:3/4;place-items:center;border-radius:9px;background:#ffb719;color:#000078;font-size:76px;font-weight:700;line-height:1}
.teacher-testimonial-feature-content h3{margin:0 0 14px;color:#000078;font-size:clamp(1.25rem,2.4vw,1.65rem);font-weight:700;line-height:1.2}
.teacher-testimonial-feature-content blockquote{margin:0 0 24px;color:#000078;font-size:20px;font-weight:500;line-height:1.5}
.teacher-testimonial-feature-content .teacher-testimonial-author span{font-size:13px}
.teacher-testimonials-empty{margin:24px 0 0}
.teacher-stories-dots{display:flex;justify-content:center;gap:6px;margin-top:20px}
.teacher-stories-dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#000078;opacity:.35;cursor:pointer;transition:width .25s ease,opacity .25s ease}
.teacher-stories-dot.is-active{width:22px;opacity:1}
.teacher-stories-dot:focus-visible{outline:2px solid #f0003d;outline-offset:3px}
.teacher-story-link{display:inline-flex;min-height:32px;align-items:center;gap:8px;margin-top:18px;padding:0 14px;border-radius:999px;background:#ffb719;color:#000078!important;font-size:11px;font-weight:600}
.teacher-story-link:hover,.teacher-story-link:focus-visible{background:#f2a900}
.teacher-community-section{padding:38px 0 64px;background:#f3f3f3;color:#000078}
.teacher-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;max-width:980px}
.teacher-community-grid-single{grid-template-columns:minmax(0,1fr)}
.teacher-story-card,.teacher-video-testimonial-card{display:flex;min-width:0;min-height:300px;flex-direction:column;padding:22px 28px;border-radius:22px}
.teacher-story-card{overflow:hidden;background:#fff}
.teacher-video-testimonial-card{gap:10px;background:#000078;color:#fff}
.teacher-video-testimonial-card .teacher-community-eyebrow{color:#fff}
.teacher-video-testimonial-title{margin:0;color:#ffb719;font-size:17px;font-weight:700;line-height:1.25}
.teacher-video-testimonial-media{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#000078}
.teacher-video-testimonial-note{margin:0;color:#ffffffcc;font-size:11px;line-height:1.4}
.teacher-story-card-body{display:flex;flex:1;min-width:0;align-items:stretch;gap:20px}
.teacher-story-card-avatar{display:block;width:88px;height:88px;flex:none;align-self:center;border-radius:50%;object-fit:cover}
.teacher-story-card-carousel{position:relative;display:grid;flex:1;grid-template-columns:minmax(0,1fr);min-width:0;min-height:220px;overflow:hidden}
.teacher-story-card-slide{position:relative;grid-area:1/1;display:flex;flex-direction:column;justify-content:flex-start;gap:12px;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(100%);transition:transform .65s cubic-bezier(.22,.8,.25,1),opacity .65s ease}
.teacher-story-card-slide.is-active,.teacher-story-card-slide.is-exiting,.teacher-story-card-slide.is-entering{visibility:visible}
.teacher-story-card-slide.is-active{opacity:1;pointer-events:auto;transform:translateY(0)}
.teacher-story-card-slide.is-exiting{opacity:0;transform:translateY(-100%)}
.teacher-story-card-slide.is-entering{opacity:0;transform:translateY(100%)}
.teacher-story-card-author{flex:none;margin-top:2px}
.teacher-story-card-author h3{margin:0;color:#000078;font-size:14px;font-weight:700;line-height:1.25}
.teacher-story-card-author span{display:block;margin-top:3px;color:#000078;font-size:11px;font-weight:400;line-height:1.3}
.teacher-story-card-copy{color:#000078;font-size:15px;font-weight:400;line-height:1.5;white-space:pre-line}
.teacher-story-card-slide .teacher-story-link{align-self:flex-start;flex:none;margin-top:6px}
.teacher-community-eyebrow{margin:0 0 10px;color:#f0003d;font-size:14px;font-weight:600;line-height:1.3}
.teacher-testimonial-author{display:flex;align-items:center;gap:12px}
.teacher-testimonial-avatar{display:block;width:46px;height:46px;flex:none;border-radius:50%;background:#ffb719}
.teacher-testimonial-author strong,.teacher-testimonial-author span{display:block}
.teacher-testimonial-author strong{color:#000078;font-size:12px;font-weight:700;line-height:1.3}
.teacher-testimonial-author span{margin-top:2px;color:#000078;font-size:10px;font-weight:400;line-height:1.3}
.teacher-referral-section{overflow:hidden;background:#f0003d;color:#fff}
.teacher-referral-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;min-height:600px;gap:24px}
.teacher-referral-art{position:relative;grid-column:1;grid-row:1;min-width:0;min-height:600px}
.teacher-referral-line{position:absolute;z-index:0;top:0;left:-18%;width:142%;height:100%;object-fit:contain;object-position:center}
.teacher-referral-person{position:absolute;z-index:1;top:0;left:6%;display:block;width:auto;max-width:200%;height:180%;object-fit:contain;object-position:center top;transform:translateX(-20%) scale(1.4);transform-origin:center top}
.teacher-referral-gear,.teacher-referral-triangle{position:absolute;z-index:2;display:block;height:auto}
.teacher-referral-gear{top:8%;right:-2%;width:68px}
.teacher-referral-triangle{right:8%;bottom:8%;width:68px}
.teacher-referral-copy{position:relative;z-index:1;grid-column:2;grid-row:1;align-self:center;max-width:560px;padding:64px 0}
.teacher-referral-eyebrow{margin:0 0 18px;color:#fff;font-size:16px;font-weight:600;line-height:1.2}
.teacher-referral-copy h2{max-width:560px;margin:0;color:#fff;font-size:clamp(2.1rem,3.8vw,3.5rem);font-weight:700;line-height:1.08}
.teacher-referral-copy>p:not(.teacher-referral-eyebrow){max-width:550px;margin:22px 0 26px;color:#fff;font-size:clamp(1rem,1.4vw,1.2rem);font-weight:400;line-height:1.45}
.teacher-referral-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;padding:0 26px;border-radius:999px;background:#ffb719;color:#000078!important;font-size:16px;font-weight:700;text-decoration:none;transition:background-color .2s ease,color .2s ease}
.teacher-referral-button:hover,.teacher-referral-button:focus-visible{background:#13c6d6;color:#000078!important}
.teacher-referral-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.teacher-world-section{padding:42px 0 20px;background:#ddd;color:#000078}
.teacher-world-section .container{max-width:1240px}
.teacher-world-eyebrow{margin:0 0 4px;color:#f0003d;font-size:20px;font-weight:600;line-height:1.3}
.teacher-world-title{margin:0;color:#000078;font-size:clamp(1.8rem,3.2vw,2.4rem);font-weight:700;line-height:1.2}
.teacher-world-text{margin:8px 0 18px;color:#000078;font-size:12px;line-height:1.4}
.teacher-world-map{position:relative;width:100%;aspect-ratio:2.4/1;min-height:280px;max-height:430px;overflow:hidden;border-radius:16px;background:#c9c9c9;text-align:left}
.teacher-world-map .leaflet-container{width:100%;height:100%;background:#c9c9c9;font-family:'Work Sans',sans-serif}
.teacher-world-map .leaflet-control-attribution{font-size:9px}
.teacher-world-map .leaflet-interactive{transform-box:fill-box;transform-origin:center;transition:fill .3s ease,filter .3s ease,transform .3s ease}
.teacher-world-map .leaflet-interactive.is-highlighted{filter:drop-shadow(0 4px 3px #00007840);transform:translateY(-3px)}
.teacher-world-pin-wrap{border:0;background:transparent}
.teacher-world-pin{position:absolute;top:3px;left:6px;width:24px;height:24px;border:3px solid #fff;border-radius:50% 50% 50% 0;background:#f0003d;box-shadow:0 2px 5px #00007866;transform:rotate(-45deg);transform-origin:center;translate:0 0;scale:1;transition:border-radius .3s ease,box-shadow .3s ease,translate .35s cubic-bezier(.2,.8,.2,1),scale .35s cubic-bezier(.2,.8,.2,1)}
.teacher-world-pin::after{position:absolute;top:6px;left:6px;width:6px;height:6px;border-radius:50%;background:#fff;content:""}
.teacher-world-pin-wrap.is-selected .teacher-world-pin{border-radius:50%;box-shadow:0 5px 12px #00007866;translate:0 -5px;scale:1.4}
.teacher-world-map .leaflet-tooltip{border:0;border-radius:8px;background:#000078;color:#fff;font-size:11px;line-height:1.35;box-shadow:0 4px 12px #00007840}
.teacher-world-map .leaflet-tooltip-top::before{border-top-color:#000078}
.teacher-world-map .teacher-world-country-tooltip::before{display:none}
.teacher-world-map .leaflet-tooltip strong{font-weight:700}
.teacher-world-map .teacher-world-country-tooltip{width:auto;min-width:0;padding:4px 6px;background:#000078;text-align:left;white-space:nowrap}
.teacher-world-country-card{display:flex;align-items:center;gap:6px}
.teacher-world-country-flag{display:block;flex:none;width:16px;height:11px;margin:0;object-fit:cover;border:1px solid #ffffff80}
.teacher-world-country-name{display:block;color:#fff;font-size:11px;font-weight:700;line-height:1.15}
.teacher-world-legend{position:absolute;z-index:700;bottom:12px;left:12px;display:flex;align-items:center;gap:12px;padding:7px 10px;border-radius:6px;background:#fff;color:#000078;box-shadow:0 2px 8px #00007830;font-size:11px;font-weight:600;line-height:1.2}
.teacher-world-legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}
.teacher-world-legend i{display:block;width:10px;height:10px;flex:none;border-radius:50%}
.teacher-world-legend-expat{background:#ffb719}
.teacher-world-legend-native{background:#f0003d}
.teacher-world-map-error{position:absolute;z-index:500;top:50%;left:50%;width:min(90%,420px);margin:0;padding:14px 18px;transform:translate(-50%,-50%);border-radius:8px;background:#fff;color:#000078;text-align:center;font-size:13px}

/* Laravel/Bootstrap responsive safeguards */
.pg img, .pg video, .pg iframe { max-width: 100%; }
.pg { overflow-wrap: anywhere; }
.pg .container, .pg .wr { width: min(100% - 2rem, 1200px); margin-left: auto; margin-right: auto; }
@media (max-width: 767.98px) {
  .teacher-intro{display:block;min-height:0;padding:52px 0 270px}
  .teacher-intro-photo{top:auto;bottom:0;width:100%;height:280px;object-position:center 35%}
  .teacher-intro::before{background:linear-gradient(180deg,#000078 0%,#000078 52%,rgba(0,0,120,.78) 65%,rgba(0,0,120,0) 100%)}
  .teacher-intro-content{max-width:none}
  .teacher-intro-eyebrow{font-size:18px}
  .teacher-intro-content h2{max-width:440px;font-size:clamp(2rem,8vw,3.2rem)}
  .teacher-intro-text{font-size:15px}
  .teacher-intro-stats{gap:16px}
  .teacher-intro-stat{gap:8px}
  .teacher-intro-stat img{width:38px;height:38px}
  .teacher-intro-stat strong{font-size:clamp(1.45rem,6vw,2.1rem)}
  .teacher-intro-stat span{font-size:12px}
  .teacher-approach-section{padding:48px 0 56px}
  .teacher-benefits-top,.teacher-approach-bottom{grid-template-columns:1fr;gap:30px}
  .teacher-benefits-image img{max-width:380px}
  .teacher-benefits-grid{column-gap:20px;row-gap:22px;margin-top:22px}
  .teacher-approach-bottom{gap:36px;margin-top:42px}
  .teacher-approach-title{font-size:clamp(1.6rem,6vw,2rem)}
  .teacher-benefit h3{font-size:15px}
  .teacher-benefit p,.teacher-requirement-list li{font-size:12px}
  .teacher-jobs-section{padding:30px 0 34px}
  .teacher-jobs-carousel{padding:0 44px}
  .teacher-jobs-track{gap:20px}
  .teacher-job-card{flex-basis:100%}
  .teacher-jobs-control{width:32px;height:32px}
  .teacher-application-fields{grid-template-columns:1fr;gap:14px}
  .teacher-application-field-wide{grid-column:auto}
  .teacher-application-cv-field{grid-column:1}
  .teacher-application-modal .modal-header,.teacher-application-modal .modal-body{padding:18px}
  .teacher-application-modal .modal-footer{padding:12px 18px}
  .teacher-job-detail-section{padding:32px 0 48px}
  .teacher-job-detail-layout{grid-template-columns:1fr;gap:24px}
  .teacher-job-detail-meta{gap:14px}
  .teacher-job-detail-card{padding:22px}
  .teacher-job-benefits{padding:20px}
  .teacher-job-detail-ornament-top{top:-1px;right:-14px;width:100px}
  .teacher-job-detail-ornament-bottom{bottom:80px;left:-110px;width:170px;height:170px}
  .teacher-testimonials-section{padding:34px 0}
  .teacher-stories-title{font-size:clamp(1.6rem,6vw,2rem)}
  .teacher-testimonials-carousel{min-height:0;margin-top:20px}
  .teacher-testimonial-feature-slide{grid-template-columns:1fr;gap:18px}
  .teacher-testimonial-feature-photo{width:min(100%,180px);margin:0 auto}
  .teacher-testimonial-feature-avatar{width:min(100%,180px);margin:0 auto;font-size:56px}
  .teacher-testimonial-feature-content blockquote{margin-bottom:18px;font-size:17px}
  .teacher-testimonial-feature-content .teacher-testimonial-author{justify-content:center;text-align:center}
  .teacher-community-section{padding:32px 0 48px}
  .teacher-community-grid{grid-template-columns:1fr;gap:18px}
  .teacher-story-card,.teacher-video-testimonial-card{min-height:300px;padding:22px}
  .teacher-story-card-avatar{width:72px;height:72px}
  .teacher-story-card-carousel{min-height:220px}
  .teacher-referral-content{grid-template-columns:1fr;min-height:0;gap:0}
  .teacher-referral-art{grid-column:1;grid-row:1;min-height:min(100vw,390px)}
  .teacher-referral-line{left:-14%;width:128%}
  .teacher-referral-person{top:0;left:25%;height:100%;transform:translateX(-50%);transform-origin:center top}
  .teacher-referral-gear{top:6%;right:5%;width:54px}
  .teacher-referral-triangle{right:10%;bottom:7%;width:56px}
  .teacher-referral-copy{grid-column:1;grid-row:2;max-width:none;padding:18px 0 48px}
  .teacher-referral-copy h2{font-size:clamp(2rem,8vw,3rem)}
  .teacher-referral-copy>p:not(.teacher-referral-eyebrow){margin:20px 0 24px;font-size:15px}
  .teacher-world-section{padding:38px 0 20px}
  .teacher-world-title{font-size:clamp(1.6rem,6vw,2.1rem)}
  .teacher-world-map{aspect-ratio:1.5/1;min-height:250px}
  .pg { font-size: 15px; }
  .pg h1 { font-size: clamp(2rem, 8vw, 3.2rem) !important; }
  .pg h2 { font-size: clamp(1.6rem, 6vw, 2.4rem) !important; }
  .pg section { max-width: 100%; }
  .pg button, .pg .btn, .pg a.button { max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .teacher-job-card{flex-basis:calc((100% - 20px)/2)}
  .teacher-referral-content{min-height:500px;gap:12px}
  .teacher-referral-art{min-height:500px}
  .teacher-referral-copy{padding:44px 0}
  .teacher-referral-copy h2{font-size:clamp(1.9rem,4vw,2.7rem)}
  .teacher-referral-copy>p:not(.teacher-referral-eyebrow){font-size:16px}
  .teacher-referral-person{left:12%;height:165%;transform:translateX(-50%) scale(1.35)}
  .teacher-referral-gear,.teacher-referral-triangle{width:60px}
}
@media (prefers-reduced-motion: reduce) {
  .pg *, .site-navbar *, .site-footer * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
