/*
Theme Name: MartinElleatanganaAssignment5
Theme URI: http://assignment5.martinpatrickelleatangana.com
Author: Martin Patrick Elle Atangana
Author URI: http://martinpatrickelleatangana.com
Description: Child theme for CSCI 4460 Assignment 5
Version: 1.0
Template: assignment3b
Text Domain: martinelleatanganaassignment5
*/

/* ── Import Parent Theme Styles ───────────────────────────────────────────── */
@import url("../assignment3b/style.css");

/* ── General Body Styles ──────────────────────────────────────────────────── */
body {
    background-color: #f0f4f8;
    font-family: Georgia, serif;
}

/* ── Header Styles ────────────────────────────────────────────────────────── */
#header {
    background-color: #0d2137;
    padding: 0;
}

#header .header-top {
    padding: 20px 30px;
}

#header h1 {
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
}

#header h1 a {
    color: #ffffff;
    text-decoration: none;
}

#header h1 a:hover {
    color: #f0c040;
}

#header .site-description {
    font-size: 14px;
    color: #aaccee;
    margin-top: 4px;
}

/* ── Slider Styles ────────────────────────────────────────────────────────── */
#header-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-height: 300px;
}

#header-slider img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* ── Navigation Menu ──────────────────────────────────────────────────────── */
#header nav {
    background-color: #1a3a5c;
    padding: 10px 30px;
}

#header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#header nav ul li {
    display: inline-block;
    margin-right: 20px;
}

#header nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

#header nav ul li a:hover {
    color: #f0c040;
}

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
#wrapper {
    width: 92%;
    margin: 25px auto;
    display: flex;
    gap: 25px;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
#sidebar {
    width: 26%;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

#sidebar h2 {
    font-size: 17px;
    color: #0d2137;
    border-bottom: 3px solid #f0c040;
    padding-bottom: 6px;
    margin-bottom: 12px;
}

#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar ul li {
    padding: 5px 0;
    border-bottom: 1px solid #eef2f6;
}

#sidebar ul li a {
    color: #1a3a5c;
    text-decoration: none;
}

#sidebar ul li a:hover {
    color: #f0c040;
}

/* ── Content Area ─────────────────────────────────────────────────────────── */
#content {
    width: 74%;
    background-color: #ffffff;
    padding: 25px;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* ── Regular Post ─────────────────────────────────────────────────────────── */
.post {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eef2f6;
}

.post h2 {
    font-size: 22px;
    color: #0d2137;
    margin-bottom: 8px;
}

.post h2 a {
    color: #0d2137;
    text-decoration: none;
}

.post h2 a:hover {
    color: #1a3a5c;
}

.post-meta {
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
}

.post-excerpt {
    line-height: 1.7;
    color: #444444;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #1a3a5c;
    font-weight: bold;
    text-decoration: none;
}

.read-more:hover {
    color: #f0c040;
}

/* ── FIRST POST BOX ───────────────────────────────────────────────────────── */
.first-post {
    border: 3px solid #f0c040 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    background-color: #fffdf0 !important;
    box-shadow: 0 4px 12px rgba(240, 192, 64, 0.3) !important;
}

.first-post h2 {
    color: #0d2137 !important;
}

.first-post-label {
    display: inline-block;
    background-color: #f0c040;
    color: #0d2137;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
#footer {
    background-color: #0d2137;
    color: #ffffff;
    text-align: center;
    padding: 25px;
    margin-top: 20px;
}

#footer p {
    font-size: 14px;
    color: #aaccee;
    margin: 5px 0;
}

#footer a {
    color: #f0c040;
    text-decoration: none;
}

#footer a:hover {
    color: #ffffff;
}