/* .hf-plaque-how-it-works-wrapper {
    padding-top: 6rem;
    padding-bottom: 6rem;
} */

.page-id-317916 .hf-plaque-how-it-works-wrapper {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
    margin-top: -9px !important;
}

.hf-plaque-how-it-works-wrapper .content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    margin-bottom: 2.8rem;
}

@media (min-width: 768px) {
    .hf-plaque-how-it-works-wrapper .content-wrap {
        margin-bottom: 0;
        gap: 3.75rem;
    }
}

.hf-plaque-how-it-works-wrapper .content {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hf-plaque-how-it-works-wrapper .content .left .title {
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: bold;
}

.hf-plaque-how-it-works-wrapper .text-content {
    line-height: 1.6;
    color: inherit;
}

.hf-plaque-how-it-works-wrapper .text-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.hf-plaque-how-it-works-wrapper .text-content p:last-child {
    margin-bottom: 0;
}

.hf-plaque-how-it-works-wrapper .ui-images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
    flex-wrap: wrap;
}

.hf-plaque-how-it-works-wrapper .ui-images-container img {
    flex: 1;
    max-width: 30%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hf-plaque-how-it-works-wrapper .ui-images-container {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .hf-plaque-how-it-works-wrapper .ui-images-container img {
        width: 70px !important;
        height: 70px !important;
        max-width: 70px !important;
        object-fit: contain;
        flex: none;
        border-radius: 4px;
    }

    .hf-plaque-how-it-works-wrapper .text-content {
        width: auto !important;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .hf-plaque-how-it-works-wrapper .content {
        flex-direction: row;
    }

    .hf-plaque-how-it-works-wrapper .content .left {
        width: 50%;
    }

    .hf-plaque-how-it-works-wrapper .content .right {
        width: 50%;
        float: right;
    }

    .hf-plaque-how-it-works-wrapper .content .right .text-content {
        text-align: right;
    }
}

.hf-plaque-how-it-works-wrapper .diagram {
    position: relative;
    width: 100%;
    display: none;
}

@media (min-width: 768px) {
    .hf-plaque-how-it-works-wrapper .diagram {
        display: block;
    }
}

.hf-plaque-how-it-works-wrapper .diagram img {
    width: 100%;
    height: auto;
}

/* Popup Content Styling */
.popup-content {
    position: absolute;
    background: #23272D;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: 300px;
    display: none;
    pointer-events: none;
}

/* Popup Trigger Styling */
.popup-point-trigger {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(211, 34, 255, 0.9);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
}

.popup-point-trigger:hover {
    background: #d322ff;
    transform: scale(1.1);
}

.popup-point-trigger .inner-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(211, 34, 255, 0.3);
    animation: pulse 2s infinite;
}

.popup-point-trigger .inner-2 {
    color: white;
    font-weight: bold;
    font-size: 14px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Hover behavior for popup display */
.popup-point-trigger:hover + .popup-content,
.popup-content:hover {
    display: block !important;
    pointer-events: auto;
}

/* Hide close buttons */
.popup-content .close,
.popup-content .popup-close,
.popup-content [class*="close"] {
    display: none !important;
}

.popup-point-popover a {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    position: relative;
}

.popup-point-popover a:hover {
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #d322ff;
}

.popup-point-popover a::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.1194 4.82797V10.7164L13.1398 11.6364H11.2588L11.2793 10.7164L11.2588 7.05656L5.32953 12.9858L4.67527 13.6401L3.36674 12.3316L4.021 11.6773L9.95028 5.74803H6.31093H5.37043L5.39087 3.88747L6.31093 3.90791L12.1993 3.90791L13.1194 3.88747V4.82797Z' fill='white'/%3E%3C/svg%3E") no-repeat 10px 8.5px;
    position: absolute;
    right: -22px;
    top: -7px;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-1 {
    top: 16%;
    left: 69.5%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-2 {
    top: 54%;
    left: 65%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-3 {
    top: 15.6%;
    left: 35%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-4 {
    top: 40.5%;
    left: 12%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-5 {
    top: 15.5%;
    left: 43%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-6 {
    top: 74%;
    left: 10%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-7 {
    top: 25%;
    left: 92.4%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-8 {
    top: 73.9%;
    left: 25.4%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-9 {
    top: 30%;
    left: 4%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-10 {
    top: 22%;
    left: 31.5%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-11 {
    top: 76%;
    left: 18.5%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-12 {
    top: 76%;
    left: 61%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-13 {
    top: 71%;
    left: 86%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-14 {
    top: 29.5%;
    left: 85.5%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-1 {
    top: 16%;
    left: 18%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-2 {
    top: 53.5%;
    left: 77.8%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-3 {
    top: 16.5%;
    left: 92.6%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-4 {
    top: 40.5%;
    left: 28.6%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-5 {
    top: 15%;
    left: 17%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-6 {
    top: 73.5%;
    left: 25%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-7 {
    top: 23.5%;
    left: 79.7%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-8 {
    top: 73.5%;
    left: 67.8%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-9 {
    top: 35%;
    left: 61.3%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-10 {
    top: 24%;
    left: 73%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-11 {
    top: 74%;
    left: 67%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-12 {
    top: 79%;
    left: 83.5%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-13 {
    top: 71%;
    left: 95%;
}

.hf-plaque-how-it-works-wrapper .popup-point-trigger.popup-point-slider-14 {
    top: 32%;
    left: 94%;
}




.hf-plaque-how-it-works-wrapper .popup-point-slider-wrap.desktop {
    width: 100%;
    margin: 0 auto;
    display: none;
}

.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 26%;
    width: 33%;
    position: absolute;
    top: 18%;
    left: 3%;
}

video {
    object-fit: cover;
    border: none;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.hf-plaque-how-it-works-wrapper .popup-point-slider-wrap.mobile {
    max-width: 700px;
    padding: 0 20px;
    margin: 0 auto;
}


.popup-point-slider-wrap .glide__arrows {
    background: #23272D;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
    width: 100%;
    margin: 20px auto 0;
    color: #fff;
}

.popup-point-slider-wrap .glide__arrow {
    background: transparent;
    color: #fff;
    line-height: .5;
}

.popup-point-slider-wrap .glide__arrow--left {
    opacity: 0.25;
}

.popup-point-slider-wrap .glide__arrow svg {
    fill: #fff;
    width: 33px;
    height: 33px;
}

.popup-point-slider-wrap .glide__bullets {
    width: auto;
    margin: auto;
}

@media (min-width: 768px) {
    .hf-plaque-how-it-works-wrapper .popup-point-slider-wrap.desktop {
        display: block;
    }

    .hf-plaque-how-it-works-wrapper .popup-point-slider-wrap.mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .video-container {
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding-top: 69%;
        width: 87%;
        position: absolute;
        top: 19%;
        left: 9%;
    }
    
    /* Fix mobile slide jumping by ensuring consistent heights */
    .popup-point-slider-wrap.mobile .popup-point-slider-slide {
        min-height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .popup-point-slider-wrap.mobile .popup-point-slider-content {
        position: relative;
        width: 100%;
        height: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .popup-point-slider-wrap.mobile .popup-point-slider-content img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    /* Ensure overview slides maintain consistent height */
    .popup-point-slider-wrap.mobile .popup-point-slider-slide:nth-child(4),
    .popup-point-slider-wrap.mobile .popup-point-slider-slide:nth-child(5) {
        min-height: 500px;
    }
    
    .popup-point-slider-wrap.mobile .popup-point-slider-slide:nth-child(4) .popup-point-slider-content,
    .popup-point-slider-wrap.mobile .popup-point-slider-slide:nth-child(5) .popup-point-slider-content {
        height: 500px;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
}