/*
Theme Name: TCI Catholic Mission
Theme URI: https://tccatholic.com
Author: Francisco Velasquez
Author URI: https://tccatholic.com
Description: A clean, modern theme for the Roman Catholic Mission of Turks & Caicos Islands. Serves Our Lady of Divine Providence, Holy Cross, St. Lucy's Chapel, and Holy Family Academy.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tci-mission
Tags: church, catholic, mission, responsive, modern
*/

/* ==========================================================================
   CSS Variables & Root Styles
   Inspired by Kiko Argüello's Byzantine-influenced iconographic art
   ========================================================================== */

:root {
    /* =========================================
       TCI MISSION - Kiko Argüello European Design
       Byzantine Warmth, Elegant Simplicity
       ========================================= */

    /* Kiko's Signature Palette */
    --color-burgundy: #722f37;       /* Deep Way Burgundy - Kiko's signature */
    --color-burgundy-light: #8b3d47;
    --color-burgundy-dark: #5a252c;
    --color-gold: #c9a227;           /* Warm ochre-gold */
    --color-gold-light: #d4b94a;
    --color-gold-dark: #a08320;

    /* Byzantine Blue - Kiko's iconic deep blue */
    --color-byzantine: #1a365d;      /* Deep sacred blue */
    --color-byzantine-light: #2c5282;
    --color-byzantine-dark: #0f2942;

    /* Warm Earth Tones */
    --color-ochre: #c9a227;          /* Warm gold-ochre */
    --color-terracotta: #b7694d;     /* Mediterranean warmth */
    --color-sand: #e8dcc4;           /* Parchment accent */

    /* TCI Accent (muted - subtle island hint) */
    --color-tci-muted: #5b9a9a;      /* Muted teal */
    --color-tci-soft: #7fb3b3;       /* Soft aqua accent */

    /* Refined Backgrounds */
    --color-parchment: #faf7f2;      /* Warm ivory like aged paper */
    --color-linen: #f5f0e8;          /* Linen texture feel */

    /* Warm Backgrounds - European Parchment */
    --color-cream: #faf7f2;          /* Warm parchment */
    --color-cream-dark: #f5f0e8;     /* Deeper linen */
    --color-white: #ffffff;
    --color-warm-white: #fdfcfa;

    /* Rich Dark Tones */
    --color-charcoal: #2c2c2c;       /* Warm Charcoal */
    --color-charcoal-light: #3d3d3d;
    --color-dark: #1f1f1f;

    /* Accent Colors */
    --color-terracotta: #c17f59;     /* Mediterranean warmth */
    --color-olive: #6b7c5e;          /* Italian countryside */
    --color-sage: #9caa8e;           /* Soft sage */

    /* Text Colors */
    --color-text: #3a3a3a;           /* Main text - warm dark */
    --color-text-light: #6b6b6b;     /* Secondary text */
    --color-text-muted: #999999;     /* Muted text */

    /* Neutrals */
    --color-border: #e8e4df;         /* Warm border */
    --color-border-dark: #d4cfc7;

    /* Typography - Kiko Argüello European Elegance */
    --font-kiko: 'Cinzel', Georgia, serif;  /* Roman capitals - Kiko inscription style */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing - Generous */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Border Radius - Soft & Friendly */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows - Warm & Soft */
    --shadow-sm: 0 2px 8px rgba(114, 47, 55, 0.06);
    --shadow-md: 0 4px 20px rgba(114, 47, 55, 0.08);
    --shadow-lg: 0 8px 40px rgba(114, 47, 55, 0.12);
    --shadow-xl: 0 16px 60px rgba(114, 47, 55, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Layout */
    --max-width: 1200px;
    --header-height: 105px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows - warmer, earthier */
    --shadow-sm: 0 1px 3px rgba(26,22,18,0.12);
    --shadow-md: 0 4px 6px rgba(26,22,18,0.15);
    --shadow-lg: 0 10px 25px rgba(26,22,18,0.2);
    --shadow-gold: 0 4px 15px rgba(212,168,75,0.3);

    /* Kiko-style decorative borders */
    --border-gold: 2px solid var(--color-gold);
    --border-decorative: 3px double var(--color-gold);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

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

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

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
    color: var(--color-white);
}

.section--light {
    background-color: var(--color-gray-100);
}

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

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.justify-between {
    justify-content: space-between;
}

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

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* ==========================================================================
   Header Styles - Kiko Byzantine Influence
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.95);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--color-border);
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--spacing-lg);
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
}

.site-logo img {
    height: 85px;
    width: auto;
}

.site-logo--our-lady-of-divine-providence img {
    max-height: calc(var(--header-height) - 12px);
    height: 95px;
    width: auto;
    mix-blend-mode: multiply;
}

@media (max-width: 768px) {
    .site-logo--our-lady-of-divine-providence img {
        height: 65px;
    }
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.site-logo-text strong {
    color: var(--color-primary);
    display: block;
}

@media (max-width: 768px) {
    .site-logo img {
        height: 55px;
    }

    .site-logo-text {
        font-size: 1rem;
    }
}

/* Main Navigation */
.main-nav {
    display: none;
}

@media (min-width: 992px) {
    .main-nav {
        display: block;
    }
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    display: block;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-primary);
    background-color: var(--color-gray-100);
}

/* Dropdown Menus */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
    z-index: 1001;
}

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

.main-nav .sub-menu li {
    margin: 0;
}

.main-nav .sub-menu a {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.85rem;
}

