/* ==========================================================================
   Trust sections: Accreditation (#accreditation) and Billy Graham School of
   Evangelism (#billy-graham-school-of-evangelism).

   Markup lives in includes/sections/*.html and is stamped into each page as
   static HTML by scripts/sync_sections.py (static on purpose, so search
   engines index it without running JavaScript). Everything here is prefixed
   .ltr- and self-contained: it does not depend on page-scoped CSS.
   Mobile (<=768px): each section fits one screen.
   ========================================================================== */

.ltr-section {
    --ltr-blue: #0071e3;
    --ltr-navy: #0a2540;
    --ltr-navy-2: #0b4a8f;
    --ltr-ink: #1d1d1f;
    --ltr-muted: #515154;
    padding: clamp(48px, 6vw, 80px) 0;
    position: relative;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}
.ltr-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.ltr-show-mobile { display: none !important; }

/* --- shared header: eyebrow + H2 + lead, centered --- */
.ltr-head {
    max-width: 820px;
    margin: 0 auto clamp(28px, 4vw, 44px);
    text-align: center;
}
.ltr-eyebrow-row {
    text-align: center;
    margin-bottom: 14px;
}
.ltr-title {
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 20px;
    background: linear-gradient(135deg, #0072ff 0%, #00c6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ltr-blue);
    text-wrap: balance;
}
.ltr-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ltr-muted);
    margin: 0 auto;
    max-width: 760px;
    text-wrap: balance;
}
.ltr-lead strong { color: var(--ltr-ink); }

/* --- buttons --- */
.ltr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.ltr-btn:hover { transform: translateY(-2px); }
.ltr-section .ltr-btn-blue {
    background: var(--ltr-blue);
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(0, 113, 227, .28);
}
.ltr-section .ltr-btn-blue:hover { background: #0062c4; }
.ltr-section .ltr-btn-white {
    background: #fff;
    color: var(--ltr-navy) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
.ltr-section .ltr-btn-white:hover { color: var(--ltr-blue) !important; }

/* ==========================================================================
   ACCREDITATION: two credential cards of equal weight (ASIC | Texas), then
   a strip of four proof points. Light, to alternate with the navy Carlos
   Gerke card above it.
   ========================================================================== */
.ltr-cred-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.ltr-cred {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 37, 64, .07);
}
.ltr-cred-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(160deg, #f7faff 0%, #eef4fc 100%);
    border-right: 1px solid rgba(15, 23, 42, .06);
}
/* optical balance: the tall ASIC seal and the wide TEA mark get about
   the same visual area */
.ltr-cred-asic { height: 136px; width: auto; display: block; }
.ltr-cred-tea { width: 150px; height: auto; display: block; }
.ltr-cred-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ltr-cred-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ltr-blue);
    margin-bottom: 6px;
}
.ltr-section .ltr-cred-body h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.2;
    color: var(--ltr-ink);
    margin: 0 0 10px;
}
.ltr-section .ltr-cred-body p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ltr-muted);
    margin: 0 0 16px;
    text-wrap: pretty;
}
.ltr-section .ltr-cred-link {
    margin-top: auto;
    color: var(--ltr-blue);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.ltr-cred-link i { font-size: 12px; margin-left: 5px; }
.ltr-section .ltr-cred-link:hover { text-decoration: underline; }

.ltr-acc-points {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.ltr-acc-point {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 22px;
    padding: 22px 22px 20px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ltr-acc-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}
.ltr-acc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, .09);
    color: var(--ltr-blue);
    font-size: 17px;
    margin-bottom: 14px;
}
.ltr-section .ltr-acc-point h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--ltr-ink);
    margin: 0 0 6px;
    line-height: 1.25;
}
.ltr-section .ltr-acc-point p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ltr-muted);
    margin: 0;
    text-wrap: pretty;
}
.ltr-acc-point p strong { color: var(--ltr-ink); }

/* ==========================================================================
   BILLY GRAHAM SCHOOL OF EVANGELISM: cinematic navy card, photo on the
   right fading into Lucent navy, content on the left
   ========================================================================== */
