/* ==================================
   THE SUN CHURCH — HOMEPAGE
   ================================== */

/* Welcome section */

.welcome-section {
    padding: 55px 24px 48px;
    text-align: center;

    background: linear-gradient(
        135deg,
        #fff2e5 0%,
        #fffaf5 52%,
        #fbeaf0 100%
    );
}

.welcome-section .eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 13px;

    color: #922747;
    background: #fbe2eb;
    border-radius: 30px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.welcome-section h1 {
    max-width: 850px;
    margin: 0 auto;

    color: #203765;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.18;
}

.welcome-section h1 span {
    color: #922747;
}

.welcome-description {
    max-width: 620px;
    margin: 17px auto 0;

    color: #686d7b;
    font-size: 15px;
    line-height: 1.8;
}

/* Public action cards */

.public-options {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 38px 24px 58px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.public-card {
    min-width: 0;
    min-height: 250px;
    padding: 27px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: #ffffff;
    border: 1px solid #e8e0d7;
    border-top: 4px solid #203765;
    border-radius: 13px;

    box-shadow: 0 5px 18px rgba(32, 55, 101, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.public-card:nth-child(2) {
    border-top-color: #f07835;
}

.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(32, 55, 101, 0.12);
}

/* Card number */

.card-number {
    width: 40px;
    height: 40px;
    margin-bottom: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #203765;
    background: #eaf0fc;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;
}

.public-card:nth-child(2) .card-number {
    color: #922747;
    background: #fbeaf0;
}

/* Card text */

.public-card h2 {
    margin-bottom: 9px;

    color: #203765;
    font-size: 21px;
    line-height: 1.4;
}

.public-card:nth-child(2) h2 {
    color: #922747;
}

.public-card p {
    margin-bottom: 22px;

    color: #686d7b;
    font-size: 14px;
    line-height: 1.8;
}

/* Card links */

.card-action {
    margin-top: auto;
    padding-top: 12px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #203765;
    font-size: 13px;
    font-weight: 750;
}

.public-card:nth-child(2) .card-action {
    color: #922747;
}

.card-action:hover {
    color: #d95c20;
}

/* Mobile layout */

@media (max-width: 650px) {
    .welcome-section {
        padding: 42px 18px 35px;
    }

    .welcome-section h1 {
        font-size: clamp(31px, 8vw, 40px);
    }

    .welcome-description {
        font-size: 14px;
    }

    .public-options {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 17px;
        padding: 25px 18px 38px;
    }

    .public-card {
        min-height: 0;
        padding: 23px;
    }

    .public-card h2 {
        font-size: 20px;
    }
}