/* Illinois Tech Bible Club — subsite theme (distinct from main IIT UBF styles) */

:root {
    --itbc-paper: #f6f3ec;
    --itbc-ink: #1c2433;
    --itbc-muted: #5c6472;
    --itbc-navy: #152238;
    --itbc-rust: #b84a2b;
    --itbc-sage: #3d5a4a;
    --itbc-gold: #c9a227;
    --itbc-border: rgba(28, 36, 51, 0.12);
    --itbc-shadow: rgba(21, 34, 56, 0.08);
    --itbc-max: 44rem;
}

.itbc-body {
    margin: 0;
    min-height: 100vh;
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        'Segoe UI',
        Roboto,
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: var(--itbc-ink);
    background: var(--itbc-paper);
}

.itbc-skip {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--itbc-navy);
    color: #fff;
}

.itbc-skip:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.itbc-header {
    background: linear-gradient(135deg, var(--itbc-navy) 0%, #1e3550 100%);
    color: #f0ebe3;
    box-shadow: 0 2px 12px var(--itbc-shadow);
}

.itbc-header-inner {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.itbc-brand {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.itbc-brand a {
    color: inherit;
    text-decoration: none;
}

.itbc-brand a:hover,
.itbc-brand a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.itbc-brand-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
}

.itbc-brand-tag {
    font-size: 0.82rem;
    opacity: 0.88;
    margin: 0;
}

.itbc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    align-items: center;
}

.itbc-nav a {
    color: #e8e2d8;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.itbc-nav a:hover,
.itbc-nav a:focus {
    color: #fff;
    border-bottom-color: var(--itbc-gold);
}

.itbc-nav a.itbc-nav-active {
    color: #fff;
    border-bottom-color: var(--itbc-gold);
}

.itbc-nav a.itbc-external {
    opacity: 0.92;
    font-size: 0.88rem;
}

.itbc-main {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.itbc-hero {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.25rem;
    background: linear-gradient(145deg, #2a3f5c 0%, var(--itbc-navy) 45%, #0f1722 100%);
    color: #f4f0e8;
    box-shadow: 0 8px 28px var(--itbc-shadow);
}

.itbc-hero-inner {
    padding: 2.25rem 1.75rem;
    max-width: var(--itbc-max);
}

.itbc-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.itbc-hero p {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.94;
    max-width: 36rem;
}

.itbc-section {
    margin-bottom: 2.5rem;
}

.itbc-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--itbc-navy);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--itbc-rust);
    display: inline-block;
}

.itbc-card {
    background: #fff;
    border: 1px solid var(--itbc-border);
    border-radius: 10px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px var(--itbc-shadow);
}

.itbc-card h3 {
    font-size: 1.1rem;
    margin: 0 0 0.65rem;
    color: var(--itbc-sage);
}

.itbc-card p {
    margin: 0 0 0.65rem;
}

.itbc-card p:last-child {
    margin-bottom: 0;
}

.itbc-note {
    font-size: 0.92rem;
    color: var(--itbc-muted);
    margin-top: 0.75rem;
}

.itbc-list {
    margin: 0;
    padding-left: 1.2rem;
}

.itbc-list li {
    margin-bottom: 0.5rem;
}

.itbc-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.55rem 1.15rem;
    background: var(--itbc-rust);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.itbc-cta:hover,
.itbc-cta:focus {
    background: #9a3d22;
    color: #fff;
}

.itbc-footer {
    margin-top: auto;
    padding: 2rem 1.25rem;
    background: #ebe6dc;
    border-top: 1px solid var(--itbc-border);
    font-size: 0.9rem;
    color: var(--itbc-muted);
}

.itbc-footer-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.itbc-footer a {
    color: var(--itbc-rust);
    font-weight: 500;
}

.itbc-footer a:hover,
.itbc-footer a:focus {
    text-decoration: underline;
}

.itbc-layout {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

@media (max-width: 520px) {
    .itbc-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .itbc-nav ul {
        width: 100%;
        justify-content: flex-start;
    }
}
