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

        :root {
            --primary: #ff4444;
            --secondary: #ff9944;
            --dark: #1a1a1a;
            --light: #ffffff;
            --gray: #f5f5f5;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

        /* Navigation */
        .kcn-primary-nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
        }

        .kcn-primary-nav .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .kcn-primary-nav .logo {
            height: 50px;
        }

        .kcn-primary-nav ul {
            display: flex;
            list-style: none;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .kcn-primary-nav a {
            color: var(--light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

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

        /* Hero Section */
        #home {
            background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
            color: var(--light);
            padding: 120px 2rem 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        #home::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(135deg, rgba(255,68,68,0.1) 0%, rgba(255,153,68,0.1) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="200" cy="150" r="100" fill="rgba(255,68,68,0.05)"/><circle cx="800" cy="400" r="150" fill="rgba(255,153,68,0.05)"/><circle cx="1000" cy="200" r="80" fill="rgba(255,68,68,0.05)"/></svg>');
            background-size: cover;
            opacity: 0.5;
            z-index: 0;
        }

        .background-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            opacity: 0.35;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-logo {
            max-width: 400px;
            margin-bottom: 2rem;
        }

        .hero-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin: 3rem auto 0;
            max-width: 900px;
        }

        .hero-gallery-item {
            height: 150px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .hero-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .hero-gallery-item:hover img {
            transform: scale(1.1);
        }

        h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .tagline {
            font-size: 1.3rem;
            font-style: italic;
            margin-bottom: 2rem;
            color: #ddd;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-top: 2rem;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: inline-block;
        }

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

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(255,68,68,0.3);
        }

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

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

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 80px 2rem;
        }

        h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-align: center;
            color: var(--dark);
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 3rem;
        }

        /* About Section */
        #about {
            background: var(--gray);
        }

        .about-intro {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-bottom: 5rem;
            align-items: center;
        }

        .about-image-wrapper {
            position: relative;
        }

        .about-main-image {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
        }

        .about-text h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .about-text p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1rem;
            color: #555;
        }

        .pioneer-section {
            background: var(--light);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            margin-bottom: 4rem;
        }

        .pioneer-content {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 3rem;
            align-items: start;
        }

        .pioneer-image {
            width: 100%;
            height: 350px;
            object-fit: cover;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(255,68,68,0.3);
        }

        .pioneer-bio h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        .pioneer-bio .title {
            font-size: 1.2rem;
            color: var(--secondary);
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .pioneer-bio p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #555;
            margin-bottom: 1rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        .about-card {
            background: var(--light);
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            position: relative;
            overflow: hidden;
        }

        .about-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
        }

        .about-card:hover {
            transform: translateY(-10px);
        }

        .about-card h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }

        .about-card h3 i {
            margin-right: 0.5rem;
        }

        /* Services Section */
        #services {
            background: var(--light);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-card {
            background: linear-gradient(135deg, var(--dark), #2a2a2a);
            color: var(--light);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s;
        }

        .service-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(255,68,68,0.3);
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        /* Locations Section */
        #locations {
            background: var(--gray);
        }

        .locations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .location-card {
            background: var(--light);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
        }

        .location-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        /* Events Section */
        #events {
            background: var(--light);
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        /* Store Section */
        #store {
            background: var(--gray);
        }

        .store-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .store-item {
            background: var(--light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s;
            cursor: pointer;
            text-align: center;
        }

        .store-item:hover {
            transform: translateY(-10px);
        }

        .store-item-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--light);
        }

        .store-item-content {
            padding: 1.5rem;
        }

        .store-item h3 {
            color: var(--dark);
            margin-bottom: 0.5rem;
        }

        /* Give Section */
        #give {
            background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
            color: var(--light);
        }

        #give h2 {
            color: var(--light);
        }

        .give-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .give-card {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            border: 2px solid rgba(255,255,255,0.2);
            text-align: center;
            transition: all 0.3s;
        }

        .give-card:hover {
            background: rgba(255,255,255,0.15);
            transform: translateY(-5px);
        }

        .give-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
        }

        .give-card h3 i {
            margin-right: 0.5rem;
        }

        /* Newsletter Section */
        #newsletter {
            background: var(--primary);
            color: var(--light);
            text-align: center;
        }

        #newsletter h2 {
            color: var(--light);
        }

        .newsletter-form {
            max-width: 600px;
            margin: 2rem auto;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .newsletter-form input {
            flex: 1;
            min-width: 250px;
            padding: 1rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
        }

        .newsletter-form button {
            padding: 1rem 2rem;
            background: var(--dark);
            color: var(--light);
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .newsletter-form button:hover {
            background: var(--light);
            color: var(--dark);
        }

        /* Contact Section */
        #contact {
            background: var(--gray);
        }

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

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-form input,
        .contact-form textarea {
            padding: 1rem;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 1rem;
            font-family: inherit;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .contact-form textarea {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: var(--light);
            padding: 3rem 2rem 1rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .social-links a {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--light);
            text-decoration: none;
            font-size: 1.5rem;
            transition: all 0.3s;
        }

        .social-links a:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 20px rgba(255,68,68,0.5);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            color: #999;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .about-intro {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .pioneer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .pioneer-image {
                margin: 0 auto;
            }
        }

        @media (max-width: 768px) {
            .kcn-primary-nav ul {
                gap: 1rem;
                font-size: 0.9rem;
            }

            h1 {
                font-size: 2rem;
            }

            h2 {
                font-size: 2rem;
            }

            .hero-logo {
                max-width: 280px;
            }

            .hero-gallery {
                grid-template-columns: 1fr;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .newsletter-form input {
                min-width: 100%;
            }
        }
    
/* KCN Global feature sections */
.kcn-extra { padding: 4rem 2rem; }
.kcn-extra .contact-form { max-width: 700px; margin: 1.5rem auto; display: grid; gap: 1rem; }
.kcn-extra input, .kcn-extra textarea { width:100%; padding: .9rem 1rem; border:1px solid #ddd; border-radius:6px; font:inherit; }
.kcn-extra textarea { min-height:150px; }
.kcn-notice { background:#e9f7ef; color:#14532d; padding:1rem; border-radius:6px; margin:1rem auto; max-width:700px; }
.events-grid, .video-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.5rem; }
.video-card { min-height:150px; background:#202020; color:white; display:flex; align-items:center; justify-content:center; gap:1rem; border-radius:8px; text-decoration:none; font-size:1.1rem; }
.video-card i { color:#ff4444; font-size:2.3rem; }
.newsletter-form small { display:block; flex-basis:100%; color:inherit; opacity:.85; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.video-card img { width:100%; height:100%; max-height:220px; object-fit:cover; border-radius:8px; opacity:.8; } .video-card { position:relative; overflow:hidden; } .video-card i,.video-card span { position:absolute; z-index:1; text-shadow:0 1px 5px #000; } .video-card i { left:calc(50% - 1.15rem); top:calc(50% - 1.15rem); } .video-card span { bottom:1rem; }


/* Refined storefront and dedicated ministry pages */
:root { --primary:#c27a3a; --secondary:#dfb56f; --dark:#14222a; --light:#fff; --gray:#f5f3ef; }
html { scroll-padding-top: 90px; }
body { background:#fbfaf8; color:#25323a; }
.kcn-primary-nav { background:rgba(17,31,39,.97); }
footer a, footer .footer-section a { text-decoration:none !important; border-bottom:0 !important; }
footer a:hover { color:#e4b66f !important; text-decoration:none !important; }
#store { padding:5rem 0; background:linear-gradient(180deg,#f8f6f2,#fff); }
#store .container { max-width:1240px; }
#store h2, #store .section-subtitle { text-align:center; }
.kcn-page-shell { min-height:75vh; padding:8rem 1.25rem 5rem; background:radial-gradient(ellipse at 85% 0%,rgba(194,122,58,.12),transparent 36%),#f6f5f1; }
.kcn-page-card { max-width:980px; margin:0 auto; padding:clamp(1.5rem,5vw,4rem); background:#fff; border:1px solid #ebe7df; border-radius:22px; box-shadow:0 24px 70px rgba(22,35,41,.09); }
.kcn-page-heading { max-width:700px; margin:0 auto 2rem; text-align:center; }
.kcn-page-heading h1 { color:#172b35; font-size:clamp(2.2rem,5vw,3.4rem); line-height:1.1; margin:.65rem 0 1rem; }
.kcn-page-heading p { color:#63717a; font-size:1.08rem; }
.kcn-eyebrow { color:#a7622b; font-size:.75rem; font-weight:800; letter-spacing:.16em; }
.kcn-form { max-width:680px; margin:2rem auto 0; display:grid; gap:1.1rem; }
.kcn-form label { display:grid; gap:.45rem; color:#283941; font-weight:650; }
.kcn-form label span { color:#829098; font-weight:400; }
.kcn-form input,.kcn-form textarea { width:100%; border:1px solid #dce1e2; background:#fcfcfb; border-radius:10px; padding:.9rem 1rem; font:inherit; color:#1c2b33; transition:border-color .18s,box-shadow .18s; }
.kcn-form input:focus,.kcn-form textarea:focus { outline:0; border-color:#b77940; box-shadow:0 0 0 3px rgba(183,121,64,.14); }
.kcn-form textarea { min-height:150px; resize:vertical; }
.kcn-form .btn { justify-self:start; border:0; border-radius:999px; padding:.9rem 1.4rem; font-weight:700; cursor:pointer; }
.kcn-notice { border:1px solid #c8e5d1; }
.kcn-store-empty { padding:3rem 1rem; text-align:center; background:#f8f6f2; border-radius:16px; }
.kcn-store-empty i { color:#b77940; font-size:2.5rem; }
@media(max-width:640px) { .kcn-page-shell { padding-top:6.5rem; } .kcn-page-card { border-radius:16px; } }


/* Blog, Elementor and giving pages */
.hero-content { max-width:1000px; padding-top:clamp(2rem,7vh,5rem); }
#home { min-height:680px; display:flex; align-items:center; justify-content:center; padding-top:130px; }
#home .hero-content h1 { max-width:900px; margin:0 auto 1rem; font-size:clamp(2.7rem,6vw,5rem); line-height:1.04; letter-spacing:-.04em; text-wrap:balance; text-shadow:0 4px 24px rgba(0,0,0,.35); }
#home .tagline { max-width:720px; margin:0 auto 1.5rem; font-size:clamp(1.05rem,2vw,1.35rem); line-height:1.6; text-wrap:balance; }
.kcn-gift-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1rem; margin:2rem 0 3rem; }
.kcn-gift-options a { display:flex; flex-direction:column; gap:.45rem; padding:1.25rem; background:#f8f6f2; border:1px solid #ece5da; border-radius:14px; color:#21323b; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.kcn-gift-options a:hover { transform:translateY(-3px); box-shadow:0 12px 25px rgba(20,34,42,.1); }
.kcn-gift-options strong { font-size:1.08rem; }.kcn-gift-options span { color:#697780; font-size:.92rem; }
.kcn-form-title { max-width:680px; margin:2rem auto 1rem; color:#172b35; }
.kcn-giving-note { max-width:680px; margin:0 auto 1.5rem; color:#63717a; }
.kcn-bank-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.kcn-bank-card { padding:1.25rem; background:#fff; border:1px solid #e9e4dc; border-radius:12px; }
.kcn-bank-card p { margin:.7rem 0 0; white-space:normal; }
.kcn-blog-wrap { max-width:1200px; margin:0 auto; }
.kcn-blog-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.kcn-post-card { overflow:hidden; background:#fff; border:1px solid #ebe7df; border-radius:16px; box-shadow:0 12px 32px rgba(22,35,41,.06); }
.kcn-post-image { display:block; height:230px; background:#e9e6df; }.kcn-post-image img { width:100%; height:100%; object-fit:cover; }
.kcn-post-placeholder { height:100%; display:grid; place-items:center; color:#b77940; font-size:2.5rem; }
.kcn-post-body { padding:1.35rem; }.kcn-post-meta { color:#8a969b; font-size:.8rem; margin-bottom:.6rem; }
.kcn-post-meta a { color:#a7622b; text-decoration:none; }.kcn-post-body h2 { font-size:1.35rem; line-height:1.3; margin:0 0 .7rem; }.kcn-post-body h2 a { color:#1c303a; text-decoration:none; }.kcn-post-body p { color:#65727a; }
.kcn-read-more,.kcn-article-footer a { color:#a7622b; text-decoration:none; font-weight:700; }
.kcn-pagination { margin:2rem 0; }.kcn-pagination .nav-links { display:flex; gap:.5rem; justify-content:center; }
.kcn-pagination a,.kcn-pagination span { padding:.5rem .8rem; border-radius:6px; background:#fff; color:#20333c; text-decoration:none; }
.kcn-article-card { max-width:900px; margin:0 auto; padding:clamp(1.3rem,5vw,4rem); background:#fff; border:1px solid #ebe7df; border-radius:20px; }
.kcn-article-header h1 { margin:1rem 0 1.5rem; font-size:clamp(2rem,5vw,3.6rem); line-height:1.1; color:#172b35; }
.kcn-article-header>img { width:100%; max-height:520px; object-fit:cover; border-radius:12px; }
.kcn-article-content { max-width:720px; margin:2rem auto; font-size:1.08rem; line-height:1.85; }.kcn-article-content img { max-width:100%; height:auto; }
.elementor-page-wrap { min-height:65vh; }.elementor-page-wrap .elementor { width:100%; }
@media(max-width:640px) { #home { min-height:620px; padding-top:110px; } #home .hero-content h1 { font-size:clamp(2.3rem,11vw,3.5rem); } }


/* Dropdown navigation with pointer and keyboard support */
.kcn-primary-nav .container { gap:2rem; }
.kcn-primary-nav .kcn-nav-menu { align-items:center; gap:clamp(.8rem,1.6vw,1.6rem); }
.kcn-primary-nav .kcn-nav-menu > li { position:relative; }
.kcn-primary-nav .kcn-nav-menu > li > a { display:block; padding:.7rem .15rem; white-space:nowrap; }
.kcn-primary-nav .kcn-submenu { display:none; position:absolute; top:100%; left:-.8rem; z-index:1100; min-width:210px; padding:.55rem; gap:.1rem; flex-direction:column; align-items:stretch; flex-wrap:nowrap; background:#14222a; border:1px solid rgba(255,255,255,.1); border-radius:10px; box-shadow:0 14px 32px rgba(0,0,0,.25); }
.kcn-primary-nav .kcn-has-dropdown:hover > .kcn-submenu, .kcn-primary-nav .kcn-has-dropdown:focus-within > .kcn-submenu { display:flex; }
.kcn-primary-nav .kcn-submenu li { width:100%; }
.kcn-primary-nav .kcn-submenu a { display:block; padding:.65rem .8rem; border-radius:6px; white-space:nowrap; }
.kcn-primary-nav .kcn-submenu a:hover, .kcn-primary-nav .kcn-submenu a:focus { background:rgba(255,255,255,.09); }
@media(max-width:768px) { .kcn-primary-nav .container { align-items:flex-start; gap:.7rem; } .kcn-primary-nav .kcn-nav-menu { gap:.45rem .85rem; } .kcn-primary-nav .kcn-submenu { left:0; min-width:190px; } }


/* ===== v2.3.0 additions ===== */
:focus-visible { outline: 3px solid #ff9944; outline-offset: 2px; }
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; margin: 0; padding: 1rem 1.4rem; left: 1rem; top: 1rem; background: #fff; color: #000; z-index: 2000; border-radius: 6px; }

/* honeypot (hidden from people, visible to bots) */
.kcn-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form notices, consent, privacy line */
.kcn-notice-error { background: #fdecea; color: #7a1c14; border: 1px solid #f3c1bc; }
.kcn-consent { display: flex !important; align-items: flex-start; gap: .6rem; font-weight: 400 !important; font-size: .9rem; flex-basis: 100%; text-align: left; }
.kcn-consent input[type=checkbox] { width: auto !important; min-width: 0 !important; flex: none !important; padding: 0 !important; margin-top: .3rem; }
.kcn-consent a, .form-privacy a { text-decoration: underline; }
.form-privacy { font-size: .85rem; color: #6b7a82; margin: 0; }
#newsletter .kcn-consent { color: inherit; opacity: .92; }

/* hero video control + gallery with fewer photos */
.hero-video-toggle { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.hero-video-toggle:hover { background: rgba(0,0,0,.8); }
.hero-gallery.has-1 { grid-template-columns: 1fr; max-width: 420px; }
.hero-gallery.has-1 .hero-gallery-item { height: 220px; }
.hero-gallery.has-2 { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
@media (max-width: 768px) { .hero-gallery.has-2, .hero-gallery.has-3 { grid-template-columns: 1fr; } }
.about-intro.no-image { grid-template-columns: 1fr; max-width: 800px; margin-left: auto; margin-right: auto; }
.location-details { margin-top: .6rem; font-size: .95rem; opacity: .9; }
.footer-contact { margin-top: 1rem; }
.footer-bottom a { text-decoration: underline; }

/* navigation: logo, dropdown caret, mobile menu */
.kcn-primary-nav .custom-logo { height: 50px; width: auto; }
.kcn-primary-nav .logo-link { display: inline-flex; }
.kcn-nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 44px; height: 44px; border-radius: 8px; font-size: 1.2rem; cursor: pointer; }
.kcn-primary-nav .kcn-has-dropdown > a::after { content: ""; display: inline-block; border: solid currentColor; border-width: 0 2px 2px 0; padding: 2.5px; transform: rotate(45deg); margin-left: .5em; position: relative; top: -3px; }
@media (max-width: 900px) {
  .kcn-primary-nav .container { flex-wrap: wrap; align-items: center; }
  .kcn-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .kcn-primary-nav .kcn-nav-menu { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: .6rem; max-height: calc(100vh - 90px); overflow-y: auto; }
  .kcn-primary-nav.is-open .kcn-nav-menu { display: flex; }
  .kcn-primary-nav .kcn-nav-menu > li > a { padding: .8rem .25rem; }
  .kcn-primary-nav .kcn-submenu { display: flex; position: static; background: transparent; border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .kcn-primary-nav .kcn-has-dropdown > a::after { display: none; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-video-toggle { display: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}


/* ===== v2.4.0: events ===== */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; align-items: start; }
.event-card { background: #fff; border: 1px solid #ebe7df; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 32px rgba(22,35,41,.07); display: flex; flex-direction: column; text-align: left; transition: transform .25s, box-shadow .25s; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,35,41,.12); }
.event-card .event-flyer { position: relative; display: block; aspect-ratio: 4 / 5; background: #111; overflow: hidden; }
.event-card .event-flyer img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; display: block; }
.event-flyer-empty { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #777; font-size: 3rem; }
.event-card.is-past .event-flyer img { filter: saturate(.8); }
.event-date { position: absolute; top: .8rem; left: .8rem; min-width: 54px; padding: .35rem .5rem; background: #fff; border-radius: 12px; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.event-date b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.event-date i { display: block; font-style: normal; font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-top: .15rem; }
.event-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; }
.event-status { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 99px; background: #fdecdc; color: #a7622b; }
.event-card.is-past .event-status { background: #eceeef; color: #5d6b73; }
.event-body h3 { font-size: 1.2rem; line-height: 1.25; margin: .2rem 0 0; }
.event-body h3 a { color: var(--dark); text-decoration: none; }
.event-body h3 a:hover { color: var(--primary); }
.event-when { font-weight: 700; color: #2c3f49; }
.event-excerpt { color: #5d6b73; font-size: .95rem; }
.event-actions { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .5rem; }
.event-more { color: var(--dark); font-weight: 700; text-decoration: none; }
.event-more:hover { color: var(--primary); }
.event-actions .btn { padding: .55rem 1.2rem; font-size: .95rem; }
.events-more { text-align: center; margin-top: 2.5rem; }
.kcn-events-block { margin: 0 auto 3.5rem; max-width: 1100px; }
.kcn-events-block h2 { color: #172b35; margin-bottom: 1.4rem; }
.kcn-events-empty { color: #63717a; }
.event-flyer-full { display: block; margin: 1.2rem auto; max-width: 440px; }
.event-flyer-full img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.2); display: block; }
.kcn-gallery-wrap { margin-top: 2.5rem; }
.kcn-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .8rem; margin-top: 1rem; }
.kcn-gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.kcn-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.kcn-gallery a:hover img { transform: scale(1.05); }

/* lightbox */
.kcn-lb { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.kcn-lb[hidden] { display: none; }
.kcn-lb img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.kcn-lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.kcn-lb button:hover { background: rgba(255,255,255,.25); }
.kcn-lb-close { top: 1rem; right: 1rem; }
.kcn-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.kcn-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
html.kcn-lb-open { overflow: hidden; }

/* ===== v2.4.0: refined dropdowns ===== */
.kcn-primary-nav .kcn-has-dropdown > a::after { border-width: 0 1.5px 1.5px 0; padding: 2.8px; margin-left: .55em; top: -2px; opacity: .65; transition: transform .25s ease, opacity .2s; }
.kcn-primary-nav .kcn-has-dropdown:hover > a::after, .kcn-primary-nav .kcn-has-dropdown:focus-within > a::after { transform: rotate(-135deg); top: 1px; opacity: 1; }
.kcn-primary-nav .kcn-submenu { display: flex; top: calc(100% + 8px); left: -1rem; min-width: 230px; padding: .5rem; border-radius: 14px; background: rgba(20,34,42,.97); backdrop-filter: blur(12px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.kcn-primary-nav .kcn-submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.kcn-primary-nav .kcn-has-dropdown:hover > .kcn-submenu, .kcn-primary-nav .kcn-has-dropdown:focus-within > .kcn-submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.kcn-primary-nav .kcn-submenu a { position: relative; padding: .7rem .9rem .7rem 1.1rem; border-radius: 9px; font-size: .95rem; }
.kcn-primary-nav .kcn-submenu a::before { content: ""; position: absolute; left: .35rem; top: 50%; width: 3px; height: 0; border-radius: 3px; background: linear-gradient(var(--primary), var(--secondary)); transform: translateY(-50%); transition: height .18s; }
.kcn-primary-nav .kcn-submenu a:hover, .kcn-primary-nav .kcn-submenu a:focus { background: rgba(255,255,255,.07); color: #fff; }
.kcn-primary-nav .kcn-submenu a:hover::before, .kcn-primary-nav .kcn-submenu a:focus::before { height: 55%; }
@media (max-width: 900px) {
  .kcn-primary-nav .kcn-submenu { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; background: transparent; backdrop-filter: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .kcn-primary-nav .kcn-submenu::before { display: none; }
  .kcn-primary-nav .kcn-has-dropdown > a::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kcn-primary-nav .kcn-submenu, .event-card, .kcn-gallery img { transition: none !important; } }

/* Keep homepage event previews aligned regardless of copy length. */
#events .events-grid { align-items: stretch; }
#events .event-body { flex: 1; min-width: 0; }
#events .event-body h3,
#events .event-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
#events .event-body h3 { -webkit-line-clamp: 2; }
#events .event-excerpt { -webkit-line-clamp: 3; }
#events .event-actions { margin-top: auto; flex-wrap: wrap; }

#media .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#media .video-card, .kcn-sermon-player { width: 100%; aspect-ratio: 16 / 9; min-height: 0; border: 0; border-radius: 8px; }
#media .video-card { color: #fff; }
#media .video-card img { max-height: none; }
.kcn-sermon-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin: 1rem 0; }
@media (max-width: 720px) { #media .video-grid { grid-template-columns: 1fr; } }

.kcn-spotify { margin: 2rem 0 0; padding: clamp(1.25rem, 4vw, 2.5rem); background: #f0f6f2; border: 1px solid #dce8df; border-radius: 18px; }
.kcn-spotify h3 { color: #183829; font-size: clamp(1.5rem, 3vw, 2rem); margin: .25rem 0; }
.kcn-spotify-episodes { display: grid; gap: .75rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.kcn-spotify-card { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; padding: 1rem; border: 1px solid #dce8df; border-radius: 12px; background: #fff; color: #183829; text-decoration: none; }
.kcn-spotify-card i { color: #147841; font-size: 1.5rem; }
.kcn-spotify-card > span { margin-inline-start: auto; font-size: .9rem; color: #17643d; }
.kcn-spotify-card:hover, .kcn-spotify-card:focus-visible { border-color: #147841; }
@media (max-width: 540px) {
  .kcn-spotify-card { display: grid; grid-template-columns: auto 1fr; }
  .kcn-spotify-card > span { grid-column: 2; margin-inline-start: 0; }
}

/* Keep the hero compact, with an evenly sized row of photos. */
#home { min-height: 580px; padding: 105px 1.25rem 48px; }
#home .hero-content { padding-top: 0; width: 100%; }
#home .hero-gallery.has-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.35rem, 2vw, 1rem); margin: 1.75rem auto 0; }
#home .hero-gallery.has-3 .hero-gallery-item { height: auto; aspect-ratio: 16 / 10; }
.kcn-sermons-heading { text-align: center; margin-bottom: 1.5rem; }
.kcn-sermons-heading h2 { margin: .3rem 0 .5rem; }
.kcn-sermons-heading .section-subtitle { max-width: 38rem; margin: 0 auto; }
@media (max-width: 640px) {
  #home { min-height: 0; padding-top: 105px; }
}

.kcn-quick-links p a { color: inherit !important; }
.kcn-quick-links p a:hover, .kcn-quick-links p a:focus-visible { color: #e4b66f !important; }
#home .hero-gallery-item:nth-child(2) img { object-position: center 25%; }

/* Use the same product cards across the homepage and both shop routes. */
.kcn-shop-content { max-width: 1160px; margin: 0 auto; }
.kcn-shop .woocommerce-breadcrumb { color: #53626a; margin-bottom: 1rem; }
.kcn-shop .woocommerce-breadcrumb a { color: #435963; }
.kcn-shop .woocommerce-products-header {
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, #17313d, #244956);
  color: #fff;
  border-radius: 20px;
}
.kcn-shop .woocommerce-products-header h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); }
.kcn-shop .woocommerce-ordering select {
  max-width: 100%;
  padding: .65rem .85rem;
  border: 1px solid #d9d4ca;
  border-radius: 8px;
  background: #fff;
  color: #17313d;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.5rem);
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products::before,
:is(#store, .kcn-shop, .kcn-store-products) ul.products::after { display: none; }
#store ul.products {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#store ul.products li.product { flex: 0 1 clamp(230px, 28%, 340px); }
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  float: none;
  clear: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: clamp(.7rem, 1.6vw, 1rem);
  background: #fff;
  border: 1px solid #e8e1d6;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(26,35,40,.07);
  text-align: left;
}
:is(#store, .kcn-shop, .kcn-store-products) .woocommerce-LoopProduct-link {
  width: 100%;
  text-decoration: none;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f5f1;
  border-radius: 10px;
  margin: 0 0 .7rem;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product .woocommerce-loop-product__title {
  color: #17313d;
  font-size: clamp(.95rem, 2vw, 1.15rem);
  line-height: 1.35;
  padding: .15rem 0 .45rem;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product .price {
  color: #855024;
  font-weight: 700;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product .button {
  display: inline-block;
  margin-top: auto;
  padding: .65rem .85rem;
  background: #17313d;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.3;
}
:is(#store, .kcn-shop, .kcn-store-products) ul.products li.product .button:hover { background: #855024; color: #fff; }
@media (max-width: 760px) {
  :is(.kcn-shop, .kcn-store-products) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 390px) {
  :is(.kcn-shop, .kcn-store-products) ul.products { grid-template-columns: 1fr; }
}
