/* ==========================================================================
   FOUNDATIONS7.ORG - GLOBAL TOPICS STYLESHEET (topics1.css)
   ========================================================================== */

/* --- WARM & FRIENDLY THEME VARIABLES --- */
:root {
    --primary: #4666C0;       /* Your signature deep blue */
    --accent: #CC9900;        /* Your signature warm gold */
    --bg-color: #f7faf6;      /* Very soft, warm sage-tinted white background */
    --text-dark: #2d3748;     /* Soft slate charcoal instead of harsh pure black */
}

/* --- GLOBAL RESET & TYPOGRAPHY --- */
body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-family: "Georgia", serif; /* Warm handwritten/notebook layout style */
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* --- MAIN WHITE PAGE CONTAINER --- */
.page-card {
    background-color: #ffffff;
    max-width: 750px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft premium drop shadow */
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

/* --- HEADER REGION --- */
.header-section {
    background-color: #ffffff;
    border-bottom: 2px solid #edf2f7;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.header-section img {
    max-width: 200px;
    height: auto;
    border-radius: 6px;
}

.header-titles h1 {
    font-family: 'Arial', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.header-titles h2 {
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
}

/* --- TOP & BOTTOM NAVIGATION BAR --- */
.nav-bar {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 15px 0;
}

.nav-bar a {
    color: var(--primary);
    text-decoration: none;
    padding: 0 5px;
    transition: color 0.2s ease;
}

/* --- THE HOVER STATE --- */
.nav-bar a:hover, 
.study-list a:hover {
    color: red;
    text-decoration: underline;
}

.nav-divider {
    color: var(--accent);
}

/* --- BACK DASHBOARD BUTTONS --- */
.back-btn {
    display: inline-block;
    font-family: 'Arial', sans-serif;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    background-color: #edf2f7;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}

.back-btn:hover {
    background-color: var(--primary);
    color: #ffffff !important;
}

/* --- CONTENT BODY & LINKS --- */
.content-body {
    padding: 30px 40px;
}

.content-body h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 0;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    display: inline-block;
}

.study-list {
    list-style-type: none; /* Removes standard rigid bullets */
    padding: 0;
    margin: 20px 0;
}

.study-list li {
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
}

/* Custom warm bullet point indicator */
.study-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.3rem;
    top: -2px;
}

.study-list a {
    font-family: 'Arial', sans-serif;
    font-size: 1.15rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.study-list a:hover {
    color: red;
    text-decoration: underline;
}

/* --- FOOTER REGION --- */
.footer-section {
    background-color: #f7fafc;
    border-top: 1px solid #edf2f7;
    padding: 20px;
    text-align: center;
}
/* --- TOP & BOTTOM NAVIGATION BAR & STUDY LINKS --- */
.nav-bar a, 
.study-list a {
    color: var(--primary);
    text-decoration: none;
    padding: 0 5px;
    /* MAGIC TRANSITION: Fades color and underline smoothly over 0.3 seconds */
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out; 
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 600px) {
    body { padding: 10px; }
    .content-body { padding: 20px; }
    .header-titles h1 { font-size: 1.5rem; }
    .header-titles h2 { font-size: 1.2rem; }
}