/* =========================
    COLORS & ROOT VARIABLES
   ========================= */
:root {
    --green: #75b470;
    --yellow: #fcc900;
    --pink: #ef8da6;
    --dark-pink: #a0366d;
    --blue: #46a7d5;
    --dark-blue: #244692;
    --dark-gray: #5d667a;
    --light-black: #2e3238;
    --black: #1d2027;
    --white: #fff;
    --bg: #f5faff;
    --box-shadow-small: rgba(0, 0, 0, 0.20);
    --box-shadow-big: rgba(3, 3, 3, 0.30);
    --dim: rgba(0, 0, 0, 0.7);
    --glass: rgba(255,255,255,0.5);
    --cookie-glass: rgba(239, 141, 166, 0.7);
}

/* =========================
    MAIN BODY
   ========================= */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scrollbar-gutter: stable;
    overscroll-behavior: none;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--bg);
    color: #22335a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
    width: 100vw;
    box-sizing: border-box;
}

/* Scroll offset to work with sticky navbar */
.anchor-offset {
    scroll-margin-top: 90px;
}

/* =========================
    BLOBS
   ========================= */
#blobs-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: -1;
}

.blob {
    position: absolute;
    will-change: transform, filter;
    transform: translateY(0);
    opacity: 0.6;
}

.blob svg {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
    SECTION BOX
   ========================= */
.section-boxed {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 2px 16px var(--box-shadow-big);
    width: 60vw;
    max-width: 1100px;
    margin: 48px auto 40px auto;
    padding: 40px 24px 32px 24px;
    position: relative;
    z-index: 2;
}

@media (max-width: 1200px) {
    .section-boxed {
        width: 85vw;
        padding: 32px 16px;
    }
}

@media (max-width: 700px) {
    .section-boxed {
        width: 90vw;
        padding: 24px 12px;
    }
}

/* =========================
    COOKIES BANNER
   ========================= */
.cookie-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 300px;
    background: var(--white);
    color: var(--dark-gray);
    border-radius: 20px;
    box-shadow: 0 4px 25px var(--box-shadow-big);
    padding: 20px;
    text-align: center;
    z-index: 4;
    display: none;
    animation: slideUp 0.5s ease forwards;
}

.cookie-icon {
    font-size: 38px;
    margin-bottom: 10px;
}

.cookie-card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--dark-blue);
}

.cookie-card p {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 10px 0 20px 0;
}

.cookie-card a {
    color: var(--dark-blue);
    text-decoration: none;
}

.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 14px;
    background: var(--dark-blue);
    color: var(--white);
    width: 100%;
}

.cookie-btn:hover {
    background: var(--pink);
    color: var(--dark-blue);
}

.cookie-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.cookie-close:hover {
    color: #000;
}

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



/* =========================
    BUTTON
   ========================= */
.button {
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-radius: 30px;
    padding: 12px 32px;
    font-size: 1.1rem;
    text-align: center;
    display: block;
    margin-top: 15px;
    transition: background 0.2s, color 0.2s;
}

.button {
    background: var(--pink);
    color: var(--dark-blue);
}

.button:hover {
    background: var(--blue);
    color: var(--bg);
}

/* =========================
    TYPOGRAPHY
   ========================= */
.section-boxed h1,
.section-boxed h2 {
    font-weight: 700;
    color: var(--dark-blue);
    /* margin-bottom: 18px; */
    text-align: center;
}

.section-boxed h1 {
    font-size: 2.6rem;
    line-height: 1.1;
}

.section-boxed h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 24px;
}

.section-boxed p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 18px;
    text-align: center;
}

.section-boxed ul {
    margin-left: 1rem;
    margin-right: 1rem;
    padding-left: 0;
    list-style: disc;
}

.section-boxed li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.section-boxed .about-finish {
    text-align: center;
    margin-top: 24px;
    font-weight: 600;
    color: var(--dark-pink);
}

/* =========================
    INTRO CONTENT
   ========================= */
.intro-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}

.intro-text {
    max-width: 700px;
}

.intro-text h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.1;
}

