/* AI News Section */


.news-section {

    padding: 50px 20px;

    text-align: center;

}



.news-section h2 {

    color: #4B0082;

    font-size: 35px;

}



.news-container {


    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 30px;

    margin-top: 30px;

}



.news-card {


    width: 300px;


    background: white;


    padding: 25px;


    border-radius: 20px;


    text-align: left;


    box-shadow:

        0 10px 25px rgba(0, 0, 0, .15);


    transition: .4s;


}



.news-card:hover {


    transform: translateY(-12px);


}



.news-card span {


    background: #4B0082;


    color: white;


    padding: 5px 15px;


    border-radius: 20px;


}



.news-card h3 {


    margin-top: 20px;

    color: #4B0082;


}



.news-card a {


    color: #00a9b5;


    text-decoration: none;


    font-weight: bold;


}



/* Dark Mode */


.dark-mode .news-card {


    background: #1e1e1e;

    color: white;


}



.dark-mode .news-card h3 {


    color: #00ffff;


}



.dark-mode .news-section h2 {


    color: #00ffff;


}

.cms-section-status {
    color: #53606f;
    margin: 12px auto 0;
    max-width: 760px;
}

.cms-section-status[data-state="unavailable"] {
    background: rgba(75, 0, 130, .08);
    border: 1px solid rgba(75, 0, 130, .18);
    border-radius: 12px;
    padding: 12px 16px;
}

.cms-news-card {
    position: relative;
}

.cms-news-card.cms-featured {
    border: 2px solid rgba(123, 44, 191, .45);
}

.cms-news-card img {
    border-radius: 14px;
    display: block;
    height: 170px;
    margin: -5px 0 20px;
    object-fit: cover;
    width: 100%;
}

.cms-meta {
    color: #667085;
    display: block;
    margin-top: 14px;
}

.cms-read-button {
    background: none;
    border: 0;
    color: #7b2cbf;
    cursor: pointer;
    font: inherit;
    font-weight: bold;
    margin-top: 14px;
    padding: 0;
}

.cms-news-dialog {
    background: #f8f8ff;
    border: 1px solid rgba(75, 0, 130, .25);
    border-radius: 20px;
    color: #222;
    max-height: 85vh;
    max-width: 720px;
    overflow-y: auto;
    padding: 30px;
    width: calc(100% - 48px);
}

.cms-news-dialog::backdrop {
    background: rgba(5, 5, 16, .72);
    backdrop-filter: blur(5px);
}

.cms-dialog-close {
    background: #4B0082;
    border: 0;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    float: right;
    font-size: 20px;
    height: 38px;
    width: 38px;
}

.cms-dialog-content {
    line-height: 1.75;
    white-space: pre-wrap;
}

.dark-mode .cms-section-status { color: #d1d5db; }
.dark-mode .cms-news-dialog { background: #161622; color: white; }




