﻿/* ========================================
   CSS Variables & Reset
   ======================================== */


:root {
    /* Colors - Dark Mode (Default) */
    --primary-color: #203731;
    --primary-dark: #152622;
    --secondary-color: #d4af37;
    --secondary-light: #eac756;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --link-color: #2b6cb0;
    --link-hover: #2c5282;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Brand Colors */
    --venmo-blue: #008CFF;
    --paypal-blue: #003087;

    /* Typography */
    --font-serif: 'Crimson Text', serif;
    --font-sans: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Layout */
    --max-width: 1200px;
    --sidebar-width: 320px;
    --border-radius: 8px;
    --border-radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    background-image: url('orthodox-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--link-hover);
}

/* ========================================
   Splash Screen
   ======================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splashFadeIn 0.5s ease-out;
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.splash-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    box-shadow:
        0 0 30px rgba(212, 175, 55, 0.6),
        0 0 60px rgba(212, 175, 55, 0.4),
        0 0 90px rgba(212, 175, 55, 0.2);
    margin: 0 auto var(--spacing-md);
    animation: splashGlow 1.5s ease-in-out infinite;
}

@keyframes splashGlow {

    0%,
    100% {
        box-shadow:
            0 0 30px rgba(212, 175, 55, 0.6),
            0 0 60px rgba(212, 175, 55, 0.4),
            0 0 90px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow:
            0 0 40px rgba(212, 175, 55, 0.8),
            0 0 80px rgba(212, 175, 55, 0.6),
            0 0 120px rgba(212, 175, 55, 0.4);
    }
}

.splash-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.splash-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    color: var(--white);
    margin-bottom: -60px;
    z-index: 10;
    /* Increased to be above main content (z-index 2) */
    overflow: hidden;
    background: transparent;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.video-background video.video-loaded {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Dark overlay for readability */
    z-index: 1;
}

/* Incense Smoke Effect */
.incense-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.smoke {
    position: absolute;
    bottom: -50px;
    width: 80px;
    height: 80px;
    background: radial-gradient(ellipse at center,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    animation: smokeRise 8s ease-out infinite;
}

.smoke-1 {
    left: 15%;
    animation-delay: 0s;
}

.smoke-2 {
    left: 35%;
    animation-delay: 1.5s;
}

.smoke-3 {
    left: 50%;
    animation-delay: 3s;
}

.smoke-4 {
    left: 65%;
    animation-delay: 4.5s;
}

.smoke-5 {
    left: 85%;
    animation-delay: 6s;
}

@keyframes smokeRise {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-500px) scale(2.5) rotate(45deg);
        opacity: 0;
    }
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.main-navigation {
    width: 100%;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(32, 55, 49, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: var(--spacing-lg);
    padding: 0;
    margin: 0;
}

.main-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
    border: none;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    box-shadow:
        0 0 20px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2),
        0 0 60px rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    animation: haloGlow 3s ease-in-out infinite;
}

@keyframes haloGlow {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(212, 175, 55, 0.4),
            0 0 40px rgba(212, 175, 55, 0.2),
            0 0 60px rgba(212, 175, 55, 0.1);
    }

    50% {
        box-shadow:
            0 0 30px rgba(212, 175, 55, 0.6),
            0 0 50px rgba(212, 175, 55, 0.4),
            0 0 80px rgba(212, 175, 55, 0.2);
    }
}

.icon-image:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.7),
        0 0 60px rgba(212, 175, 55, 0.5),
        0 0 100px rgba(212, 175, 55, 0.3);
    animation: none;
}

.site-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        0 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg,
            var(--white) 0%,
            var(--white) 40%,
            #f4e4a6 50%,
            var(--white) 60%,
            var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.site-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--spacing-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Main Content Area (Glassmorphism)
   ======================================== */
