/* ========================================
   Content Checklist Section - Base
======================================== */

/* ========================================
   Content Section
======================================== */
.content-checklist-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}
.content-checklist-section .section-content,
.page-banner--checklist .section-content {
    background-color: var(--black, #262626);
    text-wrap: pretty;
    padding: 76px 76px 76px 0;
    border-radius: 0 20px 20px 0;
}
.content-checklist-section .section-content::before,
.page-banner--checklist .section-content::before {
    content: "";
    pointer-events: none;
    z-index: -1;
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background-color: var(--black, #262626);
}
/* ========================================
   Checklist Section
======================================== */

.content-checklist-section .checklist-section,
.page-banner--checklist .checklist-section {
    border-radius: 16px;
    position: relative;
    padding: 35px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(2px);
    background-clip: padding-box;
}

.content-checklist-section .checklist-section::before,
.page-banner--checklist .checklist-section::before {
    content: "";
    position: absolute;
    inset: -3px; 
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(45deg, rgb(157 129 242 / 53%) 0%, rgba(144, 130, 186, 0.5) 40%, rgb(197 188 226 / 50%) 50%, rgba(144, 130, 186, 0.5) 60%, rgb(162 145 213 / 60%) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}



/* ========================================
   Checklist Block Title
======================================== */

.checklist-section .checklist-block-title {
    width: fit-content;
    border-radius: 0 10px 10px 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: -0.32px;
    color: #fff;
    transition: transform 0.2s ease;
    margin: 0 0 16px -35px;
    padding: 9px 23px 9px 35px;
}

/* Color variations */
.checklist-block-title[data-bg-color="red"] {
    background: linear-gradient(95deg, #F88489 11.29%, #F9646A 92.05%);
}

.checklist-block-title[data-bg-color="transparent"] {
    background: linear-gradient(94deg, rgba(255, 255, 255, 0.00) 1.58%, rgba(212, 215, 215, 0.30) 100%);
}

.checklist-block-title[data-bg-color="blue"] {
    background: linear-gradient(4deg, #21A2BC 6.86%, #C8E2E8 260.81%);
}

/* ========================================
   Checklist Items
======================================== */

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin: auto;
    padding-bottom: 10px;
    transition: transform 0.2s ease;
}

.checklist-item:last-child {
    padding-bottom: 0;
}

.checklist-item:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

.checklist-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    transition: opacity 0.2s ease;
}

.checklist-item:hover svg {
    opacity: 0.8;
}

.checklist-item .checklist-title {
    margin: 0 0 0 10px;
    text-wrap: pretty;
}

/* ========================================
   Section Background Extension
======================================== */

.content-checklist-section .section-content,
.content-checklist-section .checklist-section,
.page-banner--checklist .section-content,
.page-banner--checklist .checklist-section {
    position: relative;
    z-index: 1;
}

/* ========================================
   After Section Background Overlay
======================================== */

body:not(.home) .page-banner .content-checklist .section-content::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="315" height="470" viewBox="0 0 315 470" fill="none"><g style="mix-blend-mode:soft-light" opacity="0.6"><path d="M313.663 103.734L225.413 235.377L314.278 374.572H247.195L191.053 286.633L68.3545 469.663H0L157.419 233.95L59.9492 81.2764H127.031L191.716 182.596L313.663 0V103.734Z" fill="url(%23paint0_linear_597_3033)"/></g><defs><linearGradient id="paint0_linear_597_3033" x1="314.04" y1="273.262" x2="50.4796" y2="120.873" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.695988" stop-color="white" stop-opacity="0"/></linearGradient></defs></svg>');
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 315px;
    height: 470px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

/* ========================================
   Media Queries
======================================== */

@media (min-width: 992px) {
    .content-checklist-section .checklist-section,
    .page-banner--checklist .checklist-section {
        max-width: 580px;
        margin: auto 0 auto auto;
        width: 40%;
    }
    .page-banner--checklist {
        margin-bottom: -45px;
    }
    .page-banner--checklist .section-content {
        border-bottom-right-radius: 0;
    }
}

@media (max-width: 991px) {
    .content-checklist-section .checklist-section,
    .page-banner--checklist .checklist-section {
        margin-top: 18px;
    }
    .checklist-item:hover {
        transform: unset;
    }
    .content-checklist-section .section-content,
    .page-banner--checklist .section-content {
        border-radius: 30px;
        padding: 25px;
    }
    .content-checklist-section .section-content::before,
    .page-banner--checklist .section-content::before {
        display: none;
    }
    .content-checklist-section .content-buttons,
    .page-banner--checklist .content-buttons {
        justify-content: stretch;
    }
}

@media (max-width: 575px) {
    .content-checklist-section .checklist-section,
    .page-banner--checklist .checklist-section {
        padding: 25px;
    }
    .checklist-section .checklist-block-title {
        margin: 0 0 12px -25px;
        padding: 9px 23px 9px 25px;
    }
}