/* dira-patch.css – Lighthouse / Accessibility / SEO fixes
   Load AFTER dira-celik.css in script.asp */

/* ── 1. FOCUS VISIBLE (Accessibility: keyboard navigation) ── */
:focus-visible {
  outline: 3px solid #c8a000;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #c8a000;
  outline-offset: 2px;
}

/* ── 2. SKIP-TO-CONTENT LINK ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #b8860b;
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 0;
}

/* ── 3. COLOR CONTRAST FIXES ── */
/* Footer text on dark background – ensure ≥ 4.5:1 */
footer p,
footer a,
footer .heading-4 {
  color: #e8e8e8;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}
/* Nav links on white header */
.themeix-header .slimmenu a {
  color: #1a1a1a;
}
.themeix-header .slimmenu a:hover,
.themeix-header .slimmenu a:focus {
  color: #b8860b;
}
/* btn-style-1 / btn-style-2 contrast */
.btn-style-1,
.btn-style-2 {
  color: #fff !important;
  background-color: #b8860b;
  border: 2px solid #b8860b;
}
.btn-style-1:hover,
.btn-style-2:hover {
  background-color: #8b6508;
  border-color: #8b6508;
  color: #fff !important;
}

/* ── 4. LOADING SPINNER – hide after page load ── */
.lds-css {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 5. IMAGES – prevent layout shift ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.protea-post-thumb img,
.cat-thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── 6. LOGO image sizing ── */
.themeix-logo img {
  width: 180px;
  height: 60px;
  object-fit: contain;
}

/* ── 7. ARIA-HIDDEN icons – ensure decorative icons are hidden ── */
.fa[aria-hidden="true"] {
  speak: never;
}

/* ── 8. LIST STRUCTURE – footer nav lists ── */
footer .protea-widget-link ul,
footer .social-icon ul {
  padding-left: 0;
  list-style: none;
}

/* ── 9. HEADING HIERARCHY – visual size for h1 on pages ── */
.main-content-area h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ── 10. MOBILE NAV TOGGLE button (add if missing) ── */
.nav-toggle-btn {
  display: none;
  background: none;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.25rem;
  color: #1a1a1a;
}
@media (max-width: 991px) {
  .nav-toggle-btn {
    display: inline-block;
  }
}

/* ── 11. PRINT – hide spinner ── */
@media print {
  .lds-css { display: none; }
}