.main-nav .sub-menu a:hover {
    background-color: var(--color-gray-100);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav a {
    display: block;
    padding: var(--spacing-md) 0;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.mobile-nav .sub-menu {
    display: none;
    padding-left: var(--spacing-lg);
    background: var(--color-gray-100);
    margin: 0;
}

.mobile-nav .sub-menu.active,
.mobile-nav li.menu-item-has-children.open .sub-menu {
    display: block;
}

.mobile-nav .sub-menu li {
    border-bottom: none;
}

.mobile-nav .sub-menu a {
    font-size: 1rem;
    padding: var(--spacing-sm) 0;
    color: var(--color-gray-600);
}

.mobile-nav .sub-menu a:hover {
    color: var(--color-primary);
}

.mobile-nav .menu-item-has-children > a::after {
    content: '+';
    float: right;
    font-weight: bold;
    color: var(--color-gray-600);
}

.mobile-nav .menu-item-has-children.open > a::after {
    content: '-';
}

/* ==========================================================================
   Hero Section - Kiko Argüello Byzantine Style
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Light & Airy European Editorial */
    background: var(--color-parchment);
    color: var(--color-burgundy);
    text-align: center;
    padding: calc(var(--header-height) + var(--space-3xl)) var(--space-lg) var(--space-2xl);
    overflow: hidden;
}

/* Subtle parchment texture overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(114, 47, 55, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Elegant gold line at bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

/* Decorative cross above hero content - elegant burgundy outline */
.hero-content::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 50px;
    /* Refined outline cross in burgundy */
    background: url("data:image/svg+xml,%3Csvg width='36' height='50' viewBox='0 0 36 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 2v13H2v5h13v28h6V20h13v-5H21V2h-6z' fill='none' stroke='%238B2332' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.6;
}

.hero-flags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.hero-flags img {
    height: 40px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(114, 47, 55, 0.1);
    border: 1px solid var(--color-sand);
}

/* Hero Kiko-style hand-drawn title graphic */
.hero-title-graphic {
    max-width: 480px;
    width: 85%;
    height: auto;
    margin: 0 auto var(--space-lg);
    display: block;
}

.hero h1 {
    font-family: 'IM Fell English', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 400;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
    line-height: 1.5;
    max-width: 600px;
}

.hero h1::before {
    content: '✝';
    display: block;
    font-size: 2.5rem;
    color: var(--color-burgundy-light);
    margin-bottom: var(--space-md);
    opacity: 0.6;
}

.hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: var(--space-lg) auto 0;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-burgundy-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

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

.hero .btn {
    margin: var(--spacing-xs);
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding-top: calc(var(--header-height) + var(--spacing-xxl));
    }

    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: 0.06em;
    }

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

    .hero-content::before {
        width: 26px;
        height: 36px;
        top: -28px;
    }

    .hero-title-graphic {
        max-width: 300px;
        width: 90%;
    }
}

/* ==========================================================================
   Buttons - Kiko Byzantine Style
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Primary - Byzantine Blue */
.btn--primary {
    background: var(--color-byzantine);
    color: var(--color-white);
    border-color: var(--color-byzantine);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    background: var(--color-byzantine-light);
    border-color: var(--color-byzantine-light);
}

/* Outline button - Elegant blue border */
.btn--outline {
    background: transparent;
    color: var(--color-byzantine);
    border-color: var(--color-byzantine);
}

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

/* Secondary - Gold accent */
.btn--secondary {
    background: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.2);
}

.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

/* Tertiary - Subtle muted teal (TCI accent) */
.btn--tertiary {
    background: transparent;
    color: var(--color-tci-muted);
    border-color: var(--color-tci-muted);
}

.btn--tertiary:hover {
    background: var(--color-tci-muted);
    color: var(--color-white);
}

/* ==========================================================================
   Location Cards - Kiko Byzantine Style
   ========================================================================== */

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

.location-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(114, 47, 55, 0.12);
}

.location-card:hover::before {
    opacity: 1;
}

.location-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

/* Sepia/warm overlay for Byzantine feel */
.location-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(26,22,18,0.4) 100%
    );
    pointer-events: none;
}

.location-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: saturate(0.9);
}

.location-card:hover .location-card__image img {
    transform: scale(1.08);
    filter: saturate(1);
}

.location-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-200), var(--color-earth-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card__placeholder svg {
    color: var(--color-earth);
    opacity: 0.5;
}

.location-card__content {
    padding: var(--space-lg);
    background: var(--color-white);
}

.location-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-charcoal);
}

.location-card__subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.location-card__link {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-burgundy);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.location-card__link:hover {
    color: var(--color-gold-dark);
}

.location-card__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.location-card__link:hover svg {
    transform: translateX(5px);
}

/* Featured card - Main Parish with gold border */
.location-card--featured {
    border: 2px solid var(--color-gold);
}

.location-card--featured::before {
    height: 5px;
    background: var(--color-gold);
}

/* ==========================================================================
   Mass Schedule - Kiko Style
   ========================================================================== */

.mass-schedule {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-top: var(--spacing-md);
    border-left: 3px solid var(--color-gold);
}

.mass-schedule__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px dashed var(--color-gray-300);
}

.mass-schedule__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mass-schedule__day {
    font-weight: 700;
    color: var(--color-burgundy);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mass-schedule__time {
    color: var(--color-gray-800);
    font-size: 0.9rem;
}

/* ==========================================================================
   Bulletin Section - Kiko Byzantine Style
   ========================================================================== */

.bulletin-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    position: relative;
}

