/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor.
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* Custom styles */
html,
body {
    overflow-x: hidden !important;

    * {
        font-family: "Rubik", Sans-serif;
    }
}

.select2-selection {
    padding-block: 10px !important;
    height: max-content !important;
    max-height: 46px !important;

    .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
        padding-block: 10px !important;
    }
}

p {
    margin-bottom: 0;
}

.hello_elementor_page_title {
    display: none;
}

.entry-title {
    display: none !important;
}

.site-title {
    display: none !important;
}

.site-description {
    display: none !important;
}

.WrapLink {
    width: 100%;
}

.WrapLink .elementor-column {
    width: 100%;
}

.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
    padding-right: 0 !important;
}

.grayFilter {
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    -moz-transition: filter 0.3s ease;
    -o-transition: filter 0.3s ease;
    -webkit-transition: filter 0.3s ease;
    transition: filter 0.3s ease;
}

.grayFilter:hover {
    -webkit-filter: grayscale(0);
    filter: none;
}

.googleMap iframe {
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.elementor-sticky--active {
    transition: background-color 0.3s ease;
}

.navScrolled {
    background-color: #111719 !important;
}

img {
    display: block;
    margin: 0 auto;
}

.WhatsappIcon a {
    -webkit-animation: IconPulsing 1.5s infinite;
    animation: IconPulsing 3s infinite;
    box-shadow: 0 0 0 0 rgba(38, 211, 103, 0.5);
    border-radius: 50%;
}

@-webkit-keyframes IconPulsing {
    0% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
        -moz-box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
        box-shadow: 0 0 0 30px rgba(90, 153, 212, 0);
    }

    100% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
        -moz-box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}

.scrollDown {
    transform: translateX(-50%);
}

.scrollDown {
    -webkit-animation: UpAndDown 1s infinite alternate ease-in-out;
}

@-webkit-keyframes UpAndDown {
    0% {
        -webkit-transform: translateY(-0.5em);
    }

    100% {
        -webkit-transform: translateY(0.5em);
    }
}

.InnerPagesContent h1,
.InnerPagesContent h2,
.InnerPagesContent h3,
.InnerPagesContent h4,
.InnerPagesContent h5,
.InnerPagesContent h6 {
    margin: 15px 0 5px 0 !important;
}

.blogPageContent h1,
.blogPageContent h2,
.blogPageContent h3,
.blogPageContent h4,
.blogPageContent h5,
.blogPageContent h6 {
    margin: 15px 0 5px 0 !important;
}

.blogPageContent figure {
    width: 100%;
    margin: 0 auto;
}

.blogPageContent img {
    width: 100%;
}

.blogItems .elementor-post__title {
    border-bottom: 1px solid #212121;
    padding: 0 0 10px 0;
}

.blogItems .elementor-post__read-more {
    text-decoration: underline;
}

/*.blogItems .elementor-post:hover .elementor-post__read-more{
    color: #333 !important;
}*/

.sub-menu li a {
    transition: none !important;
}

.addtoany_shortcode {
    text-align: left;
}

@media (max-width: 768px) {
    .addtoany_shortcode {
        text-align: center;
    }
}

/* search popup start */
.searchPopupWrapper .dialog-widget-content {
    box-shadow: none;
    background: none;
    width: 100%;
    max-width: 1300px;
}

.searchPopupWrapper .dialog-message {
    width: 100%;
}

.SearchBar {
    text-align: center;
}

.SearchBar input[type="search"]::-webkit-input-placeholder {
    text-align: center;
}

.SearchBar input[type="search"]::-moz-placeholder {
    text-align: center;
}

.SearchBar input[type="search"]::-ms-input-placeholder {
    text-align: center;
}

.elementor-search-form__input {
    position: relative !important;
}

.elementor-search-form__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* search popup end */

/* accessibility Plugin Start */
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle {
    position: absolute;
    bottom: 40px;
}

#pojo-a11y-toolbar {
    bottom: 10px !important;
    top: initial !important;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    display: inline-block;
    font-size: 150% !important;
}

