/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: https://www.fastlinemedia.com
template: bb-theme
*/


/* ==========================================
   Responsive Typography
   WCAG 2.2 AA
========================================== */

body{
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size:18px;
    line-height:1.6;
    color:#222;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6{
    font-family: 'Source Sans Pro', Arial, sans-serif;
    color:#222;
    margin:0 0 .75rem;
}

h1{
    font-size:48px;
    font-weight:700;
    line-height:1.2;
}

h2{
    font-size:36px;
    font-weight:700;
    line-height:1.25;
}

h3{
    font-size:30px;
    font-weight:600;
    line-height:1.3;
}

h4{
    font-size:24px;
    font-weight:600;
    line-height:1.35;
}

h5{
    font-size:20px;
    font-weight:500;
    line-height:1.4;
}

h6{
    font-size:18px;
    font-weight:500;
    line-height:1.4;
}

/* ==========================
   Tablet (768px–1199px)
========================== */

@media (max-width:1199px){

h1{font-size:42px;}      /*42px*/
h2{font-size:32px;}          /*32px*/
h3{font-size:26px;}      /*26px*/
h4{font-size:22px;}      /*22px*/
h5{font-size:19px;}     /*19px*/
h6{font-size:17px;}     /*17px*/

}

/* ==========================
   Mobile (<768px)
========================== */

@media (max-width:767px){

body{
    font-size:18px;
}

h1{font-size:34px;}      /*34px*/
h2{font-size:28px;}       /*28px*/
h3{font-size:24px;}        /*24px*/
h4{font-size:20px;}       /*20px*/
h5{font-size:18px;}      /*18px*/
h6{font-size:16px;}          /*16px*/

}
/* Paragraphs */

p{
    margin:0 0 1rem;
}

/* ==========================================
   Links
========================================== */

a{
    color:#BE1F1D;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:3px;
}

a:hover,
a:focus-visible{
    color:#8B1E1E;
    text-decoration: underline;
}

a:focus-visible{
    outline:3px solid #005FCC;
    outline-offset:3px;
}

/* ==========================================
   Lists
========================================== */

.uca-page-content ul,
.uca-page-content ol{
    font-size:1rem;
    line-height:1.7;
    margin-bottom:2rem;
    color:#222;
}

.uca-page-content li{
    margin-bottom:.75rem;
}

/* ==========================================
   Abbreviation
========================================== */

abbr[title]{
    text-decoration:dotted underline;
    cursor:help;
}

/* ==========================================
   Tables
========================================== */

table{
    width:100%;
    border-collapse:collapse;
    margin:2rem 0;
    border:1px solid #D9D9D9;
    font-size:16px;
    line-height:1.6;
}

table caption{
    font-weight:700;
    text-align:left;
    margin-bottom:.75rem;
}

table th,
table td{
    border:1px solid #D9D9D9;
    padding:.9rem;
    text-align:left;
}

table th{
    background:#BE1F1D;
    color:#ffffff;
    font-weight:700;
}

table tbody tr:nth-child(even){
    background:#F8F8F8;
}

table tbody tr:hover{
    background:#F2F2F2;
}

/* ==========================================
   Blockquote
========================================== */

.fl-page-content blockquote{
    margin:2rem 0;
    padding:1.5rem;
    border-left:6px solid #BE1F1D;
    background:#FAFAFA;
    font-size:16px;
    line-height:1.7;
    font-style:italic;
    color:#333;
}

.fl-page-content blockquote::before{
    content:none;
}

.fl-page-content blockquote::after{
    content:none;
}

/* ==========================================
   Search
========================================== */

.fl-menu .fl-page-nav-search .fa-search{
    padding:4px;
}

.fl-menu .fl-page-nav-search form{
    margin-top:1rem;
}

/* ==========================================
   Icons
========================================== */

.uca-icon,
.fl-page-content .uca-icon,
.fl-page-content .uca-icon i{
    color:#ffffff!important;
}

/* ==========================================
   Breadcrumbs
========================================== */

.uca-breadcrumbs{
    font-size:16px;
    line-height:1.5;
}