.ltr-bg-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--ltr-navy) 0%, #0d3b6e 60%, var(--ltr-navy-2) 100%);
    box-shadow: 0 30px 70px rgba(0, 30, 80, .30);
    min-height: 560px;
    isolation: isolate;
}
/* the photo is its own right-hand panel at native resolution (crop of
   Billy Graham with the raised Bible); only its left edge dissolves into
   the navy, so his face stays bright */
.ltr-bg-photo {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: -2;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 5%, rgba(0, 0, 0, .65) 11%, #000 19%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .2) 5%, rgba(0, 0, 0, .65) 11%, #000 19%);
}
.ltr-bg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(10, 37, 64, .35) 0%, rgba(10, 37, 64, 0) 22%);
    pointer-events: none;
}
.ltr-bg-body {
    width: 54%;
    box-sizing: border-box;
    padding: 52px 24px 52px 52px;
    color: #fff;
}
.ltr-section .ltr-bg-h3 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 0 0 12px;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    background: none;
}
.ltr-bg-text {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .80);
    margin: 0 0 24px;
}
.ltr-bg-courses {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 8px;
}
.ltr-bg-courses li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ltr-bg-courses li span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: var(--ltr-navy);
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ltr-bg-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.ltr-bg-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .88);
}
.ltr-bg-facts li i {
    width: 18px;
    text-align: center;
    color: #64d2ff;
}
.ltr-bg-facts strong { color: #fff; }
.ltr-bg-voices {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.ltr-bg-faces {
    display: flex;
    flex-shrink: 0;
}
.ltr-bg-faces img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
    border: 2px solid var(--ltr-navy);
    margin-left: -10px;
    background: #1a3a60;
}
.ltr-bg-faces img:first-child { margin-left: 0; }
.ltr-bg-voices p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .78);
}
/* the certificate sits on the seam between the text and the photo, over
   the pulpit, clear of the face and the Bible */
.ltr-bg-cert {
    position: absolute;
    left: 55%;
    bottom: 36px;
    width: 124px;
    margin: 0;
    transform: rotate(-6deg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .45);
    border: 3px solid #fff;
    transition: transform .35s ease;
}
.ltr-bg-card:hover .ltr-bg-cert { transform: rotate(-3deg) translateY(-4px); }
.ltr-bg-cert img { width: 100%; height: auto; display: block; }

/* --- tablet --- */
@media (max-width: 1024px) and (min-width: 769px) {
    .ltr-cred { grid-template-columns: 130px minmax(0, 1fr); }
    .ltr-cred-asic { height: 104px; }
    .ltr-cred-tea { width: 104px; }
    .ltr-cred-body { padding: 22px; }
    .ltr-acc-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ltr-bg-photo { width: 54%; }
    .ltr-bg-body { width: 58%; padding: 40px 20px 40px 36px; }
    .ltr-bg-cert { display: none; }
}

/* ==========================================================================
   MOBILE (<=768px): one screen per section, compressed copy.
   Selectors start with .ltr-section to beat css/site.css phone rules such
   as "body.page-index p { font-size: 15.5px !important }".
   ========================================================================== */
