/* =====================================================================
   Content pages refresh (exam details, guides, about, contact, policies, Free Zone ...)
   Only active when <html class="cp">, which header.php sets for an allow-list of pages,
   so app pages (practice, dashboard, checkout) are never affected.
   Selectors start with html.cp to outrank the older style.css / allcss.css rules.
   ===================================================================== */
html.cp body{background:#fff}
html.cp .container-wrapper{background:#fff}
html.cp .container-wrapper > .container{
  width:auto !important;max-width:920px !important;margin:0 auto !important;
  padding:24px 20px 56px !important;box-sizing:border-box;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.7;color:#1F2937;text-align:left;
}
html.cp .container-wrapper > .container *{box-sizing:border-box}

/* Breadcrumb + page title */
html.cp #breadcrumb{font-size:14px;color:#4B5563;margin:0 0 8px;padding:0;background:none;border:0;line-height:1.5;text-transform:none}
html.cp #breadcrumb a{color:#1565C0;text-decoration:none}
html.cp #breadcrumb img{width:14px;height:auto;vertical-align:-1px;opacity:.7}
html.cp .pageTitle,html.cp #breadcrumb h1{
  display:block;font-family:inherit;font-size:clamp(26px,3.6vw,38px);line-height:1.2;font-weight:800;
  color:#0B3D6E;text-transform:none;letter-spacing:-.01em;margin:8px 0 20px;padding:0;text-align:left;background:none;border:0;
}
html.cp .container-wrapper > .container h1{
  font-family:inherit;font-size:clamp(26px,3.6vw,38px);line-height:1.2;font-weight:800;color:#0B3D6E;
  text-transform:none;letter-spacing:-.01em;margin:8px 0 20px;padding:0;text-align:left;
}
html.cp .smallTitle{font-family:inherit;font-size:20px;font-weight:700;color:#0B3D6E;text-transform:none;margin:24px 0 8px}

/* Text */
html.cp .container-wrapper > .container p{margin:0 0 14px;line-height:1.7;text-align:left;font-size:16px}
html.cp .container-wrapper > .container a{color:#1565C0;text-decoration:underline;text-underline-offset:2px}
html.cp .container-wrapper > .container a:hover{color:#0B3D6E}
html.cp .container-wrapper > .container font[color="red"],html.cp .container-wrapper > .container font[color="#ff0000"]{color:#B71C1C}
html.cp .container-wrapper > .container font[color="blue"]{color:#1565C0}
html.cp .container-wrapper > .container h2,html.cp .container-wrapper > .container h3,html.cp .container-wrapper > .container h4{
  font-family:inherit;text-transform:none;color:#0B3D6E;font-weight:700;line-height:1.3;padding:0;margin:28px 0 10px;
}
html.cp .container-wrapper > .container h2{font-size:24px}
html.cp .container-wrapper > .container h3{font-size:20px}
html.cp .container-wrapper > .container h4{font-size:17px}

/* "<b><u>Section</u></b>" labels used throughout the content -> real-looking section headings */
html.cp .container-wrapper > .container b > u,html.cp .container-wrapper > .container strong > u,
html.cp .container-wrapper > .container u > b,html.cp .container-wrapper > .container u > strong{
  display:inline-block;text-decoration:none;font-size:20px;font-weight:700;color:#0B3D6E;line-height:1.3;
  margin-top:14px;padding-bottom:6px;border-bottom:3px solid #E8F1FB;
}

/* Lists (the old CSS removes bullets/numbers everywhere) */
html.cp .container-wrapper > .container ul{list-style:disc outside;margin:8px 0 16px;padding-left:24px}
html.cp .container-wrapper > .container ol{list-style:decimal outside;margin:8px 0 16px;padding-left:24px}
html.cp .container-wrapper > .container li{display:list-item;margin:4px 0;line-height:1.6}
html.cp .container-wrapper > .container ul li{list-style:disc outside}
html.cp .container-wrapper > .container ol li{list-style:decimal outside}

/* Tables */
html.cp .container-wrapper > .container table{border-collapse:collapse;max-width:100%;margin:12px 0 20px;font-size:15px;background:#fff}
html.cp .container-wrapper > .container th,html.cp .container-wrapper > .container td{border:1px solid #E5E7EB;padding:10px 12px;vertical-align:top;text-align:left;line-height:1.5}
html.cp .container-wrapper > .container th,html.cp .container-wrapper > .container tr:first-child td.tg-1wig,html.cp .container-wrapper > .container .tg-amwm{background:#F5F8FC;color:#0B3D6E;font-weight:700}
html.cp .container-wrapper > .container tr:nth-child(even) td{background:#FAFBFD}

/* Media */
html.cp .container-wrapper > .container img{max-width:100%;height:auto}
html.cp .container-wrapper > .container iframe{max-width:100%}

/* Forms (contact etc.) */
html.cp .container-wrapper > .container input[type=text],html.cp .container-wrapper > .container input[type=email],
html.cp .container-wrapper > .container input[type=tel],html.cp .container-wrapper > .container select,html.cp .container-wrapper > .container textarea{
  font-family:inherit;font-size:16px;border:1.5px solid #D6DEE8;border-radius:10px;padding:10px 12px;color:#1F2937;background:#fff;max-width:100%;
}
html.cp .container-wrapper > .container input:focus,html.cp .container-wrapper > .container select:focus,html.cp .container-wrapper > .container textarea:focus{outline:none;border-color:#1565C0;box-shadow:0 0 0 3px rgba(21,101,192,.15)}
html.cp .container-wrapper > .container input[type=submit],html.cp .container-wrapper > .container button[type=submit]{
  font-family:inherit;background:#1565C0;color:#fff;border:0;border-radius:10px;min-height:46px;padding:10px 22px;font-size:16px;font-weight:700;cursor:pointer;
}
html.cp .container-wrapper > .container input[type=submit]:hover,html.cp .container-wrapper > .container button[type=submit]:hover{background:#0B3D6E}

/* Free Zone filter bar: keep its compact button */
html.cp .container-wrapper > .container div[style*="91d1f2"] input[type=submit],
html.cp .container-wrapper > .container div[style*="91d1f2"] button{min-height:30px;padding:4px 14px;font-size:14px;border-radius:8px}

/* Call-to-action card added at the end of exam pages (cp-cta) */
html.cp .cp-cta{margin:36px 0 0;padding:24px;border-radius:16px;background:#F5F8FC;border:1px solid #E5E7EB;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
html.cp .cp-cta p{margin:0 !important;font-size:18px !important;font-weight:700;color:#0B3D6E;line-height:1.4 !important}
html.cp .cp-cta p span{display:block;font-weight:400;font-size:15px;color:#4B5563}
html.cp .cp-cta .cp-btns{display:flex;flex-wrap:wrap;gap:10px}
html.cp .cp-cta a{display:inline-flex !important;align-items:center;min-height:46px;padding:10px 20px;border-radius:10px;font-weight:700;text-decoration:none !important;border:2px solid #1565C0}
html.cp .cp-cta a.pri{background:#1565C0;color:#fff !important}
html.cp .cp-cta a.pri:hover{background:#0B3D6E;border-color:#0B3D6E}
html.cp .cp-cta a.sec{background:#fff;color:#1565C0 !important}

@media (max-width:600px){
  html.cp .container-wrapper > .container{padding:16px 16px 40px !important;max-width:100% !important}
  html.cp .container-wrapper > .container table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}
