/* ==========================================================================
   SPECTACULAR DESIGN SYSTEM - WIDGETS
   ========================================================================== */

/* Global Reveal & Layout Fix */
html, body { 
    overflow-x: hidden; 
    width: 100%; 
    font-family: var(--cop-font-main); 
    color: var(--cop-text-dark);
}
.cop-reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.cop-reveal.active { opacity: 1; transform: translateY(0); }

/* Global reset for COP Elementor widgets AND their parent containers to eliminate gaps */
/* Targets the widget wrappers directly */
.elementor-widget[class*="elementor-widget-cop_"] {
    margin: 0 !important;
    padding: 0 !important;
}
.elementor-widget[class*="elementor-widget-cop_"] .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
}
/* Targets the Elementor page/section containers that WRAP COP widgets */
/* Using :has() to only affect containers holding our custom widgets */
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-cop_"]),
.e-con:has(> .elementor-widget[class*="elementor-widget-cop_"]),
.e-con-inner:has(> .elementor-widget[class*="elementor-widget-cop_"]),
.elementor-section:has(.elementor-widget[class*="elementor-widget-cop_"]),
.elementor-column:has(.elementor-widget[class*="elementor-widget-cop_"]),
.elementor-widget-wrap:has(.elementor-widget[class*="elementor-widget-cop_"]) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
}

/* Universal Section Padding for Internal Pages */
/* .page:not(.home) section:not(.cop-hero-section) {
    padding: 70px 0 !important;
} */

/* Portrait Image Calibration for Internal Pages */
.page:not(.home) .cop-about-img-col img,
.page:not(.home) .cop-give-intro-img img,
.page:not(.home) .cop-history-frame img,
.page:not(.home) .cop-image-asymmetric-frame img,
.page:not(.home) .cop-outreach-frame img,
.page:not(.home) .cop-children-frame img,
.page:not(.home) .cop-vbs-frame img,
.page:not(.home) .cop-ministry-frame img {
    height: 500px !important;
    object-fit: cover !important;
}