@media (max-width: 768px) {
    .ltr-section .ltr-hide-mobile { display: none !important; }
    .ltr-section .ltr-show-mobile { display: inline !important; }
    .ltr-section p.ltr-show-mobile { display: block !important; }

    section.ltr-section {
        padding: 32px 0 !important;
        max-height: 100svh;
        box-sizing: border-box;
        overflow: hidden;
    }
    .ltr-section .ltr-wrap { padding: 0 16px; }
    .ltr-section .ltr-head { margin-bottom: 16px; }
    /* site.css forces left-aligned h1-h4, p and .eyebrow on phones */
    .ltr-section .ltr-head,
    .ltr-section .ltr-head .ltr-title,
    .ltr-section .ltr-head .ltr-lead,
    .ltr-section .ltr-eyebrow-row,
    .ltr-section .ltr-eyebrow-row .eyebrow { text-align: center !important; }
    .ltr-section .ltr-eyebrow-row { margin-bottom: 6px; }
    .ltr-section .ltr-title { font-size: 24px !important; line-height: 1.15 !important; margin-bottom: 8px !important; }
    .ltr-section .ltr-lead { font-size: 14.5px !important; line-height: 1.45 !important; }
    .ltr-section .ltr-btn { padding: 10px 18px; font-size: 14px; }

    /* accreditation: seal strip on top, 2x2 compact tiles */
    .ltr-section .ltr-cred-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .ltr-section .ltr-cred { grid-template-columns: 92px minmax(0, 1fr); border-radius: 18px; }
    .ltr-section .ltr-cred-logo { padding: 12px; }
    .ltr-section .ltr-cred-asic { height: 70px; }
    .ltr-section .ltr-cred-tea { width: 76px; }
    .ltr-section .ltr-cred-body { padding: 12px 14px; }
    .ltr-section .ltr-cred-label { font-size: 10px; margin-bottom: 2px; }
    .ltr-section .ltr-cred-body h3 { font-size: 16px !important; line-height: 1.2 !important; margin: 0 0 3px !important; text-align: left !important; }
    .ltr-section .ltr-cred-body p { font-size: 12.5px !important; line-height: 1.4 !important; margin: 0 0 6px !important; text-align: left !important; }
    .ltr-section .ltr-cred-link { font-size: 13px; }
    .ltr-section .ltr-acc-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
    .ltr-section .ltr-acc-point { padding: 12px; border-radius: 16px; }
    .ltr-section .ltr-acc-icon { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; margin-bottom: 6px; }
    .ltr-section .ltr-acc-point h3 { font-size: 13px !important; line-height: 1.25 !important; margin: 0 !important; text-align: left !important; }

    /* billy graham: photo band on top, content below */
    .ltr-section .ltr-bg-card { min-height: 0; border-radius: 22px; }
    .ltr-section .ltr-bg-photo {
        position: relative;
        width: 100%;
        height: 150px;
        object-position: 50% 40%;
        display: block;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .ltr-section .ltr-bg-card::before {
        background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0px, rgba(10, 37, 64, 0) 96px, var(--ltr-navy) 152px);
    }
    .ltr-section .ltr-bg-body { width: auto; padding: 0 16px 18px; margin-top: -24px; max-width: none; position: relative; }
    .ltr-section .ltr-bg-h3 { font-size: 21px !important; margin: 0 0 10px !important; text-align: left !important; }
    .ltr-section .ltr-bg-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
    .ltr-section .ltr-bg-courses li { font-size: 13px; padding: 6px 10px 6px 6px; }
    .ltr-section .ltr-bg-courses li span { width: 20px; height: 20px; font-size: 11px; }
    .ltr-section .ltr-bg-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; margin-bottom: 12px; }
    .ltr-section .ltr-bg-facts li { font-size: 12.5px; gap: 7px; align-items: flex-start; line-height: 1.35; }
    .ltr-section .ltr-bg-facts li i { margin-top: 2px; }
    .ltr-section .ltr-bg-voices { gap: 10px; margin-bottom: 14px; padding-top: 12px; }
    .ltr-section .ltr-bg-faces img { width: 28px; height: 28px; margin-left: -8px; }
    .ltr-section .ltr-bg-faces img:nth-child(n+5) { display: none; }
    .ltr-section .ltr-bg-voices p { font-size: 12px !important; line-height: 1.4 !important; text-align: left !important; }
    .ltr-section .ltr-bg-body .ltr-btn { width: 100%; box-sizing: border-box; }
    .ltr-section .ltr-bg-cert { display: none; }
}

/* short phones (e.g. 375x667): drop the secondary lines so each section
   still fits one screen */
@media (max-width: 768px) and (max-height: 740px) {
    .ltr-section .ltr-cred-label { display: none; }
    .ltr-section .ltr-lead { display: none !important; }
    .ltr-section .ltr-title { margin-bottom: 0 !important; }
    .ltr-section .ltr-cred-asic { height: 58px; }
    .ltr-section .ltr-cred-tea { width: 62px; }
    .ltr-section .ltr-bg-photo { height: 120px; }
    .ltr-section .ltr-bg-card::before {
        background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0px, rgba(10, 37, 64, 0) 70px, var(--ltr-navy) 122px);
    }
    .ltr-section .ltr-bg-voices p { display: none; }
}
