/* Dil değiştirici + RTL yardımcıları — tüm tier'larda ortak (portal/mobile/app/landing/auth).
   CSP: native <details>/<summary>, inline JS yok. Renk currentColor → her başlıkta uyumlu. */
.lang-switch{position:relative;display:inline-block}
.lang-switch>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;border-radius:9px;font-size:13px;font-weight:600;color:inherit;
  background:rgba(127,127,127,.14);white-space:nowrap;-webkit-user-select:none;user-select:none}
.lang-switch>summary::-webkit-details-marker{display:none}
.lang-switch>summary::marker{content:""}
.lang-switch>summary svg{width:16px;height:16px;flex-shrink:0;stroke:currentColor}
.lang-switch>summary .ls-cur{max-width:88px;overflow:hidden;text-overflow:ellipsis}
.lang-switch[open]>summary{background:rgba(127,127,127,.26)}
.lang-menu{position:absolute;top:calc(100% + 6px);inset-inline-end:0;z-index:80;
  background:#fff;border:1px solid #e3e8ef;border-radius:12px;box-shadow:0 12px 34px rgba(16,40,65,.2);
  padding:6px;min-width:184px;max-height:62vh;overflow-y:auto;
  display:grid;grid-template-columns:1fr 1fr;gap:2px}
.lang-menu a{display:block;padding:8px 10px;border-radius:8px;font-size:13px;color:#16263a;
  text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lang-menu a:hover{background:#eef2f8}
.lang-menu a[aria-current=true]{background:#1b5fa8;color:#fff;font-weight:700}

/* RTL: mantıksal özellikler (inset-inline-end) yönü kendiliğinden çevirir; metni sağa yasla. */
[dir=rtl] .lang-menu{text-align:right}
[dir=rtl] .lang-switch>summary{flex-direction:row-reverse}

/* Header ÜLKE mega menüsü — bölge-gruplu geniş panel (country_menu.php). */
.country-menu .country-panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:90;
  background:#fff;border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 20px 50px rgba(16,40,65,.24);
  padding:18px 20px;width:min(780px,94vw);max-height:74vh;overflow-y:auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px 22px;align-items:start}
.cm-group-title{font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;
  color:#8a98ad;margin:0 0 8px;padding-bottom:6px;border-bottom:1px solid #eef2f8}
.cm-list{display:flex;flex-direction:column;gap:1px}
.cm-list a{display:block;padding:5px 9px;border-radius:8px;font-size:13px;color:#16263a;
  text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm-list a:hover{background:#eef2f8}
.cm-list a[aria-current=true]{background:#0e8a6e;color:#fff;font-weight:700}
@media (max-width:640px){.country-menu .country-panel{grid-template-columns:repeat(2,1fr);width:94vw;padding:14px}}

/* Footer DİLLER sütunu — düşey liste, geniş ekranda dengeli 2 alt-sütun (marketing_footer.php). */
.foot-langs{columns:2;column-gap:18px}
.foot-langs a{display:block;font-size:13.5px;color:#6B7B92;text-decoration:none;margin-bottom:9px;
  break-inside:avoid;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.foot-langs a:hover{color:#16243B}
.foot-langs a[aria-current=true]{color:#2A6CF0;font-weight:700}
@media (max-width:760px){.foot-langs{columns:1}}
