/*
Theme Name: MT Sinai MBCDG
Theme URI: http://localhost/sr
Author: Custom Theme
Author URI: http://localhost/sr
Description: Custom WordPress theme for MT Sinai Missionary Baptist Church
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mtsinaimbcdg
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif, Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    width: 100%;
}

/* Top Tagline */
.site-tagline {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.site-tagline h1 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 400;
    color: #8B4513;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Menu */
.main-navigation {
    background-color: #ffffff;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
}

.primary-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.primary-menu li {
    display: inline-block;
}

.primary-menu a {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #8B4513;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: #0047AB;
}

.primary-menu .current-menu-item a,
.primary-menu .current_page_item a {
    color: #0047AB;
}

/* Yellow Accent Bar */
.accent-bar {
    background-color: #FFD700;
    height: 8px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
}

.hero-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bible Verse Section */
.bible-verse {
    background-color: #2C3E50;
    padding: 40px 0;
    text-align: center;
}

.verse-text {
    font-size: 24px;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.verse-reference {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Main Content */
.site-content {
    padding: 0;
    min-height: 400px;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.welcome-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
    font-style: italic;
}

.welcome-description {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.welcome-cta {
    text-align: right;
}

.cta-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 56px;
    font-weight: 400;
    color: #000;
    font-style: italic;
    line-height: 1.2;
}

/* Four Boxes Section */
.four-boxes-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.boxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.box-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.box-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1);
}

.box-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 64px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.box-item:hover .box-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Service Times Section */
.service-times-section {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-image: url('http://localhost/sr/wp-content/uploads/2025/10/family-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.service-times-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.service-times-box {
    background-color: transparent;
    border: 3px solid #ffffff;
    padding: 50px 80px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-times-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 64px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 30px;
    font-style: italic;
}

.service-time {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    color: #ffffff;
    margin: 15px 0;
    font-weight: 400;
}

.service-address {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin-top: 30px;
    font-weight: 700;
    line-height: 1.5;
}

/* View Us LIVE Section */
.view-live-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.view-live-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-live-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.view-live-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* SOW and GROW Section */
.sow-grow-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.sow-grow-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.sow-grow-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sow-grow-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.sow-grow-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Footer Styles */
.site-footer {
    background-color: #f8f8f8;
    width: 100%;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Footer Left Column - Church Info */
.footer-info {
    padding-right: 40px;
}

.footer-title {
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.3;
}

.footer-address,
.footer-email {
    margin-bottom: 20px;
}

.footer-address p,
.footer-email p {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.footer-email a {
    color: #0066cc;
    text-decoration: none;
}

.footer-email a:hover {
    text-decoration: underline;
}

.footer-logo {
    margin: 30px 0;
}

.footer-logo img {
    max-width: 250px;
    height: auto;
}

.footer-social {
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #3b5998;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #2d4373;
}

/* Footer Right Column - Contact Form */
.footer-form {
    padding-left: 40px;
}

.form-title {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 25px;
}

.contact-form {
    width: 100%;
}

.dummy-contact-form .form-row {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.dummy-contact-form input[type="text"],
.dummy-contact-form input[type="email"],
.dummy-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.dummy-contact-form input[type="text"]:focus,
.dummy-contact-form input[type="email"]:focus,
.dummy-contact-form textarea:focus {
    outline: none;
    border-color: #999;
}

.dummy-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #000;
    color: #ffffff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
}

.submit-btn:hover {
    background-color: #333;
}

/* Contact Form 7 Styles in Footer */
.footer-form .wpcf7 {
    width: 100%;
}

.footer-form .wpcf7-form {
    width: 100%;
}

.footer-form .wpcf7-form p {
    margin-bottom: 15px;
}

/* Contact Form 7 Input Fields */
.footer-form .wpcf7-form input[type="text"],
.footer-form .wpcf7-form input[type="email"],
.footer-form .wpcf7-form input[type="tel"],
.footer-form .wpcf7-form input[type="url"],
.footer-form .wpcf7-form input[type="number"],
.footer-form .wpcf7-form input[type="date"],
.footer-form .wpcf7-form textarea,
.footer-form .wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.footer-form .wpcf7-form input[type="text"]:focus,
.footer-form .wpcf7-form input[type="email"]:focus,
.footer-form .wpcf7-form input[type="tel"]:focus,
.footer-form .wpcf7-form input[type="url"]:focus,
.footer-form .wpcf7-form input[type="number"]:focus,
.footer-form .wpcf7-form input[type="date"]:focus,
.footer-form .wpcf7-form textarea:focus,
.footer-form .wpcf7-form select:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.1);
}

.footer-form .wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Two Column Layout for First Name and Last Name */
.footer-form .wpcf7-form .form-row-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-form .wpcf7-form .form-row-two-columns p {
    margin-bottom: 0;
}

/* Contact Form 7 Submit Button */
.footer-form .wpcf7-form input[type="submit"],
.footer-form .wpcf7-form button[type="submit"] {
    background-color: #000;
    color: #ffffff;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    float: right;
    margin-top: 10px;
}

.footer-form .wpcf7-form input[type="submit"]:hover,
.footer-form .wpcf7-form button[type="submit"]:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.footer-form .wpcf7-form input[type="submit"]:active,
.footer-form .wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* Contact Form 7 Validation Messages */
.footer-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    font-family: 'Arial', sans-serif;
    margin-top: 5px;
    display: block;
}

.footer-form .wpcf7-form .wpcf7-not-valid {
    border-color: #dc3232 !important;
}

/* Contact Form 7 Response Messages */
.footer-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    clear: both;
}

