/*
Theme Name: BlessChurch Help
Theme URI: https://help.blesschurch.com
Author: BlessChurch
Description: Official documentation and support theme for BlessChurch.
Version: 1.0.0
Text Domain: blesschurch-help
*/

:root {
    --bc-navy: #071426;
    --bc-navy-soft: #10243d;
    --bc-primary: #1b70bb;
    --bc-blue: #2491eb;
    --bc-sky: #85c4f5;
    --bc-ink: #101828;
    --bc-muted: #667085;
    --bc-line: #e6eaf0;
    --bc-surface: #f6f8fb;
    --bc-white: #ffffff;
    --bc-radius: 18px;
    --bc-shadow: 0 18px 50px rgba(16, 24, 40, .08);
    --bc-container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bc-ink);
    background: var(--bc-white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--bc-primary);
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.bc-help-container {
    width: min(calc(100% - 40px), var(--bc-container));
    margin-inline: auto;
}

/* Header */
.bc-help-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(16, 24, 40, .06);
    backdrop-filter: blur(18px);
}

.bc-help-nav {
    min-height: 68px;
    padding: 10px 12px 10px 18px;
    display: flex;
    align-items: center;
    gap: 34px;
    border: 1px solid var(--bc-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 35px rgba(16, 24, 40, .06);
}

.bc-help-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: var(--bc-ink);
}

.bc-help-brand img {
    width: 42px;
    height: 48px;
    object-fit: contain;
}

.bc-help-brand-copy {
    display: grid;
    line-height: 1.05;
}

.bc-help-brand-copy strong {
    font-size: 16px;
    letter-spacing: -.025em;
}

.bc-help-brand-copy span {
    margin-top: 5px;
    color: var(--bc-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bc-help-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.bc-help-menu a {
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.bc-help-menu a:hover {
    color: var(--bc-primary);
}

.bc-help-app-link {
    padding: 13px 18px;
    border-radius: 13px;
    color: var(--bc-white) !important;
    background: var(--bc-navy);
    box-shadow: 0 10px 24px rgba(7, 20, 38, .18);
}

/* Hero */
.bc-help-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(88px, 11vw, 150px) 0;
    color: var(--bc-white);
    background:
        radial-gradient(circle at 82% 12%, rgba(36, 145, 235, .34), transparent 34%),
        radial-gradient(circle at 16% 90%, rgba(133, 196, 245, .13), transparent 30%),
        linear-gradient(135deg, var(--bc-navy), #0b223d 62%, #10385d);
}

.bc-help-hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -300px;
    border: 1px solid rgba(133, 196, 245, .18);
    border-radius: 50%;
}

.bc-help-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.bc-help-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--bc-sky);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bc-help-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.bc-help-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.bc-help-hero p {
    max-width: 650px;
    margin: 24px auto 0;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.bc-help-search {
    position: relative;
    max-width: 720px;
    margin: 38px auto 0;
}

.bc-help-search input[type="search"] {
    width: 100%;
    min-height: 66px;
    padding: 0 150px 0 56px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    outline: none;
    color: var(--bc-ink);
    background: var(--bc-white);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.bc-help-search-icon {
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bc-muted);
    font-size: 21px;
}

.bc-help-search button {
    position: absolute;
    top: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0 23px;
    border: 0;
    border-radius: 12px;
    color: var(--bc-white);
    background: var(--bc-primary);
    font-weight: 800;
    cursor: pointer;
}

/* Main content */
.bc-help-main {
    min-height: 55vh;
}

.bc-help-section {
    padding: clamp(70px, 9vw, 115px) 0;
}

.bc-help-section-alt {
    background: var(--bc-surface);
}

.bc-help-section-head {
    max-width: 680px;
    margin-bottom: 38px;
}

.bc-help-section-head h2 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.bc-help-section-head p {
    margin: 0;
    color: var(--bc-muted);
}

.bc-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bc-help-card {
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--bc-line);
    border-radius: var(--bc-radius);
    color: var(--bc-ink);
    background: var(--bc-white);
    box-shadow: 0 10px 34px rgba(16, 24, 40, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bc-help-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 112, 187, .26);
    box-shadow: var(--bc-shadow);
}

.bc-help-card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 14px;
    color: var(--bc-primary);
    background: rgba(36, 145, 235, .10);
    font-weight: 900;
}

.bc-help-card h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.bc-help-card p {
    margin: 0;
    color: var(--bc-muted);
    font-size: 14px;
}

.bc-help-card-meta {
    display: block;
    margin-top: 20px;
    color: var(--bc-primary);
    font-size: 13px;
    font-weight: 800;
}

/* Articles */
.bc-help-article-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 760px);
    justify-content: center;
    gap: 64px;
    padding: 70px 0 110px;
}

