/*
 Theme Name:   Hallelujah Child Theme
 Theme URI:    https://hallelujah.axiomthemes.com/
 Description:  Hallelujah Child Theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com/
 Template:     hallelujah
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  hallelujah
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* ── Heading scale override (responsive.css was tuned for a larger-looking font)
   Reduces all heading sizes ~30-35% across every breakpoint.
   ─────────────────────────────────────────────────────────── */

h1, .front_page_section_caption { font-size: 6.2em  !important; line-height: 1.15em !important; }
h2                               { font-size: 3.6em  !important; line-height: 1.2em  !important; }
h3                               { font-size: 2.1em  !important; line-height: 1.25em !important; }
h4                               { font-size: 1.6em  !important; line-height: 1.3em  !important; }
h5                               { font-size: 1.3em  !important; line-height: 1.35em !important; }
h6                               { font-size: 1em    !important; line-height: 1.4em  !important; }

@media (max-width: 1439px) {
    h1, .front_page_section_caption { font-size: 80px !important; line-height: 68px !important; }
    h2                               { font-size: 44px !important; line-height: 52px !important; }
}

@media (max-width: 1279px) {
    h1, .front_page_section_caption { font-size: 54px !important; line-height: 62px !important; }
    h2                               { font-size: 40px !important; line-height: 48px !important; }
    h3                               { font-size: 28px !important; line-height: 34px !important; }
    h4                               { font-size: 23px !important; line-height: 29px !important; }
    h5                               { font-size: 19px !important; line-height: 24px !important; }
    h6                               { font-size: 16px !important; line-height: 21px !important; }
}

@media (max-width: 1023px) {
    h1, .front_page_section_caption { font-size: 46px !important; line-height: 54px !important; }
    h2                               { font-size: 34px !important; line-height: 42px !important; }
    h3                               { font-size: 25px !important; line-height: 31px !important; }
    h4                               { font-size: 21px !important; line-height: 27px !important; }
}

@media (max-width: 767px) {
    h1, .front_page_section_caption { font-size: 44px !important; line-height: 45px !important; }
    h2                               { font-size: 30px !important; line-height: 37px !important; }
    h3                               { font-size: 22px !important; line-height: 28px !important; }
    h4                               { font-size: 20px !important; line-height: 26px !important; }
}

.top_panel_custom_621 .elementor-element-3d7f0f1 {
    height: 80px;
    position: relative;
}

@media screen and (min-width: 768px) {
    .top_panel_custom_621::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
            backdrop-filter: blur(12px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.4) !important;
        opacity: 0.6;
        z-index: 0;

    }

}

#eventSliderParent {
    /* max-width: 1100px; */
    margin: 0 auto;

    .sc_events_item {
        border: 1px solid;

        .sc_events_item_info {
            border-right: 1px solid
        }
    }
}

/* .services_page_featured */

.tribe-events-single-event-description.tribe-events-content img {
    display: none;
}


.sc_layouts_title.with_tint.with_content:before {
    background-color: #58646b;
    opacity: 0.5;
}

.services_page_title {
    color: #fff !important;

}

/* Event single page — widen content area */
.single-tribe_events #tribe-events-pg-template,
.single-tribe_events #tribe-events-content {
    max-width: 100% !important;
    width: 100% !important;
}

/* Event meta — 3 column layout */
.tribe-events-single-section.tribe-events-event-meta.primary {
    display: grid !important;
    grid-template-columns: 180px 240px 1fr !important;
    gap: 24px;
    align-items: start;
    float: none !important;
    width: 100% !important;
}

.tribe-events-meta-group {
    float: none !important;
    width: 100% !important;
}

.tribe-events-meta-group-gmap {
    min-width: 0;
}

.tribe-events-meta-group-gmap .tribe-events-venue-map {
    width: 100% !important;
    min-height: 280px;
    position: relative;
}

/* Override theme JS resize on map iframe */
.tribe-events-meta-group-gmap .tribe-events-venue-map iframe.hallelujah_resize,
.tribe-events-meta-group-gmap .tribe-events-venue-map iframe.trx_addons_resize,
.tribe-events-meta-group-gmap .tribe-events-venue-map iframe {
    width: 100% !important;
    height: 280px !important;
    min-width: 100% !important;
    min-height: 280px !important;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .tribe-events-single-section.tribe-events-event-meta.primary {
        grid-template-columns: 1fr !important;
    }
}

