/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Worship page polish */
#worship-details .worship-cross-img img,
#church-year .worship-hall-img img,
.worship-hall-img img {
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(24, 16, 67, 0.18);
}
#cedar-cross .worship-cross-img img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(24, 16, 67, 0.18);
}

#church-year .liturgical-wheel img {
  border-radius: 50%;
}

.season-dots {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.season-dots span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.worship-seasons-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.worship-seasons-list li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid rgba(36, 26, 94, 0.08);
  position: relative;
}
.worship-seasons-list li:last-child {
  border-bottom: 0;
}
#welcome .welcome-lead p:first-child {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.65;
  color: #241A5E;
}
#welcome .welcome-closing {
  border-left: 4px solid #C2A35A;
}
#welcome .welcome-lead {
  align-self: center;
}
#welcome .elementor-button {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

/* Footer nav + links */
#site-footer .elementor-nav-menu--main .elementor-item,
#site-footer .elementor-nav-menu--main .elementor-item:hover,
#site-footer .elementor-nav-menu--main .elementor-item:focus,
#site-footer .elementor-nav-menu--main .elementor-item.elementor-item-active,
#site-footer .elementor-nav-menu--main .elementor-item:visited {
  color: #FFFFFF !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
#site-footer .elementor-nav-menu--layout-vertical .elementor-nav-menu {
  row-gap: 0;
}
#site-footer .elementor-widget-text-editor a {
  color: #FFFFFF;
}
#site-footer .elementor-widget-text-editor a:hover {
  color: #FFFFFF;
  opacity: 0.85;
}

/* Header overlay on heroes */
.elementor-location-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}
#site-header {
  background-color: #ffffff !important;
  transition: box-shadow 0.35s ease;
}
#site-header.header-scrolled {
  box-shadow: 0 2px 18px rgba(24, 16, 67, 0.08);
}
#page-hero {
  padding-top: 190px !important;
}

/* Mobile nav */
@media (max-width: 767px) {
  #site-header .elementor-element-b3fbf40 {
    display: none !important;
  }
  #site-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
    position: fixed !important;
    top: 73px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-top: 88px;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(24, 16, 67, 0.12);
  }
  #site-header .elementor-nav-menu--dropdown .elementor-nav-menu {
    width: 100%;
  }
  #site-header .elementor-nav-menu--dropdown .elementor-item {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(36, 26, 94, 0.08);
  }
}

/* Home hero slideshow */
#hero {
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 67, 0.62);
  z-index: 1;
  pointer-events: none;
}
#hero .elementor-widget-html {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}
#hero .elementor-widget-html .elementor-widget-container,
#hero .hero-slideshow {
  height: 100%;
}
#hero .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
#hero .hero-slide.is-active {
  opacity: 1;
}
#hero > .e-con,
#hero > .elementor-element:not(.elementor-widget-html) {
  position: relative;
  z-index: 2;
}
.worship-seasons-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8FB45F;
}
