/*
Theme Name: AltEdge
Theme URI: https://official.altedge.jp/
Author: AltEdge
Description: 低酸素トレーニング機器ブランド AltEdge 公式サイト用オリジナルテーマ。Shopify Buy Button カート連携、用途別セグメントページ、科学的根拠セクション、製品比較表、ブログ対応。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: altedge
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --ae-bg: #0b1220;
  --ae-bg-2: #101a2e;
  --ae-surface: #16233c;
  --ae-line: rgba(148, 178, 224, 0.16);
  --ae-text: #e8eefb;
  --ae-text-dim: #9fb0cc;
  --ae-accent: #38bdf8;
  --ae-accent-2: #818cf8;
  --ae-accent-grad: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --ae-white: #ffffff;
  --ae-radius: 14px;
  --ae-radius-lg: 22px;
  --ae-shadow: 0 18px 50px rgba(2, 8, 23, 0.45);
  --ae-font-display: "Outfit", "Noto Sans JP", sans-serif;
  --ae-font-body: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  --ae-max: 1180px;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ae-bg);
  color: var(--ae-text);
  font-family: var(--ae-font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ae-accent); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.82; }
h1, h2, h3, h4 {
  font-family: var(--ae-font-display);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  color: var(--ae-white);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.2em; }

.ae-container { max-width: var(--ae-max); margin: 0 auto; padding: 0 24px; }
.ae-section { padding: clamp(64px, 9vw, 110px) 0; }
.ae-section--alt { background: var(--ae-bg-2); }

.ae-eyebrow {
  display: inline-block;
  font-family: var(--ae-font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ae-accent);
  margin-bottom: 14px;
}
.ae-section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.ae-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ae-lead { color: var(--ae-text-dim); font-size: 1.05rem; }

/* Buttons */
.ae-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--ae-font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.ae-btn--primary {
  background: var(--ae-accent-grad);
  color: #06121f;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}
.ae-btn--primary:hover { transform: translateY(-2px); opacity: 1; }
.ae-btn--ghost {
  background: transparent;
  color: var(--ae-text);
  border: 1px solid var(--ae-line);
}
.ae-btn--ghost:hover { border-color: var(--ae-accent); color: var(--ae-accent); opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.ae-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ae-line);
}
.ae-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--ae-max);
  margin: 0 auto;
}
.ae-logo {
  font-family: var(--ae-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ae-white);
  display: inline-flex;
  align-items: center;
}
.ae-logo span { color: var(--ae-accent); }
.ae-logo__img,
.ae-logo .custom-logo {
  height: 56px;
  width: auto;
  display: block;
}
.ae-logo__img--footer { height: 72px; }
.ae-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.ae-nav a {
  color: var(--ae-text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.ae-nav a:hover, .ae-nav .current-menu-item > a { color: var(--ae-white); opacity: 1; }
.ae-header__actions { display: flex; align-items: center; gap: 14px; }

/* Cart button (Shopify) */
.ae-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ae-line);
  background: transparent;
  color: var(--ae-text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.ae-cart-btn:hover { border-color: var(--ae-accent); }
.ae-cart-btn svg { width: 20px; height: 20px; }
.ae-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ae-accent);
  color: #06121f;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ae-cart-count:empty { display: none; }

/* Mobile nav */
.ae-nav-toggle { display: none; background: none; border: 0; color: var(--ae-text); cursor: pointer; padding: 8px; }
.ae-nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .ae-nav-toggle { display: block; }
  .ae-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ae-bg-2);
    border-bottom: 1px solid var(--ae-line);
    padding: 12px 24px 24px;
  }
  .ae-nav.is-open { display: block; }
  .ae-nav ul { flex-direction: column; gap: 4px; }
  .ae-nav a { display: block; padding: 12px 0; font-size: 1.05rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.ae-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.75) 60%, var(--ae-bg) 100%),
    var(--ae-hero-image, linear-gradient(160deg, #14263f 0%, #0b1220 70%));
  background-size: cover;
  background-position: center;
}
.ae-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.ae-hero__eyebrow {
  font-family: var(--ae-font-display);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--ae-accent);
  margin-bottom: 20px;
}
.ae-hero h1 { margin-bottom: 0.5em; }
.ae-hero__sub { font-size: 1.1rem; color: var(--ae-text-dim); max-width: 560px; margin-bottom: 2em; }
.ae-hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.ae-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--ae-line);
}
.ae-stat__num {
  font-family: var(--ae-font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ae-white);
}
.ae-stat__num em { font-style: normal; color: var(--ae-accent); }
.ae-stat__label { font-size: 0.85rem; color: var(--ae-text-dim); }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.ae-grid { display: grid; gap: 24px; }
.ae-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ae-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ae-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .ae-grid--3, .ae-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ae-grid--2, .ae-grid--3, .ae-grid--4 { grid-template-columns: 1fr; } }

