.telc-hero { position: relative; min-height: 70vh; overflow: hidden; background: #151515; color: #fff; }
.telc-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.telc-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.88) 0%, rgba(5,5,5,.62) 42%, rgba(5,5,5,.08) 78%); }
.telc-hero-inner { position: relative; display: flex; align-items: center; width: min(calc(100% - (2 * var(--gutter))), var(--hero-content)); min-height: 70vh; padding-bottom: 90px; }
.telc-hero-copy { max-width: 720px; }
.telc-hero-copy > p:not(.eyebrow) { max-width: 58ch; margin: 26px 0 34px; font-size: 20px; color: rgba(255,255,255,.9); }
.telc-hero-badge { position: absolute; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: 190px auto; align-items: center; gap: 28px; min-width: 620px; padding: 26px max(var(--gutter), calc((100vw - var(--hero-content)) / 2)) 24px 38px; border-radius: 30px 0 0; background: #fff; color: #151515; }
.telc-hero-badge::before { position: absolute; bottom: 0; left: -30px; width: 30px; height: 30px; border-radius: 0 0 30px; box-shadow: 15px 15px 0 15px #fff; content: ""; }
.telc-hero-badge img { width: 190px; max-height: 72px; object-fit: contain; }
.telc-hero-badge p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.35; }
.telc-hero-badge p span, .telc-intro-grid h2 span { display: block; }
.telc-intro { background: #fff; }
.telc-intro-grid h2 { max-width: none; font-size: clamp(32px, 2.7vw, 46px); }
.telc-intro-copy { max-width: 820px; font-size: var(--text-base); }
.telc-action-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.button-outline { border-color: #151515; background: #fff; color: #151515; }
.button-outline:hover { border-color: #9d5200; color: #9d5200; }
.exam-overview { padding-bottom: 70px; background: #f3ede5; }
.exam-jumpnav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    border-top: 1px solid #d8d8da;
    border-left: 1px solid #d8d8da;
    background: #fff;
}
.exam-jumpnav a {
    display: flex;
    min-height: 78px;
    align-items: center;
    padding: 20px 24px;
    border-right: 1px solid #d8d8da;
    border-bottom: 1px solid #d8d8da;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
}
.exam-jumpnav a:hover { background: #f6a935; }
.exam-section { padding: clamp(90px, 8vw, 140px) var(--gutter); scroll-margin-top: calc(var(--header-height) + 20px); background: #fff; }
.exam-section-soft { background: #f3ede5; }
.exam-layout { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(330px,.75fr) minmax(430px,1.1fr); gap: clamp(42px, 5vw, 88px); align-items: start; }
.exam-header { position: sticky; top: calc(var(--header-height) + 40px); }
.exam-number { margin-bottom: 28px; color: #f6a935; font-size: 52px; font-weight: 700; line-height: 1; }
.exam-header h2 { font-size: clamp(30px, 2.5vw, 44px); }
.exam-price { margin-top: 32px; font-size: 32px; font-weight: 700; line-height: 1.1; }
.exam-price-note { max-width: 32ch; margin-top: 12px; color: #5f5f62; font-size: 15px; }
.exam-dates h3, .exam-info h3 { margin-bottom: 18px; font-size: 22px; }
.exam-info h3:not(:first-child) { margin-top: 32px; }
.exam-info p { max-width: 68ch; color: #434346; }
.exam-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.exam-action-row .exam-details-button { margin-top: 0; }
.exam-register-button { text-decoration: none; }
.exam-details-dialog { width: min(820px, calc(100% - 32px)); max-height: min(86vh, 920px); padding: 0; border: 0; background: #fff; color: #151515; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.exam-details-dialog::backdrop { background: rgba(10,10,10,.72); }
.exam-details-dialog-inner { display: flex; max-height: min(86vh, 920px); flex-direction: column; }
.exam-details-dialog-header { position: relative; padding: 32px 72px 22px 36px; border-bottom: 1px solid #dedee0; }
.exam-details-dialog-header h2 { margin: 4px 0 0; font-size: clamp(26px, 3vw, 36px); }
.exam-details-dialog-close { position: absolute; top: 24px; right: 24px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid #b6b6b8; background: #fff; color: #151515; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.exam-details-dialog-content { overflow-y: auto; padding: 28px 36px 18px; }
.exam-details-dialog-content h3 { margin: 30px 0 10px; font-size: 22px; }
.exam-details-dialog-content h3:first-child { margin-top: 0; }
.exam-details-dialog-content h4 { margin: 22px 0 8px; font-size: 18px; }
.exam-details-dialog-content p { max-width: none; color: #434346; }
.exam-details-dialog-content ul { margin: 12px 0 20px; padding-left: 24px; color: #434346; }
.exam-details-dialog-content li + li { margin-top: 6px; }
.exam-details-dialog-footer { display: flex; justify-content: flex-end; padding: 18px 36px 28px; border-top: 1px solid #dedee0; }
.exam-details-dialog :focus-visible { outline: 3px solid #151515; outline-offset: 3px; }
.table-wrap { overflow-x: auto; }
.exam-dates-hint { max-width: 42ch; margin: -8px 0 16px; color: #5f5f62; font-size: 14px; line-height: 1.5; }
.exam-dates-scroll {
    max-height: 528px;
    overflow: auto;
    border-bottom: 1px solid #dedee0;
    background: #fff;
    scrollbar-gutter: stable;
    overscroll-behavior: contain;
}
.exam-dates-scroll:focus-visible { outline: 3px solid #9d5200; outline-offset: 3px; }
.exam-dates table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; }
.exam-dates th, .exam-dates td { height: 48px; padding: 13px 15px; border-bottom: 1px solid #dedee0; text-align: left; font-size: 15px; white-space: nowrap; }
.exam-dates th { position: sticky; z-index: 1; top: 0; background: #151515; color: #fff; font-weight: 500; }
.exam-dates tbody tr:hover { background: #fff6e8; }
.conditions { background: #151515; color: #fff; }
.conditions-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 9vw, 150px); }
.conditions header { position: sticky; top: calc(var(--header-height) + 40px); align-self: start; }
.conditions header .eyebrow { color: #f6a935; }
.conditions header p:last-child { margin-top: 22px; color: #c8c8ca; }
.conditions-list { margin: 0; padding: 0; list-style: none; counter-reset: condition; }
.conditions-list li { position: relative; padding: 22px 0 22px 68px; border-bottom: 1px solid #3a3a3d; color: #dedee0; counter-increment: condition; }
.conditions-list li::before { position: absolute; top: 22px; left: 0; color: #f6a935; font-size: 14px; font-weight: 500; content: counter(condition, decimal-leading-zero); }
.conditions-list a { color: #f6a935; text-underline-offset: 4px; }
@media (max-width: 1100px) { .exam-layout { grid-template-columns: .7fr 1.3fr; } .exam-info { grid-column: 1 / -1; } .exam-header { position: static; } }
@media (max-width: 1200px) { .telc-hero, .telc-hero-inner { min-height: 70vh; } .telc-hero-inner { padding-bottom: 120px; } .telc-hero-badge { grid-template-columns: 145px auto; min-width: min(90%, 560px); padding-right: var(--gutter); } .telc-hero-badge img { width: 145px; } .conditions-grid { grid-template-columns: 1fr; } .exam-jumpnav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .exam-jumpnav a:last-child:nth-child(odd) { grid-column: 1 / -1; } .exam-layout { grid-template-columns: 1fr; } .exam-info { grid-column: 1; } .conditions header { position: static; } }
@media (max-width: 760px) { .exam-details-dialog-header { padding: 24px 64px 18px 22px; } .exam-details-dialog-content { padding: 22px; } .exam-details-dialog-footer { padding: 16px 22px 22px; } }
@media (max-width: 620px) { .exam-action-row { align-items: stretch; } .exam-action-row .button { flex: 1 1 150px; text-align: center; } .telc-hero-copy > p:not(.eyebrow) { font-size: 17px; } .telc-hero-badge { left: 24px; grid-template-columns: 115px 1fr; min-width: 0; padding: 20px 22px; } .telc-hero-badge img { width: 115px; } .telc-hero-badge p { font-size: 15px; } .form-grid { grid-template-columns: 1fr; } .form-field-wide { grid-column: 1; } }


/* Unified H2 scale */
.telc-page h2 {
  font-size: clamp(30px, 2.3vw, 40px);
  line-height: 1.15;
}