#pojo-a11y-toolbar svg {
    width: 20px;
}

@media (max-width: 768px) {
    #pojo-a11y-toolbar svg {
        width: 15px;
    }
}

/* accessibility Plugin END */

/* Stars Rating plugin start */
.rmp-widgets-container {
    position: relative !important;
    text-align: center !important;
    width: auto !important;
    float: right !important;
    margin: 0 0 0 0 !important;
}

.rmp-widgets-container ul {}

.rmp-widgets-container ul li {}

.rmp-widgets-container ul li i {
    position: relative;
}

.rmp-widgets-container ul li i:after {
    pointer-events: none;
    color: #333;
    font-size: 8px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rmp-widgets-container ul li:nth-child(1) i:after {
    content: "1";
}

.rmp-widgets-container ul li:nth-child(2) i:after {
    content: "2";
}

.rmp-widgets-container ul li:nth-child(3) i:after {
    content: "3";
}

.rmp-widgets-container ul li:nth-child(4) i:after {
    content: "4";
}

.rmp-widgets-container ul li:nth-child(5) i:after {
    content: "5";
}

@media (max-width: 768px) {
    .rmp-widgets-container {
        width: 100% !important;
    }
}

.rmp-widgets-container div {
    margin-top: 0 !important;
}

.rmp-widgets-container p {
    margin-bottom: 0 !important;
}

.rmp-rating-widget__icons {
    margin-bottom: 0 !important;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons-list {
    direction: ltr;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__hover-text {
    position: absolute !important;
    top: 3px !important;
    right: 120px !important;
}

/* Stars Rating plugin END */

::-webkit-scrollbar {
    width: 10px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #fff;
    -webkit-box-shadow: inset 1px 1px 2px #e0e0e0;
    border: 1px solid #fff;
}

::-webkit-scrollbar-thumb {
    background: #212121;
    -webkit-box-shadow: inset 1px 1px 2px rgba(155, 155, 155, 0.4);
}

::-webkit-scrollbar-thumb:hover {
    -webkit-box-shadow: inset 1px 1px 10px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:active {
    background: #212121;
    -webkit-box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.artPosts .elementor-post__read-more:hover {
    color: #fff !important;
    background-color: #16324e;
}

.artPosts .elementor-post__text {
    margin: 1em !important;
}

.artPosts .elementor-post__excerpt {
    margin-left: 2em !important;
}

.artPosts .elementor-post__read-more {
    margin-bottom: 1em;
}

.artPosts .elementor-post {
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow;
}

.artPosts .elementor-post:hover {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

/* עוטף כללי */
.professions-wrapper {
    direction: rtl;
    /* מיושרים לימין */
    display: flex;
    justify-content: center;
    gap: 48px;
    /* רווח בין הטורים */
}

/* כל טור */
.professions-col {
    list-style: none;
    margin: 0;
    padding: 0 24px;
    position: relative;
    text-align: right;
    line-height: 2;
    width: 25%;
    /* מרווח אנכי בין פריטים */
    font-size: 15px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
}

/* קו ירוק בין טורים (לא האחרון) */
.professions-col:not(:last-child):after {
    content: "";
    position: absolute;
    top: 0;
    left: -24px;
    /* אותו מרחק כמו padding */
    width: 2px;
    height: 100%;
    border-radius: 100px;
    background: #26b08d;
    /* התאימו לצבע שב‑UI */
}

/* קישורים רגילים */
.professions-col a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s;
}

.professions-col a:hover {
    color: #26b08d;
}

/* קישור "לכל העסקים והתחומים" */
.all-professions a {
    font-weight: 700;
    color: #26b08d;
}

.all-professions .arrow {
    display: inline-block;
    transform: scaleX(1);
    /* חץ שמאלה בעברית */
}

/* רספונסיביות – שתי עמודות מתחת ל־768px */
@media (max-width: 768px) {
    .professions-wrapper {
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: 0px;
    }

    .professions-col {
        flex: 0 0 45%;
        gap: 12px;
        padding: 0;
    }

    .professions-col:not(:last-child):after {
        display: none;
    }
}

/* ----- רשת המועצות ----- */
.councils-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    /* אותו מרווח שהיה ב-grid */
    justify-content: center;
    /* ממרכז את השורה האחרונה */
    margin: 0;
    /* רק ליתר ביטחון */
    padding: 0;
}

/* פריט בודד – 5 בעמודה בדסקטופ */
.council-item {
    flex: 0 1 calc((100% - 64px * 4) / 5);
    /* 5 בעמודה, 4 רווחים */
    text-align: center;
    text-decoration: none;
    color: #000;
}

.council-item img {
    width: 100%;
    max-width: 200px;
    /* כדי שלא יתנפח מדי במסכים גדולים מאוד */
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.25s;
}

.council-item:hover img {
    transform: scale(1.05);
}

/* ----- נקודות שבירה ----- */
/* טאבלט ומובייל – 3 בעמודה */
@media only screen and (max-width: 768px) {

    /* set 2 items in a row */
    .council-item {
        flex: 0 1 calc((100% - 64px) / 2) !important;

        /* 2 בעמודה, 1 רווח */
        img {
            max-width: 150px;
        }
    }
}

/* מובייל צר – עמודה אחת */
@media (max-width: 480px) {
    .council-item {
        flex: 0 1 100%;
    }
}

.search-page-title {
    font-family: "Rubik", Sans-serif;
    font-weight: 800;
    font-size: 32px;
    text-align: center;

    .seg--static {}

    .seg--field {
        color: var(--e-global-color-primary);

        &:hover {
            text-decoration: underline;
        }
    }
}

/* subscription area styling */
.subscription-toggle-wrapper {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-1296ea4);
    padding: 2rem;
    border-radius: 30px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    position: relative;
}

.subscription-toggle-wrapper .subscription-content .subscribe-btn {
    padding: 9.5px;
    font-size: 18px;
    width: 100%;
    border: 1px solid var(--e-global-color-secondary);
    background-color: var(--e-global-color-secondary);
    color: var(--e-global-color-text);
    transition: background 0.3s ease, color 0.3s ease;
}

.subscription-toggle-wrapper .subscription-content .subscribe-btn:hover {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-secondary);
}

/* FAQ section styling */
.faq_wrapper ul.accordion.accordionjs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq_wrapper ul.accordion.accordionjs li.item.acc_section {
    border-radius: 20px;
}

.faq_wrapper .heading.acc_head {
    display: flex;
    width: 100%;
    height: max-content;
    padding: 20px;
}

.faq_wrapper .heading.acc_head h4 {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.faq_wrapper .heading.acc_head h4 span.icon,
.faq_wrapper .heading.acc_head h4 span.icon-active {
    border: 1px solid black;
    aspect-ratio: 1/1;
    width: 24px;
    height: 24px;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-content: center;
    border-radius: 50%;
}

.faq_wrapper .heading.acc_head h4 .accordion-title {
    font-size: 20px;
    color: var(--e-global-color-primary);
}

/* Yearly discount badge (flattened) */
.subscription-toggle-wrapper .yearly-sub-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    min-width: max-content;
    color: #fff;
    background: var(--e-global-color-primary);
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--e-global-color-secondary);
    transform: translate(-20px, -20px);
}

.subscription-toggle-wrapper .yearly-sub-discount .percents {
    font-size: 16px;
    font-weight: 900;
}

.subscription-toggle-wrapper .yearly-sub-discount .text {
    font-size: 14px;
    font-weight: 600;
}

/* Search page title (flattened) */
.search-page-title .seg--field {
    color: var(--e-global-color-primary);
}

.search-page-title .seg--field:hover {
    text-decoration: underline;
}

/* Email verification (flattened) */
.email_verification_sc_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: center;
    gap: 8px;
    text-align: center;
}