.bulletin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(197, 165, 114, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(114, 47, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.bulletin-embed {
    border-radius: 12px;
    overflow: hidden;
}

/* When bulletin has PDF - white bg with shadow */
.bulletin-embed--has-pdf {
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.bulletin-embed iframe {
    width: 100%;
    height: 500px;
    border: none;
    background: var(--color-white);
}

.bulletin-pdf-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-gray-100);
    border-top: 1px solid var(--color-gray-200);
}

.bulletin-pdf-title {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
}

/* When showing bulletin card or placeholder - no bg, styled inside */
.bulletin-embed--has-card,
.bulletin-embed--empty {
    background: transparent;
    box-shadow: none;
}

.bulletin-info {
    padding: var(--spacing-lg);
}

.bulletin-info h3 {
    color: var(--color-white);
}

/* ==========================================================================
   Notice/Alert Box - Kiko Style
   ========================================================================== */

.notice {
    background: linear-gradient(135deg, #fdf6e3 0%, #f8f0d8 100%);
    border-left: 4px solid var(--color-gold);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 0v27H0v6h27v27h6V33h27v-6H33V0h-6z' fill='%23d4a84b' fill-opacity='0.1'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

.notice--important {
    background: var(--color-white);
    border-left-color: var(--color-burgundy);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
}

.notice__title {
    font-family: var(--font-body);
    color: var(--color-burgundy);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.notice--important .notice__title {
    color: var(--color-burgundy);
}

/* ==========================================================================
   Footer - Elegant & Warm
   ========================================================================== */

.site-footer {
    background: linear-gradient(180deg, var(--color-byzantine) 0%, var(--color-byzantine-dark) 100%);
    color: rgba(255,255,255,0.75);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-gold);
}

/* Way Identity in Footer */
.footer-way-symbol {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-way-text {
    display: block;
    font-family: var(--font-kiko);
    font-size: 1rem;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    font-weight: 500;
}

.footer-island-badge {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h4 {
    font-family: var(--font-body);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
    text-decoration: none;
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: rgba(255,255,255,0.8);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-gold);
}

.footer-directions a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-gold);
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: var(--spacing-xs);
}

.footer-directions a:hover {
    background: var(--color-gold);
    color: var(--color-burgundy);
}

.footer-directions svg {
    margin-top: 0;
}

/* Get Directions Button - Location Pages */
.get-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--color-burgundy);
    color: white;
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
    font-weight: 500;
}

.get-directions-btn:hover {
    background: var(--color-gold);
    color: var(--color-burgundy);
}

.get-directions-btn svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: var(--color-gold);
}

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

.footer-ecclesial {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-gold-light);
    margin-bottom: var(--space-md);
}

/* Decorative cross in footer */
.footer-cross {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    opacity: 0.3;
}

.footer-cross svg {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
}

/* ==========================================================================
   Page Templates - Clean Design
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, var(--color-byzantine) 0%, var(--color-byzantine-dark) 100%);
    color: var(--color-white);
    padding: calc(var(--header-height) + 3rem) var(--spacing-lg) 3rem;
    text-align: center;
    position: relative;
}

.page-header__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-family: 'Playfair Display', var(--font-display), serif;
    color: var(--color-white);
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.page-header h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: 1.25rem auto 0;
}

.page-content {
    padding: 4rem 0;
    background: var(--color-cream, #faf9f7);
}

.page-content.has-sidebar .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .page-content.has-sidebar .container {
        grid-template-columns: 1fr 300px;
    }
}

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

.page-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.1);
}

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

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

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

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

    .container {
        padding: 0 var(--spacing-md);
    }

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

    /* Page template responsive */
    .page-header {
        padding: calc(var(--header-height) + 2rem) 1rem 2rem;
    }

    .page-header__tag {
        font-size: 0.65rem;
    }

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

    .page-article {
        padding: 1.5rem;
        border-radius: 8px;
    }

    .content-enhanced h2 {
        font-size: 1.35rem;
    }

    .content-enhanced h3 {
        font-size: 1.1rem;
    }

    .content-enhanced {
        font-size: 1rem;
    }

    .page-sidebar {
        position: relative;
        top: 0;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

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

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

/* ==========================================================================
   Enhanced Content Styles - Clean Catholic Design
   ========================================================================== */

.page-article {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(26, 54, 93, 0.06);
}

/* Enhanced Content Typography */
.content-enhanced {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #444;
}

.content-enhanced h2 {
    font-family: 'Playfair Display', var(--font-display), serif;
    color: var(--color-byzantine);
    font-weight: 500;
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gold);
}

.content-enhanced h2:first-child {
    margin-top: 0;
}

.content-enhanced h3 {
    font-family: 'Playfair Display', var(--font-display), serif;
    color: var(--color-byzantine);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
}

.content-enhanced h4 {
    color: var(--color-byzantine-light);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-enhanced p {
    color: #555;
    margin-bottom: 1.25rem;
}

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

.content-enhanced a {
    color: var(--color-byzantine);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold);
    transition: all 0.2s ease;
}

.content-enhanced a:hover {
    color: var(--color-gold-dark);
    border-bottom-color: var(--color-gold-dark);
}

.content-enhanced ul,
.content-enhanced ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.content-enhanced li {
    margin-bottom: 0.5rem;
    color: #555;
}

.content-enhanced li::marker {
    color: var(--color-gold);
}

.content-enhanced blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03) 0%, rgba(201, 162, 39, 0.05) 100%);
    border-left: 4px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-byzantine);
}

.content-enhanced blockquote p {
    color: var(--color-byzantine);
    margin: 0;
}

.content-enhanced hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 2.5rem 0;
}

.content-enhanced img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.1);
}

.content-enhanced table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-enhanced th {
    background: var(--color-byzantine);
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.content-enhanced td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.content-enhanced tr:hover td {
    background: rgba(26, 54, 93, 0.02);
}

/* Info Cards within Content - subtle background for paragraphs after h3 */
.content-enhanced h3 + p {
    background: rgba(26, 54, 93, 0.02);
    padding: 1rem 1.25rem;
    border-radius: 6px;
    border-left: 3px solid var(--color-gold);
    margin-top: 0.5rem;
}

/* Page Sidebar */
.page-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(26, 54, 93, 0.06);
}

