/* 新聞 */
.news-list {
    margin-top: 0.8rem;
}

.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light);
}

.news-item:last-child {
    border-bottom: 0;
}

.news-date,
.news-region {
    display: inline-block;
}

.news-date,
.news-region {
    color: var(--soft);
    font-size: 0.95rem;
    margin: 0;
}

.news-source {
    color: var(--soft);
    font-size: 0.9rem;
    margin: 0;
}

.news-title {
    margin: 0.25rem 0;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.news-title:hover {
    opacity: 0.8;
    transform: translateY(1px);
}

.news-region {
    margin-left: 0.75rem;
}

.news-source {
    margin: 0.5rem 0 0;
}

.news-image-figure {
    display: block;
    width: fit-content;
    max-width: min(calc(100% - 30px), 500px);
    margin: 0.75rem 15px 0;
}

.news-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: 15px 0;
}

.news-image-details {
    width: 0;
    min-width: 100%;
}

.news-image-caption {
    margin: 0.25rem 0 0;
    color: inherit;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.news-image-source {
    margin: 0.25rem 0 0;
    color: var(--dark);
    font-size: 0.85rem;
    text-align: left;
    overflow-wrap: anywhere;
}

.news-upload-time {
    display: block;
    margin: 0.25rem 0 0;
    color: var(--dark);
    font-size: 0.85rem;
    text-align: right;
}

.news-update {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--light);
}

/* .news-source-link {
    color: inherit;
    text-underline-offset: 0.15em;
        transition: background-color 0.3s ease;
} */

.news-source-link {
    display: inline-block;
    color: inherit;
    text-underline-offset: 0.15em;
    transition: transform 0.3s ease;
}

/* .news-source-link:hover {
    transform: translateY(1px);
} */


.news-source-link:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.news-article-link {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

.news-content {
    white-space: pre-line;
}

@media (max-width: 720px) {
    .news-image {
        width: 100%;
    }
}