/*
Theme Name: AUTO HOLE Tech
Theme URI: https://autohole.com
Author: AUTO HOLE
Description: æ·±è‰²ç§‘æŠ€é£Žåšå®¢ä¸»é¢˜ï¼šæ¸å˜è‹±é›„åŒºã€è§†é¢‘å¡ç‰‡ã€åˆ†ç±»ç­›é€‰ã€æ–‡ç« ä¾§æ ã€‚
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: autohole-tech
*/

/* ============ tokens ============ */
:root {
  --navy-950: #050e1b;
  --navy-900: #071426;
  --navy-800: #0a1e33;
  --navy-700: #0d2941;
  --ink: #0f1f33;
  --ink-2: #1d3550;
  --muted: #6d8199;
  --muted-2: #8fa2b8;
  --line: #e6ebf2;
  --line-2: #eff3f8;
  --bg: #f6f8fb;
  --card: #ffffff;
  --cyan: #22d3ee;
  --cyan-2: #06b6d4;
  --cyan-ink: #04222b;
  --blue: #3b82f6;
  --violet: #a78bfa;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(15, 31, 51, .06);
  --shadow-hover: 0 18px 40px rgba(15, 31, 51, .12);
  --max: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.ah-container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ header ============ */
.ah-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ah-header .ah-container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.ah-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .2px;
}

.ah-brand svg { display: block; }

.ah-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}

.ah-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ah-nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 14.5px;
  color: #b9c8da;
  border-radius: 8px;
  transition: color .18s ease;
}

.ah-nav a:hover { color: #fff; }

.ah-nav .current-menu-item > a,
.ah-nav .current_page_item > a,
.ah-nav .current-menu-ancestor > a {
  color: #fff;
}

.ah-nav .current-menu-item > a::after,
.ah-nav .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 3px;
  border-radius: 3px;
  background: var(--cyan);
}

.ah-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ah-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #c7d5e6;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.ah-icon-btn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.ah-burger { display: none; }

/* mobile drawer */
.ah-drawer {
  display: none;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 8px 0 16px;
}

.ah-drawer.is-open { display: block; }

.ah-drawer ul { list-style: none; margin: 0; padding: 0; }

.ah-drawer a {
  display: block;
  padding: 12px 24px;
  color: #cfdceb;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.ah-drawer a:hover { color: #fff; background: rgba(255, 255, 255, .04); }

/* search overlay */
.ah-search {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  background: rgba(5, 14, 27, .78);
  backdrop-filter: blur(6px);
}

.ah-search.is-open { display: flex; }

.ah-search-box {
  width: min(620px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.ah-search-box form { display: flex; gap: 8px; }

.ah-search-box input[type="search"] {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--bg);
}

.ah-search-box input[type="search"]:focus { border-color: var(--cyan-2); }

.ah-search-box button {
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan-ink);
  background: var(--cyan);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

/* ============ hero ============ */
.ah-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 78% 30%, rgba(34, 211, 238, .16), transparent 62%),
    radial-gradient(700px 380px at 12% 0%, rgba(59, 130, 246, .16), transparent 60%),
    linear-gradient(180deg, #071426 0%, #08203a 58%, #0a2a44 100%);
}

.ah-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 380px at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 380px at 70% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.ah-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 32px;
  padding: 60px 0 64px;
}

.ah-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-bottom: 18px;
  font-size: 12.5px;
  letter-spacing: .4px;
  color: #9fe9f6;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 999px;
}

.ah-hero h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
}

.ah-hero h1 .ah-grad {
  background: linear-gradient(92deg, #ffffff 20%, #7ee8f6 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ah-hero p.ah-sub {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.75;
  color: #a9bcd2;
}

.ah-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.ah-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.ah-btn-primary {
  color: var(--cyan-ink);
  background: linear-gradient(180deg, #5fe8f7, #22d3ee);
  box-shadow: 0 10px 26px rgba(34, 211, 238, .28);
}

.ah-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(34, 211, 238, .36); }

.ah-btn-ghost {
  color: #eaf2fb;
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .04);
}

.ah-btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .09); }

/* hero art */
.ah-hero-art {
  position: relative;
  height: 320px;
}

.ah-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 188px;
  height: 188px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #eafcff 0%, #8ff0fb 18%, #22d3ee 46%, #0e7490 72%, #082b3d 100%);
  box-shadow:
    0 0 0 10px rgba(34, 211, 238, .08),
    0 0 70px 18px rgba(34, 211, 238, .38),
    inset 0 -18px 40px rgba(3, 20, 30, .55);
}

.ah-orb::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 8%;
  width: 46%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%);
  filter: blur(2px);
}

.ah-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 50%;
}

.ah-ring.r2 { width: 380px; height: 380px; border-color: rgba(125, 211, 252, .12); }

.ah-ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 12px #7dd3fc;
}

.ah-floor {
  position: absolute;
  left: 50%;
  top: 82%;
  width: 300px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, .38), rgba(34, 211, 238, 0) 70%);
  filter: blur(4px);
}

.ah-net {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
}

