/*
Theme Name: Leytonstone Church
Theme URI: https://wordpress.org/themes/leytonstone-church
Author: Your Name
Author URI: https://yourwebsite.com
Description: A beautiful, modern WordPress theme designed for churches, featuring a clean layout with colors inspired by the Seventh-day Adventist Church logo. Perfect for displaying sermons, events, ministries, and church information.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leytonstone-church
Tags: church, religion, blog, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ============================================
   CSS Variables - Logo Colors
   ============================================ */
:root {
    --primary-green: #2d5016;      /* Deep green from logo */
    --primary-gold: #d4af37;        /* Golden yellow from logo */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --text-color: #333333;
    --link-color: #2d5016;
    --link-hover: #d4af37;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   Header Styles
   ============================================ */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.site-logo img,
.site-branding img,
.site-branding .custom-logo-link img {
    max-height: 40px !important;
    max-width: 40px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.custom-logo-link {
    display: inline-block;
}

.custom-logo-link img {
    max-height: 40px !important;
    max-width: 40px !important;
    width: auto !important;
    height: auto !important;
}

.site-title {
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

.site-title a {
    color: var(--primary-green);
}

.site-description {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

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

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    width: 100%;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.main-navigation a:hover {
    color: var(--primary-green);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu Styles */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    list-style: none;
    display: block;
    flex-direction: column;
    gap: 0;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li.focus > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    border-bottom: 1px solid var(--light-gray);
    text-align: left;
}

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

.main-navigation .sub-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-green);
}

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

/* Dropdown arrow indicator */
.main-navigation .menu-item-has-children > a::before {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.main-navigation .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.menu-toggle:hover {
    background: var(--primary-gold);
}

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

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   Main Content Area
   ============================================ */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.front-page.site-main {
    max-width: 100%;
    padding: 0;
}

/* Full-width page layout (matching homepage style) */
.full-width-page {
    max-width: 100%;
    padding: 0;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.full-width-page .page-container {
    padding: 3rem 2rem;
}

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ============================================
   Posts & Pages
   ============================================ */
.post, .page {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.entry-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.entry-title {
    margin-bottom: 0.5rem;
}

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

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

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.entry-content {
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.entry-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.9rem;
    color: #666;
}

/* ============================================
   Buttons
   ============================================ */
.button, .wp-block-button__link, input[type="submit"] {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button:hover, .wp-block-button__link:hover, input[type="submit"]:hover {
    background-color: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

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

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
    color: var(--primary-green);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

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

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

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

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

.footer-column {
    color: var(--white);
}

.footer-title {
    color: var(--primary-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.service-times-footer p,
.contact-info-footer p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-times-footer strong,
.contact-info-footer strong {
    color: var(--primary-gold);
    font-weight: 600;
}

.contact-info-footer address {
    font-style: normal;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.contact-info-footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-footer a:hover {
    color: var(--primary-gold);
}

/* Social Media Section */
.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-tagline {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: lowercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
}

.social-facebook .social-icon {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
}

.social-youtube .social-icon {
    font-size: 1rem;
}

.social-instagram .social-icon {
    font-size: 1.2rem;
    filter: grayscale(100%) brightness(0) invert(1);
}

.social-twitter .social-icon {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.site-info p {
    margin: 0;
}

/* ============================================
   Featured Images
   ============================================ */
.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.comment-list {
    list-style: none;
    margin-bottom: 2rem;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--light-gray);
    border-radius: 4px;
}

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

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .site-branding {
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: block;
        width: 100%;
        margin-top: 1rem;
    }

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

    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-top: 1rem;
        padding: 0;
        justify-content: flex-start;
    }

    .main-navigation ul.toggled {
        display: flex;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

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

    .main-navigation a {
        padding: 1rem;
        display: block;
        text-align: left;
    }

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

    /* Mobile dropdown styles */
    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0;
        padding: 0;
        display: none;
        width: 100%;
    }

    .main-navigation .sub-menu.open,
    .main-navigation li.sub-menu-open > .sub-menu {
        display: block;
    }

    .main-navigation .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .main-navigation .sub-menu a {
        padding-left: 2rem;
        font-size: 0.9rem;
    }

    .main-navigation .menu-item-has-children > a::before {
        float: right;
        margin-left: 0;
        margin-right: 0.5rem;
    }

    .content-area {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-main {
        padding: 1rem;
    }

    .full-width-page .page-container {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-social {
        padding: 1.5rem 0;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1rem;
    }
}

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

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* ============================================
   WordPress Core Styles
   ============================================ */
.alignleft {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1rem;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

.sticky {
    border-left: 4px solid var(--primary-gold);
    padding-left: 1rem;
}

/* ============================================
   Front Page Styles
   ============================================ */
.front-page {
    padding: 0;
    max-width: 100%;
}

.front-page .hero-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-gold);
}

/* Hero Section */
.hero-section {
    width: 100%;
    color: var(--white);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 80, 22, 0.4); /* Semi-transparent green overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-weight: 300;
}

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

.button-primary {
    background-color: var(--primary-gold);
    color: var(--white);
}

.button-primary:hover {
    background-color: #b8941f;
    color: var(--white);
}

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

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

.button-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.button-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

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

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

/* Welcome Section */
.welcome-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.welcome-text p {
    margin-bottom: 1.5rem;
}

/* Service Times Section */
.service-times-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.service-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-time-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-time-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.service-description {
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Featured Section */
.featured-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
}

/* Bible Study Icon - Cross (Unicode) */
.feature-icon-bible::before {
    content: '✝';
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1;
    display: block;
}

/* Family Ministries Icon - People (Unicode) */
.feature-icon-family::before {
    content: '👥';
    filter: grayscale(100%) brightness(0) invert(1);
    font-size: 2.5rem;
    line-height: 1;
    display: block;
}

/* Music & Worship Icon - Music Note (Unicode) */
.feature-icon-music::before {
    content: '♪';
    color: var(--white);
    font-size: 3rem;
    line-height: 1;
    display: block;
}

/* Community Outreach Icon - Heart (Unicode) */
.feature-icon-community::before {
    content: '❤';
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1;
    display: block;
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Recent Posts Section */
.recent-posts-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.post-card-thumbnail {
    overflow: hidden;
    height: 200px;
}

.post-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    margin-bottom: 0.5rem;
}

.post-card-title a {
    color: var(--primary-green);
    font-size: 1.3rem;
}

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

.post-card-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-card-excerpt {
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a0d 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.95;
}

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

.cta-section .button {
    border-color: var(--white);
}

.cta-section .button-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-section .button-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* Responsive Styles for Front Page */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 5rem 1rem;
    }

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

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

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

    .section-container {
        padding: 0 1rem;
    }

    .hero-section {
        padding: 5rem 1rem;
    }

    .welcome-section,
    .service-times-section,
    .featured-section,
    .recent-posts-section,
    .cta-section {
        padding: 3rem 0;
    }

    .service-times-grid,
    .features-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .button,
    .cta-buttons .button {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Location Section
   ============================================ */
.location-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.location-info {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.location-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.location-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.location-info address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.location-actions {
    margin-top: 1.5rem;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   About Page Styles
   ============================================ */
.about-page .about-sections {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.about-section {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.about-section h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.values-list {
    list-style: none;
    padding-left: 0;
}

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

.values-list li:last-child {
    border-bottom: none;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.church-address {
    font-style: normal;
    line-height: 1.8;
    margin: 1rem 0;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-page .contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-section h2,
.contact-form-section h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-gold);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info-item address {
    font-style: normal;
    line-height: 1.8;
}

.contact-info-item a {
    color: var(--link-color);
}

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

.contact-map {
    margin-top: 2rem;
}

/* Contact Form Styles */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group .required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.form-message.form-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.form-message.form-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

/* ============================================
   Streaming Pages Styles
   ============================================ */
.streaming-page .streaming-content,
.previous-streams-page .streams-content {
    margin-top: 2rem;
}

.live-stream-container {
    max-width: 1000px;
    margin: 0 auto;
}

.stream-note {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-style: italic;
    color: #666;
}

.youtube-embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.youtube-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.embed-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.stream-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.stream-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-schedule {
    list-style: none;
    padding-left: 0;
}

.service-schedule li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.service-schedule li:last-child {
    border-bottom: none;
}

.stream-actions {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Previous Streams Grid */
.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stream-item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stream-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.stream-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-info {
    padding: 1.5rem;
}

.stream-info h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stream-date {
    color: #666;
    font-size: 0.9rem;
}

.streams-note {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 4px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-gold);
}

.streams-note p {
    margin: 0;
    color: #666;
}

.streams-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.pagination-info {
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.streams-error,
.streams-empty {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-gold);
}

.streams-error p,
.streams-empty p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.streams-error code {
    display: block;
    background: var(--white);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    color: var(--primary-green);
}

/* ============================================
   Giving Page Styles
   ============================================ */
.giving-page .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.giving-intro {
    margin-bottom: 3rem;
}

.giving-main-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.giving-message {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.giving-scripture {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    margin: 2rem 0;
    text-align: center;
}

.giving-scripture em {
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: italic;
    display: block;
    margin-bottom: 1rem;
}

.giving-scripture strong {
    color: var(--primary-green);
    font-size: 0.95rem;
}

.giving-details {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
}

.giving-details h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.giving-option .giving-details {
    margin: 2rem 0 0;
    padding: 0;
    border: none;
}

.giving-instructions {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.bank-details-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bank-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1rem;
    min-width: 150px;
}

.bank-value {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.bank-code {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--primary-green);
    font-weight: 600;
}

.giving-note {
    background: #fff9e6;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    margin-top: 2rem;
}

.giving-note p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.giving-note a {
    color: var(--primary-green);
    font-weight: 600;
}

.giving-note a:hover {
    color: var(--primary-gold);
}

.giving-options {
    margin: 3rem 0;
}

.giving-option {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.giving-option:last-of-type {
    border-bottom: none;
}

.giving-option h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.giving-option p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.giving-envelopes {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gray);
}

.giving-envelopes h2 {
    color: var(--primary-green);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.giving-envelopes p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.treasurer-contact {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-gold);
}

.treasurer-contact p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-color);
}

.treasurer-contact strong {
    color: var(--primary-green);
}

.giving-alternatives {
    margin: 3rem 0;
}

.giving-alternatives h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.giving-alternatives p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.giving-actions {
    margin-top: 2rem;
}

.giving-disclaimer {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #fff9e6;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.giving-disclaimer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
}

.giving-disclaimer strong {
    color: var(--primary-green);
}

.giving-thanks {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a0d 100%);
    border-radius: 8px;
    text-align: center;
}

.thanks-message {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* Responsive Styles for New Pages */
@media (max-width: 768px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-content {
        grid-template-columns: 1fr;
    }

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

    .youtube-embed-container {
        padding-bottom: 75%; /* Taller on mobile */
    }

    .stream-actions {
        flex-direction: column;
    }

    .stream-actions .button {
        width: 100%;
    }

    .bank-detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .bank-label {
        min-width: auto;
    }

    .bank-value {
        text-align: left;
        width: 100%;
    }

    .bank-details-card {
        padding: 1.5rem;
    }
}

/* ============================================
   Department Page Styles
   ============================================ */
.department-header {
    width: 100%;
    position: relative;
    margin-bottom: 3rem;
}

.department-header-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.department-featured-image,
.department-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.department-placeholder-image {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.department-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 3rem 2rem;
}

.department-header-content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.department-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.department-page {
    max-width: 900px;
    margin: 0 auto;
}

.department-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.department-intro strong {
    color: var(--primary-green);
}

/* Team Section */
.department-team-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
}

.department-team-section h2 {
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-align: center;
}

/* Team Image with Text Wrapping */
.department-team-image-wrap {
    float: left;
    margin: 0 2rem 1.5rem 0;
    max-width: 350px;
    width: 100%;
}

.team-image-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.team-placeholder {
    width: 100%;
    min-height: 300px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Department page title from ACF */
.department-page-title {
    clear: both;
    margin-bottom: 2rem;
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

/* Ensure headings in WordPress content don't wrap around image */
.department-page .entry-content h1,
.department-page .entry-content h2,
.department-page .entry-content h3,
.department-page .entry-content h4,
.department-page .entry-content h5,
.department-page .entry-content h6 {
    clear: both !important;
    margin-top: 2rem;
}

/* First heading should have no top margin */
.department-page .entry-content > h1:first-child,
.department-page .entry-content > h2:first-child,
.department-page .entry-content > h3:first-child {
    margin-top: 0;
}

/* Clear float after content wraps around image */
.department-page .entry-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive: Stack image above text on mobile */
@media (max-width: 768px) {
    .department-team-image-wrap {
        float: none;
        max-width: 100%;
        margin: 0 0 2rem 0;
        width: 100%;
    }
    
    .team-placeholder {
        min-height: 250px;
    }
}

.team-placeholder .placeholder-content {
    text-align: center;
    color: var(--text-color);
}

.team-placeholder .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.team-placeholder p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Activities Section */
.department-activities {
    margin: 2rem 0;
}

/* Allow What We Do heading and content to wrap around image */
.department-page .entry-content .department-activities h2 {
    clear: none !important;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.activities-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.activities-content p {
    margin-bottom: 1.5rem;
}

/* Get Involved Section */
.department-involvement {
    clear: both;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gray);
}

.department-involvement h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.involvement-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.involvement-content p {
    margin-bottom: 1.5rem;
}

.contact-info-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.contact-info-box h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info-box a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-box a:hover {
    color: var(--primary-gold);
}

/* Ensure buttons inside contact-info-box maintain their styling */
.contact-info-box .button {
    color: var(--white) !important;
    background-color: var(--primary-green);
}

.contact-info-box .button:hover {
    color: var(--white) !important;
    background-color: var(--primary-gold);
}

.involvement-actions {
    margin-top: 1.5rem;
}

/* Responsive Styles for Department Pages */
@media (max-width: 768px) {
    .department-header-image {
        height: 300px;
    }

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

    .department-header-overlay {
        padding: 2rem 1rem;
    }

    .team-placeholder {
        height: 250px;
    }

    .contact-info-box {
        padding: 1.5rem;
    }
}

/* ============================================
   Pastors Page Styles
   ============================================ */
.pastors-page .entry-content {
    max-width: 1200px;
    margin: 0 auto;
}

.pastors-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pastors-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 3rem 0;
}

.pastor-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.pastor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pastor-image-container {
    width: 300px;
    min-width: 300px;
    height: auto;
    overflow: hidden;
    background: var(--light-gray);
    position: relative;
    flex-shrink: 0;
}

.pastor-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.pastor-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #1a3a0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pastor-image-placeholder .placeholder-content {
    text-align: center;
    color: var(--white);
}

.pastor-image-placeholder .placeholder-icon {
    font-size: 5rem;
    opacity: 0.7;
}

.pastor-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pastor-name {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pastor-title {
    color: var(--primary-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pastor-bio {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pastor-bio p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pastor-bio p:last-child {
    margin-bottom: 0;
}

.pastor-contact {
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

.pastor-contact p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.pastor-contact a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.pastor-contact a:hover {
    color: var(--primary-gold);
}

.pastors-contact-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}

.pastors-contact-section h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.pastors-contact-section p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pastors-contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles for Pastors Page */
@media (max-width: 768px) {
    .pastors-grid {
        gap: 2rem;
    }

    .pastor-card {
        flex-direction: column;
    }

    .pastor-image-container {
        width: 100%;
        min-width: 100%;
        height: 300px;
    }

    .pastor-image,
    .pastor-image-placeholder {
        min-height: 300px;
        height: 300px;
    }

    .pastor-info {
        padding: 1.5rem;
    }

    .pastors-contact-section {
        padding: 2rem 1.5rem;
    }

    .pastors-contact-actions {
        flex-direction: column;
    }

    .pastors-contact-actions .button {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Single Post Page Styles
   ============================================ */
.single-post-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 0;
}

.single-post-page .post-thumbnail {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-page .post-featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.single-post-page .entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.single-post-page .entry-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.single-post-page .entry-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
}

.single-post-page .entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-post-page .entry-meta a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.single-post-page .entry-meta a:hover {
    color: var(--primary-gold);
}

.single-post-page .entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 2rem 0;
}

.single-post-page .entry-content p {
    margin-bottom: 1.5rem;
}

.single-post-page .entry-content h2 {
    color: var(--primary-green);
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-page .entry-content h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.single-post-page .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-post-page .entry-content ul,
.single-post-page .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.single-post-page .entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.single-post-page .entry-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    font-size: 0.95rem;
    color: #666;
}

.single-post-page .tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.single-post-page .tags-links a {
    background: var(--light-gray);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.single-post-page .tags-links a:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--light-gray);
    border-bottom: 2px solid var(--light-gray);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
    background: var(--primary-green);
    color: var(--white);
}

.post-navigation .nav-previous:hover a,
.post-navigation .nav-next:hover a {
    color: var(--white);
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.post-navigation .nav-title {
    display: block;
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
}

.post-navigation .nav-previous:hover .nav-subtitle,
.post-navigation .nav-next:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.post-navigation .nav-previous:hover .nav-title,
.post-navigation .nav-next:hover .nav-title {
    color: var(--white);
}

.post-navigation a {
    text-decoration: none;
}

/* Responsive Styles for Single Post */
@media (max-width: 768px) {
    .single-post-page .entry-title {
        font-size: 2rem;
    }

    .single-post-page .entry-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .post-navigation .nav-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

