/* ==========================================================================
   Myth War II Online - News Stylesheet (Dark Fantasy MMORPG Theme)
   ========================================================================== */

:root {
    --mw-gold: #fff4c4;
    --mw-orange: #d4af37;
    --mw-border: rgba(142, 108, 74, 0.45);
    --mw-bg: #0a0907;
    --mw-panel: rgba(18, 16, 13, 0.95);
    --mw-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    --mw-text: #e4dfd5;
    --mw-muted: #a19e95;
    --mw-line: rgba(142, 108, 74, 0.2);
}

body {
    background-color: var(--mw-bg);
    color: var(--mw-text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Page Background Setup */
.news-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: url('../img/maps/Map003_Tiles/File0010.jpg') center center / cover no-repeat;
    filter: brightness(0.35) saturate(0.5);
}

.news-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 0%, rgba(212, 175, 55, 0.06), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(142, 108, 74, 0.05), transparent 45%),
        linear-gradient(180deg, rgba(10, 9, 7, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.page-content {
    position: relative;
    z-index: 1;
}

.news-shell {
    padding-bottom: 60px;
}

/* Ornate Title Plates */
.section-title {
    color: var(--mw-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 4px #000;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--mw-orange);
    margin: 12px auto 24px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Featured News Card
   ========================================================================== */

.news-featured {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    background: var(--mw-panel);
    box-shadow: var(--mw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.news-featured::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 44%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
    z-index: 1;
}

.news-featured img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--mw-border);
    filter: saturate(0.9) contrast(1.05) brightness(0.85);
    transition: filter 0.35s ease;
}

.news-featured:hover img {
    filter: saturate(1.05) contrast(1.08) brightness(1);
}

.news-featured-body {
    position: relative;
    z-index: 2;
    padding: 32px;
}

.news-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--mw-orange);
    font-family: 'Marcellus', serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.news-featured h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 14px 0;
    color: var(--mw-gold);
    text-shadow: 0 2px 4px #000;
}

.news-body {
    white-space: pre-line;
    color: var(--mw-text);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==========================================================================
   News Card Grid
   ========================================================================== */

.news-grid-card {
    height: 100%;
}

.news-grid-card .news-card {
    height: 100%;
}

.news-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--mw-orange);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.2);
}

.news-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    pointer-events: none;
}

.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid var(--mw-border);
    filter: saturate(0.85) contrast(1.05) brightness(0.8);
    transition: transform 0.45s ease, filter 0.35s ease;
}

.news-card:hover img {
    transform: scale(1.03);
    filter: saturate(1.05) contrast(1.08) brightness(1);
}

.news-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 140px;
    padding: 18px 20px;
}

.news-date {
    color: var(--mw-orange);
    font-family: 'Marcellus', serif;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.news-title {
    color: var(--mw-gold);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.15rem;
    text-shadow: 0 1px 2px #000;
    margin-bottom: 10px;
}

.news-excerpt {
    flex: 1;
    color: var(--mw-muted);
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 16px;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   Buttons & Common Components
   ========================================================================== */

.btn-gold {
    background: linear-gradient(180deg, #5c432d 0%, #3a2717 100%);
    border: 1px solid var(--mw-orange);
    color: var(--mw-gold);
    font-family: 'Marcellus', serif;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 24px;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.4);
    text-shadow: 0 1px 2px #000;
}

.btn-gold:hover {
    color: #fff;
    background: linear-gradient(180deg, #74543b 0%, #4f341f 100%);
    border-color: var(--mw-gold);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-outline-warning {
    color: var(--mw-orange);
    border-color: var(--mw-border);
    border-radius: 4px;
    font-family: 'Marcellus', serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    background: rgba(142, 108, 74, 0.05);
}

.btn-outline-warning:hover {
    color: var(--mw-gold);
    background: linear-gradient(180deg, #5c432d 0%, #3a2717 100%);
    border-color: var(--mw-orange);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.4);
}

.empty-news {
    padding: 60px 24px;
    text-align: center;
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    color: var(--mw-muted);
    background: var(--mw-panel);
    font-family: 'Inter', sans-serif;
    box-shadow: var(--mw-shadow);
}

/* ==========================================================================
   Page Hero Banner
   ========================================================================== */

.news-page-hero {
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 45%),
        linear-gradient(180deg, rgba(22, 18, 14, 0.95) 0%, rgba(10, 9, 7, 0.8) 100%);
    padding: 130px 0 50px;
    text-align: center;
    border-bottom: 2px solid var(--mw-border);
    margin-bottom: 30px;
    box-shadow: var(--mw-shadow);
}

.news-page-hero::after {
    content: '';
    position: absolute;
    inset: auto 10% 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mw-orange), var(--mw-gold), var(--mw-orange), transparent);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.news-page-hero p {
    color: var(--mw-muted);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    max-width: 740px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer Styling */
footer {
    background: transparent;
    padding: 40px 0;
    text-align: center;
    color: var(--mw-muted);
    font-family: 'Inter', sans-serif;
}