.sidebar-widget h4 {
    font-family: 'Playfair Display', var(--font-display), serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-byzantine);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-gold);
}

/* Donate Widget in Sidebar */
.sidebar-widget--donate {
    background: linear-gradient(135deg, var(--color-byzantine) 0%, var(--color-byzantine-light) 100%);
    color: var(--color-white);
}

.sidebar-widget--donate h4 {
    color: var(--color-white);
    border-bottom-color: var(--color-gold);
}

.donate-widget-text {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.donate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-gold);
    color: var(--color-byzantine);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.donate-btn:hover {
    background: var(--color-gold-light);
    transform: translateY(-1px);
}

.donate-btn svg {
    transition: transform 0.2s ease;
}

.donate-btn:hover svg {
    transform: translateX(3px);
}

.donate-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.8;
}

.donate-secure svg {
    opacity: 0.9;
}

/* Secure Payment Widget */
.sidebar-widget--secure {
    background: var(--color-byzantine);
    color: var(--color-white);
}

.sidebar-widget--secure h4 {
    color: var(--color-white);
}

.secure-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.secure-text {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Other Ways to Give */
.other-giving {
    list-style: none;
    padding: 0;
    margin: 0;
}

.other-giving li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.other-giving li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.other-giving li:first-child {
    padding-top: 0;
}

.other-giving strong {
    display: block;
    color: var(--color-byzantine);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.other-giving span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Mobile Responsive - Sidebar Widgets */
@media (max-width: 991px) {
    .page-sidebar {
        position: static;
    }

    .sidebar-widget {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .sidebar-widget {
        padding: 1.25rem;
    }

    .sidebar-widget--donate .donate-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .payment-methods {
        justify-content: center;
    }

    .payment-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .secure-header {
        justify-content: center;
    }

    .secure-text {
        text-align: center;
    }
}

/* ==========================================================================
   GiveWP Form Page Styles
   ========================================================================== */

.page-header--give {
    background: var(--color-byzantine);
    text-align: center;
    padding: var(--space-lg) 0;
}

.give-form-page {
    background: var(--color-parchment);
    padding: var(--space-xl) 0 var(--space-2xl);
    min-height: 60vh;
}

.give-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

/* Override GiveWP Sequoia template - FIX HEIGHT CUTOFF */
.give-sequoia-wrap,
.give-embed-form-wrapper,
.give-form-templates,
.give-embed-form,
.give-form-wrap,
[id*="give-form"],
.give-sequoia-wrap .give-form-templates {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Remove fixed positioning that causes cutoff */
.give-sequoia-wrap {
    position: relative !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    margin: 2rem auto !important;
    max-width: 600px !important;
}

/* Ensure form steps are visible */
.give-sequoia-wrap .give-form-templates > div,
.give-sequoia-wrap .step,
.give-sequoia-wrap [class*="step"] {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}

/* Fix the form content area */
.give-sequoia-wrap .give-section {
    height: auto !important;
    overflow: visible !important;
}

/* Make sure body doesn't clip the form */
body.single-give_forms {
    overflow-x: hidden;
}

body.single-give_forms .site-content,
body.single-give_forms main,
body.single-give_forms article {
    overflow: visible !important;
}

/* Global GiveWP height fix - apply everywhere */
.give-wrap,
.give-form-wrap,
.give-embed-form-wrapper,
#give-recurring-form,
.give-form,
.give-form-content-wrap {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Fix Sequoia template specifically */
.give-sequoia-form-template-wrapper,
.give-sequoia-form-template-wrapper > div,
.give-sequoia-form-template-wrapper .give-form-content-wrap {
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}

/* Ensure scrollable content area */
.give-form-content-wrap {
    max-height: none !important;
}

/* Style the insecure donation notice */
.give-secure-badge--insecure,
.give-secure-badge {
    margin-top: 1rem !important;
}

.give-form-footer {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    text-align: center;
}

.secure-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-byzantine);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.secure-notice svg {
    color: var(--color-gold);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.payment-icons span {
    background: var(--color-white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.back-link {
    margin: 0;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-byzantine);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

/* GiveWP Form Mobile Responsive */
@media (max-width: 768px) {
    .give-form-page {
        padding: var(--space-md) 0 var(--space-xl);
    }

    .give-form-container {
        padding: var(--space-md);
        margin: 0 var(--space-sm);
        border-radius: var(--radius-md);
    }

    .give-form-wrap,
    .give-embed-form,
    [id*="give-form"] {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .give-form .give-donation-levels-wrap {
        flex-direction: column !important;
    }

    .give-form .give-donation-level-btn {
        width: 100% !important;
        margin-bottom: 8px !important;
    }

    .give-form .give-submit,
    .give-form button[type="submit"] {
        width: 100% !important;
    }

    .secure-notice {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .payment-icons span {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .give-form-container {
        padding: var(--space-sm);
        margin: 0 10px;
    }

    .page-header--give h1 {
        font-size: 1.5rem;
    }
}

/* Contact List in Sidebar */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: #555;
}

.contact-list li:first-child {
    padding-top: 0;
}

.contact-list li:last-child {
    padding-bottom: 0;
}

.contact-list svg {
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-list a {
    color: var(--color-byzantine);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-list a:hover {
    color: var(--color-gold-dark);
}

/* Quick Links in Sidebar */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    border-bottom: 1px solid #f0f0f0;
}

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

.quick-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0;
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-links a:hover {
    color: var(--color-byzantine);
    padding-left: 0.5rem;
}

.quick-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Featured Cards for Locations/Parishes */
.content-enhanced h3 + p a:only-child {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--color-byzantine);
    color: var(--color-white) !important;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: var(--spacing-sm);
    border: none !important;
}

.content-enhanced h3 + p a:only-child:hover {
    background: var(--color-gold-dark);
}

/* Contact Info Styling */
.content-enhanced p strong {
    color: var(--color-primary);
}

/* Call to Action Links */
.content-enhanced a[target="_blank"]::after {
    content: ' ↗';
    font-size: 0.8em;
}

/* ==========================================================================
   Location Archive Enhanced
   ========================================================================== */

.archive-location .locations-grid {
    margin-top: 0;
}

.archive-location .location-card {
    border: 1px solid var(--color-gray-200);
}

.archive-location .location-card__content {
    position: relative;
}

.archive-location .location-card__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--spacing-lg);
    right: var(--spacing-lg);
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    border-radius: 2px;
}

/* ==========================================================================
   Page Header Enhanced
   ========================================================================== */

.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23fff' stroke-opacity='0.05' fill='none'/%3E%3C/svg%3E");
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-header h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--spacing-md) auto 0;
}

/* ==========================================================================
   Footer Refinements
   ========================================================================== */

.footer-section h4::after {
    content: none;
}

/* Mass Times in Footer */
.footer-mass-times {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.footer-mass-times p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.footer-mass-times strong {
    color: var(--color-gold);
}

/* ==========================================================================
   Animation Effects
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-article {
    animation: fadeInUp 0.5s ease-out;
}

.sidebar-widget {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.sidebar-widget:nth-child(2) {
    animation-delay: 0.1s;
}

/* Smooth hover effects */
.location-card,
.sidebar-widget,
.btn {
    transition: all var(--transition-normal);
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .page-sidebar,
    .hero {
        display: none;
    }

    .page-header {
        background: none;
        color: var(--color-dark);
        padding: var(--spacing-lg) 0;
    }

    .page-header h1 {
        color: var(--color-dark);
    }

    .content-enhanced a::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: var(--color-gray-600);
    }
}

/* ==========================================================================
   Front Page Specific Styles
   ========================================================================== */

/* Section Labels - Kiko accent style */
.section-label {
    display: inline-block;
    font-family: var(--font-kiko);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
    position: relative;
    padding: 0 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}

.section-label::before {
    right: 100%;
}

.section-label::after {
    left: 100%;
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-label--light {
    color: var(--color-gold);
}

.section-label--light::before,
.section-label--light::after {
    color: rgba(255,255,255,0.5);
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: var(--spacing-md) auto 0;
}

.section-header p {
    max-width: 650px;
    margin: var(--spacing-md) auto 0;
    color: var(--color-gray-600);
    font-size: 1.05rem;
}

/* Notice Section Enhanced */
.notice-section {
    padding: var(--space-lg) 0;
    background: var(--color-cream);
}

.notice {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.notice__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #721c24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.notice__content {
    flex: 1;
}

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

/* Welcome Section */
.welcome-section {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.welcome-section::before {
    display: none;
}

.welcome-text {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-gray-800);
    position: relative;
    z-index: 1;
}

.welcome-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xxl);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    display: block;
    font-family: var(--font-kiko);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--color-burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: var(--space-sm);
    font-weight: 500;
}

/* Location Cards Enhanced */
.location-card__badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.location-card__badge--gold {
    background: var(--color-gold);
    color: var(--color-dark);
}

.location-card__note {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.location-card--featured {
    border: 2px solid var(--color-gold);
}

/* Sacraments Section */
.sacraments-section {
    background: var(--color-white);
    position: relative;
}

.sacraments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.sacraments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-md);
    max-width: 950px;
    margin: 0 auto;
}

.sacrament-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    text-decoration: none;
}

.sacrament-card:hover {
    background: var(--color-burgundy);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.sacrament-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-burgundy);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.sacrament-card:hover .sacrament-card__icon {
    background: var(--color-gold);
    color: var(--color-charcoal);
    transform: scale(1.05);
}

.sacrament-card__title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-base);
}