.ae-card {
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-lg);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ae-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); }
.ae-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  color: var(--ae-accent);
  margin-bottom: 20px;
}
.ae-card__icon svg { width: 26px; height: 26px; }
.ae-card p { color: var(--ae-text-dim); font-size: 0.94rem; margin-bottom: 0; }
.ae-card--link { display: block; color: inherit; }
.ae-card--link:hover { opacity: 1; }
.ae-card__more { display: inline-block; margin-top: 16px; color: var(--ae-accent); font-weight: 600; font-size: 0.9rem; }

/* Product cards */
.ae-product-card {
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ae-product-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); }
.ae-product-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, #1b2c49 0%, #101a2e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ae-product-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}
.ae-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.ae-product-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.ae-product-card__tag { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ae-accent); font-weight: 600; margin-bottom: 8px; }
.ae-product-card__title { font-size: 1.25rem; margin-bottom: 6px; }
.ae-product-card__price { font-family: var(--ae-font-display); font-size: 1.15rem; font-weight: 700; color: var(--ae-white); margin-bottom: 12px; }
.ae-product-card__price small { color: var(--ae-text-dim); font-weight: 400; font-size: 0.8rem; }
.ae-product-card__desc { color: var(--ae-text-dim); font-size: 0.92rem; flex: 1; }
.ae-product-card__actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.ae-shopify-product .shopify-buy-frame { min-height: 46px; }

/* ==========================================================================
   Comparison table
   ========================================================================== */
.ae-table-wrap { overflow-x: auto; border-radius: var(--ae-radius); border: 1px solid var(--ae-line); }
table.ae-compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--ae-surface);
  font-size: 0.92rem;
}
.ae-compare th, .ae-compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ae-line);
  text-align: left;
  vertical-align: top;
}
.ae-compare thead th {
  background: var(--ae-bg-2);
  font-family: var(--ae-font-display);
  color: var(--ae-white);
  font-size: 0.95rem;
  white-space: nowrap;
}
.ae-compare tbody th { color: var(--ae-text-dim); font-weight: 500; white-space: nowrap; }
.ae-compare td { color: var(--ae-text); }
.ae-compare .is-best { color: var(--ae-accent); font-weight: 700; }

/* ==========================================================================
   Science / evidence
   ========================================================================== */
.ae-steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ae-steps { grid-template-columns: 1fr; } }
.ae-step { position: relative; background: var(--ae-surface); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 30px; }
.ae-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--ae-font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--ae-accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 8px;
}
.ae-evidence { border-left: 3px solid var(--ae-accent); padding: 6px 0 6px 22px; margin: 0 0 20px; }
.ae-evidence p { margin-bottom: 6px; }
.ae-evidence cite { font-size: 0.82rem; color: var(--ae-text-dim); font-style: normal; }

/* Trust logos */
.ae-trust { display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center; opacity: 0.75; }
.ae-trust span {
  font-family: var(--ae-font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--ae-text-dim);
  border: 1px solid var(--ae-line);
  border-radius: 8px;
  padding: 10px 18px;
}