.footer-form .wpcf7-mail-sent-ok {
    background-color: #46b450;
    color: #ffffff;
    border: 1px solid #46b450;
}

.footer-form .wpcf7-mail-sent-ng,
.footer-form .wpcf7-validation-errors,
.footer-form .wpcf7-spam-blocked {
    background-color: #fff5f5;
    color: #dc3232;
    border: 1px solid #dc3232;
}

/* Contact Form 7 Spinner */
.footer-form .wpcf7-spinner {
    margin-left: 10px;
    vertical-align: middle;
}

/* Placeholder Styles */
.footer-form .wpcf7-form input::placeholder,
.footer-form .wpcf7-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Required Field Asterisk */
.footer-form .wpcf7-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

/* Clear floats after submit button */
.footer-form .wpcf7-form::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments for Contact Form 7 */
@media (max-width: 768px) {
    .footer-form .wpcf7-form .form-row-two-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-form .wpcf7-form input[type="submit"],
    .footer-form .wpcf7-form button[type="submit"] {
        width: 100%;
        float: none;
    }
}

/* Footer Bottom */
.footer-bottom {
    background-color: #e8e8e8;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* About Us Section */
.about-us-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.about-us-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-us-text {
    padding-right: 40px;
}

.about-us-heading {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    font-style: italic;
    line-height: 1.2;
}

.about-us-divider {
    width: 150px;
    height: 3px;
    background-color: #000;
    margin-bottom: 40px;
}

.church-bio-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 48px;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.2;
}

.church-bio-description {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.church-bio-description p {
    margin-bottom: 25px;
    text-align: justify;
}

.church-bio-description p:last-child {
    margin-bottom: 0;
}

.about-us-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
    max-height: 100%;
}

.about-us-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Pastor's Bio Section */
.pastor-bio-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.pastor-bio-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.pastor-bio-text {
    padding-right: 40px;
}

.pastor-bio-heading {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 40px;
    font-style: italic;
    line-height: 1.2;
}

.pastor-bio-description {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.pastor-bio-description p {
    margin-bottom: 25px;
    text-align: justify;
}

.pastor-bio-description p:last-child {
    margin-bottom: 0;
}

.pastor-bio-image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-height: 100%;
}

.pastor-bio-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Service Times Info Section */
.service-times-info-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.service-times-info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-times-info-text {
    padding-right: 40px;
}

.service-times-info-heading {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 40px;
    font-style: italic;
    line-height: 1.2;
}

.service-times-info-details {
    font-family: 'Arial', sans-serif;
}

.service-time-item {
    font-size: 24px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 15px;
    font-weight: 400;
}

.service-address-info {
    margin-top: 40px;
}

.service-address-info p {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    font-weight: 700;
}

.service-times-info-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-times-info-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

/* View Us LIVE Section (About Page) */
.view-live-section-about {
    padding: 60px 0;
    background-color: #ffffff;
}

