/* Requested Taxi navigation and page layout refinements. */
/* Keep the mock cards compact beneath the unchanged exam stat cards. */
#taxiExamMount .taxi-mock-exam-cards{display:grid;grid-template-columns:repeat(2,minmax(0,220px));justify-content:center;gap:14px;margin:8px 0 26px}
#taxiExamMount .taxi-mock-exam-cards:not(.has-resume){grid-template-columns:minmax(0,250px)}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start{box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;min-width:0;aspect-ratio:1;min-height:0;margin:0;padding:16px;border-radius:18px}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume{text-align:center}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume>div{margin:auto 0}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start>div{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start .taxi-practice-icon{width:38px;height:38px;font-size:20px}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start h3{font-size:16px;line-height:1.3}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:12px;line-height:1.45}
#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume>.primary,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start>.primary{align-self:stretch;width:100%;min-height:42px;padding:8px;font-size:13px;white-space:normal}
#taxiExamMount .taxi-exam-green-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note{box-sizing:border-box;aspect-ratio:1;min-height:0;justify-content:center;padding:clamp(14px,2vw,24px);border-radius:18px}
#taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>strong,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>strong{font-size:clamp(15px,1.8vw,20px)}
#taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>span,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>span{font-size:clamp(12px,1.3vw,16px);line-height:1.5}
@media(max-width:600px){
 #taxiExamMount .taxi-mock-exam-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #taxiExamMount .taxi-mock-exam-cards:not(.has-resume){grid-template-columns:minmax(0,190px)}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start{padding:11px;border-radius:15px}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start .taxi-practice-icon{width:30px;height:30px;font-size:17px}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start h3{font-size:13px}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start p,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume p{font-size:10px;line-height:1.35}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume strong{font-size:13px;line-height:1.3}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume>.primary,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start>.primary{min-height:38px;font-size:11px;line-height:1.25}
 #taxiExamMount .taxi-exam-green-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note{gap:8px;padding:11px;border-radius:14px}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>strong,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>strong{font-size:14px}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>span,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>span{font-size:11px;line-height:1.4}
}
/* Hide the shared Taxi branding on every mobile page. */
@media(max-width:760px){.mobile-brand{display:none}}
/* Reserve the same breadcrumb row above every mobile page heading. */
@media(max-width:760px){
 main{padding-top:calc(78px + env(safe-area-inset-top))}
 .career-back{top:calc(16px + env(safe-area-inset-top));left:14px;min-height:44px;max-width:calc(100% - 28px);line-height:1.3}
}
/* Balance the mobile Exam introduction spacing. */
@media(max-width:760px){
 #taxiExamMount .taxi-exam-introduction{padding-top:8px}
 #taxiExamMount .taxi-exam-introduction .taxi-section-heading{margin-bottom:0}
 #taxiExamMount .taxi-about-exam{padding-top:0}
 #taxiExamMount .taxi-about-exam>.taxi-exam-facts{margin-top:16px}
}
/* Preserve the square green cards' original vertically centered content. */
#taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
/* Compact mobile card pairs with clear hierarchy and comfortable reading space. */
@media(max-width:760px){
 #taxiExamMount .taxi-mock-exam-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
 #taxiExamMount .taxi-mock-exam-cards:not(.has-resume){grid-template-columns:minmax(0,240px)}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start{aspect-ratio:auto;justify-content:flex-start;gap:12px;padding:14px;border-radius:20px;text-align:left}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume>div{margin:0}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start>div{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:8px;text-align:left}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start .taxi-practice-icon{width:28px;height:28px;font-size:16px}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start h3,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume strong{font-size:14px;line-height:1.35}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start p,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume p{display:block;overflow:visible;margin-top:8px;font-size:12px;line-height:1.5}
 #taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-start>.primary,#taxiExamMount .taxi-mock-exam-cards>.taxi-simulation-resume>.primary{margin-top:auto;min-height:44px;font-size:12px;line-height:1.3;border-radius:14px}
 #taxiExamMount .taxi-exam-green-notes{gap:12px;align-items:stretch}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note{aspect-ratio:auto;justify-content:flex-start;gap:10px;margin:0;padding:18px 16px;border-radius:20px}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule{background:#edf5ed}
 #taxiExamMount .taxi-exam-green-notes>.taxi-language-note{background:#f4f6ef}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule::before,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note::before{content:"";width:28px;height:3px;flex:none;margin-bottom:4px;border-radius:2px;background:#91b49a}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>strong,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>strong{font-size:15px;line-height:1.3}
 #taxiExamMount .taxi-exam-green-notes>.taxi-pass-rule>span,#taxiExamMount .taxi-exam-green-notes>.taxi-language-note>span{font-size:12px;line-height:1.55}
}
@media(max-width:360px){
 #taxiExamMount .taxi-mock-exam-cards,#taxiExamMount .taxi-mock-exam-cards:not(.has-resume),#taxiExamMount .taxi-exam-green-notes{grid-template-columns:minmax(0,1fr)}
}
/* One mobile swipe lane for mock actions and exam guidance. */
@media(max-width:760px){
 #taxiExamMount .taxi-exam-card-carousel{display:grid;width:100%;box-sizing:border-box;grid-auto-flow:column;grid-auto-columns:minmax(260px,86%);gap:10px;align-items:stretch;overflow-x:auto;margin:16px 0 18px;padding:2px 2px 10px;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-inline:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 #taxiExamMount .taxi-exam-card-carousel:focus-visible{outline:3px solid #8bb493;outline-offset:3px;border-radius:20px}
 #taxiExamMount .taxi-exam-card-carousel>.taxi-mock-exam-cards,#taxiExamMount .taxi-exam-card-carousel>.taxi-exam-green-notes{display:contents}
 #taxiExamMount .taxi-exam-card-carousel article,#taxiExamMount .taxi-exam-card-carousel aside{scroll-snap-align:start;scroll-snap-stop:always}
}
