/*
Theme Name: AP Building Materials
Theme URI: https://aluminumformpro.com/
Author: AP Building Materials
Author URI: https://aluminumformpro.com/
Description: Purpose-built theme for AP Building Materials (aluminium formwork, steel formwork, scaffolding, support systems). Contains its own design system under the .ap namespace and renders page layouts edge-to-edge without a page builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ap-formwork
Tags: business, custom-menu, custom-logo, translation-ready
*/

/* Global resets only. All component styles live in assets/css/ap.css (design system)
   and assets/css/theme.css (header, footer, mobile navigation). */

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #4A5A70;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.admin-bar .ap-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ap-header { top: 46px; } }

img { max-width: 100%; height: auto; }

/* Content area is width-unconstrained; sections manage their own gutters via .wrap */
.ap-page,
.ap-page > * { max-width: none; }

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

.skip-link:focus {
  background: #0F2440;
  color: #fff;
  clip: auto;
  clip-path: none;
  display: block;
  font-size: 14px;
  height: auto;
  left: 12px;
  padding: 12px 20px;
  top: 12px;
  width: auto;
  z-index: 100000;
  border-radius: 8px;
}
