/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

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

/* ------- Temple Hours Bar ------- */
.temple-hours-bar{
  background:#4e1515;              /* maroon */
  color:#fff;
  padding:10px 14px;
  border-radius:4px;
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Heebo', sans-serif;
	font-size:14px;
}
.temple-hours-bar .thb-icon{display:inline-flex}
.temple-hours-bar .thb-clock{width:22px;height:22px;display:block}

.temple-hours-bar .thb-items{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.temple-hours-bar .thb-item{white-space:nowrap}
.temple-hours-bar .thb-sep{opacity:.8}

.temple-hours-bar strong{font-weight:600}

/* small screens: stack neatly */
@media (max-width: 520px){
  .temple-hours-bar{padding:12px}
  .temple-hours-bar .thb-items{
    gap:6px 10px;
  }
  .temple-hours-bar .thb-item{white-space:normal}
  .temple-hours-bar .thb-sep{display:none} /* hide pipes when wrapping */
}
/* Target the menu UL */
#menu-primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px; /* spacing between items */
  /* align center, change to flex-start or flex-end if needed */
}

/* Menu list items */
#menu-primary-menu li {
  margin: 0;
  padding: 0;
}

/* Menu links */
#menu-primary-menu li a {
  text-decoration: none;
  font-family: Heebo, sans-serif; /* unga font */
  font-size: 16px;
  color: #fff;
  padding: 8px 12px;
  display: block;
  transition: 0.3s ease;
}

/* Hover effect */
#menu-primary-menu li a:hover {
  color: #ff6600;
}

.site-footer-middle-section-1{
	width:250px !important;
}

.site-footer-middle-section-2{
	width:1050px;
	margin-left:-150px;
}

@media (max-width: 1024px) {
  .site-footer-middle-section-1,
  .site-footer-middle-section-2 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0;
    text-align: center; /* Optional */
  }
}

/* Hover effect */
.footer-menu li a:hover {
  color: #ff6600;
}

.wpcf7-email{
	width:100% !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
    margin-bottom: 20px !important; /* gap between each input field */
}

.wpcf7-form textarea {
    height: 100px;  /* adjust height as needed */
    max-height: 150px; /* optional max height */
}

/* Add arrow after Donate button */
a.header-button::after {
  content: "➔";   /* arrow symbol */
  font-size: 16px;
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Hover effect */
a.header-button:hover::after {
  transform: translateX(4px);
}

.splide__arrow {
  width: 35px !important;
  height:35px !important;
  background: transparent;        /* transparent bg */
  border: 2px solid #fff;         /* white border */
  border-radius: 50% !important;             /* circle */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1 !important;
}

.splide__arrow svg {
  width: 16px;
  height: 16px;
  fill: #fff;                     /* arrow white */
  transition: fill 0.3s ease;
}

.splide__arrow:hover {
  background: #fff !important;               /* white fill */
}

.splide__arrow:hover svg {
  fill: #f97316 !important;                  /* orange arrow on hover */
}

/* Position adjust */
.splide__arrow--prev {
  left: -60px !important;  /* adjust spacing */
}

.splide__arrow--next {
  right: -60px !important; /* adjust spacing */
}

/* Tablet */
@media (max-width: 1024px) {
  .splide__arrow {
    width: 30px !important;
    height: 30px !important;
  }
  .splide__arrow svg {
    width: 14px;
    height: 14px;
  }
  .splide__arrow--prev {
    left: -40px !important;
  }
  .splide__arrow--next {
    right: -40px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .splide__arrow {
    width: 28px !important;
    height: 28px !important;
  }
  .splide__arrow svg {
    width: 12px;
    height: 12px;
  }
  .splide__arrow--prev {
    left: -25px !important;
  }
  .splide__arrow--next {
    right: -25px !important;
  }
}

/* Gallery wrapper padding & background */
.kb-gallery-wrap-id-12_f75d81-9d {
 
  background: #fff !important; /* light gray background */
}

/* Carousel slides */
.kb-gallery-wrap-id-12_f75d81-9d .splide__slide img {
  border-radius: 12px !important; /* rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.kb-gallery-wrap-id-12_f75d81-9d .splide__slide img:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Arrows */
.kb-gallery-wrap-id-12_f75d81-9d .splide__arrow {
  background: #333 !important;
  color: #fff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  opacity: 0.8 !important;
  transition: 0.3s ease !important;
}

.kb-gallery-wrap-id-12_f75d81-9d .splide__arrow:hover {
  background: #ff6600 !important; /* highlight color */
  opacity: 1 !important;
}

/* Pagination dots */
.kb-gallery-wrap-id-12_f75d81-9d .splide__pagination__page {
  background: #bbb !important;
  width: 10px !important;
  height: 10px !important;
  margin: 5px !important;
  border-radius: 50% !important;
  transition: background 0.3s ease !important;
}

.kb-gallery-wrap-id-12_f75d81-9d .splide__pagination__page.is-active {
  background: #ff6600 !important; /* active dot color */
}

@media (max-width: 768px) {
  /* Hide menu by default */
  #menu-primary-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 60px; /* adjust based on header */
    left: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  #menu-primary-menu li {
    display: block;
    border-bottom: 1px solid #eee;
  }

  /* Show hamburger button */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 26px;
    padding: 10px 15px;
    background: #333;
    color: #fff;
    border-radius: 5px;
  }

  /* Checkbox hack for toggle */
  #menu-toggle-checkbox {
    display: none;
  }

  #menu-toggle-checkbox:checked ~ #menu-primary-menu {
    display: flex;
  }
}

/* Container max width */
.custom-single-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* Flex layout */
.custom-single-layout .post-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left side featured image */
.custom-single-layout .post-left {
    flex: 1;
}
.custom-single-layout .post-thumbnail img.featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Right side content */
.custom-single-layout .post-right {
    flex: 2;
}

@media screen and (max-width: 1024px) {
    .post-wrapper {
        display: flex;
        flex-direction: column; /* stack items */
    }
    .post-left {
        order: 1 !important; /* image first */
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .post-right {
        order: 2 !important; /* content after image */
        width: 100% !important;
    }
    .post-left img.featured-img {
        width: 100% !important;
        height: auto !important;
    }
}




.kb-query-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.kb-card {
  background: #f7f9fc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.kb-card-image {
  position: relative;
}

.kb-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.kb-card-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f05a28; /* orange */
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  border-top-right-radius: 6px;
}

.kb-card-content {
  padding: 16px;
}

.kb-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 10px;
}

.kb-card-excerpt {
  font-size: 15px;
  color: #444;
  margin-bottom: 10px;
}

.kb-card-readmore {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
}



/* Common thumbnail size for events cards */
.kb-query-item.kb-card img {
  width: 100%;
  height: 250px;       /* adjust height as per your design */
  object-fit: cover;   /* crop neatly without stretching */
  border-radius: 12px; /* match Kadence style */
}

.ql1{
	display:none;
}