/* ── Mobile content width ───────────────────────────────────────────── */
@media (max-width: 767px) {
    .content_wrap,
    .content_container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Elementor containers — scoped to page content only, not headers */
    .page_content_wrap .elementor-container,
    .page_content_wrap .e-con,
    .page_content_wrap .e-con-inner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* responsive.css sets fixed px widths at this breakpoint — override them */
@media (max-width: 479px) {
    .elementor-section.elementor-section-boxed:not(.elementor-section-with-custom-width) > .elementor-column-gap-extended {
        max-width: 95% !important;
    }
}

/* ── Content filter tabs ─────────────────────────────────────────────── */
.sc_item_filters_tabs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc_item_filters_tabs li a {
    color: #888;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

.sc_item_filters_tabs li a.active,
.sc_item_filters_tabs li a:hover {
    color: var(--e-global-color-primary) !important;
    border-bottom: 3px solid var(--e-global-color-primary) !important;
}

/* OVERIDES */

.scheme_default .sc_item_featured [class*="post_info_"] .post_meta_item,
.scheme_default .sc_item_featured [class*="post_info_"] a {
    color: #fff !important;
}

.scheme_default .post_item_single .post_content .post_meta .post_share .socials_type_block .social_item .social_icon {
    color: #fff !important;
}

/* Team card */
.sc_team_item_thumb {
    border-radius: 50%;
    width: 120px;
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
}

.sc_team_item_thumb .trx_addons_hover_content {
    display: none;
}

.sermon-description {
    margin-top: 1em;
}

.menu_mobile .menu_mobile_nav_area li{
    margin-bottom: 20px;
}

.menu_mobile .menu_mobile_nav_area ul {
    margin-top: 20px !important;
}

.how-to-find-us .sc_icons_item_details .sc_icons_item_description{
    font-size: 18px;
    
}

.how-to-find-us .sc_icons_size_small .sc_icons_icon:before, .sc_icons_size_small .sc_icons_icon>span:before {
    font-size: 28px;
}

.plan-visit_events .sc_events_item {
   margin-bottom: 10px;
}

.label {
    background-color: #e9f2ea;
    padding: 2px 6px;
    border-radius: 4px;
    color: #2c3e50;
    font-size: smaller;
}

.label-primary {
    background-color: var(--e-global-color-primary);
    color: #fff;
}

.label-success {
    background-color: #27ae60;
    color: #fff;
}

.label-info {
    background-color: #3498db;
    color: #fff;
}

.label-warning {
    background-color: #f39c12;
    color: #fff;
}

.post_item.post_layout_chess.post_layout_chess_2{
    background-color: #5b8a7277;
}

.bg-primary {
    background-color: var(--e-global-color-primary) !important; 
}

.scheme_dark .sc_layouts_row_type_compact .sc_layouts_item_icon, .scheme_dark.sc_layouts_row_type_compact .sc_layouts_item_icon {
    color: var(--e-global-color-primary)
}

.elementor-widget-trx_sc_layouts_logo{
    margin-top:0px !important;
    margin-bottom: 0px !important
}

.menu_mobile_close.theme_button_close{
    z-index: 1000;
}

/* Sidebar: Gospel Communities heading + list styling */
#block-18{
	margin-top:1rem
}
.widget_area .wp-block-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.widget_area .wp-block-list li {
    font-size: 15px !important;
    line-height: 1.5 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    list-style: none !important;
}

.widget_area .wp-block-list li:last-child {
    border-bottom: none !important;
}

.widget_area .wp-block-list li::before {
    display:none !important;
}

/* Services page: Gospel Communities list */
.services_page_content .wp-block-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 30px 0 !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 24px 28px !important;
    /* border-left: 4px solid var(--e-global-color-primary) !important; */
}

.services_page_content .wp-block-list li {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    list-style: none !important;
    font-weight: 500 !important;
}

.services_page_content .wp-block-list li:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.services_page_content .wp-block-list li:first-child {
    padding-top: 0 !important;
}

.services_page_content .wp-block-list li::before {
    content: "⏐" !important;
    margin-right: 10px !important;
    color: var(--e-global-color-primary) !important;
    font-weight: 700 !important;
}