.email_verification_sc_wrapper .ev-code-inputs {
    justify-content: center;
}

/* First stage wrapper (flattened) */
#first-stage-wrapper {
    width: 100%;
    margin-inline: auto;
    text-align: center;

    #first-stage-form {
        padding: 64px;
        background-color: var(--e-global-color-1296ea4);
        box-shadow: 10px 20px 46px 0 #0000001A;
        border-radius: 8px;

        @media only screen and (max-width: 1024px) {
            padding: 16px;

            .field_groups_inputs {
                width: 90% !important;
            }
        }

        .buttons_wrapper {
            margin-bottom: 64px;

            #profile_button {
                background-color: var(--e-global-color-secondary);
                color: var(--e-global-color-text);
            }
        }

        .field_groups_inputs {
            width: 50%;
            margin-inline: auto;

            .field_group {
                text-align: right;

                label {
                    font-size: 18px;
                    font-weight: 400;
                }

                input,
                select,
                textarea {
                    border-radius: 12px;
                    width: 100%;
                    border: 1px solid var(--e-global-color-1b286e6);
                }
            }
        }
    }
}

#cover_image,
#profile_image {
    display: none;
}

.ev-cover-preview {
    width: 100%;
    height: 290px;
    background: #f1f1f1 center/cover no-repeat;
    margin-bottom: 10px;
}

