/*
Theme Name: Robotic Art Elementor
Theme URI: https://example.com/robotic-art-elementor
Author: Custom Conversion
Description: Elementor-ready WordPress theme converted from the Robotic Art Studio HTML prototype. Includes custom Elementor widgets and preserves the interactive FORTH dictionary and demo store.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: robotic-art-elementor
*/

html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }

/* WordPress accessibility helpers */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto; height: auto;
  top: 8px; left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  z-index: 100000;
}

/* Keep WordPress admin bar from covering the sticky theme header. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* WordPress menu support inside the original header. */
.main-nav .primary-menu {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .primary-menu a {
  font-size: .92rem;
  text-decoration: none;
}
.main-nav .primary-menu a:hover { color: var(--accent); }

/* Elementor pages should not add an unwanted theme content width. */
.elementor-page .robotic-art-elementor-content { width: 100%; }

@media (max-width: 720px) {
  .main-nav .primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav .primary-menu a {
    display: block;
    padding: 12px;
  }
}

.footer-inner .menu {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.footer-inner .menu li { margin: 0; }
.custom-logo-brand .custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo-brand .custom-logo { max-height: 52px; width: auto; }
