/* Native HTML details/summary dropdown: no JavaScript required */
.synazo-languages{clear:both;display:flex;justify-content:flex-end;align-items:flex-start;position:relative;z-index:20;padding:5px 8px 6px;margin:1px 0 8px;background:transparent;border:0;font-size:12px;line-height:1.45}
.synazo-language-dropdown{position:relative;min-width:145px;max-width:240px;color:#173c56}
.synazo-language-dropdown summary{display:flex;align-items:center;justify-content:space-between;gap:.65em;cursor:pointer;background:linear-gradient(#f8fdff,#e3f1f8);border:1px solid #b8d2e1;border-radius:10px;padding:7px 11px;white-space:nowrap;font-weight:700;list-style:none}
.synazo-language-dropdown summary::-webkit-details-marker{display:none}
.synazo-language-dropdown summary::after{content:"";width:.42em;height:.42em;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-.2em}
.synazo-language-dropdown[open] summary::after{transform:rotate(225deg);margin-top:.2em}
.synazo-language-dropdown summary:focus-visible,.synazo-language-dropdown a:focus-visible{outline:2px solid #38789b;outline-offset:2px}
.synazo-language-options{
  display:none;position:absolute;right:0;top:calc(100% + 6px);z-index:60;
  box-sizing:border-box;width:min(360px,calc(100vw - 24px));max-height:min(440px,65vh);
  overflow:auto;background:linear-gradient(160deg,#f5fbff,#e1eff7);
  border:1px solid #b8d2e1;border-radius:14px;box-shadow:0 10px 26px rgba(23,60,86,.18);
  padding:8px;gap:4px 10px
}
.synazo-language-dropdown[open] .synazo-language-options{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(9,auto);
  grid-auto-flow:column;direction:ltr
}
html[lang="ar"] .synazo-language-dropdown[open] .synazo-language-options{direction:ltr;text-align:left}
.synazo-language-options a{padding:7px 9px;border-radius:7px;text-decoration:none;color:#173c56;white-space:nowrap}
.synazo-language-options a:hover,.synazo-language-options a[aria-current=page]{background:#d0e7f3}
.synazo-language-options a[aria-current=page]{font-weight:700}
.synazo-legal-links{margin:8px 0;font-size:12px}
.synazo-translation-notice{font-size:12px;border-left:3px solid #7c8990;padding:6px 8px;margin:8px 0;background:#f7f7f7}
@media(max-width:480px){
  .synazo-languages{justify-content:center}
  .synazo-language-options{right:auto;left:50%;transform:translateX(-50%);width:min(260px,calc(100vw - 24px))}
  .synazo-language-dropdown[open] .synazo-language-options{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
  .synazo-language-options a{min-height:44px;box-sizing:border-box}
}

/* SYNAZO typography test: original ~12px -> 14px. Remove this test block after decision. */
@media screen, projection {
  body { font-size:14px; }
  /* Preserve heading scale and avoid oversized titles. */
  h1 { font-size:30px; }
  h2 { font-size:24px; }
  h3 { font-size:18px; }
  h4 { font-size:16px; }
  h5, h6 { font-size:14px; }
  /* Existing legal CSS hard-codes 9px: increase independently for reading. */
  .legal_08emblock, .legal_attentionizer { font-size:13px; line-height:1.5; }
  .synazo-languages, .synazo-legal-links, .synazo-translation-notice { font-size:14px; }
}

/* Corrected typography: legacy .page has font-size:9px, overriding body. */
@media screen, projection {
  .page { font-size: 14px; }
  #col3_content, #col2_content { line-height: 1.45; }
  #col3_content .bodytext { font-size: 1em; line-height: 1.5; }
  #col3_content .small, #col3_content small { font-size: 0.9em; }
  #col3_content .legal_08emblock, #col3_content .legal_attentionizer { font-size: 14px; line-height: 1.5; }
  #col1_content .navbarleft, #col1_content .navbarleftlist { font-size: 12px; line-height: 1.35; }
}

.synazo-thermolysis-link { margin: 18px 0; padding: 10px 12px; background:#edf5fa; border-left: 3px solid #38789b; }
.synazo-thermolysis-link a { font-weight: bold; }
.synazo-language-options a{display:flex;align-items:center;gap:.55em}
.synazo-language-options a[aria-current="page"]::after{content:"✓";margin-inline-start:auto}