.ev-profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ddd center/cover no-repeat;
    margin: -60px auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.upload-btn {
    display: inline-block;
    padding: 8px 12px;
    background: #0073aa;
    color: #fff;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 8px;
}

.upload-btn:hover {
    background: #006799;
}

.field_group {
    margin-bottom: 12px;
}

.field_group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
}

.notice-error {
    background: #fee;
    border: 1px solid #f99;
    padding: 1em;
    margin-bottom: 1em;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#first-stage-loading {
    text-align: center;
    padding: 2em;
    font-size: 1.1em;
    display: none;
}

.selected-plan-info {
    background: #f5f7fa;
    padding: 10px 14px;
    border: 1px solid #d8e1e8;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Elementor search form (flattened) */
.elementor-widget-shortcode .is-search-form.is-ajax-search label input {
    border-radius: 0 16px 16px 0;
}

.elementor-widget-shortcode .is-search-form.is-ajax-search .is-search-submit .is-search-icon {
    border-radius: 16px 0 0 16px;
    background-color: var(--e-global-color-primary);
}

.elementor-widget-shortcode .is-search-form.is-ajax-search .is-search-submit .is-search-icon svg path {
    fill: var(--e-global-color-1296ea4);
}

/* ===== Enhanced Subscription Toggle (appended) ===== */
/* Flattened / supplemental rules so it works in plain CSS (no nesting preprocessor) */
.subscription-toggle-wrapper .toggle-buttons {
    position: relative;
    width: 100%;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    isolation: isolate;
}

.subscription-toggle-wrapper .toggle-btn {
    flex: 1 1 0;
    padding: 12px 8px;
    font-size: 1rem;
    font-weight: 600;
    background: transparent !important;
    border: 0;
    cursor: pointer;
    color: #333 !important;
    position: relative;
    transition: color 0.35s ease;
}

.subscription-toggle-wrapper .toggle-btn:focus-visible {
    outline: 2px solid var(--e-global-color-secondary);
    outline-offset: 2px;
}

.subscription-toggle-wrapper .toggle-btn.active {
    color: var(--e-global-color-primary) !important;
}

/* Indicator: width & position set dynamically via JS; provide safe defaults */
.subscription-toggle-wrapper .toggle-indicator {
    position: absolute;
    top: 0;
    height: 100%;
    inset-inline-start: 0;
    /* logical for RTL */
    background: linear-gradient(135deg, var(--e-global-color-secondary), #ffd700);
    border-radius: 50px;
    z-index: 0;
    pointer-events: none;
    will-change: transform, width;
    transition: transform 0.35s cubic-bezier(0.65, 0.05, 0.36, 1),
        width 0.35s cubic-bezier(0.65, 0.05, 0.36, 1), background 0.35s ease;
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.25);
    /* Fallback initial width (assume 3 options; JS will override). */
    width: calc(100% / 3);
}

body.rtl .subscription-toggle-wrapper .toggle-indicator {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

/* Layer order so buttons are clickable over indicator */
.subscription-toggle-wrapper .toggle-btn {
    z-index: 1;
}

/* Active content panels */
.subscription-toggle-wrapper .subscription-content {
    display: none;
    animation: subFade 0.35s ease;
}

.subscription-toggle-wrapper .subscription-content.active {
    display: block;
}

@keyframes subFade {
    from {
        opacity: 0;
        translate: 0 4px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

/* Discount badge flattening (since original used nested selectors) */
.subscription-toggle-wrapper .yearly-sub-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    min-width: max-content;
    color: #fff;
    background: var(--e-global-color-primary);
    border-radius: 50%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--e-global-color-secondary);
    transform: translate(-20px, -20px);
}

.subscription-toggle-wrapper .yearly-sub-discount .percents {
    font-size: 16px;
    font-weight: 900;
}

.subscription-toggle-wrapper .yearly-sub-discount .text {
    font-size: 14px;
    font-weight: 600;
}

/* Button (global) refinement */
.subscription-toggle-wrapper .subscribe-btn {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-text);
    border: 1px solid var(--e-global-color-secondary);
    padding: 12px 30px;
    font-size: 1.05rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.subscription-toggle-wrapper .subscribe-btn:hover {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-secondary);
}

.subscription-toggle-wrapper .subscribe-btn:focus-visible {
    outline: 2px solid var(--e-global-color-secondary);
    outline-offset: 2px;
}

span.select2 {
    width: 100% !important;
}

span.select2-selection {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

div.select-caret-down-wrapper {
    z-index: 999;
    transform: translateY(-50%);
    top: 50%;
}

.select2-selection {
    padding-right: 1rem;
    border-radius: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    bottom: unset;
    transform: translateY(50%);
}


/* Responsive tweaks */
@media (max-width: 560px) {
    .subscription-toggle-wrapper {
        padding: 1.25rem;
    }

    .subscription-toggle-wrapper .toggle-btn {
        padding: 10px 4px;
        font-size: 0.9rem;
    }
}

/* ===== First-stage form: extracted inline styles to classes ===== */
/* Gallery group spans full width within form grids/flex and aligns RTL to start (right) */
.fsf-gallery-group {
    text-align: right;
    width: 100%;
    box-sizing: border-box;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    clear: both;
}

.fsf-gallery-group>label {
    display: block;
    text-align: right;
}

.fsf-gallery-note {
    font-size: 13px;
    color: #cc0000;
    margin: 6px 0 10px;
}

.fsf-gallery-input-row {
    display: flex;
    justify-content: stretch;
    /* start == right under RTL */
    align-items: flex-start;
    direction: rtl;
    width: 100%;
}
.fsf-gallery-input {
    width: 100% !important;
}

#fsf-gallery-selected-wrap {
    margin-top: 12px;
    display: none;
    /* toggled by JS */
    text-align: right;
    direction: rtl;
}

#fsf-gallery-existing-wrap {
    margin-top: 10px;
    text-align: right;
    direction: rtl;
}

.fsf-gallery-section-title {
    font-weight: 600;
    margin-bottom: 6px;
}

#fsf-gallery-preview,
.fsf-gallery-existing {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* start == right under RTL */
    align-items: flex-start;
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
}

.fsf-gal-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.fsf-gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fsf-gal-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #c00;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}

/* Upgrade plan popup extracted styles */
.fsf-upgrade-btn {
    margin-right: 10px;
}

.fsf-upgrade-overlay {
    display: flex;
    /* default hidden by .is-hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.fsf-upgrade-overlay.is-hidden {
    display: none;
}

.fsf-upgrade-box {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    max-width: 350px;
    text-align: center;
    position: relative;
}

.fsf-upgrade-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    background: none;
    border: none;
}

.upgrade-option-btn {
    margin: 10px 0;
    padding: 10px 20px;
}

/* Hide Select2 clear (×) on specific field */
#fsf-councils+.select2 .select2-selection__clear {
    display: none !important;
}