/*
Theme Name: Uni Academic Theme
Description: A custom academic theme for CTL SITES.
Author: You
Version: 1.0
*/

/* Import Official Brand Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;700&family=Merriweather:wght@400;700&family=Oswald:wght@300;400;500;700&display=swap');

/* ==========================================================================
   Global Body & Typography
   ========================================================================== */
body {
    font-family: 'Merriweather', Georgia, serif; /* Primary Serif */
    font-size: 16px; 
    line-height: 1.5;
    color: #000000; /* Arch Black */
    margin: 0; /* Removes default browser margins */
}

/* ==========================================================================
   Header & Main Navigation Styles
   ========================================================================== */
.site-header {
    background-color: #BA0C2F; /* Keeps Bulldog Red as a fallback while the image loads */
    background-image: url('https://ctlsites.uga.edu/wp-content/uploads/2026/02/Digital_Background_9_MARCM.jpg');
    background-size: cover; /* Ensures the image covers the entire header area */
    background-position: center; /* Keeps the most important part of the image in the middle */
    background-repeat: no-repeat; /* Prevents the image from tiling */
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Change header text to white for better contrast against the background image */
.site-branding .site-title a,
.main-navigation a {
    color: #FFFFFF; 
}

/* Optional: Add a slight text shadow so the text pops against busy parts of the image */
.site-branding .site-title a {
    font-family: 'Oswald', sans-serif;
    font-size: 36px; /* Makes the title significantly larger */
    font-weight: 700; /* Extra bold */
    color: #FFFFFF; /* Crisp white text against the red header */
    text-transform: uppercase; /* Gives it that official, monumental look */
    text-decoration: none; /* Removes the default link underline */
    letter-spacing: 1px; /* Adds a tiny bit of breathing room between letters */
    transition: opacity 0.2s ease-in-out; /* Smooth fade for the hover effect */
}

/* Optional: Make it dim slightly when someone hovers over it so they know it's a clickable link home */
.site-branding .site-title a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.site-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-layout-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.site-main {
    flex: 1;
    min-width: 60%;
}

/* ==========================================================================
   Content Typography (Headings & Links)
   ========================================================================== */
h1, .entry-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 46px; 
    color: #000000;
    margin-top: 0;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 34px;
    color: #BA0C2F;
    margin-bottom: 15px;
}

h3 {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin-bottom: 15px;
}

.entry-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 20px;
}

.entry-content a {
    color: #BA0C2F;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.entry-content a:hover {
    text-decoration: underline;
    color: #000000;
}

/* ==========================================================================
   Sidebar / Widget Area (UGA Brand Guidelines)
   ========================================================================== */
.widget-area {
    width: 300px;
    background-color: #F2F2F2; /* A very soft, neutral gray */
    padding: 30px;
    border-top: 5px solid #BA0C2F; /* Bulldog Red accent line */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Very subtle shadow for depth */
}

/* "QUICK LINKS" Widget Title */
.widget-area h2.widget-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 26px; /* Scaled perfectly for a sidebar space */
    text-transform: uppercase;
    color: #BA0C2F; /* Bulldog Red */
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000; /* Arch Black underline for emphasis */
}

.widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-area li {
    border-bottom: 1px solid #DCDCDC; /* Subtle gray divider between links */
    padding: 12px 0;
}

.widget-area li:last-child {
    border-bottom: none; /* Removes the line under the last link */
}

/* Sidebar Links */
.widget-area a {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #000000; /* Arch Black */
    text-decoration: none;
    display: block; /* Makes the entire line clickable, not just the text */
    transition: all 0.2s ease-in-out; /* Smooth animation */
}

/* Interactive Hover Effect */
.widget-area a:hover {
    color: #BA0C2F; /* Turns Bulldog Red */
    padding-left: 5px; /* Gives the link a tiny nudge to the right when hovered */
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 14px;
    background-color: #000000; /* Arch Black */
    color: #FFFFFF; /* Chapel Bell White */
    padding: 40px 20px;
    text-align: center;
    margin-top: 50px;
}

.site-footer a {
    color: #FFFFFF;
    text-decoration: underline;
}

.site-footer a:hover {
    color: #CCCCCC;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-copyright p {
    margin: 0;
}