/* Erkal editorial design system. Screen-only; technical data and print stay intact. */
@media screen {
  body.editorial-v3 {
    --corp-navy: #142638;
    --corp-navy-deep: #0c1823;
    --corp-navy-soft: #243d51;
    --corp-ink: #192b3b;
    --corp-copy: #58616b;
    --corp-muted: #666d76;
    --corp-red: #bd1335;
    --corp-red-dark: #9c1030;
    --corp-paper: #fff;
    --corp-off-white: #f5f5f7;
    --corp-soft: #eeeef0;
    --corp-line: #dddde2;
    --corp-line-dark: #c5c5cb;
    --corp-container: 1280px;
    --corp-gutter: clamp(22px, 5vw, 80px);
    --corp-section: clamp(64px, 8vw, 132px);
    --corp-shadow: 0 18px 50px #1426380b;
    --corp-shadow-soft: 0 6px 24px #14263808;
    --radius: 24px;
    --radius-md: 20px;
    --radius-sm: 12px;
    --erkal-size-hero: clamp(3rem, 1.5rem + 4vw, 5.8rem);
    --erkal-size-h1: clamp(2.4rem, 1.5rem + 3vw, 4.5rem);
    --erkal-size-h2: clamp(2rem, 1.4rem + 1.8vw, 3.5rem);
    --erkal-size-card: clamp(1.5rem, 1.2rem + .5vw, 1.85rem);
    --erkal-size-lead: clamp(1.0625rem, .95rem + .3vw, 1.25rem);
    --erkal-heading-gap: 1.15rem;
    --editorial-header-height: 64px;
    color: var(--corp-ink);
    background: #fff !important;
    -webkit-font-smoothing: antialiased;
  }
  body.editorial-v3 .container { width: min(calc(100% - var(--corp-gutter) * 2), var(--corp-container)); }
  body.editorial-v3 :is(h1,h2,h3,h4) { text-wrap: balance; }
  body.editorial-v3 :is(.section-kicker,.eyebrow,.mega-menu-title) { text-transform: none; letter-spacing: .025em; }
  body.editorial-v3 :is(.section-kicker,.eyebrow)::before,
  body.editorial-v3 .eyebrow .dot { display: none; }
  body.editorial-v3 .btn {
    border-radius: 999px !important;
    padding: 12px 24px;
    min-height: 46px;
    box-shadow: none !important;
    transition: background .2s, color .2s, transform .2s;
  }
  body.editorial-v3 .btn:hover { transform: translateY(-1px); box-shadow: none !important; }
  body.editorial-v3 .btn-secondary { border: 1px solid var(--corp-line-dark) !important; }
  body.editorial-v3 :is(a,button,input,select,textarea,summary):focus-visible {
    outline: 3px solid #bd1335; outline-offset: 4px;
  }
  body.editorial-v3 :is(input,select,textarea) {
    border-radius: 12px; border-color: #cacbd0; background-color: #fff;
  }
  body.editorial-v3 :is(.section,.section-sm) { scroll-margin-top: 88px; }
  body.editorial-v3 :is(.card,.related-card,.technical-card-v2) {
    border-radius: 22px; box-shadow: none; transition: transform .25s, box-shadow .25s;
  }
  body.editorial-v3 :is(a.card,.related-card,.technical-card-v2):hover {
    transform: translateY(-3px); box-shadow: 0 12px 36px #1426380a;
  }
  body.editorial-v3 .topbar { display: none; }
  body.editorial-v3 .site-header {
    top: 0; z-index: 700;
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid #1426380d;
    box-shadow: none !important;
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
  }
  body.editorial-v3 .nav-wrap {
    min-height: var(--editorial-header-height) !important;
    width: min(calc(100% - 48px), 1320px);
    gap: 16px;
  }
  body.editorial-v3 .site-header .logo-wordmark { padding: 8px 0; flex: 0 0 auto; }
  body.editorial-v3 .site-header .logo-wordmark img {
    width: 108px !important; max-width: 108px !important; height: auto;
  }
  body.editorial-v3 .main-nav { height: 64px; gap: 0; }
  body.editorial-v3 .main-nav > a,
  body.editorial-v3 .main-nav .nav-dropdown > :is(button,a) {
    min-height: 64px; padding-inline: 8px;
    font-size: .75rem !important; font-weight: 500 !important;
    letter-spacing: -.015em; background: transparent !important;
  }
  body.editorial-v3 .nav-dropdown-split > button {
    width: 25px; min-width: 25px; padding-inline: 3px;
  }
  body.editorial-v3 .nav-cta {
    flex: 0 0 auto; padding: 7px 15px; min-height: 34px;
    font-size: .75rem !important;
  }
  body.editorial-v3 .mobile-language-wrap {
    display: flex !important; position: relative; margin: 0; order: 3; z-index: 750;
  }
  body.editorial-v3 .mobile-language-wrap .language-switch {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    width: 44px !important; min-width: 44px !important; height: 44px !important;
    min-height: 44px !important; padding: 6px !important;
    border: 0 !important; border-radius: 50%; background: transparent !important;
    color: var(--corp-ink) !important;
  }
  body.editorial-v3 .language-switch .language-flag { width: 22px; height: auto; flex-basis: 22px; border-radius: 2px; }
  body.editorial-v3 .language-switch .lang-caret { font-size: 9px; }
  body.editorial-v3 .language-menu,
  body.editorial-v3 .mobile-language-wrap .language-menu {
    inset-inline-end: 0; top: calc(100% + 10px); width: 224px;
    padding: 8px; border: 1px solid #dedee3 !important; border-radius: 18px;
    box-shadow: 0 16px 50px #14263821 !important; background: #fff !important;
    max-height: calc(100dvh - 90px); overflow-y: auto;
  }
  body.editorial-v3 .language-option { min-height: 44px; border-radius: 10px; padding: 10px 12px; }
  body.editorial-v3 .dropdown-menu,
  body.editorial-v3 .dropdown-menu--scroll,
  body.editorial-v3 .nav-dropdown:first-of-type .dropdown-menu {
    top: 100%; width: min(900px,100%); padding: 28px;
    gap: 12px 36px; border: 1px solid #e7e7eb; border-top: 0;
    border-radius: 0 0 22px 22px; background: #fff !important;
    box-shadow: 0 30px 50px #14263812 !important;
    max-height: calc(100dvh - 100px); overflow-y: auto;
  }
  body.editorial-v3 .dropdown-menu a {
    border: 0; border-radius: 8px; padding: 9px 12px;
    font-size: .875rem !important; line-height: 1.45;
  }
  body.editorial-v3 .mega-menu-title { font-size: .75rem; color: #777d84; padding: 0 12px 12px; font-weight: 500; }
  body.editorial-v3 .mega-menu-footer { padding-top: 10px; margin-top: 8px; }
  body.editorial-v3 .corporate-submenu { grid-template-columns: 1fr; }
  body.editorial-v3 .main-nav > a::after { display: none; }
  body.editorial-v3 .site-footer {
    color: var(--corp-copy); background: #f5f5f7 !important; border-top: 0; padding-top: 64px;
  }
  body.editorial-v3 .site-footer::before { display: none; }
  body.editorial-v3 .site-footer .logo-wordmark img { width: 130px; filter: none; }
  body.editorial-v3 .footer-title { color: var(--corp-ink); font-size: .8125rem !important; margin-bottom: 14px; }
  body.editorial-v3 :is(.footer-links a,.footer-links span,.footer-brand p,.footer-social a) {
    color: #626970; font-size: .8125rem; line-height: 1.7;
  }
  body.editorial-v3 .footer-grid { gap: 40px; padding-bottom: 42px; }
  body.editorial-v3 :is(.footer-directory-v2,.footer-bottom) { border-color: #dcdce0; color: #73777d; font-size: .75rem; }
  body.editorial-v3 .footer-directory-v2 a { color: #555e67; font-size: .75rem !important; }
  body.editorial-v3 .footer-bottom,
  body.editorial-v3 .footer-bottom :is(a,span,p) { color: #626970 !important; }
  body.editorial-v3 .mobile-cta {
    inset: auto 12px max(10px, env(safe-area-inset-bottom));
    width: calc(100% - 24px); max-width: 520px; margin-inline: auto;
    border: 1px solid #d7d8dc; border-radius: 20px;
    background: rgba(255,255,255,.96); backdrop-filter: blur(14px);
    box-shadow: 0 6px 30px #14263814; overflow: hidden;
  }
  body.editorial-v3 .mobile-cta a { min-height: 56px; background: transparent !important; color: var(--corp-ink) !important; font-size: .75rem !important; }
  body.editorial-v3 .mobile-cta a:nth-child(2) { background: var(--corp-navy) !important; color: #fff !important; }
  body.editorial-v3 .mobile-cta a > span:first-child { font-size: 18px; }
  body.editorial-v3 .consent-banner {
    max-width: 1100px; padding: 22px 26px; gap: 22px;
    border: 1px solid #dedee3; border-radius: 22px;
    background: #fff; color: var(--corp-ink); box-shadow: 0 12px 70px #14263826;
  }
  body.editorial-v3 .consent-banner h2 { color: var(--corp-ink) !important; }
  body.editorial-v3 .consent-banner :is(p,a) { color: var(--corp-copy); font-size: .875rem; }
  body.editorial-v3 .consent-btn { border-radius: 24px; background: #f5f5f7; border-color: #dedee3; }
  body.editorial-v3 .consent-btn:hover { background: #e9e9ed; }
  body.editorial-v3 .consent-dialog { border: 0; border-radius: 24px; }
  body.editorial-v3 .consent-close { border-radius: 50%; }
  body.editorial-v3 .consent-category { border-radius: 16px; }
  body.editorial-v3 .faq details { border-radius: 0; border-inline: 0; background: transparent; }
  body.editorial-v3 .faq summary { padding-block: 24px; }
  body.editorial-v3 .reveal { opacity: 1 !important; transform: none; }
  [dir="rtl"] body.editorial-v3 { --erkal-font-heading: "Segoe UI",Arial,sans-serif; --erkal-font-body: "Segoe UI",Arial,sans-serif; }
  @media(min-width:901px) {
    body.editorial-v3 .site-header .corporate-dropdown .corporate-submenu { width: 320px; }
  }
  @media(min-width:901px) and (max-width:1150px) {
    body.editorial-v3 .nav-wrap { width: calc(100% - 24px); gap: 6px; }
    body.editorial-v3 .site-header .logo-wordmark img { width: 88px !important; }
    body.editorial-v3 .main-nav > a, body.editorial-v3 .main-nav .nav-dropdown > :is(button,a) { padding-inline: 5px; font-size: .68rem !important; }
    body.editorial-v3 .nav-dropdown-split > button { width: 20px; min-width: 20px; }
    body.editorial-v3 .nav-cta { padding-inline: 11px; }
  }
  @media(max-width:900px) {
    body.editorial-v3 { --editorial-header-height: 60px; padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
    body.editorial-v3 .nav-wrap { width: calc(100% - 36px); gap: 8px; }
    body.editorial-v3 .site-header .logo-wordmark img { width: 112px !important; max-width: 112px !important; }
    body.editorial-v3 .nav-cta { display: none; }
    body.editorial-v3 .mobile-language-wrap { margin-inline-start: auto; order: 2; }
    body.editorial-v3 .nav-toggle {
      order: 3; margin: 0; width: 44px !important; height: 44px !important;
      border: 0 !important; border-radius: 50%; background: transparent !important;
      font-size: 24px; font-weight: 400;
    }
    body.editorial-v3 .site-header .main-nav {
      top: 60px !important; height: calc(100dvh - 60px); max-height: calc(100dvh - 60px);
      padding: 24px 22px 40px; border: 0 !important; box-shadow: none !important;
      background: #fff !important; z-index: 710;
    }
    body.editorial-v3 .site-header .main-nav > a,
    body.editorial-v3 .site-header .main-nav .nav-dropdown > :is(button,a) {
      padding: 16px 10px; min-height: 58px; font-size: 1.2rem !important;
      font-weight: 500 !important; border: 0; line-height: 1.35;
    }
    body.editorial-v3 .site-header .main-nav > .nav-dropdown:not(.nav-dropdown-split) > button[data-dropdown-toggle] {
      padding: 16px 0 16px 10px;
    }
    body.editorial-v3 .site-header .nav-dropdown-split { grid-template-columns: minmax(0,1fr) 44px; }
    body.editorial-v3 .site-header .nav-dropdown-split > button { width: 44px !important; min-width: 44px; padding: 16px 0; justify-content: center; }
    body.editorial-v3 .site-header .main-nav > .nav-dropdown:not(.nav-dropdown-split) .nav-dropdown-caret { width: 44px; min-width: 44px; justify-content: center; }
    body.editorial-v3 .dropdown-menu,
    body.editorial-v3 .dropdown-menu--scroll,
    body.editorial-v3 .nav-dropdown:first-of-type .dropdown-menu {
      position: static; width: 100%; max-height: none; padding: 14px 8px 20px;
      border: 0 !important; border-radius: 16px; background: #f5f5f7 !important;
      box-shadow: none !important; overflow: visible; gap: 12px;
    }
    body.editorial-v3 .dropdown-menu a { font-size: .9rem !important; padding: 13px 12px; }
    body.editorial-v3 .mega-menu-title { padding: 10px 12px 8px; }
    body.editorial-v3 .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
    body.editorial-v3 .footer-brand { grid-column: 1 / -1; max-width: 560px; }
  }
  @media(max-width:600px) {
    body.editorial-v3 { --corp-gutter: 22px; }
    body.editorial-v3 .btn { padding: 11px 20px; }
    body.editorial-v3 .consent-banner { inset: auto 8px 8px; padding: 18px; border-radius: 20px; }
    body.editorial-v3 .footer-grid > :last-child { grid-column: 1 / -1; }
    body.editorial-v3 .footer-directory-v2 { gap: 16px; }
  }
  @media(prefers-reduced-motion:reduce) {
    body.editorial-v3 *, body.editorial-v3 *::before, body.editorial-v3 *::after {
      scroll-behavior: auto !important; transition: none !important; animation: none !important;
    }
  }
}
