/* ==========================================================================
   Mask Aid Project (M.A.P.) - custom styles
   Based on the original WordPress Twenty Twenty theme look & feel
   ========================================================================== */

:root {
  --map-accent: #cd2653;
  --map-accent-hover: #a71c44;
  --map-dark: #000000;
  --map-body: #1a1a1a;
  --map-muted: #6d6d6d;
  --map-light-bg: #f5efe0;
  --map-subtle: #dcd7ca;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--map-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--map-dark);
}

a {
  color: var(--map-accent);
  text-decoration: none;
}

a:hover {
  color: var(--map-accent-hover);
}

/* ---------- Header / navigation ---------- */

.site-header {
  border-bottom: 1px solid var(--map-subtle);
  background: #fff;
}

.navbar-brand img {
  max-height: 64px;
  width: auto;
}

.navbar-brand .brand-text {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
}

.navbar-brand .brand-sub {
  display: block;
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--map-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar .nav-link {
  color: var(--map-dark);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--map-accent);
}

/* ---------- Hero ---------- */

.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--map-muted);
  font-size: 1.1rem;
}

/* ---------- Sections ---------- */

.section-block {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bg-cream {
  background-color: var(--map-light-bg);
}

/* ---------- Feature cards ---------- */

.feature-card {
  text-align: center;
  padding: 1.5rem;
}

.feature-card img {
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
}

.feature-card h4 {
  margin-bottom: 1rem;
}

.btn-map {
  background-color: var(--map-accent);
  border-color: var(--map-accent);
  color: #fff;
  border-radius: 18px;
  padding: 0.5rem 1.75rem;
}

.btn-map:hover,
.btn-map:focus {
  background-color: var(--map-accent-hover);
  border-color: var(--map-accent-hover);
  color: #fff;
}

.btn-outline-map {
  border-color: var(--map-accent);
  color: var(--map-accent);
  border-radius: 18px;
  padding: 0.5rem 1.75rem;
}

.btn-outline-map:hover {
  background-color: var(--map-accent);
  color: #fff;
}

/* ---------- Blog ---------- */

.blog-card {
  border: 1px solid var(--map-subtle);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
}

.blog-card .card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.25rem;
}

.blog-card .post-meta {
  font-size: 0.85rem;
  color: var(--map-muted);
}

.blog-card .card-title a {
  color: var(--map-dark);
}

.blog-card .card-title a:hover {
  color: var(--map-accent);
}

/* ---------- Article / post body ---------- */

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body h2 {
  margin: 2rem 0 1rem;
}

.article-body h3 {
  margin: 1.75rem 0 0.9rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1.25rem;
}

.article-body figure {
  margin: 1.5rem 0;
}

.article-body figcaption {
  font-size: 0.9rem;
  color: var(--map-muted);
  text-align: center;
  margin-top: 0.4rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

.article-body .lead {
  font-size: 1.05rem;
}

.drop-cap::first-letter {
  float: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.8;
  padding-right: 0.5rem;
  color: var(--map-accent);
}

.video-wrap {
  margin: 1.5rem 0;
}

/* ---------- Shop ---------- */

.product-card {
  text-align: center;
  padding: 1.25rem;
}

.product-card .product-img {
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  margin-bottom: 0.75rem;
}

.product-card .product-title {
  font-family: inherit;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--map-dark);
  margin-bottom: 0.75rem;
}

.product-card .btn {
  border-radius: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--map-light-bg);
  border-top: 1px solid var(--map-subtle);
}

.footer-widget {
  padding: 2.5rem 0 1.5rem;
}

.footer-widget h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-widget ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.footer-widget li {
  margin-bottom: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid var(--map-subtle);
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--map-muted);
}

/* ---------- Misc ---------- */

.featured-media {
  text-align: center;
  margin: 2rem 0;
}

.featured-media img {
  max-width: 100%;
  height: auto;
}

.breadcrumb {
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--map-muted);
}

.breadcrumb a:hover {
  color: var(--map-accent);
}

.toc-note {
  font-size: 0.9rem;
  color: var(--map-muted);
}

.pagination a {
  color: var(--map-accent);
}

@media (max-width: 575.98px) {
  .hero {
    padding: 2rem 0 1.5rem;
  }
  .section-block {
    padding: 2rem 0;
  }
}
