/*
Theme Name: Car Care Geek
Theme URI: https://carcaregeek.works
Author: EdvinTitleE Omeranovic
Author URI: https://carcaregeek.works
Description: Step-by-step car washing, waxing and paint care tutorials with the tools and consumables spelled out. Glassmorphism panels, wide asymmetric layout, teal accent.
Version: 1.0.0
Style ID: aa9db1
Text Domain: carcaregeek
Tags: blog, one-column, custom-menu, featured-images, threaded-comments
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-deep: #eceef2;
  --text: #1a1d21;
  --text-muted: #6b7280;
  --accent: #14A3A3;
  --border: rgba(0, 0, 0, .10);

  /* glassmorphism */
  --glass-bg: rgba(255, 255, 255, .58);
  --glass-bg-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .35);
  --glass-blur: blur(14px);
  --radius: 16px;
  --shadow-soft: 0 1px 2px rgba(16, 32, 48, .04), 0 8px 24px -8px rgba(16, 32, 48, .12);
  --shadow-lift: 0 2px 4px rgba(16, 32, 48, .05), 0 18px 44px -14px rgba(16, 32, 48, .20);

  /* density: 宽松 */
  --spacing: 28px;
  --wrap: 1340px;

  --font-head: -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: Georgia, 'Times New Roman', serif;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

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

body.aa9db1-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(58rem 40rem at 8% -6%, rgba(20, 163, 163, .16), transparent 62%),
    radial-gradient(46rem 34rem at 104% 8%, rgba(20, 163, 163, .10), transparent 60%),
    radial-gradient(40rem 40rem at 50% 108%, rgba(20, 163, 163, .09), transparent 62%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

.aa9db1-body img { max-width: 100%; height: auto; display: block; }
.aa9db1-body a { color: var(--text); text-decoration: none; }
.aa9db1-body a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6,
.aa9db1-h1, .aa9db1-h2, .aa9db1-h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.014em;
  color: var(--text);
  margin: 0 0 .55em;
}

.aa9db1-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }

.aa9db1-skip {
  position: absolute; left: -9999px;
}
.aa9db1-skip:focus {
  left: 12px; top: 12px; z-index: 99; padding: 10px 16px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-soft);
}

/* ============================================================
   Glass primitive
   ============================================================ */
.aa9db1-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Header
   ============================================================ */
.aa9db1-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-edge);
}
.aa9db1-header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; min-height: 72px;
}
.aa9db1-brand { display: flex; align-items: center; gap: 12px; }
.aa9db1-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--accent), #0d7c7c);
  box-shadow: 0 6px 16px -6px rgba(20, 163, 163, .75);
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  letter-spacing: .02em;
}
.aa9db1-brandtxt { display: flex; flex-direction: column; line-height: 1.15; }
.aa9db1-sitename {
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  letter-spacing: -.02em; color: var(--text);
}
.aa9db1-sitetag {
  font-size: 12px; color: var(--text-muted); font-family: var(--font-head);
  letter-spacing: .01em;
}

.aa9db1-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.aa9db1-nav a {
  display: block; padding: 9px 13px; border-radius: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: var(--text); border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.aa9db1-nav a:hover { background: rgba(255, 255, 255, .8); border-color: var(--glass-edge); color: var(--accent); }
.aa9db1-nav .aa9db1-here > a,
.aa9db1-nav .current-menu-item > a { color: var(--accent); }
.aa9db1-nav ul ul { display: none; }

.aa9db1-burger {
  display: none; border: 1px solid var(--glass-edge); background: var(--glass-bg-strong);
  border-radius: 10px; width: 42px; height: 38px; cursor: pointer;
  font-family: var(--font-head); font-size: 15px; color: var(--text);
}

/* ============================================================
   Buttons / pills
   ============================================================ */
.aa9db1-btn {
  display: inline-block; padding: 12px 20px; border-radius: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  background: linear-gradient(140deg, var(--accent), #0f8b8b);
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 10px 22px -12px rgba(20, 163, 163, .9);
  transition: transform .16s ease, box-shadow .16s ease;
}
.aa9db1-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(20, 163, 163, 1); }
.aa9db1-btn-ghost {
  background: rgba(255, 255, 255, .7); color: var(--text) !important;
  border: 1px solid var(--glass-edge); box-shadow: var(--shadow-soft);
}

.aa9db1-tagpill {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: #0b6b6b; background: rgba(20, 163, 163, .13);
  border: 1px solid rgba(20, 163, 163, .3);
}

/* ============================================================
   Wide asymmetric shell: content left, rail right
   ============================================================ */
.aa9db1-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 38px;
  align-items: start;
  padding: 40px 0 64px;
}
.aa9db1-main { min-width: 0; }
.aa9db1-rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }

