/* Sectors Grid Component */
.dh-sectors-grid {
    padding: 60px 0;
    width: 100%;
    margin: 0 auto;
}

.dh-sectors-grid__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.dh-sectors-grid__header {
    text-align: center;
    margin-bottom: 50px;
}

.dh-sectors-grid__overline {
    color: var(--primary-red-100, #DF002F);
    font-family: Lato;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dh-sectors-grid__title {
    color: var(--primary-black-100, #111B29);
    text-align: center;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 38.4px */
    margin: 0 0 16px 0;
}

.dh-sectors-grid__description {
    color: var(--primary-black-100, #111B29);
    text-align: center;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    margin: 0 auto;
    max-width: 800px;
}

/* Grid Items */
.dh-sectors-grid__items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.dh-sectors-grid__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 386px;
    /* 3 cols approx */
    border-radius: 20px;
    background: var(--primary-red-5, #FFF8F8);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    /* Remove underline from anchor */
    color: inherit;
    /* Prevent default link color */
}

.dh-sectors-grid__card:hover {
    /* transform: translateY(-5px); Optional interactive effect */
    text-decoration: none;
    /* Ensure no underline on hover */
}

/* Ensure text elements do not inherit link styling */
.dh-sectors-grid__card-title,
.dh-sectors-grid__card-description,
.dh-sectors-grid__card-overline {
    text-decoration: none !important;
}

/* Card Image */
.dh-sectors-grid__card-image-wrapper {
    width: 100%;
    height: 350px;
    /* Fixed Desktop height */
    overflow: hidden;
    padding: 0;
    /* Full width, no padding */
}

.dh-sectors-grid__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
    /* Full width, no specific radius inside container */
}

.dh-sectors-grid__card:hover .dh-sectors-grid__card-image {
    transform: scale(1.05);
}

/* Card Content */
.dh-sectors-grid__card-content {
    padding: 30px 15px;
    /* Reduced side padding to allow title on 2 lines */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dh-sectors-grid__card-overline {
    color: var(--primary-red-100, #DF002F);
    font-family: Lato;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.dh-sectors-grid__card-title {
    color: var(--primary-black-100, #111B29);
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 16px 0;
}

.dh-sectors-grid__card-description {
    color: var(--primary-black-80, #414954);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 132%;
    /* 21.12px */
    margin: 0 0 16px 0;
    flex-grow: 1;
}

/* Card Link */
/* Card Link */
.dh-sectors-grid__card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red-100, #DF002F);
    leading-trim: both;
    text-edge: cap;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

/* Hover effects triggered by Card hover */
.dh-sectors-grid__card:hover .dh-sectors-grid__card-link {
    gap: 12px;
    color: #EC6682;
}

.dh-sectors-grid__arrow-icon path {
    transition: stroke 0.3s ease;
    stroke: var(--primary-red-100, #DF002F);
    /* Explicit default */
}

.dh-sectors-grid__card:hover .dh-sectors-grid__arrow-icon path {
    stroke: #EC6682;
}


/* Responsive */
@media (max-width: 1023px) {
    .dh-sectors-grid__items {
        gap: 24px;
        /* Reduced gap for tablet */
    }

    .dh-sectors-grid__card {
        max-width: calc(50% - 12px);
        /* 2 columns with 24px gap */
    }
}

@media (max-width: 767px) {
    .dh-sectors-grid__title {
        font-size: 28px;
    }

    .dh-sectors-grid {
        padding: 60px 0 40px 0;
    }

    .dh-sectors-grid__items {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .dh-sectors-grid__card {
        max-width: 100%;
    }

    .dh-sectors-grid__card-image-wrapper {
        height: 250px;
        /* Responsive height */
    }
}