/* ==========================================
   Footer
========================================== */

.uca-footer a{
    color:#ffffff;
    text-decoration:underline;
}

.uca-footer a:hover,
.uca-footer a:focus-visible{
    color:#ffffff;
    text-decoration-thickness:3px;
}

/* ==========================================
   Page Headings
========================================== */

.secondary-page-heading{
    background:#BE1F1D;
    color:#ffffff;
    display:inline-block;
    padding:1rem 1.5rem;
}

.secondary-page-heading h1{
    color:#ffffff;
    text-shadow:none;
}

/* ==========================================
   Left Menu
========================================== */

.left-menu-heading,
.right-menu-heading{
    border-bottom:3px solid #BE1F1D;
    padding-bottom:.5rem;
}

.left-menu-heading h3,
.right-menu-heading h3{
    margin:0;
}

/* ==========================================
   Content Links
========================================== */

.fl-page-content p a{
    color:#BE1F1D;
    text-decoration:underline;
    border:none;
}

.fl-page-content p a:hover,
.fl-page-content p a:focus-visible{
    color:#8B1E1E;
    text-decoration: underline;
}

/* ==========================================
   Keyboard Focus
========================================== */

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible{
    outline:3px solid #005FCC;
    outline-offset:3px;
    box-shadow:none;
}

button:focus-visible,
.button:focus-visible{
    outline:3px solid #005FCC;
    outline-offset:3px;
    box-shadow:0 0 0 3px rgba(0,95,204,.2);
}

/* Form fields */
input,
select,
textarea{
    min-height:44px;
}

/* Buttons */
button,
.button,
.fl-button,
input[type="submit"],
input[type="button"],
input[type="reset"]{
    min-height:44px;
    padding:10px 20px;
    cursor:pointer;
}

button.icon-button,
.fl-menu-mobile-toggle,
.search-toggle{
    width:44px;
    height:44px;
    padding:0;
}


/* ==========================================
   Reduced Motion
========================================== */

@media (prefers-reduced-motion:reduce){

*{
animation:none!important;
transition:none!important;
scroll-behavior:auto!important;
}

}

/* ==========================================
   Responsive Tables
========================================== */

@media (max-width:768px){

table{
display:block;
overflow-x:auto;
white-space:nowrap;
}

}

/* ===============================
   WCAG 2.1 AA Accessibility Base
================================ */

:focus-visible{

    outline:3px solid #005FCC;
    outline-offset:4px;

}

img{

    max-width:100%;
    height:auto;

}

