/*#banner-popup {*/
/*    display: none;*/
/*}*/
[id^="page-admin-"] #banner-popup {
    display: none;
}

#banner-popup-content {
    position: absolute;
    text-align: center;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 10px;
    /*background-color: white;*/
    /*border: 1px solid #ccc;*/
    z-index: 1000;
}

@media screen and (min-width: 1024px) {
    #banner-popup-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        padding: 20px;
        /*background-color: white;*/
        /*border: 1px solid #ccc;*/
        z-index: 1000;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    #banner-popup-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        padding: 20px;
        /*background-color: white;*/
        /*border: 1px solid #ccc;*/
        z-index: 1000;
    }
}

#banner-popup-content h2 {
    margin-top: 10px;
}

#banner-popup-content p {
    margin-bottom: 0;
}

#banner-popup-image {
    width: 100%;
    height: auto;
}

/*img#banner-popup-image {*/
/*    max-width: 500px;*/
/*}*/

#banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#close-banner {
    font-size: 1.125rem; /* text-lg */
    position: absolute; /* absolute */
    top: 0.5rem; /* top-2 */
    right: 1rem; /* right-4 */
    color: #4b5563; /* text-gray-700 */
    /*border: 1px solid #4b5563; !* border border-gray-700 *!*/
    /*background-color: transparent; !* default background *!*/
    border: 1px solid #ffffff;
    background-color: #ffffff;
    outline: none; /* focus:outline-none */
    font-weight: 500; /* font-medium */
    border-radius: 9999px; /* rounded-full */
    padding: 0.25rem; /* p-1 */
    text-align: center; /* text-center */
    display: inline-flex; /* inline-flex */
    align-items: center; /* items-center */
    cursor: pointer; /* Add a cursor pointer for better UX */
    transition: background-color 0.2s, color 0.2s; /* smooth transition */
}

#close-banner:hover {
    background-color: #4b5563; /* hover:bg-gray-700 */
    color: #fff; /* hover:text-white */
}

#close-banner svg {
    width: 1em; /* width="1em" */
    height: 1em; /* height="1em" */
}
