/* Mobile-only navigation. Desktop keeps the existing Elementor mega menu. */
.elementor-9 .yca-m-panel[hidden], .elementor-9 .yca-m-group-content[hidden] { display: none !important; }
.elementor-9 .yca-m-panel { display: none; }
@media (max-width: 1024px) {
  html.yca-mobile-menu-open, html.yca-mobile-menu-open body { overflow: hidden !important; overscroll-behavior: none; }
  .elementor-9 .yca-header-menu[data-yca-mobile-ready] > .elementor-widget-container > nav.elementor-nav-menu--dropdown { display: none !important; }
  .elementor-9 .yca-header-menu[data-yca-mobile-ready] .elementor-menu-toggle { background: #06236b; border-color: #06236b; color: #fff !important; min-width: 93px; min-height: 44px; justify-content: center; }
  .elementor-9 .yca-header-menu[data-yca-mobile-ready] .elementor-menu-toggle::before, .elementor-9 .yca-header-menu[data-yca-mobile-ready] .elementor-menu-toggle i { color: #fff !important; }
  html.yca-mobile-menu-open #wpvibe-preview-banner { display: none !important; }
  .elementor-9 .yca-header-menu[data-yca-mobile-ready] .elementor-menu-toggle.elementor-active { background: #15377c; border-color: #15377c; }
  .elementor-9 .yca-m-panel {
    position: fixed; z-index: 1003; inset: var(--yca-menu-top, 72px) 0 0;
    display: flex; flex-direction: column; width: 100%; height: calc(100vh - var(--yca-menu-top, 72px)); height: calc(100dvh - var(--yca-menu-top, 72px));
    max-width: 100%; background: #06236b; color: #fff; color-scheme: dark;
    font-family: Inter, sans-serif; font-size: 14px; text-align: left; line-height: 1.4;
    overflow: hidden; box-shadow: 0 12px 28px #10265726;
  }
  .elementor-9 .yca-m-panel *, .elementor-9 .yca-m-panel *::before, .elementor-9 .yca-m-panel *::after { box-sizing: border-box; }
  .elementor-9 .yca-m-panel a { color: inherit; text-decoration: none; }
  .elementor-9 .yca-m-panel button { font: inherit; text-transform: none; letter-spacing: normal; }
  .elementor-9 .yca-m-panel a:focus-visible, .elementor-9 .yca-m-panel button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  .elementor-9 .yca-m-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 21px 18px 18px; scrollbar-color: #5576bd #06236b; }
  .elementor-9 .yca-m-eyebrow { margin: 0 0 15px; color: #b8cbee; font-size: 11px; letter-spacing: 1.1px; font-weight: 500; text-transform: uppercase; }
  .elementor-9 .yca-m-groups { display: grid; gap: 9px; }
  .elementor-9 .yca-m-group { background: #15377c; border: 1px solid #ffffff13; border-radius: 11px; overflow: hidden; }
  .elementor-9 .yca-m-group.is-expanded { border-color: #ffffff40; }
  .elementor-9 .yca-m-group-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 70px; margin: 0; padding: 14px 15px; border: 0; border-radius: 10px; background: transparent; color: #fff; text-align: left; cursor: pointer; }
  .elementor-9 .yca-m-group-copy, .elementor-9 .yca-m-card-copy { display: block; min-width: 0; }
  .elementor-9 .yca-m-group-title { display: block; font-size: 16px; line-height: 1.3; font-weight: 600; }
  .elementor-9 .yca-m-group-detail { display: block; margin-top: 4px; font-size: 11px; line-height: 1.5; font-weight: 400; color: #c5d4ef; }
  .elementor-9 .yca-m-chevron { display: block; flex: 0 0 8px; width: 8px; height: 8px; margin: -5px 3px 0 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .16s ease; }
  .elementor-9 .yca-m-group-toggle[aria-expanded="true"] .yca-m-chevron { transform: rotate(225deg); margin-top: 3px; }
  .elementor-9 .yca-m-group-content { padding: 0 9px 9px; }
  .elementor-9 .yca-m-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .elementor-9 .yca-m-card { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; min-width: 0; min-height: 117px; padding: 13px 11px; background: #ffffff09; border: 1px solid #ffffff13; border-radius: 8px; }
  .elementor-9 .yca-m-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; color: #b9d3ff; }
  .elementor-9 .yca-m-icon svg { display: block; width: 22px; height: 22px; }
  .elementor-9 .yca-m-level { border: 1px solid #b9d3ff66; border-radius: 5px; font-size: 11px; line-height: 1; font-weight: 600; }
  .elementor-9 .yca-m-card-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
  .elementor-9 .yca-m-card-detail { display: block; margin-top: 4px; color: #c5d4ef; font-size: 10px; font-weight: 400; line-height: 1.5; }
  .elementor-9 .yca-m-extra-links { margin-top: 6px; }
  .elementor-9 .yca-m-extra { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 11px; border-top: 1px solid #ffffff20; font-size: 12px; }
  .elementor-9 .yca-m-extra .yca-m-icon, .elementor-9 .yca-m-extra .yca-m-icon svg { width: 17px; height: 17px; }
  .elementor-9 .yca-m-plain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; margin: 15px 0 17px; }
  .elementor-9 .yca-m-plain-link { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid #ffffff25; font-size: 13px; font-weight: 400; }
  .elementor-9 .yca-m-plain-link .yca-m-icon, .elementor-9 .yca-m-plain-link .yca-m-icon svg { width: 16px; height: 16px; }
  .elementor-9 .yca-m-test { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 16px; background: #ffffff09; border: 1px solid #5377bb; border-radius: 9px; }
  .elementor-9 .yca-m-test-title { display: block; color: #fff; font-size: 14px; font-weight: 500; }
  .elementor-9 .yca-m-test-label { display: block; margin-top: 5px; color: #c7d8f5; font-size: 11px; }
  .elementor-9 .yca-m-footer { flex: 0 0 auto; padding: 13px 18px max(8px, env(safe-area-inset-bottom)); background: #06236b; border-top: 1px solid #ffffff30; box-shadow: 0 -10px 24px #02174426; }
  .elementor-9 .yca-m-contact { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 48px; padding: 12px 16px; background: #c4112c; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 500; }
  .elementor-9 .yca-m-contact .yca-m-icon { color: #fff; }
  .elementor-9 .yca-m-contact-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
  .elementor-9 .yca-m-phone { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 11px; color: #d2dff5; white-space: nowrap; }
  .elementor-9 .yca-m-phone .yca-m-icon, .elementor-9 .yca-m-phone .yca-m-icon svg { width: 15px; height: 15px; }
  .elementor-9 .yca-m-socials { display: flex; align-items: center; gap: 0; }
  .elementor-9 .yca-m-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 16px; color: #fff; border-radius: 6px; }
  .elementor-9 .yca-m-card[aria-current="page"], .elementor-9 .yca-m-extra[aria-current="page"], .elementor-9 .yca-m-plain-link[aria-current="page"] { box-shadow: inset 3px 0 #f6a7b5; }
  .elementor-9 .yca-m-group-toggle:hover, .elementor-9 .yca-m-card:hover, .elementor-9 .yca-m-extra:hover, .elementor-9 .yca-m-plain-link:hover, .elementor-9 .yca-m-social:hover { background-color: #ffffff10; color: #fff; }
  .elementor-9 .yca-m-contact:hover { background: #ad1028; }
  .elementor-9 .yca-m-test:hover { background: #15377c; }
}
@media (max-width: 359px) {
  .elementor-9 .yca-m-scroll { padding-inline: 13px; }
  .elementor-9 .yca-m-footer { padding-inline: 13px; }
  .elementor-9 .yca-m-card { padding: 11px 8px; }
  .elementor-9 .yca-m-card-title { font-size: 12px; }
  .elementor-9 .yca-m-phone { font-size: 10px; gap: 5px; }
  .elementor-9 .yca-m-group-title { font-size: 15px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
  .elementor-9 .yca-m-scroll, .elementor-9 .yca-m-footer { padding-inline: max(24px, calc((100vw - 650px) / 2)); }
  .elementor-9 .yca-m-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .elementor-9 #yca-mobile-maturita .yca-m-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .elementor-9 .yca-m-chevron { transition: none; } }
