/* Ask The Theologian shared site styles */
:root {
  --att-bg: #edf5ff;
  --att-surface: #ffffff;
  --att-surface-2: #f5f9ff;
  --att-text: #11253c;
  --att-muted: #4b647d;
  --att-accent: #003f88;
  --att-accent-2: #00509d;
  --att-accent-3: #4f83cc;
  --att-border: #cfe0f5;
  --att-shadow: 0 18px 40px rgba(0, 48, 112, 0.12);
  --att-radius: 18px;
  --att-width: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; background: linear-gradient(180deg, #f8fbff 0%, var(--att-bg) 100%); color: var(--att-text); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--att-accent); text-decoration-thickness: 2px; text-underline-offset: 2px; }
a:hover { color: #002b5c; }
main, .page-shell, .container { width: min(calc(100% - 2rem), var(--att-width)); margin: 0 auto; }
header.hero, section.hero, .hero { padding: 4rem 0 2rem; }
.hero-card, .card, article.card, section.card { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,249,255,0.95)); border: 1px solid var(--att-border); border-radius: var(--att-radius); box-shadow: var(--att-shadow); padding: clamp(1.25rem, 2vw, 2rem); }
.site-nav { width:min(calc(100% - 2rem),var(--att-width)); margin:0 auto; padding:1rem 0; display:flex; justify-content:space-between; gap:1rem; align-items:center; }
.site-nav .brand { display:flex; align-items:center; gap:1rem; font-weight:700; color:var(--att-text); text-decoration:none; min-width:0; }
.site-nav .brand img { width: 64px; height:auto; flex:0 0 auto; }
.site-nav .brand span { min-width:0; }
.site-nav .links { display:flex; flex-wrap:wrap; gap:.85rem; justify-content:flex-end; }
.site-nav .links a { text-decoration:none; font-weight:700; color:var(--att-accent); }
.badge { display:inline-block; padding:.35rem .7rem; border-radius:999px; background:#dcecff; color:var(--att-accent); font-weight:700; letter-spacing:.02em; }
h1, h2, h3, h4 { line-height: 1.15; color: #0d2238; margin: 0 0 0.65em; }
h1 { font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p.lead, .lead { font-size: 1.15rem; color: var(--att-muted); }
.grid, .card-grid { display: grid; gap: 1.5rem; }
.grid.two, .card-grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.three, .card-grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.button, .btn, button { display: inline-block; padding: 0.8rem 1.2rem; border-radius: 999px; border: none; background: linear-gradient(135deg, var(--att-accent), var(--att-accent-2)); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 63, 136, 0.24); }
.button.secondary, .btn.secondary { background: linear-gradient(135deg, #41678f, #2d4e70); }
.button.ghost, .btn.ghost { background:#fff; color:var(--att-accent); border:1px solid var(--att-border); box-shadow:none; }
.price { font-size: 2rem; font-weight: 700; color: var(--att-accent); }
blockquote.scripture, blockquote.scripturequote { margin:1.5rem 0; padding:1rem 1.25rem; border-left:4px solid var(--att-accent-3); background:#eef5ff; font-style:italic; }
ul.clean, ol.clean { padding-left: 1.2rem; }
.search-shell { display:grid; gap:1rem; }
.search-box { display:flex; gap:.75rem; flex-wrap:wrap; }
.search-box input, .search-box select, textarea, input[type="text"], input[type="email"], input[type="password"] { flex:1 1 220px; padding:.9rem 1rem; border-radius:12px; border:1px solid var(--att-border); background:#fff; font:inherit; color:var(--att-text); }
.paywall { border:1px dashed #80a7d4; background: linear-gradient(180deg, #f7fbff, #ecf5ff); padding:1rem 1.25rem; border-radius:16px; }
.meta-list { display:flex; flex-wrap:wrap; gap:.6rem; margin:0; padding:0; list-style:none; }
.meta-list li, .meta-inline { color:#214971; font-size:.95rem; }
.meta-list li { padding:.35rem .7rem; border-radius:999px; background:#e6f0ff; }
.article-list { display:grid; gap:1rem; }
.article-list article { background:#fff; border:1px solid var(--att-border); border-radius:16px; padding:1rem 1.1rem; }
footer.site-footer { width:min(calc(100% - 2rem), var(--att-width)); margin:3rem auto 2rem; color:var(--att-muted); font-size:.95rem; }
@media (max-width: 760px) {
  .site-nav {
    padding: .85rem 0;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav .brand {
    justify-content: center;
    gap: .75rem;
  }
  .site-nav .brand img {
    width: 52px;
  }
  .site-nav .links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .site-nav .links a {
    display: block;
    padding: .7rem .8rem;
    border-radius: 12px;
    border: 1px solid var(--att-border);
    background: rgba(255,255,255,.9);
    text-align: center;
  }
}
@media (max-width: 480px) {
  .site-nav .links {
    grid-template-columns: 1fr;
  }
}
