/* Responsive and accessibility repairs for the published static site. */
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img, video, canvas, svg { max-width: 100%; }
main, section, article, footer, form { min-width: 0; }
footer a[href^="mailto:"], article p, article li { overflow-wrap: anywhere; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b8860b; outline-offset: 4px; }
.site-language { display: flex; align-items: center; gap: .3rem; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.site-language a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 44px; color: inherit; text-decoration: none; }
.site-language a[aria-current="page"] { color: #b8860b; text-decoration: underline; text-underline-offset: 5px; }
body:has(.home-btn) > .site-language { color: #fff; }
.site-language-separator { opacity: .35; }
nav[aria-modal="true"] { overflow-y: auto; overscroll-behavior: contain; padding-top: max(6rem, env(safe-area-inset-top)); padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.php-news-card { display: block; border: 1px solid #e7ddbd; border-radius: 18px; background: #fffcf2; padding: clamp(1.25rem, 4vw, 2rem); margin-bottom: 2rem; color: #151515; text-decoration: none; }
.php-news-card time { font-size: .75rem; color: #776027; }
.php-news-card h2 { margin: .65rem 0; font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.2; font-weight: 600; }
.php-news-card p { color: #555; line-height: 1.7; }
.php-news-card span { display: inline-block; margin-top: 1rem; color: #785500; font-weight: 600; }
@media (min-width: 640px) { .site-language.only-mobile { display: none; } }
@media (max-width: 639px) {
  body > header > div, header.fixed > div { padding-left: 16px; padding-right: 16px; gap: 8px; }
  header.fixed > div > div:last-child { gap: 6px; }
  header.fixed a.home-btn { display: none !important; }
  header.fixed [role="group"][aria-label="Language"], header.fixed [role="group"][aria-label="Dil"] { display: flex !important; }
  header.fixed [role="group"] a { min-width: 32px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  header.fixed button { min-width: 44px; min-height: 44px; flex-shrink: 0; }
  input:not([aria-hidden="true"]), select, textarea { font-size: 16px !important; }
  footer { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  nav[aria-modal="true"] { flex-direction: column; align-items: center; justify-content: flex-start; }
  nav[aria-modal="true"] ul { padding-top: 1rem; }
  [role="dialog"] { max-height: 85dvh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto !important; }
 *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
