/* ============================================
   ministries.css — Ministries Page
   Salt & Light Church
   ============================================ */

/* Page Hero — shared pattern */
.page-hero {
    position: relative;
    height: 420px;
    background: url('../assets/anoka-image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 8, 8, 0.62);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.page-hero-eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #c5a572;
    margin-bottom: 14px;
    opacity: 0.9;
}

.page-hero-title {
    font-size: 3.4rem;
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.page-hero-sub {
    font-size: 1.15rem;
    font-style: italic;
    opacity: 0.88;
    letter-spacing: 0.03em;
}

/* Shared container */
.min-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.min-intro-section {
    background-color: #2b1515;
    padding: 70px 20px;
}

.min-intro-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 55px;
    align-items: center;
}

.min-intro-text h2 {
    font-size: 2rem;
    font-weight: normal;
    color: #c5a572;
    margin-bottom: 22px;
    line-height: 1.3;
}

.min-intro-text p {
    font-size: 1rem;
    line-height: 1.85;
    opacity: 0.85;
    margin-bottom: 16px;
}

.min-intro-text strong {
    color: #d4b07a;
    font-weight: normal;
}

.min-intro-btn {
    margin-top: 10px;
    display: inline-block;
}

.min-aside-card {
    background: rgba(90, 34, 34, 0.35);
    border: 1px solid rgba(197, 165, 114, 0.22);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.min-aside-cross {
    font-size: 1.6rem;
    color: #c5a572;
    opacity: 0.5;
}

.min-aside-card p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.75;
    opacity: 0.85;
}

.min-aside-ref {
    font-size: 0.85rem;
    color: #c5a572;
    opacity: 0.7;
    letter-spacing: 0.04em;
}

/* ============================================
   TEAMS SECTION
   ============================================ */
.teams-section {
    background-color: #331414;
    padding: 70px 20px;
}

.teams-header {
    text-align: center;
    margin-bottom: 50px;
}

.teams-header h2 {
    font-size: 2.4rem;
    font-weight: normal;
    color: #c5a572;
    margin-bottom: 14px;
}

.teams-header p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: 0.78;
    max-width: 680px;
    margin: 0 auto;
    font-style: italic;
}

/* Row of 4 */
.teams-grid--4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

/* Row of 3 — centered under the 4 */
.teams-grid--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: calc(75% + 16px); /* ~3/4 of the 4-col width */
    margin: 0 auto;
}

.team-card {
    background: rgba(90, 34, 34, 0.22);
    border: 1px solid rgba(197, 165, 114, 0.16);
    border-radius: 10px;
    padding: 28px 22px;
    position: relative;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-card:hover {
    background: rgba(90, 34, 34, 0.42);
    border-color: rgba(197, 165, 114, 0.34);
    transform: translateY(-3px);
}

.team-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: #c5a572;
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 18px;
}

.team-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 2px;
}

.team-card h3 {
    font-size: 0.98rem;
    font-weight: normal;
    color: #c5a572;
    line-height: 1.35;
    padding-right: 32px;
}

.team-card p {
    font-size: 0.9rem;
    line-height: 1.72;
    opacity: 0.8;
}

/* ============================================
   SERVE SECTION
   ============================================ */
.serve-section {
    background-color: #2b1515;
    padding: 70px 20px;
    border-top: 1px solid rgba(197,165,114,0.12);
}

.serve-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 55px;
    align-items: center;
}

.serve-text h2 {
    font-size: 2.4rem;
    font-weight: normal;
    color: #c5a572;
    margin-bottom: 24px;
}

.serve-text p {
    font-size: 1rem;
    line-height: 1.85;
    opacity: 0.85;
    margin-bottom: 16px;
}

.serve-text strong {
    color: #d4b07a;
    font-weight: normal;
}

.serve-scripture-card {
    background: rgba(90, 34, 34, 0.35);
    border: 1px solid rgba(197, 165, 114, 0.22);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.serve-cross {
    font-size: 1.6rem;
    color: #c5a572;
    opacity: 0.5;
}

.serve-scripture-card p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.75;
    opacity: 0.85;
}

.serve-ref {
    font-size: 0.85rem;
    color: #c5a572;
    opacity: 0.7;
    letter-spacing: 0.04em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.min-cta-section {
    background-color: #5a2222;
    padding: 65px 20px;
    text-align: center;
}

.min-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.min-cta-section h3 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 14px;
    color: #fff;
}

.min-cta-section p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 10px;
}

.min-cta-email {
    font-style: italic;
    margin-bottom: 28px !important;
}

.min-cta-email a {
    color: #c5a572;
    text-decoration: none;
    border-bottom: 1px solid rgba(197,165,114,0.4);
    transition: opacity 0.2s;
}

.min-cta-email a:hover {
    opacity: 0.7;
}

.min-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-button--outline {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.6);
}

.hero-button--outline:hover {
    background-color: rgba(255,255,255,0.08);
    border-color: #fff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .teams-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams-grid--3 {
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .min-intro-layout,
    .serve-layout {
        grid-template-columns: 1fr;
    }

    .teams-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .page-hero-title {
        font-size: 2.6rem;
    }

    .teams-grid--4,
    .teams-grid--3 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}