/**
 * Astra Child – Typography Styles
 *
 * Version: 1.4.1
 * Date: 2025-09-16
 * Time: 21:55 UTC
 *
 * 🔒 DO NOT DELETE THIS BLOCK – REQUIRED FOR VERSION TRACKING
 * === Change Log ===
 * 1.4.1 — 2025-09-16 21:55 UTC
 * - Enforced consistent typography across editor and live site.
 * - Fixed inline font-size issues and scrubbed legacy font-size classes.
 */

html { font-size: 125%; }

body,
button,
input,
select,
textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem; /* 20px */
  line-height: 1.65;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

h1 {
  font-size: clamp(1.5rem, 6vw, 2.75rem);
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  line-height: 1.25;
  font-weight: 600;
}

h3 { font-size: 32px; font-weight: 700; line-height: 1.25; }
h4 { font-size: 24px; font-weight: 500; line-height: 1.25; }
h5 { font-size: 18px; font-weight: 400; line-height: 1.35; }
h6 { font-size: 16px; font-weight: 400; line-height: 1.35; }

/* Paragraph rhythm */
p {
  margin-bottom: 2em;
}

/* Prevent inline size issues */
.entry-content h1[style*="font-size"],
.entry-content h2[style*="font-size"],
.entry-content h3[style*="font-size"],
.entry-content h4[style*="font-size"],
.entry-content h5[style*="font-size"],
.entry-content h6[style*="font-size"] {
  font-size: inherit !important;
  line-height: inherit !important;
}