.ah-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #d9e8f7;
  background: rgba(11, 30, 51, .72);
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(2, 12, 24, .45);
  backdrop-filter: blur(6px);
  animation: ah-float 6s ease-in-out infinite;
}

.ah-chip svg { color: var(--cyan); }

.ah-chip.c1 { left: 2%; top: 12%; animation-delay: -1s; }
.ah-chip.c2 { right: 0%; top: 26%; animation-delay: -3s; }
.ah-chip.c3 { left: 6%; bottom: 14%; animation-delay: -2s; }
.ah-chip.c4 { right: 6%; bottom: 6%; animation-delay: -4.2s; }

@keyframes ah-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============ sections ============ */
.ah-section { padding: 56px 0; }
.ah-section.is-white { background: #fff; }
.ah-section.is-tint { background: var(--bg); }

.ah-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.ah-sec-title {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  font-size: 27px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--ink);
}

.ah-sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #22d3ee, #38bdf8);
}

.ah-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ah-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #4a5f78;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .18s ease;
}

.ah-pill:hover { border-color: #c9d7e6; color: var(--ink); }

.ah-pill.is-active {
  color: #06303a;
  background: linear-gradient(180deg, #7ef0fb, #35d6ea);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(34, 211, 238, .25);
}

/* ============ video cards ============ */
.ah-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ah-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ah-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: #d9e4f0;
}

.ah-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1e33;
}

.ah-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ah-card:hover .ah-cover img { transform: scale(1.04); }

.ah-cover-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.ah-cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .45;
}

.ah-cover-art::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -78px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .05);
}

.ah-cover-art .ah-cover-glyph {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 10px 30px rgba(2, 12, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
  backdrop-filter: blur(4px);
}

.ah-cover-art .ah-cover-glyph::before {
  content: "";
  position: absolute;
  left: -78px;
  top: -64px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}

.ah-cover-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  right: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

.ah-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(6, 22, 38, .62);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.ah-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(4, 14, 26, .74);
  border-radius: 7px;
}

.ah-duration .ah-play-tri {
  width: 0;
  height: 0;
  border-left: 7px solid currentColor;
  border-top: 4.5px solid transparent;
  border-bottom: 4.5px solid transparent;
}

.ah-card-body { padding: 16px 18px 18px; }

.ah-card-title {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: #12253d;
}

.ah-card-title a:hover { color: var(--cyan-2); }

