/**
 * rs-header-three: tema varsayılanı .rs-header-logo img { max-width: 85px } — logo kutusu 360×135px
 */
.rs-header-three .rs-header-logo img {
  max-width: min(280px, 70vw);
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.rs-header-three .rs-sticky-header .rs-header-logo img {
  max-height: 88px;
  max-width: 240px;
}

@media only screen and (max-width: 1199px) {
  .rs-header-three .rs-header-logo img {
    max-width: 200px;
    max-height: 68px;
  }
  .rs-header-three .rs-sticky-header .rs-header-logo img {
    max-height: 76px;
    max-width: 190px;
  }
}

@media only screen and (max-width: 991px) {
  .rs-header-three .rs-header-logo img {
    max-width: 170px;
    max-height: 62px;
  }
  .rs-header-three .rs-sticky-header .rs-header-logo img {
    max-height: 68px;
    max-width: 160px;
  }
}

@media only screen and (max-width: 767px) {
  .rs-header-three .rs-header-logo img {
    max-width: 150px;
    max-height: 52px;
  }
}

@media only screen and (max-width: 575px) {
  .rs-header-three .rs-header-logo img {
    max-width: 130px;
    max-height: 46px;
  }
}

@media only screen and (max-width: 480px) {
  .rs-header-three .rs-header-logo img {
    max-width: 220px;
    max-height: 56px;
  }
}

/**
 * 13" MacBook Air vb. (yaklaşık 992–1535px): logo kutusu ve menü yükü azaltılır,
 * menü linkleri tek satırda kalır (kayık / iki satırlı "Ana Sayfa" önlenir).
 */
@media only screen and (min-width: 992px) and (max-width: 1535px) {
  .rs-header-three .rs-header-left {
    margin-top: 0;
  }

  .rs-header-three .rs-header-logo-wrapper {
    width: min(252px, 24vw);
    height: 96px;
    padding-inline-start: 10px;
  }

  .rs-header-three .rs-sticky-header .rs-header-logo-wrapper {
    width: min(232px, 22vw);
    height: 80px;
    padding-inline-start: 8px;
  }

  .rs-header-three .rs-header-logo img {
    max-width: min(200px, 28vw);
    max-height: 72px;
  }

  .rs-header-three .rs-sticky-header .rs-header-logo img {
    max-width: min(180px, 26vw);
    max-height: 64px;
  }

  .rs-header-three .main-menu > ul {
    flex-wrap: nowrap;
  }

  .rs-header-three .main-menu > ul > li > a {
    padding: 26px 11px;
    font-size: 15px;
    white-space: nowrap;
  }

  .rs-header-three .rs-header-right {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .rs-header-three .rs-header-btn .rs-btn {
    font-size: 14px;
    padding: 10px 16px;
    height: 46px;
    gap: 8px;
  }

  .rs-header-three .rs-header-btn .rs-btn.has-icon .icon-box svg {
    width: 14px;
    height: 14px;
  }

  .rs-header-three .rs-lang-switch--header {
    font-size: 13px;
    margin-right: 6px;
    gap: 4px;
  }

  .rs-header-three .rs-lang-switch--header .rs-lang-link {
    padding: 6px 10px;
    min-width: 2.25rem;
    min-height: 2.25rem;
  }

  .rs-header-three .rs-search-btn {
    font-size: 18px;
    padding: 6px 8px;
  }
}
