/* C1 Teknoloji shared header: matches the homepage on every view. */
.main-header {
  padding-top: 18px;
  padding-bottom: 14px;
  transition: background-color .25s ease, padding .25s ease;
}

.main-header .header-lower .inner-container {
  padding-inline: clamp(16px, 2.7vw, 42px);
}

.main-header .header-lower .logo-box {
  gap: 7px;
}

.main-header .header-lower .logo-box .logo {
  width: 118px;
  padding: 0;
  flex: 0 0 auto;
}

.main-header .header-lower .logo-box .logo img {
  display: block;
  width: 100%;
  height: auto;
}

.main-header .header-lower .logo-text,
.logo-text {
  margin-left: 0;
  font-size: clamp(14px, 1.25vw, 19px);
  letter-spacing: .045em;
  white-space: nowrap;
}

.main-header .main-menu .navigation > li {
  margin-right: clamp(8px, 1.1vw, 20px);
  padding-left: clamp(22px, 2vw, 34px);
}

.main-header .main-menu .navigation > li:before {
  left: 3px;
  width: 13px;
  background: rgba(255, 255, 255, .48);
}

.main-header .main-menu .navigation > li > a {
  font-size: 13px;
  letter-spacing: .055em;
  transition: color .2s ease;
}

.main-header .main-menu .navigation > li.current > a,
.main-header .main-menu .navigation > li:hover > a {
  color: #ff4b9c;
}

@media (max-width: 1199px) {
  .main-header .main-menu .navigation > li {
    padding-left: 20px;
    margin-right: 7px;
  }

  .main-header .main-menu .navigation > li > a {
    font-size: 11px;
  }
}

/* Use the same compact, single-row mobile header on every page. */
@media (max-width: 1023px) {
  .main-header {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001;
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    padding: 10px 0 !important;
    background: #09090b !important;
  }

  .main-header .header-lower {
    display: block !important;
    position: relative;
    padding: 0 !important;
  }

  .main-header .header-lower .inner-container {
    display: block !important;
    padding-inline: 14px;
  }

  .main-header .header-lower .inner-container > .d-flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
    min-height: 48px;
  }

  .main-header .header-lower .logo-box {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 54px);
    min-width: 0;
    gap: 7px;
    float: none;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-header .header-lower .logo-box .logo {
    display: block !important;
    flex: 0 0 58px;
    width: 58px;
    padding: 0 !important;
    margin: 0;
  }

  .main-header .header-lower .logo-box .logo img {
    display: block !important;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .main-header .header-lower .logo-text,
  .main-header .header-lower .logo-box .logo-text {
    display: block !important;
    color: #fff;
    margin: 0;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
  }

  .main-header .nav-outer {
    display: none !important;
  }

  .main-header .mobile-nav-toggler {
    display: flex !important;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 0 0 auto !important;
    padding: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 4px;
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .main-header .mobile-nav-toggler svg {
    display: block;
    position: static;
    width: 23px;
    height: 23px;
  }

  .mobile-menu {
    width: min(360px, 88vw);
    padding-right: 0;
  }

  .mobile-menu .menu-box {
    background: #101014;
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-menu .nav-logo {
    display: flex;
    align-items: center;
    min-height: 82px;
    padding: 18px 62px 18px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .mobile-menu .nav-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    text-decoration: none;
  }

  .mobile-menu .nav-logo img {
    display: block;
    width: 66px;
    max-width: 66px;
    height: auto;
  }

  .mobile-menu .nav-logo .mobile-menu-brand {
    color: #fff;
    font-family: 'Clash Display', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .main-header .mobile-menu .navigation {
    border-top: 0;
  }

  .main-header .mobile-menu .navigation li {
    border-bottom-color: rgba(255, 255, 255, .1);
  }

  .main-header .mobile-menu .navigation li > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 20px;
    padding-right: 56px;
    color: rgba(255, 255, 255, .88);
    font-family: 'Clash Display', sans-serif;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    text-transform: uppercase;
    transition: color .18s ease, background-color .18s ease;
  }

  .main-header .mobile-menu .navigation li:hover > a,
  .main-header .mobile-menu .navigation li.current > a,
  .main-header .mobile-menu .navigation li.open > a {
    color: #ff4b9c;
    background: rgba(186, 2, 74, .08);
  }

  .main-header .mobile-menu .navigation li.dropdown .dropdown-btn {
    top: 2px;
    right: 4px;
    width: 44px;
    height: 44px;
    line-height: 44px;
    color: #fff;
  }

  .main-header .mobile-menu .navigation li.dropdown .dropdown-btn:after {
    border-left-color: rgba(255, 255, 255, .14);
  }

  .main-header .mobile-menu .navigation li > ul {
    background: rgba(255, 255, 255, .025);
  }

  .main-header .mobile-menu .navigation li > ul > li > a {
    min-height: 42px;
    padding: 10px 20px 10px 34px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    text-transform: none;
  }
}

@media (max-width: 380px) {
  .main-header .header-lower .inner-container {
    padding-inline: 11px;
  }

  .main-header .header-lower .logo-box .logo {
    flex-basis: 52px;
    width: 52px;
  }

  .main-header .mobile-nav-toggler {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}
