#todays-news {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.news-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background-color: #ffb0ef;
    color: #fff;
}

.news-thumb {
    flex: 0 0 80px;
    height: 80px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    padding: 10px;
}

.news-title {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.news-excerpt {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.news-date {
    flex: 0 0 100px;
    text-align: right;
    padding-right: 20px;
    font-size: 0.9em;
    color: #888;
}

.news-popup {
    display: none;
    position: fixed;
    z-index: 1500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.800);
    overflow-y: auto;
}

.news-popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
}

.popup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.close-popup {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-popup:hover,
.close-popup:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.popup-date {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.popup-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.popup-excerpt {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    max-width: 600px;
}

.popup-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.popup-full-content {
    text-align: left;
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #todays-news h2 {
        font-size: 2.5rem;
    }

    .news-content {
        padding: 5px;
    }

    .news-title {
        font-size: 1em;
    }

    .news-excerpt {
        display: none;
    }

    .news-date {
        flex: 0 0 80px;
        padding-right: 10px;
    }

    .news-popup {
        display: flex;
        align-items: stretch;
        justify-content: center;
        min-height: 100vh;
        height: 100vh;
    }

    .news-popup-content {
        margin: 0;
        width: 100%;
        min-height: 100vh;
        height: auto;
        border-radius: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: none;
    }

    .popup-inner {
        flex: 1 1 auto;
        width: 100%;
        padding-bottom: 40px;
    }
}

@media (max-width: 480px) {
    #todays-news h2 {
        font-size: 2.5rem;
    }

    .news-thumb {
        flex: 0 0 60px;
        height: 60px;
    }

    .news-title {
        font-size: 0.9em;
    }

    .news-date {
        font-size: 0.8em;
    }
}