/*
Theme Name: Kepa Theme
Description: A clean, professional WordPress theme for CNG Nigeria website featuring emerald green design and content management for videos, podcasts, and news.
Author: Manus AI
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kepa-theme
*/

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

body {
    font-family: roboto, lato, sans-serif, apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}



 /* --- CONTEMPORARY TYPOGRAPHY REFRESH --- */

 /* 1. Define Font Families */
 /* We'll use a modern, highly-readable system font stack. */
 /* Headings will use a classic serif font for a professional contrast. */
 :root {
     --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe
      UI Emoji", "Segoe UI Symbol";
     --font-serif: "Georgia", "Iowan Old Style", "Apple Garamond", "Palatino", "Times New Roman", serif;
 }
   
    /* 2. Body & Paragraph Text */
    /* We're setting a slightly larger base font size and a more generous line-height for better readability. */
    body {
        font-family: var(--font-sans);
        font-size: 112.5%; /* 18px on a standard 16px browser default */
        line-height: 1.7;
        color: #374151; /* Dark grey for high readability */
        background-color: #ffffff;
    }
   
    p {
        margin-bottom: 1.5rem;
        color: #374151; /* Ensuring paragraphs have strong contrast */
    }
   
    /* 3. Headings */
    /* Headings now use the serif font for contrast and have more space to breathe. */
    h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-serif);
        font-weight: 700; /* Bold for strong hierarchy */
        line-height: 1.3;
        margin-bottom: 1.5rem;
        color: #1f2937;
    }
   
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }
   
    /* 4. Links */
    a {
        color: #059669;
        text-decoration: none;
        transition: color 0.3s ease;
    }
   
    a:hover {
        color: #047857;
        text-decoration: underline;
    }
   
    /* 5. Improve Readability of Blog Post Content */
    /* This is the most important change for a professional blog. */
    /* It constrains the width of the text to an optimal length for reading. */
    .entry-content {
        max-width: 100%; /* 'ch' is a unit that represents the width of the '0' character */
    }
   
    /* --- END TYPOGRAPHY REFRESH --- */


.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #059669;
    color: white;
}

.btn-primary:hover {
    background-color: #047857;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #059669;
    border: 2px solid #059669;
}

.btn-secondary:hover {
    background-color: #059669;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Header */
.site-header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
}