.sacrament-card:hover .sacrament-card__title {
    color: var(--color-white);
}

/* Bulletin Section Enhanced */
.bulletin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

@media (min-width: 992px) {
    .bulletin-layout {
        grid-template-columns: 1fr 1.5fr;
    }
}

.bulletin-info h2 {
    color: var(--color-white);
}

.bulletin-placeholder {
    padding: var(--spacing-xxl);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.bulletin-placeholder svg {
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
    stroke: rgba(255, 255, 255, 0.6);
}

.bulletin-placeholder p {
    margin-bottom: var(--spacing-sm);
}

.bulletin-placeholder__sub {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Bulletin Card (when no PDF available) */
.bulletin-card {
    padding: var(--spacing-xxl);
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    backdrop-filter: blur(10px);
}

.bulletin-card__icon {
    margin-bottom: var(--spacing-lg);
    width: 80px;
    height: 80px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bulletin-card__icon svg {
    stroke: var(--color-gold);
    width: 40px;
    height: 40px;
}

.bulletin-card__title {
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.bulletin-card__date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.bulletin-card__note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.bulletin-card .btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.bulletin-card .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--small {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
}

/* CTA Section - Warm invitation */
.cta-section {
    background: var(--color-cream-dark);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-dark), transparent);
}

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

.cta-content p {
    margin-bottom: var(--spacing-lg);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .notice {
        flex-direction: column;
        text-align: center;
    }

    .notice__icon {
        margin: 0 auto;
    }

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

    .sacraments-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-sm);
    }

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

    .sacrament-card__icon {
        width: 48px;
        height: 48px;
    }

    .sacrament-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .sacrament-card__title {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   WooCommerce Integration - Kiko Byzantine Style
   ========================================================================== */

/* Container */
.woocommerce-container {
    padding: var(--spacing-xxl) 0;
}

.woocommerce-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Page Header for WooCommerce */
.woocommerce-page .page-header,
.archive.woocommerce .page-header {
    background: linear-gradient(135deg, var(--color-byzantine) 0%, var(--color-byzantine-dark) 100%);
    color: var(--color-white);
    padding: calc(var(--header-height) + var(--spacing-xl)) var(--spacing-lg) var(--spacing-xl);
    text-align: center;
    margin-bottom: 0;
}

/* Product Cards */
.woocommerce ul.products li.product {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-gray-200);
    position: relative;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-earth-light) 100%);
    z-index: 2;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26,22,18,0.15);
    border-color: var(--color-gold);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    padding: 0 var(--spacing-md);
}

