#newsletter-popup {
    display: none;
    position: fixed;
    z-index: 100024;
    left: 50%;
    top: 50%;
    width: 50%;
    max-width: 450px;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Stylowanie pól input */
#newsletter-popup input[type="text"],
#newsletter-popup input[type="email"] {
    width: 93%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333333;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#newsletter-popup input[type="text"]:focus,
#newsletter-popup input[type="email"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    outline: none;
}
/* Stylowanie przycisku */
#newsletter-popup input[type="submit"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #0073aa;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#newsletter-popup input[type="submit"]:hover {
    background-color: #005a87;
}

.donatepop {
    width: 100%;
    text-align: center;
    text-shadow: none;
}

.donatepop:hover {
    opacity: 0.8;
}

.donatepop.close {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    #newsletter-popup {
        width: 80%;
    }
}

#newsletter-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100023;
}

#newsletter-popup h2 {
    margin-top: 0;
}

#newsletter-popup button {
    margin: 5px;
}

@media (min-width: 921px) {
.archive .ast-row {
    display: flex;
    flex-wrap: wrap;
}

.archive .ast-row .ast-article-post {
    flex: 50%;
}
}

/* Stylowanie linku Zamknij */
#newsletter-popup .close {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: #999999;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
}

#newsletter-popup .close:hover {
    color: #333333;
}