/* ── Search button icon ───────────────────────────────────────── */
.is-search-btn .icon-container {
    transition: color var(--wp--custom--transition);
    cursor: pointer;
}

.is-search-btn:hover .icon-container {
    color: var(--wp--preset--color--primary) !important;
}

/*  This is a custom search overlay that is not currently in use. 

    ── Search overlay — hidden by default ───────────────────────

    #search-field {
        display: flex;
        align-items: center;
        justify-content: center;

        position: fixed;
        inset: 0;
        z-index: 9999;

        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0s linear 0.3s;
    }

    ── Active / open state ──────────────────────────────────────

    #search-field.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition:
            opacity 0.3s ease,
            visibility 0s linear 0s;
    }

    ── Prevent body scroll while overlay is open ────────────────

    body.search-overlay-open {
        overflow: hidden;
    }

    ── Inner search form ────────────────────────────────────────

    #search-field .wp-block-search {
        width: min(640px, 90vw);
    }

    #search-field .wp-block-search__label {
        display: none;
    }

    #search-field .wp-block-search__inside-wrapper {
        display: flex;
        gap: 0;
        border-bottom: 2px solid var(--wp--preset--color--white-60);
        background: transparent;
    }

    #search-field .wp-block-search__input {
        flex: 1;
        background: transparent;
        border: none;
        outline: none;
        color: #fff;
        font-size: clamp(1.25rem, 4vw, 2rem);
        padding: 0.5rem 0.75rem 0.5rem 0;
        font-family: inherit;
    }

    #search-field .wp-block-search__input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    #search-field .wp-block-search__input::-webkit-search-cancel-button {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.2s ease;
    }

    #search-field .wp-block-search__input::-webkit-search-cancel-button:hover {
        opacity: 1;
    }

    #search-field .wp-block-search__button {
        background: transparent;
        border: none;
        color: var(--wp--preset--color--white-60);
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
        padding: 0.5rem 0.75rem;
        transition: color var(--wp--custom--transition);
    }

    #search-field .wp-block-search__button:hover {
        color: #fff;
    }
*/