/* 1) Base / variables */
:root {
    --primary-red: #D72323;
    --text-dark: #000;
    --muted-bg: #f9f9f9;
    --card-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* Simple reset for this sheet's scope */
.dhckh-container,
.dhckh-container * {
    box-sizing: border-box;
}

/* 2) Layout containers */
.dhckh-container {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 0;
}

/* Generic section spacing */
.dhckh-section-below {
    width: 100%;
    margin: 108px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    box-sizing: border-box;
}

/* Header area inside section-below */
.dhckh-section-below-header-frame {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Header title/desc */
.dhckh-section-below-title-frame {
    color: var(--text-dark);
    text-align: center;
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 auto;
}

.dhckh-section-below-desc-frame {
    text-align: center;
    font-size: clamp(12px, 1.6vw, 18px);
    font-weight: 500;
    line-height: 1.7;
    width: 40%;
}

/* 3) Hero (top) block */
.dhckh-top {
    width: 100%;
    height: 750px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* overlays (hero) */
.dhckh-top-gray-overlay {
    position: absolute;
    inset: 0;
    background: rgb(255 109 47 / 18%);
    pointer-events: none;
    z-index: 2;
}

/* inner content sits above overlays */
.dhckh-top-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

/* optional logo image inside hero */
.dhckh-top-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dhckh-top-img-style {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* title + desc block */
.dhckh-title-desc-frame {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.dhckh-title {
    color: var(--text-dark);
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.85;
    margin-top: 26px;
}

.dhckh-desc {
    width: 60%;
    color: var(--text-dark);
    text-align: center;
    font-size: clamp(12px, 1.6vw, 18px);
    font-weight: 400;
    line-height: 1.85;
    margin: 0;
}

/* 4) Buttons (hero) */
.dhckh-btn-row {
    display: flex;
    gap: clamp(12px, 2.2vw, 24px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.dhckh-btn-left,
.dhckh-btn-right {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.2vw, 10px);
    color: #fff;
    background: var(--primary-red);
    border-radius: 60px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    box-sizing: border-box;
    padding: 8px 36px;
}

.dhckh-btn-left-icon,
.dhckh-btn-right-icon {
    width: clamp(16px, 2.6vw, 24px);
    height: clamp(16px, 2.6vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dhckh-btn-left-text,
.dhckh-btn-right-text {
    color: #FFF;
    font-family: Inter, sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    font-weight: 700;
    text-align: center;
    display: inline-block;
}

/* 5) Grid */
.dhckh-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    grid-gap: 36px;
    align-items: center;
    justify-items: center;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

.dhckh-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
}

.dhckh-logo-img {
    max-width: 160px;
    max-height: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Compatibility: if old markup (top / bottom rows) exists, let items participate in grid */
.dhckh-section-below-content-frame {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.dhckh-section-below-content-inner {
    display: block;
    /* default; overridden by fallback below if needed */
    width: 100%;
}

.dhckh-section-below-content-inner-top,
.dhckh-section-below-content-inner-bottom {
    display: flex;
    gap: clamp(12px, 2vw, 24px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
}

/* Existing per-col card style (kept for compatibility)
   Prefer using .dhckh-logos-grid, but keep this supported. */
.dhckh-section-below-content-col {
    width: 100% !important;
    max-width: 322px !important;
    min-width: 220px !important;
    min-height: 120px !important;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    padding: 12px;
    box-sizing: border-box;
    margin: 0;
}

.dhckh-section-below-content-col-img {
    width: auto;
    height: clamp(48px, 5.6vw, 80px);
    max-width: 90%;
    object-fit: contain;
    display: block;
    margin: auto;
    border-radius: 16px;
}

/* 6) Section: case study (bottom) */
.dhckh-section-bottom-frame {
    width: 100%;
    gap: 24px;
    box-sizing: border-box;
}

.dhckh-section-bottom-img-frame-left {
    width: 100%;
    height: 600px;
    overflow: hidden;
    padding: 64px;
    background-position-y: 45%;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.dhckh-section-bottom-left-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.dhckh-section-bottom-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: #fff;
    z-index: 2;
    height: 100%;
    width: 60%;
    box-sizing: border-box;
}

.dhckh-section-bottom-left-title {
    font-size: clamp(22px, 2.6vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.dhckh-section-bottom-left-desc {
    font-size: clamp(12px, 1.6vw, 16px);
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
}

/* Case-study list items */
.dhckh-section-case-study {
    width: 75%;
    border-radius: 20px;
    border-bottom: 5px solid var(--primary-red);
    margin: 40px auto;
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 72px;
    box-sizing: border-box;
    padding: 64px 36px;
}

.dhckh-case-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px 0;
}

.dhckh-case-right {
    width: 100%;
}

.dhckh-section-case-study:first-of-type .dhckh-case-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dhckh-case-left-top {
    width: 100%;
    color: var(--text-dark);
    font-size: 40px;
    font-weight: 700;
}

.dhckh-case-left-top p {
    margin: 0;
}

.dhckh-case-left-desc {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    flex-direction: column;
    justify-content: center;
}

.dhckh-case-left-bottom-title {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 2;
    margin-top: 40px;
}

.dhckh-case-left-bottom-desc {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}

.dhckh-case-right-img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* overlapping images in the case-right */
.dhckh-case-img-10,
.dhckh-case-img-11 {
    object-fit: cover;
    width: 450px;
    aspect-ratio: 1.8 / 1;
    position: absolute;
    z-index: 1;
    border-radius: 10px;
}

.dhckh-case-img-10 {
    top: 0;
    right: 0;
    z-index: 1;
}

.dhckh-case-img-11 {
    left: 0;
    bottom: 0;
    z-index: 2;
}

/* 7) Utilities / padding presets for cards */
.dhckh-btn-cursor {
    cursor: pointer;
}

/* Padding utility classes preserved from original file */
.dhckh-section-below-content-col-padding-1 {
    padding: 47px 68px 46px 68px;
}

.dhckh-section-below-content-col-padding-2 {
    padding: 29px 22.137px 28px 22.137px;
}

.dhckh-section-below-content-col-padding-3 {
    padding: 42px 40.891px 41px 40.891px;
}

.dhckh-section-below-content-col-padding-4 {
    padding: 39px 38.851px;
}

.dhckh-section-below-content-col-padding-5 {
    padding: 38px 32.231px;
}

.dhckh-section-below-content-col-padding-6 {
    padding: 43px 47.038px;
}

/* Background helper kept from original */
.dhckh-section-bottom-left-bg {
    padding: 287px 79px 52px 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 8) Responsive rules - simplified to two breakpoints */
/* Tablet / smaller desktop and large tablets */
@media (max-width: 1439px) {
    .dhckh-desc {
        width: 70%;
    }

    .dhckh-section-below-desc-frame {
        width: 60%;
    }

    /* smaller title sizing for mid-size screens */
    .dhckh-title {
        font-size: clamp(20px, 4.2vw, 36px);
    }

    /* Adjust case-study spacing and overlapping images */
    .dhckh-section-case-study {
        gap: 48px;
        padding: 32px;
    }

    .dhckh-case-img-10,
    .dhckh-case-img-11 {
        width: 320px;
    }
}

/* Mobile layout (phones + small tablets) */
@media (max-width: 1023px) {
    .dhckh-top {
        height: 420px;
        align-items: center;
        padding: 12px;
    }

    .dhckh-top-inner {
        padding: 0;
    }

    .dhckh-top-gray-overlay {
        background: rgb(255 255 255 / 48%);
    }

    .dhckh-title {
        font-size: clamp(18px, 5.5vw, 28px);
        margin: 0;
    }

    .dhckh-title-desc-frame {
        gap: 12px;
    }

    .dhckh-desc {
        width: 90%;
        font-size: 14px;
    }

    .dhckh-section-below-desc-frame {
        width: 90%;
    }

    .dhckh-logo-img {
        max-width: 120px;
        max-height: 120px;
    }

    .dhckh-section-case-study {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
        width: 85%;
    }

    .dhckh-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .dhckh-section-below-content-col {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .dhckh-section-bottom-text {
        width: 100%;
    }

    /* Buttons: stack and full width on small screens */
    .dhckh-btn-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(8px, 2.5vw, 14px);
    }

    .dhckh-btn-left,
    .dhckh-btn-right {
        width: 100%;
        max-width: 320px;
        padding: 10px 36px;
    }

    .dhckh-title {
        font-size: 20px;
    }

    .dhckh-desc {
        font-size: 13px;
        line-height: 1.5;
        width: 100%;
    }

    .dhckh-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dhckh-case-left-top{
        font-size: 32px;
    }

    .dhckh-case-right {
        display: none;
    }
}