.woocommerce ul.products li.product .price {
    color: var(--color-burgundy);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Add to Cart Button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: linear-gradient(180deg, #e0b44f 0%, var(--color-gold) 50%, #c49a3d 100%);
    color: var(--color-dark);
    border: 2px solid #c49a3d;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-normal);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background: linear-gradient(180deg, #e8c15f 0%, #d4a84b 50%, #c49a3d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,168,75,0.4);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(180deg, #a84057 0%, var(--color-accent) 50%, #752536 100%);
    color: var(--color-white);
    border-color: #752536;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: linear-gradient(180deg, #b84a61 0%, #a84057 50%, #8b2c3d 100%);
}

/* Cart */
.woocommerce .cart-collaterals,
.woocommerce-cart .cart-collaterals {
    background: var(--color-cream);
    padding: var(--spacing-lg);
    border-radius: 4px;
    border: 1px solid var(--color-gray-200);
}

.woocommerce table.shop_table {
    border: 1px solid var(--color-gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.woocommerce table.shop_table td {
    border-color: var(--color-gray-200);
}

/* Checkout */
.woocommerce form .form-row label {
    font-weight: 600;
    color: var(--color-primary);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 2px solid var(--color-gray-200);
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--color-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212,168,75,0.1);
}

/* Sale Badge */
.woocommerce span.onsale {
    background: var(--color-burgundy);
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    padding: 0.5rem 1rem;
}

/* Star Ratings */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
    color: var(--color-gold);
}

/* Messages */
.woocommerce-message,
.woocommerce-info {
    background: linear-gradient(135deg, #fdf6e3 0%, #f8f0d8 100%);
    border-left: 4px solid var(--color-gold);
    border-top: none;
}

.woocommerce-error {
    background: linear-gradient(135deg, #fdf0f0 0%, #f8e0e0 100%);
    border-left: 4px solid var(--color-burgundy);
    border-top: none;
}

/* Mini Cart in Header */
.header-cart-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.header-cart-link:hover {
    color: var(--color-burgundy);
}

.header-cart-link .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-burgundy);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product Single Page */
.woocommerce div.product div.summary {
    padding-left: var(--spacing-xl);
}

.woocommerce div.product .product_title {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.woocommerce div.product p.price {
    color: var(--color-burgundy);
    font-size: 1.5rem;
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 var(--spacing-lg);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--color-gray-100);
    border: none;
    border-radius: 4px 4px 0 0;
    margin-right: 4px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--color-white);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

/* Related Products */
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.woocommerce .related.products h2::after,
.woocommerce .upsells.products h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-burgundy));
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

