/* =====================================================================================================
   NTFP-EP Indonesia: pilihan bahasa ID / EN (komponen tata letak). Skripnya: language-switch.js.
   Dipisah dari site-header.css (19 Okt 2026) dengan urutan aturan yang sama; dimuat tepat setelah site-header.css.
   Kode yang aktif di garis dengan garis bawah, yang lain lebih kecil dan sedikit naik (seperti desain beranda).
   Kedua kode satu sasaran ketuk (::before, tak terlihat). Kembaran di plugin: assets/css/header.css.
   ===================================================================================================== */
/* a tight header (measured by headFit, site-header.js): the active code as small as the menu */
html.head-tight-1 .lang-btn[aria-pressed="true"]{font-size:14px}
/* language: active code sits on the line with an underline, the other one floats smaller and fainter, as in the reference */
.lang{display:flex;align-items:flex-start;gap:8px}
.lang-btn{position:relative;padding:4px 0;border:0;background:none;cursor:pointer;font-size:16px;line-height:24px;font-weight:500;color:var(--ink);border-radius:6px;transition:color .4s var(--ease),transform .4s var(--ease)}
.lang-btn[aria-pressed="false"]{font-size:14px;line-height:20px;color:var(--ink-soft);opacity:.7;transform:translateY(-8px)}
.lang-btn[aria-pressed="false"]:hover{opacity:1}
.lang-btn[aria-pressed="true"]::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;border-radius:2px;background:var(--leaf)}
@media (min-width:901px){ .lang-btn[aria-pressed="true"]::after{bottom:-2px} }   /* desktop: on the same line as the menu underlines (.menu a::after, bottom -2 px; user, 20 Oct 2026: was 6 px lower) */
@media (min-width:761px){
  html.waktu-malam .lang-btn{color:#F4F1E4;text-shadow:0 1px 8px rgba(18,26,42,.9),0 0 2px rgba(18,26,42,.6)}   /* readable over the moonlight */
}
@media (max-width:1100px){
  .lang-btn[aria-pressed="true"]{font-size:14px;line-height:20px}
}
@media (min-width:761px) and (max-height:820px){
  .lang-btn[aria-pressed="true"]{font-size:15px;line-height:22px}
  .lang-btn[aria-pressed="false"]{font-size:13px;line-height:18px;transform:translateY(-6px)}
}
@media (max-width:900px){   /* inside the phone menu panel: level, under a rule */
  .lang{padding:8px 8px 0;border-top:1px solid var(--line);gap:16px;align-items:center}
  .lang-btn[aria-pressed="false"]{transform:none}
}
/* ID / EN: one target for both (19 Oct 2026, user request): a tap or click on the pair, or just around it, switches to the
   other language (language-switch.js); the area is invisible (no box on hover). The spacing of the two codes is unchanged; a keyboard
   still reaches each code as its own button. */
.lang{position:relative;cursor:pointer}   /* the hand everywhere on the area, also between the two codes */
.lang::before{content:"";position:absolute;top:-12px;bottom:-6px;left:-12px;right:-12px;cursor:pointer}   /* 12 px above: the raised code */
@media (max-width:900px){ .lang::before{top:-2px;bottom:-10px} }   /* the phone menu panel: the codes sit level, under a rule */
