/* ==========================================================================
   07 — Third-Party Plugins
   --------------------------------------------------------------------------
   Style overrides for: Popup Maker, Swiper, Job List.
   Keep plugin overrides isolated here so they're easy to find and update.
   ========================================================================== */


/* ==========================================================================
   POPUP MAKER
   ========================================================================== */

/* --- Webinar Popup (theme 7942 / content-only) --- */

.pum-theme-7942 .pum-container,
.pum-theme-content-only .pum-container {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.pum-theme-7942 .pum-content + .pum-close,
.pum-theme-content-only .pum-content + .pum-close {
    color: #247664;
    font-size: 1.5em;
    font-weight: 400;
    background: #47e5c2;
    border-radius: 0;
    padding-bottom: 0.4em;
    display: inline-block;
    line-height: 0;
    width: 20px;
    height: 25px;
}

.pum-theme-7942 .pum-content + .pum-close:hover,
.pum-theme-content-only .pum-content + .pum-close:hover {
    background: #247664;
    color: #091f1a;
}

.pum-content.popmake-content > p > a:hover {
    opacity: 1;
}

.pum-content.popmake-content a:hover img {
    animation: pulse 0.6s infinite;
}

/* --- Promo Popup (default theme 7935) --- */

.pum-theme-7935 .pum-content + .pum-close,
.pum-theme-default-theme .pum-content + .pum-close {
    background: none;
    box-shadow: none;
    color: #000;
    font-size: 1.5em;
    padding: 0.3em;
    line-height: 0;
}

.pum-theme-7935 .pum-content + .pum-close:hover {
    color: #453bd3;
}

/* --- Popup popmake-7997 (Promo bar) --- */

div#popmake-7997 {
    background: #f4f4f4;
    padding: 2em;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: 2px solid #5f5f5f;
    border-left: none;
}

div#popmake-7997 .pum-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
}

div#popmake-7997 .pum-content p {
    margin-top: 0;
    font-size: 1.2em;
}

div#popmake-7997 .pum-content p:first-child {
    display: flex;
    align-items: center;
    margin-right: 2em;
}

div#popmake-7997 .pum-content .pp-promo-ctab {
    background: #453cd3;
    color: #fff;
    padding: 0.5em;
    border-radius: 0.3rem;
    font-weight: 600;
    text-wrap: nowrap;
}

@media screen and (max-width: 781px) {
    div#popmake-7997 .pum-content {
        flex-direction: column;
    }

    div#popmake-7997 .pum-content p:first-child {
        margin: 0 0 2em 0;
    }
}

/* --- Bio popups (4M4PA team, IDs 8699/8720/8722/8724) --- */

div#popmake-8699,
div#popmake-8724,
div#popmake-8720,
div#popmake-8722 {
    padding: 5rem;
}

.popmake-content p:nth-of-type(2) {
    font-size: clamp(10px, 3vw, 16px);
}


/* ==========================================================================
   SWIPER (AMP product pages)
   ========================================================================== */

.page-id-9923 .swiper-container,
.page-id-11144 .swiper-container {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-id-9923 .swiper-wrapper,
.page-id-11144 .swiper-wrapper {
    display: flex;
    align-items: center;
}

.page-id-9923 .swiper-slide,
.page-id-11144 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.page-id-9923 .swiper-slide img,
.page-id-11144 .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.page-id-9923 .swiper-zoom-container img,
.page-id-11144 .swiper-zoom-container img {
    transition: transform 0.3s ease-in-out;
}

.page-id-9923 .swiper-button-next,
.page-id-9923 .swiper-button-prev,
.page-id-11144 .swiper-button-next,
.page-id-11144 .swiper-button-prev {
    color: #6bc7c8;
}

.page-id-9923 .swiper-pagination,
.page-id-11144 .swiper-pagination {
    position: absolute;
    bottom: 10px;
}

@media (max-width: 768px) {
    .page-id-9923 .swiper-container,
    .page-id-11144 .swiper-container {
        max-width: 100%;
    }

    .page-id-9923 .swiper-slide img,
    .page-id-11144 .swiper-slide img {
        max-height: 250px;
    }
}


/* ==========================================================================
   JOB LIST
   ========================================================================== */

.job-single a {
    color: #d45180;
    font-weight: 700;
}

@media (min-width: 768px) {
    .job-single h3 {
        font-size: 3.5rem;
    }
}
