/* GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, sans-serif;
    background: #666; /* modern grey */
    color: white;
}

/* TEXT STYLING */
.page-header {
    font-size: 32px;
    margin-top: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.page-text {
    font-size: 20px;
    line-height: 1.6;
    margin: 20px 0;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* MAIN CONTENT AREA */
/* ============================================================
   TEXT + BASE
   ============================================================ */
.content-area {
    margin-top: 80px;
    margin-bottom: 100px;
    padding: 20px 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    font-family: Verdana, sans-serif;
}

/* ============================================================
   ANIMATED SECTION HEADER
   ============================================================ */
.section-header {
    font-size: 34px;
    margin: 20px 0;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
    position: relative;
    animation: fadeSlideIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.news-ticker {
    background: #00334d;
    border-left: 5px solid #00aaff;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.ticker-title {
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap;
}

.ticker-scroll {
    overflow: hidden;
    position: relative;
    flex: 1;
}

.ticker-scroll span {
    display: inline-block;
    padding-left: 100%;
    animation: tickerMove 18s linear infinite;
    white-space: nowrap;
}

@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.news-card {
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeInCard 0.6s ease forwards;
    opacity: 0;
}

.news-card:nth-child(1) { animation-delay: 0.2s; }
.news-card:nth-child(2) { animation-delay: 0.4s; }
.news-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.news-card h3 {
    margin-top: 0;
    color: #aee6ff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.news-card p {
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* Responsive */
@media (min-width: 700px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* LEFT SIDEBAR */
.left-sidebar {
    width: 260px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    position: fixed;
    top: 80px;
    left: 20px;
    color: black;
}

/* RIGHT SIDEBAR */
.right-sidebar {
    width: 200px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    position: fixed;
    top: 80px;
    right: 20px;
    color: black;
}

/* HEADER */
.site-header {
    background: #004466;
    color: white;
    height: 70px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header h1 {
    font-size: 1.9rem;
    margin: 0;
    letter-spacing: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* FOOTER */
.site-footer {
    background: #004466;
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 9999;
}

/* Disable landing page layout on this page */
.content-wrapper {
    display: block !important;
    margin-top: 0 !important;
    justify-content: unset !important;
}

/* Disable landing page main-content box */
.main-content {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    min-height: auto !important;
    border-radius: 0 !important;
}

