/*
Theme Name: Engineers of Tomorrow
Description: A custom responsive WordPress theme for Engineers of Tomorrow nonprofit organization
Version: 1.0
Author: S.O. Anderson
Text Domain: eot-theme
*/

/* CSS Variables */
:root {
    --primary-color: #2E8B57;
    --secondary-color: #DAA520;
    --accent-color: #1E3A8A;
    --text-dark: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-dark);
}

/* Improved subtitle visibility */
.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section-header p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    margin: 0 0 var(--spacing-sm) 0;
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #c8941c;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Site Structure */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.site-main {
    flex: 1;
    position: relative;
    z-index: 2;
    background: var(--white);
}

/* Ensure content doesn't slide under hero */
.site-main > * {
    position: relative;
    z-index: 2;
    background: var(--white);
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact a {
    color: var(--white);
    margin-right: var(--spacing-md);
    font-size: 0.9rem;
    text-decoration: none;
}

.header-contact a:hover {
    color: var(--secondary-color);
}

.header-contact i {
    margin-right: var(--spacing-xs);
}

.header-main {
    padding: var(--spacing-sm) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Site Branding */
.site-branding {
    flex: 0 0 auto;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.custom-logo {
    max-height: 80px;
    width: auto;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0 var(--spacing-sm);
    position: relative;
}

.nav-menu a {
    color: var(--text-dark);
    font-family: var(--font-primary);
    font-weight: 500;
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 2px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== NEWS PAGE STYLES ===== */

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* News Content */
.news-content {
    background: var(--white);
}

/* Featured Post Section */
.featured-post-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
}

.featured-post-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.featured-post-section .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.featured-post {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: var(--transition);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.featured-post-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
    z-index: 5;
}

.featured-badge i {
    margin-right: 5px;
}

.featured-post-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.post-date,
.post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.post-date i,
.post-category i {
    color: var(--primary-color);
}

.featured-post-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.featured-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
}

/* Filter/Category Tabs */
.news-filters {
    padding: var(--spacing-lg) 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-tab {
    background: var(--light-gray);
    border: 2px solid transparent;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tab:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

.filter-tab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.4);
}

.filter-tab i {
    font-size: 1rem;
}

.filter-tab .count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 5px;
}

/* Recent News Section */
.recent-news-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.recent-news-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.recent-news-section .section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.recent-news-section .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.news-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.news-date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-date i,
.reading-time i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.news-card-title {
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    text-decoration: none;
}

.read-more-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.news-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.news-tags .tag {
    background: var(--light-gray);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: var(--transition);
}

.news-tags .tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.load-more-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.load-more-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.newsletter-container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group input[type="email"]:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.3);
}

.newsletter-input-group .btn {
    padding: 15px 30px;
    border-radius: 25px;
    white-space: nowrap;
}

.newsletter-privacy {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.newsletter-privacy i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Success/Error Messages */
.newsletter-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-weight: 500;
}

.newsletter-success {
    background: rgba(40, 167, 69, 0.9);
    color: var(--white);
}

