/* ============================================================
   06 — TYPOGRAPHY SYSTEM
   Heart of Hope 777 | Christian Outreach
   Soft, devotional, breathable typography
============================================================ */


/* ------------------------------------------------------------
   1. FONT IMPORTS
   (Cormorant Garamond for headings)
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&display=swap');


/* ------------------------------------------------------------
   2. BASE BODY TYPOGRAPHY
------------------------------------------------------------ */
body {
    font-family: var(--font-body);
    font-size: var(--scale-2);
    line-height: var(--lh-body);
    color: var(--color-body);
   }


/* ------------------------------------------------------------
   3. PARAGRAPH RHYTHM
------------------------------------------------------------ */
p {
    margin-bottom: 0.75em;
}


/* ------------------------------------------------------------
   4. HEADINGS
   Soft, pastoral, devotional tone
------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: var(--lh-heading);
    letter-spacing: 0.5px;
    color: var(--color-heading);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Perfect Fourth Scale */
h1 { font-size: var(--scale-6); }
h2 { font-size: var(--scale-5); }
h3 { font-size: var(--scale-4); }
h4 { font-size: var(--scale-3); }
h5 { font-size: var(--scale-2); }
h6 { font-size: var(--scale-1); letter-spacing: 0.25px; }


/* ------------------------------------------------------------
   5. LINKS
   Softened, pastoral link styling
------------------------------------------------------------ */
a {
    color: #3a5f7d;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover,
a:focus {
    color: #2c4a63;
    text-decoration: underline;
}


/* ------------------------------------------------------------
   6. SCRIPTURE STYLING
   Sacred pause for devotional reading
------------------------------------------------------------ */
blockquote,
.scripture {
    font-family: var(--font-heading);
    font-size: var(--scale-3);
    line-height: 1.7;
    font-style: italic;
    background: var(--scripture-bg);
    border-left: 4px solid var(--scripture-border);
    padding: 1.25em 1.5em;
    margin: 2em 0;
}


/* ------------------------------------------------------------
   7. DEVOTIONAL READING MODE
   Optional class for long-form reflections
------------------------------------------------------------ */
.reading-mode {
    max-width: 60ch;
    margin: 0 auto;
    font-size: var(--scale-3);
    line-height: 1.7;
}

.reading-mode p {
    margin-bottom: 1em;
}

.reading-mode h2,
.reading-mode h3 {
    margin-top: 1.5em;
}


/* ------------------------------------------------------------
   8. RESPONSIVE TYPOGRAPHY
   Gentle scaling across breakpoints
------------------------------------------------------------ */
html {
    font-size: 16px;
}

@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
}


/* ------------------------------------------------------------
   9. CONTENT WIDTH
   Ensures consistent reading width across templates
------------------------------------------------------------ */
.entry-content,
.page-content,
.post-content {
    max-width: var(--reading-width);
    margin-left: auto;
    margin-right: auto;
}

/* Fix verse text inside scripture blocks */
blockquote p,
.scripture p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    font-size: var(--scale-3);
    line-height: 1.7;
    margin: 0.5em 0;
}

.scripture strong,
blockquote strong {
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ------------------------------------------------------------
   HOMEPAGE HERO — TYPOGRAPHY REFINEMENTS
------------------------------------------------------------ */

.home .entry-header {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.home .entry-header h1 {
    font-size: var(--scale-6);
    line-height: 1.2;
    margin-bottom: 0.75em;
    letter-spacing: 0.6px;
}

.home .entry-header p {
    font-size: var(--scale-3);
    line-height: 1.6;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    color: var(--color-body);
}

/* Scripture block spacing inside hero */
.home blockquote,
.home .scripture {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* Soften the “Who is Your Cornerstone?” link */
.home a {
    font-size: var(--scale-3);
    letter-spacing: 0.3px;
}

/* ============================================================
   NOTICES BOARD — MODULE WRAPPER
   Matches Scripture block spacing, tone, and rhythm
============================================================ */

.hoh-module.hoh-notices-board {
    max-width: 70ch;
    margin-block: 4rem;              /* vertical rhythm */
    padding-inline: var(--space-3);  /* gentle horizontal breathing room */
    text-align: left;
}


/* ============================================================
   HEADER (Icon + Title)
============================================================ */

.hoh-module.hoh-notices-board .hoh-module__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hoh-module.hoh-notices-board .hoh-module__icon {
    font-size: var(--scale-4);
    line-height: 1;
}

.hoh-module.hoh-notices-board .hoh-module__title {
    font-family: var(--font-heading);
    font-size: var(--scale-4);
    font-weight: 500;
    letter-spacing: 0.4px;
    color: var(--color-heading);
    margin: 0;
}


/* ============================================================
   DIVIDER
   Soft, subtle, matches Scripture block tone
============================================================ */

.hoh-module.hoh-notices-board .hoh-module__divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    margin-block: 1.5rem;
}


/* ============================================================
   NOTICES LIST WRAPPER
============================================================ */

.hoh-notices-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* consistent rhythm between notices */
}


/* ============================================================
   INDIVIDUAL NOTICE ROW
============================================================ */

.hoh-notices-list .notice-row {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}


/* ============================================================
   NOTICE DATE
   Gentle, devotional, unobtrusive
============================================================ */

.hoh-notices-list .notice-date {
    font-family: var(--font-body);
    font-size: var(--scale-1);
    color: #666;
    font-style: italic;
    margin-bottom: 0.35rem;
    letter-spacing: 0.2px;
    display: block;
}


/* ============================================================
   NOTICE MESSAGE
   Soft, pastoral, aligned with Scripture block tone
============================================================ */

.hoh-notices-list .notice-message {
    font-family: var(--font-heading);
    font-size: var(--scale-2);       /* slightly smaller, devotional tone */
    line-height: 1.7;                /* soft, breathable */
    color: var(--color-muted);       /* gentle tone */
    font-weight: 300;                /* light, calm */
    margin-bottom: 0.75rem;
}

/* Optional: soften emoji appearance */
.hoh-notices-list .notice-message img.emoji {
    width: 1.1em;
    height: 1.1em;
    vertical-align: -0.1em;
    opacity: 0.9;
}

/* ================================================================
   PHASE 5 — TYPOGRAPHY RHYTHM
================================================================ */

body {
  line-height: var(--lh-body);
}

p,
ul,
ol,
blockquote {
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
}

h1, h2, h3, h4 {
  line-height: var(--lh-heading);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

h1 + p,
h2 + p,
h3 + p {
  margin-top: var(--space-1);
}
