/*
 Theme Name: Astra Child
 Template: astra
 */

/* .wp-duotone-000000-rgb0134207-1.wp-block-cover > .wp-block-cover__image-background, .wp-duotone-000000-rgb0134207-1.wp-block-cover > .wp-block-cover__video-background {
    filter: url(#wp-duotone-000000-rgb0134207-1) blur(1px) !important;
}

.wp-duotone-000000-rgb22412110-2.wp-block-cover > .wp-block-cover__image-background, .wp-duotone-000000-rgb22412110-2.wp-block-cover > .wp-block-cover__video-background {
    filter: url(#wp-duotone-000000-rgb22412110-2) blur(1px) !important;
}

.wp-duotone-000000-rgb1881780-3.wp-block-cover > .wp-block-cover__image-background, .wp-duotone-000000-rgb1881780-3.wp-block-cover > .wp-block-cover__video-background {
    filter: url(#wp-duotone-000000-rgb1881780-3) blur(1px) !important;
}
*/

.form-recipient-field {
    display: none !important;
}

.wp-block-cover.ministry-block.adult::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(0, 104, 166, 0.3); /* your brand blue at 60% opacity */
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block.student::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(252, 128, 42, 0.3);
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block.children::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(250, 252, 42, 0.3);
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block.serve::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(61, 252, 42, 0.05);
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block.leadership::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(42, 166, 252, 0.3);
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block.around-the-church::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(61, 252, 42, 0.05);
    z-index:    1;
    pointer-events: none;
}

.wp-block-cover.ministry-block .wp-block-cover__inner-container {
    position: relative;
    z-index:  2;
}

.wp-block-cover.ministry-block .wp-block-cover__image-background {
    filter: blur(1px) !important;
}

.ministry-block-header {
    position: relative;
    overflow: hidden;
}

.ministry-block-paragraph {
    color: white !important;
    z-index: 5;
}

.ministry-block-header::before {
    content:             '';
    position:            absolute;
    inset:               0;
    background-image:    inherit;
    background-size:     cover;
    /* filter:              blur(2px) !important; */
    z-index:             0;
}

.ministry-block-header.students::before {
    background-position: 60% 20%;
    transform:           scale(1.0); /* prevents blur edges showing */
}

.ministry-block-header.small-groups::before {
    background-position: 0% 40%;
}

.ministry-block-header.children::before {
    background-position: 0% 40%;
}

.ministry-block-header.serve::before {
    background-position: 0% 70%;
}

.ministry-block-header.around-the-church::before {
    background-position: 0% 20%;
}

.ministry-block-header::after {
    content:        '';
    position:       absolute;
    inset:          0;
    z-index:        1;
    pointer-events: none;
}

.ministry-block-header .uagb-container-inner-blocks-wrap {
    position: relative;
    z-index:  2;
}

.ministry-block-header.students::after {
    background:     rgba(170, 42, 252, 0.3);
}

.ministry-block-header.small-groups::after {
    background:     rgba(252, 128, 42, 0.3);
}

.ministry-block-header.children::after {
    background:     rgba(250, 252, 42, 0.15);
}

.ministry-block-header.serve::after {
    background: rgba(61, 252, 42, 0.15);
}

.ministry-block-header.around-the-church::after {
    background: rgba(61, 252, 42, 0.15);
}

.ministry-block-header > p {
    color: #fff !important;
    z-index: 3;
}

/* ── Clickable container cover link ── */
.clickable-container {
    position: relative;
}

.clickable-container .cover-link {
    position: absolute;
    inset:    0;
    z-index:  3;
    display:  block;
}

.section-heading-bar {
    display:         flex;
    align-items:     center;
    justify-content: center;
    gap:             1.5rem;
    padding:         0.85rem 2rem;
}

.section-heading-bar::before,
.section-heading-bar::after {
    content:    '';
    flex:       1;
    height:     1px;
    background: rgba(255, 255, 255, 0.35);
}

.section-heading-bar-b {
    position:   relative;
    text-align: center;
    align-self: center;
    display:    inline-flex !important;
    width:       auto !important;
    max-width:   100% !important;
    overflow:   visible !important;
    margin-left:  5% !important;
    margin-right: 5% !important;
}

.section-heading-bar-b h1,
.section-heading-bar-b h2,
.section-heading-bar-b h3,
.section-heading-bar-b h4,
.section-heading-bar-b p {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 400 !important;
    font-size:   clamp(1.5rem, 3.5vw, 2.25rem) !important;
    line-height: 1.2 !important;
    padding:     0 2em !important;
    /* margin:      0 !important; */
    white-space: nowrap;
}

@media (max-width: 700px) {
    .section-heading-bar-b {
        text-wrap: wrap;
        max-width: 100% !important;
    }
}

.section-heading-bar-b-main {
    max-width: 100% !important;

}

.section-heading-bar-b::before {
    content:    '';
    position:   absolute;
    inset:      0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.4) 0%,
        transparent        20%,
        transparent        80%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
}

.section-heading-bar-b::after {
    content:    '';
    position:   absolute;
    bottom:     0;
    left:       0;
    right:      0;
    height:     3px;
    background: linear-gradient(
        90deg,
        transparent  0%,
        #01aeef      20%,
        #01aeef      80%,
        transparent  100%
    );
}

.section-heading-bar-d {
    background:    transparent !important;
    padding:       0.75rem 0;
    border-bottom: 2px solid #0068A6;
    display:       flex;
    align-items:   center;
    gap:           1rem;
}

.section-heading-bar-d h1,
.section-heading-bar-d h2,
.section-heading-bar-d h3,
.section-heading-bar-d h4,
.section-heading-bar-d p {
    color:          #0068A6;
    margin:         0;
    padding:        0.2em 0.9em;
    background:     #0068A6;
    color:          #fff;
    border-radius:  99px;
    display:        inline-block;
}

@media (max-width: 700px) {
    /* .events-banner {
        margin: 25% 5% !important;
    } */

    .events-banner-slide {
        min-height: fit-content !important;
    }
}

a.event-card-link,
a.event-card-link:hover,
a.event-card-link *,
a.events-banner-slide,
a.events-banner-slide:hover,
a.events-banner-slide * {
    text-decoration: none !important;
    color: inherit !important;
}

.fade-edges {
    /* Standard syntax for modern browsers */
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    
    /* Webkit vendor prefix for Safari support */
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  }

  
  .section-header {
    /* background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px; /* Gives a smooth pill shape */
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);

    overflow: hidden !important;
  }
  
  
  
  
  
  
  
  
  

/* ── Event buttons ── */
span.event-btn {
    display:     inline-block;
    font-size:   0.85rem !important;
    padding:     0.5rem 1.25rem !important;
    line-height: 1.4 !important;
    cursor:      pointer;
}

span.event-btn--dark {
    background: #0068A6 !important;
    color:      #fff !important;
    border:     none !important;
}

span.event-btn--dark:hover {
    background: #005a8e !important;
    color:      #fff !important;
}

span.event-btn--view-more {
    background: transparent !important;
    color:      #0068A6 !important;
    border:     2px solid #0068A6 !important;
}

span.event-btn--view-more:hover {
    background: #0068A6 !important;
    color:      #fff !important;
}

span.event-btn--dark {
    border: 2px solid #004f80 !important;
}

.forminator-custom-form-155 .forminator-label {
    color: #fff !important;
}

.forminator-custom-form-155 .forminator-error-message {
    color: #fff !important;
}