/* === TOP HEAD RESPONSIVE (FEIT) – moved from header.php === */
/* === TOP HEAD RESPONSIVE (FEIT) === */
.top-head {
  position: relative;
}

.top-head__container {
  display: block;
}

.top-head__desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-head__mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.th-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  line-height: 1;
  cursor: pointer;
}

.th-btn i {
  font-size: 18px;
}

.top-head__panels {
  display: none; /* len pre mobile */
}

.th-panel {
  padding: 10px 0 12px;
}

.th-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.th-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.th-link i {
  font-size: 16px;
  width: 18px;
  text-align: center;
}

.th-ico-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
}

.th-link span {
  font-size: 14px;
}

.th-searchform {
  padding: 0 0 6px;
}

.th-langrow {
  display: flex;
  gap: 14px;
  align-items: center;
}

.th-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.th-lang img {
  width: 22px;
  height: auto;
  display: block;
}

.th-lang span {
  font-size: 14px;
}

/* breakpoint */
@media (max-width: 991px) {
  .top-head__desktop { display: none; }
  .top-head__mobile { display: flex; }
  .top-head__panels { display: block; }
}


/* Skip link (WCAG 2.4.1) */
.skip-link.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  position: fixed !important;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 12px 20px;
  background: #fff;
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 0 3px #f37429;
}

/* Visible keyboard focus */
.top-head a:focus-visible,
.th-btn:focus-visible,
#masthead a:focus-visible,
#masthead button:focus-visible {
  outline: 2px solid #f37429;
  outline-offset: 2px;
}

.top-head .th-ext-icon {
  display: inline-block;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
