/* News Page Styles */

/* Main Visual for News Pages */
#news-mv {
    background-image: url('../images/header_top.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10rem 0;
    position: relative;
}

#news-mv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

#news-mv .container {
    position: relative;
    z-index: 2;
}

#news-mv h1 {
    font-size: 3rem;
    margin: 0;
    color: white;
    -webkit-text-fill-color: white;
}

#news-mv p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* News List Section */
#news-list-section {
    padding: 6rem 0;
    background-image: url('../images/hexagon-pattern.svg');
    background-repeat: repeat;
    background-size: 100px 115px;
}

.news-list-items li {
    border-bottom: 1px solid #e0e0e0;
}

.news-list-items li a {
    display: flex;
    padding: 1.5rem 1rem;
    transition: background-color 0.3s;
}

.news-list-items li a:hover {
    background-color: #f7f7f7;
}

.news-list-items time {
    margin-right: 2rem;
    font-weight: bold;
    color: var(--text-color);
    flex-shrink: 0;
    width: 100px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--main-color);
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}
.pagination a:hover {
    background-color: var(--main-color);
    color: white;
}
.pagination .current {
    background-color: var(--main-color);
    color: white;
    border-color: var(--main-color);
}
.pagination .disabled {
    color: #ccc;
    border-color: #eee;
    pointer-events: none;
}


/* News Single Page */
#news-single-section {
    padding: 5rem 0;
}
.breadcrumbs {
    margin-bottom: 2rem;
    color: #888;
}
.breadcrumbs a {
    color: #439dc9 !important;
}

#single-content .breadcrumbs a {
    color: #439dc9 !important;
}

.hexagon-bg .breadcrumbs a {
    color: #439dc9 !important;
}

section .breadcrumbs a {
    color: #439dc9 !important;
}
.news-article {
    max-width: 800px;
    margin: 0 auto;
}
.article-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.article-date {
    color: #888;
    margin-bottom: 2rem;
}
.article-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .news-list-items {
        padding-left: 0;
    }

    #news-list-section {
        padding-bottom: 60px;
    }

    #news-mv {
        padding: 5rem 0;
    }
} 