﻿*,:before,:after{box-sizing:border-box}
body{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6;color:#1f2937;background:#f4f7fb}
a{color:#0f6fa8}img{max-width:100%;height:auto}.container{width:92%;max-width:1200px;margin:0 auto}

#site-header{background:#fff;border-bottom:1px solid #dbe3ee;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.header-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;flex-wrap:wrap}.logo-link{text-decoration:none}.logo-title{font-size:1.8rem;font-weight:700;color:#0b4f73}.logo-badge{display:inline-block;margin-left:8px;padding:4px 10px;border-radius:999px;background:#0f6fa8;color:#fff;font-size:.8rem;font-weight:700}.logo-subtitle{margin:6px 0 0;color:#5b6472}#main-nav ul{list-style:none;margin:0 0 18px;padding:0;display:flex;gap:10px;flex-wrap:wrap}#main-nav a{display:block;padding:10px 14px;border-radius:999px;background:#eef5fb;color:#0b4f73;text-decoration:none;font-weight:700}#main-nav a:hover{background:#dcecf7}

.hero{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin:28px 0;padding:32px;border-radius:20px;background:linear-gradient(135deg,#0b4f73 0%,#0f6fa8 100%);color:#fff}.hero h1{margin:0 0 14px;font-size:2.35rem;line-height:1.1;color:#fff}.eyebrow{margin:0 0 8px;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;opacity:.9}.hero-text{margin:0 0 18px;color:rgba(255,255,255,.92)}.hero-actions,.hero-features,.subject-actions,.form-actions,.quick-links{display:flex;gap:12px;flex-wrap:wrap}
.hero-actions{margin-bottom:16px}
.hero-features{margin-top:16px}.hero-features span{display:inline-block;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15)}

.content-card,.subject-card,.sidebar-card,.question-card,.correction-card,.result-box,.hero-card,.group-card,.hero-info-card{background:#fff;border:1px solid #dbe3ee;border-radius:16px;padding:20px;box-shadow:0 4px 14px rgba(0,0,0,.04)}.hero-card{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff}.hero-card h2{margin-top:0;color:#fff}.hero-info-card{margin:20px 0;background:#f7fbff}.hero-info-card h2{margin:0 0 10px;color:#0b4f73}.hero-info-card p{margin:0 0 12px}.hero-info-card p:last-child{margin-bottom:0}.compact-card{padding:16px 18px}.group-card h2{margin-top:0;color:#0f6fa8}.after-grid-card{margin-top:28px}.exam-outcome-card{margin-bottom:24px}

.btn,.btn-submit{display:inline-block;padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:700;border:1px solid #0f6fa8;background:#0f6fa8;color:#fff;cursor:pointer}.btn:hover,.btn-submit:hover{background:#0b5d8d}.btn-secondary{background:#fff;color:#0f6fa8}.btn-secondary:hover{background:#eef5fb;color:#0b5d8d}

.page-intro{margin:28px 0 24px}.page-intro h1{margin:0 0 10px;color:#0b4f73;line-height:1.2}.page-intro p{margin:0 0 10px}.page-intro p:last-child{margin-bottom:0}.home-grid,.layout-with-sidebar{display:grid;gap:24px;margin-bottom:32px}.home-grid{grid-template-columns:1fr 320px}.layout-with-sidebar{grid-template-columns:1fr 300px}.subject-grid,.group-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.group-grid{margin-top:28px}.subject-card h2,.question-title{margin-top:0;color:#0f6fa8}.seo-card p:last-child,.subject-card p:last-child,.sidebar-card p:last-child,.question-card p:last-child,.correction-card p:last-child,.group-card p:last-child{margin-bottom:0}

.quick-links a{display:inline-block;padding:10px 14px;border-radius:10px;background:#eef5fb;color:#0b4f73;text-decoration:none;font-weight:700}.tip-card h3{margin-top:0;color:#0f6fa8}.sidebar > * + *{margin-top:24px}.main-content > * + .after-grid-card{margin-top:28px}

.quiz-toolbar{margin-bottom:24px}.quiz-meta{display:flex;gap:16px;flex-wrap:wrap;color:#5b6472}.question-card{margin-bottom:22px}.question-number{margin:0 0 8px;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;color:#5b6472}.answer-option{display:flex;gap:12px;align-items:flex-start;margin:10px 0;padding:12px 14px;border:1px solid #dbe3ee;border-radius:12px;background:#f8fbff}.answer-option input[type=radio]{margin-top:4px;flex:0 0 auto}.answer-option span{display:block}.figure-wrap{margin:12px 0 8px}.quiz-figure{display:block;border:1px solid #dbe3ee;border-radius:12px;background:#fff;padding:6px}.no-answer{padding:12px 14px;border:1px dashed #c8d4df;border-radius:12px;background:#f9fbfd;color:#5b6472}.submit-wrap{margin-top:40px;padding-top:24px}.quiz-form .submit-wrap{border-top:1px solid #dbe3ee}.submit-wrap .btn-submit{margin-right:0}.exam-meta{justify-content:space-between}.exam-distribution ul{margin:10px 0 0 18px;padding:0}.exam-distribution li{margin-bottom:6px}

.result-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:24px}.result-label{margin:0 0 8px;color:#5b6472}.result-value{margin:0;font-size:1.5rem;font-weight:700;color:#0b4f73}.correction-card{margin-bottom:18px}.correction-card.correct{border-left:6px solid #22c55e}.correction-card.wrong{border-left:6px solid #ef4444}

.ad-box{display:flex;align-items:center;justify-content:center;text-align:center;color:#5b6472;background:#eef3f8;border:1px dashed #b9c7d6;border-radius:16px;padding:16px}.ad-leaderboard{width:100%;min-height:90px}.ad-rectangle{width:100%;min-height:250px}.ad-skyscraper{width:100%;min-height:600px}

#site-footer{margin-top:40px;background:#0b2433;color:#dfe8ef}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:32px 0}.footer-col h3{margin-top:0;color:#fff}.footer-links{list-style:none;margin:0;padding:0}.footer-links li{margin:0 0 8px}.footer-links a{color:#dfe8ef;text-decoration:none}.footer-links a:hover{color:#fff}.footer-bottom{padding:14px 0 20px;border-top:1px solid rgba(255,255,255,.1)}

@media only screen and (max-width:991px){.hero,.home-grid,.layout-with-sidebar,.subject-grid,.group-grid,.result-summary,.footer-grid{grid-template-columns:1fr}}
@media only screen and (max-width:767px){.container{width:94%}.hero{padding:22px}.hero h1{font-size:2rem}.hero-actions,.hero-features,.subject-actions,.form-actions,.quick-links,#main-nav ul{flex-direction:column}.btn,.btn-submit,.quick-links a{width:100%;text-align:center}}
.compact-subject-card .subject-actions--compact{justify-content:flex-start;align-items:center}
.btn-small{padding:8px 12px;font-size:.88rem;line-height:1.1;white-space:nowrap}
.compact-group-card h2{margin-bottom:8px;font-size:1.08rem}
.compact-group-card h2 a{text-decoration:none;color:#0f6fa8}
.compact-group-card h2 a:hover{text-decoration:underline}
.question-title--small{font-size:1rem;line-height:1.45}
.question-chapter{margin:0 0 8px;font-size:.82rem;text-transform:uppercase;letter-spacing:.04em;color:#0b4f73}
.answer-option{cursor:pointer}
.answer-option input[type=radio]:checked + span{background:#dff1fb;border-color:#8ecae6;color:#0b5f8a}
.answer-option span{display:block;width:100%;padding:2px 0}
.submit-wrap--single{justify-content:flex-start}
.exam-start-card{margin-bottom:24px}
@media only screen and (max-width:767px){
  .subject-actions--compact{flex-direction:row !important;gap:8px}
  .subject-actions--compact .btn{width:auto;text-align:center}
}

.hero-side > * + *{margin-top:18px}

/* PRIVACY PAGE */

.privacy-card{
  padding: 26px 28px;
}

.privacy-card h2{
  margin: 24px 0 10px;
  color: #0b4f73;
  font-size: 1.2rem;
}

.privacy-card p{
  margin: 0 0 14px;
}

.privacy-updated{
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5fb;
  color: #0b4f73;
  font-size: 0.92rem;
}

.privacy-list{
  margin: 0 0 16px 18px;
  padding: 0;
}

.privacy-list li{
  margin-bottom: 8px;
}

.privacy-contact-box{
  margin: 18px 0 8px;
  padding: 16px 18px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #f8fbff;
}

.sidebar-block{
  margin-bottom: 20px;
}

.sidebar-block:last-child{
  margin-bottom: 0;
}

@media only screen and (max-width: 767px){
  .privacy-card{
    padding: 20px 18px;
  }
}