.ah-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.ah-meta svg { flex-shrink: 0; color: #93a7bd; }

.ah-meta .ah-dot { margin: 0 2px; color: #c4d0dd; }

/* ============ latest + sidebar ============ */
.ah-latest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 262px;
  gap: 16px;
  align-items: stretch;
}

.ah-post-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ah-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.ah-post-thumb {
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 10px;
  background: #0b1e33;
}

.ah-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ah-post-body { min-width: 0; }

.ah-post-body .ah-meta { margin-bottom: 4px; }

.ah-post-cat {
  font-size: 12px;
  font-weight: 600;
}

.ah-post-date { font-size: 12.5px; color: var(--muted-2); }

.ah-post-title {
  margin: 3px 0 5px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 700;
  color: #12253d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah-post-excerpt {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #6b7f96;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ah-side { align-self: start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ah-side-title {
  margin: 0 0 6px;
  padding-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.ah-cat-list { margin: 0; padding: 0; list-style: none; }

.ah-cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  font-size: 14px;
  color: #3f566f;
  border-bottom: 1px solid var(--line-2);
}

.ah-cat-list li:last-child a { border-bottom: 0; }

.ah-cat-list a:hover { color: var(--cyan-2); }

.ah-cat-list .ah-cat-icon { display: inline-flex; color: var(--cyan-2); }
.ah-cat-list .ah-count { margin-left: auto; font-size: 12.5px; color: var(--muted-2); }
.ah-cat-list .ah-chev { color: #c3d0de; }

/* ============ pagination ============ */
.ah-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.ah-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font-size: 14px;
  color: #4a5f78;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ah-pagination .page-numbers.current,
.ah-pagination .page-numbers:hover {
  color: #06303a;
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ============ single / page ============ */
.ah-page-head {
  padding: 46px 0 40px;
  background:
    radial-gradient(760px 320px at 82% 10%, rgba(34, 211, 238, .15), transparent 60%),
    linear-gradient(180deg, #071426, #0a2338);
  color: #fff;
}

.ah-page-head .ah-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #8ba7c2;
}

.ah-page-head .ah-breadcrumb a:hover { color: #fff; }

.ah-page-head h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.4px;
  max-width: 900px;
}

.ah-page-head .ah-meta { margin-top: 14px; color: #93aec8; }
.ah-page-head .ah-meta svg { color: #6f8ca8; }

.ah-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
  padding: 34px 0 60px;
}

.ah-prose {
  padding: 34px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 16.5px;
  line-height: 1.9;
  color: #2b405a;
}

.ah-prose > *:first-child { margin-top: 0; }
.ah-prose h2 { margin: 1.6em 0 .6em; font-size: 24px; line-height: 1.4; font-weight: 800; color: var(--ink); }
.ah-prose h3 { margin: 1.4em 0 .5em; font-size: 19px; font-weight: 700; color: var(--ink); }
.ah-prose p { margin: 0 0 1.1em; }
.ah-prose a { color: var(--cyan-2); text-decoration: underline; text-underline-offset: 3px; }
.ah-prose img { border-radius: 12px; margin: 1.4em 0; }
.ah-prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  color: #3f566f;
  background: #f4f9fc;
  border-left: 4px solid var(--cyan);
  border-radius: 0 10px 10px 0;
}
.ah-prose code {
  padding: 2px 6px;
  font-size: .92em;
  background: #eef3f8;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ah-prose pre {
  padding: 18px 20px;
  overflow: auto;
  background: #0b1e33;
  border-radius: 12px;
  color: #dbeafe;
}
.ah-prose pre code { background: transparent; padding: 0; color: inherit; }
.ah-prose ul, .ah-prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.ah-prose li { margin: .4em 0; }
.ah-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.ah-prose th, .ah-prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.ah-prose th { background: #f5f8fc; }

.ah-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.ah-tags a {
  display: inline-flex;
  height: 30px;
  align-items: center;
  padding: 0 12px;
  font-size: 12.5px;
  color: #4a5f78;
  background: #f2f6fa;
  border-radius: 999px;
}

/* ============ footer ============ */
.ah-footer {
  margin-top: 0;
  padding: 48px 0 26px;
  background: var(--navy-950);
  color: #93a9c1;
}

.ah-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ah-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #e6eef8;
  letter-spacing: .3px;
}

.ah-footer p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #7f95ad; }

.ah-footer ul { margin: 0; padding: 0; list-style: none; }

.ah-footer li { margin-bottom: 8px; }

.ah-footer a { font-size: 13.5px; color: #8ea5bd; }
.ah-footer a:hover { color: var(--cyan); }

.ah-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 12.5px;
  color: #64798f;
}

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .ah-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-side { align-self: start; grid-column: 1 / -1; }
  .ah-article-wrap { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .ah-hero-inner { grid-template-columns: minmax(0, 1fr); padding: 40px 0 44px; }
  .ah-hero-art { height: 280px; order: 2; }
  .ah-hero h1 { font-size: 34px; }
  .ah-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-nav { display: none; }
  .ah-burger { display: inline-flex; }
  .ah-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .ah-container { padding: 0 16px; }
  .ah-hero h1 { font-size: 27px; letter-spacing: -.2px; }
  .ah-hero p.ah-sub { font-size: 15px; }
  .ah-hero-actions .ah-btn { flex: 1 1 100%; justify-content: center; }
  .ah-hero-art { height: 240px; }
  .ah-orb { width: 140px; height: 140px; }
  .ah-ring { width: 220px; height: 220px; }
  .ah-ring.r2 { width: 280px; height: 280px; }
  .ah-grid-3, .ah-latest { grid-template-columns: minmax(0, 1fr); }
  .ah-section { padding: 38px 0; }
  .ah-sec-title { font-size: 22px; }
  .ah-section-head { flex-direction: column; align-items: flex-start; }
  .ah-prose { padding: 22px 18px; font-size: 16px; }
  .ah-page-head { padding: 32px 0 28px; }
  .ah-page-head h1 { font-size: 26px; }
  .ah-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .ah-chip { display: none; }
}


/* ============ comments ============ */
.ah-comments { padding-bottom: 60px; }

.ah-comments .comments-title,
.ah-comments .comment-reply-title {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.ah-comments .comment-notes,
.ah-comments .logged-in-as {
  font-size: 13px;
  color: var(--muted);
}

.ah-comments .comment-list,
.ah-comments .children { list-style: none; margin: 0; padding: 0; }

.ah-comments .comment-body {
  padding: 16px 18px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}

.ah-comments .comment-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.ah-comments .comment-meta { font-size: 12.5px; color: var(--muted-2); margin-bottom: 8px; }

.ah-comments .comment-form { max-width: 720px; }
.ah-comments .comment-form p { margin: 0 0 14px; }
.ah-comments .comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #405670; }

.ah-comments .comment-form input[type=text],
.ah-comments .comment-form input[type=email],
.ah-comments .comment-form input[type=url],
.ah-comments .comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.ah-comments .comment-form input:focus,
.ah-comments .comment-form textarea:focus { border-color: var(--cyan-2); }

.ah-comments .comment-form textarea { min-height: 120px; resize: vertical; }

.ah-comments .comment-form .submit {
  padding: 12px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan-ink);
  background: var(--cyan);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.ah-comments .comment-form .submit:hover { background: var(--cyan-2); }

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

.alignwide { margin-left: auto; margin-right: auto; }


/* ============ polish ============ */
body { overflow-x: hidden; }
.ah-post-card { align-self: start; }

@media (max-width: 640px) {
  .ah-hero-actions { flex-direction: column; align-items: stretch; }
  .ah-hero-actions .ah-btn { width: 100%; flex: 0 0 auto; justify-content: center; }
  .ah-chip { display: none; }
}