.main-navigation {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
	

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0;
    max-width: 48rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* Content Sections */
.content-section {
    padding-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.card-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* About Section */
.about-section {
    background-color: white;
    padding-bottom: 3rem;
}

.about-content {
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-text p {
    margin-bottom: 1rem;
    color: #6b7280;
}

.about-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    border-radius: 0.5rem;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 20rem;
    }
}

/* Video Section */
.video-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.video-card {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.video-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 12rem;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(5, 150, 105, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-play-button:hover {
    background-color: #047857;
}

/* Podcast Section */
.podcast-section {
    background-color: #f3f4f6;
    padding: 3rem 0;
}

.podcast-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.podcast-image {
    width: 5rem;
    height: 5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}

.podcast-content {
    flex: 1;
}

.podcast-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.podcast-description {
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .podcast-card {
        flex-direction: column;
        text-align: center;
    }

    .podcast-image {
        width: 4rem;
        height: 4rem;
    }
}

/* News Section */
.news-section {
    background-color: white;
    padding: 3rem 0;
}

.news-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.news-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Contact Section */
.contact-section {
    background-color: #ecfdf5;
    padding: 3rem 0;
}

.contact-form {
    background-color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 42rem;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-submit {
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #374151;
    color: white;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #059669;
    color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-white { background-color: white; }
.bg-emerald-50 { background-color: #ecfdf5; }

/* WordPress Specific */
.wp-block-image {
    margin-bottom: 1rem;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    text-align: center;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

'''
.alignright {
    float: right;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

/* WordPress Block Editor Alignment Support */
.entry-content .has-text-align-left {
  text-align: left;
}

.entry-content .has-text-align-center {
  text-align: center;
}

.entry-content .has-text-align-right {
  text-align: right;
}

.entry-content .has-text-align-justify {
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 640px) {'''
    .container {
        padding: 0 0.75rem;
    }

    .hero-content {
        padding: 3rem 0;
    }

    .content-section {
        padding: 2rem 0;
    }
}


/* Additional CSS for mobile menu hamburger animation */
.mobile-menu-toggle {
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 5px 0;
    transition: 0.3s;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Form error styling */
.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Alert messages */
.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.share-button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button.facebook {
    background-color: #1877f2;
    color: white;
}

.share-button.facebook:hover {
    background-color: #166fe5;
    color: white;
}

.share-button.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-button.twitter:hover {
    background-color: #1a91da;
    color: white;
}

.share-button.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-button.linkedin:hover {
    background-color: #006ba1;
    color: white;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: #059669;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-to-top:hover {
    background-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Video embed responsive */
.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1.5rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

/* Audio player styling */
.audio-player {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

.pagination .page-numbers.dots {
    border: none;
    cursor: default;
}

.pagination .page-numbers.dots:hover {
    background-color: transparent;
    color: #374151;
}

/* Search results */
.search-result {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.result-thumbnail {
    flex-shrink: 0;
    width: 150px;
}

.result-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 0.375rem;
}

.result-content {
    flex: 1;
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: #1f2937;
    text-decoration: none;
}

.result-title a:hover {
    color: #059669;
}

.result-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.result-excerpt {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Related content sections */
.related-videos,
.related-podcasts {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.related-videos h3,
.related-podcasts h3 {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* Button size variants */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lazy loading images */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .mobile-menu-toggle,
    .back-to-top,
    .share-buttons {
        display: none;
    }

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

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }

    .btn-secondary {
        border: 2px solid #000;
        background-color: #fff;
        color: #000;
    }

    .card {
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .back-to-top:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #059669;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

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


/* Search form styling */
.search-form {
    max-width: 400px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    border: 1px solid #d1d5db;
    border-right: none;
    border-radius: 0.375rem 0 0 0.375rem;
    padding: 0.75rem;
    font-size: 1rem;
}

.search-field:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.search-submit {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid #059669;
    background-color: #059669;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background-color: #047857;
}

.search-submit svg {
    width: 20px;
    height: 20px;
}

/* Comments styling */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

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

.comment-list .comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border-left: 4px solid #059669;
}

.comment-list .children {
    margin-top: 1rem;
    margin-left: 2rem;
    list-style: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.comment-metadata {
    flex: 1;
}

.comment-metadata .fn {
    font-weight: 600;
    color: #1f2937;
    font-style: normal;
}

.comment-metadata a {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
}

.comment-metadata a:hover {
    color: #059669;
}

.comment-content {
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 1rem;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation {
    color: #d97706;
    font-style: italic;
    margin-bottom: 1rem;
}

.reply a {
    color: #059669;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.reply a:hover {
    color: #047857;
}

/* Comment form */
.comment-respond {
    margin-top: 2rem;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-reply-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.required {
    color: #ef4444;
}

.comment-form .form-input,
.comment-form .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form .form-input:focus,
.comment-form .form-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-submit {
    margin-top: 1rem;
}

.no-comments {
    color: #6b7280;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Comment pagination */
.comment-navigation {
    margin: 2rem 0;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-navigation a {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background-color: #059669;
    color: white;
}

/* Entry meta styling */
.entry-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.tags-links {
    color: #6b7280;
    font-size: 0.875rem;
}

.tags-links a {
    color: #059669;
    text-decoration: none;
    margin-left: 0.25rem;
}

.tags-links a:hover {
    color: #047857;
    text-decoration: underline;
}

.edit-link {
    margin-top: 1rem;
}

.edit-link a {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
}

.edit-link a:hover {
    color: #059669;
}

/* Post thumbnail */
.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Page links (for multi-page posts) */
.page-links {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    background-color: white;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background-color: #059669;
    border-color: #059669;
    color: white;
}

.page-links .current {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    background-color: #059669;
    color: white;
    border-radius: 0.375rem;
}


/* Social Share Icons */
.social-share-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.share-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-right: 0.25rem;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-icon.facebook {
    color: #1877f2;
    background-color: rgba(24, 119, 242, 0.1);
}

.share-icon.facebook:hover {
    background-color: #1877f2;
    color: white;
}

.share-icon.twitter {
    color: #1da1f2;
    background-color: rgba(29, 161, 242, 0.1);
}

.share-icon.twitter:hover {
    background-color: #1da1f2;
    color: white;
}

.share-icon.linkedin {
    color: #0077b5;
    background-color: rgba(0, 119, 181, 0.1);
}

.share-icon.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.share-icon.copy-link {
    color: #059669;
    background-color: rgba(5, 150, 105, 0.1);
}

.share-icon.copy-link:hover {
    background-color: #059669;
    color: white;
}

/* Card improvements */
.card-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-content {
    padding: 1.5rem;
    background-color: white;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;
    gap: 1rem;
}

.post-date,
.video-duration,
.podcast-date,
.podcast-duration {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Podcast card improvements */
.podcast-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.podcast-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.podcast-image-container {
    flex-shrink: 0;
}

.podcast-image {
    width: 6rem;
    height: 6rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

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

.podcast-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.podcast-description {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.podcast-meta .social-share-icons {
    margin-top: 0;
}

/* Grid improvements */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .podcast-card {
        flex-direction: column;
        text-align: center;
    }

    .podcast-image {
        width: 5rem;
        height: 5rem;
        margin: 0 auto;
    }

    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .social-share-icons {
        align-self: stretch;
        justify-content: center;
    }
}

/* Section spacing improvements */
.news-section,
.video-section,
.podcast-section,
.about-section,
.contact-section {
    padding-bottom: 3rem;
}

.news-section {
    background-color: white;
}

.video-section {
    background-color: #f9fafb;
}

.podcast-section {
    background-color: #f3f4f6;
}

.about-section {
    background-color: white;
}

.contact-section {
    background-color: #ecfdf5;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.6;
}


/* Header and Navigation Improvements */
.site-header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #059669;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: #047857;
}

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

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

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #059669;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #059669;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
    width: 100%;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #059669;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
    width: 100%;
}

/* Content Layout with Sidebar */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 355px;
    gap: 3rem;
    margin-top: 2rem;
}

.main-content {
    min-width: 0;
}

.sidebar {
    background-color: transparent;
    border-radius: 0;
    padding-bottom: 2rem;
    padding-left:2rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

/* Front page layout (no sidebar) */
.front-page .content-layout {
    grid-template-columns: 1fr;
}

/* Widget Styling - Consistent White Cards */
.widget {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.widget:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #059669;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #34d399;
}

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

.widget li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.widget a:hover {
    color: #059669;
}

/* Search Widget */
.widget_search .search-form {
    max-width: none;
    position: relative;
}

.widget_search .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.widget_search .search-field:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.widget_search .search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #059669;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

.widget_search .search-submit:hover {
    background-color: #047857;
}

/* Recent Posts Widget */
.widget_recent_entries ul li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget_recent_entries .post-date {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
}

/* Categories Widget */
.widget_categories ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_categories .post-count {
    background-color: #059669;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    min-width: 1.5rem;
    text-align: center;
    line-height: 1;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    background-color: #e5e7eb;
    color: #374151;
    padding: 0.375rem 0.75rem;
    border-radius: 1.5rem;
    font-size: 0.75rem !important;
    font-weight: 500;
    border: 1px solid transparent;
}

.widget_tag_cloud .tagcloud a:hover {
    background-color: #059669;
    color: white;
}

/* Archive Widget */
.widget_archive select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: white;
    font-size: 0.875rem;
}

.widget_archive select:focus {
    outline: none;
    border-color: #059669;
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.widget_calendar th,
.widget_calendar td {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    font-size: 0.875rem;
}

.widget_calendar th {
    background-color: #059669;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.widget_calendar td {
    background-color: white;
}

.widget_calendar td:hover {
    background-color: #f7fee7;
}

.widget_calendar a {
    color: #059669;
    font-weight: 600;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0.25rem;
}

.widget_calendar a:hover {
    background-color: #059669;
    color: white;
    border-radius: 0.25rem;
}

/* Custom Widget Enhancements */
.widget .widget-content {
    line-height: 1.6;
}

.widget .widget-content p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.widget .widget-content p:last-child {
    margin-bottom: 0;
}

/* Full Width Layout */
.content-layout.full-width {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.content-layout.full-width .main-content {
    max-width: none;
}

/* Responsive Design for Widgets */
@media (max-width: 768px) {
    .widget {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 0.5rem;
    }

    .widget-title {
        font-size: 1rem;
    }

    .widget_tag_cloud .tagcloud a {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem;
    }

    .widget_calendar th,
    .widget_calendar td {
        padding: 0.375rem;
        font-size: 0.75rem;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        border-radius: 0 0 0.5rem 0.5rem;
    }
	
	.sidebar {
		display: none;
	}

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #e5e7eb;
        padding: 0.75rem 0;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-content {
        position: relative;
    }

    .sidebar {
        padding: 1.5rem;
    }

    .content-layout {
        gap: 1.5rem;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}

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

/* Hero Section Improvements */
.hero-section {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

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

    .hero-description {
        font-size: 1.125rem;
    }

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


/* About Page Styles */
.about-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #059669;
    padding-bottom: 0.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.initiatives-list {
    margin-top: 1.5rem;
}

.initiative-item {
    background-color: #f0fdf4;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #059669;
}

.initiative-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.involvement-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.involvement-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 2rem;
}

.involvement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.cta-section {
    background: white;
    color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* FAQ Page Styles */
.faq-intro {
    background-color: #f0fdf4;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 3rem;
    border-left: 4px solid #059669;
}

.faq-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #059669;
}

.faq-item {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #059669;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-contact {
    background: white;
    color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 3rem;
}

.faq-contact h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.contact-method {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.method-icon {
    margin-bottom: 1rem;
}

.method-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.contact-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
}

.contact-link:hover {
    text-decoration: underline;
}

.availability {
    font-size: 0.875rem;
    color: #6b7280;
    display: block;
    margin-top: 0.5rem;
}

.contact-address {
    font-style: normal;
    line-height: 1.6;
    color: #374151;
}

.contact-form-section {
    background-color: white;
    padding: 3rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 3rem 0;
}

.contact-form-section h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.resource-link {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefits-grid,
    .contact-methods,
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid,
    .contact-methods,
    .resources-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .about-hero-image {
        height: 200px;
    }

    .benefit-card,
    .contact-method,
    .resource-card {
        padding: 1.5rem;
    }

    .contact-form-section {
        padding: 2rem;
    }
}


/* Clickable Cards */
.clickable-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Social Share Section for Blog Posts */
.social-share-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border-left: 4px solid #059669;
}

.post-meta-footer {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.tags-links {
    color: #6b7280;
    font-size: 0.875rem;
}

.tags-links a {
    color: #059669;
    text-decoration: none;
    margin-right: 0.5rem;
}

.tags-links a:hover {
    text-decoration: underline;
}


/* Blog Section Styles - Single Card Layout */
.blog-section {
    margin-bottom: 40px;
}

.blog-section:last-child {
    margin-bottom: 0;
}

.blog-section-header {
    margin-bottom: 25px;
}

.blog-section-header h2 {
    font-size: 32px;
    color: #059669;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Single Category Card Container */
.category-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #34d399);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

/* Featured Article (Left Side) */
.featured-article {
    position: relative;
}

.featured-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.featured-content .article-date {
    color: #059669;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content .article-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
    color: #1f2937;
}

.featured-content .article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-content .article-title a:hover {
    color: #059669;
}

.featured-content .article-excerpt {
    color: #4b5563;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Small Posts Grid (Right Side) */
.small-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.small-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.small-post:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.small-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.small-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.small-post .article-date {
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.small-post .article-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.small-post .article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.small-post .article-title a:hover {
    color: #059669;
}

.small-post .article-excerpt {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* See All Posts Button */
.see-all-posts {
    text-align: right;
    margin-top: 20px;
}

.see-all-link {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.see-all-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #f97316, #ea580c);
}

/* Social Share Icons in Featured Articles */
.featured-content .social-share-icons {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

/* Responsive Design for Blog Layout */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-image {
        height: 220px;
    }

    .blog-section-header h2 {
        font-size: 28px;
    }

    .featured-content .article-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .category-card {
        padding: 20px;
    }

    .blog-grid {
        gap: 25px;
    }

    .small-posts-grid {
        gap: 15px;
    }

    .small-post {
        padding: 12px;
    }

    .small-post-image {
        width: 70px;
        height: 70px;
    }

    .featured-image {
        height: 200px;
    }

    .blog-section-header h2 {
        font-size: 24px;
    }

    .featured-content .article-title {
        font-size: 20px;
    }

    .see-all-posts {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .category-card {
        padding: 15px;
    }

    .blog-grid {
        gap: 20px;
    }

    .small-post {
        flex-direction: column;
        gap: 10px;
    }

    .small-post-image {
        width: 100%;
        height: 120px;
    }

    .featured-image {
        height: 180px;
    }

    .blog-section-header h2 {
        font-size: 22px;
    }

    .featured-content .article-title {
        font-size: 18px;
    }

    .small-post .article-title {
        font-size: 13px;
    }
}

