/* =========================================================
   EKL DISPLAY ADS
   ========================================================= */

.ekl-display-ad {
    width: 100%;
    box-sizing: border-box;
}

.ekl-display-ad__link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.ekl-display-ad__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border: 0;
}

/* Rail placement: supports 300x250 and 320x240 creative cleanly. */
.ekl-display-ad--rail {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
}

/* Footer placement can use the creative's natural aspect ratio. */
.ekl-display-ad--footer {
    width: 100%;
    margin: 50px auto 0;
}

@media (max-width: 767px) {
    .ekl-display-ad--footer {
        margin-top: 30px;
    }
}

.ekl-display-ad--footer .ekl-display-ad__image {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
}


/* =========================================================
   EKL HOMEPAGE PARTNER CARDS
   Shortcode: [ekl_home_partner_cards]
   ========================================================= */

.ekl-home-partners {
    width: 100%;
    box-sizing: border-box;
    padding-inline: 15px;
}

.ekl-home-partners__heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #4b6e81;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ekl-home-partners__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.ekl-home-partners__heading-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ekl-home-partners__list {
    display: grid;
    gap: 24px;
}

.ekl-home-partner {
    overflow: hidden;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(8, 65, 79, 0.16);
    border-radius: 0px;
    box-shadow: 0 3px 12px rgba(20, 43, 61, 0.10);
}

.ekl-home-partner__link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.ekl-home-partner__image-wrap {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #edf1f1;
}

.ekl-home-partner__image,
.ekl-home-partner__placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

.ekl-home-partner__image {
    object-fit: cover;
    object-position: center;
    transition: transform 220ms ease;
}

.ekl-home-partner__placeholder {
    background: #edf1f1;
}

.ekl-home-partner__content {
    padding: 13px 15px 15px;
}

.ekl-home-partner__name {
    margin: 0 !important;
    color: #073f4f !important;
    font-family: "Manrope", "Nunito Sans", Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}

.ekl-home-partner__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 7px 0 0 !important;
    color: #4e5d62;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ekl-home-partner__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
    color: #0b6570;
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
}

.ekl-home-partner__cta span {
    transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
    .ekl-home-partner__link:hover .ekl-home-partner__image {
        transform: scale(1.025);
    }

    .ekl-home-partner__link:hover .ekl-home-partner__cta span {
        transform: translateX(3px);
    }
}

.ekl-home-partner__link:focus-visible {
    outline: 3px solid rgba(14, 91, 105, 0.35);
    outline-offset: -3px;
}

@media (max-width: 767px) {
    .ekl-home-partners__list {
        gap: 18px;
    }

    .ekl-home-partner__content {
        padding: 12px 14px 14px;
    }

    .ekl-home-partner__name {
        font-size: 19px !important;
    }
}
