﻿:root {
      --brand: #a80532;
      --ink: #192039;
      --muted: #5d6578;
      --line: #e5e9f1;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: Inter, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .page-container {
      width: min(100% - 48px, 1200px);
      margin-inline: auto;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 74px;
      color: #1e253d;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-link.active,
    .nav-link:hover { color: var(--brand); }

    .nav-dropdown-toggle {
      appearance: none;
      background: transparent;
      border: 0;
      cursor: default;
      font-family: inherit;
      padding: 0;
    }

    .nav-link.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--brand);
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-caret {
      transition: transform .18s ease;
    }

    .nav-item:hover .nav-caret,
    .nav-item:focus-within .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% - 6px);
      left: 0;
      z-index: 30;
      min-width: 246px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgba(28, 38, 63, .12);
      padding: 7px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .nav-dropdown a {
      display: block;
      padding: 10px 14px;
      color: #242b43;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .nav-dropdown a:hover {
      background: #f9edf1;
      color: var(--brand);
    }

    .hero {
      position: relative;
      min-height: 372px;
      overflow: hidden;
      background: #fbfaf8;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: 0;
      left: 0;
      height: 80px;
      background: #fff;
      clip-path: polygon(0 44%, 24% 72%, 50% 75%, 76% 71%, 100% 42%, 100% 100%, 0 100%);
    }

    .hero-photo {
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      pointer-events: none;
    }

    .hero-photo::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      display: none;
    }

    .hero-photo img,
    .media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-photo img {
      width: 85%;
      height: 100%;
      object-fit: cover;
      object-position: 74% 30%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
    }

    .btn-primary,
    .btn-outline {
      display: inline-flex;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      padding-inline: 24px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: .18s ease;
    }

    .btn-primary {
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover { background: #7f0325; border-color: #7f0325; color: #fff; }

    .btn-outline {
      border: 1px solid var(--brand);
      background: rgba(255,255,255,.84);
      color: var(--brand);
    }

    .btn-outline:hover { background: #f8edf1; }

    .field {
      width: 100%;
      height: 43px;
      border: 1px solid #dce2ec;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b324a;
      font-size: 14px;
      font-weight: 600;
      outline: none;
    }

    .field:focus {
      border-color: var(--brand);
    }

    .section-title {
      color: var(--ink);
      font-size: 23px;
      line-height: 1.18;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .link-red {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .link-red:hover { color: var(--brandDark); }

    .course-card {
      position: relative;
      min-height: 252px;
      overflow: hidden;
      border: 1px solid #dfe5ef;
      border-radius: 7px;
      background: #fff;
    }

    .course-slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .course-slider::-webkit-scrollbar { display: none; }

    .course-slider .course-card {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .course-image {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #f4f1ef;
    }

    .course-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.88) 76%, #fff 100%),
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.44) 66%, rgba(255,255,255,0) 100%);
    }

    .course-card > .p-4 {
      position: relative;
      z-index: 2;
      display: flex;
      min-height: 252px;
      flex-direction: column;
      padding: 18px 16px 16px;
      /* Fill the stretched card so .mt-5 { margin-top: auto } can push the
         action button down to a common baseline across the slider. */
      height: 100%;
    }

    .course-card h3 {
      max-width: 74%;
      margin-top: 34px;
      min-height: 46px;
    }

    .course-card .meta-row:first-child {
      margin-top: 2px;
    }

    .tag {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      border-radius: 3px;
      padding: 6px 8px;
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      text-transform: uppercase;
    }

    .tag.bg-brand {
      background: var(--brand);
    }

    .course-card .mt-5 {
      margin-top: auto;
      padding-top: 16px;
    }

    .course-seats {
      font-size: 12px;
      line-height: 1.2;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4d5669;
      font-size: 13px;
      line-height: 1.28;
    }

    .meta-row i {
      width: 13px;
      color: #697184;
      font-size: 13px;
    }

    .category-card {
      display: flex;
      min-height: 144px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      border: 1px solid #e6eaf1;
      border-radius: 8px;
      color: #232a42;
      background: #fff;
      box-shadow: 0 1px 2px rgba(26, 33, 52, .03);
      text-align: center;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .category-card:hover {
      border-color: rgba(168, 5, 50, .34);
      box-shadow: 0 10px 22px rgba(26, 33, 52, .08);
      transform: translateY(-2px);
    }

    .icon-outline {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: var(--brand);
      font-size: 38px;
      line-height: 1;
    }

    .step-card {
      position: relative;
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 18px;
      align-items: center;
    }

    .step-bubble {
      position: relative;
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 28px;
    }

    .step-number {
      position: absolute;
      top: -6px;
      left: -7px;
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      gap: 20px;
    }

    .audience-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(26, 33, 52, .05);
    }

    .audience-icon {
      display: grid;
      width: 54px;
      height: 54px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 23px;
    }

    .audience-card h3 {
      margin-top: 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
    }

    .audience-card p,
    .audience-card li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.5;
    }

    .audience-card p {
      margin-top: 8px;
      font-weight: 400;
    }

    .audience-card ul {
      margin-top: 12px;
      padding-left: 18px;
    }

    .audience-card li + li {
      margin-top: 7px;
    }

    .benefit-icon {
      display: grid;
      width: 56px;
      height: 56px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #737b8f;
      font-size: 22px;
    }

    .lecturer-card {
      display: grid;
      grid-template-columns: 148px 1fr;
      min-height: 112px;
      overflow: hidden;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
    }

    .lecturer-card .media-img {
      object-position: center top;
    }

    .lecturer-card > .p-4 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
    }

    .lecturer-card h3 {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.25;
    }

    .contact-cta {
      display: grid;
      grid-template-columns: 1.25fr .9fr auto;
      gap: 40px;
      align-items: center;
      border-radius: 8px;
      background: #fbedf0;
      padding: 24px 44px 24px 28px;
    }

    .contact-cta-icon {
      color: var(--brand);
      font-size: 50px;
      line-height: 1;
    }

    .contact-cta-methods {
      display: grid;
      gap: 13px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .contact-cta-methods a {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      color: inherit;
      text-decoration: none;
    }

    .contact-cta-methods i {
      width: 34px;
      color: var(--brand);
      font-size: 23px;
      text-align: center;
    }

    .faq-row {
      transition: color .18s ease;
    }

    .faq-row:hover {
      color: var(--brand);
    }

    .faq-row i {
      transition: transform .18s ease;
    }

    .faq-row[aria-expanded="true"] {
      color: var(--brand);
    }

    .faq-row[aria-expanded="true"] i {
      transform: rotate(180deg);
    }

    .faq-panel {
      padding: 0 0 14px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
    }

    .faq-panel[hidden] {
      display: none;
    }

    .faq-item + .faq-item { border-top: 1px solid #e3e8f0; }

    .footer-link {
      display: inline-flex;
      transition: color .18s ease;
    }

    .footer-link:hover {
      color: var(--brand);
    }

    .social-link {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #5e6678;
      font-size: 22px;
      transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .social-link:hover {
      background: #f9edf1;
      color: var(--brand);
      transform: translateY(-2px);
    }

    @media (max-width: 1180px) {
      .nav-link { display: none; }
    }

    @media (max-width: 900px) {
      .contact-cta { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero-photo { opacity: .22; }
      .hero-photo::before { background: rgba(255,255,255,.78); }
      .hero::after { height: 52px; }
    }

    @media (max-width: 640px) {
      .page-container { width: min(100% - 32px, 1200px); }
      .section-title { font-size: 20px; }
      .step-card { grid-template-columns: 58px 1fr; }
      .step-bubble { width: 56px; height: 56px; font-size: 22px; }
      .audience-card { padding: 18px; }
      .lecturer-card { grid-template-columns: 112px 1fr; }
    }

    @media (min-width: 640px) {
      .course-slider .course-card { flex-basis: calc((100% - 24px) / 2); }
    }

    @media (min-width: 1024px) {
      .course-slider .course-card { flex-basis: calc((100% - 48px) / 3); }
    }

:root {
      --brand: #a80532;
      --ink: #192039;
      --muted: #5d6578;
      --line: #e5e9f1;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: Inter, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .page-container {
      width: min(100% - 48px, 1200px);
      margin-inline: auto;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 74px;
      color: #1e253d;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-link.active,
    .nav-link:hover { color: var(--brand); }

    .nav-link.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--brand);
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-caret {
      transition: transform .18s ease;
    }

    .nav-item:hover .nav-caret,
    .nav-item:focus-within .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% - 6px);
      left: 0;
      z-index: 30;
      min-width: 246px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgba(28, 38, 63, .12);
      padding: 7px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .nav-dropdown a {
      display: block;
      padding: 10px 14px;
      color: #242b43;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .nav-dropdown a:hover {
      background: #f9edf1;
      color: var(--brand);
    }

    .hero {
      position: relative;
      min-height: 372px;
      overflow: hidden;
      background: #fbfaf8;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: -1px;
      left: 0;
      height: 80px;
      background: #fff;
      clip-path: polygon(0 44%, 24% 72%, 50% 75%, 76% 71%, 100% 42%, 100% 100%, 0 100%);
    }

    .hero-photo {
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      pointer-events: none;
    }

    .hero-photo::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      display: none;
    }

    .hero-photo img,
    .media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-photo img {
      width: 85%;
      height: 100%;
      object-fit: cover;
      object-position: 74% 30%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
    }

    .btn-primary,
    .btn-outline {
      display: inline-flex;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      padding-inline: 24px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: .18s ease;
    }

    .btn-primary {
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover { background: #7f0325; border-color: #7f0325; color: #fff; }

    .btn-outline {
      border: 1px solid var(--brand);
      background: rgba(255,255,255,.84);
      color: var(--brand);
    }

    .btn-outline:hover { background: #f8edf1; }

    .field {
      width: 100%;
      height: 43px;
      border: 1px solid #dce2ec;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b324a;
      font-size: 14px;
      font-weight: 600;
      outline: none;
    }

    .field:focus {
      border-color: var(--brand);
    }

    .section-title {
      color: var(--ink);
      font-size: 23px;
      line-height: 1.18;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .link-red {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .link-red:hover { color: var(--brandDark); }

    .course-card {
      position: relative;
      min-height: 252px;
      overflow: hidden;
      border: 1px solid #dfe5ef;
      border-radius: 7px;
      background: #fff;
    }

    .course-slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .course-slider::-webkit-scrollbar { display: none; }

    .course-slider .course-card {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .course-image {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #f4f1ef;
    }

    .course-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.88) 76%, #fff 100%),
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.44) 66%, rgba(255,255,255,0) 100%);
    }

    .course-card > .p-4 {
      position: relative;
      z-index: 2;
      display: flex;
      min-height: 252px;
      flex-direction: column;
      padding: 18px 16px 16px;
      /* Fill the stretched card so .mt-5 { margin-top: auto } can push the
         action button down to a common baseline across the slider. */
      height: 100%;
    }

    .course-card h3 {
      max-width: 74%;
      margin-top: 34px;
      min-height: 46px;
    }

    .course-card .meta-row:first-child {
      margin-top: 2px;
    }

    .tag {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      border-radius: 3px;
      padding: 6px 8px;
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      text-transform: uppercase;
    }

    .tag.bg-brand {
      background: var(--brand);
    }

    .course-card .mt-5 {
      margin-top: auto;
      padding-top: 16px;
    }

    .course-seats {
      font-size: 12px;
      line-height: 1.2;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4d5669;
      font-size: 13px;
      line-height: 1.28;
    }

    .meta-row i {
      width: 13px;
      color: #697184;
      font-size: 13px;
    }

    .category-card {
      display: flex;
      min-height: 144px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      border: 1px solid #e6eaf1;
      border-radius: 8px;
      color: #232a42;
      background: #fff;
      box-shadow: 0 1px 2px rgba(26, 33, 52, .03);
      text-align: center;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .category-card:hover {
      border-color: rgba(168, 5, 50, .34);
      box-shadow: 0 10px 22px rgba(26, 33, 52, .08);
      transform: translateY(-2px);
    }

    .icon-outline {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: var(--brand);
      font-size: 38px;
      line-height: 1;
    }

    .step-card {
      position: relative;
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 18px;
      align-items: center;
    }

    .step-bubble {
      position: relative;
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 28px;
    }

    .step-number {
      position: absolute;
      top: -6px;
      left: -7px;
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      gap: 20px;
    }

    .audience-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(26, 33, 52, .05);
    }

    .audience-icon {
      display: grid;
      width: 54px;
      height: 54px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 23px;
    }

    .audience-card h3 {
      margin-top: 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
    }

    .audience-card p,
    .audience-card li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.5;
    }

    .audience-card p {
      margin-top: 8px;
      font-weight: 400;
    }

    .audience-card ul {
      margin-top: 12px;
      padding-left: 18px;
    }

    .audience-card li + li {
      margin-top: 7px;
    }

    .benefit-icon {
      display: grid;
      width: 56px;
      height: 56px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #737b8f;
      font-size: 22px;
    }

    .lecturer-card {
      display: grid;
      grid-template-columns: 148px 1fr;
      min-height: 112px;
      overflow: hidden;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
    }

    .lecturer-card .media-img {
      object-position: center top;
    }

    .lecturer-card > .p-4 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
    }

    .lecturer-card h3 {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.25;
    }

    .contact-cta {
      display: grid;
      grid-template-columns: 1.25fr .9fr auto;
      gap: 40px;
      align-items: center;
      border-radius: 8px;
      background: #fbedf0;
      padding: 24px 44px 24px 28px;
    }

    .contact-cta-icon {
      color: var(--brand);
      font-size: 50px;
      line-height: 1;
    }

    .contact-cta-methods {
      display: grid;
      gap: 13px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .contact-cta-methods a {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      color: inherit;
      text-decoration: none;
    }

    .contact-cta-methods i {
      width: 34px;
      color: var(--brand);
      font-size: 23px;
      text-align: center;
    }

    .faq-row {
      transition: color .18s ease;
    }

    .faq-row:hover {
      color: var(--brand);
    }

    .faq-row i {
      transition: transform .18s ease;
    }

    .faq-row[aria-expanded="true"] {
      color: var(--brand);
    }

    .faq-row[aria-expanded="true"] i {
      transform: rotate(180deg);
    }

    .faq-panel {
      padding: 0 0 14px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
    }

    .faq-panel[hidden] {
      display: none;
    }

    .faq-item + .faq-item { border-top: 1px solid #e3e8f0; }

    .footer-link {
      display: inline-flex;
      transition: color .18s ease;
    }

    .footer-link:hover {
      color: var(--brand);
    }

    .social-link {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #5e6678;
      font-size: 22px;
      transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .social-link:hover {
      background: #f9edf1;
      color: var(--brand);
      transform: translateY(-2px);
    }

    @media (max-width: 1180px) {
      .nav-link { display: none; }
    }

    @media (max-width: 900px) {
      .contact-cta { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero-photo { opacity: .22; }
      .hero-photo::before { background: rgba(255,255,255,.78); }
      .hero::after { height: 52px; }
    }

    @media (max-width: 640px) {
      .page-container { width: min(100% - 32px, 1200px); }
      .section-title { font-size: 20px; }
      .step-card { grid-template-columns: 58px 1fr; }
      .step-bubble { width: 56px; height: 56px; font-size: 22px; }
      .audience-card { padding: 18px; }
      .lecturer-card { grid-template-columns: 112px 1fr; }
    }

    @media (min-width: 640px) {
      .course-slider .course-card { flex-basis: calc((100% - 24px) / 2); }
    }

    @media (min-width: 1024px) {
      .course-slider .course-card { flex-basis: calc((100% - 48px) / 3); }
    }

    .text-page {
      padding-block: 34px 0;
    }

    .text-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.32fr) minmax(320px, .82fr);
      gap: 34px;
      align-items: start;
    }

    .breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 26px;
      color: #5e6678;
      font-size: 14px;
      font-weight: 600;
    }

    .breadcrumbs a {
      color: #5e6678;
      text-decoration: none;
      transition: color .18s ease;
    }

    .breadcrumbs a:hover {
      color: var(--brand);
    }

    .breadcrumbs i {
      color: #b6bdca;
      font-size: 11px;
    }

    .page-intro {
      max-width: none;
      margin-bottom: 34px;
    }

    .page-intro h1 {
      color: var(--ink);
      font-size: 38px;
      line-height: 1.12;
      font-weight: 700;
      letter-spacing: -.02em;
    }

    .page-intro p {
      margin-top: 14px;
      color: #272b34;
      font-size: 17px;
      line-height: 1.65;
      font-weight: 400;
    }

    .text-section + .text-section {
      margin-top: 36px;
    }

    .text-heading {
      position: relative;
      margin-bottom: 26px;
      color: var(--ink);
      font-size: 24px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .text-heading::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 52px;
      height: 3px;
      border-radius: 999px;
      background: var(--brand);
    }

    .text-copy {
      color: #272b34;
      font-size: 15px;
      line-height: 1.8;
      font-weight: 500;
    }

    .value-list {
      display: grid;
      gap: 23px;
      margin-top: 36px;
    }

    .value-item {
      display: grid;
      grid-template-columns: 62px 1fr;
      gap: 18px;
      align-items: center;
    }

    .value-icon,
    .direction-icon {
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: var(--brand);
      background: #fbecef;
    }

    .value-icon {
      width: 54px;
      height: 54px;
      font-size: 24px;
    }

    .value-item h3,
    .side-card h3 {
      color: var(--ink);
      font-size: 17px;
      line-height: 1.3;
      font-weight: 700;
    }

    .value-item p,
    .side-card p,
    .direction-list li,
    .approach-list li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 400;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 24px;
    }

    .stat-card {
      min-height: 108px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      padding: 18px 12px;
      text-align: center;
    }

    .stat-card i {
      color: var(--brand);
      font-size: 26px;
    }

    .stat-card strong {
      display: block;
      margin-top: 10px;
      color: var(--brand);
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .stat-card span {
      display: block;
      margin-top: 7px;
      color: #272b34;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .side-column {
      display: grid;
      gap: 26px;
    }

    .side-card {
      overflow: hidden;
      border: 1px solid #e3e8f1;
      border-radius: 10px;
      background: #fff;
      padding: 26px;
    }

    .side-card-soft {
      border-color: #f7dce3;
      background: linear-gradient(135deg, #fff3f5 0%, #fff 100%);
    }

    .direction-list,
    .approach-list {
      display: grid;
      gap: 16px;
      margin-top: 22px;
    }

    .direction-list li,
    .approach-list li {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 10px;
      align-items: start;
    }

    .direction-icon {
      width: 18px;
      height: 18px;
      margin-top: 1px;
      background: #fff;
      border: 1px solid #f0a8b8;
      font-size: 9px;
    }

    .approach-list i {
      margin-top: 3px;
      color: var(--brand);
      font-size: 13px;
    }

    .side-image {
      height: 190px;
      margin: -26px -26px 22px;
      overflow: hidden;
      background: #f5f2ef;
    }

    .side-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .text-cta {
      display: grid;
      grid-template-columns: 74px 1fr auto;
      gap: 22px;
      align-items: center;
      margin-top: 36px;
      border-radius: 10px;
      background: #fbedf0;
      padding: 24px 34px;
    }

    .text-cta-icon {
      color: var(--brand);
      font-size: 48px;
      line-height: 1;
      text-align: center;
    }

    .text-cta h2 {
      color: var(--ink);
      font-size: 20px;
      line-height: 1.25;
      font-weight: 700;
    }

    .text-cta p {
      margin-top: 6px;
      max-width: 560px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 600;
    }

    @media (max-width: 980px) {
      .text-layout { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .text-cta { grid-template-columns: 56px 1fr; }
      .text-cta .btn-primary { grid-column: 2; justify-self: start; }
    }

    @media (max-width: 640px) {
      .text-page { padding-top: 24px; }
      .page-intro h1 { font-size: 30px; }
      .value-item { grid-template-columns: 52px 1fr; gap: 14px; }
      .value-icon { width: 48px; height: 48px; font-size: 21px; }
      .side-card { padding: 20px; }
      .side-image { margin: -20px -20px 18px; }
      .text-cta { grid-template-columns: 1fr; padding: 22px; }
      .text-cta .btn-primary { grid-column: auto; }
      .text-cta-icon { text-align: left; }
    }

:root {
      --brand: #a80532;
      --ink: #192039;
      --muted: #5d6578;
      --line: #e5e9f1;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: Inter, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .page-container {
      width: min(100% - 48px, 1200px);
      margin-inline: auto;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 74px;
      color: #1e253d;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-link.active,
    .nav-link:hover { color: var(--brand); }

    .nav-link.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--brand);
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-caret {
      transition: transform .18s ease;
    }

    .nav-item:hover .nav-caret,
    .nav-item:focus-within .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% - 6px);
      left: 0;
      z-index: 30;
      min-width: 246px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgba(28, 38, 63, .12);
      padding: 7px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .nav-dropdown a {
      display: block;
      padding: 10px 14px;
      color: #242b43;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .nav-dropdown a:hover {
      background: #f9edf1;
      color: var(--brand);
    }

    .hero {
      position: relative;
      min-height: 372px;
      overflow: hidden;
      background: #fbfaf8;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: -1px;
      left: 0;
      height: 80px;
      background: #fff;
      clip-path: polygon(0 44%, 24% 72%, 50% 75%, 76% 71%, 100% 42%, 100% 100%, 0 100%);
    }

    .hero-photo {
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      pointer-events: none;
    }

    .hero-photo::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      display: none;
    }

    .hero-photo img,
    .media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-photo img {
      width: 85%;
      height: 100%;
      object-fit: cover;
      object-position: 74% 30%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
    }

    .btn-primary,
    .btn-outline {
      display: inline-flex;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      padding-inline: 24px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: .18s ease;
    }

    .btn-primary {
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover { background: #7f0325; border-color: #7f0325; color: #fff; }

    .btn-outline {
      border: 1px solid var(--brand);
      background: rgba(255,255,255,.84);
      color: var(--brand);
    }

    .btn-outline:hover { background: #f8edf1; }

    .field {
      width: 100%;
      height: 43px;
      border: 1px solid #dce2ec;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b324a;
      font-size: 14px;
      font-weight: 600;
      outline: none;
    }

    .field:focus {
      border-color: var(--brand);
    }

    .section-title {
      color: var(--ink);
      font-size: 23px;
      line-height: 1.18;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .link-red {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .link-red:hover { color: var(--brandDark); }

    .course-card {
      position: relative;
      min-height: 252px;
      overflow: hidden;
      border: 1px solid #dfe5ef;
      border-radius: 7px;
      background: #fff;
    }

    .course-slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .course-slider::-webkit-scrollbar { display: none; }

    .course-slider .course-card {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .course-image {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #f4f1ef;
    }

    .course-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.88) 76%, #fff 100%),
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.44) 66%, rgba(255,255,255,0) 100%);
    }

    .course-card > .p-4 {
      position: relative;
      z-index: 2;
      display: flex;
      min-height: 252px;
      flex-direction: column;
      padding: 18px 16px 16px;
      /* Fill the stretched card so .mt-5 { margin-top: auto } can push the
         action button down to a common baseline across the slider. */
      height: 100%;
    }

    .course-card h3 {
      max-width: 74%;
      margin-top: 34px;
      min-height: 46px;
    }

    .course-card .meta-row:first-child {
      margin-top: 2px;
    }

    .tag {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      border-radius: 3px;
      padding: 6px 8px;
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      text-transform: uppercase;
    }

    .tag.bg-brand {
      background: var(--brand);
    }

    .course-card .mt-5 {
      margin-top: auto;
      padding-top: 16px;
    }

    .course-seats {
      font-size: 12px;
      line-height: 1.2;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4d5669;
      font-size: 13px;
      line-height: 1.28;
    }

    .meta-row i {
      width: 13px;
      color: #697184;
      font-size: 13px;
    }

    .category-card {
      display: flex;
      min-height: 144px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      border: 1px solid #e6eaf1;
      border-radius: 8px;
      color: #232a42;
      background: #fff;
      box-shadow: 0 1px 2px rgba(26, 33, 52, .03);
      text-align: center;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .category-card:hover {
      border-color: rgba(168, 5, 50, .34);
      box-shadow: 0 10px 22px rgba(26, 33, 52, .08);
      transform: translateY(-2px);
    }

    .icon-outline {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: var(--brand);
      font-size: 38px;
      line-height: 1;
    }

    .step-card {
      position: relative;
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 18px;
      align-items: center;
    }

    .step-bubble {
      position: relative;
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 28px;
    }

    .step-number {
      position: absolute;
      top: -6px;
      left: -7px;
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      gap: 20px;
    }

    .audience-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(26, 33, 52, .05);
    }

    .audience-icon {
      display: grid;
      width: 54px;
      height: 54px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 23px;
    }

    .audience-card h3 {
      margin-top: 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
    }

    .audience-card p,
    .audience-card li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.5;
    }

    .audience-card p {
      margin-top: 8px;
      font-weight: 400;
    }

    .audience-card ul {
      margin-top: 12px;
      padding-left: 18px;
    }

    .audience-card li + li {
      margin-top: 7px;
    }

    .benefit-icon {
      display: grid;
      width: 56px;
      height: 56px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #737b8f;
      font-size: 22px;
    }

    .lecturer-card {
      display: grid;
      grid-template-columns: 148px 1fr;
      min-height: 112px;
      overflow: hidden;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
    }

    .lecturer-card .media-img {
      object-position: center top;
    }

    .lecturer-card > .p-4 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
    }

    .lecturer-card h3 {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.25;
    }

    .contact-cta {
      display: grid;
      grid-template-columns: 1.25fr .9fr auto;
      gap: 40px;
      align-items: center;
      border-radius: 8px;
      background: #fbedf0;
      padding: 24px 44px 24px 28px;
    }

    .contact-cta-icon {
      color: var(--brand);
      font-size: 50px;
      line-height: 1;
    }

    .contact-cta-methods {
      display: grid;
      gap: 13px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .contact-cta-methods a {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      color: inherit;
      text-decoration: none;
    }

    .contact-cta-methods i {
      width: 34px;
      color: var(--brand);
      font-size: 23px;
      text-align: center;
    }

    .faq-row {
      transition: color .18s ease;
    }

    .faq-row:hover {
      color: var(--brand);
    }

    .faq-row i {
      transition: transform .18s ease;
    }

    .faq-row[aria-expanded="true"] {
      color: var(--brand);
    }

    .faq-row[aria-expanded="true"] i {
      transform: rotate(180deg);
    }

    .faq-panel {
      padding: 0 0 14px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
    }

    .faq-panel[hidden] {
      display: none;
    }

    .faq-item + .faq-item { border-top: 1px solid #e3e8f0; }

    .footer-link {
      display: inline-flex;
      transition: color .18s ease;
    }

    .footer-link:hover {
      color: var(--brand);
    }

    .social-link {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #5e6678;
      font-size: 22px;
      transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .social-link:hover {
      background: #f9edf1;
      color: var(--brand);
      transform: translateY(-2px);
    }

    @media (max-width: 1180px) {
      .nav-link { display: none; }
    }

    @media (max-width: 900px) {
      .contact-cta { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero-photo { opacity: .22; }
      .hero-photo::before { background: rgba(255,255,255,.78); }
      .hero::after { height: 52px; }
    }

    @media (max-width: 640px) {
      .page-container { width: min(100% - 32px, 1200px); }
      .section-title { font-size: 20px; }
      .step-card { grid-template-columns: 58px 1fr; }
      .step-bubble { width: 56px; height: 56px; font-size: 22px; }
      .audience-card { padding: 18px; }
      .lecturer-card { grid-template-columns: 112px 1fr; }
    }

    @media (min-width: 640px) {
      .course-slider .course-card { flex-basis: calc((100% - 24px) / 2); }
    }

    @media (min-width: 1024px) {
      .course-slider .course-card { flex-basis: calc((100% - 48px) / 3); }
    }

    .text-page {
      padding-block: 34px 0;
    }

    .text-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.32fr) minmax(320px, .82fr);
      gap: 34px;
      align-items: start;
    }

    .breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 26px;
      color: #5e6678;
      font-size: 14px;
      font-weight: 600;
    }

    .breadcrumbs a {
      color: #5e6678;
      text-decoration: none;
      transition: color .18s ease;
    }

    .breadcrumbs a:hover {
      color: var(--brand);
    }

    .breadcrumbs i {
      color: #b6bdca;
      font-size: 11px;
    }

    .page-intro {
      max-width: 760px;
      margin-bottom: 34px;
    }

    .page-intro h1 {
      color: var(--ink);
      font-size: 38px;
      line-height: 1.12;
      font-weight: 700;
      letter-spacing: -.02em;
    }

    .page-intro p {
      margin-top: 14px;
      color: #272b34;
      font-size: 17px;
      line-height: 1.65;
      font-weight: 400;
    }

    .text-section + .text-section {
      margin-top: 36px;
    }

    .text-heading {
      position: relative;
      margin-bottom: 26px;
      color: var(--ink);
      font-size: 24px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .text-heading::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 52px;
      height: 3px;
      border-radius: 999px;
      background: var(--brand);
    }

    .text-copy {
      color: #272b34;
      font-size: 15px;
      line-height: 1.8;
      font-weight: 500;
    }

    .value-list {
      display: grid;
      gap: 23px;
      margin-top: 36px;
    }

    .value-item {
      display: grid;
      grid-template-columns: 62px 1fr;
      gap: 18px;
      align-items: center;
    }

    .value-icon,
    .direction-icon {
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: var(--brand);
      background: #fbecef;
    }

    .value-icon {
      width: 54px;
      height: 54px;
      font-size: 24px;
    }

    .value-item h3,
    .side-card h3 {
      color: var(--ink);
      font-size: 17px;
      line-height: 1.3;
      font-weight: 700;
    }

    .value-item p,
    .side-card p,
    .direction-list li,
    .approach-list li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 400;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 24px;
    }

    .stat-card {
      min-height: 108px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      padding: 18px 12px;
      text-align: center;
    }

    .stat-card i {
      color: var(--brand);
      font-size: 26px;
    }

    .stat-card strong {
      display: block;
      margin-top: 10px;
      color: var(--brand);
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .stat-card span {
      display: block;
      margin-top: 7px;
      color: #272b34;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .side-column {
      display: grid;
      gap: 26px;
    }

    .side-card {
      overflow: hidden;
      border: 1px solid #e3e8f1;
      border-radius: 10px;
      background: #fff;
      padding: 26px;
    }

    .side-card-soft {
      border-color: #f7dce3;
      background: linear-gradient(135deg, #fff3f5 0%, #fff 100%);
    }

    .direction-list,
    .approach-list {
      display: grid;
      gap: 16px;
      margin-top: 22px;
    }

    .direction-list li,
    .approach-list li {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 10px;
      align-items: start;
    }

    .direction-icon {
      width: 18px;
      height: 18px;
      margin-top: 1px;
      background: #fff;
      border: 1px solid #f0a8b8;
      font-size: 9px;
    }

    .approach-list i {
      margin-top: 3px;
      color: var(--brand);
      font-size: 13px;
    }

    .side-image {
      height: 190px;
      margin: -26px -26px 22px;
      overflow: hidden;
      background: #f5f2ef;
    }

    .side-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .text-cta {
      display: grid;
      grid-template-columns: 74px 1fr auto;
      gap: 22px;
      align-items: center;
      margin-top: 36px;
      border-radius: 10px;
      background: #fbedf0;
      padding: 24px 34px;
    }

    .text-cta-icon {
      color: var(--brand);
      font-size: 48px;
      line-height: 1;
      text-align: center;
    }

    .text-cta h2 {
      color: var(--ink);
      font-size: 20px;
      line-height: 1.25;
      font-weight: 700;
    }

    .text-cta p {
      margin-top: 6px;
      max-width: 560px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 600;
    }

    @media (max-width: 980px) {
      .text-layout { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .text-cta { grid-template-columns: 56px 1fr; }
      .text-cta .btn-primary { grid-column: 2; justify-self: start; }
    }

    @media (max-width: 640px) {
      .text-page { padding-top: 24px; }
      .page-intro h1 { font-size: 30px; }
      .value-item { grid-template-columns: 52px 1fr; gap: 14px; }
      .value-icon { width: 48px; height: 48px; font-size: 21px; }
      .side-card { padding: 20px; }
      .side-image { margin: -20px -20px 18px; }
      .text-cta { grid-template-columns: 1fr; padding: 22px; }
      .text-cta .btn-primary { grid-column: auto; }
      .text-cta-icon { text-align: left; }
    }

    .login-page {
      background: #fff;
    }

    .login-hero {
      position: relative;
      overflow: hidden;
      min-height: 330px;
      background: #fbfaf8;
    }

    .login-hero-content {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 32px;
      align-items: end;
      padding-block: 58px 86px;
    }

    .login-breadcrumbs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 42px;
      color: #5e6678;
      font-size: 14px;
      font-weight: 700;
    }

    .login-breadcrumbs a {
      color: var(--brand);
      text-decoration: none;
    }

    .login-breadcrumbs i {
      color: #b8bfcc;
      font-size: 11px;
    }

    .login-hero h1 {
      color: var(--ink);
      font-size: 44px;
      line-height: 1.12;
      font-weight: 700;
      letter-spacing: -.025em;
    }

    .login-hero p {
      margin-top: 22px;
      max-width: 520px;
      color: #272b34;
      font-size: 16px;
      line-height: 1.75;
      font-weight: 400;
    }

    .login-wrap {
      margin-top: -54px;
      position: relative;
      z-index: 4;
      padding-block: 0 34px;
    }

    .login-hero-action {
      margin-bottom: 8px;
      white-space: nowrap;
    }

    .login-grid {
      max-width: 690px;
      margin-inline: auto;
    }

    .login-card {
      border: 1px solid #e0e6ef;
      border-radius: 10px;
      background: #fff;
      padding: 54px 38px 48px;
    }

    .login-card-inner {
      max-width: none;
    }

    .login-card h2 {
      color: var(--ink);
      font-size: 28px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.015em;
    }

    .login-form {
      margin-top: 46px;
    }

    .login-field + .login-field {
      margin-top: 30px;
    }

    .login-field label {
      display: block;
      margin-bottom: 12px;
      color: #2b3048;
      font-size: 15px;
      font-weight: 700;
    }

    .login-input-wrap {
      position: relative;
    }

    .login-input {
      width: 100%;
      height: 58px;
      border: 1px solid #d6dde8;
      border-radius: 6px;
      background: #fff;
      padding: 0 50px 0 18px;
      color: #2b3048;
      font-size: 16px;
      font-weight: 600;
      outline: none;
      transition: border-color .14s ease;
    }

    .login-input:focus {
      border-color: var(--brand);
    }

    .login-input:focus-visible,
    .login-options input:focus-visible,
    .login-submit:focus-visible {
      outline: none;
    }

    .login-input-wrap i {
      position: absolute;
      right: 18px;
      top: 50%;
      color: #5e6678;
      font-size: 20px;
      transform: translateY(-50%);
    }

    .login-options {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-top: 30px;
      color: #2b3048;
      font-size: 15px;
      font-weight: 600;
    }

    .login-options label {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .login-options input {
      width: 18px;
      height: 18px;
      accent-color: var(--brand);
    }

    .login-options a,
    .register-link a {
      color: var(--brand);
      font-weight: 700;
      text-decoration: none;
    }

    .login-submit {
      width: 100%;
      height: 58px;
      margin-top: 34px;
      border: 1px solid var(--brand);
      border-radius: 6px;
      background: var(--brand);
      color: #fff;
      font-size: 17px;
      font-weight: 700;
      cursor: pointer;
    }

    .login-submit:hover {
      background: #7f0325;
      border-color: #7f0325;
    }

    .login-separator {
      height: 1px;
      margin: 44px 0 30px;
      background: #e6ebf2;
    }

    .register-link {
      color: #2f374f;
      text-align: center;
      font-size: 16px;
      font-weight: 600;
    }

    @media (max-width: 640px) {
      .login-hero { min-height: 320px; }
      .login-hero-content { grid-template-columns: 1fr; padding-block: 34px 74px; }
      .login-hero-action { margin-bottom: 0; justify-self: start; }
      .login-hero h1 { font-size: 34px; }
      .login-wrap { padding-bottom: 20px; }
      .login-card { padding: 28px 20px; }
      .login-options { align-items: flex-start; flex-direction: column; }
    }

:root {
      --brand: #a80532;
      --ink: #192039;
      --muted: #5d6578;
      --line: #e5e9f1;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: Inter, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .page-container {
      width: min(100% - 48px, 1200px);
      margin-inline: auto;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 74px;
      color: #1e253d;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-link.active,
    .nav-link:hover { color: var(--brand); }

    .nav-link.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--brand);
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-caret {
      transition: transform .18s ease;
    }

    .nav-item:hover .nav-caret,
    .nav-item:focus-within .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% - 6px);
      left: 0;
      z-index: 30;
      min-width: 246px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgba(28, 38, 63, .12);
      padding: 7px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .nav-dropdown a {
      display: block;
      padding: 10px 14px;
      color: #242b43;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .nav-dropdown a:hover {
      background: #f9edf1;
      color: var(--brand);
    }

    .hero {
      position: relative;
      min-height: 372px;
      overflow: hidden;
      background: #fbfaf8;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: -1px;
      left: 0;
      height: 80px;
      background: #fff;
      clip-path: polygon(0 44%, 24% 72%, 50% 75%, 76% 71%, 100% 42%, 100% 100%, 0 100%);
    }

    .hero-photo {
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      pointer-events: none;
    }

    .hero-photo::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      display: none;
    }

    .hero-photo img,
    .media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-photo img {
      width: 85%;
      height: 100%;
      object-fit: cover;
      object-position: 74% 30%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
    }

    .btn-primary,
    .btn-outline {
      display: inline-flex;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      padding-inline: 24px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: .18s ease;
    }

    .btn-primary {
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover { background: #7f0325; border-color: #7f0325; color: #fff; }

    .btn-outline {
      border: 1px solid var(--brand);
      background: rgba(255,255,255,.84);
      color: var(--brand);
    }

    .btn-outline:hover { background: #f8edf1; }

    .field {
      width: 100%;
      height: 43px;
      border: 1px solid #dce2ec;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b324a;
      font-size: 14px;
      font-weight: 600;
      outline: none;
    }

    .field:focus {
      border-color: var(--brand);
    }

    .section-title {
      color: var(--ink);
      font-size: 23px;
      line-height: 1.18;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .link-red {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .link-red:hover { color: var(--brandDark); }

    .course-card {
      position: relative;
      min-height: 252px;
      overflow: hidden;
      border: 1px solid #dfe5ef;
      border-radius: 7px;
      background: #fff;
    }

    .course-slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .course-slider::-webkit-scrollbar { display: none; }

    .course-slider .course-card {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .course-image {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #f4f1ef;
    }

    .course-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.88) 76%, #fff 100%),
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.44) 66%, rgba(255,255,255,0) 100%);
    }

    .course-card > .p-4 {
      position: relative;
      z-index: 2;
      display: flex;
      min-height: 252px;
      flex-direction: column;
      padding: 18px 16px 16px;
      /* Fill the stretched card so .mt-5 { margin-top: auto } can push the
         action button down to a common baseline across the slider. */
      height: 100%;
    }

    .course-card h3 {
      max-width: 74%;
      margin-top: 34px;
      min-height: 46px;
    }

    .course-card .meta-row:first-child {
      margin-top: 2px;
    }

    .tag {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      border-radius: 3px;
      padding: 6px 8px;
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      text-transform: uppercase;
    }

    .tag.bg-brand {
      background: var(--brand);
    }

    .course-card .mt-5 {
      margin-top: auto;
      padding-top: 16px;
    }

    .course-seats {
      font-size: 12px;
      line-height: 1.2;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4d5669;
      font-size: 13px;
      line-height: 1.28;
    }

    .meta-row i {
      width: 13px;
      color: #697184;
      font-size: 13px;
    }

    .category-card {
      display: flex;
      min-height: 144px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      border: 1px solid #e6eaf1;
      border-radius: 8px;
      color: #232a42;
      background: #fff;
      box-shadow: 0 1px 2px rgba(26, 33, 52, .03);
      text-align: center;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .category-card:hover {
      border-color: rgba(168, 5, 50, .34);
      box-shadow: 0 10px 22px rgba(26, 33, 52, .08);
      transform: translateY(-2px);
    }

    .icon-outline {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: var(--brand);
      font-size: 38px;
      line-height: 1;
    }

    .step-card {
      position: relative;
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 18px;
      align-items: center;
    }

    .step-bubble {
      position: relative;
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 28px;
    }

    .step-number {
      position: absolute;
      top: -6px;
      left: -7px;
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      gap: 20px;
    }

    .audience-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(26, 33, 52, .05);
    }

    .audience-icon {
      display: grid;
      width: 54px;
      height: 54px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 23px;
    }

    .audience-card h3 {
      margin-top: 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
    }

    .audience-card p,
    .audience-card li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.5;
    }

    .audience-card p {
      margin-top: 8px;
      font-weight: 400;
    }

    .audience-card ul {
      margin-top: 12px;
      padding-left: 18px;
    }

    .audience-card li + li {
      margin-top: 7px;
    }

    .benefit-icon {
      display: grid;
      width: 56px;
      height: 56px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #737b8f;
      font-size: 22px;
    }

    .lecturer-card {
      display: grid;
      grid-template-columns: 148px 1fr;
      min-height: 112px;
      overflow: hidden;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
    }

    .lecturer-card .media-img {
      object-position: center top;
    }

    .lecturer-card > .p-4 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
    }

    .lecturer-card h3 {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.25;
    }

    .contact-cta {
      display: grid;
      grid-template-columns: 1.25fr .9fr auto;
      gap: 40px;
      align-items: center;
      border-radius: 8px;
      background: #fbedf0;
      padding: 24px 44px 24px 28px;
    }

    .contact-cta-icon {
      color: var(--brand);
      font-size: 50px;
      line-height: 1;
    }

    .contact-cta-methods {
      display: grid;
      gap: 13px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .contact-cta-methods a {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      color: inherit;
      text-decoration: none;
    }

    .contact-cta-methods i {
      width: 34px;
      color: var(--brand);
      font-size: 23px;
      text-align: center;
    }

    .faq-row {
      transition: color .18s ease;
    }

    .faq-row:hover {
      color: var(--brand);
    }

    .faq-row i {
      transition: transform .18s ease;
    }

    .faq-row[aria-expanded="true"] {
      color: var(--brand);
    }

    .faq-row[aria-expanded="true"] i {
      transform: rotate(180deg);
    }

    .faq-panel {
      padding: 0 0 14px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
    }

    .faq-panel[hidden] {
      display: none;
    }

    .faq-item + .faq-item { border-top: 1px solid #e3e8f0; }

    .footer-link {
      display: inline-flex;
      transition: color .18s ease;
    }

    .footer-link:hover {
      color: var(--brand);
    }

    .social-link {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #5e6678;
      font-size: 22px;
      transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .social-link:hover {
      background: #f9edf1;
      color: var(--brand);
      transform: translateY(-2px);
    }

    @media (max-width: 1180px) {
      .nav-link { display: none; }
    }

    @media (max-width: 900px) {
      .contact-cta { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero-photo { opacity: .22; }
      .hero-photo::before { background: rgba(255,255,255,.78); }
      .hero::after { height: 52px; }
    }

    @media (max-width: 640px) {
      .page-container { width: min(100% - 32px, 1200px); }
      .section-title { font-size: 20px; }
      .step-card { grid-template-columns: 58px 1fr; }
      .step-bubble { width: 56px; height: 56px; font-size: 22px; }
      .audience-card { padding: 18px; }
      .lecturer-card { grid-template-columns: 112px 1fr; }
    }

    @media (min-width: 640px) {
      .course-slider .course-card { flex-basis: calc((100% - 24px) / 2); }
    }

    @media (min-width: 1024px) {
      .course-slider .course-card { flex-basis: calc((100% - 48px) / 3); }
    }

    .text-page {
      padding-block: 34px 0;
    }

    .text-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.32fr) minmax(320px, .82fr);
      gap: 34px;
      align-items: start;
    }

    .breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 26px;
      color: #5e6678;
      font-size: 14px;
      font-weight: 600;
    }

    .breadcrumbs a {
      color: #5e6678;
      text-decoration: none;
      transition: color .18s ease;
    }

    .breadcrumbs a:hover {
      color: var(--brand);
    }

    .breadcrumbs i {
      color: #b6bdca;
      font-size: 11px;
    }

    .page-intro {
      max-width: 760px;
      margin-bottom: 34px;
    }

    .page-intro h1 {
      color: var(--ink);
      font-size: 38px;
      line-height: 1.12;
      font-weight: 700;
      letter-spacing: -.02em;
    }

    .page-intro p {
      margin-top: 14px;
      color: #272b34;
      font-size: 17px;
      line-height: 1.65;
      font-weight: 400;
    }

    .text-section + .text-section {
      margin-top: 36px;
    }

    .text-heading {
      position: relative;
      margin-bottom: 26px;
      color: var(--ink);
      font-size: 24px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .text-heading::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -12px;
      width: 52px;
      height: 3px;
      border-radius: 999px;
      background: var(--brand);
    }

    .text-copy {
      color: #272b34;
      font-size: 15px;
      line-height: 1.8;
      font-weight: 500;
    }

    .value-list {
      display: grid;
      gap: 23px;
      margin-top: 36px;
    }

    .value-item {
      display: grid;
      grid-template-columns: 62px 1fr;
      gap: 18px;
      align-items: center;
    }

    .value-icon,
    .direction-icon {
      display: grid;
      place-items: center;
      border-radius: 999px;
      color: var(--brand);
      background: #fbecef;
    }

    .value-icon {
      width: 54px;
      height: 54px;
      font-size: 24px;
    }

    .value-item h3,
    .side-card h3 {
      color: var(--ink);
      font-size: 17px;
      line-height: 1.3;
      font-weight: 700;
    }

    .value-item p,
    .side-card p,
    .direction-list li,
    .approach-list li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 400;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 24px;
    }

    .stat-card {
      min-height: 108px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      padding: 18px 12px;
      text-align: center;
    }

    .stat-card i {
      color: var(--brand);
      font-size: 26px;
    }

    .stat-card strong {
      display: block;
      margin-top: 10px;
      color: var(--brand);
      font-size: 22px;
      line-height: 1;
      font-weight: 900;
    }

    .stat-card span {
      display: block;
      margin-top: 7px;
      color: #272b34;
      font-size: 12px;
      line-height: 1.25;
      font-weight: 700;
    }

    .side-column {
      display: grid;
      gap: 26px;
    }

    .side-card {
      overflow: hidden;
      border: 1px solid #e3e8f1;
      border-radius: 10px;
      background: #fff;
      padding: 26px;
    }

    .side-card-soft {
      border-color: #f7dce3;
      background: linear-gradient(135deg, #fff3f5 0%, #fff 100%);
    }

    .direction-list,
    .approach-list {
      display: grid;
      gap: 16px;
      margin-top: 22px;
    }

    .direction-list li,
    .approach-list li {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 10px;
      align-items: start;
    }

    .direction-icon {
      width: 18px;
      height: 18px;
      margin-top: 1px;
      background: #fff;
      border: 1px solid #f0a8b8;
      font-size: 9px;
    }

    .approach-list i {
      margin-top: 3px;
      color: var(--brand);
      font-size: 13px;
    }

    .side-image {
      height: 190px;
      margin: -26px -26px 22px;
      overflow: hidden;
      background: #f5f2ef;
    }

    .side-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .text-cta {
      display: grid;
      grid-template-columns: 74px 1fr auto;
      gap: 22px;
      align-items: center;
      margin-top: 36px;
      border-radius: 10px;
      background: #fbedf0;
      padding: 24px 34px;
    }

    .text-cta-icon {
      color: var(--brand);
      font-size: 48px;
      line-height: 1;
      text-align: center;
    }

    .text-cta h2 {
      color: var(--ink);
      font-size: 20px;
      line-height: 1.25;
      font-weight: 700;
    }

    .text-cta p {
      margin-top: 6px;
      max-width: 560px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 600;
    }

    @media (max-width: 980px) {
      .text-layout { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .text-cta { grid-template-columns: 56px 1fr; }
      .text-cta .btn-primary { grid-column: 2; justify-self: start; }
    }

    @media (max-width: 640px) {
      .text-page { padding-top: 24px; }
      .page-intro h1 { font-size: 30px; }
      .value-item { grid-template-columns: 52px 1fr; gap: 14px; }
      .value-icon { width: 48px; height: 48px; font-size: 21px; }
      .side-card { padding: 20px; }
      .side-image { margin: -20px -20px 18px; }
      .text-cta { grid-template-columns: 1fr; padding: 22px; }
      .text-cta .btn-primary { grid-column: auto; }
      .text-cta-icon { text-align: left; }
    }

    .register-page {
      background: #fff;
    }

    .register-hero {
      position: relative;
      overflow: hidden;
      min-height: 330px;
      background: #fbfaf8;
    }

    .register-hero-content {
      position: relative;
      z-index: 3;
      padding-block: 58px 86px;
    }

    .register-breadcrumbs {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 42px;
      color: #5e6678;
      font-size: 14px;
      font-weight: 700;
    }

    .register-breadcrumbs a {
      color: var(--brand);
      text-decoration: none;
    }

    .register-breadcrumbs i {
      color: #b8bfcc;
      font-size: 11px;
    }

    .register-hero h1 {
      color: var(--ink);
      font-size: 44px;
      line-height: 1.12;
      font-weight: 700;
      letter-spacing: -.025em;
    }

    .register-hero p {
      margin-top: 22px;
      max-width: 520px;
      color: #2f374f;
      font-size: 16px;
      line-height: 1.75;
      font-weight: 500;
    }

    .register-wrap {
      margin-top: -54px;
      position: relative;
      z-index: 4;
    }

    .register-card {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 34px;
      border: 1px solid #e0e6ef;
      border-radius: 10px;
      background: #fff;
      padding: 34px 34px 34px 28px;
    }

    .register-form {
      padding-right: 34px;
      border-right: 1px solid #e8ecf3;
    }

    .register-form h2 {
      color: var(--ink);
      font-size: 26px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .form-block {
      margin-top: 34px;
    }

    .form-title {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .form-title i {
      width: 28px;
      color: var(--brand);
      font-size: 26px;
      text-align: center;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px 26px;
    }

    .form-field.full {
      grid-column: 1 / -1;
    }

    .form-field label {
      display: block;
      margin-bottom: 10px;
      color: #2b3048;
      font-size: 14px;
      font-weight: 700;
    }

    .input,
    .select-input {
      width: 100%;
      height: 44px;
      border: 1px solid #d6dde8;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b3048;
      font-size: 14px;
      font-weight: 600;
      outline: none;
      transition: border-color .14s ease;
    }

    .input:focus,
    .select-input:focus {
      border-color: var(--brand);
    }

    .input:focus-visible,
    .select-input:focus-visible,
    .radio-row input:focus-visible,
    .check-row input:focus-visible,
    .register-submit:focus-visible {
      outline: none;
    }

    .phone-row {
      display: grid;
      grid-template-columns: 118px 1fr;
      gap: 10px;
    }

    .password-wrap {
      position: relative;
    }

    .password-wrap .input {
      padding-right: 42px;
    }

    .password-wrap i {
      position: absolute;
      right: 14px;
      top: 50%;
      color: #5e6678;
      transform: translateY(-50%);
    }

    .choice-list {
      display: grid;
      gap: 18px;
    }

    .radio-row,
    .check-row {
      display: grid;
      grid-template-columns: 22px 1fr;
      gap: 14px;
      align-items: start;
      color: #2b3048;
      font-size: 15px;
      font-weight: 700;
    }

    .radio-row input {
      width: 17px;
      height: 17px;
      margin-top: 8px;
      accent-color: var(--brand);
    }

    .check-row input {
      width: 17px;
      height: 17px;
      margin-top: 5px;
      accent-color: var(--brand);
    }

    .radio-row span,
    .check-row span {
      display: block;
      margin-top: 4px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.45;
      font-weight: 500;
    }

    .check-row {
      margin-top: 18px;
      font-size: 14px;
      font-weight: 600;
    }

    .check-row a {
      color: var(--brand);
      font-weight: 700;
      text-decoration: none;
    }

    .register-submit {
      width: 100%;
      height: 48px;
      margin-top: 28px;
      border: 1px solid var(--brand);
      border-radius: 5px;
      background: var(--brand);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
    }

    .register-submit:hover {
      background: #7f0325;
      border-color: #7f0325;
    }

    .login-note {
      margin-top: 22px;
      color: #272b34;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
    }

    .login-note a {
      color: var(--brand);
      font-weight: 700;
      text-decoration: none;
    }

    .register-side {
      display: grid;
      gap: 28px;
      align-content: start;
    }

    .register-panel {
      border-radius: 10px;
      background: linear-gradient(135deg, #fff3f5 0%, #fff 100%);
      padding: 34px 28px;
    }

    .register-panel h2,
    .help-panel h2 {
      color: var(--ink);
      font-size: 22px;
      line-height: 1.25;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .benefit-list {
      display: grid;
      gap: 30px;
      margin-top: 34px;
    }

    .register-benefit {
      display: grid;
      grid-template-columns: 64px 1fr;
      gap: 18px;
      align-items: start;
    }

    .register-benefit-icon {
      display: grid;
      width: 58px;
      height: 58px;
      place-items: center;
      border-radius: 999px;
      background: #fbedf0;
      color: var(--brand);
      font-size: 28px;
    }

    .register-benefit h3 {
      color: var(--ink);
      font-size: 17px;
      line-height: 1.3;
      font-weight: 700;
    }

    .register-benefit p,
    .help-panel p,
    .help-panel a {
      margin-top: 8px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
      font-weight: 600;
    }

    .help-panel {
      border-radius: 10px;
      background: #fff;
      padding: 34px 28px;
    }

    .help-panel a {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 20px;
      color: var(--ink);
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
    }

    .help-panel i {
      width: 22px;
      color: var(--brand);
      font-size: 22px;
    }

    @media (max-width: 980px) {
      .register-card { grid-template-columns: 1fr; }
      .register-form { padding-right: 0; border-right: 0; }
    }

    @media (max-width: 640px) {
      .register-hero h1 { font-size: 34px; }
      .register-hero-content { padding-block: 34px 74px; }
      .register-card { padding: 24px 18px; }
      .form-grid { grid-template-columns: 1fr; }
      .phone-row { grid-template-columns: 104px 1fr; }
      .register-benefit { grid-template-columns: 52px 1fr; }
      .register-benefit-icon { width: 48px; height: 48px; font-size: 23px; }
    }

:root {
      --brand: #a80532;
      --ink: #192039;
      --muted: #5d6578;
      --line: #e5e9f1;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: #26304a;
      background: #fff;
      font-family: Inter, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    .page-container {
      width: min(100% - 48px, 1200px);
      margin-inline: auto;
    }

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 74px;
      color: #1e253d;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-link.active,
    .nav-link:hover { color: var(--brand); }

    .nav-link.active::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      height: 3px;
      border-radius: 3px 3px 0 0;
      background: var(--brand);
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: center;
    }

    .nav-caret {
      transition: transform .18s ease;
    }

    .nav-item:hover .nav-caret,
    .nav-item:focus-within .nav-caret {
      transform: rotate(180deg);
    }

    .nav-dropdown {
      position: absolute;
      top: calc(100% - 6px);
      left: 0;
      z-index: 30;
      min-width: 246px;
      border: 1px solid #e3e8f1;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 14px 30px rgba(28, 38, 63, .12);
      padding: 7px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .nav-dropdown a {
      display: block;
      padding: 10px 14px;
      color: #242b43;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .nav-dropdown a:hover {
      background: #f9edf1;
      color: var(--brand);
    }

    .hero {
      position: relative;
      min-height: 372px;
      overflow: hidden;
      background: #fbfaf8;
    }

    .hero::after {
      content: "";
      position: absolute;
      z-index: 3;
      right: 0;
      bottom: -1px;
      left: 0;
      height: 80px;
      background: #fff;
      clip-path: polygon(0 44%, 24% 72%, 50% 75%, 76% 71%, 100% 42%, 100% 100%, 0 100%);
    }

    .hero-photo {
      position: absolute;
      z-index: 1;
      inset: 0;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      pointer-events: none;
    }

    .hero-photo::before {
      content: "";
      position: absolute;
      z-index: 2;
      inset: 0;
      display: none;
    }

    .hero-photo img,
    .media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-photo img {
      width: 85%;
      height: 100%;
      object-fit: cover;
      object-position: 74% 30%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
      mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
    }

    .btn-primary,
    .btn-outline {
      display: inline-flex;
      height: 44px;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      padding-inline: 24px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: .18s ease;
    }

    .btn-primary {
      border: 1px solid var(--brand);
      background: var(--brand);
      color: #fff;
    }

    .btn-primary:hover { background: #7f0325; border-color: #7f0325; color: #fff; }

    .btn-outline {
      border: 1px solid var(--brand);
      background: rgba(255,255,255,.84);
      color: var(--brand);
    }

    .btn-outline:hover { background: #f8edf1; }

    .field {
      width: 100%;
      height: 43px;
      border: 1px solid #dce2ec;
      border-radius: 5px;
      background: #fff;
      padding: 0 14px;
      color: #2b324a;
      font-size: 14px;
      font-weight: 600;
      outline: none;
    }

    .field:focus {
      border-color: var(--brand);
    }

    .section-title {
      color: var(--ink);
      font-size: 23px;
      line-height: 1.18;
      font-weight: 600;
      letter-spacing: -.02em;
    }

    .link-red {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--brand);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }

    .link-red:hover { color: var(--brandDark); }

    .course-card {
      position: relative;
      min-height: 252px;
      overflow: hidden;
      border: 1px solid #dfe5ef;
      border-radius: 7px;
      background: #fff;
    }

    .course-slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
    }

    .course-slider::-webkit-scrollbar { display: none; }

    .course-slider .course-card {
      flex: 0 0 100%;
      scroll-snap-align: start;
    }

    .course-image {
      position: absolute;
      inset: 0;
      overflow: hidden;
      background: #f4f1ef;
    }

    .course-image::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 42%, rgba(255,255,255,.88) 76%, #fff 100%),
        linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.44) 66%, rgba(255,255,255,0) 100%);
    }

    .course-card > .p-4 {
      position: relative;
      z-index: 2;
      display: flex;
      min-height: 252px;
      flex-direction: column;
      padding: 18px 16px 16px;
      /* Fill the stretched card so .mt-5 { margin-top: auto } can push the
         action button down to a common baseline across the slider. */
      height: 100%;
    }

    .course-card h3 {
      max-width: 74%;
      margin-top: 34px;
      min-height: 46px;
    }

    .course-card .meta-row:first-child {
      margin-top: 2px;
    }

    .tag {
      position: absolute;
      z-index: 3;
      top: 13px;
      left: 13px;
      border-radius: 3px;
      padding: 6px 8px;
      color: #fff;
      font-size: 10px;
      font-weight: 600;
      line-height: 1;
      text-transform: uppercase;
    }

    .tag.bg-brand {
      background: var(--brand);
    }

    .course-card .mt-5 {
      margin-top: auto;
      padding-top: 16px;
    }

    .course-seats {
      font-size: 12px;
      line-height: 1.2;
    }

    .meta-row {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #4d5669;
      font-size: 13px;
      line-height: 1.28;
    }

    .meta-row i {
      width: 13px;
      color: #697184;
      font-size: 13px;
    }

    .category-card {
      display: flex;
      min-height: 144px;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 14px;
      border: 1px solid #e6eaf1;
      border-radius: 8px;
      color: #232a42;
      background: #fff;
      box-shadow: 0 1px 2px rgba(26, 33, 52, .03);
      text-align: center;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.25;
      transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .category-card:hover {
      border-color: rgba(168, 5, 50, .34);
      box-shadow: 0 10px 22px rgba(26, 33, 52, .08);
      transform: translateY(-2px);
    }

    .icon-outline {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: var(--brand);
      font-size: 38px;
      line-height: 1;
    }

    .step-card {
      position: relative;
      display: grid;
      grid-template-columns: 74px 1fr;
      gap: 18px;
      align-items: center;
    }

    .step-bubble {
      position: relative;
      display: grid;
      width: 70px;
      height: 70px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 28px;
    }

    .step-number {
      position: absolute;
      top: -6px;
      left: -7px;
      display: grid;
      width: 24px;
      height: 24px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .audience-grid {
      display: grid;
      gap: 20px;
    }

    .audience-card {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
      padding: 22px;
      box-shadow: 0 8px 20px rgba(26, 33, 52, .05);
    }

    .audience-icon {
      display: grid;
      width: 54px;
      height: 54px;
      place-items: center;
      border-radius: 999px;
      background: #f8edf1;
      color: var(--brand);
      font-size: 23px;
    }

    .audience-card h3 {
      margin-top: 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
      font-weight: 700;
    }

    .audience-card p,
    .audience-card li {
      color: #272b34;
      font-size: 14px;
      line-height: 1.5;
    }

    .audience-card p {
      margin-top: 8px;
      font-weight: 400;
    }

    .audience-card ul {
      margin-top: 12px;
      padding-left: 18px;
    }

    .audience-card li + li {
      margin-top: 7px;
    }

    .benefit-icon {
      display: grid;
      width: 56px;
      height: 56px;
      flex: 0 0 auto;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #737b8f;
      font-size: 22px;
    }

    .lecturer-card {
      display: grid;
      grid-template-columns: 148px 1fr;
      min-height: 112px;
      overflow: hidden;
      border: 1px solid #e0e6ef;
      border-radius: 8px;
      background: #fff;
    }

    .lecturer-card .media-img {
      object-position: center top;
    }

    .lecturer-card > .p-4 {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 16px 18px;
    }

    .lecturer-card h3 {
      color: var(--ink);
      font-size: 18px;
      line-height: 1.25;
    }

    .contact-cta {
      display: grid;
      grid-template-columns: 1.25fr .9fr auto;
      gap: 40px;
      align-items: center;
      border-radius: 8px;
      background: #fbedf0;
      padding: 24px 44px 24px 28px;
    }

    .contact-cta-icon {
      color: var(--brand);
      font-size: 50px;
      line-height: 1;
    }

    .contact-cta-methods {
      display: grid;
      gap: 13px;
      color: var(--ink);
      font-size: 18px;
      font-weight: 700;
    }

    .contact-cta-methods a {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      color: inherit;
      text-decoration: none;
    }

    .contact-cta-methods i {
      width: 34px;
      color: var(--brand);
      font-size: 23px;
      text-align: center;
    }

    .faq-row {
      transition: color .18s ease;
    }

    .faq-row:hover {
      color: var(--brand);
    }

    .faq-row i {
      transition: transform .18s ease;
    }

    .faq-row[aria-expanded="true"] {
      color: var(--brand);
    }

    .faq-row[aria-expanded="true"] i {
      transform: rotate(180deg);
    }

    .faq-panel {
      padding: 0 0 14px;
      color: #272b34;
      font-size: 14px;
      line-height: 1.55;
    }

    .faq-panel[hidden] {
      display: none;
    }

    .faq-item + .faq-item { border-top: 1px solid #e3e8f0; }

    .footer-link {
      display: inline-flex;
      transition: color .18s ease;
    }

    .footer-link:hover {
      color: var(--brand);
    }

    .social-link {
      display: inline-grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #5e6678;
      font-size: 22px;
      transition: color .18s ease, background-color .18s ease, transform .18s ease;
    }

    .social-link:hover {
      background: #f9edf1;
      color: var(--brand);
      transform: translateY(-2px);
    }

    @media (max-width: 1180px) {
      .nav-link { display: none; }
    }

    @media (max-width: 900px) {
      .contact-cta { grid-template-columns: 1fr; }
      .hero { min-height: auto; }
      .hero-photo { opacity: .22; }
      .hero-photo::before { background: rgba(255,255,255,.78); }
      .hero::after { height: 52px; }
    }

    @media (max-width: 640px) {
      .page-container { width: min(100% - 32px, 1200px); }
      .section-title { font-size: 20px; }
      .step-card { grid-template-columns: 58px 1fr; }
      .step-bubble { width: 56px; height: 56px; font-size: 22px; }
      .audience-card { padding: 18px; }
      .lecturer-card { grid-template-columns: 112px 1fr; }
    }

    @media (min-width: 640px) {
      .course-slider .course-card { flex-basis: calc((100% - 24px) / 2); }
    }

    @media (min-width: 1024px) {
      .course-slider .course-card { flex-basis: calc((100% - 48px) / 3); }
    }

    .account-page {
      background: #fbfcfe;
    }

    .account-topbar {
      position: relative;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .account-notification {
      position: relative;
      display: grid;
      width: 42px;
      height: 42px;
      place-items: center;
      border-radius: 999px;
      background: #f8f6f8;
      color: #26304a;
      font-size: 20px;
      text-decoration: none;
    }

    .account-notification span {
      position: absolute;
      top: -3px;
      right: -2px;
      display: grid;
      min-width: 20px;
      height: 20px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
    }

    .account-profile {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 12px;
      align-items: center;
      border: 0;
      background: transparent;
      color: var(--ink);
      cursor: pointer;
      font-family: inherit;
      padding: 0;
      text-decoration: none;
    }

    .account-profile strong {
      display: block;
      font-size: 15px;
      line-height: 1.1;
      font-weight: 700;
    }

    .account-profile span {
      display: block;
      margin-top: 3px;
      color: #26304a;
      font-size: 13px;
      font-weight: 600;
    }

    .account-profile:hover,
    .account-profile:hover span {
      color: var(--brand);
    }

    .account-dropdown {
      position: absolute;
      top: calc(100% + 14px);
      right: 0;
      z-index: 60;
      width: 286px;
      border: 1px solid #e3e8f1;
      border-radius: 10px;
      background: #fff;
      padding: 10px;
      box-shadow: 0 18px 38px rgba(28, 38, 63, .14);
    }

    .account-dropdown[hidden] {
      display: none;
    }

    .account-dropdown .account-menu {
      gap: 4px;
    }

    .account-dropdown .account-menu a {
      min-height: 44px;
      font-size: 14px;
    }

    .account-dropdown .logout-link {
      margin-top: 10px;
      padding-top: 10px;
    }

    .account-shell {
      display: grid;
      grid-template-columns: 248px minmax(0, 1fr);
      gap: 28px;
      padding-block: 34px 0;
    }

    .account-sidebar {
      position: sticky;
      top: 98px;
      align-self: start;
      border-right: 1px solid #e7ebf2;
      padding-right: 18px;
    }

    .account-sidebar h1 {
      margin-bottom: 20px;
      color: var(--ink);
      font-size: 24px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -.01em;
    }

    .account-menu {
      display: grid;
      gap: 6px;
    }

    .account-menu a {
      display: flex;
      min-height: 48px;
      align-items: center;
      gap: 14px;
      border-radius: 8px;
      padding: 0 14px;
      color: #26304a;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
    }

    .account-menu a:hover,
    .account-menu a.active {
      background: #fbedf0;
      color: var(--brand);
    }

    .account-menu i {
      width: 20px;
      font-size: 17px;
      text-align: center;
    }

    .account-badge {
      margin-left: auto;
      display: grid;
      min-width: 22px;
      height: 22px;
      place-items: center;
      border-radius: 999px;
      background: var(--brand);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
    }

    .logout-link {
      margin-top: 26px;
      border-top: 1px solid #e7ebf2;
      padding-top: 18px;
      color: var(--brand) !important;
    }

    .dashboard-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 390px;
      align-items: center;
      overflow: hidden;
      min-height: 220px;
      border-radius: 12px;
      background: linear-gradient(102deg, #fff3f5 0%, #fff 52%, #f4eee9 100%);
    }

    .dashboard-hero-content {
      padding: 34px 40px;
    }

    .dashboard-hero h2 {
      color: var(--ink);
      font-size: 32px;
      line-height: 1.15;
      font-weight: 700;
      letter-spacing: -.02em;
    }

    .dashboard-hero p {
      margin-top: 12px;
      max-width: 390px;
      color: #272b34;
      font-size: 16px;
      line-height: 1.65;
      font-weight: 500;
    }

    .dashboard-hero img {
      width: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .dashboard-hero-image {
      position: relative;
      overflow: hidden;
    }

    .dashboard-hero-image::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.86) 18%, rgba(255,255,255,.38) 38%, rgba(255,255,255,0) 62%);
      pointer-events: none;
    }

    .stat-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 26px;
    }

    .account-stat,
    .dashboard-card {
      border: 1px solid #e0e6ef;
      border-radius: 10px;
      background: #fff;
    }

    .account-stat {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 16px;
      min-height: 116px;
      align-items: start;
      padding: 22px 28px;
    }

    .stat-icon {
      display: grid;
      width: 48px;
      height: 48px;
      align-self: start;
      justify-self: center;
      place-items: center;
      border-radius: 999px;
      background: #f4f5f8;
      color: #5e6678;
      font-size: 18px;
      line-height: 1;
    }

    .stat-icon i {
      line-height: 1;
    }

    .account-stat strong {
      display: block;
      color: var(--ink);
      font-size: 30px;
      line-height: 1;
      font-weight: 700;
    }

    .account-stat > div > span {
      display: block;
      margin-top: 5px;
      color: #2b3048;
      font-size: 14px;
      font-weight: 700;
    }

    .account-stat a,
    .card-link {
      margin-top: 12px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--brand);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
    }

    .dashboard-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(320px, .78fr);
      gap: 22px;
      margin-top: 26px;
      align-items: start;
    }

    .dashboard-stack {
      display: grid;
      gap: 22px;
    }

    .dashboard-card {
      padding: 24px;
    }

    .card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 18px;
    }

    .card-head h2 {
      color: var(--ink);
      font-size: 20px;
      line-height: 1.2;
      font-weight: 700;
    }

    .course-item {
      display: grid;
      grid-template-columns: 72px 1fr auto;
      gap: 16px;
      align-items: center;
      border: 1px solid #e6ebf2;
      border-radius: 9px;
      padding: 18px;
    }

    .course-item + .course-item,
    .notice-item + .notice-item,
    .document-item + .document-item,
    .finished-item + .finished-item {
      margin-top: 14px;
    }

    .date-box {
      display: grid;
      min-height: 64px;
      place-items: center;
      border-radius: 8px;
      background: #f8f6f8;
      color: var(--ink);
      text-align: center;
      font-weight: 700;
    }

    .date-box strong {
      display: block;
      font-size: 21px;
      line-height: 1;
    }

    .date-box span {
      display: block;
      margin-top: 4px;
      font-size: 13px;
    }

    .course-tag {
      display: inline-flex;
      border-radius: 4px;
      padding: 5px 8px;
      color: #fff;
      background: #7b3fc4;
      font-size: 10px;
      font-weight: 700;
      line-height: 1;
      text-transform: uppercase;
    }

    .course-tag.blue { background: #0d6ca8; }
    .course-tag.red { background: var(--brand); }

    .course-item h3,
    .finished-item h3,
    .document-item h3,
    .material-card h3,
    .notice-item h3 {
      color: var(--ink);
      font-size: 16px;
      line-height: 1.3;
      font-weight: 700;
    }

    .course-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 9px;
      color: #5e6678;
      font-size: 13px;
      font-weight: 600;
    }

    .course-meta i { color: #788196; }

    .status-pill {
      display: inline-flex;
      border-radius: 999px;
      padding: 6px 10px;
      background: #e9f8ee;
      color: #238044;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .small-btn {
      display: inline-flex;
      min-height: 38px;
      align-items: center;
      justify-content: center;
      border: 1px solid #dce2ec;
      border-radius: 6px;
      padding: 0 14px;
      color: #2b3048;
      background: #fff;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      transition: border-color .18s ease, color .18s ease;
    }

    .small-btn:hover {
      border-color: var(--brand);
      color: var(--brand);
    }

    .finished-item,
    .document-item,
    .notice-item {
      display: grid;
      gap: 14px;
      align-items: center;
    }

    .finished-item {
      grid-template-columns: 58px 1fr auto auto;
      border: 1px solid #e6ebf2;
      border-radius: 9px;
      padding: 14px 16px;
    }

    .notice-item {
      grid-template-columns: 10px 1fr;
      padding-bottom: 16px;
      border-bottom: 1px solid #e6ebf2;
    }

    .notice-dot {
      width: 8px;
      height: 8px;
      align-self: start;
      margin-top: 7px;
      border-radius: 999px;
      background: var(--brand);
    }

    .notice-item p,
    .document-item p,
    .material-card p {
      margin-top: 5px;
      color: #5e6678;
      font-size: 13px;
      line-height: 1.45;
      font-weight: 600;
    }

    .document-item {
      grid-template-columns: 36px 1fr 34px;
      padding-bottom: 16px;
      border-bottom: 1px solid #e6ebf2;
    }

    .doc-icon {
      display: grid;
      width: 32px;
      height: 38px;
      place-items: center;
      color: var(--brand);
      font-size: 24px;
    }

    .download-btn {
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      border-radius: 999px;
      color: #2b3048;
      background: #f7f8fb;
      text-decoration: none;
      transition: color .18s ease, background-color .18s ease;
    }

    .download-btn:hover {
      color: var(--brand);
      background: #fbedf0;
    }

    .materials-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .material-card {
      display: grid;
      grid-template-columns: 34px 1fr auto;
      gap: 12px;
      align-items: center;
      border: 1px solid #e6ebf2;
      border-radius: 8px;
      padding: 14px;
    }

    .account-cta {
      display: grid;
      grid-template-columns: 64px minmax(0, 1fr) auto auto;
      gap: 24px;
      align-items: center;
      margin-top: 28px;
      border-radius: 10px;
      background: #fbedf0;
      padding: 24px 34px;
    }

    .account-cta-icon {
      color: var(--brand);
      font-size: 48px;
      line-height: 1;
    }

    .account-cta h2 {
      color: var(--ink);
      font-size: 20px;
      font-weight: 700;
    }

    .account-cta p,
    .account-cta a:not(.btn-primary) {
      color: #272b34;
      font-size: 14px;
      line-height: 1.45;
      font-weight: 700;
      text-decoration: none;
    }

    @media (max-width: 1120px) {
      .account-shell { grid-template-columns: 1fr; }
      .account-sidebar { position: static; border-right: 0; padding-right: 0; }
      .account-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .dashboard-grid { grid-template-columns: 1fr; }
      .materials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .account-cta { grid-template-columns: 52px 1fr; }
      .account-cta .btn-primary { grid-column: 2; justify-self: start; }
    }

    @media (max-width: 760px) {
      .dashboard-hero { grid-template-columns: 1fr; }
      .dashboard-hero-image { display: none; }
      .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .course-item { grid-template-columns: 64px 1fr; }
      .course-item > .grid { grid-column: 1 / -1; justify-self: start; }
      .finished-item { grid-template-columns: 54px 1fr auto; }
      .finished-item .fa-chevron-right { display: none; }
      .materials-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 560px) {
      .account-menu { grid-template-columns: 1fr; }
      .stat-row { grid-template-columns: 1fr; }
      .dashboard-card { padding: 18px; }
      .dashboard-hero-content { padding: 26px; }
      .account-cta { grid-template-columns: 1fr; padding: 22px; }
      .account-cta .btn-primary { grid-column: auto; }
    }

.form-error {
  margin-top: 8px;
  color: #a80532;
  font-size: 13px;
  font-weight: 600;
}

.form-alert {
  border: 1px solid #f1c6d1;
  border-radius: 8px;
  background: #fff5f7;
  color: #84213b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.account-menu form {
  margin: 0;
}

.account-menu button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #26304a;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 14px;
  min-height: 48px;
  padding: 0 14px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.account-menu button:hover {
  background: #f7f8fb;
  color: #a80532;
}

.text-copy h2 {
  color: #192039;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 28px 0 14px;
}

.text-copy h3 {
  color: #192039;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  margin: 22px 0 10px;
}

.text-copy ul,
.text-copy ol {
  margin: 16px 0;
  padding-left: 22px;
}

.text-copy li {
  margin: 7px 0;
}

.menu a {
  color: inherit;
  text-decoration: none;
}

.menu a:hover {
  color: #a80532;
}

.training-page {
  background: #fff;
}

.training-page-heading {
  padding-top: 30px;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #a80532;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.course-detail-hero-content h1 {
  color: #192039;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
}

.course-detail-hero-content > p,
.course-detail-hero-content .course-detail-excerpt {
  color: #3d4558;
  font-size: 18px;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 760px;
}

.course-detail-hero-content .course-detail-excerpt p {
  margin: 0 0 12px;
}

.course-detail-hero-content .course-detail-excerpt :last-child {
  margin-bottom: 0;
}

.training-directory {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 304px minmax(0, 1fr);
  padding: 36px 0 68px;
}

.training-sidebar {
  position: static;
}

.course-filter-form {
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
}

.course-filter-block {
  border: 0;
  margin: 0;
  padding: 0;
}

.course-filter-block + .course-filter-block {
  border-top: 1px solid #e5e9f1;
  margin-top: 22px;
  padding-top: 22px;
}

.course-filter-label,
.course-filter-block legend {
  color: #192039;
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  padding: 0;
}

.course-search-field {
  align-items: center;
  border: 1px solid #dce2ec;
  border-radius: 7px;
  display: grid;
  gap: 9px;
  grid-template-columns: 18px 1fr;
  padding-left: 12px;
}

.course-search-field i {
  color: #788196;
}

.course-search-field input {
  border: 0;
  color: #192039;
  font: inherit;
  font-size: 14px;
  min-width: 0;
  outline: 0;
  width: 100%;
  min-height: 44px;
  padding: 0 0;
}

.course-filter-options {
  display: grid;
  gap: 10px;
}


.course-filter-options label {
  font-weight: 500 !important;
}

.course-filter-option {
  align-items: flex-start;
  color: #374057;
  display: grid;
  font-size: 14px;
  font-weight: 650;
  gap: 10px;
  grid-template-columns: 16px minmax(0, 1fr);
  line-height: 1.35;
}

.course-filter-option input {
  accent-color: #a80532;
  margin-top: 2px;
}

.course-filter-actions {
  align-items: center;
  border-top: 1px solid #e5e9f1;
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 22px;
}

.course-filter-actions .btn-primary {
  min-height: 42px;
  padding: 0 22px;
}

.course-reset-link,
.course-open-link,
.course-back-link {
  color: #a80532;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.course-reset-link:hover,
.course-open-link:hover,
.course-back-link:hover {
  color: #7f0325;
}

.training-main {
  min-width: 0;
}

.training-page-copy {
  border-bottom: 1px solid #e5e9f1;
  margin-bottom: 26px;
  padding-bottom: 24px;
}

.training-course-list {
  display: grid;
  gap: 16px;
}

.training-course-card {
  align-items: stretch;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr) 178px;
  overflow: hidden;
}

.training-course-body {
  display: grid;
  gap: 18px;
  grid-template-columns: 68px minmax(0, 1fr);
  padding: 22px;
}

.training-course-date {
  align-self: start;
  background: #f8f6f8;
  border-radius: 8px;
  color: #192039;
  display: grid;
  /* Rows size to content (instead of stretching) so the gap between day and
     month is set by row-gap alone. The line boxes add ~5px of their own
     leading, so 2px here reads as roughly a 7px gap. */
  align-content: center;
  min-height: 66px;
  place-items: center;
  row-gap: 2px;
  text-align: center;
}

.training-course-date strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.training-course-date span {
  color: #5d6578;
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: lowercase;
}

.training-course-date i {
  color: #a80532;
  font-size: 24px;
}

.training-course-content {
  min-width: 0;
}

.training-course-content h3 {
  color: #192039;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.training-course-content h3 a {
  color: inherit;
  text-decoration: none;
}

.training-course-content h3 a:hover {
  color: #a80532;
}

.training-course-tax {
  color: #5d6578;
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 9px;
}

.training-course-tax a {
  color: #a80532;
  text-decoration: none;
}

.training-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 16px;
}

.training-course-meta span {
  align-items: center;
  color: #374057;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 7px;
}

.training-course-meta i {
  color: #788196;
}

.training-course-action {
  border-left: 1px solid #e5e9f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.training-course-action strong {
  color: #192039;
  font-size: 21px;
  line-height: 1.1;
}

.training-course-action span {
  color: #238044;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.training-course-action .btn-primary {
  margin-top: 18px;
  min-height: 42px;
  padding: 0 18px;
  width: 100%;
}

.course-open-link {
  margin-top: 12px;
  text-align: center;
}

.first-aid-card-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.availability-badge {
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 180px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.availability-neizpildita {
  background: #a80532;
}

.availability-daleji-aizpildita {
  background: #0d6ca8;
}

.first-aid-sessions {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.first-aid-session {
  align-items: center;
  border: 1px solid #e5e9f1;
  border-radius: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 12px;
}

.first-aid-session strong,
.first-aid-detail-sessions strong {
  color: #192039;
  font-weight: 800;
}

.first-aid-session span,
.first-aid-session em {
  color: #4a5368;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.first-aid-session em {
  color: #a80532;
}

.training-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.training-pagination .page-numbers {
  align-items: center;
  border: 1px solid #dce2ec;
  border-radius: 7px;
  color: #192039;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  min-width: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.training-pagination .page-numbers.current,
.training-pagination .page-numbers:hover {
  border-color: #a80532;
  background: #a80532;
  color: #fff;
}

.training-empty {
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  background: #fff;
  padding: 34px;
}

.training-empty h2 {
  color: #192039;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
}

.training-empty p {
  color: #5d6578;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
  margin: 10px 0 22px;
}

.course-detail-page {
  background: #fff;
}

.course-detail-hero {
  border-bottom: 1px solid #e5e9f1;
  background: #fbfaf8;
  padding: 34px 0 40px;
}

.course-detail-hero-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 860px);
}

.course-back-link {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
}

.course-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.course-detail-chips span {
  align-items: center;
  border: 1px solid #e1d8dd;
  border-radius: 999px;
  background: #fff;
  color: #374057;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
}

.course-detail-chips i {
  color: #a80532;
}

.course-hero-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 24px;
}

.course-hero-summary .course-detail-chips {
  flex: 1 1 560px;
  margin-top: 0;
}

.course-detail-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 900px);
  justify-content: start;
  padding: 44px 0 72px;
}

.course-detail-content {
  min-width: 0;
}

.course-apply-panel {
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  background: #fff;
  position: relative;
  width: 100%;
}

.course-apply-panel.is-loading {
  min-height: 220px;
  pointer-events: none;
}

.course-apply-panel.is-loading::before {
  background: rgba(255, 255, 255, .78);
  border-radius: 8px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 8;
}

.course-apply-panel.is-loading::after {
  animation: pp-course-loader .72s linear infinite;
  border: 3px solid rgba(168, 5, 50, .18);
  border-radius: 999px;
  border-top-color: #a80532;
  content: "";
  height: 38px;
  left: 50%;
  margin-left: -19px;
  margin-top: -19px;
  position: absolute;
  top: 50%;
  width: 38px;
  z-index: 9;
}

.course-apply-price {
  background: #fff;
  border: 1px solid #eadce1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 12px 28px rgba(25, 32, 57, .045);
  flex: 0 0 auto;
  min-width: 158px;
  overflow: hidden;
  padding: 15px 18px 16px;
  position: relative;
}

.course-apply-price::before {
  background: #a80532;
  content: "";
  height: 4px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.course-apply-price span {
  color: #a80532;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.course-apply-price strong {
  color: #192039;
  display: block;
  font-size: 34px;
  line-height: 1.1;
  margin-top: 6px;
}

.course-hero-apply-link {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 40px;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.course-hero-apply-link:hover,
.course-hero-apply-link:focus-visible {
  color: #8f042a;
}

.course-hero-apply-link i {
  font-size: 13px;
  transition: transform .18s ease;
}

.course-hero-apply-link:hover i,
.course-hero-apply-link:focus-visible i {
  transform: none;
}

#course-application-form {
  padding: 10px 26px 26px;
}

#course-application-form h2 {
  font-size: 21px;
  font-weight: 800;
}

#course-application-form,
#course-interest-form {
  scroll-margin-top: 96px;
}

#course-interest-form {
  padding: 10px 26px 26px;
  border-top: 0;
}

.course-interest-actions {
  padding: 10px 26px 26px;
}

.course-interest-actions h2 {
  color: #192039;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
}

.course-interest-actions-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-interest-actions-row .btn-primary,
.course-interest-actions-row .btn-outline {
  width: 100%;
  white-space: nowrap;
}

.course-interest-actions-row #course-interest-show-form {
  background: rgb(105, 171, 122);
  border-color: rgb(105, 171, 122);
}

.course-interest-actions-row #course-interest-show-form:hover {
  background: rgb(86, 148, 101);
  border-color: rgb(86, 148, 101);
}

