/*
Theme Name: AccessibilityScanner Blog
Theme URI: https://accessibilityscanner.org
Author: AccessibilityScanner.org
Description: Editorial WordPress theme for the AccessibilityScanner.org blog.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary
Text Domain: accessibilityscanner-blog
*/

:root {
  --canvas: #f5f6f8;
  --paper: #ffffff;
  --ink: #121522;
  --muted: #5a6172;
  --accent: #4b00b5;
  --accent-ink: #260071;
  --line: #dde1e9;
  --mint: #008a58;
  --shadow-soft: 0 20px 46px rgba(28, 24, 78, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(75, 0, 181, 0.35);
  outline-offset: 3px;
}

.site-header {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0 46px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: var(--accent-ink);
  font-size: 16px;
  text-decoration: none;
}

.logo-mark {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  overflow: visible;
}

.logo-lens,
.logo-handle,
.logo-person-body {
  fill: none;
  stroke: #123b72;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-lens {
  stroke-width: 5;
}

.logo-handle {
  stroke-width: 6;
}

.logo-person-head {
  fill: #1267b3;
}

.logo-person-body {
  stroke-width: 5;
}

.logo-check {
  fill: none;
  stroke: #04b965;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: #1b1b32;
  font-size: 12px;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
}

.blog-hero {
  padding: 70px 8vw 60px;
  text-align: center;
  background: #f5f6f8;
}

.blog-hero h1 {
  max-width: 980px;
  margin: 0 auto 18px;
  color: var(--accent-ink);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.blog-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #384155;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #4f5a70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 86px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-card {
  display: grid;
  align-content: start;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.post-card h2,
.post-card h3 {
  margin: 0 0 12px;
  color: var(--accent-ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.15;
}

.post-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.post-card a {
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.post-meta {
  margin-bottom: 16px;
  color: #65708a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 68px 24px 90px;
}

.article-shell article {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.article-shell h1 {
  margin: 0 0 18px;
  color: var(--accent-ink);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  text-wrap: balance;
}

.article-content {
  color: #344054;
  font-size: 18px;
}

.article-content h2 {
  margin-top: 42px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

.article-content h3 {
  margin-top: 32px;
  color: var(--ink);
}

.article-content p,
.article-content li {
  line-height: 1.75;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.article-cta {
  margin-top: 44px;
  padding: 28px;
  border-radius: 10px;
  background: var(--accent-ink);
  color: #ffffff;
}

.article-cta h2,
.article-cta p {
  color: #ffffff;
}

.article-cta a {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--accent-ink);
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 46px;
  background: #222629;
  color: #ffffff;
  font-size: 13px;
}

.site-footer a {
  color: #d9dee6;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    display: flex;
    padding: 12px 18px;
  }

  .blog-hero {
    padding: 46px 20px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 28px 18px;
  }
}