/* Athlete cards */
.ae-athlete-card {
  display: block;
  color: inherit;
  background: var(--ae-surface);
  border: 1px solid var(--ae-line);
  border-radius: var(--ae-radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ae-athlete-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); opacity: 1; }
.ae-athlete-card__media { aspect-ratio: 1 / 1; overflow: hidden; }
.ae-athlete-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ae-athlete-card:hover .ae-athlete-card__media img { transform: scale(1.04); }
.ae-athlete-card__body { padding: 24px; }
.ae-athlete-card__sport {
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ae-accent); font-weight: 600;
}
.ae-athlete-card__name { margin: 8px 0 10px; font-size: 1.2rem; }
.ae-athlete-card__name small {
  display: block; font-size: 0.75rem; color: var(--ae-text-dim);
  font-weight: 500; letter-spacing: 0.1em; margin-top: 2px;
}
.ae-athlete-card__body p { color: var(--ae-text-dim); font-size: 0.9rem; margin: 0; }

/* Testimonials */
.ae-quote { background: var(--ae-surface); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); padding: 30px; }
.ae-quote p { font-size: 0.98rem; }
.ae-quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.ae-quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ae-accent-grad); flex-shrink: 0; display:flex; align-items:center; justify-content:center; font-weight:700; color:#06121f; font-family: var(--ae-font-display); }
.ae-quote__name { font-weight: 600; color: var(--ae-white); font-size: 0.92rem; }
.ae-quote__role { font-size: 0.8rem; color: var(--ae-text-dim); }

/* ==========================================================================
   Blog
   ========================================================================== */
.ae-post-card { background: var(--ae-surface); border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease; }
.ae-post-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, 0.45); }
.ae-post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(150deg, #1b2c49, #101a2e); overflow: hidden; }
.ae-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ae-post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ae-post-card__meta { font-size: 0.78rem; color: var(--ae-text-dim); letter-spacing: 0.06em; margin-bottom: 10px; }
.ae-post-card__meta .cat { color: var(--ae-accent); font-weight: 600; margin-right: 10px; }
.ae-post-card__title { font-size: 1.05rem; margin: 0; }
.ae-post-card__title a { color: var(--ae-white); }
.ae-post-card__excerpt { color: var(--ae-text-dim); font-size: 0.9rem; margin-top: 10px; }

/* Single post / page content */
.ae-article { max-width: 780px; margin: 0 auto; }
.ae-article__header { margin-bottom: 40px; }
.ae-article__meta { color: var(--ae-text-dim); font-size: 0.85rem; margin-bottom: 12px; }
.ae-content h2 { margin-top: 2em; padding-bottom: 0.4em; border-bottom: 1px solid var(--ae-line); }
.ae-content h3 { margin-top: 1.6em; }
.ae-content a { text-decoration: underline; text-underline-offset: 3px; }
.ae-content blockquote { border-left: 3px solid var(--ae-accent); margin: 1.5em 0; padding: 4px 0 4px 22px; color: var(--ae-text-dim); }
.ae-content img { border-radius: var(--ae-radius); }
.ae-content ul, .ae-content ol { padding-left: 1.4em; color: var(--ae-text); }
.ae-content table { width: 100%; border-collapse: collapse; }
.ae-content table th, .ae-content table td { border: 1px solid var(--ae-line); padding: 10px 14px; }

/* Pagination */
.ae-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.ae-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--ae-line);
  color: var(--ae-text-dim); font-family: var(--ae-font-display); font-weight: 600;
}
.ae-pagination .page-numbers.current { background: var(--ae-accent-grad); color: #06121f; border: 0; }

/* ==========================================================================
   CTA band / newsletter
   ========================================================================== */
.ae-cta-band {
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.14)),
    var(--ae-surface);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--ae-radius-lg);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.ae-newsletter { display: flex; gap: 12px; max-width: 480px; margin: 24px auto 0; }
