/* Hazel Journal - Modern Maternal & Postpartum Publication CSS */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Lora:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  --bg-page: #fbf8f4;
  --bg-surface: #ffffff;
  --bg-subtle: #f3ece4;
  --bg-accent-soft: #edf4ef;
  --bg-warmth-soft: #fbf1ed;
  --text-main: #2b221d;
  --text-muted: #64564e;
  --text-light: #897a71;
  --border-light: #e6ded5;
  --border-dark: #ccbfb3;
  --primary: #593d2b;
  --primary-hover: #422c1e;
  --accent: #3d684c;
  --accent-hover: #2e5039;
  --warmth: #b4573e;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 3px rgba(43, 34, 29, 0.05);
  --shadow-md: 0 4px 12px rgba(43, 34, 29, 0.08);
  --shadow-lg: 0 10px 25px rgba(43, 34, 29, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

a, p, span, li, h1, h2, h3, h4, h5, h6, table, pre, code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

a[href^="mailto:"], a[href^="http"] {
  overflow-wrap: anywhere;
  word-break: break-all;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

/* Base Typography */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--text-main);
  line-height: 1.35;
  font-weight: 600;
}

h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-top: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1.2rem; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s ease; }
a:hover { color: var(--warmth); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation (CSS-Only Mobile Menu) */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  min-height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* Nav Menu & Toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-light);
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  position: relative;
  transition: all 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { bottom: -6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--warmth);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--warmth);
  border-radius: 2px;
}

.btn-header-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}
.btn-header-cta:hover {
  background: var(--accent-hover);
}

/* Hero Section */
.hero-section {
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border-dark);
  color: var(--text-main);
  background: var(--bg-surface);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--border-light);
  position: relative;
}

.hero-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

/* Category Quick Filter */
.category-bar {
  padding: 1.5rem 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.category-pill {
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s ease;
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Section Header */
.section-head {
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.section-head h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.section-head .section-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Post Cards Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 3rem;
}

.post-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.card-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
  aspect-ratio: 16 / 9;
}

.card-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .card-thumb-link img {
  transform: scale(1.04);
}

.card-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.card-title a {
  color: var(--text-main);
  text-decoration: none;
}
.card-title a:hover {
  color: var(--warmth);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
}
.card-footer a {
  color: var(--primary);
  text-decoration: none;
}
.card-footer a:hover {
  color: var(--warmth);
}

/* Feature Callout Box (Home & Article) */
.callout-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  padding: 1.4rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.callout-box.tip { border-left-color: var(--accent); background: var(--bg-accent-soft); }
.callout-box.warning { border-left-color: var(--warmth); background: var(--bg-warmth-soft); }
.callout-box.info { border-left-color: var(--primary); background: var(--bg-subtle); }

.callout-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Guest Post Callout Band */
.guest-post-band {
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.band-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.band-content p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.band-action {
  text-align: right;
}

/* Article Page Layout */
.article-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--border-dark);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--primary);
}

.article-header {
  margin-bottom: 1.8rem;
}

.article-category {
  display: inline-block;
  background: var(--bg-accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
}

.article-title {
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.2rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-hero-figure {
  margin: 1.8rem 0 2.2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.article-hero-figure img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.article-hero-figure figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  line-height: 1.5;
}

.article-hero-figure figcaption a {
  color: var(--text-main);
}

/* Table of Contents */
.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-list li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.95rem;
}

.toc-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.toc-list a {
  color: var(--text-main);
  text-decoration: none;
}
.toc-list a:hover {
  color: var(--warmth);
  text-decoration: underline;
}

/* Article Body Typography */
.article-body {
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 1.55rem;
  color: var(--primary);
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}

.article-body h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

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

.article-body ul, .article-body ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--warmth);
  background: var(--bg-warmth-soft);
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-main);
}

/* Citation / External Link Box */
.citation-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin: 2.2rem 0;
  box-shadow: var(--shadow-sm);
}

.citation-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.citation-list {
  list-style: none;
  font-size: 0.9rem;
}

.citation-list li {
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.citation-list li::before {
  content: '↗';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Author Box */
.author-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.author-avatar-mark {
  width: 60px;
  height: 60px;
  background: var(--bg-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--primary);
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Related Posts */
.related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-light);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Static Page (About, Write for us, Contact, 404) */
.page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-title {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.card-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-email-card {
  background: var(--bg-accent-soft);
  border: 1px solid var(--border-light);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin: 1.5rem 0;
  max-width: 100%;
}

.contact-email-link {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.8rem 0;
}

.rule-col {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
}
.rule-col.accept { background: var(--bg-accent-soft); border-left: 4px solid var(--accent); }
.rule-col.reject { background: var(--bg-warmth-soft); border-left: 4px solid var(--warmth); }

.rule-col h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.rule-col ul {
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  background: #231c18;
  color: #d1c7be;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.footer-col p {
  color: #b5a89e;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #d1c7be;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #3d332c;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #8c7f76;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-figure img { height: 280px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .guest-post-band { grid-template-columns: 1fr; text-align: left; }
  .band-action { text-align: left; }
}

@media (max-width: 768px) {
  .nav-toggle-label { display: block; }
  
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 1.2rem;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .btn-header-cta {
    width: 100%;
    text-align: center;
  }

  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .article-title { font-size: 1.65rem; }
  .page-title { font-size: 1.65rem; }
  h1 { font-size: 1.65rem; }
  .page-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .page-container { padding: 1.75rem 1rem 3rem; }
  .card-panel { padding: 1.25rem 1rem; }
  .contact-email-link { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-title { font-size: 1.5rem; line-height: 1.3; }
  .article-title { font-size: 1.4rem; line-height: 1.3; }
  .page-title { font-size: 1.4rem; line-height: 1.3; }
  h1 { font-size: 1.4rem; }
  .brand-name { font-size: 1.2rem; }
  .brand-tagline { font-size: 0.7rem; }
  .page-container { padding: 1.5rem 0.85rem 3rem; }
  .card-panel { padding: 1.15rem 0.85rem; }
  .contact-email-card { padding: 1rem 0.5rem; }
  .contact-email-link { font-size: 1.05rem; }
}

@media (max-width: 375px) {
  html, body {
    overflow-x: hidden;
  }
  .container { padding: 0 0.75rem; }
  .hero-title { font-size: 1.35rem; line-height: 1.3; }
  .article-title { font-size: 1.3rem; line-height: 1.3; }
  .page-title { font-size: 1.3rem; line-height: 1.3; }
  h1 { font-size: 1.3rem; }
  .brand-name { font-size: 1.1rem; }
  .brand-tagline { font-size: 0.68rem; }
  .page-container { padding: 1.25rem 0.6rem 2.5rem; }
  .card-panel { padding: 1rem 0.6rem; }
  .contact-email-card { padding: 0.85rem 0.4rem; }
  .contact-email-link { font-size: 0.95rem; }
  .btn { width: 100%; text-align: center; padding: 0.65rem 1rem; }
  .hero-actions { flex-direction: column; width: 100%; gap: 0.65rem; }
}