.aa9db1-panel { padding: 24px; }
.aa9db1-panel-t {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 14px;
}

/* ============================================================
   Section head
   ============================================================ */
.aa9db1-sec { margin: 0 0 54px; }
.aa9db1-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.aa9db1-sec-t { font-size: 25px; margin: 0; }
.aa9db1-sec-more {
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--accent);
  white-space: nowrap;
}

/* ============================================================
   Card A: 16:9 cover + category + title + excerpt
   ============================================================ */
.aa9db1-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.aa9db1-card {
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.aa9db1-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.aa9db1-thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-deep);
}
.aa9db1-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.aa9db1-card:hover .aa9db1-thumb img { transform: scale(1.045); }
.aa9db1-cbody { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.aa9db1-ctitle { font-size: 19px; margin: 0; line-height: 1.3; }
.aa9db1-ctitle a { color: var(--text); }
.aa9db1-cx {
  font-size: 15.5px; color: var(--text-muted); line-height: 1.7; margin: 0;
}
.aa9db1-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--font-head); font-size: 12.5px; color: var(--text-muted);
}
.aa9db1-meta img.aa9db1-av {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--glass-edge);
}
.aa9db1-meta .aa9db1-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* horizontal strip card (module 4) */
.aa9db1-strip { display: flex; flex-direction: column; gap: 16px; }
.aa9db1-scard {
  display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 0;
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.aa9db1-scard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.aa9db1-sthumb { position: relative; min-height: 138px; background: var(--bg-deep); }
.aa9db1-sthumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.aa9db1-sbody { padding: 18px 22px; display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.aa9db1-stitle { font-size: 19px; margin: 0; }
.aa9db1-sbody p { margin: 0; font-size: 15px; color: var(--text-muted); line-height: 1.68; }

/* ============================================================
   Archive / list
   ============================================================ */
.aa9db1-arch-h { margin: 0 0 8px; font-size: 33px; }
.aa9db1-arch-sub { color: var(--text-muted); font-size: 15px; margin: 0 0 30px; font-family: var(--font-head); }

.aa9db1-pager { display: flex; gap: 8px; justify-content: center; margin: 44px 0 0; flex-wrap: wrap; }
.aa9db1-pager .page-numbers {
  display: inline-block; padding: 9px 15px; border-radius: 10px;
  background: var(--glass-bg); border: 1px solid var(--glass-edge);
  font-family: var(--font-head); font-size: 14px; color: var(--text);
}
.aa9db1-pager .page-numbers.current { background: var(--accent); color: #fff; border-color: transparent; }

/* ============================================================
   Single: pure long-form text (no featured image)
   ============================================================ */
.aa9db1-article { padding: 44px 52px 52px; }
.aa9db1-atitle { font-size: 40px; line-height: 1.16; margin: 0 0 16px; letter-spacing: -.022em; }
.aa9db1-entry {
  font-size: 19.5px; line-height: 1.92; margin-top: 32px;
}
.aa9db1-entry > * + * { margin-top: var(--spacing); }
.aa9db1-entry h2 {
  font-size: 27px; margin-top: 52px; margin-bottom: 4px;
  padding-left: 16px; border-left: 4px solid var(--accent); border-radius: 2px;
}
.aa9db1-entry h3 { font-size: 21.5px; margin-top: 38px; }
.aa9db1-entry p { margin: 0; }
.aa9db1-entry ul, .aa9db1-entry ol { padding-left: 26px; }
.aa9db1-entry li + li { margin-top: 10px; }
.aa9db1-entry blockquote {
  margin: 34px 0; padding: 18px 24px;
  background: rgba(20, 163, 163, .07);
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  font-style: italic; color: #274040;
}
.aa9db1-entry a { color: #0b6b6b; text-decoration: underline; text-decoration-color: rgba(20,163,163,.45); text-underline-offset: 3px; }
.aa9db1-entry img { border-radius: 12px; }
.aa9db1-entry table { width: 100%; border-collapse: collapse; font-size: 16px; font-family: var(--font-head); }
.aa9db1-entry th, .aa9db1-entry td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; }
.aa9db1-entry th { background: var(--bg-alt); font-weight: 700; }

.aa9db1-atags { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }

.aa9db1-authorbox { margin-top: 26px; display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.aa9db1-authorbox img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--glass-edge); }
.aa9db1-authorbox .aa9db1-an { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.aa9db1-authorbox p { margin: 3px 0 0; font-size: 14.5px; color: var(--text-muted); line-height: 1.62; }

/* ============================================================
   Entry page (page.php)
   ============================================================ */
.aa9db1-pagebox { padding: 44px 52px 56px; }
.aa9db1-pagebox .aa9db1-entry { font-size: 18.5px; }

/* ============================================================
   404
   ============================================================ */
.aa9db1-404 { text-align: center; padding: 86px 32px 96px; }
.aa9db1-404 .aa9db1-code {
  font-family: var(--font-head); font-size: 92px; font-weight: 700; line-height: 1;
  color: var(--accent); letter-spacing: -.04em; opacity: .9;
}
.aa9db1-404 p { color: var(--text-muted); max-width: 520px; margin: 14px auto 26px; }

/* ============================================================
   Forms
   ============================================================ */
.aa9db1-form { display: flex; gap: 9px; flex-wrap: wrap; }
.aa9db1-form input[type="text"],
.aa9db1-form input[type="email"],
.aa9db1-form input[type="search"],
.aa9db1-form input[type="url"] {
  flex: 1 1 190px; min-width: 0;
  padding: 12px 15px; border-radius: 11px;
  border: 1px solid var(--glass-edge); background: rgba(255, 255, 255, .82);
  font-family: var(--font-head); font-size: 14.5px; color: var(--text);
}
.aa9db1-form input:focus { outline: 2px solid rgba(20, 163, 163, .35); outline-offset: 1px; }
.aa9db1-form button, .aa9db1-form input[type="submit"] {
  padding: 12px 20px; border-radius: 11px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35);
  background: linear-gradient(140deg, var(--accent), #0f8b8b);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
}

/* ============================================================
   Footer
   ============================================================ */
.aa9db1-footer {
  margin-top: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(236,238,242,.92));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-edge);
}
.aa9db1-foot-in {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px;
  padding: 52px 0 34px;
}
.aa9db1-foot-in h4 {
  font-family: var(--font-head); font-size: 12px; letter-spacing: .11em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px;
}
.aa9db1-foot-in ul { list-style: none; margin: 0; padding: 0; }
.aa9db1-foot-in li { margin-bottom: 9px; }
.aa9db1-foot-in a, .aa9db1-foot-in p { font-size: 14.5px; color: var(--text-muted); }
.aa9db1-foot-in a:hover { color: var(--accent); }
.aa9db1-foot-bar {
  border-top: 1px solid var(--border); padding: 20px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-head); font-size: 13px; color: var(--text-muted);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .aa9db1-shell { grid-template-columns: minmax(0, 1fr); }
  .aa9db1-rail { position: static; }
  .aa9db1-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa9db1-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --spacing: 22px; }
  .aa9db1-burger { display: block; }
  .aa9db1-nav { display: none; width: 100%; order: 3; }
  .aa9db1-nav.aa9db1-open { display: block; }
  .aa9db1-nav ul { flex-direction: column; gap: 2px; padding-bottom: 14px; }
  .aa9db1-header-in { flex-wrap: wrap; }
  .aa9db1-grid { grid-template-columns: minmax(0, 1fr); }
  .aa9db1-scard { grid-template-columns: minmax(0, 1fr); }
  .aa9db1-sthumb { aspect-ratio: 16/9; min-height: 0; }
  .aa9db1-article, .aa9db1-pagebox { padding: 28px 22px 34px; }
  .aa9db1-atitle { font-size: 29px; }
  .aa9db1-entry { font-size: 17.5px; }
  .aa9db1-foot-in { grid-template-columns: 1fr; gap: 26px; }
}