.bc-help-sidebar {
    align-self: start;
    position: sticky;
    top: 116px;
}

.bc-help-sidebar-title {
    margin-bottom: 14px;
    color: var(--bc-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bc-help-sidebar a {
    display: block;
    padding: 9px 12px;
    border-radius: 9px;
    color: #475467;
    font-size: 14px;
    font-weight: 650;
}

.bc-help-sidebar a:hover,
.bc-help-sidebar a.is-current {
    color: var(--bc-primary);
    background: rgba(36, 145, 235, .08);
}

.bc-help-breadcrumbs {
    margin-bottom: 22px;
    color: var(--bc-muted);
    font-size: 13px;
}

.bc-help-breadcrumbs a {
    color: inherit;
}

.bc-help-article h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.bc-help-article-meta {
    padding-bottom: 26px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--bc-line);
    color: var(--bc-muted);
    font-size: 13px;
}

.bc-help-content {
    color: #344054;
    font-size: 17px;
}

.bc-help-content h2,
.bc-help-content h3 {
    color: var(--bc-ink);
    line-height: 1.2;
    letter-spacing: -.03em;
}

.bc-help-content h2 {
    margin-top: 48px;
    font-size: 30px;
}

.bc-help-content h3 {
    margin-top: 34px;
    font-size: 22px;
}

.bc-help-content pre,
.bc-help-content code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.bc-help-content pre {
    overflow-x: auto;
    padding: 22px;
    border-radius: 14px;
    color: #e6edf6;
    background: var(--bc-navy);
}

.bc-help-content img {
    border: 1px solid var(--bc-line);
    border-radius: 16px;
    box-shadow: var(--bc-shadow);
}

/* Footer */
.bc-help-footer {
    padding: 24px 0 36px;
    background: var(--bc-white);
}

.bc-help-footer-shell {
    padding: 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 44px;
    border-radius: 22px;
    color: rgba(255, 255, 255, .72);
    background: var(--bc-navy);
}

.bc-help-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bc-white);
    font-weight: 800;
}

.bc-help-footer-brand img {
    width: 38px;
    height: 43px;
}

.bc-help-footer h3 {
    margin: 0 0 13px;
    color: var(--bc-white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bc-help-footer a {
    display: block;
    margin: 7px 0;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.bc-help-footer a:hover {
    color: var(--bc-sky);
}

.bc-help-copyright {
    margin-top: 25px;
    color: var(--bc-muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 900px) {
    .bc-help-menu {
        display: none;
    }

    .bc-help-nav {
        justify-content: space-between;
    }

    .bc-help-app-link {
        margin-left: auto;
    }

    .bc-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-help-article-shell {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bc-help-sidebar {
        display: none;
    }

    .bc-help-footer-shell {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .bc-help-container {
        width: min(calc(100% - 24px), var(--bc-container));
    }

    .bc-help-header {
        padding: 8px 0;
    }

    .bc-help-nav {
        min-height: 60px;
        padding: 8px 9px 8px 12px;
        border-radius: 16px;
    }

    .bc-help-brand img {
        width: 34px;
        height: 39px;
    }

    .bc-help-brand-copy strong {
        font-size: 14px;
    }

    .bc-help-brand-copy span {
        display: none;
    }

    .bc-help-app-link {
        padding: 11px 13px;
        font-size: 12px;
    }

    .bc-help-hero {
        padding: 74px 0 86px;
    }

    .bc-help-search input[type="search"] {
        min-height: 60px;
        padding-right: 55px;
    }

    .bc-help-search button {
        width: 44px;
        padding: 0;
        font-size: 0;
    }

    .bc-help-search button::after {
        content: "→";
        font-size: 18px;
    }

    .bc-help-grid,
    .bc-help-footer-shell {
        grid-template-columns: 1fr;
    }

    .bc-help-footer-shell {
        padding: 30px;
    }
}


/* Language switcher */
.bc-help-language-switcher {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.bc-help-language-switcher ul {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 4px;
    list-style: none;
    border: 1px solid var(--bc-line);
    border-radius: 11px;
    background: var(--bc-surface);
}

.bc-help-language-switcher li {
    margin: 0;
}

.bc-help-language-switcher a {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--bc-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.bc-help-language-switcher li.current-lang a {
    color: var(--bc-white);
    background: var(--bc-primary);
}

@media (max-width: 1040px) {
    .bc-help-menu {
        gap: 18px;
    }

    .bc-help-language-switcher {
        margin-left: auto;
    }
}

@media (max-width: 700px) {
    .bc-help-language-switcher a {
        min-width: 30px;
        padding-inline: 6px;
    }
}