/* Mobile menu — Give button */
.menu_mobile_give_wrap {
    padding: 24px 0 8px;
    text-align: center;
    position:absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.menu_mobile_give_wrap .sc_button_wrap{
    width: 70%;
}
.menu_mobile_give_wrap .sc_button {
    width: 100%;
}

/* ============================================================
   HOME HEADER — Transparent overlay
   Desktop: always transparent, no scroll behaviour.
   Mobile:  transparent at top, glassmorphism on scroll.
   ============================================================ */

/* Desktop — absolute, always transparent */
.top_panel_custom_home-header {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.top_panel_custom_home-header .elementor-element-1b67577d,
.top_panel_custom_home-header .elementor-element-3d7f0f1 {
    background: transparent !important;
    box-shadow: none !important;
}

/* Desktop nav — link colours scoped to glass bar */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li > a,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li > a span {
    color: #000 !important;
}

/* Underline on inner span so it never clashes with the dropdown a::after caret */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li > a > span {
    position: relative;
    display: inline-block;
}
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li > a > span::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: #edd550;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease;
}

/* Hover → animate from half to full width */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li:hover > a > span::after {
    width: 100%;
    opacity: 1;
}

/* Active → full width, no animation */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-item > a > span::after,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current_page_item > a > span::after,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-ancestor > a > span::after {
    width: 100%;
    opacity: 1;
}

/* Hover & active → gold text */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li:hover > a,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li:hover > a span,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-item > a,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-item > a span,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current_page_item > a,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current_page_item > a span,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-ancestor > a,
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li.current-menu-ancestor > a span {
    color: #edd550 !important;
    font-weight: 600 !important;
}

/* Dropdown arrow colour to match */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li > a.sf-with-ul::after {
    border-top-color: #000 !important;
}
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_layouts_menu_nav > li:hover > a.sf-with-ul::after {
    border-top-color: #edd550 !important;
}

/* Give button in glass bar — gold */
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_button.sc_button_extra {
    background-image: linear-gradient(to right, #edd550 0%, #edd550 100%) !important;
    color: #000 !important;
}
.top_panel_custom_home-header .elementor-element-3a9d2327 .sc_button.sc_button_extra:hover {
    background-image: linear-gradient(to right, #d4b800 0%, #d4b800 100%) !important;
    color: #000 !important;
}

/* Mobile — override JS position:fixed; glass on scroll */
@media screen and (max-width: 767px) {
    .top_panel_custom_home-header .elementor-element-5c0f06f4,
    .top_panel_custom_home-header .elementor-element-5c0f06f4.sc_layouts_row_fixed_on {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid transparent !important;
        box-shadow: none !important;
        transition: background 0.35s ease, backdrop-filter 0.35s ease,
                    -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease,
                    border-color 0.35s ease !important;
    }

    body.ncc-scrolled .top_panel_custom_home-header .elementor-element-5c0f06f4,
    body.ncc-scrolled .top_panel_custom_home-header .elementor-element-5c0f06f4.sc_layouts_row_fixed_on {
        background: #5b8a7293 !important;
        backdrop-filter: blur(14px) saturate(1.5) !important;
        -webkit-backdrop-filter: blur(14px) saturate(1.5) !important;
        border-bottom: 1px solid #5b8a72c9 !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2) !important;
    }
}



/* Mobile-only header — transparent + glass on scroll (bg only) */
.elementor-element-f44f1ab,
.elementor-element-f44f1ab.sc_layouts_row_fixed_on {
    position: absolute;
    top: 0 !important;
    width: 100% !important;
    z-index: 10 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid transparent !important;
    transition: background 0.35s ease, backdrop-filter 0.35s ease,
                -webkit-backdrop-filter 0.35s ease, box-shadow 0.35s ease,
                border-color 0.35s ease !important;
}

body.ncc-scrolled .elementor-element-f44f1ab,
body.ncc-scrolled .elementor-element-f44f1ab.sc_layouts_row_fixed_on {
    background: #5b8a7293 !important;
    backdrop-filter: blur(14px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.5) !important;
    border-bottom: 1px solid #5b8a72c9 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Suppress the JS-inserted placeholder for this absolute-positioned header */
.elementor-element-f44f1ab + .sc_layouts_row_fixed_placeholder {
    display: none !important;
    height: 0 !important;
}

/* home header address location*/
 .sc_action_item_date {
    margin-top: 12px !important;
    font-size:1.1em !important;
    border: none   !important;
}

.sc_action_item_date a {
    color: #fff !important;
    font-weight: 600 !important;
}

.sc_action_item_date a:hover {
    color: #edd550 !important;
}

.sc_action_item_date a .icon {
    margin-right: 6px !important;
}

/* ── NCC History Timeline ──────────────────────────────────────────── */

.ncc-history-timeline {
    width: 100%;
    padding: 20px 0 40px;
}

.ncc-ht-inner {
    position: relative;
    padding-left: 36px;
    max-width: 680px;
    margin: 0 auto;
}

/* Vertical line */
.ncc-ht-inner::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #5b8a72 6%, #5b8a72 94%, transparent);
    border-radius: 2px;
}

.ncc-ht-line { display: none; }

.ncc-ht-item {
    position: relative;
    margin-bottom: 28px;
}

.ncc-ht-item:last-child { margin-bottom: 0; }

.ncc-ht-dot {
    position: absolute;
    left: -36px;
    top: 14px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #5b8a72;
    box-shadow: 0 0 0 4px rgba(91,138,114,.15);
    z-index: 1;
}

.ncc-ht-card {
    background: #fff;
    border: 1px solid rgba(91,138,114,.2);
    border-radius: 0;
    padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    position: relative;
    transition: box-shadow .2s ease;
}

.ncc-ht-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.ncc-ht-yr {
    display: inline-block;
    background: #5b8a72;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 0;
    margin-bottom: 7px;
}

.ncc-ht-yr sup {
    font-size: .7em;
    vertical-align: baseline;
    position: relative;
    top: -0.3em;
}

.ncc-ht-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 7px;
}

.ncc-ht-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}



/* ── Statement of Faith Accordion ──────────────────────────────────── */

.elementor-element-40e7169 .elementor-accordion-item {
    border: none;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.elementor-element-40e7169 .elementor-accordion-item:first-child {
    border-top: none;
}

.elementor-element-40e7169 .elementor-tab-title {
    padding: 18px 4px !important;
    background: none !important;
}

.elementor-element-40e7169 .elementor-accordion-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    transition: color .15s;
}

.elementor-element-40e7169 .elementor-tab-title.elementor-active .elementor-accordion-title,
.elementor-element-40e7169 .elementor-tab-title:hover .elementor-accordion-title {
    color: #5b8a72 !important;
}

.elementor-element-40e7169 .elementor-accordion-icon {
    color: #bbb !important;
    font-size: 14px !important;
    transition: color .15s;
}

.elementor-element-40e7169 .elementor-tab-title.elementor-active .elementor-accordion-icon,
.elementor-element-40e7169 .elementor-tab-title:hover .elementor-accordion-icon {
    color: #5b8a72 !important;
}

.elementor-element-40e7169 .elementor-tab-content {
    display: block !important;
    overflow: hidden !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    border: none !important;
    transition: max-height 0.4s ease, padding 0.4s ease !important;
}

.elementor-element-40e7169 .elementor-tab-content.elementor-active {
    max-height: 600px !important;
    padding-top: 4px !important;
    padding-bottom: 24px !important;
}

.elementor-element-40e7169 .elementor-tab-content p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: #555 !important;
}

/* Event slider  */

.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #b68bdb !important;
    border-color: #b68bdb
}

@media (max-width: 767px) {
    .page_content_wrap {
        padding-top: 40px !important;
        padding-bottom: 60px;
    }
}

.sc_layouts_menu_mobile_button_burger .menu-text {
    font-size: 16px !important;
    font-weight: 600 !important;
}
.sc_layouts_menu_mobile_button_burger .sc_layouts_item_link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.sc_layouts_menu_mobile_button_burger .sc_layouts_item_link .trx_addons_icon-menu{
    color: #fff !important;
}

@media (max-width: 767px) {
   .sc_layouts_logo.sc_layouts_logo_default img{
    filter: grayscale(1) invert(1) !important;
}
}

.sermon-toggler-active{
    cursor: default !important
}