/*
Theme Name: EU Factor Basic
Theme URI: https://example.com/eu-factor-basic
Author: EU Factor
Author URI: https://example.com
Description: A basic custom WordPress theme starter for the EU Factor project.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: eu-factor-basic
*/

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f3f4f6;
  border-radius: 2px;
  clip: auto !important;
  clip-path: none;
  color: #111827;
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 0.75rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.main-nav-desktop,
.main-nav-mobile,
.main-nav-fallback {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav-desktop,
.main-nav-fallback.main-nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav-mobile,
.main-nav-fallback.main-nav-mobile {
  display: block;
}

.main-nav-mobile li,
.main-nav-fallback.main-nav-mobile li {
  margin-top: 0.25rem;
}

.main-nav-mobile li:first-child,
.main-nav-fallback.main-nav-mobile li:first-child {
  margin-top: 0;
}

.main-nav-desktop a,
.main-nav-mobile a,
.main-nav-fallback a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav-mobile a,
.main-nav-fallback.main-nav-mobile a {
  display: block;
  padding: 0.5rem 0;
}

.main-nav-desktop a:hover,
.main-nav-mobile a:hover,
.main-nav-fallback a:hover {
  color: #2563eb;
}

.main-nav-desktop .current-menu-item > a,
.main-nav-desktop .current_page_item > a,
.main-nav-mobile .current-menu-item > a,
.main-nav-mobile .current_page_item > a,
.main-nav-fallback .current-menu-item > a,
.main-nav-fallback .current_page_item > a {
  color: #2563eb;
}

/* Footer Quick Links menu */
.site-footer .space-y-2 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .space-y-2 li + li {
  margin-top: 0.5rem;
}

.site-footer .space-y-2 a {
  color: #d1d5db; /* gray-300 */
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.site-footer .space-y-2 a:hover,
.site-footer .space-y-2 .current-menu-item > a,
.site-footer .space-y-2 .current_page_item > a {
  color: #60a5fa; /* blue-400 */
}