.intro-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 32% 68% 70% 30% / 30% 70% 30% 70%;
    object-fit: cover;
    background: var(--white);
    box-shadow: 0 4px 32px var(--box-shadow-small);
}
.intro-img-fundacja img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 22% 58% 30% 30% / 70% 30% 60% 20%; 
    object-fit: cover;
    background: var(--white);
    box-shadow: 0 4px 32px var(--box-shadow-small);
}


/* =========================
    ABOUT
   ========================= */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
}

.about-text {
    max-width: 700px;
}

/* =========================
    OFFER
   ========================= */
.offer {
    text-align: center;
    padding: min(6vw, 40px) 0;
}

.offer h2 {
    margin-bottom: 30px;
}

.offer-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* -------------------------
    OFFER CARDS
   ------------------------- */
.offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 140px;
    min-height: 170px;
    background: transparent;
    border-radius: 32px;
    padding: 0;
    text-decoration: none;
    transition: transform 0.18s, box-shadow 0.18s;
}

.offer-card-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    margin: 8px 0 14px;
    transition: box-shadow 0.18s;
}

.offer-card img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.offer-card-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    margin: 8px 0 10px;
}

.offer-card:hover,
.offer-card:focus {
    transform: translateY(-6px) scale(1.04);
}

.offer-card:hover .offer-card-title,
.offer-card:focus .offer-card-title {
    color: var(--green);
}

/* =========================
    FAQ SECTION
   ========================= */

.faq-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.faq-list details {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--white);
    padding: 15px 15px;
    transition: background 0.3s ease;
}

.faq-list details:hover {
    background: var(--bg);
}

.faq-list summary {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark-gray);
    cursor: pointer;
    position: relative;
}

.faq-list summary::marker {
    color: var(--blue); 
}

.faq-list details[open] summary {
    color: var(--blue);
}

.faq-list p {
    margin-top: 10px;
    line-height: 1.6;
    color: var(--dark-gray);
}


/* =========================
    NAVBAR
   ========================= */
.navbar {
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 12px var(--box-shadow-small);
    position: sticky;
    top: 0;
    z-index: 3;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: none;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Logo --- */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #003366;
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar-logo img {
    height: 40px;
    width: auto;
}

/* --- Menu --- */
.navbar-menu {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
}

.navbar-menu a.active {
    background: var(--green);
    color: var(--bg);
}

.navbar-menu a:hover {
    background: var(--pink);
    color: var(--bg);
}

/* --- Hamburger --- */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dark-blue);
}

@media (max-width: 1300px) {
    .navbar-container {
        position: relative;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 80%;
        width: 20vw;
        padding-top: 12px;
        padding-bottom: 12px;
        background: var(--white);
        flex-direction: column;
        box-shadow: 0 2px 12px var(--box-shadow-small);
        z-index: 2;
        align-items: center;
        border-radius: 0 0 12px 12px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition:
            max-height 0.4s ease,
            opacity 0.4s ease;
    }

    .navbar-menu.active {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: var(--dark-blue);
    }

    .navbar-toggle span {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .navbar-menu a {
        display: block;
        padding: 12px 16px;
        text-align: center;
    }
}

@media (max-width: 1300px) {
    .navbar-menu {
        left: 60%;
        width: 40vw;
    }
}




/* =========================
    FOOTER
   ========================= */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 15px 0 0 0;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; 
}

.footer-section {
    padding: 0 15px;
    margin: 25px; 
    flex-grow: 1; 
    flex-shrink: 0;
    box-sizing: border-box; 
}

.footer-heading {
    margin-top: 0; 
    font-size: 1.2em;
    margin-bottom: 18px; 
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2; 
}

/* --- Contact --- */
.footer-contact-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px; 
    flex-basis: 350px; 
    min-width: 300px;
    padding-left: 0; 
    margin-top: 4px; 
}

.footer-logo {
    height: 100px;
    width: auto;
    border-radius: 8px;
    background: var(--bg);
    padding: 5px;
    flex-shrink: 0;
}

