/* SGCGF.org — Sovereign Grace Church Great Falls
   Replicated from Wayback Machine archive (Aug 5, 2025) */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #1a73e8;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header bar */
header {
    background: #7a1315;
    padding: 14px 24px;
}
header .header-inner a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

/* Hero / centered church info */
.hero {
    text-align: center;
    padding: 40px 24px 20px;
}
.hero h1 {
    font-size: 2em;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}
.hero .address {
    margin-bottom: 0;
}
.hero .divider {
    color: #999;
    margin: 8px 0;
    letter-spacing: 2px;
}
.hero p {
    margin-bottom: 4px;
}

/* Main content */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 24px 40px;
}
.content p {
    margin-bottom: 16px;
}
.content h2 {
    font-size: 1em;
    font-weight: 700;
    margin: 24px 0 16px;
}
.content ul {
    margin: 0 0 16px 20px;
    list-style: disc;
}
.content li {
    margin-bottom: 4px;
}

/* Pastors grid */
.pastors {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 16px 0 32px;
    background: #000;
    padding: 1px;
}
.pastor {
    background: #fff;
    text-align: center;
    flex: 1;
    max-width: 300px;
}
.pastor img {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}
.pastor p {
    padding: 10px 8px;
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 24px 40px;
    border-top: 1px solid #ddd;
}
footer p {
    color: #555;
}
footer a {
    color: #1a73e8;
}

/* Responsive */
@media (max-width: 700px) {
    .pastors {
        flex-direction: column;
        align-items: center;
    }
    .pastor {
        max-width: 100%;
        width: 100%;
    }
    .hero h1 {
        font-size: 1.5em;
    }
    .content {
        padding: 16px;
    }
}