.course-detail-list {
  background: #fff;
  border: 1px solid #eadce1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 12px 28px rgba(25, 32, 57, .045);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-detail-list > div {
  align-content: start;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  min-height: 110px;
  padding: 18px;
}

.course-detail-list > div:first-child {
  grid-column: 1 / -1;
  min-height: 0;
}

.course-detail-list dt {
  align-items: center;
  color: #5d6578;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  letter-spacing: .01em;
}

.course-detail-list dt i {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .06);
  color: #a80532;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.course-detail-list dd {
  color: #192039;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.course-detail-overview,
.first-aid-detail-overview {
  color: #192039;
  display: grid;
  gap: 38px;
  margin-top: 26px;
  max-width: 920px;
}

.course-detail-overview > p,
.first-aid-detail-overview > p {
  font-size: 20px;
  line-height: 1.25;
  margin: 0;
}

.course-detail-overview > p strong,
.first-aid-detail-overview > p strong {
  display: inline-block;
  font-weight: 800;
  margin-bottom: 2px;
}

.course-detail-info-grid,
.first-aid-detail-schedule {
  display: grid;
  gap: 56px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-detail-info-grid {
  gap: 30px;
}

.course-detail-info-grid .course-detail-info-card {
  gap: 10px;
}

.course-detail-info-card,
.first-aid-detail-session-card {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.course-detail-info-card h2,
.first-aid-detail-session-card h2 {
  color: #192039;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.course-detail-info-card p,
.first-aid-detail-session-card p {
  align-items: center;
  color: #192039;
  display: flex;
  font-size: 16px;
  gap: 11px;
  line-height: 1.3;
  margin: 0;
  min-width: 0;
}

.course-detail-info-card i,
.first-aid-detail-session-card i {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  flex: 0 0 20px;
  font-size: 20px;
  justify-content: center;
  line-height: 1;
  width: 20px;
}

.course-detail-info-card .fa-clock,
.first-aid-detail-session-card .fa-clock {
  background: #a80532;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  height: 20px;
  width: 20px;
}

.course-detail-info-card span,
.first-aid-detail-session-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-aid-detail-sessions {

}

.first-aid-detail-sessions span {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.first-aid-detail-sessions span:last-child {
  padding: 14px;
}

.first-aid-detail-sessions strong {
  font-size: 18px;
  line-height: 1.2;
}

.first-aid-detail-sessions em {
  background: #fff3f5;
  border-radius: 999px;
  color: #a80532;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  justify-self: start;
  padding: 5px 9px;
}

.first-aid-detail-sessions small {
  color: #4a5368;
  font-size: 13px;
  font-weight: 700;
}

.course-apply-panel .btn-primary {
  min-height: 46px;
  width: 100%;
}

.first-aid-apply-form,
.course-interest-form {
  border-top: 1px solid #e5e9f1;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 22px;
  padding-top: 22px;
}

.first-aid-apply-form {
  border-top: 0;
}

.course-interest-form h2 {
  color: #192039;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 4px;
}

.first-aid-apply-form label,
.course-interest-form label {
  display: grid;
  gap: 6px;
}

.first-aid-apply-form label > span,
.course-interest-form label > span {
  color: #192039;
  font-size: 13px;
  font-weight: 800;
}

.first-aid-apply-form input[type="email"],
.first-aid-apply-form input[type="text"],
.first-aid-apply-form input[type="tel"],
.course-interest-form input[type="email"],
.course-interest-form input[type="text"],
.course-interest-form input[type="tel"],
.course-interest-form textarea {
  border: 1px solid #dce2ec;
  border-radius: 7px;
  color: #192039;
  font: inherit;
  min-height: 42px;
  padding: 0 12px;
  width: 100%;
}

.course-interest-form textarea {
  min-height: 112px;
  padding-bottom: 10px;
  padding-top: 10px;
  resize: vertical;
}

.first-aid-apply-form input:focus,
.course-interest-form input:focus,
.course-interest-form textarea:focus {
  border-color: #a80532;
  outline: 2px solid rgba(168, 5, 50, .12);
}

.course-form-errors {
  background: #fff3f5;
  border-radius: 8px;
  color: #8f042a;
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 14px 16px;
}

.course-form-errors p {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.course-form-success {
  background: #effaf4;
  border-radius: 8px;
  color: #166534;
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 14px 16px;
}

.course-form-success p {
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.course-payment-success {
  justify-items: center;
  margin-top: 0;
  padding: 48px 32px;
  text-align: center;
}

.course-payment-success p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
}

.course-payment-success .course-payment-success-title {
  color: #166534;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.course-form-global-errors {
  background: #fff3f5;
  border-radius: 8px;
  color: #8f042a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  margin-bottom: 4px;
  padding: 12px 14px;
}

.course-field-error {
  color: #a80532;
  display: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 3px;
}

.label.is-error > span,
label.is-error > span {
  color: #a80532;
}

input.is-error,
textarea.is-error {
  border-color: #a80532 !important;
}

.privacy-check {
  align-items: flex-start;
  display: grid !important;
  gap: 10px !important;
  grid-column: 1 / -1;
  grid-template-columns: 16px minmax(0, 1fr);
}

.privacy-check input {
  accent-color: #a80532;
  margin-top: 3px;
}

.privacy-check a {
  color: #a80532;
  text-decoration: none;
}

.privacy-check a:hover {
  text-decoration: underline;
}

.first-aid-apply-form .btn-primary,
.course-interest-form .btn-primary {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 260px;
  width: auto;
  margin-top: 20px;
}

.btn-primary.is-loading {
  cursor: wait;
  opacity: .78;
  pointer-events: none;
  position: relative;
}

.btn-primary.is-loading::after {
  animation: pp-course-loader .72s linear infinite;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  border-top-color: #fff;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 18px;
  margin-left: 10px;
  width: 18px;
}

.course-payment-form {
  background: linear-gradient(102deg, #fbfaf8 0%, #fbfaf8 55%, #fff3f5 55%, #fff 100%);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  margin-top: 24px;
  padding: 34px;
}

.course-payment-head {
  text-align: center;
}

.course-payment-head span {
  color: #a80532;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.course-payment-head h2 {
  color: #192039;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.course-payment-methods {
  border: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.course-payment-option {
  cursor: pointer;
  display: block;
  min-width: 0;
  position: relative;
}

.course-payment-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.course-payment-option span {
  align-items: center;
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 8px 18px rgba(25, 32, 57, .045);
  color: #192039;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: center;
  min-height: 58px;
  padding: 0 14px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.payment-swedbank span {
  color: #f05a1a;
}

.payment-seb span {
  color: #111;
}

.payment-citadele span {
  color: #d3133a;
  font-size: 16px;
}

.payment-luminor span {
  color: #4f173f;
}

.course-payment-option input:checked + span,
.course-payment-option input:focus-visible + span {
  border-color: #a80532;
  box-shadow: 0 0 0 3px rgba(168, 5, 50, .1), 0 10px 22px rgba(25, 32, 57, .07);
  transform: translateY(-1px);
}

.course-payment-price {
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.course-payment-price span {
  color: #192039;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.course-payment-price strong {
  background: #fff;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 8px 18px rgba(25, 32, 57, .045);
  color: #192039;
  display: inline-flex;
  font-size: 18px;
  font-weight: 750;
  line-height: 1;
  padding: 13px 24px;
}

.course-payment-actions {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.course-payment-back {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 8px;
  text-decoration: none;
}

.course-payment-back:hover {
  color: #7f0325;
}

.course-payment-actions .btn-primary {
  min-height: 48px;
  min-width: 170px;
  width: auto;
}

@media (max-width: 1080px) {
  .training-directory,
  .course-detail-layout {
    grid-template-columns: 1fr;
  }

  .course-apply-panel {
    position: static;
  }

  .training-course-action {
    border-left: 0;
    border-top: 1px solid #e5e9f1;
    grid-column: 1 / -1;
    padding: 18px 22px;
  }
}

@media (max-width: 820px) {
  .course-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .course-detail-list {
    grid-template-columns: 1fr;
  }

  .first-aid-detail-sessions {
    grid-template-columns: 1fr;
  }

  .course-detail-info-grid,
  .first-aid-detail-schedule {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .course-payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .course-interest-actions-row {
    grid-template-columns: 1fr;
  }

  .page-container {
    width: min(100% - 32px, 1200px);
  }

  .course-detail-hero-content h1 {
    font-size: 31px;
  }

  .course-detail-hero-content > p,
  .course-detail-hero-content .course-detail-excerpt {
    font-size: 16px;
  }

  .course-detail-overview,
  .first-aid-detail-overview {
    gap: 30px;
    margin-top: 22px;
  }

  .course-detail-overview > p,
  .first-aid-detail-overview > p {
    font-size: 18px;
  }

  .course-detail-info-card,
  .first-aid-detail-session-card {
    gap: 18px;
  }

  .course-detail-info-card h2,
  .first-aid-detail-session-card h2 {
    font-size: 20px;
  }

  .course-detail-info-card p,
  .first-aid-detail-session-card p {
    font-size: 17px;
  }

  .course-hero-summary {
    align-items: stretch;
  }

  .course-apply-price {
    width: 100%;
  }

  .course-hero-apply-link {
    width: 100%;
  }

  .first-aid-apply-form {
    grid-template-columns: 1fr;
  }

  .first-aid-apply-form .btn-primary {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .course-payment-form {
    padding: 22px;
  }

  .course-payment-head h2 {
    font-size: 23px;
  }

  .course-payment-methods {
    grid-template-columns: 1fr;
  }

  .course-payment-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .course-payment-actions .btn-primary {
    width: 100%;
  }

  .training-course-card {
    grid-template-columns: 1fr;
  }

  .training-course-body {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .training-course-date {
    min-height: 58px;
  }

  .training-course-content h3 {
    font-size: 18px;
  }

  .first-aid-card-head {
    display: grid;
  }

  .training-course-action {
    padding: 18px;
  }

  .course-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .course-reset-link {
    text-align: center;
  }
}

.useful-materials-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 304px minmax(0, 1fr);
}

.useful-materials-nav {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  overflow: hidden;
  padding: 22px;
  position: sticky;
  top: 92px;
}

.useful-materials-nav li:first-child {
  border-top: 0 !important;
}

.useful-materials-nav h2 {
  align-items: center;
  color: #192039;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  line-height: 1.25;
  margin: 0 0 18px;
}

.useful-materials-nav h2::before {
  background: #a80532;
  border-radius: 999px;
  content: "";
  display: block;
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.useful-materials-nav ul {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}

.useful-materials-nav li {
  border-top: 1px solid #e5e9f1;
  margin: 0;
}

.useful-materials-nav a {
  align-items: center;
  color: #374057;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 14px;
  line-height: 1.35;
  min-height: 50px;
  padding: 12px 2px 12px 0;
  position: relative;
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.useful-materials-nav a::before {
  background: #a80532;
  border-radius: 999px;
  bottom: 12px;
  content: "";
  left: -22px;
  opacity: 0;
  position: absolute;
  top: 12px;
  transition: opacity .18s ease;
  width: 3px;
}

.useful-materials-nav a:hover,
.useful-materials-nav a:focus-visible {
  color: #a80532;
  padding-left: 10px;
}

.useful-materials-nav a.is-active {
  color: #a80532;
  padding-left: 10px;
}

.useful-materials-nav a:hover::before,
.useful-materials-nav a:focus-visible::before,
.useful-materials-nav a.is-active::before {
  opacity: 1;
}

.useful-materials-nav i {
  color: #a80532;
  font-size: 11px;
}

.useful-materials-main {
  min-width: 0;
}

.useful-materials-copy {
  max-width: 780px;
}

@media (max-width: 980px) {
  .useful-materials-layout {
    grid-template-columns: 1fr;
  }

  .useful-materials-nav {
    position: static;
  }

  .useful-materials-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .useful-materials-layout {
    gap: 24px;
  }

  .useful-materials-nav {
    padding: 16px;
  }

  .useful-materials-nav ul {
    grid-template-columns: 1fr;
  }
}

.news-page,
.news-single-page {
  background: #fff;
}

.news-page-heading,
.news-single {
  padding-top: 30px;
}

.news-page-copy {
  margin-top: -14px;
  max-width: 760px;
}

.news-directory {
  padding: 6px 0 72px;
}

.news-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.news-card:hover {
  border-color: #f0a8b8;
  box-shadow: 0 18px 42px rgba(25, 32, 57, .09);
  transform: translateY(-2px);
}

.news-card-media {
  aspect-ratio: 16 / 10;
  background: #f7f8fb;
  display: block;
  overflow: hidden;
}

.news-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
  width: 100%;
}

.news-card:hover .news-card-media img {
  transform: scale(1.035);
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.news-date {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.news-date::before {
  background: #a80532;
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  width: 8px;
}

.news-card h2 {
  color: #192039;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover {
  color: #a80532;
}

.news-excerpt {
  color: #3d4558;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  margin-top: 12px;
}

.news-excerpt p {
  margin: 0;
}

.news-read-link {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  text-decoration: none;
}

.news-read-link:hover {
  color: #7f0325;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 34px;
}

.news-pagination .page-numbers {
  align-items: center;
  border: 1px solid #e5e9f1;
  border-radius: 7px;
  color: #26304a;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0 13px;
  text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination a.page-numbers:hover {
  background: #a80532;
  border-color: #a80532;
  color: #fff;
}

.news-empty {
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  padding: 28px;
}

.news-empty h2 {
  color: #192039;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.news-empty p {
  color: #3d4558;
  font-size: 15px;
  line-height: 1.6;
  margin: 10px 0 0;
}

.news-single {
  padding-bottom: 72px;
}

.news-single-header h1 {
  color: #192039;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.12;
  margin: 0;
}

.news-single-media {
  border-radius: 8px;
  margin: 30px 0 34px;
  max-height: 520px;
  overflow: hidden;
}

.news-single-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.news-back-link {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-top: 34px;
}

@media (min-width: 981px) {
  .news-card:first-child {
    display: grid;
    grid-column: span 2;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }

  .news-card:first-child .news-card-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .news-card:first-child .news-card-body {
    padding: 28px;
  }

  .news-card:first-child h2 {
    font-size: 25px;
  }
}

@media (max-width: 980px) {
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-page-heading,
  .news-single {
    padding-top: 24px;
  }

  .news-directory,
  .news-single {
    padding-bottom: 54px;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-card-body {
    padding: 20px;
  }

  .news-single-header h1 {
    font-size: 31px;
  }

  .news-single-media {
    margin: 24px 0 28px;
  }
}

.news-list {
  gap: 16px;
  grid-template-columns: 1fr;
}

.news-card,
.news-card:first-child {
  display: grid;
  grid-column: auto;
  grid-template-columns: 320px minmax(0, 1fr);
}

.news-card {
  transform: none;
}

.news-card:hover {
  box-shadow: 0 14px 34px rgba(25, 32, 57, .08);
  transform: translateY(-1px);
}

.news-card-media,
.news-card:first-child .news-card-media {
  aspect-ratio: auto;
  min-height: 186px;
}

.news-card-body,
.news-card:first-child .news-card-body {
  display: grid;
  gap: 18px;
  grid-template-columns: 68px minmax(0, 1fr);
  padding: 22px;
}

.news-date-box {
  align-self: start;
  background: #f8f6f8;
  border-radius: 8px;
  color: #192039;
  display: grid;
  min-height: 66px;
  place-items: center;
  text-align: center;
}

.news-date-box strong {
  display: block;
  font-size: 25px;
  line-height: 1;
}

.news-date-box span {
  color: #5d6578;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
  text-transform: uppercase;
}

.news-card-content {
  min-width: 0;
}

.news-card-content .news-date {
  color: #5d6578;
  font-size: 13px;
  margin-bottom: 8px;
}

.news-card-content .news-date::before {
  background: #d6dce7;
}

.news-card h2,
.news-card:first-child h2 {
  font-size: 21px;
  line-height: 1.25;
}

.news-excerpt {
  color: #374057;
  font-weight: 500;
  margin-top: 10px;
}

.news-read-link {
  margin-top: 16px;
  padding-top: 0;
}

.news-placeholder {
  align-items: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(168, 5, 50, .08) 0, rgba(168, 5, 50, 0) 34%),
    linear-gradient(135deg, #fff 0%, #f7f8fb 100%);
  display: grid;
  height: 100%;
  justify-items: center;
  min-height: inherit;
  overflow: hidden;
  padding: 24px;
  position: relative;
}

.news-placeholder::before {
  background:
    linear-gradient(90deg, rgba(168, 5, 50, .08) 1px, transparent 1px),
    linear-gradient(rgba(25, 32, 57, .05) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  inset: 0;
  opacity: .55;
  position: absolute;
}

.news-placeholder::after {
  background: #a80532;
  border-radius: 0 0 0 8px;
  content: "";
  height: 46px;
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
}

.news-placeholder-paper {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(25, 32, 57, .08);
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 138px;
  padding: 22px 20px;
  position: relative;
  width: 78%;
  z-index: 1;
}

.news-placeholder-paper::before {
  background: #a80532;
  border-radius: 8px 8px 0 0;
  content: "";
  height: 5px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.news-placeholder-icon {
  background: #fff3f5;
  border: 1px solid #f4ccd6;
  border-radius: 999px;
  color: #a80532;
  display: grid;
  font-size: 22px;
  height: 52px;
  place-items: center;
  width: 52px;
}

.news-placeholder-lines {
  display: grid;
  gap: 7px;
  width: 100%;
}

.news-placeholder-lines span {
  background: #d8deea;
  border-radius: 999px;
  display: block;
  height: 5px;
}

.news-placeholder-lines span:nth-child(1) {
  width: 100%;
}

.news-placeholder-lines span:nth-child(2) {
  width: 74%;
}

.news-placeholder-lines span:nth-child(3) {
  background: #f0a8b8;
  width: 46%;
}

.news-placeholder-mark {
  background: rgba(168, 5, 50, .1);
  border-radius: 999px;
  bottom: 18px;
  height: 74px;
  left: 18px;
  position: absolute;
  width: 74px;
}

@media (max-width: 760px) {
  .news-card,
  .news-card:first-child {
    grid-template-columns: 1fr;
  }

  .news-card-media,
  .news-card:first-child .news-card-media {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .news-card-body,
  .news-card:first-child .news-card-body {
    gap: 14px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .news-date-box {
    min-height: 58px;
  }

  .news-date-box strong {
    font-size: 23px;
  }

  .news-card h2,
  .news-card:first-child h2 {
    font-size: 19px;
  }
}

.contact-page-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
}

.contact-page-main,
.contact-page-copy {
  min-width: 0;
}

.contact-page-copy {
  max-width: 680px;
}

.contact-map-card {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  overflow: hidden;
}

.contact-map-frame {
  aspect-ratio: 4 / 3;
  background: #f7f8fb;
  min-height: 320px;
}

.contact-map-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.contact-map-content {
  padding: 22px;
}

.contact-map-kicker {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 9px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.contact-map-kicker::before {
  background: #a80532;
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  width: 8px;
}

.contact-map-content h2 {
  color: #192039;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.contact-map-link {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  margin-top: 18px;
  text-decoration: none;
}

.contact-map-link:hover {
  color: #7f0325;
}

@media (max-width: 980px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-page-layout {
    gap: 24px;
  }

  .contact-map-frame {
    aspect-ratio: 1 / 1;
    min-height: 280px;
  }

  .contact-map-content {
    padding: 20px;
  }
}

.first-aid-page .training-directory,
.social-care-page .training-directory {
  gap: 34px;
  grid-template-columns: 292px minmax(0, 1fr);
}

.first-aid-page .course-filter-form,
.social-care-page .course-filter-form {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 10px 24px rgba(25, 32, 57, .035);
  padding: 24px;
}

.first-aid-page .course-filter-block + .course-filter-block,
.social-care-page .course-filter-block + .course-filter-block {
  border-top: 0;
  margin-top: 26px;
  padding-top: 0;
}

.first-aid-page .course-search-field,
.social-care-page .course-search-field {
  border: 1px solid #c0c5d0 !important;
  border: 0;
  min-height: 48px;
  overflow: hidden;
}

.first-aid-page .course-filter-option,
.social-care-page .course-filter-option {
  color: #26304a;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.first-aid-page .course-filter-option input,
.social-care-page .course-filter-option input {
  border-radius: 4px;
  min-height: 16px;
  min-width: 16px;
}

.first-aid-page .course-filter-actions,
.social-care-page .course-filter-actions {
  border-top: 0;
  margin-top: 26px;
  padding-top: 0;
}

.first-aid-page .training-main[data-course-results],
.social-care-page .training-main[data-course-results] {
  position: relative;
}

.first-aid-page .training-main[data-course-results].is-loading,
.social-care-page .training-main[data-course-results].is-loading {
  min-height: 180px;
  pointer-events: none;
}

.first-aid-page .training-main[data-course-results].is-loading::before,
.social-care-page .training-main[data-course-results].is-loading::before {
  background: rgba(251, 250, 251, .78);
  border-radius: 8px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 8;
}

.first-aid-page .training-main[data-course-results].is-loading::after,
.social-care-page .training-main[data-course-results].is-loading::after {
  animation: pp-course-loader .72s linear infinite;
  border: 3px solid rgba(168, 5, 50, .18);
  border-radius: 999px;
  border-top-color: #a80532;
  content: "";
  height: 38px;
  left: 50%;
  margin-left: -19px;
  position: absolute;
  top: 74px;
  width: 38px;
  z-index: 9;
}

@keyframes pp-course-loader {
  to {
    transform: rotate(360deg);
  }
}

.first-aid-page .training-page-copy,
.social-care-page .training-page-copy {
  border-bottom: 0;
  margin-bottom: 28px;
  padding-bottom: 0;
}

.first-aid-page .training-directory > .training-page-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 34px;
}

.first-aid-page .training-page-copy {
  color: #4a5368;
  font-size: 16px;
  line-height: 1.72;
}

.first-aid-page .training-page-copy > p {
  margin: 0 0 17px;
}

.first-aid-page .training-page-copy > p:first-of-type {
  color: #263049;
  font-size: 17px;
  line-height: 1.72;
}

.first-aid-page .training-page-copy > p:empty,
.first-aid-page .training-page-copy .wp-block-quote:empty,
.first-aid-page .training-page-copy .wp-block-quote:has(> .wp-block-quote:empty):not(:has(p, cite)) {
  display: none;
}

.first-aid-page .training-page-copy h2 {
  color: #192039;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 38px 0 16px;
}

.first-aid-page .training-page-copy ul,
.first-aid-page .training-page-copy ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-left: 24px;
}

.first-aid-page .training-page-copy ul {
  list-style: disc;
}

.first-aid-page .training-page-copy ol {
  list-style: decimal;
}

.first-aid-page .training-page-copy li {
  display: list-item;
  margin: 0;
  padding-left: 4px;
}

.first-aid-page .training-page-copy li::marker {
  color: #a80532;
  font-size: 1.15em;
}

.first-aid-page .training-page-copy a {
  color: #a80532;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.first-aid-page .training-page-copy a:hover {
  color: #7e0326;
}

.first-aid-page .training-page-copy p:has(> mark) {
  background: #fff8e6;
  border: 1px solid #f3d26b;
  border-radius: 8px;
  color: #5c4300;
  padding: 16px 18px;
}

#first-aid-panel-programs,
#first-aid-panel-certificate {
  padding-bottom: 40px;
}

.first-aid-page .training-page-copy mark {
  background: transparent;
  color: inherit;
  padding: 0;
}

.first-aid-page .training-page-copy .wp-block-gallery.has-nested-images {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
  width: 100%;
}

.first-aid-page .training-page-copy .wp-block-gallery.has-nested-images figure.wp-block-image {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  width: 100% !important;
}

.first-aid-page .training-page-copy .wp-block-gallery.has-nested-images img {
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.first-aid-page .training-page-copy .wp-block-pullquote {
  border: 0;
  margin: 34px 0;
  padding: 0;
  text-align: left;
}

.first-aid-page .training-page-copy .wp-block-pullquote blockquote {
  background: #fbf7f9;
  border-left: 4px solid #a80532;
  border-radius: 8px;
  margin: 0;
  padding: 24px 28px;
}

.first-aid-page .training-page-copy .wp-block-pullquote p {
  color: #192039;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  max-width: none;
}

.first-aid-page .training-page-copy .wp-block-pullquote cite {
  color: #4a5368;
  display: block;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
  text-transform: none;
}

.first-aid-page .training-page-copy .wp-block-quote:not(:empty) {
  border-left: 4px solid #a80532;
  color: #4a5368;
  margin: 24px 0;
  padding: 6px 0 6px 18px;
}

.first-aid-page .training-course-list,
.social-care-page .training-course-list {
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.first-aid-page .training-course-card,
.social-care-page .training-course-card {
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 12px 28px rgba(25, 32, 57, .045);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}

.first-aid-page .training-course-card:hover,
.social-care-page .training-course-card:hover {
  box-shadow: 0 1px 2px rgba(25, 32, 57, .05), 0 16px 34px rgba(25, 32, 57, .06);
  transform: translateY(-2px);
}

.training-course-cover {
  align-content: space-between;
  background:
    radial-gradient(circle at 20% 85%, rgba(255, 255, 255, .26) 0, rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #bf1d48 0%, #a80532 100%);
  color: #fff;
  display: grid;
  min-height: 218px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  text-align: center;
  text-decoration: none;
}

.social-care-page .training-course-cover {
  background: #69ab7a;
}

.first-aid-page .training-course-cover {
  background: #a80532;
  color: #fff;
}

.first-aid-page .training-course-cover::before {
  background: rgba(255, 255, 255, 0.3);
}

.first-aid-page .training-course-cover h3 {
  color: #fff;
}

.first-aid-page .course-cover-corner {
  background: rgba(168, 5, 50, .08);
  color: #a80532;
}

.training-course-cover::before {
  background: rgba(255, 255, 255, .34);
  content: "";
  height: 1px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 80px;
}

.course-cover-brand {
  align-items: center;
  display: inline-grid;
  font-size: 12px;
  font-weight: 800;
  gap: 5px;
  justify-items: center;
  line-height: 1.15;
  margin-inline: auto;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.course-cover-brand i {
  font-size: 19px;
}

.course-cover-corner {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border-radius: 999px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  z-index: 1;
}

.training-course-cover h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 54px 0 26px;
  position: relative;
  text-wrap: balance;
  z-index: 1;
}

.course-cover-accent {
  align-items: center;
  bottom: -34px;
  color: rgba(255, 255, 255, .22);
  display: flex;
  filter: blur(1.2px);
  font-size: 118px;
  height: 132px;
  justify-content: center;
  left: -22px;
  line-height: 1;
  opacity: .9;
  position: absolute;
  transform: rotate(-10deg);
  width: 132px;
  z-index: 0;
}

.course-cover-accent i {
  display: block;
}

.first-aid-page .course-cover-accent {
  color: rgba(255, 255, 255, 0.16);
  filter: blur(1.4px);
  opacity: 1;
}

.first-aid-page .training-course-body,
.social-care-page .training-course-body {
  gap: 16px;
  grid-template-columns: 62px minmax(0, 1fr);
  padding: 22px 22px 18px;
}

.first-aid-page .training-course-date,
.social-care-page .training-course-date {
  background: #f8f6f8;
  min-height: 62px;
}

.first-aid-page .training-course-date strong,
.social-care-page .training-course-date strong {
  font-size: 18px;
}

.first-aid-page .training-course-tax,
.social-care-page .training-course-tax {
  margin-top: 0;
}

.first-aid-page .training-course-meta,
.social-care-page .training-course-meta {
  gap: 9px 14px;
  margin-top: 14px;
}

.first-aid-page .first-aid-card-head {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.first-aid-page .first-aid-session {
  background: #f7f8fb;
  border: 0;
}

.first-aid-page .training-course-action,
.social-care-page .training-course-action {
  align-content: center;
  align-items: center;
  background: #fbfafb;
  border: 0;
  display: grid;
  gap: 7px 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: auto;
  padding: 18px 22px 22px;
}

.first-aid-page .training-course-action strong,
.social-care-page .training-course-action strong {
  align-self: center;
  font-size: 21px;
}

.first-aid-page .training-course-action span,
.social-care-page .training-course-action span {
  grid-column: 1;
  margin-top: 0;
}

.first-aid-page .training-course-action .btn-primary,
.social-care-page .training-course-action .btn-primary {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
  min-height: 42px;
  padding: 0 18px;
  width: auto;
}

.first-aid-tabs-section {
  margin-top: 6px;
}

.first-aid-tab-list {
  align-items: center;
  background: #fbf7f9;
  border: 1px solid #eadde4;
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 28px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
}

.first-aid-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #a80532;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  min-height: 38px;
  padding: 0 18px;
  text-align: center;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}

.first-aid-tab:hover,
.first-aid-tab:focus-visible {
  color: #a80532;
}

.first-aid-tab:focus-visible {
  box-shadow: 0 0 0 3px rgba(168, 5, 50, .18);
  outline: 0;
}

.first-aid-tab.is-active {
  background: #fff;
  color: #192039;
}

.first-aid-tab-panel[hidden] {
  display: none;
}

.first-aid-info-panel {
  display: grid;
}

.first-aid-wysiwyg-content,
.wysiwyg-content {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  color: #192039;
  font-size: 15px;
  line-height: 1.65;
  padding: 28px;
}

.first-aid-wysiwyg-content h2,
.first-aid-wysiwyg-content h3,
.first-aid-wysiwyg-content h4,
.wysiwyg-content h2,
.wysiwyg-content h3,
.wysiwyg-content h4 {
  color: #192039;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}

.first-aid-wysiwyg-content h2,
.wysiwyg-content h2 {
  font-size: 26px;
}

.first-aid-wysiwyg-content h3,
.wysiwyg-content h3 {
  font-size: 19px;
  margin-top: 22px;
}

.first-aid-wysiwyg-content h4,
.wysiwyg-content h4 {
  font-size: 17px;
  margin-top: 18px;
}

.first-aid-wysiwyg-content p,
.first-aid-wysiwyg-content ul,
.first-aid-wysiwyg-content ol,
.wysiwyg-content p,
.wysiwyg-content ul,
.wysiwyg-content ol {
  margin: 0 0 16px;
}

.first-aid-wysiwyg-content ul,
.first-aid-wysiwyg-content ol,
.wysiwyg-content ul,
.wysiwyg-content ol {
  padding-left: 22px;
}

.first-aid-wysiwyg-content ul,
.wysiwyg-content ul {
  list-style: disc;
}

.first-aid-wysiwyg-content ol,
.wysiwyg-content ol {
  list-style: decimal;
}

.first-aid-wysiwyg-content li,
.wysiwyg-content li {
  display: list-item;
  margin-bottom: 8px;
}

.first-aid-wysiwyg-content strong,
.wysiwyg-content strong {
  color: #192039;
  font-weight: 800;
}

.first-aid-wysiwyg-content .pp-qa-item {
  background: #fbf7f9;
  border-left: 4px solid #a80532;
  border-radius: 6px;
  margin: 5px 0;
  padding: 16px 18px;
  transition: background .18s ease;
}

.first-aid-wysiwyg-content .pp-qa-item:hover {
  background: #f8eef3;
}

.first-aid-wysiwyg-content .pp-qa-item[open],
.first-aid-wysiwyg-content .pp-qa-item[open]:hover {
  background: #fbf7f9;
}

.first-aid-wysiwyg-content .pp-qa-item summary {
  align-items: center;
  color: #192039;
  cursor: pointer;
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.first-aid-wysiwyg-content .pp-qa-item summary::-webkit-details-marker {
  display: none;
}

.first-aid-wysiwyg-content .pp-qa-item summary::after {
  border-bottom: 2px solid #a80532;
  border-right: 2px solid #a80532;
  content: "";
  flex: 0 0 auto;
  height: 9px;
  margin-left: auto;
  transform: rotate(45deg);
  transition: transform .18s ease;
  width: 9px;
}

.first-aid-wysiwyg-content .pp-qa-item[open] summary::after {
  transform: rotate(-135deg);
}

.first-aid-wysiwyg-content .pp-qa-item summary + * {
  margin-top: 12px;
}

.first-aid-wysiwyg-content .pp-qa-item > :last-child {
  margin-bottom: 0;
}

.first-aid-wysiwyg-content > :last-child {
  margin-bottom: 0;
}

.first-aid-info-intro {
  max-width: 780px;
}

.first-aid-info-intro h2 {
  color: #192039;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 10px;
}

.first-aid-info-intro p {
  color: #4a5368;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.first-aid-program-grid,
.first-aid-certificate-steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.first-aid-program-item,
.first-aid-certificate-steps article {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 12px 28px rgba(25, 32, 57, .045);
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 22px;
}

.first-aid-program-item > span,
.first-aid-certificate-steps article > span {
  align-items: center;
  background: #f8e6ed;
  border-radius: 999px;
  color: #a80532;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.first-aid-program-item h3,
.first-aid-certificate-steps h3 {
  color: #192039;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.first-aid-program-item p,
.first-aid-certificate-steps p {
  color: #4a5368;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.first-aid-program-item:last-child {
  border-color: #f1d2dc;
}

.first-aid-program-item:last-child p {
  color: #a80532;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.first-aid-page .first-aid-course-list {
  gap: 30px;
  grid-template-columns: 1fr;
}

.first-aid-schedule-head {
  align-items: center;
  color: #7a7485;
  display: grid;
  font-size: 14px;
  font-weight: 800;
  gap: 16px;
  grid-template-columns: minmax(120px, .75fr) minmax(90px, .5fr) minmax(210px, 1.25fr) minmax(190px, 1fr);
  padding: 0 24px 2px;
}

.first-aid-schedule-head span:last-child {
  text-align: right;
}

.first-aid-schedule-card {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .05), 0 14px 32px rgba(25, 32, 57, .06);
  min-width: 0;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.first-aid-schedule-card:hover {
  border-color: #d6dce7;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .06), 0 18px 42px rgba(25, 32, 57, .08);
  transform: translateY(-1px);
}

.first-aid-schedule-lines {
  display: grid;
  min-width: 0;
}

.first-aid-schedule-row {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(120px, .75fr) minmax(90px, .5fr) minmax(210px, 1.25fr) minmax(190px, 1fr);
  min-height: 30px;
  padding: 1px 24px;
}

.first-aid-schedule-row:first-child {
  padding-top: 10px;
}

.first-aid-schedule-cell {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.first-aid-schedule-cell strong {
  color: #192039;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.first-aid-schedule-date strong,
.first-aid-schedule-time strong {
  font-size: 14px;
}

.first-aid-schedule-cell span {
  color: #5d6578;
  font-size: 13px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-aid-schedule-place strong {
  color: #263049;
}

.first-aid-schedule-status-cell {
  justify-items: end;
}

.first-aid-status {
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  justify-self: end;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 11px;
}

.first-aid-status i {
  border-radius: 999px;
  flex: 0 0 10px;
  height: 10px;
  width: 10px;
}

.first-aid-status span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.first-aid-status-neizpildita {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.first-aid-status-neizpildita i {
  background: #16a34a;
}

.first-aid-status-neizpildita span {
  color: #166534;
}

.first-aid-status-daleji-aizpildita {
  background: #fffbeb;
  border-color: #fde68a;
}

.first-aid-status-daleji-aizpildita i {
  background: #f59e0b;
}

.first-aid-status-daleji-aizpildita span {
  color: #92400e;
}

.first-aid-schedule-footer {
  align-items: center;
  background: #f8e6ed;
  border-top: 1px solid #f1d2dc;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 56px;
  padding: 7px 24px;
}

.first-aid-schedule-city {
  align-items: center;
  color: #a80532;
  display: flex;
  gap: 9px;
  min-width: 0;
}

.first-aid-schedule-city i {
  flex: 0 0 16px;
  font-size: 14px;
  text-align: center;
  width: 16px;
}

.first-aid-schedule-city strong {
  color: #a80532;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  min-width: 0;
  overflow-wrap: anywhere;
}

.first-aid-schedule-apply {
  align-items: center;
  color: #a80532;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 9px;
  min-height: 42px;
  text-decoration: none;
  white-space: nowrap;
}

.first-aid-schedule-apply:hover {
  color: #7e0326;
}

.first-aid-schedule-apply i {
  font-size: 15px;
  transition: transform .18s ease;
}

.first-aid-schedule-apply:hover i {
  transform: translateX(3px);
}

.first-aid-page .course-open-link,
.social-care-page .course-open-link {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: 5px;
  text-align: right;
}

@media (max-width: 1080px) {
  .first-aid-page .training-directory,
  .social-care-page .training-directory {
    grid-template-columns: 1fr;
  }

  .first-aid-program-grid,
  .first-aid-certificate-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .first-aid-page .training-course-list,
  .social-care-page .training-course-list {
    grid-template-columns: 1fr;
  }

  .first-aid-schedule-head,
  .first-aid-schedule-row {
    grid-template-columns: minmax(112px, .75fr) minmax(82px, .5fr) minmax(170px, 1.1fr) minmax(180px, 1fr);
  }
}

@media (max-width: 640px) {
  .first-aid-page .course-filter-form,
  .social-care-page .course-filter-form {
    padding: 20px;
  }

  .training-course-cover {
    min-height: 190px;
    padding: 20px;
  }

  .training-course-cover h3 {
    font-size: 20px;
    margin: 48px 0 20px;
  }

  .first-aid-page .training-course-body,
  .social-care-page .training-course-body {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 18px;
  }

  .first-aid-page .training-course-action,
  .social-care-page .training-course-action {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .first-aid-page .training-course-action .btn-primary,
  .social-care-page .training-course-action .btn-primary {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    margin-top: 8px;
    width: 100%;
  }

  .first-aid-page .course-open-link,
  .social-care-page .course-open-link {
    justify-self: center;
    text-align: center;
  }

  .first-aid-tab-list {
    margin-bottom: 22px;
    width: 100%;
  }

  .first-aid-tab {
    font-size: 13px;
    min-height: 36px;
    padding: 0 15px;
  }

  .first-aid-info-intro h2 {
    font-size: 22px;
  }

  .first-aid-program-item,
  .first-aid-certificate-steps article {
    padding: 18px;
  }

  .first-aid-wysiwyg-content,
  .wysiwyg-content {
    padding: 20px;
  }

  .first-aid-wysiwyg-content h2,
  .wysiwyg-content h2 {
    font-size: 22px;
  }

  .first-aid-wysiwyg-content h3,
  .wysiwyg-content h3 {
    font-size: 17px;
  }

  .first-aid-page .training-directory > .training-page-copy {
    padding-top: 22px;
  }

  .first-aid-page .training-page-copy {
    font-size: 15px;
  }

  .first-aid-page .training-page-copy > p:first-of-type {
    font-size: 16px;
  }

  .first-aid-page .training-page-copy h2 {
    font-size: 23px;
    margin-top: 30px;
  }

  .first-aid-page .training-page-copy .wp-block-gallery.has-nested-images {
    gap: 10px;
    grid-template-columns: 1fr;
    margin: 26px 0;
  }

  .first-aid-page .training-page-copy .wp-block-pullquote blockquote {
    padding: 20px;
  }

  .first-aid-page .training-page-copy .wp-block-pullquote p {
    font-size: 21px;
  }

  .first-aid-schedule-head {
    display: none;
  }

  .first-aid-schedule-row {
    gap: 12px;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 3px 18px;
  }

  .first-aid-schedule-row:first-child {
    padding-top: 8px;
  }

  .first-aid-schedule-cell {
    align-items: start;
    gap: 10px;
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .first-aid-schedule-cell::before {
    color: #7a7485;
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    padding-top: 3px;
  }

  .first-aid-schedule-place span,
  .first-aid-schedule-status-cell .first-aid-status {
    grid-column: 2;
  }

  .first-aid-schedule-status-cell,
  .first-aid-schedule-status-cell .first-aid-status {
    justify-self: start;
    justify-items: start;
  }

  .first-aid-schedule-footer {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px 18px 18px;
  }

  .first-aid-schedule-city {
    align-items: flex-start;
  }

  .first-aid-schedule-apply {
    background: #a80532;
    border-radius: 6px;
    color: #fff;
    justify-content: center;
    padding: 0 18px;
    width: 100%;
  }

  .first-aid-schedule-apply:hover {
    color: #fff;
  }
}

.btn-secondary {
  align-items: center;
  background: #69ab7a;
  border: 1px solid #69ab7a;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  padding-inline: 24px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #578d64;
  border-color: #578d64;
  color: #fff;
}

.course-slider-controls {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: -2px 0 24px;
}

.course-slider-tabs {
  align-items: center;
  background: #fbf8f9;
  border: 1px solid #eadfe3;
  border-radius: 999px;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  max-width: 100%;
  padding: 5px;
}

.course-slider-all-link {
  min-height: 42px;
  white-space: nowrap;
}

.course-slider-tab {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #5d6578;
  cursor: pointer;
  display: inline-flex;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 42px;
  padding: 0 17px;
  position: relative;
  transition: background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.course-slider-tab-icon {
  color: var(--brand);
  display: inline-grid;
  font-size: 15px;
  line-height: 1;
  opacity: .72;
  place-items: center;
  transition: color .18s ease, opacity .18s ease;
}

.course-slider-tab:hover,
.course-slider-tab:focus-visible {
  background: rgba(255, 255, 255, .62);
  color: var(--brand);
}

.course-slider-tab.is-active {
  background: var(--brand);
  box-shadow: none;
  color: #fff;
}

.course-slider-tab.is-active:hover,
.course-slider-tab.is-active:focus-visible {
  background: #8f042a;
  color: #fff;
}

.course-slider-tab.is-active .course-slider-tab-icon {
  color: #fff;
  opacity: 1;
}

.course-slider-panel[hidden] {
  display: none;
}

.course-slider-empty {
  align-items: center;
  background: #fbfafb;
  border-radius: 8px;
  color: #5d6578;
  display: flex;
  min-height: 132px;
  padding: 24px;
}

.course-slider-empty p {
  margin: 0;
}

@media (max-width: 640px) {
  .course-slider-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .course-slider-tabs {
    align-items: stretch;
    border-radius: 16px;
    display: flex;
    width: 100%;
  }

  .course-slider-all-link {
    justify-content: center;
  }

  .course-slider-tab {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Course detail tabs */
.course-tabs-section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.course-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--line);
}

.course-tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color .2s;
  font-family: inherit;
}

.course-tab-btn:hover {
  color: var(--ink);
}

.course-tab-btn.is-active {
  color: var(--brand);
}

.course-tab-btn.is-active::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  background-color: var(--brand);
}

.course-tabs-panels {
  padding-block: 28px 0;
}

.course-tab-panel:not(.is-active) {
  display: none;
}

.course-tab-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 780px;
  text-align: justify;
}

.course-tab-content h2 {
  font-size: 21px;
  margin-block: 28px 12px;
}

.course-tab-content h3 {
  font-size: 17px;
  margin-block: 20px 8px;
}

.course-tab-content ul,
.course-tab-content ol {
  padding-left: 24px;
  margin-block: 12px;
}

.course-tab-content li {
  margin-block: 4px;
}

.course-tab-content a {
  color: var(--brand);
  text-decoration: underline;
}

.course-tab-content strong {
  font-weight: 600;
}

/* Homepage refresh */
.hero {
  min-height: 540px;
  background: #fbfaf8;
}

.hero-photo {
  align-items: stretch;
  justify-content: flex-end;
}

.hero-photo::before {
  display: none;
}

.hero-photo img {
  width: 58%;
  object-position: 100% 47%;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding-block: 78px 112px;
}

.hero-copy {
  max-width: 620px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 76px;
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 16px 0 0;
  color: var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  line-height: 1.16;
}

.hero-text {
  max-width: 510px;
  margin: 24px 0 0;
  color: #242b35;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.home-choice {
  padding-top: 34px;
}

.home-choice-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.home-choice-heading span {
  height: 1px;
  background: #bfc4cc;
}

.home-choice-heading h2 {
  margin: 0;
  color: #1f2730;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.home-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  margin: 24px 0 0;
}

.home-choice-card {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border: 1px solid rgba(226,231,239,.95);
  border-radius: 8px;
  box-shadow: none;
  padding: 24px 34px 22px;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.home-choice-card:hover,
.home-choice-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(25,32,57,.055);
  filter: saturate(1.02);
}

.home-choice-card-red:hover,
.home-choice-card-red:focus-visible {
  border-color: rgba(168,5,50,.2);
}

.home-choice-card-green:hover,
.home-choice-card-green:focus-visible {
  border-color: rgba(85,120,73,.28);
}

.home-choice-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  justify-content: center;
  font-size: 58px;
  line-height: 1;
}

.home-choice-card-red {
  background: #A92A3A;
  border-color: #A92A3A;
  color: #fff;
}

.home-choice-card-red .home-choice-icon,
.home-choice-card-red .home-choice-copy strong,
.home-choice-card-red .home-choice-arrow {
  color: #fff;
}

.home-choice-card-green {
  background: #5E7851;
  border-color: #5E7851;
  color: #fff;
}

.home-choice-card-green .home-choice-icon,
.home-choice-card-green .home-choice-copy strong,
.home-choice-card-green .home-choice-arrow {
  color: #fff;
}

.home-choice-copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 360px;
  margin-top: 16px;
}

.home-choice-copy strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.18;
}

.home-choice-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  margin-top: 16px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 15px;
  transition: transform .18s ease, background .18s ease;
}

.home-choice-card:hover .home-choice-arrow,
.home-choice-card:focus-visible .home-choice-arrow {
  background: rgba(255,255,255,.22);
  transform: translateX(3px);
}

.home-events-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  margin-top: 28px;
  border-radius: 8px;
  background: #eef5f3;
  color: #496b58;
  padding: 0 28px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.home-events-link:hover,
.home-events-link:focus-visible {
  background: #e4efeb;
  color: #31543f;
}

.contact-cta {
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 34px;
}

.contact-cta-methods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-cta-group {
  display: grid;
  gap: 10px;
}

.contact-cta-group h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.contact-cta-group a {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .hero {
    min-height: 500px;
  }

  .hero-content {
    min-height: 500px;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-kicker {
    font-size: 28px;
  }

  .home-choice-grid {
    grid-template-columns: 1fr;
  }

  .contact-cta,
  .contact-cta-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-photo {
    opacity: .24;
  }

  .hero-photo::before {
    display: none;
  }

  .hero-content {
    min-height: 440px;
    padding-block: 36px 84px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-kicker {
    font-size: 24px;
  }

  .hero-text {
    font-size: 17px;
  }

  .home-choice {
    padding-top: 26px;
  }

  .home-choice-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .home-choice-heading span {
    display: none;
  }

  .home-choice-card {
    grid-template-columns: 1fr;
    min-height: 150px;
    padding: 22px;
  }

  .home-choice-icon {
    font-size: 50px;
  }

  .home-events-link {
    gap: 14px;
    padding: 16px 18px;
    font-size: 16px;
  }
}

/* Homepage visual polish */
.hero {
  min-height: 403px;
}

.hero::after {
  height: 100px;
  clip-path: polygon(0 55%, 26% 72%, 52% 75%, 78% 71%, 100% 54%, 100% 100%, 0 100%);
}

.hero-photo::before {
  display: none;
}

.hero-photo img {
  width: 67%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 10%, rgba(0,0,0,.55) 24%, #000 38%, #000 100%);
}

.hero-content {
  min-height: 403px;
  padding-block: 60px 67px;
}

.hero-copy {
  max-width: 610px;
}

.hero-copy h1 {
  font-size: 68px;
}

.hero-kicker {
  margin-top: 12px;
  font-size: 31px;
}

.hero-text {
  max-width: 545px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.55;
}

.home-choice {
  padding-top: 48px;
}

.home-choice-heading {
  gap: 28px;
  margin-bottom: 30px;
}

.home-choice-heading span {
  background: #d6dbe3;
}

.home-choice-heading h2 {
  color: #1b2434;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.home-choice-grid {
  gap: 18px;
  width: 100%;
  margin-top: 0;
}

.home-choice-card {
  min-height: 158px;
  padding: 22px 32px 20px;
}

.home-choice-card:hover,
.home-choice-card:focus-visible {
  box-shadow: 0 8px 18px rgba(25,32,57,.055);
}

.home-choice-icon {
  font-size: 56px;
}

.home-choice-copy {
  margin-top: 15px;
}

.home-choice-copy strong {
  font-size: 20px;
}

#tuvakas-macibas {
  padding-top: 54px;
}

.course-slider-controls {
  margin-bottom: 22px;
}

.course-slider-tabs {
  border-color: #eadde3;
  background: #fbf7f8;
}

.course-slider-tab {
  min-height: 46px;
  padding: 8px 18px;
  font-size: 14px;
}

.course-slider-tab-icon {
  width: 28px;
  height: 28px;
}

.course-slider-all-link {
  font-size: 15px;
}

.course-card {
  border-color: #dfe6ef;
  box-shadow: none;
}

#tuvakas-macibas .course-card .course-image {
  display: none;
}

#tuvakas-macibas .course-card .course-image::after {
  display: none;
}

#tuvakas-macibas .course-card .media-img {
  display: none;
}

#tuvakas-macibas .course-card,
#tuvakas-macibas .course-card > .p-4 {
  min-height: 280px;
}

#tuvakas-macibas .course-card .p-4 {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
}

#tuvakas-macibas .course-card h3 {
  max-width: none;
  min-height: 0;
  margin-top: 14px;
  color: #111827;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

#tuvakas-macibas .course-card h3 a {
  color: inherit;
  text-decoration: none;
}

#tuvakas-macibas .course-date-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: #fff1f3;
  color: var(--brand);
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

#tuvakas-macibas .course-date-badge i {
  font-size: 13px;
}

#tuvakas-macibas .course-card-excerpt {
  margin: 13px 0 0;
  color: #4b5364;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

#tuvakas-macibas .course-session-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-width: none;
}

#tuvakas-macibas .course-session-item {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  border-top: 1px solid #edf0f5;
  padding-top: 8px;
}

#tuvakas-macibas .course-session-item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4d5669;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#tuvakas-macibas .course-session-item i {
  width: 15px;
  color: var(--brand);
  font-size: 13px;
  text-align: center;
}

#tuvakas-macibas .course-card-meta {
  max-width: none;
  margin-top: 14px !important;
}

#tuvakas-macibas .course-card-meta .meta-row {
  color: #5d6578;
  font-size: 14px;
  line-height: 1.3;
}

#tuvakas-macibas .course-card-meta .meta-row i {
  color: var(--brand);
}

#tuvakas-macibas .course-card .mt-5 {
  margin-top: auto;
  padding-top: 18px;
}

#tuvakas-macibas .course-card .btn-outline {
  width: 100%;
  justify-content: space-between;
  border-color: #c61d40;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
}

#tuvakas-macibas .course-card .btn-outline::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

#tuvakas-macibas .course-card .btn-outline:hover,
#tuvakas-macibas .course-card .btn-outline:focus-visible {
  background: #fff7f9;
}

#tuvakas-macibas .course-card-social-care .btn-outline {
  border-color: #6f9470;
  color: #557849;
}

#tuvakas-macibas .course-card-social-care .btn-outline:hover,
#tuvakas-macibas .course-card-social-care .btn-outline:focus-visible {
  background: #f3f8f3;
}

#tuvakas-macibas .course-card-meta .course-availability-ir-brivas-vietas,
#tuvakas-macibas .course-card-meta .course-availability-neizpildita {
  color: #2f7d4f;
  font-weight: 800;
}

#tuvakas-macibas .course-card-meta .course-availability-ir-brivas-vietas i,
#tuvakas-macibas .course-card-meta .course-availability-neizpildita i {
  color: #2f7d4f;
}

.home-benefits {
  margin-top: 48px;
  padding-top: 34px;
}

.home-benefits .home-choice-heading {
  margin-bottom: 30px;
}

.home-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-benefit-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 124px;
  border: 1px solid #e2e7ef;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.home-benefit-card .benefit-icon {
  width: 48px;
  height: 48px;
  background: #f5f6f9;
  color: #788194;
  font-size: 20px;
}

.home-benefit-card h3 {
  margin: 0;
  color: #1b2434;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.home-benefit-card p {
  margin: 6px 0 0;
  color: #4b5364;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.home-contact {
  margin-top: 36px;
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.55fr);
  align-items: stretch;
  gap: 28px;
  border: 1px solid #efd9df;
  border-radius: 8px;
  background: #fff7f9;
  padding: 24px;
}

.contact-cta-intro {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 18px;
  border-right: 1px solid #efdde2;
  padding-right: 28px;
}

.contact-cta-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 27px;
  line-height: 1;
}

.contact-cta p {
  max-width: 430px;
  margin-top: 0 !important;
  color: #5d6578 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.contact-cta-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-cta-group {
  display: grid;
  align-content: start;
  gap: 10px;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.contact-cta-group h3 {
  margin: 0 0 4px;
  color: #a80532;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.contact-cta-group a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #1b2434;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.contact-cta-methods i {
  width: 22px;
  color: var(--brand);
  font-size: 18px;
  text-align: center;
}

@media (max-width: 1180px) {
  .hero-copy h1 {
    font-size: 60px;
  }

  .hero-kicker {
    font-size: 28px;
  }

  .home-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-cta {
    grid-template-columns: 1fr;
  }

  .contact-cta-intro {
    border-right: 0;
    border-bottom: 1px solid #efdde2;
    padding-right: 0;
    padding-bottom: 22px;
  }
}

@media (max-width: 1023px) {
  .hero-photo img {
    width: 68%;
  }

  .hero-content {
    min-height: 380px;
  }

  .home-choice-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-contact {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero::after {
    height: 36px;
  }

  .hero-photo img {
    width: 100%;
  }

  .hero-photo::before {
    display: none;
  }

  .hero-content {
    min-height: 338px;
    padding-block: 28px 56px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-kicker {
    font-size: 22px;
  }

  .home-choice-heading h2 {
    font-size: 22px;
  }

  .home-choice-card {
    min-height: 146px;
    padding: 22px;
  }

  .home-choice-icon {
    font-size: 48px;
  }

  .home-choice-copy {
    margin-top: 14px;
  }

  .home-choice-copy strong {
    font-size: 19px;
  }

  .home-choice-arrow {
    width: 32px;
    height: 32px;
    margin-top: 14px;
    font-size: 14px;
  }

  .home-benefits {
    margin-top: 38px;
    padding-top: 28px;
  }

  .home-benefit-grid,
  .contact-cta-methods {
    grid-template-columns: 1fr;
  }

  .home-benefit-card {
    min-height: auto;
  }

  .contact-cta {
    padding: 20px;
  }

  .contact-cta-intro {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .contact-cta-icon {
    width: 44px;
    height: 44px;
    font-size: 23px;
  }
}

/* Homepage header back link (moved out of the hero) */
.header-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.header-back-link i {
  font-size: 12px;
}

.header-back-link:hover,
.header-back-link:focus-visible {
  color: #7f0325;
}

@media (max-width: 767px) {
  .header-back-link {
    gap: 8px;
    font-size: 13px;
  }
}

/* Footer back-link to the association site */
.footer-lsa-link {
  transition: color .18s ease, text-decoration-color .18s ease;
}

.footer-lsa-link:hover,
.footer-lsa-link:focus-visible {
  color: #7f0325;
  text-decoration: underline;
}

/* Multi-day schedules on the single course page: one line per day, so a
   multi-day course is not read as a single-day one. */
.course-schedule-days {
  display: grid;
  gap: 2px;
}

.course-schedule-day {
  display: block;
}

/* ==========================================================================
   Colour refresh: red header bar and stronger accents.
   --------------------------------------------------------------------------
   Everything for this refresh lives in this single block, so reverting is
   either deleting it or restoring the theme backup. `!important` appears only
   where a compiled Tailwind utility (tailwind.css loads AFTER this file)
   would otherwise win the cascade.
   ========================================================================== */

/* 1. Header: a brand red bar with white content. */
body > header {
  background-color: #a80532 !important;
  border-bottom-color: #8f042a !important;
}

/* The logo is an SVG, so a filter turns it into a white silhouette. */
body > header img {
  filter: brightness(0) invert(1);
}

body > header .text-ink {
  color: #fff !important;
}

body > header .logo-subtitle {
  color: #fff;
}

body > header .nav-link {
  color: rgba(255, 255, 255, .92);
}

body > header .nav-link:hover,
body > header .nav-link.active {
  color: #fff;
}

/* keep the active-link underline readable on red */
body > header .nav-link.active::after {
  background: #fff;
}

/* Homepage back link row: full width, so the tint spans the page instead of
   stopping at the centred container. */
.home-back-link-row {
  background-color: #f5f3f1;
}

/* Homepage back link: its own element under the header, in normal flow, so it
   scrolls away instead of sticking to the top. */
.home-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
  color: #4a4340;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.home-back-link:hover,
.home-back-link:focus-visible {
  color: #a80532;
}

/* "Pieslēgties" was brand red — invert it so it still stands out on red. */
body > header .btn-primary {
  background: #fff;
  border-color: #fff;
  color: #a80532;
}

body > header .btn-primary:hover,
body > header .btn-primary:focus-visible {
  background: #ffe9ef;
  border-color: #ffe9ef;
  color: #8f042a;
}

/* dropdown panels stay light so the links remain readable */
body > header .nav-dropdown {
  background: #fff;
}

/* 2. Brand accent on the "choose your field" divider. */
.home-choice-heading span {
  background-color: #a80532;
  height: 2px;
}

/* 3. Footer: deepen the warm tint so the page closes on colour. */
footer {
  background: #f4e6ea !important;
  border-top-color: #e7ccd4 !important;
}

/* ==========================================================================
   «Vēlos piedalīties mācībās» block on the single course page:
   two white cards (one red, one green) plus a full-width partnership row.
   ========================================================================== */

.course-interest-actions {
  padding: 0;
  border: 0;
}

.course-interest-actions h2 {
  margin: 0 0 12px;
  text-align: center;
}

.course-interest-lead {
  margin: 0 auto 24px;
  max-width: 900px;
  color: #5d6578;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.course-interest-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-interest-card {
  display: flex;
  /* icon left, content right */
  align-items: stretch;
  gap: 18px;
  padding: 26px;
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 5px 12px rgba(25, 32, 57, .045);
}

.course-interest-card .course-interest-icon {
  align-self: flex-start;
}

.course-interest-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.course-interest-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 20px;
}

.course-interest-card-red .course-interest-icon {
  background: #fdeef2;
  color: #a80532;
}

.course-interest-card-green .course-interest-icon {
  background: #eef2ea;
  color: #5e7851;
}

.course-interest-icon-neutral {
  flex: 0 0 auto;
  background: #f1f3f7;
  color: #192039;
}

.course-interest-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.course-interest-card-red h3 { color: #a80532; }
.course-interest-card-green h3 { color: #5e7851; }

.course-interest-card p {
  margin: 0;
  color: #5d6578;
  font-size: 15px;
  line-height: 1.6;
}

/* Buttons */
.course-interest-btn {
  display: inline-flex;
  height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}

.course-interest-btn-red {
  border-color: #a80532;
  background: #a80532;
  color: #fff;
}

.course-interest-btn-red:hover,
.course-interest-btn-red:focus-visible {
  border-color: #7f0325;
  background: #7f0325;
  color: #fff;
}

.course-interest-btn-green {
  border-color: #5e7851;
  background: #fff;
  color: #5e7851;
}

.course-interest-btn-green:hover,
.course-interest-btn-green:focus-visible {
  background: #5e7851;
  color: #fff;
}

/* Social care courses: the application panel carries no border (the cards
   inside have their own). First aid keeps its panel border. */
.course-apply-panel.is-social-care-course {
  border: 0;
}

/* Third block: own row, full width, icon left / text / button right */
.course-interest-partner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 20px 26px;
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(25, 32, 57, .04), 0 5px 12px rgba(25, 32, 57, .045);
}

.course-interest-partner p {
  flex: 1;
  /* keep the line a readable length instead of spanning the whole row */
  max-width: 560px;
  margin: 0;
  color: #192039;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.course-interest-btn-solid {
  flex: 0 0 auto;
  /* the action stays hard right now the text no longer fills the row */
  margin-top: 0;
  margin-left: auto;
  padding-inline: 0;
  border: 0;
  background: none;
  color: #5e7851;
}

.course-interest-btn-solid:hover,
.course-interest-btn-solid:focus-visible {
  background: none;
  color: #3f5437;
}

@media (max-width: 860px) {
  .course-interest-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .course-interest-partner {
    flex-wrap: wrap;
  }

  .course-interest-partner p {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   «Tuvākās mācības» tabs: the social care tab is green when active, the
   first aid tab keeps the brand red. Wins on specificity (3 selectors vs 2),
   so it does not need !important or to sit in a particular order.
   ========================================================================== */

.course-slider-tab[data-course-tab="social-care"].is-active {
  background: #5E7851;
  color: #fff;
}

.course-slider-tab[data-course-tab="social-care"].is-active:hover,
.course-slider-tab[data-course-tab="social-care"].is-active:focus-visible {
  background: #4f6544;
  color: #fff;
}

/* Course list date badge: one or two day+month pairs side by side. */
.course-date-pairs {
  align-items: center;
  display: flex;
  gap: 4px;
}

.training-course-date .course-date-sep {
  margin-top: 0;
  color: #c3c9d4;
  font-size: 18px;
  font-weight: 400;
}

/* Multi-date badge: give the date column more room instead of forcing the box
   wider than its slot (which used to overlap the neighbouring column). */
.training-course-body:has(.course-date-pairs) {
  grid-template-columns: 80px minmax(0, 1fr);
}

/* Plain text pages: single column, no side column. */
.text-layout.is-single {
  grid-template-columns: minmax(0, 1fr);
}
