:root{--navy:#102638;--green:#0e7668;--mint:#daf3ea;--ink:#172c3e;--line:#e2e9e7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#f7faf8}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}.wrap{max-width:1200px;padding:0 26px;margin:0 auto}.skip{position:absolute;top:-100px;left:5px;background:white;z-index:99;padding:10px}.skip:focus{top:5px}.top{background:white;border-bottom:1px solid var(--line)}.topin{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}.brand{color:var(--navy);font-size:27px;font-weight:850;letter-spacing:-1.4px;white-space:nowrap}.brand span{color:var(--green)}.brand b,.foot span{color:#eab64b}.languages{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:4px}.navlabel{color:#74847f;font-size:12px;align-self:center;margin-right:6px}.lang{font-size:12px;font-weight:650;color:#43576a;border-radius:7px;padding:5px 8px}.lang:hover,.lang.sel{color:var(--green);background:#e4f4ee;text-decoration:none}.hero{background:#edf6f0;border-bottom:1px solid #d7e8df;overflow:hidden}.herogrid{display:grid;grid-template-columns:1.4fr 0.8fr;align-items:center;min-height:480px;gap:30px}.hero h1{font-size:clamp(40px,5.4vw,76px);line-height:1.06;letter-spacing:-.055em;max-width:780px;margin:16px 0 24px;color:var(--navy)}.eyebrow{font-size:12px;font-weight:850;letter-spacing:.16em;color:var(--green)}.lead{font-size:19px;max-width:600px;color:#4a6664}.cta{display:inline-flex;gap:25px;align-items:center;color:white;background:var(--green);padding:14px 22px;border-radius:9px;font-weight:750;margin-top:22px}.cta:hover{color:white;background:#07584e;text-decoration:none}.heroart{height:330px;position:relative;display:flex;justify-content:center;align-items:center}.road{transform:rotate(24deg);position:absolute;inset:-100px 65px;border-left:8px solid #fafbf8;border-right:8px solid #fafbf8;background:#365863;box-shadow:0 0 0 18px #bbd3ca}.lane{display:block;position:absolute;left:49%;height:45px;width:5px;background:#edf4eb;top:10%}.lane:nth-child(2){top:45%}.lane:nth-child(3){top:80%}.roundsign{position:absolute;right:25px;top:20px;width:118px;height:118px;display:grid;place-items:center;border-radius:50%;background:white;color:#244861;border:9px solid #cf4841;font-size:48px;font-weight:900;box-shadow:0 12px 24px #1b403c2b}.smallmark{position:absolute;bottom:25px;left:10px;background:#fff;padding:12px 20px;border-radius:10px;color:#436057;font-weight:850;box-shadow:0 8px 20px #1b403c1b}.smallmark span{color:#bd9a47}.section{padding:72px 0 100px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:15px}.sectionhead h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;margin:4px 0}.sub{color:#58706f;margin:0}.count{white-space:nowrap;border:1px solid #c9ded3;padding:8px 14px;border-radius:25px;color:var(--green);font-weight:700}.topic{padding-top:34px}.topic h3{font-size:23px;color:var(--navy);margin:0 0 16px;letter-spacing:-.025em}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{display:flex;flex-direction:column;gap:10px;min-height:168px;background:white;border:1px solid var(--line);border-radius:14px;padding:20px;color:var(--ink);box-shadow:0 6px 20px #17453508;transition:transform .15s,border-color .15s}.card:hover{transform:translateY(-2px);border-color:#9bcbb6;text-decoration:none}.key{font-size:11px;font-weight:800;color:var(--green);letter-spacing:.07em}.card strong{font-size:17px;line-height:1.35}.more{font-size:13px;color:var(--green);font-weight:750;margin-top:auto}.article{max-width:860px;margin:52px auto 100px;background:white;padding:clamp(24px,5vw,65px);border:1px solid var(--line);border-radius:18px;box-shadow:0 15px 40px #17453508}.article h1{font-size:clamp(30px,4vw,48px);line-height:1.14;letter-spacing:-.035em;color:var(--navy)}.breadcrumb{font-size:13px;color:#7e908e}.content{overflow-wrap:anywhere}.content img{max-width:100%;height:auto}.content h2{margin-top:2em;line-height:1.2}.content h3{line-height:1.3}.content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.content th,.content td{border:1px solid #d5dce4;padding:8px}.back{display:block;margin-top:48px;font-weight:700}.foot{display:flex;justify-content:space-between;gap:20px;align-items:center}footer{padding:34px 0;background:var(--navy);color:#c9d9df}footer strong{color:white;font-size:22px;letter-spacing:-1px}footer p{font-size:13px;max-width:550px}@media(max-width:850px){.herogrid{grid-template-columns:1fr;min-height:0;padding-top:56px;padding-bottom:55px}.heroart{display:none}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topin{flex-direction:column;align-items:flex-start;padding-top:16px;padding-bottom:14px;gap:10px}.languages{justify-content:flex-start}.wrap{padding:0 17px}.section{padding:44px 0}.sectionhead{align-items:flex-start;flex-direction:column}.cards{grid-template-columns:1fr}.card{min-height:125px}.foot{display:block}.article{margin:20px 0 50px}}

/* Public marketing homepage V3 */
.hero-marketing{position:relative;min-height:540px;background:#edf6f0;isolation:isolate;overflow:hidden}
.hero-marketing .hero-bg{position:absolute;inset:0 0 0 auto;width:78%;z-index:-1;background:url('/assets/hero-driving.webp') center 44%/cover no-repeat;-webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 18%,rgba(0,0,0,.75) 43%,black 64%);mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.2) 18%,rgba(0,0,0,.75) 43%,black 64%)}
.hero-inner{min-height:540px;display:flex;align-items:center;padding-top:55px;padding-bottom:55px}
.hero-copy{max-width:660px;position:relative;z-index:2}
.hero-marketing h1{font-size:clamp(39px,5vw,70px);line-height:1.08;max-width:660px}
.hero-marketing .lead{max-width:570px}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:24px}
.hero-actions .cta{margin-top:0}
.cta-outline{border:1px solid #6b9b8b;border-radius:9px;color:#0e7668;background:rgba(237,246,240,.78);font-weight:750;padding:13px 19px}
.cta-outline:hover{text-decoration:none;background:white}
.marketing-content{padding-bottom:76px}
.quick-section{padding-top:58px;padding-bottom:76px}
.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.quick-card{position:relative;display:flex;flex-direction:column;min-height:244px;border:1px solid #e0e8e4;background:white;border-radius:17px;padding:24px;color:var(--navy);box-shadow:0 8px 23px #17453509}
a.quick-card:hover{transform:translateY(-2px);border-color:#99c9b7;text-decoration:none}
.quick-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e4f4ee;color:var(--green);font-size:13px;font-weight:900}
.quick-card h2{font-size:21px;line-height:1.2;letter-spacing:-.035em;margin:19px 0 8px}
.quick-card p{font-size:14px;color:#536a68;line-height:1.55;margin:0}
.quick-link{margin-top:auto;align-self:flex-end;color:var(--green);font-size:24px}
.not-ready{background:#f9fbfa}
.coming{position:absolute;right:16px;top:23px;padding:4px 8px;border-radius:50px;background:#f0f2f1;color:#6b7776;font-size:11px;font-weight:750}
.benefits{padding:58px 0 76px;border-top:1px solid #e1eae5}
.benefits h2{font-size:clamp(30px,4vw,45px);color:var(--navy);line-height:1.12;letter-spacing:-.045em;margin:8px 0 10px}
.benefits-intro{font-size:18px;color:#536a68;max-width:680px}
.benefit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px;margin-top:36px}
.benefit h3{font-size:18px;margin:13px 0 7px;color:var(--navy)}
.benefit p{font-size:14px;color:#536a68;margin:0}
.benefit-check{display:grid;place-items:center;background:#e4f4ee;color:#08776e;width:39px;height:39px;border-radius:50%;font-weight:800}
.bottom-cta{background:#e3f2ea;border-radius:21px;padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.bottom-cta h2{font-size:26px;margin:0;color:var(--navy)}
.bottom-cta p{margin:8px 0 0;color:#536a68}
.bottom-cta .cta{margin:0;white-space:nowrap}
.catalog-title{font-size:clamp(32px,4vw,48px);margin:6px 0 10px;color:var(--navy)}
html[dir=rtl] .hero-marketing .hero-bg{inset:0 auto 0 0;-webkit-mask-image:linear-gradient(to left,transparent 0%,rgba(0,0,0,.2) 18%,rgba(0,0,0,.75) 43%,black 64%);mask-image:linear-gradient(to left,transparent 0%,rgba(0,0,0,.2) 18%,rgba(0,0,0,.75) 43%,black 64%)}
@media(max-width:980px){.quick-grid,.benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-marketing .hero-bg{width:90%;opacity:.65}.hero-copy{max-width:580px}}
@media(max-width:650px){.hero-marketing,.hero-inner{min-height:480px}.hero-marketing .hero-bg{width:100%;opacity:.23;background-position:60% center;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 100%);mask-image:linear-gradient(to bottom,transparent 0%,black 100%)}.hero-inner{padding-top:45px;padding-bottom:45px}.hero-marketing h1{font-size:clamp(36px,10vw,48px)}.hero-marketing .lead{font-size:17px}.quick-grid,.benefit-grid{grid-template-columns:1fr}.quick-section{padding:30px 0 48px}.quick-card{min-height:175px}.benefits{padding:40px 0 52px}.bottom-cta{padding:25px;display:block}.bottom-cta .cta{margin-top:17px}}


/* Teoripepp marketing homepage V4 */
.topin{flex-wrap:wrap}.languages{flex:1;min-width:0}.header-login{flex-shrink:0;border:1px solid #d8e3df;border-radius:10px;padding:9px 14px;font-size:14px;font-weight:750;color:#183d40;background:#f3f7f5}.header-login-soon{display:block;color:#70827a;font-size:10px;font-weight:600;line-height:1.1}
.cta-disabled{opacity:.72;cursor:not-allowed}.cta-disabled:hover{background:var(--green)}.cta-disabled small{font-size:10px;background:#ffffff30;padding:3px 7px;border-radius:8px}
.quick-grid-v4{grid-template-columns:repeat(5,minmax(0,1fr))}.quick-grid-v4 .quick-card{min-height:254px;padding:18px}.quick-grid-v4 .quick-card h2{font-size:19px}
.story-section{display:grid;grid-template-columns:95px minmax(0,1fr) minmax(270px,.8fr);align-items:center;gap:28px;padding:50px 0;border-bottom:1px solid #e1eae5}.story-number{font-size:12px;letter-spacing:.1em;color:var(--green);font-weight:850}.story-section h3{font-size:clamp(26px,3vw,39px);line-height:1.16;margin:0 0 14px;color:var(--navy);letter-spacing:-.04em}.story-section p{font-size:17px;color:#536a68;max-width:600px}.story-visual{min-height:220px;background:linear-gradient(145deg,#daeee5,#f5faf7);border:1px solid #cce2d7;border-radius:20px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;padding:30px;color:#244b4a}.story-visual strong{font-size:20px}.visual-chip{font-weight:850;color:var(--green);font-size:12px;letter-spacing:.1em}.visual-line{display:flex;gap:8px}.visual-line b{height:14px;background:#7ec5af;border-radius:20px;flex:1}.visual-line b:nth-child(2){background:#0e7668}.visual-line b:nth-child(3){background:#bedbd0}.visual-bars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;column-gap:14px;height:98px;width:100%;box-sizing:border-box}.visual-bars span{position:relative;display:block;align-self:end;height:48%;background:#7ec5af;border-radius:10px 10px 0 0;overflow:hidden}.visual-bars span::after{content:"";position:absolute;left:16%;right:16%;bottom:0;height:72%;background:#0e7668;border-radius:8px 8px 0 0}.visual-bars span:nth-child(2){height:80%}.visual-bars span:nth-child(3){height:64%}.visual-bars span:nth-child(4){height:95%}.visual-bars span:nth-child(5){height:69%}.visual-bars span:nth-child(1)::after{height:70%}.visual-bars span:nth-child(2)::after{height:78%}.visual-bars span:nth-child(3)::after{height:72%}.visual-bars span:nth-child(4)::after{height:82%}.visual-bars span:nth-child(5)::after{height:74%}.progress-rail{height:18px;background:#c0dbd0;border-radius:20px;overflow:hidden}.progress-rail span{display:block;width:66%;height:100%;background:#0e7668;border-radius:20px}.story-flip .story-visual{background:linear-gradient(135deg,#e4ebf7,#eff8f4)}
.faq-v4{padding:65px 0}.faq-v4 h2{font-size:clamp(28px,4vw,42px);color:var(--navy)}.faq-v4 details{background:white;border:1px solid #e0e8e4;border-radius:12px;margin:12px 0;padding:18px 24px}.faq-v4 summary{font-weight:750;cursor:pointer}.faq-v4 p{color:#536a68}
@media(max-width:1150px){.quick-grid-v4{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.story-section{grid-template-columns:1fr;gap:12px;padding:35px 0}.story-visual{min-height:170px}.quick-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))}.topin{gap:12px}.languages{order:3;flex-basis:100%;justify-content:flex-start}}
@media(max-width:540px){.quick-grid-v4{grid-template-columns:1fr}.quick-grid-v4 .quick-card{min-height:155px}.header-login{margin-left:auto}.faq-v4{padding:36px 0}}

/* Real, navigable test and account landing pages */
.landing-wrap{padding-top:90px;padding-bottom:100px;min-height:58vh}
.landing-panel{max-width:840px;margin:auto;background:#fff;border:1px solid #dae8e1;border-radius:22px;padding:clamp(26px,5vw,64px);box-shadow:0 18px 55px #123c3510}
.landing-panel h1{font-size:clamp(30px,4vw,52px);line-height:1.15;color:#163c42}
.landing-panel p:not(.eyebrow){font-size:19px;line-height:1.65;color:#4d6765}
.landing-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.header-login{text-decoration:none;display:inline-flex;align-items:center}
.header-login:hover{border-color:#0e7668;color:#0e7668}

/* Teoripepp V4.1: transparent first-attempt exam statistics (2025) */
.exam-stats{padding:55px clamp(22px,4vw,54px);margin:30px 0 65px;background:#eff7f3;border:1px solid #d7e9df;border-radius:24px}
.exam-stats-top{max-width:760px}.exam-stats h2{font-size:clamp(27px,3.4vw,42px);line-height:1.16;color:#173e40;letter-spacing:-.025em;margin:14px 0}.exam-stats-top p{font-size:17px;color:#546b68;line-height:1.6}
.exam-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:30px}.exam-stat{background:#fff;padding:28px;border:1px solid #d6e8df;border-radius:17px}.exam-stat-name{display:block;font-weight:700;color:#365d57}.exam-stat strong{display:block;font-size:clamp(48px,6vw,82px);line-height:1.1;color:#0e7668;letter-spacing:-.05em;margin:15px 0}.exam-stat-track{background:#e1eee8;border-radius:20px;height:12px;overflow:hidden}.exam-stat-track span{background:#0e7668;height:100%;display:block;border-radius:20px}.exam-stats-source{font-size:13px;color:#657b74;margin:24px 0 0}.exam-stats-source a{color:#325e52;text-decoration:underline;text-underline-offset:3px}
@media(max-width:680px){.exam-stats-grid{grid-template-columns:1fr}.exam-stats{padding:28px 20px;margin:25px 0 45px}.exam-stat{padding:22px}}

/* Teoripepp V4.2: question bank, language badges, approved collage, legal navigation */
.question-showcase{padding:46px 0 72px}.question-showcase-head{max-width:850px}.question-showcase h2{font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-.03em;color:var(--navy);margin:12px 0}.question-showcase h3{font-size:clamp(22px,2.7vw,30px);color:var(--navy);margin:28px 0 7px}.question-showcase p{color:#516965;font-size:17px;line-height:1.65}
.question-showcase-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:32px 0}.question-showcase-numbers>div{display:flex;flex-direction:column;gap:5px;background:#edf7f1;padding:25px 28px;border-radius:18px;border:1px solid #dcece2}.question-showcase-numbers strong{font-size:clamp(42px,5vw,70px);line-height:1.1;color:#0e7668;letter-spacing:-.05em}.question-showcase-numbers span{font-size:15px;color:#4f6863}
.language-chips{list-style:none;margin:16px 0 37px;padding:0;display:flex;flex-wrap:wrap;gap:9px}.language-chips li{border:1px solid #d4e7dd;background:white;padding:8px 13px;border-radius:25px;font-weight:600;color:#284e49;font-size:14px}.question-showcase-photo{padding:25px 28px 28px;border-radius:22px;background:white;border:1px solid #e1eae6;box-shadow:0 10px 35px #17453508}.question-showcase-photo h3{margin:0 0 8px}.question-showcase-photo p{margin:0 0 22px}.question-showcase-photo img{display:block;width:100%;height:auto;aspect-ratio:1200/675;object-fit:cover;border-radius:14px}
.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 20px}.footer-links a{color:#dae6e8;font-size:13px;text-decoration:underline;text-underline-offset:3px}
@media(max-width:650px){.question-showcase{padding:25px 0 48px}.question-showcase-numbers{grid-template-columns:1fr}.question-showcase-photo{padding:15px}.footer-links{justify-content:flex-start;margin-top:18px}}

/* V4.3: approved driving collage as background, with accessible text overlay */
.question-showcase-photo{
  position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;
  min-height:clamp(350px,42vw,510px);padding:clamp(26px,4.2vw,56px);
  background-color:#19332f;
  background-image:linear-gradient(90deg,rgba(7,29,29,.93) 0%,rgba(7,29,29,.85) 37%,rgba(7,29,29,.56) 65%,rgba(7,29,29,.2) 100%),url('/assets/question-collage.webp');
  background-position:center;background-size:cover;background-repeat:no-repeat;
  border:0;border-radius:24px;box-shadow:none
}
.question-showcase-photo-content{position:relative;z-index:1;max-width:650px}
.question-showcase-photo h3{font-size:clamp(30px,3.6vw,48px);line-height:1.14;letter-spacing:-.03em;color:#fff;margin:0 0 16px;text-wrap:balance}
.question-showcase-photo p{font-size:clamp(16px,1.55vw,19px);line-height:1.65;color:#f0f7f4;margin:0;max-width:600px}
@media(max-width:650px){.question-showcase-photo{min-height:420px;padding:26px;background-position:48% center;background-image:linear-gradient(0deg,rgba(7,29,29,.95) 0%,rgba(7,29,29,.8) 53%,rgba(7,29,29,.25) 100%),url('/assets/question-collage.webp')}.question-showcase-photo h3{font-size:31px}}

/* V4.3.1 background display safeguard */
.question-showcase .question-showcase-photo {
  background-color:#19332f;
  background-image:linear-gradient(90deg,rgba(7,29,29,.94),rgba(7,29,29,.72) 56%,rgba(7,29,29,.18)),url('/assets/question-collage.webp');
  background-position:center center;background-size:cover;background-repeat:no-repeat;
  border:0;box-shadow:none;
}
.question-showcase .question-showcase-photo h3 {color:#fff}
.question-showcase .question-showcase-photo p {color:#f0f7f4}
@media(max-width:650px){
 .question-showcase .question-showcase-photo {
  background-image:linear-gradient(0deg,rgba(7,29,29,.96),rgba(7,29,29,.72) 55%,rgba(7,29,29,.18)),url('/assets/question-collage.webp');
 }
}

/* TEORIPEPP_V48_FOUR_HOMEPAGE_CARDS */
/* Four meaningful cards on all 14 language homepages. */
.quick-grid-v4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media (max-width: 1150px) { .quick-grid-v4 { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 540px) { .quick-grid-v4 { grid-template-columns: 1fr; } }

/* TEORIPEPP_V49_FOUR_CARD_LAYOUT */
/* Use the whole row, rather than reserving the fifth column. */
.quick-grid.quick-grid-v4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 16px;
}
.quick-grid.quick-grid-v4 > .quick-card { min-width: 0; width: 100%; }
@media (max-width: 900px) {
  .quick-grid.quick-grid-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .quick-grid.quick-grid-v4 { grid-template-columns: minmax(0, 1fr); }
}

/* TEORIPEPP_TWO_TONE_BARS_V53_CACHEFIX */
/* Balanced width, five equal columns; pale tracks with dark filled portion. */
.story-section .story-visual .visual-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  align-items: end;
  gap: 10px;
  width: 100%;
  height: 98px;
  box-sizing: border-box;
}
.story-section .story-visual .visual-bars > span {
  display: block;
  width: 100%;
  min-width: 0;
  position: relative;
  align-self: end;
  background: #b9dcd0;
  border-radius: 7px 7px 0 0;
  overflow: hidden;
}
.story-section .story-visual .visual-bars > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 65%;
  background: #0e7668;
  border-radius: 7px 7px 0 0;
}
.story-section .story-visual .visual-bars > span:nth-child(1) { height: 48%; }
.story-section .story-visual .visual-bars > span:nth-child(2) { height: 80%; }
.story-section .story-visual .visual-bars > span:nth-child(3) { height: 64%; }
.story-section .story-visual .visual-bars > span:nth-child(4) { height: 95%; }
.story-section .story-visual .visual-bars > span:nth-child(5) { height: 69%; }
.story-section .story-visual .visual-bars > span:nth-child(1)::after { height: 70%; }
.story-section .story-visual .visual-bars > span:nth-child(2)::after { height: 76%; }
.story-section .story-visual .visual-bars > span:nth-child(3)::after { height: 63%; }
.story-section .story-visual .visual-bars > span:nth-child(4)::after { height: 81%; }
.story-section .story-visual .visual-bars > span:nth-child(5)::after { height: 72%; }

/* TEORIPEPP_STICKY_FOOTER_20261031
   Site-wide bottom footer on short pages; long content remains in normal flow.
   Do not force flex-grow on main.panel (login page/card). */
html body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
html body > header,
html body > footer {
  flex-shrink: 0;
}
html body > main#main {
  flex: 1 0 auto;
}
html body > footer {
  margin-top: auto;
  margin-bottom: 0;
}

/* Teoripepp single dropdown selector for all 18 languages, 2026-11-01. */
.top {position:relative;z-index:40;}
.top .topin {flex-wrap:nowrap;}
.top .languages {display:flex;flex:0 1 auto;min-width:0;order:0;justify-content:flex-end;margin-inline-start:auto;position:relative;}
.top .tp-language-dropdown {position:relative;min-width:0;max-width:100%;font-size:14px;color:#183d40;direction:ltr;}
.top .tp-language-dropdown summary {display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;white-space:nowrap;min-height:42px;max-width:100%;padding:8px 12px;background:#f5f9f7;border:1px solid #d3e2dc;border-radius:9px;box-sizing:border-box;}
.top .tp-language-dropdown summary::-webkit-details-marker {display:none;}
.top .tp-language-dropdown summary:hover, .top .tp-language-dropdown[open] summary {border-color:#0e7668;background:#edf7f2;}
.top .tp-language-dropdown summary:focus-visible {outline:3px solid #9cd6ca;outline-offset:3px;}
.top .tp-language-static {font-size:13px;font-weight:600;color:#60746f;flex-shrink:0;}
.top .tp-language-current {font-size:14px;font-weight:750;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:190px;unicode-bidi:isolate;}
.top .tp-language-chevron {display:block;width:8px;height:8px;border-right:2px solid #486a62;border-bottom:2px solid #486a62;transform:rotate(45deg) translateY(-2px);flex-shrink:0;margin-left:2px;}
.top .tp-language-dropdown[open] .tp-language-chevron {transform:rotate(225deg) translateY(-2px);}
.top .tp-language-options {position:absolute;top:calc(100% + 6px);right:0;z-index:80;list-style:none;margin:0;padding:6px;width:max-content;min-width:245px;max-width:min(92vw,330px);max-height:min(65vh,420px);overflow-y:auto;overscroll-behavior:contain;direction:ltr;background:white;border:1px solid #d6e6dd;border-radius:12px;box-shadow:0 14px 38px rgba(13,47,38,.17);}
.top .tp-language-options li {margin:0;padding:0;}
.top .tp-language-options a, .top .tp-language-options .tp-language-unavailable {display:block;box-sizing:border-box;border-radius:7px;padding:10px 12px;min-height:39px;line-height:1.4;text-align:start;color:#243c39;font-size:14px;font-weight:550;text-decoration:none;unicode-bidi:isolate;}
.top .tp-language-options a:hover, .top .tp-language-options a:focus-visible {background:#e8f5ef;color:#087967;text-decoration:none;}
.top .tp-language-options a[aria-current="page"] {color:#086958;background:#e8f5ef;font-weight:800;}
.top .tp-language-unavailable {opacity:.55;}
@media (max-width:800px){.top .languages {order:0;flex-basis:auto;}}
@media (max-width:600px){.top .topin{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:8px;padding-top:13px;padding-bottom:13px;min-height:0;}.top .brand{grid-column:1;grid-row:1;min-width:0;}.top .header-login{grid-column:2;grid-row:1;margin-left:0;}.top .languages{grid-column:1 / -1;grid-row:2;justify-content:flex-start;margin-left:0;max-width:100%;}.top .tp-language-dropdown{max-width:100%;}.top .tp-language-current{max-width:min(50vw,190px)}.top .tp-language-options{left:0;right:auto;max-width:calc(100vw - 34px);}}

/* TEORIPEPP_HOME_LIVE_PRODUCTS_V1: responsive live DB-backed product cards. */
.question-showcase-numbers{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr))}
.question-showcase-numbers .tp-product-stat small{font-size:13px;line-height:1.45;color:#526d65;margin-top:7px;overflow-wrap:anywhere}
.question-showcase-numbers .tp-product-stat strong{font-size:clamp(38px,4vw,62px);overflow-wrap:anywhere}

/* Teoripepp public study guide: concise paid question-practice promo, never an unlock prompt. */
.tp-guide-offer{display:flex;align-items:center;gap:22px;max-width:880px;margin:22px 0 34px;padding:20px 23px;background:#edf7f2;border:1px solid #bfdad0;border-radius:16px;box-shadow:0 5px 20px #17453508}
.tp-guide-offer-main{flex:1;min-width:0}
.tp-guide-offer h2{font-size:clamp(18px,2.2vw,22px);line-height:1.25;letter-spacing:-.02em;color:#102638;margin:0 0 7px}
.tp-guide-offer p{font-size:14px;color:#4c6863;line-height:1.45;margin:0 0 12px}
.tp-guide-offer-facts{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:13px;color:#395b53}
.tp-guide-offer-facts strong{font-weight:850;font-size:17px;color:#102638;white-space:nowrap}
.tp-guide-offer-purchase{display:flex;flex:0 0 186px;flex-direction:column;align-items:flex-start;gap:3px}
.tp-guide-offer-price{font-size:25px;line-height:1.2;color:#102638}
.tp-guide-offer-duration{font-weight:750;font-size:13px;color:#31524b}
.tp-guide-offer-norenew{font-size:11px;color:#57716c;line-height:1.4}
.tp-guide-offer .tp-guide-offer-cta{margin:9px 0 0;padding:9px 13px;border-radius:9px;font-size:13px;line-height:1.25;gap:0;text-align:center}
.tp-guide-offer .tp-guide-offer-cta:hover{color:#fff}
@media(max-width:640px){.tp-guide-offer{align-items:stretch;flex-direction:column;gap:13px;padding:17px}.tp-guide-offer-purchase{flex:auto;width:100%}.tp-guide-offer-facts{gap:5px 14px}}
