/*
Theme Name: APT Instruments
Theme URI: https://www.aptinstruments.com/
Author: APT Instruments
Description: Migration-ready WooCommerce foundation for APT Instruments. Final visual templates are intentionally kept lightweight so they can be integrated later.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: aptinstruments
*/

:root {
  --apt-content-width: 1200px;
  --apt-space: 1.5rem;
  --apt-border: #d9dde2;
  --apt-ink: #1b1f23;
  --apt-muted: #66717d;
  --apt-accent: #b21f24;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--apt-ink);
  background: #fff;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

img {
  height: auto;
  max-width: 100%;
}
.apt-site-width {
  width: min(100% - 2 * var(--apt-space), var(--apt-content-width));
  margin-inline: auto;
}
.apt-skip-link {
  position: absolute;
  left: -9999px;
}
.apt-skip-link:focus {
  left: var(--apt-space);
  top: var(--apt-space);
  z-index: 100000;
  padding: 0.5rem 0.75rem;
  background: #fff;
}
.apt-site-header,
.apt-site-footer {
  border-block: 1px solid var(--apt-border);
  padding: 1rem 0;
}
.apt-site-header__inner,
.apt-site-footer__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}
.apt-site-brand {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
.apt-site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apt-site-main {
  padding: 3rem 0;
}
.apt-entry {
  max-width: 80ch;
}
.apt-entry__meta {
  color: var(--apt-muted);
}
.apt-sidebar {
  margin-top: 2rem;
}
.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;
}
@media (max-width: 700px) {
  .apt-site-header__inner,
  .apt-site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.bg2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background: #0b0d0f;
  color: #fff;
}

/* Grid pattern */
.bg2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);

  background-size: 74px 74px;
  background-position: center;

  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.9) 35%,
    rgba(0, 0, 0, 0.45) 60%,
    transparent 85%
  );

  mask-image: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.9) 35%,
    rgba(0, 0, 0, 0.45) 60%,
    transparent 85%
  );
}
.apt-cf7-newsletter-fields p {
  display: flex;
}