/* Form Usability: Left-Aligned Labels */
.cop-forminator-wrapper label,
.cop-form-render-box label,
.forminator-label,
label {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Form Hero Padding Enhancement */
.cop-form-page .cop-hero-section {
    padding: 40px 0 20px !important;
    min-height: 20vh !important;
    max-height: none !important;
}

/* Typography Mastery */
.cop-kicker { font-family: var(--cop-font-main); color: var(--cop-accent-light); font-weight: 400; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; font-size: 1.1rem; display: block; }
.cop-section-title { font-family: var(--cop-font-main); color: var(--cop-accent); font-size: var(--cop-heading-2); font-weight: 800; line-height: 1.1; margin-bottom: 35px; text-transform: uppercase; }
.cop-section-desc { font-family: var(--cop-font-main); color: var(--cop-text-light); line-height: 1.8; font-size: 1.15rem; margin-bottom: 40px; text-align: justify; }

/* Buttons (Calibrated) */
.cop-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 54px; 
    padding: 0 45px; 
    border-radius: 50px; 
    text-transform: uppercase; 
    font-weight: 400; 
    font-family: var(--cop-font-main);
    letter-spacing: 1.5px; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    font-size: 1.1rem; 
    cursor: pointer; 
    border: 1px solid transparent;
}
.cop-btn::after { 
    content: '\f061'; 
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif; 
    font-weight: 900; 
    margin-left: 12px; 
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Welcome Section Button Override (Small Radius) */
.cop-welcome-figma .cop-btn { border-radius: 8px; }

.cop-btn-primary { background: linear-gradient(135deg, var(--cop-accent), var(--cop-accent-light)); color: white; border: none; }
.cop-hero-spectacular .cop-btn-primary:hover { background: #fff !important; color: var(--cop-accent) !important; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.cop-btn-primary:hover { opacity: 0.9; transform: translateX(5px); color: white; box-shadow: 0 10px 30px rgba(133, 44, 216, 0.3); }

/* Giving Section Button (Green + Small Radius) */
.cop-cta-giving .cop-btn { 
    background: var(--cop-accent-green); 
    color: #fff; 
    border-radius: 8px; 
}
.cop-cta-giving .cop-btn:hover { 
    background: #7DA61A; /* Slightly darker green */
    transform: translateX(5px); 
}

.cop-btn-outline { background: transparent; border: 1px solid var(--cop-accent-light); color: white; }
.cop-welcome-figma .cop-btn-outline { color: var(--cop-accent); }
.cop-btn-outline:hover { background: var(--cop-accent-light); color: white; transform: translateX(5px); }

/* Global Split Layout */
.cop-split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.cop-split-layout.align-items-center { align-items: center; }
.cop-split-content-col { position: relative; z-index: 2; }
.cop-split-img-col { position: relative; z-index: 1; }

@media (max-width: 1100px) {
    .cop-split-layout { grid-template-columns: 1fr; gap: 60px; text-align: center; }
}

/* Event Details Structural Grid */
.cop-details-grid { 
    display: grid; 
    grid-template-columns: 7fr 3fr; 
    gap: 60px; 
    align-items: start; 
}
.cop-details-main, .cop-details-sidebar { min-width: 0; }
.cop-event-rich-text { 
    font-family: var(--cop-font-main); 
    line-height: 1.8; 
    color: #444; 
    font-size: 1.1rem; 
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}
.cop-event-rich-text p { margin-bottom: 25px; }

.cop-kicker-badge { 
    display: inline-block; 
    background: var(--cop-accent-light); 
    color: white; 
    padding: 6px 15px; 
    font-size: 0.75rem; 
    font-weight: 800; 
    border-radius: 4px; 
    letter-spacing: 1.5px; 
    margin-bottom: 25px; 
}

/* Global Hero & Badge Refinements for Inner Pages */
body:not(.home) .cop-hero-title span { color: var(--cop-accent-light) !important; }
.action-tag, .cop-safety-tag, .age-badge { background: var(--cop-gold) !important; color: var(--cop-primary) !important; font-weight: 900; }

@media (max-width: 1100px) {
    .cop-details-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Blog Details Structural Fixes */
.cop-blog-article-premium { 
    position: relative; 
    z-index: 5; 
    margin-top: -100px; 
    padding-bottom: 120px;
}
.cop-article-container { 
    max-width: 1000px; 
    margin: 0 auto; 
    background: #fff; 
    padding: 80px; 
    border-radius: 40px; 
    box-shadow: 0 40px 100px rgba(10,25,47,0.1);
    min-width: 0; /* Prevents flex/grid blowouts */
}
.cop-article-body { 
    font-family: var(--cop-font-main); 
    line-height: 1.8; 
    color: #444; 
    font-size: 1.15rem; 
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
}
.cop-article-body p { margin-bottom: 30px; }
.cop-article-body img { max-width: 100%; height: auto; border-radius: 20px; }

@media (max-width: 768px) {
    .cop-article-container { padding: 40px 25px; border-radius: 30px; margin: 0 15px; }
    .cop-blog-article-premium { margin-top: -50px; }
}



/* ==========================================================================
   Navigation Styles
   ========================================================================== */
    /* Hero Premium Swiper */
    .cop-hero-spectacular { padding: 0 !important; margin: 0 !important; overflow: hidden !important; height: 100vh; height: 100dvh; position: relative; }
    
    /* Hero Premium Swiper */
    .cop-hero-swiper { position: relative; width: 100% !important; height: 100% !important; display: flex; align-items: center; justify-content: center; overflow: hidden !important; background: #0A192F; margin: 0 !important; padding: 0 !important; }
    .cop-hero-slide { position: relative; width: 100% !important; height: 100% !important; display: flex; align-items: center; justify-content: center; overflow: hidden !important; background: #0A192F; margin: 0 !important; padding: 0 !important; }
    
    .cop-hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden; line-height: 0; margin: 0; padding: 0; }
    
    .cop-hero-video { 
        position: absolute; 
        top: 50%; 
        left: 50%; 
        width: 100vw; 
        height: 100vh; 
        height: 100dvh; 
        transform: translate(-50%, -50%) scale(1.1); /* Aggressive scale to ensure no gaps */
        object-fit: cover; 
        z-index: 1; 
        border: none;
        vertical-align: middle;
        margin: 0 !important;
        padding: 0 !important;
        max-width: none !important;
        max-height: none !important;
        min-width: 100vw !important;
        min-height: 100vh !important;
    }
    
    .cop-hero-img-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
        margin: 0 !important;
    }

    /* Robust YouTube Cover Logic */
    @media (min-aspect-ratio: 16/9) {
        .cop-hero-video { height: 60vw; }
    }
    @media (max-aspect-ratio: 16/9) {
        .cop-hero-video { width: 185vh; }
    }

    .cop-hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; 
        background: radial-gradient(circle at center, rgba(10, 25, 47, 0.3) 0%, rgba(10, 25, 47, 0.8) 100%); 
    }
.cop-hero-container { position: relative; z-index: 3; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 50px; text-align: left; }
.cop-hero-section .cop-hero-container { padding-top: 220px; padding-bottom: 80px; }
.cop-hero-content { max-width: 1200px; margin: 0 auto; }
.cop-hero-kicker { display: inline-block; color: white; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 20px; opacity: 0; transform: translateY(20px); transition: all 1s ease 0.3s; }
body:not(.home) .cop-hero-kicker { color: var(--cop-gold); }
.cop-hero-title { 
    font-family: var(--cop-font-main);
    color: white; 
    font-size: clamp(2rem, 6vw, 4.2rem); 
    font-weight: 900; 
    line-height: 1.05; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 1s ease 0.5s; 
    max-width: 1000px; 
    margin-inline: 0; /* Left aligned */
    text-align: left; /* Left aligned */
}
.cop-hero-title span { font-weight: 400 !important; } /* Last word regular font */
.cop-hero-desc { color: rgba(255,255,255,0.9); font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.5; margin-bottom: 30px; max-width: 800px; margin-inline: 0; text-align: left; opacity: 0; transform: translateY(40px); transition: all 1s ease 0.7s; }
.cop-hero-actions { opacity: 0; transform: translateY(20px); transition: all 1s ease 0.9s; }

/* Internal Page Hero Standards */
.cop-hero-section { 
    position: relative; 
    min-height: 50vh; /* Standardized height */
    display: flex; 
    align-items: center; 
    justify-content: flex-start; /* Left aligned content */
    text-align: left; /* Left aligned content */
    background-color: #0A192F; 
    background-size: cover; 
    background-position: center; 
    padding: 120px 0 80px; 
    overflow: hidden; 
}

/* Compact Hero Standard for Inner Pages */
body:not(.home) .cop-hero-section {
    min-height: 50vh;
}

.cop-about-hero .cop-hero-kicker { display: none !important; }
.cop-hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.8)); 
    z-index: 1; 
}

