/* =========================
   News List
========================= */

.page-hero {
    margin-top: 76px;
    height: 340px;
    background: linear-gradient(135deg, #7b1e2b, #b98a57);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 46px;
    font-weight: 400;
    letter-spacing: 5px;
    margin: 0 0 14px;
}

.page-hero p {
    font-size: 18px;
    opacity: .9;
    margin: 0;
}

.container {
    padding: 70px 10%;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.category-tabs a {
    color: #7b1e2b;
    border: 1px solid #e5d4ca;
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
}

.category-tabs a.active,
.category-tabs a:hover {
    background: #7b1e2b;
    color: #fff;
    border-color: #7b1e2b;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    transition: .3s;
    color: inherit;
    display: block;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.news-img {
    height: 230px;
    background: #f5f0eb;
    overflow: hidden;
}

.news-img picture,
.news-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.news-img img {
    object-fit: cover;
    transition: .5s;
}

.news-card:hover .news-img img {
    transform: scale(1.05);
}

.news-info {
    padding: 24px;
}

.news-date {
    font-size: 13px;
    color: #b98a57;
    margin-bottom: 10px;
}

.news-info h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #7b1e2b;
    font-weight: 400;
}

.news-info h3 {
    margin: 0 0 14px;
    font-size: 15px;
    color: #b98a57;
    font-weight: 400;
}

.news-info p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 14px;
}

.empty {
    text-align: center;
    color: #888;
    padding: 80px 0;
}


/* =========================
   News Detail
========================= */

.news-hero {
    margin-top: 76px;
    height: 480px;
    position: relative;
    overflow: hidden;
    background: #f5f0eb;
}

.news-hero picture,
.news-hero img {
    width: 100%;
    height: 100%;
    display: block;
}

.news-hero img {
    object-fit: cover;
}

.news-hero-title {
    position: absolute;
    left: 10%;
    bottom: 70px;
    color: #fff;
    text-shadow: 0 4px 18px rgba(0,0,0,.4);
    max-width: 760px;
}

.news-hero-title h1 {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 0 0 14px;
}

.news-hero-title p {
    font-size: 18px;
    margin: 0;
}

.news-detail-container {
    padding: 70px 14%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-meta {
    color: #b98a57;
    margin-bottom: 24px;
}

.news-summary {
    background: #faf7f3;
    border-radius: 20px;
    padding: 34px;
    margin-bottom: 42px;
    color: #666;
    line-height: 2;
    font-size: 16px;
}

.news-content {
    font-size: 16px;
    color: #555;
    line-height: 2.2;
    white-space: pre-line;
}

.news-content img {
    max-width: 100%;
    height: auto;
}

.news-content table {
    width: 100%;
}

.news-content iframe,
.news-content video {
    max-width: 100%;
}

.news-content h1,
.news-content h2,
.news-content h3 {
    color: #7b1e2b;
}

.related-section {
    margin-top: 70px;
}

.detail-title {
    color: #7b1e2b;
    font-weight: 400;
    font-size: 30px;
    margin: 0 0 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.related-card {
    display: block;
    padding: 24px;
    border-radius: 16px;
    background: #faf7f3;
    color: #333;
}

.related-card h3 {
    margin: 0 0 10px;
    color: #7b1e2b;
    font-size: 20px;
    font-weight: 400;
}

.related-card p {
    margin: 0;
    color: #777;
    line-height: 1.8;
}

.prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}

.prev-next a {
    display: block;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
}

.prev-next a:hover {
    border-color: #7b1e2b;
}

.prev-next span {
    display: block;
    color: #999;
    margin-bottom: 8px;
}

.prev-next strong {
    color: #7b1e2b;
    font-weight: 400;
}


