/* ==========================================================================
   Fethiyede.com — T4628 Ortak 8-Dil Secici (TR EN DE FR AR RU ES NL) ve
   AR RTL (390 / 768 / 1280 / 1920 Sifir Tasma) Stil Katmani
   ========================================================================== */
.fd-t4628-lang-bar {
  width: 100%;
  max-width: 100%;
  background: #FAF5EC;
  border-bottom: 1px solid rgba(112, 45, 59, 0.16);
  padding: 5px 12px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[data-theme="dark"] .fd-t4628-lang-bar,
body.dark-mode .fd-t4628-lang-bar {
  background: #0F172A;
  border-bottom-color: #334155;
  color: #F8FAFC;
}
.fd-t4628-lang-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
.fd-t4628-globe {
  font-size: 0.92rem;
  flex-shrink: 0;
}
.fd-t4628-lang-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}
.fd-t4628-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 34px;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid rgba(112, 45, 59, 0.28);
  background: #FFFDF9;
  color: #221A14;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
  box-sizing: border-box;
}
.fd-t4628-lang-pill:hover,
.fd-t4628-lang-pill:focus-visible {
  border-color: #702D3B;
  background: rgba(112, 45, 59, 0.08);
}
.fd-t4628-lang-pill.is-active,
.fd-t4628-lang-pill[aria-current="true"] {
  background: #702D3B;
  color: #FAF5EC !important;
  border-color: #702D3B;
}
html[data-theme="dark"] .fd-t4628-lang-pill,
body.dark-mode .fd-t4628-lang-pill {
  background: #1E293B;
  color: #F8FAFC;
  border-color: #475569;
}
html[data-theme="dark"] .fd-t4628-lang-pill.is-active,
html[data-theme="dark"] .fd-t4628-lang-pill[aria-current="true"] {
  background: #38BDF8;
  color: #0F172A !important;
  border-color: #38BDF8;
}

/* 390px Mobil: 8 dil tek kompakt satirda yatay tasma yapmadan sığar */
@media (max-width: 480px) {
  .fd-t4628-lang-bar {
    padding: 4px 8px;
  }
  .fd-t4628-lang-inner {
    justify-content: space-between;
    gap: 4px;
  }
  .fd-t4628-lang-list {
    gap: 3px;
  }
  .fd-t4628-lang-pill {
    min-width: 34px;
    min-height: 36px;
    padding: 3px 5px;
    font-size: 0.74rem;
  }
}

/* AR (dir="rtl") Tam Mantiksal Hizalama ve 390/768/1280/1920 Tasma Kilidi */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  max-width: 100%;
  overflow-x: clip;
}
html[dir="rtl"] .tc-card h2 {
  border-left: 0 !important;
  padding-left: 0 !important;
  border-right: 4px solid var(--gold, #d4a017);
  padding-right: 8px;
}
html[dir="rtl"] .fd-t4628-lang-bar {
  /* Dil kodlari (TR EN DE FR AR RU ES NL) her dilde ayni soldan-saga sirayi korur */
  direction: ltr;
}
html[dir="rtl"] main,
html[dir="rtl"] header,
html[dir="rtl"] section,
html[dir="rtl"] article,
html[dir="rtl"] footer {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