.newsletter-error {
    background: rgba(220, 53, 69, 0.9);
    color: var(--white);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.news-card-content {
    padding: var(--spacing-md);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.news-date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-date i,
.reading-time i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.news-card-title {
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.news-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.news-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.news-tags .tag {
    background: var(--light-gray);
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    padding: var(--spacing-lg) 0;
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.newsletter-container {
    position: relative;
    z-index: 2;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--white);
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.newsletter-content h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input-group input[type="email"]:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.3);
}

.newsletter-input-group .btn {
    padding: 15px 30px;
    border-radius: 25px;
    white-space: nowrap;
}

.newsletter-privacy {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.newsletter-privacy i {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Archives & Search Section */
.news-archives {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.archives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.archive-box,
.search-box,
.popular-posts {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.archive-box h4,
.search-box h4,
.popular-posts h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-box h4 i,
.search-box h4 i,
.popular-posts h4 i {
    color: var(--secondary-color);
}

.monthly-archives {
    margin-bottom: var(--spacing-md);
}

.monthly-archives ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.monthly-archives li {
    margin-bottom: var(--spacing-xs);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.monthly-archives li:last-child {
    border-bottom: none;
}

.monthly-archives a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.monthly-archives a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.view-all-archives {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all-archives:hover {
    color: var(--secondary-color);
}

.news-search-form {
    margin-bottom: var(--spacing-md);
}

.search-input-group {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.search-input-group input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 1rem;
    background: transparent;
}

.search-input-group input[type="search"]:focus {
    outline: none;
}

.search-input-group button {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-input-group button:hover {
    background: var(--secondary-color);
}

.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts-list li {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.popular-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-posts-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.popular-posts-list a:hover {
    color: var(--primary-color);
}

.popular-post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== SINGLE POST / ARTICLE STYLES ===== */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.article-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.article-breadcrumb a:hover {
    color: var(--secondary-color);
}

.article-breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.6);
}

.article-breadcrumb .current {
    color: var(--secondary-color);
    font-weight: 500;
}

.article-meta-header {
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.article-categories {
    margin-bottom: var(--spacing-md);
}

.category-tag {
    background: rgba(218, 165, 32, 0.9);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(218, 165, 32, 0.3);
    text-decoration: none;
    transition: var(--transition);
}

.category-tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.article-publish-info {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.publish-date,
.reading-time,
.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.publish-date i,
.reading-time i,
.article-author i {
    color: var(--secondary-color);
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.article-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

/* Featured Image */
.article-featured-image {
    padding: var(--spacing-lg) 0;
    background: var(--light-gray);
}

.featured-image-container {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

/* Article Layout */
.article-main {
    background: var(--white);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xl);
    align-items: start;
    padding: var(--spacing-xl) 0;
}

/* Article Content */
.article-content {
    background: var(--white);
}

.content-wrapper {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: var(--primary-color);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.content-wrapper h2 {
    font-size: 1.8rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: var(--spacing-xs);
}

.content-wrapper h3 {
    font-size: 1.5rem;
}

.content-wrapper h4 {
    font-size: 1.3rem;
}

.content-wrapper p {
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.content-wrapper li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.content-wrapper blockquote {
    background: var(--light-gray);
    border-left: 4px solid var(--secondary-color);
    padding: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    font-style: italic;
    font-size: 1.05rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
}

.content-wrapper blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: Georgia, serif;
}

.content-wrapper img {
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: var(--spacing-md) 0;
}

.content-wrapper pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: var(--spacing-md) 0;
    font-size: 0.9rem;
}

.content-wrapper code {
    background: var(--light-gray);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.content-wrapper pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Article Tags */
.article-tags {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

.article-tags h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.tag-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
}

/* Social Sharing */
.article-sharing {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.article-sharing h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sharing-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.share-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

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

.share-btn.twitter:hover {
    background: #1DA1F2;
    color: var(--white);
    border-color: #1DA1F2;
}

.share-btn.facebook:hover {
    background: #4267B2;
    color: var(--white);
    border-color: #4267B2;
}

.share-btn.linkedin:hover {
    background: #0077B5;
    color: var(--white);
    border-color: #0077B5;
}

.share-btn.copy-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Author Bio */
.author-bio {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.author-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.author-website {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.author-website:hover {
    color: var(--secondary-color);
}

/* Sidebar Styles */
.article-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.sidebar-widget h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--border-color);
}

.sidebar-widget h4 i {
    color: var(--secondary-color);
}

/* Quick Actions */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.action-btn {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.action-btn.bookmarked {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: var(--spacing-xs);
}

.toc-link {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
    line-height: 1.4;
}

.toc-link:hover {
    background: var(--light-gray);
    color: var(--primary-color);
    padding-left: 16px;
}

.toc-h2 {
    font-weight: 600;
}

.toc-h3 {
    padding-left: 20px;
    font-size: 0.85rem;
}

.toc-h4 {
    padding-left: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Related Posts */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.related-post-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.related-post-item:hover {
    background: var(--light-gray);
    border-color: var(--border-color);
}

.related-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
    min-width: 0;
}

.related-post-content h5 {
    margin-bottom: 5px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.related-post-content h5 a {
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-post-content h5 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Newsletter Widget */
.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sidebar-newsletter-form input[type="email"] {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.sidebar-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

/* Popular Posts Widget */
.popular-posts-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-post-sidebar-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-post-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-sidebar-item a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.popular-post-sidebar-item a:hover {
    color: var(--primary-color);
}

.popular-post-views {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Reading Progress Indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(46, 139, 87, 0.1);
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(46, 139, 87, 0.5);
}

/* Comments Section */
.comments-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--light-gray);
    border-radius: 12px;
}

.comments-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
}

.comment-form h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.comment-form-group {
    margin-bottom: var(--spacing-md);
}

.comment-form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.comment-form-group input,
.comment-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.1);
}

.comment-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.comment-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-content {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Post Views Counter */
.post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-views i {
    color: var(--primary-color);
}

/* Post Navigation */
.post-navigation {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-previous,
.nav-next {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.nav-previous:hover,
.nav-next:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.nav-direction i {
    color: var(--primary-color);
}

.nav-post-info {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-next .nav-post-info {
    flex-direction: row-reverse;
}

.nav-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.nav-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-post-content {
    flex: 1;
    min-width: 0;
}

.nav-next .nav-post-content {
    text-align: right;
}

.nav-post-content h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.3;
}

.nav-post-content h4 a {
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-post-content h4 a:hover {
    color: var(--primary-color);
}

.nav-post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-center {
    display: flex;
    justify-content: center;
}

.back-to-news {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.back-to-news:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

/* Mission Section */
.mission-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
    position: relative;
    z-index: 3;
    margin-top: -1px; /* Prevent gap between hero and content */
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== MODERN CAROUSEL SECTION ===== */
.video-carousel-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-xl);
}

.video-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.video-carousel {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: visible; /* Changed from hidden to visible for navigation */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    background: var(--white);
}

.video-carousel .swiper-slide {
    display: block !important; /* Changed from flex */
    width: 100% !important;
    height: 100% !important;
}

.carousel-item {
    width: 100%;
    height: 100%; /* Use full carousel height */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--text-dark);
    display: flex;
    flex-direction: column;
}

/* Media content takes 70% of height */
.carousel-media-container {
    height: 70%;
    width: 100%;
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

/* ===== MEDIA CONTENT STYLING ===== */
.carousel-image {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-image:hover img {
    transform: scale(1.02);
}

.carousel-image,
.carousel-video {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-video video,
.video-embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--text-dark);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-thumbnail:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.95);
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(218, 165, 32, 0.5);
}

.play-button i {
    margin-left: 3px; /* Visual centering */
}

.video-iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    background: var(--text-dark);
}

/* ===== MODERN CAPTION SECTION - VISIBLE & STYLED ===== */
.carousel-caption {
    width: 100%;
    height: 30%; /* Fixed 30% of carousel height */
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f4f8 100%);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--primary-color);
}

.carousel-caption h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 var(--spacing-xs) 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-caption p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== MODERN NAVIGATION ARROWS ===== */
.video-carousel .swiper-button-next,
.video-carousel .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    background: rgba(46, 139, 87, 0.9) !important; /* Changed to solid primary color */
    border-radius: 50% !important;
    color: var(--white) !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important; /* Increased z-index */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid var(--white) !important;
    backdrop-filter: none !important; /* Remove backdrop filter */
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.video-carousel .swiper-button-next:hover,
.video-carousel .swiper-button-prev:hover {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 25px rgba(218, 165, 32, 0.4) !important;
}

.video-carousel .swiper-button-next::after,
.video-carousel .swiper-button-prev::after {
    font-family: swiper-icons !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.video-carousel .swiper-button-next {
    right: 15px !important;
}

.video-carousel .swiper-button-prev {
    left: 15px !important;
}

/* ===== MODERN PAGINATION DOTS ===== */
.carousel-pagination-container {
    position: absolute;
    bottom: 20px; /* Move up from media section */
    right: 15px;
    background: rgba(46, 139, 87, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 50;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-counter {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-primary);
    min-width: 40px;
    text-align: center;
}

.video-carousel .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    cursor: pointer !important;
    border-radius: 50% !important;
}

.video-carousel .swiper-pagination-bullet:hover {
    background: var(--white) !important;
    transform: scale(1.2) !important;
}

.video-carousel .swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.8) !important;
}

/* ===== LOADING STATES ===== */
.carousel-item[data-loading="true"] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.carousel-item[data-loading="true"]::before {
    content: 'Loading...';
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== REMOVE OLD OVERLAY STYLES ===== */
.carousel-overlay,
.video-info-overlay,
.video-info {
    display: none !important;
}

/* Add visual separator */
.video-carousel-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 2px;
}

/* Carousel Auto-pause Indicators */
.video-carousel.autoplay-paused .swiper-pagination-bullet-active {
    background: #DAA520;
    border-color: var(--white);
    animation: pulse 1.5s infinite;
    box-shadow: 0 3px 12px rgba(218, 165, 32, 0.6);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Video Loading States */
.carousel-video video[data-loading="true"] {
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-video video[data-loading="true"]::before {
    content: 'Loading video...';
    color: var(--text-muted);
    font-size: 1rem;
    position: absolute;
}

/* Enhanced Focus States for Accessibility */
.carousel-item:focus-within {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* FIXED CORE VALUES SECTION SPACING */
.core-values {
    padding: var(--spacing-xl) 0 !important;
    background-color: var(--white) !important;
    margin-top: var(--spacing-xl) !important;
    position: relative !important;
    z-index: 3 !important;
    clear: both !important;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.value-item {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
    border-color: var(--secondary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    border: 3px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    transition: var(--transition);
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Program Cards */
.programs-preview {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.programs-preview .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programs-preview .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.programs-preview .section-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-card-header {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-md);
    position: relative;
}

.program-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
}

.program-card-header h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.6rem;
}

.program-location {
    opacity: 0.9;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-location i {
    color: var(--secondary-color);
}

.program-card-body {
    padding: var(--spacing-md);
}

.program-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.program-highlights {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
}

.program-highlights li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: var(--spacing-md);
    color: var(--text-dark);
}

.program-highlights li:before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.program-highlights li:last-child {
    border-bottom: none;
}

.program-card-footer {
    background: var(--light-gray);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.program-duration,
.program-participants {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.program-duration i,
.program-participants i {
    color: var(--primary-color);
}

/* Statistics Section */
.stats-section {
    background: var(--accent-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section h2 {
    text-align: center;
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--white);
    font-weight: 500;
}

/* Call to Action */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.2;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* About Page Styles */
.about-content {
    padding: var(--spacing-xl) 0;
}

.mission-vision {
    margin-bottom: var(--spacing-xl);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.mission-box,
.vision-box {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.mission-box::before,
.vision-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-color), #359268);
    color: var(--white);
}

.vision-box {
    background: linear-gradient(135deg, var(--accent-color), #2c5aa0);
    color: var(--white);
}

.mission-box h2,
.vision-box h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box h2 i,
.vision-box h2 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.mission-box p,
.vision-box p {
    color: var(--white);
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1.6;
    font-size: 1.05rem;
}

.company-overview {
    margin-bottom: var(--spacing-xl);
}

.company-overview h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2.2rem;
}

.company-overview p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
}

.board-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2.2rem;
    text-align: center;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.board-member {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.board-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.board-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-member h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.bio {
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Programs Page Styles */
.programs-content {
    padding: var(--spacing-xl) 0;
}

.current-programs {
    margin-bottom: var(--spacing-xl);
}

.current-programs h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    text-align: center;
}

.program-detail {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.program-header {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-md);
    position: relative;
}

.program-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary-color);
}

.program-header h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    font-size: 1.8rem;
}

.program-meta {
    opacity: 0.9;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.program-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.program-meta-item i {
    color: var(--secondary-color);
}

.program-content {
    padding: var(--spacing-md);
}

.program-description {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
}

.program-goals {
    margin: var(--spacing-md) 0;
}

.program-goals h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-goals h4 i {
    color: var(--secondary-color);
}

.program-goals ul {
    list-style-type: none;
    padding: 0;
}

.program-goals li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-md);
    position: relative;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.program-goals li:before {
    content: '→';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.program-goals li:last-child {
    border-bottom: none;
}

.program-activities {
    margin: var(--spacing-md) 0;
}

.program-activities h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-activities h4 i {
    color: var(--secondary-color);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.activity-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.activity-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.activity-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.activity-item h5 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.activity-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.5;
}

.program-stats {
    display: flex;
    justify-content: space-around;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
    background: var(--light-gray);
    margin-left: -var(--spacing-md);
    margin-right: -var(--spacing-md);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-box .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-box .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Upcoming Events */
.upcoming-events {
    margin-bottom: var(--spacing-xl);
}

.upcoming-events h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    text-align: center;
}

.event-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.event-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.event-header h3 {
    color: var(--white);
    margin: 0;
    flex: 1;
    font-size: 1.6rem;
}

.event-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-details {
    padding: var(--spacing-md);
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.info-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs);
}

.info-item i {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.info-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.event-description {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.6;
}

.event-description h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

/* Future Programs */
.future-programs {
    background: var(--light-gray);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.future-programs h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    text-align: center;
}

.future-programs .section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.future-item {
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.future-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.future-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-sm);
}

.future-item-header i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.future-item h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    margin: 0;
}

.future-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.future-item-timeline {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.future-item-timeline i {
    color: var(--primary-color);
}

/* Archives & Search Section */
.news-archives {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.news-archives h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xl);
}

.archives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.archive-box,
.search-box,
.popular-posts {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.archive-box h4,
.search-box h4,
.popular-posts h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.archive-box h4 i,
.search-box h4 i,
.popular-posts h4 i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.monthly-archives {
    margin-bottom: var(--spacing-md);
}

.monthly-archives ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.monthly-archives li {
    margin-bottom: var(--spacing-xs);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.monthly-archives li:last-child {
    border-bottom: none;
}

.monthly-archives a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-weight: 500;
}

.monthly-archives a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.post-count {
    background: var(--light-gray);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-all-archives {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all-archives:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.news-search-form {
    margin-bottom: var(--spacing-md);
}

.search-input-group {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.search-input-group input[type="search"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 1rem;
    background: transparent;
}

.search-input-group input[type="search"]:focus {
    outline: none;
}

.search-input-group button {
    background: var(--primary-color);
    border: none;
    color: var(--white);
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.search-input-group button:hover {
    background: var(--secondary-color);
}

.popular-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-posts-list li {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.popular-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-posts-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
    transition: var(--transition);
}

.popular-posts-list a:hover {
    color: var(--primary-color);
}

.popular-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
}

.popular-post-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.popular-post-views {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 3px;
}

.popular-post-views i {
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-content {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info h2,
.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h2 i,
.contact-form h2 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

.contact-info p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    margin: var(--spacing-lg) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: var(--border-radius);
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    margin-top: 4px;
    flex-shrink: 0;
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(46, 139, 87, 0.2);
}

.contact-item div {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.contact-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
    word-wrap: break-word;
    font-size: 1.2rem;
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.ways-to-help {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), #359268);
    color: var(--white);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.ways-to-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.1;
}

.ways-to-help h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.ways-to-help h3 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.ways-to-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.ways-to-help li {
    padding: var(--spacing-sm) 0;
    color: var(--white);
    opacity: 0.95;
    word-wrap: break-word;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.ways-to-help li:before {
    content: '→';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.ways-to-help strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 15px var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .required {
    color: var(--secondary-color);
    margin-left: 3px;
}

.form-submit {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.4);
}

.form-submit i {
    font-size: 1.1rem;
}

.contact-form-fallback {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Form Messages */
.form-message {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-message i {
    font-size: 1.2rem;
}

/* Blog/Posts Styles */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.post-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.entry-header {
    margin-bottom: var(--spacing-sm);
}

.entry-title {
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.entry-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.entry-title a:hover {
    color: var(--primary-color);
}

.entry-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.entry-meta i {
    color: var(--primary-color);
}

.entry-summary {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    margin-top: auto;
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Single Post Styles */
.entry-content {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

.tag-links {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag-links a {
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    text-decoration: none;
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 15px;
    transition: var(--transition);
}

.tag-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination */
.posts-pagination {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.posts-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.posts-pagination a,
.posts-pagination .current {
    padding: 12px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 500;
    min-width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.posts-pagination a:hover,
.posts-pagination .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.posts-pagination .prev,
.posts-pagination .next {
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Footer Styles */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    margin-top: auto;
}

.footer-widgets {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-motto {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.footer-motto h2 {
    color: var(--secondary-color);
    font-style: italic;
    font-size: 1.5rem;
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section i {
    margin-right: var(--spacing-xs);
    color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: var(--spacing-xs);
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--secondary-color);
}

.site-info {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
    border-radius: 12px;
    margin: var(--spacing-xl) 0;
}

.no-posts h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

.no-posts p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.no-posts i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-image {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    * {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .container {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
        overflow-x: hidden;
    }

    .header-top {
        display: none;
    }

    .header-main .container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .main-navigation {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        flex-direction: column;
        padding: var(--spacing-sm) 0;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: var(--spacing-sm);
        border-radius: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        padding: 0 var(--spacing-sm);
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-publish-info {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-start;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .section-title {
        font-size: 2rem;
    }

    /* ===== MOBILE NEWS PAGE FIXES ===== */
    .featured-post {
        grid-template-columns: 1fr;
        margin: 0 var(--spacing-sm);
    }

    .featured-post-image {
        height: 250px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xs);
        padding: 0 var(--spacing-sm);
    }

    .filter-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .newsletter-input-group {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .newsletter-input-group .btn {
        width: 100%;
    }

    .archives-grid {
        grid-template-columns: 1fr;
    }

    /* ===== MOBILE CAROUSEL FIXES ===== */
    .video-carousel-section {
        padding: var(--spacing-lg) 0;
        margin-bottom: var(--spacing-lg);
    }

    .video-carousel {
        height: 400px;
    }

    .carousel-item {
        height: 280px;
    }

    .carousel-caption {
        height: 120px;
        padding: var(--spacing-sm);
    }

    .carousel-caption h3 {
        font-size: 1.2rem;
        -webkit-line-clamp: 1;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .video-carousel .swiper-button-next,
    .video-carousel .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }

    .video-carousel .swiper-button-next::after,
    .video-carousel .swiper-button-prev::after {
        font-size: 14px !important;
    }

    .video-carousel .swiper-button-next {
        right: 10px !important;
    }

    .video-carousel .swiper-button-prev {
        left: 10px !important;
    }

    .carousel-pagination-container {
        bottom: 15px;
        right: 10px;
        padding: 6px 10px;
    }

    .carousel-counter {
        font-size: 0.8rem;
        min-width: 35px;
    }

    .video-carousel .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    /* MOBILE CORE VALUES - Full width, no horizontal scrolling */
    .core-values {
        margin-top: var(--spacing-lg) !important;
        padding: var(--spacing-lg) 0 !important;
        overflow-x: visible !important;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md) !important;
        width: 100% !important;
        overflow-x: visible !important;
    }

    .value-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .board-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .program-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .event-info {
        grid-template-columns: 1fr;
    }

    .future-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-item {
        word-wrap: break-word;
        overflow-wrap: break-word;
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }

    .contact-item h4,
    .contact-item p,
    .contact-item a {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .nav-center {
        order: -1;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .sharing-buttons {
        justify-content: center;
    }

    .share-btn {
        flex: 1;
        min-width: 120px;
    }

    .posts-pagination .nav-links {
        gap: var(--spacing-xs);
    }

    .posts-pagination a,
    .posts-pagination .current {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .value-item,
    .program-card,
    .event-card {
        margin-bottom: var(--spacing-sm);
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }

    /* MOBILE CAROUSEL - SMALLER SCREENS */
    .video-carousel {
        height: 350px;
    }

    .carousel-item {
        height: 240px;
    }

    .carousel-caption {
        padding: var(--spacing-sm);
    }

    .carousel-caption h3 {
        font-size: 1.1rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .video-carousel .swiper-button-next,
    .video-carousel .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        margin-top: -17px !important;
    }

    .video-carousel .swiper-button-next::after,
    .video-carousel .swiper-button-prev::after {
        font-size: 12px !important;
    }

    .play-button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .carousel-counter {
        font-size: 0.75rem;
        min-width: 30px;
    }

    .video-carousel .swiper-pagination-bullet {
        width: 5px !important;
        height: 5px !important;
    }

    .contact-form {
        padding: var(--spacing-md);
    }

    .form-group input,
    .form-group textarea {
        padding: 12px var(--spacing-sm);
    }

    .footer-motto h2 {
        font-size: 1.4rem;
    }

    .footer-section {
        padding: var(--spacing-md);
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link i {
        font-size: 1rem;
    }
}

/* ===== ACCESSIBILITY & FOCUS STATES ===== */
.video-carousel .swiper-button-next:focus,
.video-carousel .swiper-button-prev:focus,
.video-carousel .swiper-pagination-bullet:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

.play-button:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
.menu-toggle:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 6px;
    z-index: 999999;
    text-decoration: none;
    background: var(--text-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.skip-link:focus {
    left: 6px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--light-gray);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--text-dark);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .hero-buttons,
    .btn,
    .video-carousel-section,
    .article-sidebar,
    .sharing-buttons,
    .newsletter-section,
    .social-links,
    .nav-links,
    .filter-tabs {
        display: none;
    }

    .hero-section,
    .article-header {
        background: none !important;
        color: var(--text-dark) !important;
        padding: var(--spacing-md) 0;
    }

    .hero-title,
    .page-title,
    .article-title {
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }

    .site-main {
        margin: 0;
        padding: 0;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .news-card,
    .post-item {
        break-inside: avoid;
        margin-bottom: var(--spacing-md);
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }

    p, li {
        orphans: 3;
        widows: 3;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* ===== SMOOTH TRANSITIONS ===== */
.carousel-item,
.carousel-caption,
.play-button,
.video-carousel .swiper-button-next,
.video-carousel .swiper-button-prev,
.video-carousel .swiper-pagination-bullet,
.news-card,
.post-item,
.value-item,
.program-card,
.contact-item,
.footer-section {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .carousel-image:hover img {
        transform: none !important;
    }

    .news-card:hover,
    .post-item:hover,
    .value-item:hover {
        transform: none !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .video-carousel .swiper-button-next,
    .video-carousel .swiper-button-prev {
        background: #000000 !important;
        border: 3px solid #ffffff !important;
    }

    .video-carousel .swiper-pagination-bullet {
        background: #000000 !important;
        border: 2px solid #ffffff !important;
    }

    .video-carousel .swiper-pagination-bullet-active {
        background: #ffffff !important;
        border: 2px solid #000000 !important;
    }

    .play-button {
        background: #000000 !important;
        border: 2px solid #ffffff !important;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.p-0 { padding: 0; }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-muted { color: var(--text-muted); }
.text-light { color: var(--text-light); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

.border-radius { border-radius: var(--border-radius); }
.box-shadow { box-shadow: var(--shadow); }

.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-semibold { font-weight: 600; }
.font-weight-bold { font-weight: 700; }

/* Ensure proper section stacking */
.mission-section,
.video-carousel-section,
.core-values,
.programs-preview,
.stats-section,
.cta-section,
.recent-news-section,
.newsletter-section,
.news-archives {
    position: relative;
    z-index: auto;
}

/* WordPress Core Alignment Classes */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
.wp-block-image.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 4px 5px;
    color: var(--text-muted);
}

/* WordPress Gallery */
.gallery {
    margin: var(--spacing-md) 0;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    margin: 0 0 var(--spacing-sm) 0;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: var(--spacing-xs) 0;
}

/* Simple Footer Book Section Styles - Match Dark Footer */
.footer-book-section {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    text-align: center;
    box-shadow: none;
}

.footer-book-section h4 {
    color: #DAA520 !important; /* Secondary color from your theme */
    margin-bottom: 15px;
    text-shadow: none;
}

.footer-book-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-book-image img {
    width: 80px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-book-title {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 10px 0;
    font-size: 16px;
    text-shadow: none;
}

.footer-book-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.footer-book-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 180px;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.footer-book-link.lulu-link {
    background: #0066CC;
    border-color: #0066CC;
    color: white !important;
}

.footer-book-link.lulu-link:hover {
    background: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    color: white !important;
}

.footer-book-link.amazon-link {
    background: #ff5722;
    border-color: #ff5722;
    color: white !important;
    font-style: italic;
    opacity: 0.9;
    cursor: default;
}

.footer-book-link i {
    font-size: 16px;
    color: inherit;
}

/* Desktop Layout */
@media (min-width: 769px) {
    .footer-book-container {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
    }
    
    .footer-book-content {
        text-align: left;
    }
    
    .footer-book-links {
        align-items: flex-start;
    }
    
    .footer-book-link {
        min-width: auto;
        justify-content: flex-start;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .footer-book-section {
        padding: 15px;
        margin: 10px 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .footer-book-container {
        gap: 10px;
        text-align: center;
    }
    
    .footer-book-content {
        text-align: center;
        width: 100%;
    }
    
    .footer-book-image img {
        width: 70px;
    }
    
    .footer-book-title {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .footer-book-links {
        gap: 8px;
        width: 100%;
    }
    
    .footer-book-link {
        width: 100%;
        max-width: 280px;
        padding: 10px 16px;
        font-size: 13px;
        margin: 0 auto;
    }
}