.main-content .container {
    background-color: rgba(255, 255, 255, 0.85);
    /* More transparent */
    backdrop-filter: blur(12px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
    min-height: 80vh;
    padding: var(--spacing-2xl) var(--spacing-xl);
    margin: 0 auto;
    width: 90%;
    max-width: 1100px;
    border-radius: var(--border-radius-lg);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.4);
    /* Subtle border */
    margin-top: 4rem;
    /* Fix: Global push to avoid header overlap */
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

@media (max-width: 900px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.primary-content {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* ========================================
   Content Sections
   ======================================== */
section {
    margin-bottom: var(--spacing-xl);
    position: relative;
    /* For dividers */
}

section:last-child {
    margin-bottom: 0;
}

/* Ornamental Divider */
section:not(:last-child)::after {
    content: "†";
    /* Cross symbol */
    display: block;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: var(--spacing-xl);
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--border-color);
    font-weight: 600;
}

/* Drop Cap - Illuminated Initial Style */
/* Drop Cap - Illuminated Initial Style */
.welcome-section {
    position: relative;
    z-index: 5;
    /* Ensure it sits above background elements if needed */
}

.welcome-text::first-letter {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 700;
    color: var(--secondary-color);
    float: left;
    line-height: 0.85;
    margin-right: 15px;
    margin-top: 0;
    margin-bottom: 5px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(32, 55, 49, 0.95), rgba(21, 38, 34, 0.98));
    border: 3px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(212, 175, 55, 0.4);
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-section p,
.resources-section p {
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Schedule Section
   ======================================== */
.schedule-day {
    background: rgba(255, 255, 255, 0.6);
    /* Glassmorphism */
    backdrop-filter: blur(5px);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.schedule-day:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.schedule-day:last-child {
    margin-bottom: 0;
}

.schedule-day h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-list li:last-child {
    border-bottom: none;
}

.time {
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 80px;
}

/* ========================================
   Contact Section
   ======================================== */
.priest-info {
    background: rgba(255, 255, 255, 0.6);
    /* Glassmorphism */
    backdrop-filter: blur(5px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
}

.priest-info p {
    margin-bottom: var(--spacing-sm);
}

.button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: var(--spacing-sm);
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.button:hover {
    background: transparent;
    color: var(--primary-color);
}

/* ========================================
   Sidebar & Widgets
   ======================================== */
.sidebar {
    align-self: start;
}

.widget {
    background: rgba(255, 255, 255, 0.7);
    /* Glassmorphism */
    backdrop-filter: blur(5px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
    border: 1px solid var(--border-color);
}

.widget-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--secondary-light);
}

.search-form {
    display: flex;
    gap: var(--spacing-xs);
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    background: rgba(255, 255, 255, 0.8);
}

.search-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    background: var(--primary-dark);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.site-footer .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    background: transparent;
    box-shadow: none;
    min-height: auto;
    padding: 0 var(--spacing-md);
    align-items: start;
    border: none;
    backdrop-filter: none;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    grid-column: 1 / -1;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.designed-by {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.designed-by:hover {
    color: var(--white);
    transform: translateX(4px);
}

.designed-by a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.designed-by a:hover {
    color: var(--white);
}


/* ========================================
   Animations & Micro-interactions
   ======================================== */

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Button Hover Effects */
.button,
.search-button,
.donation-button,
.link-button,
.contact-card,
.blog-post,
.schedule-day {
    transition: var(--transition);
}

.button:hover,
.search-button:hover,
.donation-button:hover,
.link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Nav Link Underline Animation */
.main-navigation a {
    position: relative;
    overflow: hidden;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .site-footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .site-footer .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================================
   Mobile Navigation
   ======================================== */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    cursor: pointer;
    padding: 0;
    z-index: 2002;
    /* Above menu items */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Menu Active State (Hamburger Animation) */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .main-navigation {
        padding: 0;
        z-index: 2000;
        /* Ensure nav wrapper is above overlay */
    }

    .main-navigation ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: rgba(32, 55, 49, 0.98);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 2001;
        /* Items above wrapper */
        /* Above overlay (998) */
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }


    .main-navigation li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .main-navigation a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        border-radius: 0;
    }

    .main-navigation a:hover,
    .main-navigation a.active {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    /* Fix to ensure menu stays above content when open */
    body.menu-open .main-content {
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}




.lead-text {
    font-size: 1.3rem;
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.donation-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .donation-options-grid {
        grid-template-columns: 1fr;
    }
}

.donation-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Venmo Card Styling */
.venmo-card {
    border-top: 5px solid var(--venmo-blue);
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
}

.venmo-card:hover {
    box-shadow: 0 10px 25px rgba(0, 140, 255, 0.15);
}

/* PayPal Card Styling */
.paypal-card {
    border-top: 5px solid var(--paypal-blue);
    background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
}

.paypal-card:hover {
    box-shadow: 0 10px 25px rgba(0, 48, 135, 0.15);
}

/* Check Card Styling */
.check-card {
    border-top: 5px solid var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #f4f7f6 100%);
}

.check-card:hover {
    box-shadow: 0 10px 25px rgba(32, 55, 49, 0.15);
}

.donation-icon {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    transition: var(--transition);
}

.donation-card:hover .donation-icon {
    transform: scale(1.1);
}

.payment-logo {
    max-height: 70px;
    max-width: 100%;
}

.check-card svg {
    color: var(--primary-color);
    width: 70px;
    height: 70px;
}

.donation-card h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
    font-weight: 700;
}

.donation-card p {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--text-color);
}

.donate-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    max-width: 200px;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.venmo-btn {
    background: linear-gradient(135deg, #008CFF 0%, #0074d4 100%);
    color: white;
    border: none;
}

.venmo-btn:hover {
    background: linear-gradient(135deg, #0099ff 0%, #008CFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 140, 255, 0.3);
}

.paypal-btn {
    background: linear-gradient(135deg, #003087 0%, #001c64 100%);
    color: white;
    border: none;
}

.paypal-btn:hover {
    background: linear-gradient(135deg, #0044aa 0%, #003087 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 48, 135, 0.3);
}

.check-card address {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: var(--spacing-xs);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.full-width {
    grid-column: 1 / -1;
}

/* ========================================
   Contact Form Styles
   ======================================== */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.contact-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-sans);
}

.required {
    color: #e53e3e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.submit-button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background: var(--primary-color);
    color: white;
    margin-top: var(--spacing-sm);
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Contact Page Info Cards - Premium Design
   ======================================== */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Animated gradient top border */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Subtle glow effect on hover */
.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(32, 55, 49, 0.15),
        0 10px 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.contact-card:hover::after {
    opacity: 1;
}

/* Icon container with gradient background */
.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(32, 55, 49, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(32, 55, 49, 0.4);
}

/* Card headings */
.contact-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Address styling */
.contact-card address {
    font-style: normal;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Phone link */
.phone-link {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.phone-link:hover {
    color: var(--secondary-color);
}

/* Map links container */
.map-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.map-link:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.map-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Contact card paragraphs */
.contact-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-card p a {
    color: var(--link-color);
    font-weight: 500;
}

.contact-card p a:hover {
    color: var(--secondary-color);
}

/* Responsive: Tablet - 2 columns with centered third */
@media (max-width: 900px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .info-cards-grid .contact-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }
}

/* Responsive: Mobile - single column */
@media (max-width: 600px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-cards-grid .contact-card:last-child {
        max-width: none;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
    }

    .contact-icon svg {
        width: 28px;
        height: 28px;
    }

    .map-links {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   Share Section Styles
   ======================================== */
.share-section {
    text-align: center;
    padding: 2rem 0;
}

.share-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.share-button.facebook {
    background: #1877f2;
    color: white;
}

.share-button.facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.share-button.twitter {
    background: #14171a;
    color: white;
}

.share-button.twitter:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .share-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .share-button {
        width: 200px;
        justify-content: center;
    }
}

/* ========================================
   Blog Post Styles
   ======================================== */
.blog-post {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.entry-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--secondary-light);
}

.entry-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.entry-meta svg {
    color: var(--secondary-color);
}

.entry-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

/* Video Container - Responsive */
.video-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: var(--spacing-lg) auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.video-credit {
    text-align: center;
    color: var(--text-light);
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
}

/* Creed Text Blockquote */
.creed-text {
    background: linear-gradient(135deg, rgba(32, 55, 49, 0.05), rgba(212, 175, 55, 0.05));
    border-left: 4px solid var(--secondary-color);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.9;
}

.creed-text p {
    margin-bottom: var(--spacing-md);
}

.creed-text p:last-child {
    margin-bottom: 0;
}

.creed-text strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .blog-post {
        padding: var(--spacing-md);
    }

    .entry-title {
        font-size: 1.5rem;
    }

    .creed-text {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
}

/* ========================================
   Audio Player Styles
   ======================================== */
.audio-container {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    box-shadow: var(--shadow-lg);
}

.audio-player-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.audio-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.audio-info h4 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin: 0 0 4px 0;
}

.audio-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.audio-container audio {
    width: 100%;
    height: 50px;
    border-radius: 25px;
}

/* Style webkit audio player */
.audio-container audio::-webkit-media-controls-panel {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .audio-player-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Header Background Image (replaces inline style)
   ======================================== */
.header-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* ========================================
   Contact Page Styles (replaces inline styles)
   ======================================== */
.contact-lead-text {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-section {
    margin: 0 auto;
    width: 100%;
}

.contact-form-section .section-subtitle {
    margin-top: 0;
}

/* ========================================
   Calendar Iframe Styles
   ======================================== */
.calendar-embed iframe {
    border: 0;
}

/* ========================================
   Links Page - Icon Styles
   ======================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.additional-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px dashed var(--secondary-color);
}

/* ========================================
   PDF Embed Styles
   ======================================== */
.pdf-embed-container {
    position: relative;
    width: 100%;
    height: 800px;
    /* Base height */
    min-height: 80vh;
    /* Better on large screens */
    margin: var(--spacing-lg) 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    background: #fdfaf0;
    /* Light parchment color */
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    /* Ensure inner iframe fills correctly */
}

.pdf-embed-container iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pdf-embed-container {
        height: 600px;
        min-height: 60vh;
    }
}

/* Featured Post with Parchment Background */
.document-featured {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(212, 175, 55, 0.1) 100%) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.document-featured .entry-header {
    border-bottom-color: var(--secondary-color);
}

.pdf-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    margin: var(--spacing-md) auto 0;
    width: fit-content;
    box-shadow: var(--shadow-md);
}

.pdf-action-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.action-icon {
    display: flex;
    align-items: center;
}

.link-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-sm);
}

.link-card-header h3 {
    margin: 0;
}

.link-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.link-card:hover .link-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(32, 55, 49, 0.25);
}

.link-icon svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   Cascading Sticky Widgets
   ======================================== */

/* Container for cascading effect */
.cascading-container {
    position: relative;
    padding-bottom: 300px;
    /* Space for last widget to scroll like others */
    perspective: 1000px;
    /* 3D perspective for card stack effect */
}

/* Base sticky widget styles */
.sticky-widget {
    position: sticky;
    margin-bottom: 0;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Cascading positions - widgets stack with 3D effect */
.sticky-widget[data-order="1"] {
    top: 80px;
    z-index: 101;
    /* LOWEST - Quote behind */
    margin-bottom: var(--spacing-lg);
    transform: translateZ(-20px) scale(0.94);
    /* Widest - no extra margins */
}

.sticky-widget[data-order="2"] {
    top: 130px;
    z-index: 102;
    /* Middle */
    margin-bottom: var(--spacing-lg);
    transform: translateZ(-10px) scale(0.97);
    margin-left: 10px;
    margin-right: 10px;
}

.sticky-widget[data-order="3"] {
    top: 180px;
    z-index: 103;
    /* HIGHEST - Feasts on top */
    transform: translateZ(0px) scale(1);
    margin-left: 20px;
    margin-right: 20px;
}

/* 3D depth shadows for stacked effect */
.sticky-widget[data-order="1"] .widget-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    opacity: 0.92;
}

.sticky-widget[data-order="2"] .widget-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0.96;
}

.sticky-widget[data-order="3"] .widget-card {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

/* Widget Card - shared styling */
.widget-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.12),
        0 -2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.15),
        0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Widget Title */
.widget-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md) 0;
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--secondary-color);
    text-align: center;
}