.footer-contact p {
    color: var(--bg);
    font-size: 0.95em;
    margin: 0 0 8px 0; 
    line-height: 1.4; 
    text-decoration: none;
}

.foundation-name {
    font-size: 1em;
    margin-bottom: 15px;
    margin-top: 0;
}

/* --- Quick links --- */
.footer-links {
    flex-basis: 250px;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95em;
}

.footer-links a:hover {
    color: var(--pink);
}

/* --- Social --- */
.footer-social {
    flex-basis: 200px;
    text-align: center;
}

.footer-social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-social-icon {
    width: 38px; 
    height: 38px;
    transition: transform 0.3s, filter 0.3s;
    filter: brightness(0.9);
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

/* --- Copyright --- */
.footer-bottom {
    background-color: var(--black);
    color: var(--white);
    padding: 12px 20px; 
    font-size: 0.75em;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.footer-bottom .copyright {
    margin: 0;
    text-align: center;
    color: var(--white);
}

.footer-bottom .privacy-link {
    position: absolute;
    right: 20px;
    color: var(--white);
    text-decoration: none;
    /* font-size: 0.75em; */
    transition: color 0.2s;
}

.footer-bottom .privacy-link:hover {
    color: var(--pink);
}

@media (max-width: 950px) {
    .footer-container {
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-contact-info {
        flex-basis: 100%; 
        justify-content: center;
        text-align: center;
        margin-bottom: 30px;
        padding: 0;
        margin-top: 0;
    }
    
    .footer-contact-info .footer-contact {
        text-align: center; 
    }
    
    .footer-links,
    .footer-social {
        flex-basis: 45%;
        text-align: center;
        padding: 0 10px;
    }
    
    .footer-links ul {
        display: inline-block;
        text-align: left; 
    }
    
    .footer-social-icons {
        justify-content: center;
    }

}

@media (max-width: 600px) {
    .footer {
        padding-top: 30px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-section {
        flex-basis: 100%;
        margin-bottom: 25px;
        padding: 0;
    }

    .footer-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .footer-links ul {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;  /* stack items vertically */
        text-align: center;
        position: static;        /* disable absolute positioning */
    }

    .footer-bottom .privacy-link {
        position: static;
        margin-top: 6px;         /* small spacing below copyright */
    }
}


/* =========================
    UNDER CONSTRUCTION
   ========================= */
/* .under-construction-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0 40px 0;
}
.under-construction-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 36px;
}
.under-construction-img {
    max-width: 340px;
    width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
} */

/* =========================
    CONTACT
   ========================= */
.contact-section {
    max-width: 1000px;
    width: 90%;
    margin: 48px auto;
    padding: 30px 30px 20px 30px;
    box-sizing: border-box;  
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}
.contact-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--blue);
    color: var(--white);
    border-radius: 18px;
    padding: 24px 28px;
    width: 150px;
    min-width: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px var(--box-shadow-small);
    transition: background 0.2s, transform 0.2s;
}
.contact-card[onclick]:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 16px var(--box-shadow-small);
}
.copied-msg {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--dark-blue);
    font-size: 0.95em;
    border-radius: 10px;
    padding: 2px 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    font-weight: 500;
    box-shadow: 0 2px 8px var(--box-shadow-small);
}
.contact-card-mail { background: var(--blue);}
.contact-card-phone { background: var(--pink);}
.contact-card-fb { background: var(--green);}
.contact-card-wa { background: var(--yellow); color: var(--dark-blue);}
.contact-card:hover {
    transform: translateY(-6px) scale(1.04);
    filter: brightness(1.08);
}
.contact-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}
.contact-section h2 {
    margin-top: 0px;
}

.contact-map {
    margin-top: 20px;
    margin-bottom: 15px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--box-shadow-small);
}
.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

/* =========================
    DOWNLOADS
   ========================= */

.downloads-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 800px;
    margin: 48px auto 40px auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}

.downloads-header-section {
    max-width: 600px;
    margin: 20px auto -10px auto;
    padding: 10px 10px 10px 10px;
}