/* Account Pages */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--color-cream);
    border-radius: 4px;
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--color-gray-200);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: var(--spacing-md);
    color: var(--color-primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Donation-style pricing (if used for donations) */
.woocommerce .price .woocommerce-Price-amount {
    font-family: var(--font-accent);
}

/* ==========================================================================
   Neocatechumenal Way Identity Elements
   ========================================================================== */

/* Way Tripod Symbol in Hero */
.way-tripod {
    margin-bottom: var(--spacing-lg);
}

.way-tripod__cross {
    width: 50px;
    height: 65px;
    color: var(--color-burgundy);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Way Badge - Elegant pill style */
.hero-way-badge {
    margin-bottom: var(--space-xl);
}

.hero-way-badge span {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--color-burgundy);
    border-radius: var(--radius-full);
    background: transparent;
}

/* Outline button for dark on gold */
.btn--outline-dark {
    background-color: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

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

/* Way Identity Banner Section */
.way-identity {
    background: var(--color-white);
    padding: var(--space-xl) 0;
    position: relative;
}

.way-identity::before {
    display: none;
}

.way-identity__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.way-identity__symbol {
    flex-shrink: 0;
}

.way-identity__symbol svg {
    width: 50px;
    height: 50px;
    color: var(--color-gold);
}

.way-identity__text {
    text-align: center;
}

.way-identity__intro {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-xs);
}

.way-identity__title {
    font-family: var(--font-kiko);
    font-size: 1.35rem;
    color: var(--color-burgundy);
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    text-transform: uppercase;
}

.way-identity__desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 500px;
    line-height: 1.8;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .way-identity__content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }

    .way-identity__text {
        text-align: center;
    }

    .way-identity__title {
        font-size: 1.4rem;
    }

    .way-identity__symbol svg {
        width: 60px;
        height: 60px;
    }

    .way-tripod__cross {
        width: 40px;
        height: 52px;
    }

    .hero-way-badge span {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Kiko Argüello Typography - Hand-Lettered Style
   Inspired by the official Neocatechumenal Way artistic tradition
   ========================================================================== */

/* Kiko Quote Block - Authentic Kiko Argüello Style */
.kiko-quote {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-align: center;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.7;
    font-weight: 400;
    font-style: normal;
    padding: var(--space-xl);
    margin: 0 auto;
    max-width: 650px;
    position: relative;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kiko-quote::before {
    content: '«';
    display: block;
    font-family: var(--font-kiko);
    font-size: 2.5rem;
    color: var(--color-burgundy);
    line-height: 1;
    margin-bottom: var(--space-sm);
    font-style: normal;
}

.kiko-quote::after {
    content: '»';
    display: block;
    font-family: var(--font-kiko);
    font-size: 2.5rem;
    color: var(--color-burgundy);
    line-height: 1;
    margin-top: var(--space-sm);
}

/* Kiko Quote - Dark background variant */
.kiko-quote--dark {
    color: var(--color-cream);
    background: var(--color-kiko-blue);
    border-radius: 4px;
    padding: var(--spacing-xxl) var(--spacing-xl);
}

.kiko-quote--dark::before,
.kiko-quote--dark::after {
    color: var(--color-gold);
}

/* Kiko Quote - With gold accents */
.kiko-quote--gold {
    color: var(--color-earth);
    border-top: 3px solid var(--color-gold);
    border-bottom: 3px solid var(--color-gold);
    padding: var(--spacing-xl);
}

/* Kiko Heading Style - For special headings */
.kiko-heading {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.kiko-heading--large {
    font-size: 1.75rem;
}

.kiko-heading--medium {
    font-size: 1.35rem;
}

.kiko-heading--small {
    font-size: 1.1rem;
}

/* Kiko Inline Text - For emphasized words */
.kiko-text {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* Kiko Scripture Reference */
.kiko-scripture {
    font-family: var(--font-kiko-manuscript);
    color: var(--color-earth);
    font-size: 1.1rem;
    text-align: center;
    display: block;
    margin-top: var(--spacing-md);
    font-style: normal;
}

/* Kiko Callout Box - For important spiritual messages */
.kiko-callout {
    background: linear-gradient(135deg, #fdf6e3 0%, #f8f0d8 100%);
    border-left: 5px solid var(--color-burgundy);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    position: relative;
}

.kiko-callout::before {
    content: '✝';
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.5;
}

.kiko-callout .kiko-quote {
    padding: 0;
    margin: 0;
    font-size: 1.3rem;
}

.kiko-callout .kiko-quote::before,
.kiko-callout .kiko-quote::after {
    display: none;
}

/* Kiko Banner - Byzantine elegance */
.kiko-banner {
    background: linear-gradient(135deg, var(--color-byzantine) 0%, var(--color-byzantine-dark) 100%);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kiko-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.kiko-banner .kiko-quote {
    color: var(--color-cream);
    position: relative;
    z-index: 1;
}

.kiko-banner .kiko-quote::before,
.kiko-banner .kiko-quote::after {
    color: var(--color-gold);
}

/* Kiko quote on light backgrounds (like hero) */
.kiko-quote--burgundy {
    color: var(--color-burgundy);
}

.kiko-quote--burgundy::before,
.kiko-quote--burgundy::after {
    color: var(--color-burgundy);
}

/* Kiko Attribution/Source */
.kiko-attribution {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-burgundy-light);
    text-align: center;
    margin-top: var(--space-lg);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-style: normal;
}

.kiko-attribution--light {
    color: rgba(255,255,255,0.7);
}

/* Kiko Welcome Message Style (like the image) */
.kiko-welcome {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 0.06em;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.kiko-welcome strong {
    display: block;
    font-size: 1.6rem;
    margin: var(--spacing-sm) 0;
}

/* Responsive Kiko Typography */
@media (max-width: 768px) {
    .kiko-quote {
        font-size: 1.2rem;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .kiko-quote::before,
    .kiko-quote::after {
        font-size: 2rem;
    }

    .kiko-heading--large {
        font-size: 1.8rem;
    }

    .kiko-heading--medium {
        font-size: 1.4rem;
    }

    .kiko-welcome {
        font-size: 1.1rem;
    }

    .kiko-welcome strong {
        font-size: 1.3rem;
    }
}

/* WordPress Block Editor - Kiko Quote Block */
.wp-block-quote.is-style-kiko {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    text-align: center;
    border: none;
    padding: var(--spacing-xl);
    font-size: 1.4rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

.wp-block-quote.is-style-kiko::before {
    content: '«';
    display: block;
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
}

.wp-block-quote.is-style-kiko cite {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-style: normal;
    display: block;
    margin-top: var(--spacing-md);
}

.wp-block-quote.is-style-kiko cite::before {
    content: '— ';
}

/* WordPress Block Editor - Kiko Heading Block */
.wp-block-heading.is-style-kiko,
h1.is-style-kiko,
h2.is-style-kiko,
h3.is-style-kiko,
h4.is-style-kiko {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
}

/* Kiko Pullquote Style */
.wp-block-pullquote.is-style-kiko {
    border: none;
    padding: var(--spacing-xl);
}

.wp-block-pullquote.is-style-kiko blockquote {
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
    border: none;
    padding: 0;
    margin: 0;
}

.wp-block-pullquote.is-style-kiko blockquote::before {
    content: '«';
    display: block;
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-kiko);
}

.wp-block-pullquote.is-style-kiko blockquote::after {
    content: '»';
    display: block;
    font-size: 3rem;
    color: var(--color-gold);
    margin-top: var(--spacing-sm);
    font-family: var(--font-kiko);
}

.wp-block-pullquote.is-style-kiko cite {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Shortcodes for Kiko Typography (use in content)
   Usage: [kiko_quote]Your quote here[/kiko_quote]
   ========================================================================== */

/* These classes can be applied manually or via shortcode */
.kiko-quote-inline {
    display: block;
    font-family: var(--font-kiko);
    color: var(--color-burgundy);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.7;
    letter-spacing: 0.06em;
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.page-header--about {
    background:
        radial-gradient(ellipse at 50% 100%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, var(--color-byzantine) 0%, var(--color-byzantine-dark) 100%);
    padding: calc(var(--header-height) + var(--spacing-xxl)) var(--spacing-lg) var(--spacing-xxl);
}

/* About Way Identity Section */
.about-way-section {
    background: linear-gradient(180deg, var(--color-ochre) 0%, var(--color-gold-bg) 100%);
    padding: var(--spacing-xl) 0;
    position: relative;
}

.about-way-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M27 0v27H0v6h27v27h6V33h27v-6H33V0h-6z' fill='%231a1612' fill-opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.about-way-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-way-symbol {
    flex-shrink: 0;
}

.about-way-cross {
    width: 60px;
    height: 78px;
    color: var(--color-burgundy);
}

.about-way-text {
    text-align: left;
}

.about-way-text h2 {
    margin-bottom: var(--spacing-sm);
}

.about-way-text p {
    color: var(--color-dark);
    margin: 0;
    line-height: 1.7;
}

/* About Section Grid */
.about-section {
    padding: var(--spacing-xxl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 320px;
    }
}

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

.about-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

/* Priests Card */
.about-priests-card {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
    border-left: 4px solid var(--color-burgundy);
}

.priest-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.priest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.priest-item strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.priest-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin-top: var(--spacing-xs);
}

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

    .about-way-text {
        text-align: center;
    }

    .about-way-cross {
        width: 45px;
        height: 58px;
    }
}

/* ==========================================================================
   Donate Page Styles
   ========================================================================== */

.page-header--donate {
    background: var(--color-byzantine);
    text-align: center;
    padding: var(--space-xl) 0;
}

.donate-page {
    background: var(--color-parchment);
    padding: var(--space-xl) 0 var(--space-2xl);
}

.donate-intro {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.donate-intro__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xl);
    align-items: start;
}

.donate-main {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.donate-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.donate-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.donate-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-byzantine);
    margin: 0 0 var(--space-sm);
}

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

.donate-options li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.donate-options li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.donate-options strong {
    display: block;
    color: var(--color-byzantine);
    margin-bottom: 4px;
}

.donate-options p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.donate-card--contact p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.donate-phone,
.donate-email {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-byzantine);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.donate-phone:hover,
.donate-email:hover {
    color: var(--color-gold);
}

.donate-card--secure {
    background: var(--color-byzantine);
    color: var(--color-white);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.secure-text {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: var(--space-sm);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-icon {
    background: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.donate-placeholder {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-light);
}

@media (max-width: 900px) {
    .donate-content {
        grid-template-columns: 1fr;
    }

    .donate-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .donate-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 600px) {
    .donate-sidebar {
        flex-direction: column;
    }

    .donate-card {
        min-width: auto;
    }
}

/* ==========================================================================
   GiveWP Form Styling - Match Theme
   ========================================================================== */

/* GiveWP form container */
.give-form-wrap,
.give-embed-form {
    font-family: var(--font-body);
}

/* Donation amount buttons */
.give-donation-amount .give-text-input,
.give-donation-levels-wrap .give-donation-level-btn {
    border-radius: var(--radius-md) !important;
    font-family: var(--font-body) !important;
}

.give-donation-levels-wrap .give-donation-level-btn {
    background: var(--color-parchment) !important;
    border: 2px solid var(--color-border) !important;
    color: var(--color-byzantine) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.give-donation-levels-wrap .give-donation-level-btn:hover {
    border-color: var(--color-gold) !important;
    background: var(--color-white) !important;
}

.give-donation-levels-wrap .give-donation-level-btn.give-default-level,
.give-donation-levels-wrap .give-donation-level-btn:focus {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--color-byzantine) !important;
}

/* Form inputs */
.give-form input[type="text"],
.give-form input[type="email"],
.give-form input[type="tel"],
.give-form input[type="number"],
.give-form select,
.give-form textarea {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    font-family: var(--font-body) !important;
    transition: border-color 0.15s ease !important;
}

.give-form input:focus,
.give-form select:focus,
.give-form textarea:focus {
    border-color: var(--color-gold) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2) !important;
}

/* Submit button */
.give-form .give-submit,
.give-form button[type="submit"],
.give-btn {
    background: var(--color-gold) !important;
    color: var(--color-byzantine) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: var(--font-body) !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.give-form .give-submit:hover,
.give-form button[type="submit"]:hover,
.give-btn:hover {
    background: var(--color-gold-light) !important;
}

/* Form labels */
.give-form label {
    font-weight: 600 !important;
    color: var(--color-byzantine) !important;
    font-size: 14px !important;
    margin-bottom: 6px !important;
}

/* Form sections */
.give-form .give-form-section-heading,
.give-form .give-fieldset-title {
    font-family: var(--font-heading) !important;
    color: var(--color-byzantine) !important;
    border-bottom: 2px solid var(--color-gold) !important;
    padding-bottom: 8px !important;
}

/* Total amount display */
.give-final-total-wrap,
.give-donation-total-section {
    background: var(--color-parchment) !important;
    border-radius: var(--radius-md) !important;
    padding: var(--space-sm) !important;
}

.give-final-total-wrap .give-donation-total,
.give-final-total-amount {
    color: var(--color-byzantine) !important;
    font-family: var(--font-heading) !important;
}

/* Sequoia template specific */
.give-sequoia-template {
    --give-primary-color: #c9a227 !important;
    --give-text-color: #1a365d !important;
}

.give-sequoia-template .give-form-navigation button,
.give-sequoia-template .give-btn-continue {
    background: var(--color-gold) !important;
    color: var(--color-byzantine) !important;
}

/* Hide unnecessary elements */
.give-form .give-form-content-wrap {
    font-family: var(--font-body);
}

/* Success/Error messages */
.give-form .give-notice {
    border-radius: var(--radius-md) !important;
}

.give-form .give-notice.notice-success {
    background: #d4edda !important;
    border-color: #28a745 !important;
}

.give-form .give-notice.notice-error {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
}