/* Widget Footer */
.widget-footer {
    text-align: center;
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.widget-footer a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.widget-footer a:hover {
    color: var(--secondary-color);
}

/* ========================================
   Quote Widget Specific Styles
   ======================================== */
.quote-widget .widget-card {
    background: linear-gradient(135deg, rgba(32, 55, 49, 0.95) 0%, rgba(21, 38, 34, 0.98) 100%);
    border: 1px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.quote-widget .widget-card::before {
    content: "†";
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    color: rgba(212, 175, 55, 0.08);
    font-family: var(--font-serif);
    pointer-events: none;
}

.quote-widget .widget-title {
    color: var(--secondary-color);
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.quote-content {
    text-align: center;
    padding: var(--spacing-sm) 0;
}

.quote-content blockquote {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.quote-content blockquote p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    position: relative;
}

.quote-content blockquote p::before {
    content: '"';
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
    top: -10px;
    left: -5px;
    font-family: Georgia, serif;
}

.quote-content blockquote p::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
    bottom: -20px;
    right: -5px;
    font-family: Georgia, serif;
}

.quote-content cite {
    display: block;
    margin-top: var(--spacing-md);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

/* ========================================
   Calendar Widget Specific Styles
   ======================================== */
.calendar-widget .widget-card {
    padding: 0;
    overflow: hidden;
}

.calendar-card {
    width: 100%;
}

.calendar-header {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-serif);
    color: var(--white);
}

.calendar-date {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 4px;
}

.calendar-content {
    padding: var(--spacing-md);
}

.calendar-fast {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.fast-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
}

.calendar-readings h4,
.calendar-saints h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--secondary-light);
    display: inline-block;
    padding-bottom: 2px;
}

