/**
* Theme Name: Campoal Child
* Description: This is a child theme of Campoal, generated by Merlin WP.
* Author: <a href="https://www.conikal.com/">Conikal</a>
* Template: campoal
* Version: 2.4.6
*/

html body.rtl h1,
html body.rtl h2,
html body.rtl h3,
html body.rtl h4,
html body.rtl h5,
html body.rtl p,
html body.rtl span,
html body.rtl a {
    font-family: 'Assistant' !important;
}


.widget {
    padding-bottom: 1.5rem;
}

.a_section_logo {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    right: -20rem;
}

.a_section_with_logo>.grid-container {
    position: relative;
}

.pusher #hero-container #slideshow>div {
    background-size: contain;
    background-repeat: no-repeat;
}

div div.la_picture_de_bottom {
    margin-bottom: -15rem !important;
}


div div.title-divider:not(.inverted) {
    background-color: #15a6ff !important;
}


#title_clouds_bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 75px;
    background-image: url("https://www.remember4life.org/wp-content/uploads/2025/06/cloud.png");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

#column_clouds_bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: -5rem;
    width: 125px;
    height: 125px;
    background-image: url("https://www.remember4life.org/wp-content/uploads/2025/06/קו-מתאר-ציפור.svg");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

#column_clouds_bg::after {
    content: "";
    position: absolute;
    top: 1rem;
    left: -15rem;
    width: 200px;
    height: 75px;
    background-image: url("https://www.remember4life.org/wp-content/uploads/2025/06/cloud.png");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}


#bottom_column_bg::after {
    content: "";
    position: absolute;
    bottom: -10rem;
    right: -15rem;
    width: 200px;
    height: 75px;
    background-image: url("https://www.remember4life.org/wp-content/uploads/2025/06/cloud.png");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}


.footer .widget-title .footer h3,
.footer,
.footer a:not(.button, .text) {
    color: #fff !important;
}

        .cnb_container {
position: relative;
    display: inline-flex
;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    justify-content: center;
    align-items: center;
        }

        .cnb_button {
            background: #4285f4;
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 120px;
            transition: background-color 0.2s ease;
            position: relative;
        }

        .cnb_button:hover {
            background: #3367d6;
        }

        .cnb_button:active {
            background: #2d5aa0;
        }

        .cnb_text {
            flex: 1;
            text-align: center;
        }

        .cnb_icon {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .cnb_dropdown_arrow {
            width: 12px;
            height: 12px;
            fill: currentColor;
            transition: transform 0.2s ease;
        }



        .cnb_dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            background: white;
            border: 1px solid #dadce0;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            min-width: 160px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.2s ease;
            z-index: 1000;
            margin-top: 4px;
        }

        .cnb_container:hover .cnb_dropdown,
        .cnb_container.cnb_open .cnb_dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .cnb_container:hover .cnb_dropdown_arrow,
        .cnb_container.cnb_open .cnb_dropdown_arrow {
            transform: rotate(180deg);
        }

        .cnb_dropdown_item {
            display: block;
            padding: 12px 16px;
            color: #202124;
            text-decoration: none;
            font-size: 14px;
            border-radius: 6px;
            margin: 4px;
            transition: background-color 0.1s ease;
        }

        .cnb_dropdown_item:hover {
            background-color: #f8f9fa;
        }

        .cnb_dropdown_item:first-child {
            margin-top: 8px;
        }

        .cnb_dropdown_item:last-child {
            margin-bottom: 8px;
        }


        /* Infinite Scroll Styles */
.pagination {
    margin-top: 2rem;
}

#load-more-posts {
    min-width: 200px;
    transition: all 0.3s ease;
}

#load-more-posts:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#load-more-posts.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#loading-spinner {
    margin-top: 1rem;
}

/* Smooth animation for new posts */
.petition-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure proper spacing */
.petition-cards .petition-card:not(:last-child) {
    margin-bottom: 1rem;
}