/* BM018B — Expanded Services Page */

.bm018-page .bm018-group {
    padding-top: 76px;
    padding-bottom: 80px;
}

.bm018-page .bm018-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.bm018-page .bm018-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e8e3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .055);
    transition: transform .2s ease, box-shadow .2s ease;
}

.bm018-page .bm018-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
}

.bm018-page .bm018-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e7eee9;
    overflow: hidden;
}

.bm018-page .bm018-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bm018-page .bm018-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 26px 28px;
}

.bm018-page .bm018-card-content h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
    color: #173927;
}

.bm018-page .bm018-card-content p {
    margin: 0 0 18px;
    color: #58636a;
    line-height: 1.7;
}

.bm018-page .bm018-card-content a {
    align-self: flex-start;
    margin-top: auto;
    color: #248b3e;
    font-weight: 700;
    text-decoration: none;
}

.bm018-page .bm018-card-content a:hover {
    text-decoration: underline;
}

.bm018-page .bm018-card-content a:focus-visible,
.bm018-page .bm018-support-link:focus-visible {
    outline: 3px solid #248b3e;
    outline-offset: 4px;
}

.bm018-page .bm018-support {
    padding-top: 76px;
    padding-bottom: 80px;
}

.bm018-page .bm018-support-link {
    display: inline-block;
    margin-top: 14px;
    color: #248b3e;
    font-weight: 700;
    text-decoration: none;
}

.bm018-page .bm018-support-link:hover {
    text-decoration: underline;
}

.bm018-page .bm018-image-note {
    margin: 35px auto 0;
    max-width: 740px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    color: #6b7474;
}

/* Preserve the core cards' original design. */
.bm018-page .bm-detailed-service {
    overflow: hidden;
    border-radius: 16px;
}

/* Make all section headings consistent. */
.bm018-page .bm-section-heading {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bm018-page .bm-section-heading p {
    line-height: 1.7;
}

/* Tablets */
@media (max-width: 900px) {
    .bm018-page .bm018-grid {
        gap: 20px;
    }

    .bm018-page .bm018-card-content {
        padding: 20px;
    }
}

/* Phones */
@media (max-width: 700px) {
    .bm018-page .bm018-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .bm018-page .bm018-group,
    .bm018-page .bm018-support {
        padding-top: 50px;
        padding-bottom: 54px;
    }

    .bm018-page .bm018-card-content h3 {
        font-size: 20px;
    }

    .bm018-page .bm018-image {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm018-page .bm018-card {
        transition: none;
    }
}