.ae-newsletter input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--ae-line);
  background: var(--ae-bg);
  color: var(--ae-text);
  font-size: 0.95rem;
}
@media (max-width: 520px) { .ae-newsletter { flex-direction: column; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.ae-footer { border-top: 1px solid var(--ae-line); background: var(--ae-bg-2); padding: 64px 0 32px; }
.ae-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .ae-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ae-footer__grid { grid-template-columns: 1fr; } }
.ae-footer h4 { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ae-text-dim); margin-bottom: 18px; }
.ae-footer ul { list-style: none; margin: 0; padding: 0; }
.ae-footer li { margin-bottom: 10px; }
.ae-footer a { color: var(--ae-text-dim); font-size: 0.92rem; }
.ae-footer a:hover { color: var(--ae-white); }
.ae-footer__bottom { border-top: 1px solid var(--ae-line); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ae-text-dim); font-size: 0.82rem; }

/* Page hero (inner pages) */
.ae-page-hero {
  padding: clamp(72px, 10vw, 130px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, var(--ae-bg-2) 0%, var(--ae-bg) 100%);
  border-bottom: 1px solid var(--ae-line);
}
.ae-page-hero .ae-lead { max-width: 680px; }

/* Segment nav pills */
.ae-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.ae-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--ae-line);
  color: var(--ae-text-dim);
  font-size: 0.88rem;
  font-weight: 500;
}
.ae-pill:hover, .ae-pill.is-active { border-color: var(--ae-accent); color: var(--ae-accent); opacity: 1; }

/* Feature split */
.ae-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .ae-split { grid-template-columns: 1fr; } }
.ae-split__media { border-radius: var(--ae-radius-lg); overflow: hidden; background: linear-gradient(150deg, #1b2c49, #101a2e); aspect-ratio: 4 / 3; }
.ae-split__media img { width: 100%; height: 100%; object-fit: cover; }
.ae-split__media img.ae-img-contain { object-fit: contain; background: #fff; }
/* アスリート写真は正方形のまま全体を表示（切れ防止） */
.ae-split__media.ae-athlete__media { aspect-ratio: 1 / 1; }
.ae-split__media.ae-athlete__media img { object-fit: contain; }
.ae-check { list-style: none; padding: 0; margin: 0 0 24px; }
.ae-check li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ae-text); }
.ae-check li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
}
.ae-check li::after {
  content: "";
  position: absolute; left: 5px; top: 12px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--ae-accent);
  border-bottom: 2px solid var(--ae-accent);
  transform: rotate(-45deg);
}

/* FAQ */
.ae-faq details { border: 1px solid var(--ae-line); border-radius: var(--ae-radius); background: var(--ae-surface); margin-bottom: 12px; padding: 0 24px; }
.ae-faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ae-white); list-style: none; position: relative; padding-right: 32px; }
.ae-faq summary::-webkit-details-marker { display: none; }
.ae-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--ae-accent); font-size: 1.3rem; font-family: var(--ae-font-display); }
.ae-faq details[open] summary::after { content: "−"; }
.ae-faq details p { color: var(--ae-text-dim); padding-bottom: 18px; margin: 0; }

/* Contact */
.ae-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--ae-white); }
.ae-form input, .ae-form textarea, .ae-form select {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid var(--ae-line);
  background: var(--ae-bg);
  color: var(--ae-text);
  font-size: 0.95rem;
  font-family: inherit;
}
.ae-form input:focus, .ae-form textarea:focus { outline: 2px solid rgba(56, 189, 248, 0.5); border-color: transparent; }

/* Utility */
.ae-center { text-align: center; }
.ae-mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* WP core alignment classes */
.alignwide { margin-left: auto; margin-right: auto; max-width: var(--ae-max); }
.alignfull { width: 100%; }
.wp-block-image img { border-radius: var(--ae-radius); }
