/* =====================================================
   CONTENT BLOCK — text (left) | image (right)
   Generic two-column content area used across pages.
   Stacks to a single column on mobile.
===================================================== */

.cb-content-block {
    width: 100%;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 24px auto 0 auto;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 40px);
    display: flex;
    align-items: flex-start;
    gap: clamp(24px, 4vw, 56px);
    border-radius: 12px;
    border: 1px solid rgba(171, 170, 170, 0.10);
    box-shadow: 2px 2px 4px rgba(179, 179, 179, 0.3);
}

.cb-text {
    flex: 1 1 50%;
    min-width: 0;
}

.cb-heading {
    margin: 0 0 0.6em;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
    font-weight: 700;
    color: #1a1a1a;
}

.cb-body {
    margin: 0 0 18px 0;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.7;
    color: #444;
}

.cb-body:last-of-type {
    margin-bottom: 0;
}

.cb-image {
    flex: 1 1 50%;
    min-width: 0;
}

.cb-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cb-services .cb-image {
    flex: 0 0 25%;
    max-width: 25%;
}



/* ---------- Tablet ---------- */
@media (max-width: 1023px) {

    .cb-content-block {
        gap: clamp(20px, 3vw, 36px);
    }
}

/* ---------- Mobile: stack, image below text ---------- */
@media (max-width: 599px) {

    .cb-content-block {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding: 32px 20px 0 20px;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .cb-text,
    .cb-image {
        flex: 1 1 auto;
    }

    .cb-heading {
        margin: 0 0 0.6em;
        font-size: clamp(24px, 4.5vw, 26px);
        line-height: 1.2;
        font-weight: 700;
        color: #1a1a1a;
    }

    .cb-body {
        margin: 0 0 18px 0;
        font-size: clamp(18px, 3.5vw, 18px);
        line-height: 1.7;
        color: #444;
    }

     .cb-services .cb-image {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .cb-services .cb-image img {
        border-radius: 5px;
    }

    .hg-grid {
        padding: 0 20px;
    }

    .hg-card {
        padding: 16px 0;
    }

    .hg-image {
        order: 2;
    }

    .hg-text {
        order: 1;
    }
}
