﻿/* ===============================
   ROOT
================================ */
:root {
    --bg: #e8d1d7;
    --panel: rgba(255,255,255,0.75);
    --border: rgba(0,0,0,0.08);
    --accent: #7a0f1b;
    --accent-soft: rgba(122,15,27,0.12);
    --text-main: #111827;
    --text-muted: #6b7280;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===============================
   BASE
================================ */
body {
    background: var(--bg);
    color: var(--text-main);
}

.news-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 24px;
}

/* ===============================
   HEADER
================================ */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.news-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
}

.news-actions {
    display: flex;
    gap: 14px;
}

/* ===============================
   BUTTONS
================================ */
/*.btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--accent);
    border: none;
}*/

.btn-solid {
    background: var(--accent);
    color: white;
}



.btn:hover {
    box-shadow: var(--shadow);
}

/* ===============================
   GRID
================================ */
.news-row {
    display: grid;
    grid-template-columns: 2.5fr 6fr 1.5fr;
    gap: 32px;
}

/* ===============================
   FEATURED NEWS
================================ */
.left-news .card {
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.left-news .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.65)
    );
}

.left-news .card-body,
.left-news .card-footer {
    z-index: 1;
    color: white;
}

.left-news h5 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.left-news p {
    opacity: 0.9;
}

/* ===============================
   RIGHT NEWS
================================ */
.right-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 4fr));
    gap: 20px;
}

.right-news {
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.right-news::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.right-news .card-body,
.right-news .card-footer {
    position: relative;
    z-index: 1;
    color: white;
}

.right-news h5 {
    font-size: 1rem;
    margin-bottom: 6px;
}

/* ===============================
   CARD FOOTER
================================ */
.card-footer {
    display: flex;
    gap: 10px;
    padding: 16px;
}

.card-footer .btn {
    padding: 6px 14px;
    font-size: 0.75rem;
    background: white;
    color: var(--accent);
    border: none;
}

/* ===============================
   EVENTS
================================ */
.events-section {
    background: var(--panel);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

.events-section h3 {
    margin-bottom: 16px;
    color: var(--accent);
}

.event-card {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.event-card:last-child {
    border-bottom: none;
}

.event-title {
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.event-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/*.see-more-btn {
    display: block;
    margin-top: 16px;
    padding: 10px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
}*/

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1100px) {
    .news-row {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        gap: 16px;
    }
}
