/* Все правила ограничены компонентом .mano-exams. Bootstrap и JS не нужны. */
.mano-exams {
  --me-blue: #007fbc;
  --me-blue-dark: #006a9d;
  --me-ink: #10334f;
  --me-copy: #455d70;
  --me-line: #dce8ef;
  --me-pale: #eef7fc;
  container: mano-exams / inline-size;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--me-ink);
  font: 400 16px/1.55 Arial, Helvetica, sans-serif;
  text-align: left;
  isolation: isolate;
}
.mano-exams, .mano-exams *, .mano-exams *::before, .mano-exams *::after { box-sizing: border-box; }
.mano-exams h1, .mano-exams h2, .mano-exams h3, .mano-exams p, .mano-exams ul, .mano-exams address { margin: 0; padding: 0; }
.mano-exams h1, .mano-exams h2, .mano-exams h3 { color: var(--me-ink); font-family: inherit; font-weight: 700; line-height: 1.2; }
.mano-exams h1 { font-size: clamp(28px, 4.5cqi, 44px); letter-spacing: -.035em; border: 0; }
.mano-exams h2 { font-size: clamp(25px, 3.5cqi, 32px); letter-spacing: -.025em; }
.mano-exams h3 { font-size: 20px; }
.mano-exams a { color: var(--me-blue-dark); text-decoration: none; }
.mano-exams a:hover { text-decoration: underline; }
.mano-exams :is(a, summary):focus-visible { outline: 3px solid #104c76; outline-offset: 5px; border-radius: 4px; }
.mano-exams img { display: block; max-width: 100%; height: auto; border: 0; }
.mano-exams .me-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; color: #667c8d; font-size: 13px; }
.mano-exams .me-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 29%; gap: 16px; padding: 36px 30px 30px; border-radius: 9px; background: linear-gradient(120deg, #e9f5fc, #f3faff); }
.mano-exams .me-hero-copy { position: relative; z-index: 1; min-width: 0; }
.mano-exams .me-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--me-blue-dark); font-size: 13px; font-weight: 700; }
.mano-exams .me-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--me-blue); }
.mano-exams .me-year { display: block; margin-top: 4px; }
.mano-exams .me-lead { margin-top: 16px; color: #254b69; font-size: 20px; line-height: 1.45; }
.mano-exams .me-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 28px; }
.mano-exams .me-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--me-blue); border-radius: 5px; background: var(--me-blue); color: #fff; font: 700 15px/1.4 Arial, Helvetica, sans-serif; text-align: center; text-decoration: none; transition: background-color .15s ease; }
.mano-exams .me-button::after { content: '›'; font-size: 23px; line-height: .8; }
.mano-exams .me-button:hover { background: var(--me-blue-dark); color: #fff; text-decoration: none; }
.mano-exams .me-price { color: var(--me-ink); font-size: 16px; white-space: nowrap; }
.mano-exams .me-price strong { font-size: 24px; font-weight: 700; }
.mano-exams .me-hero-art { align-self: center; width: 100%; }
.mano-exams .me-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 16px 0 34px; padding: 22px 8px; border-radius: 9px; background: #f0f7fc; }
.mano-exams .me-facts li { min-width: 0; padding: 0 10px; text-align: center; }
.mano-exams .me-facts li + li { border-left: 1px solid #d8e7f0; }
.mano-exams .me-facts img { width: 34px; height: 34px; margin: 0 auto 10px; }
.mano-exams .me-facts strong { display: block; color: #114570; font-size: 18px; line-height: 1.35; }
.mano-exams .me-facts span { display: block; margin-top: 3px; color: var(--me-copy); font-size: 14px; }
.mano-exams .me-section { margin-top: 34px; }
.mano-exams .me-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.mano-exams .me-course { min-width: 0; padding: 26px; border: 1px solid var(--me-line); border-radius: 6px; background: #fff; }
.mano-exams .me-course-heading { display: flex; align-items: center; gap: 20px; }
.mano-exams .me-icon-disc { display: grid; place-items: center; flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; background: var(--me-pale); }
.mano-exams .me-icon-disc img { width: 40px; height: 40px; }
.mano-exams .me-course h3 { font-size: 28px; }
.mano-exams .me-class { display: block; margin-top: 2px; color: var(--me-blue-dark); font-size: 18px; font-weight: 700; }
.mano-exams .me-course > p { margin-top: 18px; color: var(--me-copy); }
.mano-exams .me-course details { margin-top: 18px; }
.mano-exams .me-course summary { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--me-blue); border-radius: 4px; color: var(--me-blue-dark); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.mano-exams .me-course summary::-webkit-details-marker { display: none; }
.mano-exams .me-course summary::after { content: '+'; font-size: 21px; line-height: 1; }
.mano-exams .me-course details[open] summary::after { content: '−'; }
.mano-exams .me-course summary:hover { background: var(--me-pale); }
.mano-exams .me-course-more { padding-top: 16px; color: var(--me-copy); font-size: 15px; }
.mano-exams .me-course-more a { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: underline; }
.mano-exams .me-benefits { list-style: none; margin-top: 10px; }
.mano-exams .me-benefits li { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: start; gap: 22px; padding: 24px 0; }
.mano-exams .me-benefits li + li { border-top: 1px solid var(--me-line); }
.mano-exams .me-benefits p { margin-top: 8px; color: var(--me-copy); }
.mano-exams .me-note { padding: 18px 22px; border-left: 3px solid #8cc9e9; background: #f7fbfe; color: var(--me-copy); font-size: 15px; }
.mano-exams .me-contact { width: 100%; max-width: 100%; min-width: 0; margin: 32px 0 0; padding: 26px; border-radius: 8px; background: linear-gradient(110deg, #eaf5fc, #f1f8fd); scroll-margin-top: 24px; }
.mano-exams .me-contact-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 20px; }
.mano-exams .me-contact h2 { font-size: clamp(24px, 3.4cqi, 30px); }
.mano-exams .me-contact-top p { margin-top: 8px; color: var(--me-copy); font-size: 15px; }
.mano-exams .me-contact-person { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.mano-exams .me-contact-person > img { width: 48px; height: 48px; }
.mano-exams .me-contact-person strong { color: #105281; }
.mano-exams .me-contact-person p { color: var(--me-copy); font-size: 14px; }
.mano-exams .me-contact-bottom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 22px; }
.mano-exams .me-phone-list { display: flex; flex-direction: column; gap: 8px; }
.mano-exams .me-phone-list a { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 18px; font-weight: 700; }
.mano-exams .me-phone-list img, .mano-exams .me-address > img { width: 24px; height: 24px; flex: 0 0 24px; }
.mano-exams .me-address { display: flex; align-items: start; gap: 10px; color: var(--me-ink); font-size: 15px; font-style: normal; }
.mano-exams .me-address small { display: block; margin-top: 4px; color: var(--me-copy); font-size: 13px; }
@container mano-exams (max-width: 680px) {
  .mano-exams .me-hero { padding: 26px 24px; grid-template-columns: minmax(0, 1fr) 26%; gap: 8px; }
  .mano-exams .me-lead { font-size: 18px; }
  .mano-exams .me-actions { gap: 16px; }
  .mano-exams .me-facts strong { font-size: 16px; }
  .mano-exams .me-course { padding: 20px; }
  .mano-exams .me-course-heading { gap: 14px; }
  .mano-exams .me-icon-disc { flex-basis: 58px; width: 58px; height: 58px; }
  .mano-exams .me-icon-disc img { width: 34px; height: 34px; }
  .mano-exams .me-contact-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mano-exams .me-contact-top .me-button { justify-self: start; }
}
@container mano-exams (max-width: 480px) {
  .mano-exams .me-hero { display: flex; flex-direction: column; padding: 24px 20px; }
  .mano-exams .me-eyebrow { margin-bottom: 14px; }
  .mano-exams .me-actions { flex-direction: column; align-items: stretch; margin-top: 22px; }
  .mano-exams .me-price { text-align: center; }
  .mano-exams .me-hero-art { width: 190px; margin: 10px auto -8px; }
  .mano-exams .me-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; padding: 20px 6px; margin-bottom: 28px; }
  .mano-exams .me-facts li:nth-child(3) { border-left: 0; }
  .mano-exams .me-course-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
  .mano-exams .me-section { margin-top: 28px; }
  .mano-exams .me-benefits li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .mano-exams .me-benefits .me-icon-disc { width: 48px; height: 48px; }
  .mano-exams .me-benefits .me-icon-disc img { width: 29px; height: 29px; }
  .mano-exams .me-benefits h3 { font-size: 18px; }
  .mano-exams .me-benefits p { font-size: 15px; }
  .mano-exams .me-contact { padding: 22px 20px; }
  .mano-exams .me-contact-top .me-button { justify-self: stretch; }
  .mano-exams .me-contact-bottom { grid-template-columns: minmax(0, 1fr); }
}
/* Запасная адаптация для браузеров без container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 640px) {
    .mano-exams .me-hero, .mano-exams .me-contact-top, .mano-exams .me-contact-bottom, .mano-exams .me-course-grid { grid-template-columns: minmax(0, 1fr); }
    .mano-exams .me-hero-art { width: 180px; margin-inline: auto; }
    .mano-exams .me-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
    .mano-exams .me-facts li:nth-child(3) { border-left: 0; }
  }
}
@media (prefers-reduced-motion: reduce) { .mano-exams .me-button { transition: none; } }
@media print {
  .mano-exams .me-hero, .mano-exams .me-contact, .mano-exams .me-course { break-inside: avoid; }
  .mano-exams .me-hero-art, .mano-exams .me-crumbs { display: none; }
  .mano-exams .me-button { color: #10334f; background: transparent; border-color: #10334f; }
}