.view-live-section-about .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.view-live-section-about .view-live-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.view-live-section-about .view-live-link:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.view-live-section-about .view-live-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-tagline h1 {
        font-size: 20px;
        letter-spacing: 1px;
    }

    .primary-menu {
        flex-direction: column;
        gap: 20px;
    }

    .primary-menu a {
        font-size: 16px;
    }

    .verse-text {
        font-size: 18px;
    }

    .verse-reference {
        font-size: 16px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-title {
        font-size: 48px;
    }

    .welcome-description {
        font-size: 16px;
        text-align: left;
    }

    .cta-title {
        font-size: 40px;
        text-align: center;
    }

    .welcome-cta {
        text-align: center;
    }

    .boxes-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .box-item {
        aspect-ratio: 16 / 9;
    }

    .box-title {
        font-size: 48px;
    }

    .service-times-section {
        min-height: 350px;
        padding: 60px 0;
    }

    .service-times-box {
        padding: 30px 40px;
    }

    .service-times-title {
        font-size: 48px;
    }

    .service-time {
        font-size: 20px;
    }

    .service-address {
        font-size: 18px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-info,
    .footer-form {
        padding: 0;
    }

    .footer-title {
        font-size: 24px;
    }

    .dummy-contact-form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .submit-btn {
        width: 100%;
        float: none;
    }

    .about-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-us-text {
        padding-right: 0;
    }

    .about-us-heading {
        font-size: 48px;
    }

    .church-bio-title {
        font-size: 36px;
    }

    .church-bio-description {
        font-size: 16px;
    }

    .about-us-image {
        padding-top: 20px;
    }

    .about-us-image img {
        max-width: 300px;
    }

    .pastor-bio-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pastor-bio-text {
        padding-right: 0;
    }

    .pastor-bio-heading {
        font-size: 48px;
    }

    .pastor-bio-description {
        font-size: 16px;
    }

    .pastor-bio-image img {
        max-width: 350px;
    }

    .service-times-info-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-times-info-text {
        padding-right: 0;
    }

    .service-times-info-heading {
        font-size: 48px;
    }

    .service-time-item {
        font-size: 20px;
    }

    .service-address-info p {
        font-size: 18px;
    }

    .service-times-info-image img {
        max-width: 100%;
    }
}

/* Donate Page Styles */
.donate-page {
    padding: 80px 0;
    background-color: #ffffff;
    min-height: 600px;
}

.donate-section {
    text-align: center;
}

.donate-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.donate-title {
    font-family: 'Brush Script MT', cursive, 'Lucida Handwriting', 'Comic Sans MS', cursive;
    font-size: 72px;
    font-weight: 400;
    color: #000;
    margin-bottom: 50px;
    font-style: italic;
    line-height: 1.2;
}

.donate-content {
    background-color: #ffffff;
}

.donate-intro {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.donate-intro strong {
    font-weight: 700;
}

.cash-app-info {
    margin: 40px 0;
}

.cash-app-info p {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    color: #000;
    font-weight: 400;
}

.cash-app-info strong {
    font-weight: 700;
}

.donate-button-wrapper {
    margin-top: 50px;
}

.donate-button {
    display: inline-block;
    background-color: #4169E1;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 50px;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.donate-button:hover {
    background-color: #365BBD;
    transform: translateY(-2px);
}

.donate-button:active {
    transform: translateY(0);
}

/* Responsive Design for Donate Page */
@media (max-width: 768px) {
    .donate-page {
        padding: 60px 0;
    }

    .donate-section .container {
        padding: 0 20px;
    }

    .donate-title {
        font-size: 48px;
        margin-bottom: 40px;
    }

    .donate-intro {
        font-size: 16px;
        text-align: left;
    }

    .cash-app-info p {
        font-size: 18px;
    }

    .donate-button {
        font-size: 16px;
        padding: 16px 40px;
        width: 100%;
        max-width: 350px;
    }
}

/* Sow and Grow Section on Donate Page */
.sow-grow-donate-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.sow-grow-donate-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.sow-grow-donate-link {
    display: block;
    width: 100%;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.sow-grow-donate-link:hover {
    transform: scale(1.02);
    opacity: 0.95;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sow-grow-donate-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design for Sow and Grow Section */
@media (max-width: 768px) {
    .sow-grow-donate-section {
        padding: 40px 0 60px;
    }

    .sow-grow-donate-section .container {
        padding: 0 20px;
    }

    .sow-grow-donate-link:hover {
        transform: scale(1.01);
    }
}

/* ==========================================================================
   WooCommerce Styles
   ========================================================================== */

/* WooCommerce Main Content */
.woocommerce-content {
    padding: 60px 0;
    background-color: #ffffff;
}

.woocommerce-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
}

.woocommerce-message {
    background-color: #f0f8ff;
    border-left: 4px solid #4169E1;
    color: #333;
}

.woocommerce-error {
    background-color: #fff5f5;
    border-left: 4px solid #e74c3c;
    color: #333;
}

.woocommerce-info {
    background-color: #fffbf0;
    border-left: 4px solid #FFD700;
    color: #333;
}

/* Shop Page - Product Grid */
.woocommerce ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.woocommerce ul.products li.product {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: #8B4513;
    margin: 15px 0 10px;
}

.woocommerce ul.products li.product .price {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

.woocommerce ul.products li.product .price del {
    opacity: 0.5;
    margin-right: 5px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #4169E1;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #4169E1;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: #365BBD;
    transform: translateY(-2px);
}

/* Single Product Page */
.woocommerce div.product {
    margin-bottom: 40px;
}

.woocommerce div.product .product_title {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 600;
    color: #8B4513;
    margin: 20px 0;
}

.woocommerce div.product p.price {
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 20px 0;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
    color: #4169E1;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 20px 0;
}

.woocommerce div.product form.cart {
    margin: 30px 0;
}

.woocommerce div.product form.cart .quantity {
    display: inline-block;
    margin-right: 10px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 70px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
    padding: 15px 40px;
    font-size: 16px;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0 20px 0 0;
    padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #4169E1;
    border-bottom-color: #4169E1;
}

.woocommerce div.product .woocommerce-tabs .panel {
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* Cart Page */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.woocommerce table.shop_table th {
    background-color: #f8f8f8;
    font-weight: 700;
    color: #333;
}

.woocommerce table.shop_table td.product-name a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #4169E1;
}

.woocommerce table.shop_table input.qty {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* Cart Totals */
.woocommerce-cart .cart-collaterals {
    margin-top: 40px;
}

.woocommerce .cart-collaterals .cart_totals {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals table {
    margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout {
    text-align: center;
}

.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout a {
    display: block;
    padding: 15px 40px;
    font-size: 18px;
}

/* Checkout Page */
.woocommerce-checkout .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
}

.woocommerce form.checkout {
    font-family: 'Arial', sans-serif;
}

.woocommerce form.checkout h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: #8B4513;
    margin: 30px 0 20px;
}

.woocommerce form.checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce form.checkout .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.woocommerce form.checkout .form-row input.input-text,
.woocommerce form.checkout .form-row textarea,
.woocommerce form.checkout .form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.woocommerce form.checkout .form-row input.input-text:focus,
.woocommerce form.checkout .form-row textarea:focus,
.woocommerce form.checkout .form-row select:focus {
    outline: none;
    border-color: #4169E1;
}

/* Order Review */
.woocommerce-checkout-review-order {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.woocommerce-checkout-review-order-table {
    margin-bottom: 20px;
}

/* Sidebar Widgets */
.woocommerce aside.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.woocommerce aside.widget .widget-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 15px;
}

.woocommerce aside.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce aside.widget ul li {
    margin-bottom: 10px;
}

.woocommerce aside.widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce aside.widget ul li a:hover {
    color: #4169E1;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.woocommerce nav.woocommerce-pagination ul li {
    display: inline-block;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: block;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #4169E1;
    color: #ffffff;
    border-color: #4169E1;
}

/* Sale Badge */
.woocommerce span.onsale {
    background-color: #e74c3c;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

/* Product Categories */
.woocommerce .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce .product-categories li {
    margin-bottom: 10px;
}

.woocommerce .product-categories li a {
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.woocommerce .product-categories li a:hover {
    color: #4169E1;
}

/* Responsive WooCommerce Styles */
@media (max-width: 992px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .woocommerce div.product .product_title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .woocommerce-content {
        padding: 40px 0;
    }

    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce ul.products li.product {
        padding: 15px;
    }

    .woocommerce div.product .product_title {
        font-size: 24px;
    }

    .woocommerce div.product p.price {
        font-size: 22px;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        margin: 0;
    }

    .woocommerce table.shop_table {
        font-size: 14px;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 10px;
    }

    .woocommerce .cart-collaterals .cart_totals {
        max-width: 100%;
        padding: 20px;
    }

    .woocommerce form.checkout h3 {
        font-size: 20px;
    }
}

/* ==========================================================================
   Elementor Styles
   ========================================================================== */

/* Elementor Full Width Page */
.elementor-full-width {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Elementor Canvas Template */
body.elementor-canvas {
    margin: 0;
    padding: 0;
}

/* Elementor Page with Header & Footer */
.elementor-page {
    padding: 0;
    background-color: #ffffff;
}

/* Elementor Sections */
.elementor-section {
    position: relative;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1400px;
    margin: 0 auto;
}

.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

/* Elementor Containers */
.elementor-container {
    width: 100%;
    padding: 0 20px;
}

/* Elementor Widgets */
.elementor-widget-wrap {
    position: relative;
}

/* Elementor Headings */
.elementor-heading-title {
    font-family: 'Cinzel', serif;
    color: #8B4513;
    margin: 0;
    padding: 0;
}

.elementor-heading-title.elementor-size-default {
    font-size: 36px;
    line-height: 1.2;
}

.elementor-heading-title.elementor-size-small {
    font-size: 24px;
}

.elementor-heading-title.elementor-size-medium {
    font-size: 36px;
}

.elementor-heading-title.elementor-size-large {
    font-size: 48px;
}

.elementor-heading-title.elementor-size-xl {
    font-size: 60px;
}

.elementor-heading-title.elementor-size-xxl {
    font-size: 72px;
}

/* Elementor Text Editor */
.elementor-widget-text-editor {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.elementor-widget-text-editor p {
    margin-bottom: 15px;
}

.elementor-widget-text-editor a {
    color: #4169E1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.elementor-widget-text-editor a:hover {
    color: #365BBD;
}

/* Elementor Buttons */
.elementor-button-wrapper .elementor-button {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.elementor-button-wrapper .elementor-button.elementor-size-xs {
    padding: 10px 20px;
    font-size: 12px;
}

.elementor-button-wrapper .elementor-button.elementor-size-sm {
    padding: 12px 25px;
    font-size: 14px;
}

.elementor-button-wrapper .elementor-button.elementor-size-md {
    padding: 15px 35px;
    font-size: 16px;
}

.elementor-button-wrapper .elementor-button.elementor-size-lg {
    padding: 18px 45px;
    font-size: 18px;
}

.elementor-button-wrapper .elementor-button.elementor-size-xl {
    padding: 20px 55px;
    font-size: 20px;
}

/* Default button colors matching theme */
.elementor-button-wrapper .elementor-button:not(.elementor-button-success):not(.elementor-button-danger):not(.elementor-button-warning):not(.elementor-button-info) {
    background-color: #4169E1;
    color: #ffffff;
}

.elementor-button-wrapper .elementor-button:not(.elementor-button-success):not(.elementor-button-danger):not(.elementor-button-warning):not(.elementor-button-info):hover {
    background-color: #365BBD;
    transform: translateY(-2px);
}

/* Elementor Images */
.elementor-widget-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.elementor-widget-image.elementor-image-shape-rounded img {
    border-radius: 8px;
}

.elementor-widget-image.elementor-image-shape-circle img {
    border-radius: 50%;
}

/* Elementor Icon Box */
.elementor-icon-box-wrapper {
    text-align: center;
}

.elementor-icon-box-icon {
    margin-bottom: 20px;
}

.elementor-icon-box-icon i {
    color: #4169E1;
    font-size: 48px;
}

.elementor-icon-box-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 600;
    color: #8B4513;
    margin: 15px 0;
}

.elementor-icon-box-description {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Elementor Divider */
.elementor-divider {
    padding: 20px 0;
}

.elementor-divider-separator {
    border-top: 2px solid #e0e0e0;
}

/* Elementor Spacer */
.elementor-spacer {
    background: transparent;
}

/* Elementor Video Widget */
.elementor-widget-video {
    position: relative;
}

.elementor-widget-video iframe,
.elementor-widget-video video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Elementor Google Maps */
.elementor-widget-google_maps iframe {
    width: 100%;
    border-radius: 8px;
}

/* Elementor Testimonial */
.elementor-testimonial-wrapper {
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 8px;
}

.elementor-testimonial-content {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.elementor-testimonial-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 5px;
}

.elementor-testimonial-job {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #666;
}

/* Elementor Progress Bar */
.elementor-progress-wrapper {
    margin-bottom: 20px;
}

.elementor-progress-bar {
    background-color: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
}

.elementor-progress-bar-inner {
    background-color: #4169E1;
    height: 20px;
    border-radius: 20px;
    transition: width 1.5s ease;
}

.elementor-title {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

/* Elementor Tabs */
.elementor-tabs {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.elementor-tabs-wrapper {
    border-bottom: 2px solid #e0e0e0;
    display: flex;
}

.elementor-tab-title {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    padding: 15px 25px;
    cursor: pointer;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
}

.elementor-tab-title.elementor-active {
    color: #4169E1;
    border-bottom: 3px solid #4169E1;
}

.elementor-tab-content {
    padding: 25px;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* Elementor Accordion */
.elementor-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.elementor-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.elementor-accordion-item:last-child {
    border-bottom: none;
}

.elementor-tab-title {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.elementor-tab-title:hover,
.elementor-tab-title.elementor-active {
    background-color: #4169E1;
    color: #ffffff;
}

.elementor-tab-content {
    padding: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* Elementor Counter */
.elementor-counter-wrapper {
    text-align: center;
}

.elementor-counter-number-wrapper {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 700;
    color: #4169E1;
    margin-bottom: 10px;
}

.elementor-counter-title {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Elementor Social Icons */
.elementor-social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #4169E1;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.elementor-social-icon:hover {
    background-color: #365BBD;
    transform: translateY(-3px);
}

.elementor-social-icon i {
    font-size: 20px;
}

/* Elementor Form */
.elementor-form .elementor-field-group {
    margin-bottom: 20px;
}

.elementor-form .elementor-field-group label {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.elementor-form .elementor-field-textual {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.elementor-form .elementor-field-textual:focus {
    outline: none;
    border-color: #4169E1;
}

.elementor-form .elementor-button {
    background-color: #4169E1;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.elementor-form .elementor-button:hover {
    background-color: #365BBD;
}

/* Elementor Responsive Settings */
@media (max-width: 1024px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .elementor-heading-title.elementor-size-xxl {
        font-size: 48px;
    }

    .elementor-heading-title.elementor-size-xl {
        font-size: 42px;
    }

    .elementor-heading-title.elementor-size-large {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .elementor-container {
        padding: 0 15px;
    }

    .elementor-heading-title.elementor-size-xxl {
        font-size: 36px;
    }

    .elementor-heading-title.elementor-size-xl {
        font-size: 32px;
    }

    .elementor-heading-title.elementor-size-large {
        font-size: 28px;
    }

    .elementor-heading-title.elementor-size-medium {
        font-size: 24px;
    }

    .elementor-button-wrapper .elementor-button {
        width: 100%;
        text-align: center;
    }

    .elementor-tabs-wrapper {
        flex-direction: column;
    }

    .elementor-social-icons-wrapper {
        flex-wrap: wrap;
    }

    .elementor-counter-number-wrapper {
        font-size: 36px;
    }
}

/* Elementor Editor Improvements */
.elementor-editor-active .elementor-element-overlay {
    border: 2px dashed #4169E1;
}

/* Make sure Elementor sections work well with theme */
.elementor-section-wrap {
    width: 100%;
}

/* Elementor compatibility with theme header and footer */
body.elementor-page-with-header-footer header.site-header {
    position: relative;
    z-index: 999;
}

body.elementor-page-with-header-footer footer.site-footer {
    position: relative;
    z-index: 999;
}

/* ==========================================================================
   Blog Styles
   ========================================================================== */

/* Blog Header Section */
.blog-header-section {
    background: linear-gradient(135deg, #8B4513 0%, #0047AB 100%);
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 60px;
}

.blog-page-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.archive-description {
    color: #ffffff;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Blog Posts Grid */
.blog-posts-section {
    padding: 40px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-date {
    color: #666;
}

.blog-category {
    background-color: #FFD700;
    color: #333;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.blog-card-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-title a {
    color: #8B4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #0047AB;
}

.blog-card-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-block;
    color: #0047AB;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.blog-read-more:hover {
    color: #8B4513;
}

/* Blog Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 60px;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    background-color: #ffffff;
    color: #8B4513;
    text-decoration: none;
    border: 2px solid #8B4513;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background-color: #8B4513;
    color: #ffffff;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-found h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    color: #8B4513;
    margin-bottom: 20px;
}

.no-posts-found p {
    font-size: 18px;
    color: #666;
}

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.single-post {
    background: #ffffff;
}

/* Single Post Header */
.single-post-header {
    background: linear-gradient(135deg, #8B4513 0%, #0047AB 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.single-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ffffff;
    flex-wrap: wrap;
}

.single-post-meta span {
    position: relative;
}

.single-post-meta span:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    opacity: 0.5;
}

.single-post-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    color: #ffffff;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: 1px;
}

/* Single Post Featured Image */
.single-post-featured-image {
    margin: 60px 0;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Single Post Content */
.single-post-content {
    padding: 40px 0 80px;
}

.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 18px;
    color: #333;
}

.post-content-wrapper p {
    margin-bottom: 25px;
}

.post-content-wrapper h2,
.post-content-wrapper h3,
.post-content-wrapper h4 {
    font-family: 'Cinzel', serif;
    color: #8B4513;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.post-content-wrapper h2 {
    font-size: 32px;
}

.post-content-wrapper h3 {
    font-size: 26px;
}

.post-content-wrapper h4 {
    font-size: 22px;
}

.post-content-wrapper ul,
.post-content-wrapper ol {
    margin: 25px 0;
    padding-left: 40px;
}

.post-content-wrapper li {
    margin-bottom: 10px;
}

.post-content-wrapper blockquote {
    border-left: 4px solid #FFD700;
    padding: 20px 30px;
    margin: 30px 0;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

.post-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Post Tags */
.post-tags {
    max-width: 800px;
    margin: 40px auto;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.tags-label {
    font-weight: 600;
    color: #8B4513;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    padding: 6px 14px;
    margin: 5px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.post-tags a:hover {
    background-color: #FFD700;
}

/* Post Navigation */
.post-navigation {
    max-width: 800px;
    margin: 60px auto 40px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation a {
    display: block;
    padding: 20px;
    background-color: #f9f9f9;
    color: #8B4513;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.post-navigation a:hover {
    background-color: #8B4513;
    color: #ffffff;
    transform: translateY(-2px);
}

.post-navigation .nav-next {
    text-align: right;
}

/* Comments Section */
.comments-area {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.comments-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 30px;
}

/* ==========================================================================
   Responsive Blog Styles
   ========================================================================== */

@media (max-width: 768px) {
    .blog-page-title,
    .single-post-title {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-card-title {
        font-size: 22px;
    }

    .post-content-wrapper {
        font-size: 16px;
    }

    .single-post-meta {
        font-size: 13px;
        gap: 10px;
    }

    .single-post-meta span:not(:last-child)::after {
        margin-left: 10px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .blog-header-section,
    .single-post-header {
        padding: 50px 0 40px;
    }
}

/* ==========================================================================
   MailPoet Newsletter Form Styles
   ========================================================================== */

/* Newsletter Section */
.mailpoet-newsletter-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    margin-top: 40px;
}

.mailpoet-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* MailPoet Form Title/Header */
.mailpoet-form-wrapper h2,
.mailpoet-form-wrapper h3,
.mailpoet_form h2,
.mailpoet_form h3 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #8B4513;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.mailpoet-form-wrapper p.mailpoet_paragraph,
.mailpoet_form p.mailpoet_paragraph {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* MailPoet Form Fields Container */
.mailpoet_form {
    width: 100% !important;
}

.mailpoet_form form {
    width: 100% !important;
}

/* Form Fields Wrapper */
.mailpoet_form_fields {
    margin-bottom: 20px;
    width: 100% !important;
}

/* Ensure form columns are full width */
.mailpoet_form_column {
    width: 100% !important;
}

/* Override inline styles */
.mailpoet_form .mailpoet_paragraph[style] {
    width: 100% !important;
}

.mailpoet_form input[style],
.mailpoet_form textarea[style],
.mailpoet_form select[style] {
    width: 100% !important;
}

/* Individual Field Paragraphs */
.mailpoet_paragraph {
    margin-bottom: 20px;
    width: 100% !important;
}

.mailpoet_paragraph.last {
    margin-bottom: 0;
}

/* Fix for MailPoet field width */
.mailpoet_form .mailpoet_paragraph:not(.mailpoet_form_submit) {
    width: 100% !important;
}

.mailpoet_form .mailpoet_paragraph .mailpoet_segment_label,
.mailpoet_form .mailpoet_paragraph input,
.mailpoet_form .mailpoet_paragraph textarea,
.mailpoet_form .mailpoet_paragraph select {
    width: 100% !important;
    display: block !important;
}

/* Field Labels */
.mailpoet_form label {
    display: block;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* All Input Fields - Focus on Email Field Styling */
.mailpoet_form input[type="text"],
.mailpoet_form input[type="email"],
.mailpoet_form input[type="tel"],
.mailpoet_form input[type="url"],
.mailpoet_form select,
.mailpoet_form textarea,
.mailpoet_text,
.mailpoet_text input,
input.mailpoet_text,
.mailpoet_email,
.mailpoet_email input,
input.mailpoet_email {
    width: 100% !important;
    padding: 15px 20px !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    color: #333 !important;
    background-color: #ffffff !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
}

/* Email Field Specific Styling - Enhanced */
.mailpoet_form input[type="email"],
.mailpoet_text,
.mailpoet_text input,
input.mailpoet_text {
    padding: 16px 22px !important;
    font-size: 17px !important;
    border: 2px solid #c0c0c0 !important;
    border-radius: 8px !important;
    background-color: #fafafa !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    min-height: 50px !important;
    line-height: 1.5 !important;
}

/* Input Field Focus State */
.mailpoet_form input[type="text"]:focus,
.mailpoet_form input[type="email"]:focus,
.mailpoet_form input[type="tel"]:focus,
.mailpoet_form input[type="url"]:focus,
.mailpoet_form select:focus,
.mailpoet_form textarea:focus,
.mailpoet_text input:focus,
input.mailpoet_text:focus,
.mailpoet_email input:focus,
input.mailpoet_email:focus {
    outline: none !important;
    border-color: #4169E1 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1), 0 4px 8px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1px) !important;
}

/* Placeholder Styling */
.mailpoet_form input::placeholder,
.mailpoet_form textarea::placeholder {
    color: #999;
    font-style: italic;
    opacity: 0.8;
}

/* Textarea Specific */
.mailpoet_form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select Dropdown */
.mailpoet_form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Required Field Asterisk */
.mailpoet_form .mailpoet_required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Hide validation icons inline */
.mailpoet_validate_success:before,
.mailpoet_validate_error:before,
.parsley-success:before,
.parsley-error:before {
    display: none !important;
}

/* Remove inline icons from MailPoet */
.mailpoet_form .mailpoet_paragraph input[type="email"] + span,
.mailpoet_form .mailpoet_paragraph input[type="text"] + span {
    display: none !important;
}

/* Submit Button */
.mailpoet_form input[type="submit"],
.mailpoet_form button[type="submit"],
.mailpoet_submit,
.mailpoet_submit input,
input.mailpoet_submit,
button.mailpoet_submit {
    background-color: #4169E1 !important;
    color: #ffffff !important;
    font-family: 'Arial', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 16px 50px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    max-width: 300px !important;
    display: block !important;
    margin: 30px auto 0 !important;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3) !important;
}

.mailpoet_form input[type="submit"]:hover,
.mailpoet_form button[type="submit"]:hover,
.mailpoet_submit:hover {
    background-color: #365BBD;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.4);
}

.mailpoet_form input[type="submit"]:active,
.mailpoet_form button[type="submit"]:active,
.mailpoet_submit:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(65, 105, 225, 0.3);
}

/* Validation Messages */
.mailpoet_validate_error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    font-family: 'Arial', sans-serif;
    display: block;
}

.mailpoet_form .mailpoet_error {
    border-color: #e74c3c !important;
    background-color: #fff5f5 !important;
}

/* Success Message */
.mailpoet_validate_success {
    color: #46b450;
    font-size: 14px;
    padding: 15px;
    background-color: #f0f9f1;
    border: 2px solid #46b450;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Error Message */
.mailpoet_validate_error_message {
    color: #e74c3c;
    font-size: 14px;
    padding: 15px;
    background-color: #fff5f5;
    border: 2px solid #e74c3c;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Checkbox and Radio Inputs */
.mailpoet_form input[type="checkbox"],
.mailpoet_form input[type="radio"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.mailpoet_form .mailpoet_checkbox_label,
.mailpoet_form .mailpoet_radio_label {
    display: inline;
    font-weight: normal;
    cursor: pointer;
}

/* Form Row for Multiple Fields */
.mailpoet_form_row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mailpoet_form_row .mailpoet_paragraph {
    flex: 1;
    margin-bottom: 0;
}

/* Loading State */
.mailpoet_form.mailpoet_form_loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Spinner */
.mailpoet_spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4169E1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: mailpoet_spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes mailpoet_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* GDPR Checkbox */
.mailpoet_form .mailpoet_gdpr_checkbox {
    margin: 20px 0;
}

.mailpoet_form .mailpoet_gdpr_checkbox label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.6;
}

.mailpoet_form .mailpoet_gdpr_checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

/* Responsive Styles for MailPoet Form */
@media (max-width: 768px) {
    .mailpoet-newsletter-section {
        padding: 40px 0;
    }

    .mailpoet-form-wrapper {
        padding: 30px 20px;
    }

    .mailpoet-form-wrapper h2,
    .mailpoet-form-wrapper h3,
    .mailpoet_form h2,
    .mailpoet_form h3 {
        font-size: 26px;
    }

    .mailpoet_form input[type="text"],
    .mailpoet_form input[type="email"],
    .mailpoet_form input[type="tel"],
    .mailpoet_form input[type="url"],
    .mailpoet_form select,
    .mailpoet_form textarea {
        padding: 14px 18px;
        font-size: 15px;
    }

    .mailpoet_form input[type="email"] {
        padding: 15px 20px;
        font-size: 16px;
    }

    .mailpoet_form input[type="submit"],
    .mailpoet_form button[type="submit"],
    .mailpoet_submit {
        width: 100%;
        max-width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }

    .mailpoet_form_row {
        flex-direction: column;
        gap: 0;
    }

    .mailpoet_form_row .mailpoet_paragraph {
        margin-bottom: 20px;
    }
}
