/* ==========================================================================
   Product Detail - Related Connectors
   ========================================================================== */

.elp-related-connectors {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}


/* ==========================================================================
   Section Headline
   ========================================================================== */

.elp-related-connectors__headline {
    width: 100%;
    padding: 0 0 0 30px;

    background: var(--elspec_bg-lightgreen);

    color: #fff;
    text-transform: uppercase;
}


/* ==========================================================================
   Layout
   Connector slider + fixed contact card
   ========================================================================== */

.elp-related-connectors__layout {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.elp-related-connectors__connector-area {
    flex: 1 1 auto;
    min-width: 0;
}

.elp-related-connectors__slider {
    display: flex;
    gap: 1rem;
    height: 100%;
}

.elp-related-connectors__item {
    flex: 1 1 0;
    min-width: 0;
}

.elp-related-connectors__contact-area {
    flex: 0 0 calc(20% - .8rem);
    max-width: calc(20% - .8rem);
}

.elp-related-connectors__contact-area .elp-related-connectors__card {
    height: 100%;
}


/* ==========================================================================
   Owl Carousel
   ========================================================================== */

.elp-related-connectors__slider.owl-carousel {
    display: block;
}

.elp-related-connectors__slider.owl-carousel .owl-stage {
    display: flex;
}

.elp-related-connectors__slider.owl-carousel .owl-item {
    display: flex;
    height: auto;
}

.elp-related-connectors__slider.owl-carousel .elp-related-connectors__item {
    display: flex;
    width: 100%;
    height: 100%;
}

.elp-related-connectors__slider.owl-carousel .elp-related-connectors__card {
    width: 100%;
}


/* ==========================================================================
   Card
   ========================================================================== */

.elp-related-connectors__card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    padding: 1.25rem;

    border: 1px solid var(--elspec_bg-lightgrey);
    background: #fff;
}


/* ==========================================================================
   Connector Title
   ========================================================================== */

.elp-related-connectors__title {
    margin: 0;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
}

.elp-related-connectors__title-line {
    width: 28px;
    height: 2px;

    margin: .6rem auto 1rem auto;

    background: var(--elspec_bg-lightgreen);
}


/* ==========================================================================
   Connector Image
   ========================================================================== */

.elp-related-connectors__image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 180px;
}

.elp-related-connectors__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ==========================================================================
   Separator below image
   ========================================================================== */

.elp-related-connectors__separator {
    width: 100%;
    height: 1px;

    margin: 1rem 0;

    background: var(--elspec_bg-lightgrey);
}


/* ==========================================================================
   Content
   ========================================================================== */

.elp-related-connectors__content {
    flex: 1;
}

.elp-related-connectors__article-number {
    margin-bottom: .75rem;

    font-size: .75rem;
    color: var(--elspec_bg-grey);
}


/* ==========================================================================
   Features
   ========================================================================== */

.elp-related-connectors__features {
    margin: 0;
    padding: 0;

    list-style: none;
}

.elp-related-connectors__features li {
    position: relative;

    margin-bottom: .5rem;
    padding-left: 1.4rem;

    line-height: 1.4;
}

.elp-related-connectors__features li:last-child {
    margin-bottom: 0;
}

.elp-related-connectors__features li::before {
    content: "✓";

    position: absolute;
    top: 0;
    left: 0;

    color: var(--elspec_bg-lightgreen);
    font-weight: 700;
}


/* ==========================================================================
   Contact Card
   ========================================================================== */

.elp-related-connectors__card--contact {
    justify-content: center;
}

.elp-related-connectors__contact-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.elp-related-connectors__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 1rem;

    border: 1px solid var(--elspec_bg-lightgreen);
    border-radius: 50%;

    color: var(--elspec_bg-lightgreen);
    font-size: 1.25rem;
}

.elp-related-connectors__contact-title {
    margin: 0 0 1.5rem 0;

    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}

.elp-related-connectors__contact-button {
    display: inline-block;

    padding: .75rem 1.25rem;

    border: 1px solid var(--elspec_bg-orange);
    background: var(--elspec_bg-orange);

    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.elp-related-connectors__contact-button:hover,
.elp-related-connectors__contact-button:focus {
    color: #fff;
    text-decoration: none;
}


/* ==========================================================================
   Responsive - below Large Desktop
   Contact card below connectors
   ========================================================================== */

@media (max-width: 1199px) {

    .elp-related-connectors__layout {
        flex-direction: column;
    }

    .elp-related-connectors__contact-area {
        flex: 0 0 100%;
        max-width: 100%;
    }

}


/* ==========================================================================
   Static layout - Tablet
   Only applies when Owl is NOT active
   ========================================================================== */

@media (max-width: 899px) {

    .elp-related-connectors__slider:not(.owl-carousel) {
        flex-wrap: wrap;
    }

    .elp-related-connectors__slider:not(.owl-carousel) .elp-related-connectors__item {
        flex: 0 0 calc(50% - .5rem);
        max-width: calc(50% - .5rem);
    }

}


/* ==========================================================================
   Static layout - Mobile
   ========================================================================== */

@media (max-width: 599px) {

    .elp-related-connectors__slider:not(.owl-carousel) .elp-related-connectors__item {
        flex: 0 0 100%;
        max-width: 100%;
    }

}