a {
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

::selection{

    background:#BE1F1D;
    color:#fff;

}

.skip-link{

    position:absolute;
    left:-9999px;
    top:0;
    background:#005FCC;
    color:#fff;
    padding:12px 20px;
    z-index:9999;

}

.skip-link:focus{

    left:20px;

}

/* ==========================================
   Church Details Card
========================================== */

.fl-node-5bda4d4b4af75 > .fl-col-content{
    background:#fff;
    border:1px solid #C58B00; /* Gold border */
    border-radius:12px;
    padding:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}


/* Remove nested card styling */

.fl-node-u6oa3dni0yjz,
.fl-node-72f5gxq36zjp,
.fl-node-72f5gxq36zjp .fl-col-content{
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
}

/* ==========================================
   Responsive Heading
========================================== */

.fl-heading .fl-heading-text{
    font-size:clamp(2.5rem,5vw,3.5rem);
    line-height:1.15;
}

@media (max-width:768px){
    .fl-heading .fl-heading-text{
        font-size:2.25rem;
    }
}

@media (max-width:480px){
    .fl-heading .fl-heading-text{
        font-size:2rem;
    }
}
/* ==========================================
   Heading
========================================== */

.church-details{
    padding:0;
}

.church-details h2{
    display:flex;
    align-items:center;
    gap:12px;

    margin:0 0 10px;
    padding:0;

    font-size:20px;
    font-weight:600;
    line-height:1.3;
    color:#19161A;
}

/* ==========================================
   Icon
========================================== */

.church-details h2::before{

    width:36px;
    height:36px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    border-radius:50%;

    background:#F8F5EE;
    color:#C58B00;

    font-family:"Font Awesome 5 Free";
    font-weight:900;
    font-size:15px;

    content:"";
}

/* Oversight */

.fl-node-5bda4dac71263 h2::before{
    content:"\f0c0";
}

/* Address */

.fl-node-4yqr73dt5ox1 h2::before{
    content:"\f3c5";
}

/* Phone */

.fl-node-5bda5610eba2a h2::before{
    content:"\f095";
}

/* Email */

.fl-node-5bda56f7973da h2::before{
    content:"\f0e0";
}

/* Website */

.fl-node-5bda57169f2cf h2::before{
    content:"\f0ac";
}

/* ==========================================
   Values
========================================== */

.church-details p{
    margin:0;
    padding-left:48px;

    font-size:16px;
    line-height:1.6;
    color:#444;
}

/* Website */

.fl-node-5be3b3ed99fcb{
    margin:0;
    padding:0 0 0 48px;
}

.fl-node-5be3b3ed99fcb a{
    color:#C62828;
    text-decoration:none;
    word-break:break-word;
}

.fl-node-5be3b3ed99fcb a:hover,
.fl-node-5be3b3ed99fcb a:focus{
    text-decoration:underline;
}

/* ==========================================
   Divider after value only
========================================== */

.fl-node-5bda55c8f0e22,
.fl-node-evf891mxa36j,
.fl-node-5bda4e123d203,
.fl-node-5bda4e4026e5c{

    padding-bottom:20px;
    margin-bottom:20px;

    border-bottom:1px solid #E5E5E5;
}

/* Website */

.fl-node-5be3b3ed99fcb{
    padding-bottom:0;
    margin-bottom:0;
    border-bottom:none;
}

/* ==========================================
   Icons for Presbyteries
========================================== */

/* Oversight */

.fl-node-4hgu8fnkl3xw h2::before{
    content:"\f0c0";
}

/* Address */

.fl-node-n46mdj3r5ls8 h2::before{
    content:"\f3c5";
}

/* Phone */

.fl-node-51zxr0hw8u7k h2::before{
    content:"\f095";
}

/* Email */

.fl-node-0w4lzihutdco h2::before{
    content:"\f0e0";
}

/* Website */

.fl-node-4pgqwesu6o12 h2::before{
    content:"\f0ac";
}


/* ==========================================
   Website Link for prebsyteries
========================================== */

.fl-node-0rmw5e4iht2v{
    margin:0;
    padding:0 0 0 48px;
}

.fl-node-0rmw5e4iht2v a{
    color:#C62828;
    text-decoration:none;
    word-break:break-word;
}

.fl-node-0rmw5e4iht2v a:hover,
.fl-node-0rmw5e4iht2v a:focus{
    text-decoration:underline;
}


/* ==========================================
   Divider after value only
========================================== */

.fl-node-4w3sxmkd0ler,
.fl-node-538kl9bapowc,
.fl-node-2nfr7qth145g,
.fl-node-4xwz0oqijev6{

    padding-bottom:20px;
    margin-bottom:20px;

    border-bottom:1px solid #E5E5E5;
}


/* Website */

.fl-node-0rmw5e4iht2v{
    padding-bottom:0;
    margin-bottom:0;
    border-bottom:none;
}

/* ==========================================
  Gold card for presbyteries
========================================== */

.fl-node-j8nw7blm6qdr > .fl-col-content{
    background:#fff;
    border:1px solid #C58B00; /* Gold border */
    border-radius:12px;
    padding:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

/* ==========================================
 Icon for search and location
========================================== */

/* Search card */
.church-search-card {
    background: #ffffff;
    border: 1px solid #C58B00;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Heading row */
.church-search-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
}

.church-search-heading h2 {
    margin: 3px 0 0;
    color: #222222;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

/* FacetWP search wrapper */
.church-search-field {
    margin-left: 40px;
    margin-bottom: 18px;
}

/* FacetWP input */
.church-search-field .facetwp-facet {
    margin-bottom: 0;
}

.church-search-field .facetwp-input-wrap {
    width: 100%;
    display: block;
}

.church-search-field .facetwp-search {
    width: 100%;
    min-height: 48px;
    padding: 10px 48px 10px 15px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background-color: #ffffff;
    color: #222222;
    font-size: 16px;
    line-height: 1.4;
}

.church-search-field .facetwp-search::placeholder {
    color: #666666;
    opacity: 1;
}

.church-search-field .facetwp-search:hover {
    border-color: #8B1E1E;
}

.church-search-field .facetwp-search:focus {
    border-color: #005FCC;
    outline: 3px solid #005FCC;
    outline-offset: 2px;
}

/* FacetWP search icon */
.church-search-field .facetwp-icon {
    right: 14px;
    opacity: 1;
}

.church-search-field .facetwp-icon::before {
    background-size: 20px 20px;
}

/* Information message */
.church-search-help {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 0 5px;
    padding: 13px 16px;
    border: 1px solid rgba(197, 139, 0, 0.45);
    border-radius: 7px;
    background: #FFF9EC;
    color: #222222;
    font-size: 15px;
    line-height: 1.5;
}

.location-search-help {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 0 5px;
    padding: 19px 19px;
    border: 1px solid rgba(197, 139, 0, 0.45);
    border-radius: 7px;
    background: #FFF9EC;
    color: #222222;
    font-size: 15px;
    line-height: 1.5;
}


/* Information icon */
.church-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #C58B00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-style: normal;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .church-search-card {
        padding: 22px;
    }

    .church-search-heading {
        gap: 13px;
    }

    .church-search-heading h2 {
        font-size: 18px;
    }

    .church-search-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .church-search-icon::before {
        top: 12px;
        left: 12px;
        width: 14px;
        height: 14px;
    }

    .church-search-icon::after {
        top: 28px;
        left: 27px;
    }

    .church-search-field,
    .church-search-help {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .church-search-card {
        padding: 18px;
        border-radius: 10px;
    }

    .church-search-heading h2 {
        font-size: 17px;
    }

    .church-search-field .facetwp-search {
        min-height: 46px;
        font-size: 16px;
    }
}

.card-icon{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#F8F5EE;
    color:#be1f1d;
    flex-shrink:0;
}

.card-icon i{
    font-size:20px;
}

/* List of churches design */

/* ==========================================
   Results Card
========================================== */

.church-results-card{
    background:#fff;
    border:1px solid #C58B00;
    border-radius:12px;
    padding:28px;
    box-shadow:0 3px 12px rgba(0,0,0,.06);
}

/* ==========================================
   Results List
========================================== */

.church-results{
    margin-top:24px;
}

/* ==========================================
   Individual Result
========================================== */

.church-results .fwpl-item{

    position:relative;

}

.church-results .fwpl-item a {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push arrow to right */
    padding: 6px 12px;              /* Reduced from 8px 9px */
    background: #FAFAFA;
    border: 1px solid #E5E5E5;
    border-left: 4px solid #C58B00;
    border-radius: 8px;
    color: #8B1E1E;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.church-results .fwpl-item a::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #C58B00;
    font-size: 14px;
    margin-left: auto; /* Arrow on the far right */
    flex-shrink: 0;
}

.church-results .fwpl-result {
    margin-bottom: 4px;
}

/* Hover */

.church-results .fwpl-item a:hover{

    background:#FFF8EA;

    border-color:#C58B00;

    transform:translateX(5px);

    color:#8B1E1E;

    text-decoration:none;

    box-shadow:0 4px 10px rgba(0,0,0,.08);

}

/* Keyboard Focus */

.church-results .fwpl-item a:focus{

    outline:3px solid #005FCC;
    outline-offset:2px;

}

/* Last item */

.church-results .fwpl-result:last-child{

    margin-bottom:0;

}

.church-results .fwpl-row,
.church-results .fwpl-col,
.church-results .fwpl-item {
    margin: 0;
    padding: 0;
}

.church-results .fwpl-result {
    margin-bottom: 4px;
}