/*
Theme Name: ACF Job Board Theme
Theme URI: https://mkitomedia.com/theme
Author: David Peter
Author URI: https://mkitomedia.com
Description: A job board theme with ACF integration
Version: 1.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acf-job-board
*/

/* ======================
   Base Styles
   ====================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #1d4ed8;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======================
   Header Styles
   ====================== */
.site-header {
    background: #000000;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

/* ======================
   Navigation Menu
   ====================== */
.main-navigation {
    display: flex;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-navigation a:hover {
    color: #60a5fa;
}

/* ======================
   Mobile Menu Styles
   ====================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #111827;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: none;
        flex-direction: column;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .main-navigation .menu {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* ======================
   Content Switcher
   ====================== */
.content-type-switcher {
    display: flex;
    margin: 2rem 0;
    border-bottom: 2px solid #eee;
}

.content-type-switcher .button {
    padding: 0.75rem 1.5rem;
    margin-right: 1rem;
    border-radius: 4px 4px 0 0;
    text-decoration: none;
    background: #f5f5f5;
    color: #333;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.content-type-switcher .button.active {
    background: #000;
    color: white;
}

/* ======================
   Scholarship Styles
   ====================== */
.scholarship-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.scholarship-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scholarship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.scholarship-card .entry-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.scholarship-card .entry-title a {
    color: #111;
}

.scholarship-card .entry-title a:hover {
    color: #4CAF50;
}

.scholarship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.scholarship-meta .deadline {
    color: #F44336;
    font-weight: 600;
}

.scholarship-meta .amount {
    color: #4CAF50;
    font-weight: 600;
}

.scholarship-meta .type {
    background: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Single Scholarship */
.scholarship-single {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.scholarship-single .entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.scholarship-single .entry-title {
    margin: 0 0 1rem 0;
    font-size: 1.75rem;
}

.scholarship-details section {
    margin-bottom: 2rem;
}

.scholarship-details h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.apply-button {
    margin-top: 2rem;
}

.apply-button .button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.apply-button .button:hover {
    background: #3d8b40;
}

/* ======================
   Footer Styles
   ====================== */
.site-footer {
    background: #111827;
    color: #fff;
    padding: 50px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-navigation {
    width: 100%;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
}

.footer-menu a:hover {
    color: #60a5fa;
}

.footer-social {
    margin: 20px 0;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: #60a5fa;
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ======================
   Responsive Styles
   ====================== */
@media (max-width: 768px) {
    .content-type-switcher {
        margin: 1.5rem 0;
    }
    
    .scholarship-listings {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scholarship-single {
        padding: 1.5rem;
    }
    
    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-menu a {
        padding: 8px 0;
    }
    
    .social-icons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .content-type-switcher .button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .scholarship-card {
        padding: 1.25rem;
    }
    
    .scholarship-single .entry-title {
        font-size: 1.5rem;
    }
}
/* Add to your existing CSS */
.content-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.entry-content {
    line-height: 1.6;
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 1.5em;
}