/**
 * Divya Diganta — Highlights Block
 */

.dd-highlights {
    width: 100%;
    padding: 3.5rem 0;
}

.dd-highlights-name {
    margin-bottom: 1.5rem;
    color: var(--dd-body-text);
    font-family: var(--dd-heading-font);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 600;
}

.dd-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.dd-highlight-item {
    min-width: 0;
}

.dd-highlight-content {
    height: 100%;
}


/* =========================================================
   1. ICON LEFT
   Icon + title on one row, description underneath.
   ========================================================= */

.dd-highlights-layout-icon_left .dd-highlight-item {
    padding: 1.5rem;
    border: 1px solid rgba(23, 107, 77, .12);
    border-radius: var(--dd-border-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.dd-highlights-layout-icon_left .dd-highlight-content {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .85rem;
    align-items: start;
}

.dd-highlights-layout-icon_left .dd-highlight-icon {
    color: var(--dd-primary);
    font-size: 1.5rem;
    line-height: 1.2;
}

.dd-highlights-layout-icon_left .dd-highlight-title {
    margin: 0;
    color: var(--dd-body-text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.dd-highlights-layout-icon_left .dd-highlight-description {
    grid-column: 2;
    margin-top: .45rem;
    color: var(--dd-muted-text);
    font-size: .88rem;
    line-height: 1.65;
}


/* =========================================================
   2. ICON CENTER
   Icon → title → description.
   ========================================================= */

.dd-highlights-layout-icon_center .dd-highlight-item {
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.dd-highlights-layout-icon_center .dd-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border: 1px solid rgba(23, 107, 77, .16);
    border-radius: 50%;
    background: rgba(23, 107, 77, .04);
    color: var(--dd-primary);
    font-size: 1.5rem;
}

.dd-highlights-layout-icon_center .dd-highlight-title {
    margin: 0;
    color: var(--dd-body-text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.dd-highlights-layout-icon_center .dd-highlight-description {
    max-width: 280px;
    margin: .5rem auto 0;
    color: var(--dd-muted-text);
    font-size: .86rem;
    line-height: 1.65;
}


/* =========================================================
   3. COMPACT HORIZONTAL
   Icon + title row, description below.
   ========================================================= */

.dd-highlights-layout-compact_horizontal .dd-highlight-item {
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(23, 107, 77, .14);
}

.dd-highlights-layout-compact_horizontal .dd-highlight-content {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .7rem;
    align-items: start;
}

.dd-highlights-layout-compact_horizontal .dd-highlight-icon {
    color: var(--dd-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.dd-highlights-layout-compact_horizontal .dd-highlight-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.dd-highlights-layout-compact_horizontal .dd-highlight-description {
    grid-column: 2;
    margin-top: .35rem;
    color: var(--dd-muted-text);
    font-size: .84rem;
    line-height: 1.6;
}


/* =========================================================
   4. ICON BADGE CARD
   Premium card treatment.
   ========================================================= */

.dd-highlights-layout-icon_badge .dd-highlight-item {
    padding: 1.5rem;
    border: 1px solid rgba(23, 107, 77, .10);
    border-radius: var(--dd-border-radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.dd-highlights-layout-icon_badge .dd-highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .09);
}

.dd-highlights-layout-icon_badge .dd-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(23, 107, 77, .08);
    color: var(--dd-primary);
    font-size: 1.25rem;
}

.dd-highlights-layout-icon_badge .dd-highlight-title {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.dd-highlights-layout-icon_badge .dd-highlight-description {
    color: var(--dd-muted-text);
    font-size: .86rem;
    line-height: 1.65;
}


/* =========================================================
   5. TRUST STRIP
   Horizontal institutional/credential presentation.
   ========================================================= */

.dd-highlights-layout-trust_strip {
    padding: 0;
}

.dd-highlights-layout-trust_strip .dd-highlights-grid {
    overflow: hidden;
    border: 1px solid rgba(23, 107, 77, .10);
    border-radius: 22px;
    background: #f5f9fd;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
    gap: 0;
}

.dd-highlights-layout-trust_strip .dd-highlight-item {
    position: relative;
    padding: 1.6rem 1rem;
    text-align: center;
}

.dd-highlights-layout-trust_strip .dd-highlight-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(23, 107, 77, .16);
}

.dd-highlights-layout-trust_strip .dd-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto .85rem;
    border: 1px solid rgba(40, 100, 220, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .75);
    color: #0b55d4;
    font-size: 1.35rem;
}

.dd-highlights-layout-trust_strip .dd-highlight-title {
    margin: 0;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.35;
}

.dd-highlights-layout-trust_strip .dd-highlight-description {
    max-width: 190px;
    margin: .45rem auto 0;
    color: var(--dd-muted-text);
    font-size: .76rem;
    line-height: 1.55;
}


/* =========================================================
   RESPONSIVE
   Desktop: automatic 4
   Tablet: automatic 2
   Mobile: automatic 1
   ========================================================= */

@media (max-width: 991.98px) {
    .dd-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dd-highlights-layout-trust_strip .dd-highlight-item:nth-child(2)::after {
        display: none;
    }

    .dd-highlights-layout-trust_strip .dd-highlight-item:nth-child(odd)::after {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .dd-highlights {
        padding: 2.75rem 0;
    }

    .dd-highlights-grid {
        grid-template-columns: 1fr;
    }

    .dd-highlights-layout-trust_strip .dd-highlight-item::after {
        display: none !important;
    }

    .dd-highlights-layout-trust_strip .dd-highlight-item {
        border-bottom: 1px solid rgba(23, 107, 77, .12);
    }

    .dd-highlights-layout-trust_strip .dd-highlight-item:last-child {
        border-bottom: 0;
    }
}