.downloads-text {
    display: flex;
    flex-direction: column;
    max-width: 70%;
}

.downloads-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.downloads-desc {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.4;
}

.downloads-section .button {
    background: var(--blue);
    color: var(--bg);
    font-size: 0.95rem;
    font-weight: 600;
    align-self: center;
}

.downloads-section .button:hover {
    background: var(--pink);
    color: var(--dark-blue);
}

@media (max-width: 600px) {
    .downloads-section {
        flex-direction: column;
        align-items: center;
        width: 90%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .downloads-text {
        text-align: center;
        max-width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .downloads-btn {
        align-self: center;
        margin-top: 10px;
    }
}


/* =========================
    OFFER
   ========================= */
.price-section {
    max-width: 700px;
    margin: 25px auto 25px auto;
}

.price-header-section {
    max-width: 300px;
    margin: 20px auto 10px auto;
    padding: 10px 10px 10px 10px;
}

.price-category h2 {
    margin-bottom: 10px;
    margin-top: -10px;
    font-size: 1.8rem;
}

.price-category ul {
    list-style: none;
    margin-bottom: -10px;
}

.price-category li {
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
    padding-left: 0;
    line-height: 1.6;
}

.price-category strong {
    color: var(--pink);
    font-weight: 700;
}

/* =========================
    WWR
   ========================= */

.wwr-pic-title {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center 20%;
    border-radius: 22px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    box-sizing: border-box;

}

.wwr-title-box {
    display: inline-block;        
    max-width: 90%;               
    box-sizing: border-box;       
    background: var(--glass);
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 18px;
    padding: 16px 32px;
    text-align: center;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 12px var(--box-shadow-big);
}

.wwr-section {
    max-width: 1200px;
}

.wwr-section p {
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: left;
}

.wwr-section ul {
    margin-left: 1.2rem;
    margin-bottom: 16px;
}

.wwr-section li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 1.05rem;
}

@media (max-width: 700px) {
    .wwr-pic-title {
        margin: 0 auto 10px auto;
        border-radius: 16px;
    }
    .wwr-title-box {
        font-size: 1.2rem;
        padding: 12px 20px 8px 20px;
        margin: 0 0 12px 12px;
    }
}

/* =========================
    NEWS
   ========================= */

.news-section {
    max-width: 1000px;
    margin: 48px auto 48px auto;
    padding: 0 16px;
    z-index: 2;
}

.news-header-section {
    max-width: 500px;
    margin: 20px auto -10px auto;
    padding: 10px 10px 10px 10px;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.news-card {
    flex: 0 1 30%;
    background: var(--bg);
    border-radius: 24px;
    box-shadow: 0 2px 16px var(--box-shadow-small);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 16px var(--box-shadow-big);
}

.news-title {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin: 16px;
    text-align: center;
}

.news-date {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin: 0 16px 12px 16px;
    text-align: right;
}

.news-image {
    width: 90%;
    height: 220px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-small {
    flex: 1;
    margin: 0 16px 16px 16px;
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.news-card .button {
    border: none;
    margin: 0 16px 16px 16px;
}

@media (max-width: 900px) {
    .news-card { flex: 1 1 45%; }
}

@media (max-width: 600px) {
    .news-card { flex: 1 1 100%; }
}

/* --- Modals --- */
.modal {
    display: none;
    position: fixed;
    z-index: 5;
    inset: 0; 
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    overflow-y: auto;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box; 
}

.modal-wrapper {
    background: var(--bg);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    position: relative;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 32px;
    color: var(--black);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--pink);
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin: 0;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.modal-header .news-date {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-top: 4px;
}

.modal-body {
    margin-top: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

@media (max-width: 600px) {
    .modal {
        padding: 8px;
    }

    .modal-wrapper {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        padding: 16px;
        margin: 0;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-close {
        font-size: 28px;
        top: 10px;
        right: 16px;
    }

    .modal-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .modal-body {
        max-height: 80vh;
    }
    }

    @media (min-width: 601px) and (max-width: 900px) {
    .modal-wrapper {
        max-width: 90%;
    }
}