/*
Theme Name: MCCB Theme
Description: A mobile-first WordPress theme for the Malawi Conference of Catholic Bishops
Version: 1.0.0
Author: Revelation
*/

/* CSS Custom Properties */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-heading: 'Crimson Text', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Responsive Font Sizes */
    --font-size-xs: clamp(0.7rem, 0.5vw + 0.6rem, 0.75rem);
    --font-size-sm: clamp(0.8rem, 0.6vw + 0.7rem, 0.875rem);
    --font-size-base: clamp(0.9rem, 0.8vw + 0.8rem, 1rem);
    --font-size-lg: clamp(1rem, 1vw + 0.9rem, 1.125rem);
    --font-size-xl: clamp(1.1rem, 1.2vw + 1rem, 1.25rem);
    --font-size-2xl: clamp(1.3rem, 1.5vw + 1.2rem, 1.5rem);
    --font-size-3xl: clamp(1.6rem, 2vw + 1.4rem, 1.875rem);
    --font-size-4xl: clamp(2rem, 3vw + 1.8rem, 2.25rem);
    --font-size-5xl: clamp(2.5rem, 4vw + 2.2rem, 3rem);
    
    /* Responsive Spacing */
    --space-1: clamp(0.2rem, 0.2vw + 0.15rem, 0.25rem);
    --space-2: clamp(0.4rem, 0.4vw + 0.3rem, 0.5rem);
    --space-3: clamp(0.6rem, 0.6vw + 0.5rem, 0.75rem);
    --space-4: clamp(0.8rem, 0.8vw + 0.7rem, 1rem);
    --space-5: clamp(1rem, 1vw + 0.9rem, 1.25rem);
    --space-6: clamp(1.2rem, 1.2vw + 1.1rem, 1.5rem);
    --space-8: clamp(1.6rem, 1.6vw + 1.4rem, 2rem);
    --space-10: clamp(2rem, 2vw + 1.8rem, 2.5rem);
    --space-12: clamp(2.4rem, 2.4vw + 2.2rem, 3rem);
    --space-16: clamp(3.2rem, 3.2vw + 2.8rem, 4rem);
    --space-20: clamp(4rem, 4vw + 3.5rem, 5rem);
}

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

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    position: relative;
    overflow-x: hidden;
}

/* Background Patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.01) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Container - Fully Responsive */
.container {
    max-width: min(1200px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-4);
    color: var(--text-dark);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--space-4);
    color: var(--text-light);
    line-height: 1.7;
}

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

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

/* Buttons - Fully Responsive */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.7rem, 1vw + 0.5rem, 1rem) clamp(1.5rem, 2vw + 1rem, 2rem);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    min-height: 44px; /* Touch-friendly */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* IMPROVED RESPONSIVE HEADER */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
    min-height: clamp(70px, 10vw, 90px);
    gap: var(--space-4);
}

.site-branding {
    flex-shrink: 0;
    max-width: 70%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 1.5vw, 1.2rem);
}

