header .language-picker {
  direction: ltr;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}
header .language-picker a {
  display: grid;
  min-width: 32px;
  justify-items: center;
  line-height: 1.3;
}
.language-flag { display: none; }
header .desktop-menu { display: none; }
html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] .story-card[lang="tr"] { direction: ltr; }
html[dir="rtl"] .carousel-controls { direction: ltr; }
@media (max-width: 767px) {
  header .language-picker { max-width: 224px; }
  header .language-picker a { padding-inline: 4px; }
  header .language-flag { display: block; font-size: 15px; margin-top: 3px; }
  body > header { gap: 8px; }
  body > header .brand img { width: clamp(64px, 22vw, 132px); }
}
@media (min-width: 768px) {
  body > header { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; }
  body > header .desktop-menu {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    gap: 5px 12px;
    flex-wrap: wrap;
    padding: 9px 12px;
    background: linear-gradient(110deg, #e5efff, #f3e7f6, #fbe4ee);
    border: 1px solid #dce1e8;
    border-radius: 12px;
  }
  body > header .desktop-menu a {
    display: inline-block;
    padding: 6px 9px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 7px;
  }
  body > header .desktop-menu a:hover,
  body > header .desktop-menu a:focus-visible { background: #fff; color: #183b9b; }
}

header .header-social { display: none; }
@media (min-width: 768px) {
  header .header-tools { display: grid; justify-items: end; gap: 8px; }
  header .header-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
  }
  header .header-social a {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid #d5dff2;
    border-radius: 50%;
    background: #f4f7fd;
    color: #183b65;
  }
  header .header-social a:hover,
  header .header-social a:focus-visible {
    background: #e7edfd;
    border-color: #a6b9e9;
  }
  header .header-social svg { width: 17px; height: 17px; }
  header .language-picker a { padding: 5px 7px; }
  header .language-flag { display: block; margin-top: 3px; font-size: 15px; }
}
