/* ==========================================================================
   Sozo - ministry research & insights theme layer
   Loaded after style-4.4 (and dark-4.4). Colour accent comes from
   Admin > Settings > Theme via --inf-main-color; heading/serif font from the
   "secondary font" setting (default Lora), UI font from "primary" (Inter).
   ========================================================================== */

:root {
    --sozo-ink: #1d1a17;
    --sozo-muted: #6b645c;
    --sozo-rule: #e7e2da;
    --sozo-paper: #fbfaf7;
    --sozo-soft: #f4f1ec;
    --sozo-accent: var(--inf-main-color, #7a2f3b);
    --sozo-serif: var(--inf-font-secondary, Georgia, serif);
    --sozo-accent-text: var(--sozo-accent);
}

body.sozo-dark {
    --sozo-ink: #ece8e2;
    --sozo-muted: #a39b91;
    --sozo-rule: #34302b;
    --sozo-paper: #16171a;
    --sozo-soft: #1f2024;
    --sozo-accent-text: #e0a3ad;
}

body.sozo {
    background: var(--sozo-paper);
    color: var(--sozo-ink);
}

/* ---------- Header ---------- */
.sozo .navbar-inverse,
.sozo .nav-top-container,
.sozo .nav-container {
    background: var(--sozo-paper);
}
.sozo #header {
    border-bottom: 1px solid var(--sozo-rule);
    box-shadow: none;
}
.sozo .navbar-nav > li > a {
    letter-spacing: .06em;
}

/* ---------- Home intro ---------- */
.sozo-intro {
    padding: 36px 0 26px;
    border-bottom: 1px solid var(--sozo-rule);
    margin-bottom: 24px;
}
.sozo-eyebrow {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sozo-accent-text);
    font-weight: 600;
    margin: 0 0 10px;
}
.sozo-intro-title {
    font-family: var(--sozo-serif);
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
    color: var(--sozo-ink);
    margin: 0 0 12px;
    max-width: 820px;
}
.sozo-intro-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--sozo-muted);
    max-width: 720px;
    margin: 0 0 24px;
}
.sozo-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.sozo-pillar {
    display: block;
    padding: 14px 0 0;
    border-top: 2px solid var(--sozo-ink);
    color: var(--sozo-ink);
    text-decoration: none !important;
    transition: border-color .15s;
}
.sozo-pillar:hover {
    border-top-color: var(--sozo-accent-text);
}
.sozo-pillar-name {
    display: block;
    font-family: var(--sozo-serif);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
}
.sozo-pillar:hover .sozo-pillar-name {
    color: var(--sozo-accent-text);
}
.sozo-pillar-desc {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--sozo-muted);
}

/* ---------- Slider (featured studies) ---------- */
.sozo #slider {
    margin-bottom: 8px;
}
.sozo .label-slider-category,
.sozo .label-post-category {
    background: var(--sozo-accent) !important;
    border-radius: 2px;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
}
.sozo .home-slider-item .title {
    font-family: var(--sozo-serif);
}

/* ---------- Post lists ---------- */
.sozo .post-item-horizontal {
    border-bottom: 1px solid var(--sozo-rule);
    padding-bottom: 24px;
    margin-bottom: 24px;
}
.sozo .post-item-horizontal .title,
.sozo .post-item .title,
.sozo .post-item-boxed .title {
    font-family: var(--sozo-serif);
    font-weight: 700;
    line-height: 1.3;
}
.sozo .post-item-horizontal .title a,
.sozo .post-item .title a {
    color: var(--sozo-ink);
}
.sozo .post-item-horizontal .title a:hover,
.sozo .post-item .title a:hover {
    color: var(--sozo-accent-text);
}
.sozo .summary {
    color: var(--sozo-muted);
    line-height: 1.6;
}
.sozo .post-meta,
.sozo .post-meta a {
    color: var(--sozo-muted);
    font-size: 12.5px;
}
.sozo-read-time {
    white-space: nowrap;
}
.sozo-read-time::before {
    content: "\00B7";
    margin-right: 6px;
}

/* ---------- Sidebar widgets ---------- */
.sozo .widget-title {
    border-bottom: 1px solid var(--sozo-rule);
}
.sozo .widget-title .title {
    font-family: inherit;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sozo-ink);
}
.sozo .widget .title a {
    font-family: var(--sozo-serif);
}

/* ---------- Article page: built for long reading ---------- */
.sozo .post-content .post-title .title {
    font-family: var(--sozo-serif);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--sozo-ink);
}
.sozo .post-content .post-summary h2 {
    font-family: var(--sozo-serif);
    font-style: italic;
    font-size: 19px;
    line-height: 1.6;
    color: var(--sozo-muted);
    font-weight: 400;
}
.sozo .post-text,
.sozo .post-text.text-style {
    font-family: var(--sozo-serif);
    /* base theme forces 15px/28px with !important on .text-style */
    font-size: 19px !important;
    line-height: 1.8 !important;
    color: var(--sozo-ink);
    max-width: 700px;
}
.sozo .post-text p {
    margin: 0 0 1.2em;
}
.sozo .post-text h2 {
    font-family: var(--sozo-serif);
    font-size: 26px;
    font-weight: 700;
    margin: 1.6em 0 .5em;
}
.sozo .post-text h3 {
    font-family: inherit;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sozo-accent-text);
    margin: 2em 0 .8em;
}
.sozo .post-text ul,
.sozo .post-text ol {
    padding-left: 1.3em;
    margin-bottom: 1.2em;
}
.sozo .post-text li {
    margin-bottom: .4em;
}
.sozo .post-text a {
    color: var(--sozo-accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Scripture & quotations */
.sozo .post-text blockquote {
    margin: 1.6em 0;
    padding: 18px 24px;
    border-left: 3px solid var(--sozo-accent);
    background: var(--sozo-soft);
    font-size: 21px;
    font-style: italic;
    line-height: 1.6;
    color: var(--sozo-ink);
}
.sozo .post-text blockquote p {
    margin: 0;
}
.sozo .post-text blockquote cite {
    display: block;
    margin-top: 10px;
    font-family: var(--inf-font-primary, sans-serif);
    font-style: normal;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sozo-accent-text);
}
.sozo .post-text blockquote cite::before {
    content: "\2014\00A0";
}

/* References / footnotes */
.sozo .post-text ol.references {
    font-family: var(--inf-font-primary, sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: var(--sozo-muted);
    border-top: 1px solid var(--sozo-rule);
    padding-top: 14px;
}
.sozo .post-text sup a {
    text-decoration: none;
    font-weight: 700;
}

/* ---------- Static pages ---------- */
.sozo .page-title {
    font-family: var(--sozo-serif);
}

/* ---------- Footer ---------- */
.sozo #footer .footer-widget .title {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sozo-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .sozo-intro {
        padding: 22px 0 18px;
    }
    .sozo-intro-title {
        font-size: 30px;
    }
    .sozo-intro-lead {
        font-size: 15.5px;
        margin-bottom: 18px;
    }
    .sozo-pillars {
        gap: 12px;
    }
    .sozo-pillar-desc {
        display: none;
    }
    .sozo .post-content .post-title .title {
        font-size: 28px;
    }
    .sozo .post-text,
    .sozo .post-text.text-style {
        font-size: 18px !important;
    }
    .sozo .post-text blockquote {
        font-size: 19px;
        padding: 14px 16px;
    }
}