/* Premium Decorations System */
.cop-img-decor-wrap { position: relative; padding: 40px; }
.cop-img-decor-dots { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 120px; 
    height: 180px; 
    background-image: radial-gradient(rgba(224, 169, 109, 0.3) 2.5px, transparent 2.5px); 
    background-size: 22px 22px; 
    z-index: 1; 
}
.cop-img-decor-box { 
    position: absolute; 
    border: 3px solid transparent; 
    border-radius: 15px; 
    z-index: 3; 
    pointer-events: none;
}
.cop-img-decor-box.purple { width: 100px; height: 100px; top: -10px; right: 20px; border-color: var(--cop-accent-light); opacity: 0.4; border-radius: 30px; }
.cop-img-decor-box.blue { width: 120px; height: 150px; bottom: 20px; left: -10px; border-color: var(--cop-accent); opacity: 0.3; border-radius: 20px; }
.cop-img-decor-box.red { width: 60px; height: 60px; bottom: 80px; right: -10px; border-color: var(--cop-accent-light); opacity: 0.2; border-radius: 10px; }

/* Ghost Typography Standard */
.cop-ghost-text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 15vw; 
    font-weight: 900; 
    color: transparent; 
    -webkit-text-stroke: 2.5px rgba(0, 0, 0, 0.08); 
    text-transform: uppercase; 
    white-space: nowrap; 
    pointer-events: none; 
    z-index: 0; 
    font-family: var(--cop-font-main);
    line-height: 1;
}

.swiper-slide-active .cop-hero-kicker,
.swiper-slide-active .cop-hero-title,
.swiper-slide-active .cop-hero-desc,
.swiper-slide-active .cop-hero-actions,
.cop-page-hero .cop-hero-kicker,
.cop-page-hero .cop-hero-title,
.cop-page-hero .cop-hero-desc { opacity: 1; transform: translateY(0); }

/* Spectacular Swiper Arrows */
.cop-hero-swiper .swiper-button-next,
.cop-hero-swiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white; /* White icon color */
    transition: all 0.3s ease;
}

.cop-hero-swiper .swiper-button-next:after,
.cop-hero-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: 900;
}

.cop-hero-swiper .swiper-button-next:hover,
.cop-hero-swiper .swiper-button-prev:hover {
    background: #291040;
    color: white !important;
    transform: scale(1.1);
}