.site-logo .custom-logo {
    max-height: clamp(50px, 8vw, 70px);
    width: auto;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.site-identity {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.site-tagline {
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
    margin-top: 2px;
}

/* Responsive Navigation */
.main-navigation {
    display: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--space-3) var(--space-4);
    border-radius: 0.5rem;
    transition: var(--transition);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 0.5rem;
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: clamp(70px, 10vw, 90px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-light);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

.mobile-navigation.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-navigation ul {
    list-style: none;
    padding: var(--space-4);
    margin: 0;
}

.mobile-navigation li {
    border-bottom: 1px solid var(--border-light);
}

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

.mobile-navigation a {
    display: block;
    padding: var(--space-4);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-navigation a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* REVOLUTIONARY LAZORBAR BISHOP CARDS */
.bishops-grid {
    margin: var(--space-16) 0;
}

.bishops-container {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    max-width: 1000px;
    margin: 0 auto;
}

.bishop-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(120px, 15vw, 160px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.bishop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.bishop-card:hover {
    transform: translateX(8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.bishop-image {
    width: clamp(100px, 15vw, 140px);
    height: clamp(100px, 15vw, 140px);
    flex-shrink: 0;
    overflow: hidden;
    margin: clamp(0.8rem, 1.5vw, 1.2rem);
    border-radius: 0.75rem;
    background: var(--bg-light);
    position: relative;
}

.bishop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

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

.bishop-info {
    flex: 1;
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.bishop-name {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-dark);
    line-height: 1.3;
}

.bishop-title {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bishop-diocese {
    font-size: clamp(0.8rem, 1.6vw, 0.95rem);
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.bishop-ordained {
    font-size: clamp(0.7rem, 1.4vw, 0.8rem);
    color: var(--text-muted);
    margin-top: var(--space-2);
    opacity: 0.8;
}

/* Welcome Section - Ultra Responsive */
.welcome-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.welcome-content {
    max-width: min(900px, calc(100vw - 2rem));
    margin: 0 auto;
    text-align: center;
}

.welcome-content h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

.welcome-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

/* Stats Grid - Fully Responsive */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(2rem, 6vw, 4rem) 0;
}

.stat-item {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.stat-item h3 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--primary-color);
    margin-bottom: var(--space-2);
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
}

/* Section Headers - Responsive */
.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 4rem);
    max-width: min(700px, calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 10vw, 80px);
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    line-height: 1.7;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* Featured Posts Carousel - Responsive */
.featured-posts-carousel {
    margin: clamp(2rem, 5vw, 3rem) 0;
    position: relative;
}

.featured-post-slide {
    position: relative;
    height: clamp(300px, 60vh, 500px);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    display: flex;
    align-items: flex-end;
}

.slide-overlay {
    padding: clamp(1.5rem, 4vw, 3rem);
    color: white;
    max-width: min(700px, calc(100vw - 2rem));
}

.slide-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    color: white;
    line-height: 1.2;
}

.slide-excerpt {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    opacity: 0.95;
    line-height: 1.6;
}

.slide-link {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 1.8vw, 1rem);
}

.slide-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Newsletter Signup - Ultra Responsive */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: 1.5rem;
    margin: clamp(3rem, 8vw, 6rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: min(600px, calc(100vw - 2rem));
    margin: 0 auto;
}

.newsletter-signup h3 {
    color: white;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.newsletter-signup p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: clamp(2rem, 5vw, 2.5rem);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.newsletter-form .form-group {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1rem);
    max-width: min(500px, calc(100vw - 2rem));
    margin: 0 auto;
    flex-direction: column;
}

.newsletter-form input {
    flex: 1;
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(1.2rem, 3vw, 1.5rem);
    border: none;
    border-radius: 0.75rem;
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-height: 44px;
}

.newsletter-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    min-height: 44px;
    font-size: var(--font-size-sm);
}

.newsletter-form button:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer - Responsive */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(1.5rem, 4vw, 2rem);
    margin-top: clamp(4rem, 10vw, 6rem);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}

.footer-widget h4 {
    color: white;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.footer-widget p,
.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

/* Content Areas */
.content-area {
    padding: clamp(2rem, 5vw, 3rem) 0;
}

.site-main {
    max-width: min(900px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

/* Swiper Customization - Responsive */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
}

.swiper-pagination-bullet-active {
    background: white;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: clamp(45px, 8vw, 55px);
    height: clamp(45px, 8vw, 55px);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: bold;
}

/* Ultra Responsive Breakpoints */

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .bishop-card {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    
    .bishop-image {
        width: 80px;
        height: 80px;
        margin: 1rem auto 0;
    }
    
    .bishop-info {
        padding: 1rem;
    }
}

/* Medium Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .newsletter-form .form-group {
        flex-direction: row;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-navigation {
        display: block;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .bishop-card:hover {
        transform: translateX(12px);
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .bishops-container {
        max-width: 1200px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bishop-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .newsletter-signup,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none;
    }
    
    body {
        background: white;
    }
    
    body::before {
        display: none;
    }
    
    .bishop-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

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

@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #000080;
        --text-dark: #000000;
        --text-light: #333333;
        --border-light: #000000;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.newsletter-form input:focus,
.newsletter-form button:focus {
    outline: 3px solid rgba(37, 99, 235, 0.5);
    outline-offset: 2px;
}

/* Loading Animation for Bishop Cards */
.bishop-card {
    animation: slideInLeft 0.6s ease forwards;
}

.bishop-card:nth-child(1) { animation-delay: 0.1s; }
.bishop-card:nth-child(2) { animation-delay: 0.2s; }
.bishop-card:nth-child(3) { animation-delay: 0.3s; }
.bishop-card:nth-child(4) { animation-delay: 0.4s; }
.bishop-card:nth-child(5) { animation-delay: 0.5s; }
.bishop-card:nth-child(6) { animation-delay: 0.6s; }
.bishop-card:nth-child(7) { animation-delay: 0.7s; }
.bishop-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
