.church-feature-section {
    overflow-x: hidden;
}

.church-feature-section .container {
    align-items: center;
    display: flex;
    flex-direction: column;
    max-width: 1240px;
    width: 100%;
}

.church-feature-section .home-section-heading {
    width: min(760px, 100%);
}

.church-modern-card {
    margin-left: auto;
    margin-right: auto;
    width: min(1160px, 100%);
}

@media (min-width: 992px) {
    .church-modern-card {
        grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    }

    .church-modern-media,
    .church-modern-content {
        min-height: 470px;
    }

    .church-modern-content {
        padding-left: clamp(38px, 4vw, 58px);
        padding-right: clamp(38px, 4vw, 58px);
    }
}

@media (max-width: 991px) {
    .church-feature-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .church-modern-card {
        max-width: 720px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .church-feature-section {
        padding: 48px 0;
    }

    .church-feature-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .church-feature-section .home-section-heading {
        margin-bottom: 1.5rem;
        padding-left: 0;
        padding-right: 0;
    }

    .church-feature-section .home-section-heading h2 {
        font-size: clamp(1.7rem, 9vw, 2.25rem);
        letter-spacing: -0.045em;
    }

    .church-modern-card {
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        max-width: 420px;
        min-width: 0;
        overflow: hidden;
        width: 100%;
    }

    .church-modern-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
        width: 100%;
    }

    .church-modern-media img {
        display: block;
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .church-modern-badge {
        left: 14px;
        top: 14px;
    }

    .church-modern-content {
        min-height: 0;
        padding: 22px 18px 20px;
        width: 100%;
    }

    .church-category.d-md-none {
        display: none !important;
    }

    .church-modern-content h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        letter-spacing: -0.045em;
        line-height: 1.08;
        margin-top: 0;
    }

    .church-modern-text {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1rem;
    }

    .church-modern-details {
        gap: 8px;
        margin-bottom: 1rem;
    }

    .church-modern-detail {
        align-items: flex-start;
        border-radius: 14px;
        gap: 0.65rem;
        padding: 0.78rem 0.85rem;
    }

    .church-modern-detail span {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .church-modern-actions {
        display: grid;
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .church-action-button {
        border-radius: 14px;
        font-size: 0.88rem;
        justify-content: center;
        min-height: 42px;
        padding: 0.65rem 0.55rem;
        width: 100%;
    }
}

@media (max-width: 380px) {
    .church-feature-section .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .church-modern-card {
        max-width: 100%;
    }

    .church-modern-actions {
        grid-template-columns: 1fr;
    }

    .church-modern-content {
        padding: 20px 14px 18px;
    }
}