.cop-hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.cop-hero-swiper .swiper-pagination-bullet-active {
    background: var(--cop-accent);
    transform: scale(1.3);
}
/* Aggressive Breakout for Hero */
.elementor-widget-cop_hero_video_carousel {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.elementor-widget-cop_hero_video_carousel .elementor-widget-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   Figma Redesign: Welcome Section (Calibrated)
   ========================================================================== */
.cop-welcome-figma { padding: 100px 0 180px; background: #fff; position: relative; overflow: hidden; }
.cop-welcome-ghost { position: absolute; top: 10px; left: 50px; width: auto; font-size: 220px; font-weight: 900; text-transform: uppercase; line-height: 0.8; pointer-events: none; z-index: 0; font-family: var(--cop-font-main); -webkit-text-stroke: 3px rgba(0,0,0,0.05); color: transparent; text-align: left; opacity: 0.6; }

.cop-welcome-header { position: relative; z-index: 2; text-align: center; max-width: 1200px; margin: 0 auto 100px; padding: 0 50px; }
.cop-welcome-intro { font-family: var(--cop-font-main); color: #333; font-size: 1.4rem; font-weight: 500; margin-bottom: 30px; max-width: 800px; margin-inline: auto; line-height: 1.4; }
.cop-welcome-subtitle { font-family: var(--cop-font-nixie); color: #c59218; font-size: 1.8rem; letter-spacing: 5px; font-weight: 400; text-transform: uppercase; }

.cop-welcome-container { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 0 50px; }

.cop-welcome-title { font-family: var(--cop-font-main); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; white-space: nowrap; }
.cop-welcome-title .bold-red { 
    background: linear-gradient(-76deg, #291040 0%, #852CD8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900; 
}
.cop-welcome-title .thin-grey { color: #333; font-weight: 300; }

.cop-welcome-main-text { font-family: var(--cop-font-main); color: #666; font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; text-align: justify; }

.cop-vision-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.cop-vm-kicker { font-family: var(--cop-font-condensed); color: var(--cop-accent); font-weight: 400; font-size: 1.2rem; display: block; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.cop-vm-desc { font-family: var(--cop-font-main); color: #666; font-size: 1.05rem; line-height: 1.6; text-align: justify; }

.cop-welcome-img-wrapper { position: relative; padding: 0 0 50px 50px; }
.cop-welcome-img { border-radius: 40px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.1); position: relative; z-index: 5; }
.cop-welcome-img img { width: 100%; display: block; height: 750px; object-fit: cover; }

/* Decorative Elements (Exact Match to Image) */
.cop-decor-dots { 
    position: absolute; 
    top: 5%; 
    left: -20px; 
    width: 200px; 
    height: 200px; 
    background-image: radial-gradient(var(--cop-accent) 4px, transparent 4px); 
    background-size: 32px 32px; 
    z-index: 6; 
    opacity: 0.6;
}
.cop-decor-outline { position: absolute; border-radius: 30px; border: 2.5px solid transparent; z-index: 2; }

.purple-box { width: 120px; height: 120px; top: -30px; right: -30px; border-color: var(--cop-decor-purple); z-index: 6; }
.blue-box { width: 130px; height: 160px; bottom: 200px; left: -20px; border-color: var(--cop-decor-blue); z-index: 4; }
.red-box { width: 80px; height: 80px; bottom: 160px; left: 15px; border-color: var(--cop-decor-red); z-index: 6; }
.grey-box { width: 220px; height: 240px; bottom: -60px; left: 60px; border-color: var(--cop-decor-grey); z-index: 3; }

/* ==========================================================================
   Service Times (Premium Glass Card)
   ========================================================================== */
.cop-service-times { padding: 120px 0; background: var(--cop-primary); position: relative; }
.cop-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 50px; }
.cop-service-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 60px 40px; border-radius: 40px; backdrop-filter: blur(10px); transition: all 0.4s ease; text-align: center; }
.cop-service-card:hover { transform: translateY(-15px); border-color: var(--cop-accent); background: rgba(224, 169, 109, 0.05); }
.cop-service-icon { font-size: 3rem; color: var(--cop-accent); margin-bottom: 30px; }
.cop-service-day { color: white; font-size: 1.8rem; font-weight: 900; margin-bottom: 15px; }
.cop-service-time { color: var(--cop-accent); font-size: 1.2rem; font-weight: 700; letter-spacing: 2px; }

/* ==========================================================================
   Grid Sections (Ministries, Groups)
   ========================================================================== *//* Full Width Video Section */
.cop-video-section-wrapper { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; background: #fff; }
.cop-video-wrapper-premium { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ overflow: hidden; box-shadow: 0 50px 100px rgba(0,0,0,0.1); }
.cop-video-wrapper-premium iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Service Times (Calibrated with Border Box) */
.cop-weekly-figma { padding: 80px 0; background: #fff; position: relative; }
.cop-weekly-outer-container { max-width: 1400px; margin: 0 auto; padding: 0 50px; }
.cop-weekly-border-box { position: relative; border: 2.5px solid rgba(33, 43, 50, 0.15); border-radius: 40px; padding: 50px 50px 70px; background: #fff; }
.cop-weekly-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 60px; text-align: center; }
.cop-weekly-item { padding: 0 20px; border-right: 1px solid #EEE; }
.cop-weekly-item:last-child { border-right: none; }
.cop-weekly-title { font-family: var(--cop-font-main); font-size: 1.8rem; font-weight: 800; margin-bottom: 15px; color: var(--cop-accent); text-transform: uppercase; }
.cop-weekly-desc { font-family: var(--cop-font-main); font-size: 1.05rem; line-height: 1.6; color: #666; margin-bottom: 0; }

.cop-weekly-welcome-script { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-family: var(--cop-font-accent); color: var(--cop-accent); font-size: 4.5rem; background: #fff; padding: 0 40px; white-space: nowrap; z-index: 2; line-height: 1; }

/* Secondary Links */
.cop-link-underlined { font-family: var(--cop-font-main); color: var(--cop-accent); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; text-decoration: none; letter-spacing: 2px; position: relative; padding-bottom: 5px; }
.cop-link-underlined::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--cop-accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.cop-link-underlined:hover::after { transform: scaleX(1); transform-origin: left; }

/* Pastor Section (Calibrated) */
.cop-pastor-figma { padding: 140px 0 0; background: #fff; position: relative; overflow: visible; z-index: 1; }
.cop-pastor-ghost { position: absolute; top: 5%; left: 0; width: 80%; font-size: clamp(100px, 28vw, 550px); font-weight: 900; -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.573); color: transparent; text-transform: uppercase; line-height: 0.8; pointer-events: none; z-index: 0; font-family: var(--cop-font-main); text-align: center; white-space: nowrap; }
.cop-pastor-container { position: relative; z-index: 2; max-width: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; }
.cop-pastor-img-wrapper { position: relative; width: 100%; max-width: 100%; margin-bottom: -180px; transform: translateY(-30px); }
.cop-pastor-img { border-radius: 0; overflow: visible; width: 100%; position: relative; z-index: 2; }
.cop-pastor-img img { width: 100%; display: block; filter: drop-shadow(0 50px 100px rgba(0,0,0,0.15)); }

.cop-pastor-signature-img { 
    position: absolute; 
    bottom: 55%; 
    left: 10%; 
    z-index: 10; 
    width: 300px; 
    pointer-events: none;
    transform: rotate(-2deg);
}
.cop-pastor-signature-img img { width: 100%; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }

.cop-pastor-profile-btn {
    position: absolute;
    right: 15%;
    bottom: 60%;
    z-index: 15;
    border: 1px solid rgba(33, 43, 50, 0.25);
    color: #444;
    padding: 14px 35px;
    font-family: var(--cop-font-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cop-primary-menu ul.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--cop-accent-light);
}

.cop-pastor-profile-btn:hover {
    background: rgba(33, 43, 50, 0.05);
    border-color: #000;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    .cop-pastor-img-wrapper { margin-bottom: 40px; transform: none; }
    .cop-pastor-signature-img { position: relative; left: 0; bottom: 0; width: 250px; margin: 20px auto; transform: none; }
    .cop-pastor-profile-btn {
        position: relative;
        right: auto;
        bottom: auto;
        display: inline-block;
        margin-top: 30px;
        transform: none !important;
    }
}

/* Connected & Online Giving (New) */
.cop-home-split-cta { display: grid; grid-template-columns: 1fr 1.5fr; min-height: 400px; position: relative; z-index: 10; background: #fff; overflow: visible; }
.cop-cta-connected { background: #291040; padding: 80px; display: flex; flex-direction: column; justify-content: flex-start; color: white; position: relative; overflow: hidden; }
.cop-cta-giving { background: #EAD0F7; padding: 80px; display: flex; align-items: center; justify-content: space-between; position: relative; overflow: visible; }

.cop-connected-ghost { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--cop-font-main); font-size: 8rem; font-weight: 900; -webkit-text-stroke: 1.5px rgba(255,255,255,0.1); color: transparent; pointer-events: none; z-index: 0; text-transform: uppercase; white-space: nowrap; }
.cop-connected-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.cop-connected-title { font-family: var(--cop-font-main); text-transform: uppercase; line-height: 0.7; margin-bottom: 0; text-align: left; }
.cop-connected-title .stay { font-size: 6.5rem; font-weight: 900; letter-spacing: 5px; color: transparent; -webkit-text-stroke: 2.5px white; display: block; margin-bottom: -15px; }
.cop-connected-title .connected { font-family: var(--cop-font-main); font-size: 3.5rem; font-weight: 400; color: white; letter-spacing: 2px; display: block; }

.cop-connected-socials { display: flex; gap: 50px; font-size: 2.5rem; justify-content: center; margin-top: auto; padding-top: 40px; }
.cop-connected-socials a { color: white; transition: 0.3s; }
.cop-connected-socials a:hover { color: var(--cop-gold); transform: scale(1.1); }

.cop-giving-card-title { font-family: var(--cop-font-accent) !important; color: #291040; font-size: 3.5rem; margin-bottom: 30px; line-height: 1.2; text-transform: none; }
.cop-btn-giving-card { background: #291040 !important; color: white !important; padding: 0 50px; min-width: 180px; }
.cop-btn-giving-card::after { display: none !important; }
.cop-giving-img { position: absolute; right: -50px; bottom: -40px; width: 450px; opacity: 1; z-index: 15; pointer-events: none; }

/* Upcoming Events (Calibrated) */
.cop-events-section { padding: 70px 0; background: #fff; position: relative; }
.cop-events-title { font-family: var(--cop-font-main); font-size: 6rem; font-weight: 900; margin-bottom: 80px; text-align: center; line-height: 1; }
.cop-events-title .ghost { -webkit-text-stroke: 2px #EEE; color: transparent; text-transform: uppercase; margin-right: 20px; }
.cop-events-title .solid { color: #212B32; text-transform: uppercase; }

.cop-grid-section { padding: 10px 0; background: #F8F9FA; }
.cop-grid-header { text-align: center; max-width: 800px; margin: 0 auto 80px; padding: 0 30px; }
.cop-grid-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1300px; margin: 0 auto; padding: 0 50px; }
.cop-grid-card { background: white; border-radius: 35px; overflow: hidden; box-shadow: 0 20px 50px rgba(10, 25, 47, 0.05); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); }
.cop-grid-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(10, 25, 47, 0.12); }
.cop-grid-img { height: 320px; overflow: hidden; }
.cop-grid-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.cop-grid-card:hover .cop-grid-img img { transform: scale(1.1); }
.cop-grid-content { padding: 45px; }
.cop-grid-card-title { color: var(--cop-primary); font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }

/* ==========================================================================
   Full Width CTA
   ========================================================================== */
.cop-cta-section { padding: 180px 0; background-size: cover; background-position: center; background-attachment: fixed; position: relative; text-align: center; color: white; }
.cop-cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.85); z-index: 1; }
.cop-cta-container { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; padding: 0 40px; }

/* ==========================================================================
   Upcoming Events (Redesigned)
   ========================================================================== */
.cop-home-events { position: relative; padding: 100px 0 !important; overflow: hidden; }
.cop-events-bg-text { 
    position: absolute;
    top: -20px; 
    left: 30px; 
    width: auto;
    font-family: var(--cop-font-main); 
    font-size: clamp(5rem, 12vw, 15rem); 
    font-weight: 900; 
    line-height: 0.8; 
    text-transform: uppercase; 
    z-index: 0; 
    pointer-events: none;
    opacity: 0.05;
    -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.159);
    color: transparent;
    text-align: left;
    letter-spacing: -2px;
    white-space: nowrap;
}

.cop-events-title { 
    position: relative;
    z-index: 10;
    font-family: var(--cop-font-main); 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    font-weight: 900; 
    line-height: 1; 
    text-transform: uppercase; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 20px;
}
.cop-events-title .solid { -webkit-text-stroke: 1.5px #333; color: transparent; }
.cop-events-title .ghost { color: #333; font-weight: 400; -webkit-text-stroke: 0; position: relative; z-index: 10; }

.cop-events-row { 
    display: flex; 
    flex-direction: row; 
    flex-wrap: nowrap; 
    gap: 40px; 
    width: 100%; 
    /* max-width: 1400px;  */
    margin: 0 auto; 
    align-items: flex-start; 
}
.cop-events-row > div { min-width: 0; }

@media (max-width: 1300px) {
    .cop-events-row { grid-template-columns: 1fr; max-width: 800px; }
}
.cop-event-card-wrapper { position: relative; display: flex; align-items: flex-start; gap: 30px; }
.cop-event-card-flex { display: flex; align-items: flex-start; gap: 25px; flex: 1; overflow: hidden; }

/* Date Block */
.cop-event-date-block { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    min-width: 90px; 
    color: #000; 
    font-family: var(--cop-font-main); 
    text-transform: uppercase; 
    margin-top: 5px;
}
.cop-event-date-block .month { font-size: 1rem; font-weight: 400; letter-spacing: 2px; }
.cop-event-date-block .day { font-size: 4rem; font-weight: 900; line-height: 0.8; margin: 2px 0; }
.cop-event-date-block .weekday { font-size: 1rem; font-weight: 600; letter-spacing: 1px; color: #444; }

/* Image */
.cop-event-image { width: 220px; height: 220px; border-radius: 25px; overflow: hidden; flex-shrink: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.cop-event-image img { width: 100%; height: 100%; object-fit: cover; }

/* Content */
.cop-event-info { flex: 1; min-width: 0; font-family: var(--cop-font-main); }
.cop-event-card-title { 
    font-size: 1.5rem; 
    font-weight: 400; 
    text-transform: uppercase; 
    margin-bottom: 12px; 
    color: #000; 
    line-height: 1.2; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}
.cop-event-card-excerpt { font-size: 0.9rem; color: #666; line-height: 1.5; margin-bottom: 15px; }
.cop-event-card-meta { font-size: 0.85rem; color: #000; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* Button (Small Radius) */
.cop-event-btn { 
    display: inline-block; 
    padding: 12px 30px; 
    border: 1px solid #DDD; 
    border-radius: 8px; 
    text-transform: uppercase; 
    font-weight: 800; 
    font-size: 0.85rem; 
    color: #444; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.cop-event-btn:hover { background: #F5F5F5; border-color: #BBB; transform: translateY(-2px); }

/* Divider */
.cop-event-divider { width: 1px; height: 180px; background: #EEE; flex-shrink: 0; }

@media (max-width: 991px) {
    .cop-welcome-header { padding: 0 20px; margin-bottom: 60px; }
    .cop-welcome-container { grid-template-columns: 1fr; text-align: center; gap: 60px; padding: 0 20px; }
    .cop-vision-mission-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .cop-welcome-ghost { font-size: 100px; top: 10%; }
    .cop-welcome-img-wrapper { max-width: 500px; margin: 0 auto; padding: 0; }
    .cop-actions { flex-direction: column; align-items: center; width: 100%; gap: 15px; }
    .cop-actions .cop-btn { width: 100%; max-width: 300px; }
    .cop-pastor-container { grid-template-columns: 1fr; text-align: center; }
    .cop-pastor-img-wrapper { max-width: 100%; margin: 0 auto; }
    .cop-pastor-name-script { position: static; font-size: 3.5rem; text-align: center; margin-top: 20px; transform: none; display: block; background-position: bottom center; }
    .cop-pastor-role { position: static; text-align: center; transform: none; margin-top: 5px; display: block; }
    .cop-weekly-border-box { padding: 60px 30px 80px; }
    .cop-weekly-grid { grid-template-columns: 1fr; }
    .cop-weekly-item { border-right: none; border-bottom: 1px solid #EEE; padding-right: 0; padding-bottom: 40px; }
    .cop-home-split-cta { grid-template-columns: 1fr; }
    .cop-cta-connected { padding: 60px 20px; text-align: center; }
    .cop-connected-title .stay { font-size: clamp(3rem, 15vw, 4.5rem); }
    .cop-connected-title .connected { font-size: clamp(2rem, 10vw, 2.5rem); }
    .cop-connected-socials { justify-content: center; }

    .cop-cta-giving { padding: 60px 20px 280px; flex-direction: column; text-align: center; }
    .cop-giving-content { position: relative; z-index: 2; width: 100%; }
    .cop-giving-img { width: 280px; right: -60px; bottom: -20px; }
    .cop-weekly-welcome-script { font-size: clamp(1.8rem, 7vw, 2.8rem); padding: 0 15px; bottom: -25px; white-space: normal; width: 90%; }
    
    .cop-video-actions-pill { flex-direction: column; width: 100%; padding: 0 20px; gap: 15px; }
    .cop-video-actions-pill .cop-btn { width: 100%; max-width: 400px; margin: 0 auto; padding: 0 20px; font-size: 0.9rem; min-height: 50px; }
    .cop-video-actions-pill .cop-btn-outline { background: #fff !important; color: var(--cop-accent) !important; border: none !important; }
}

@media (max-width: 1200px) {
    .cop-events-row { grid-template-columns: 1fr; gap: 80px; justify-items: center; }
    .cop-event-card-wrapper { width: 100%; max-width: 700px; }
    .cop-event-divider { display: none; }
}
@media (max-width: 768px) {
    .cop-event-card-flex { flex-direction: column; text-align: center; }
    .cop-event-image { width: 100%; max-width: 300px; }
    .cop-welcome-figma { padding: 80px 0; }
    .cop-welcome-subtitle { font-size: 1rem; letter-spacing: 5px; }
    .cop-welcome-title { font-size: 2.2rem; }
    .cop-welcome-intro { font-size: 1.1rem; }
    .cop-pastor-ghost { display: none; }
    .cop-welcome-ghost { display: none; }
    .cop-events-title { font-size: 2.2rem; flex-direction: column; gap: 10px; }
    .cop-events-title .ghost { display: block; margin-right: 0; }
    
    .cop-events-row { flex-direction: column !important; gap: 40px !important; }
    .cop-event-card-flex { flex-direction: column !important; text-align: center !important; align-items: center !important; gap: 20px !important; }
    .cop-event-image { width: 100% !important; max-width: 100% !important; height: 250px !important; margin: 0 auto !important; }
    .cop-event-date-block { margin-bottom: 10px !important; }
    .cop-event-divider { display: none !important; }
    
    .cop-connected-title .stay { font-size: 3.5rem; -webkit-text-stroke: 1.5px #000; }
    .cop-connected-title .connected { font-size: 2.2rem; }
    .cop-connected-socials { font-size: 2rem; gap: 20px; }
    .cop-cta-connected, .cop-cta-giving { padding: 60px 25px; }

    /* Hero Responsive Fix */
    .cop-hero-container { padding: 140px 25px 60px; }
    .cop-hero-kicker { font-size: 0.9rem; letter-spacing: 1px; }
    .cop-hero-actions { flex-direction: column; width: 100%; }
    .cop-hero-actions .cop-btn { width: 100%; }
    
    /* Events Button Mobile Scaling */
    .cop-home-events .cop-btn { 
        width: auto !important; 
        min-height: 48px !important; 
        padding: 0 30px !important; 
        font-size: 0.95rem !important; 
        margin-top: 40px !important;
    }
}
/* New Footer Styles */
.cop-new-footer { background: #291040; color: white; padding: 0; position: relative; }
.cop-footer-top-wrap { padding: 100px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cop-footer-main-container { max-width: 1400px; margin: 0 auto; padding: 0 50px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.cop-footer-branding { display: flex; align-items: center; gap: 30px; }
.cop-footer-logo-box img { height: 70px; width: auto; }
.cop-footer-brand-title { font-family: var(--cop-font-main); font-size: 1.8rem; font-weight: 900; letter-spacing: 2px; margin: 0; }
.cop-footer-brand-sub { font-family: var(--cop-font-main); font-size: 0.8rem; font-weight: 400; margin: 5px 0 0; opacity: 0.6; letter-spacing: 2px; }
.cop-footer-separator { width: 1px; height: 80px; background: rgba(255,255,255,0.1); margin: 0; }
.cop-footer-info-box p { font-family: var(--cop-font-main); font-size: 1rem; line-height: 1.8; margin-bottom: 5px; color: rgba(255,255,255,0.8); }

.cop-footer-bottom-wrap { padding: 40px 0; background: rgba(0,0,0,0.1); }
.cop-footer-bottom-container { max-width: 1400px; margin: 0 auto; padding: 0 50px; text-align: center; }
.cop-footer-bottom-container p { font-family: var(--cop-font-main); font-size: 0.85rem; color: rgba(255,255,255,0.4); margin: 0; }
.cop-footer-bottom-container a { color: white; text-decoration: none; font-weight: 600; transition: 0.3s; }
.cop-footer-bottom-container a:hover { color: var(--cop-accent); }

@media (max-width: 991px) {
    .cop-footer-main-container { flex-direction: column; text-align: center; gap: 40px; }
    .cop-footer-branding { flex-direction: column; gap: 20px; }
    .cop-footer-separator { display: none; }
}