.calendar-readings ul,
.calendar-saints ul {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
}

.calendar-readings li,
.calendar-saints li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.4;
    color: var(--text-color);
}

.calendar-readings a {
    color: var(--link-color);
    text-decoration: none;
}

.calendar-readings a:hover {
    text-decoration: underline;
}

.calendar-footer {
    background: rgba(255, 255, 255, 0.5);
    padding: var(--spacing-xs) var(--spacing-md);
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid var(--border-color);
}

.calendar-footer a {
    color: var(--text-light);
    text-decoration: none;
}

/* ========================================
   Feasts Widget Specific Styles
   ======================================== */
.feasts-widget .widget-card {
    padding: 0;
    overflow: hidden;
}

.feasts-widget .widget-title {
    background: var(--primary-color);
    color: var(--white);
    margin: 0;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: none;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.feasts-list {
    list-style: none;
    padding: var(--spacing-md);
    margin: 0;
}

.feast-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    gap: var(--spacing-sm);
}

.feast-item:last-child {
    border-bottom: none;
}

.feast-date {
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 55px;
    font-size: 0.9rem;
}

.feast-name {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ========================================
   Responsive - Disable Sticky on Mobile
   ======================================== */
@media (max-width: 968px) {
    .cascading-container {
        position: static;
    }

    .sticky-widget {
        position: static !important;
        margin-top: 0 !important;
        margin-bottom: var(--spacing-lg);
    }

    .sticky-widget[data-order="1"],
    .sticky-widget[data-order="2"],
    .sticky-widget[data-order="3"] {
        z-index: auto;
    }
}

@media (max-width: 768px) {
    .quote-content blockquote p {
        font-size: 1rem;
    }

    .quote-content blockquote p::before,
    .quote-content blockquote p::after {
        font-size: 2rem;
    }
}

/* ========================================
   Mobile UX Improvements
   ======================================== */

/* 1. Touch-Friendly Tap Targets (min 44x44px) */
@media (max-width: 768px) {

    /* Navigation links */
    .main-navigation a {
        min-height: 44px;
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* All buttons */
    .button,
    .donate-btn,
    .map-link,
    .share-button,
    .submit-button,
    .search-button {
        min-height: 48px;
        padding: 14px 24px;
    }

    /* Footer links */
    .footer-links a {
        min-height: 44px;
        padding: 10px 0;
        display: inline-flex;
        align-items: center;
    }

    /* Schedule list items */
    .schedule-list li {
        min-height: 44px;
        padding: 12px 0;
    }

    /* Feast items */
    .feast-item {
        min-height: 44px;
        padding: 12px 0;
    }

    /* Card headers with icons */
    .link-card-header {
        min-height: 44px;
    }
}

/* 2. Better Spacing on Mobile */
@media (max-width: 768px) {

    /* Section spacing */
    section {
        margin-bottom: var(--spacing-xl);
    }

    /* Main content padding */
    .main-content .container {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    /* Widget cards */
    .widget-card {
        padding: var(--spacing-md);
    }

    /* Cards spacing */
    .donation-card,
    .contact-card {
        padding: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    /* Schedule days */
    .schedule-day {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    /* Header spacing */
    .site-header {
        padding: 120px 0 60px;
    }

    /* Site title */
    .site-title {
        font-size: 1.8rem;
        padding: 0 var(--spacing-sm);
    }

    .site-subtitle {
        font-size: 0.9rem;
    }

    /* Section titles */
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1.3rem;
    }

    /* Interactive element spacing */
    .button+.button,
    .donate-btn+.donate-btn {
        margin-top: var(--spacing-sm);
    }
}

/* 3. Visual Feedback for Touch Interactions */

/* Active states for buttons */
.button:active,
.donate-btn:active,
.map-link:active,
.share-button:active,
.submit-button:active,
.search-button:active {
    transform: scale(0.95);
    opacity: 0.9;
    transition: transform 0.1s ease, opacity 0.1s ease;
}

/* Active state for navigation links */
.main-navigation a:active {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(0.98);
}

/* Active state for cards */
.donation-card:active,
.contact-card:active,
.link-card:active,
.schedule-day:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Active state for footer links */
.footer-links a:active {
    opacity: 0.7;
}

/* Ripple effect for touch feedback */
@media (max-width: 768px) {

    .button,
    .donate-btn,
    .submit-button {
        position: relative;
        overflow: hidden;
    }

    .button::after,
    .donate-btn::after,
    .submit-button::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }

    .button:active::after,
    .donate-btn:active::after,
    .submit-button:active::after {
        width: 200%;
        height: 200%;
    }
}

/* 4. Improved Mobile Menu with Overlay */

/* Menu overlay backdrop */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {

    /* Enhanced mobile menu */
    .main-navigation ul {
        border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.3s ease,
            box-shadow 0.3s ease;
        padding: 0;
    }

    .main-navigation.active ul {
        max-height: 85vh;
        /* Increased from 500px to avoid cutting off items */
        overflow-y: auto;
        /* Enable scrolling if content exceeds height */
        padding: var(--spacing-md) 0;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }

    /* Menu items slide in animation */
    .main-navigation li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-navigation.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .main-navigation.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .main-navigation.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .main-navigation.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .main-navigation.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .main-navigation.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .main-navigation.active li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .main-navigation.active li:nth-child(7) {
        transition-delay: 0.35s;
    }

    /* Enhanced hamburger button */
    .menu-toggle {
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .menu-toggle:active {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Better separation between menu items */
    .main-navigation a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation li:last-child a {
        border-bottom: none;
    }
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}