/*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child/
Description: Astra Child Theme
Author: WordPress
Author URI: http://example.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: twenty-twenty-four-child
*/

/* Custom styles go here */

@font-face {
  font-family: 'cardinalfruit';
  src: url('fonts/cardinal-fruit-semibold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

h1, h2, h3,
.ast-site-title,
.ast-menu-toggle,
.ast-header-break-point .main-header-bar {
  font-family: 'cardinalfruit', sans-serif !important;
}

.forminator-field {
    font-family: 'cardinalfruit';
}

.forminator-error-message {
    color: #E51919;
}

input {
    border: 1px solid #698f3f !important;
    border-radius: 8px;
}

svg {
    background: transparent;
}

body.home #primary.content-area.primary {
    margin: 0 !important;
}

.sub-menu {
    min-width: 200px;
}

.main-page-quote {
	font-family: 'Lora';
	font-style: italic;
}

/* home page menu conditional */
/* Transparent nav only on front page */
body.home .my-custom-nav {
	background-color: transparent;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
}

/* Optional: make sure menu text stays visible */
body.home .menu-list li a {
	color: #E3DAC9; /* or any color that contrasts your background */
}

body.home .menu-list li a:hover {
	text-decoration: underline;
}

body.home .my-custom-nav .nav-inner {
    background-color: transparent;
}

/* Wrapper around logo and menu */
.my-custom-nav .nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 20px;
	background-color: #698F3F;
}

/* Logo image size */
.nav-logo img {
	height: 110px;
	width: auto;
	display: block;
}

@media (min-width: 768px) {
    .nav-logo img {
        height: 139px;
    }
}



/* Horizontal menu */
.menu-list {
	list-style: none;
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

/* Menu links */
.menu-list li a {
	color: #E3DAC9;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.5s ease;
}

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

/* ========== Sub-menu styles ========== */

/* Position parent li relative for submenu positioning */
.menu-list li {
	position: relative;
	font-family: 'cardinalfruit';
}

/* Hide submenus by default */
.menu-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%; /* below parent */
	left: 0;
	background-color: #1a1a1a;
	padding: 1rem;
	list-style: none;
	min-width: 200px;
	z-index: 1000;
	margin-left: 0 !important;
}

/* Add ▼ icon after parent items with submenus */
.menu-list li.menu-item-has-children > a::after {
	content: '\25BC';
	font-size: 0.75em;
	margin-left: 0.3em;
	color: #E3DAC9;
	transition: transform 0.3s ease;
}

/* Rotate arrow on hover (desktop) */
.menu-list li.menu-item-has-children:hover > a::after {
	transform: rotate(180deg);
}

/* Hide hamburger on desktop */
.menu-toggle {
	display: none;
}

/* === Desktop: show submenu on hover === */
@media (min-width: 769px) {
	.menu-item-has-children:hover > .sub-menu {
		display: block;
	}

	.menu-list .sub-menu li a {
		color: #E3DAC9;
		text-decoration: none;
		padding: 0.75rem 1.5rem;
		display: block;
		white-space: nowrap;
		transition: color 0.3s ease;
	}

	.menu-list .sub-menu li a:hover {
		color: #FF8200;
	}
}

/* === Mobile styles === */
@media (max-width: 768px) {
	.nav-inner {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.menu-toggle {
		  width: 30px;
          height: 30px;
          position: relative;
          cursor: pointer;
          background: transparent;
          border: none;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          padding: 0;
          z-index: 1100;
	}
	
	.menu-toggle .bar {
      height: 3px;
      width: 100%;
      background-color: #E3DAC9;
      border-radius: 2px;
      transition: all 0.4s ease;
      position: relative;  /* add relative positioning */
      z-index: 1101;  
}

/* When menu is open - change hamburger to "X" */
.menu-toggle.is-open .bar:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 18px;
  z-index: 1102;
}

.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
  transition-delay: 0.2s;
}

.menu-toggle.is-open .bar:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -8px;
}

	.menu-toggle:focus {
		outline: none;
		background-color: transparent;
	}

	.menu-list {
		display: none;
		flex-direction: column;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #1a1a1a;
		padding: 3rem 1rem;
		z-index: 1000;
		justify-content: center;
		align-items: center;
		overflow-y: auto;
	}

	.menu-list.active {
		display: flex;
	}

	.menu-list li {
		text-align: center;
		margin: 0.5rem 0;
		width: 100%;
	}

	.menu-list .menu-item-has-children {
		position: relative;
		width: 100%;
	}

	.menu-list .sub-menu {
		position: static !important; /* override desktop absolute */
		top: auto;
		left: auto;
		background-color: transparent;
		padding: 0;
		margin-top: 0.5rem;
		display: none;
		width: 100%;
	}

	.menu-item-has-children.show-submenu > .sub-menu {
		display: block;
	}

	.menu-list .sub-menu li a {
		padding-left: 2rem;
		display: block;
		color: #E3DAC9;
		width: 100%;
		text-align: left;
		transition: color 0.3s ease;
	}

	.menu-list .sub-menu li a:hover {
		color: #FF8200;
	}
}





.ast-container {
    flex-direction: column;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ast-separate-container #primary {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
}


.site-footer .ast-container {
    margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ast-woocommerce-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1240px;
    margin-top: 36px;
}

.page-template-page-useful-resources #primary .site-main.ast-container {
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button {
    margin-left: 12px;
}

.tribe-common .tribe-common-c-btn-border, .tribe-common a.tribe-common-c-btn-border {
    background: #698F3F;
    color: white !important;
    border: none;
}

.tribe-events .tribe-events-calendar-list__month-separator{

    background: #e3dac9;
}

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h6--min-medium {
    font-size: 24px;
}

.page-title {
    text-align: center !important;
    font-size: 56px !important;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    font-size: 20px;
}

.review-rating {
    justify-content: center;
}

.astra-shop-summary-wrap {
    justify-content: center;
    text-align: center;
}

/* Remove padding/margin from ast-container in a specific template */
.page-template-page-useful-resources footer .ast-container {
   padding: 0;
    margin: 0 auto;
}


.event-banner-container {
    background: url(http://gea.igu.mybluehost.me/staging/1781/wp-content/uploads/2025/07/candle_background.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    min-height: 397px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 90px;
}

.event-banner-inner-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Wrap for the full list */
.tribe-events-calendar-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* event page */
body.tribe-events-page-template .ast-above-header-bar{
    background-color: #698F3F;
}

body.tribe-events-page-template .ast-primary-header-bar {
	background-color: #698F3F;
}

.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
    background-color: #698F3F;
}

.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button:hover {
    background-color: #E3DAC9;
    color: #698F3F;
}

.event-banner-title {
    margin-bottom: 20px;
}

/* Each event card - event page section */
.custom-event-card {
    background: #fff;
    border: 1px solid #698F3F !important;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    font-family: 'Lora';
}

.custom-event-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.custom-event-thumb img {
    width: 100%;
    height: 264px;
    border-radius: 6px;
    margin-bottom: 1rem;
    object-fit: cover;
    
}

.tribe-events .custom-event-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: 'Lora';
    
}

.custom-event-date {
    font-size: 0.9rem;
    color: black;
    font-weight: 700;
    margin-bottom: 1rem;
}

.custom-event-excerpt {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tribe-events .custom-event-link {
    padding: 0px 10px;
    background: #e3dac9;
    color: #698f3f !important;
    margin-top: 10px;
    border: 1px solid #698f3f;
    font-size: 16px;
    font-family: 'Lora';
    font-weight: 600;
}

.custom-event-content {
    display: flex;
    flex-direction: column;
    padding: 10px 10px 20px 10px !important;
    align-items: center;
}

.tribe-events-calendar-list__month-separator {
	grid-column: 1 / -1;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	font-weight: bold;
	background: #f9f9f9;
	padding: 0.75rem 1rem;
	border-left: 4px solid #0073aa;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
    padding: 0px;
}

.tribe-events-event-image img {
    max-height: 400px;
    object-fit: cover;
}

/* resource page*/

.resource-content-area {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    
}

.resource-list {
    list-style: none;
}

.resource-item {
    display: flex;
    align-items: center;
}

.resource-title-wrapper {
  position: relative;
  display: inline-block;
}

.resource-title-wrapper a {
    font-size: 16px !important;
}


.resource-type-title {
    font-family: 'cardinalfruit';
    margin-bottom: 24px;
}

.resource-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: white;
  color: black;
  text-align: left;
  padding: 8px 12px;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
  top: 120%;
  left: 0;
  width: 240px;
  transition: opacity 0.3s ease;
  font-size: 14px;
  line-height: 1.4;
}

.resource-title-wrapper:hover .resource-tooltip {
  visibility: visible;
  opacity: 1;
}

.resource-main-content-container {
    display: flex;
    justify-content: center;
}


.cohorts {
    display: flex;
}

.cohort-tag {
    width: 29px;
    height: 29px;
    margin: 10px;
    font-size: 18px;
    display: block;
}

.cohort-tag--curious {
    background-color: #FF8200;
}

.cohort-tag--dying {
    background-color: #698F3F;
}

.cohort-tag--death {
    background-color: #B5AAE0;
}

.cohort-tag--mourning {
    background-color: #8FCEFF;
}

@media (max-width: 480px) {
  .resource-thumbnail {
      width: 100px !important;
  }
  .uagb-container-inner-blocks-wrap {
      flex-wrap: nowrap !important;
  }
  
  .wp-block-uagb-container.uagb-block-503d82c4 {
      margin-top: 0px !important;
      margin-bottom: 0px;
  }
}

@media (max-width: 820px) {
    .resource-content-area {
        padding-left: 30px;
        padding-right: 30px;
    }
}
/*memoriam */

.memoriam-epitaph-name {
    letter-spacing: 2px !important;
    text-align: center !important;
}

.memoriam-epitaph-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.memoriam-epitaph-dates {
    font-size: 12px;
}

.memoriam-epitaph {
    max-width: max-content;    
}

.memoriam-epitaph-image {
    margin-bottom: 12px;
}

/* epitaph */
.epitaph-layout {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}

.epitaph-top-container {
    display: flex;
    flex-direction: row;
}

.epitaph-main-photo {
    overflow: hidden;
    margin: 30px;
}

.epitaph-main-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.epitaph-elegy-container {
    background-image : url(http://gea.igu.mybluehost.me/staging/1781/wp-content/uploads/2025/07/elegey-background.png);
    background-repeat: no-repeat;
    background-size: 400px;
    width: 500px;
    background-position: 0% 24%;
    justify-items: center;
    align-content: center;
}

.epitaph-content-container {
    padding-top: 120px;
    font-family: 'cardinalFruit';
}

.epitaph-deceased-name {
    font-family: 'cardinalFruit';
}

.epitaph-gallery {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: center;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 1024px) {
    .epitaph-gallery {
      flex-direction: row;
    }
    
    .epitaph-grid {
          flex: 1; /* Each box takes equal space */
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
    }
    
     .epitaph-content-container {
        padding-top: 80px;
    }
}


@media (max-width: 820px){
    
    html, body {
    overflow-x: hidden;
  }
    
    .epitaph-layout {
     padding: 30px;
    }
    
    .epitaph-top-container{
        flex-direction: column;
    }
    
    .epitaph-main-photo {
        order: 1;
        display: flex;
        justify-content: center;
        margin: 0;
    }
    
    .epitaph-main-photo img{
            width: 250px;
    }
    
    .epitaph-content-container {
        order: 2;
        padding-top: 0;
        text-align: center;
    }
    
    .epitaph-elegy-container {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* footer */

.custom-footer {
  background-color: #E3DAC9;
  padding: 40px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left {
    width: 300px;    
    margin-right: 300px;
}



.footer-right {
  flex: 1;
  min-width: 280px;
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-contact-us {
    font-size: 36px;
    color: black;
    font-family: 'cardinalFruit';
    margin-left: 28px;
    cursor: pointer;
}

.foot-contact-us:hover {
    text-decoration: underline;
    cursor: pointer;
}
.footer-menus {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.footer-links-heading {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-menu-columns {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.footer-menu-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-column li {
  margin-bottom: 10px;
}

.footer-menu-column a {
  color: black;
  text-decoration: none;
}

.footer-menu-column a:hover {
  text-decoration: underline;
}

.footer-social {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-icon {
  display: inline-block;
  margin-right: 15px;
  color: black;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid white;
  font-size: 0.9em;
  margin-top: 20px;
}


@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    margin: 0 0 30px 0; /* reset margins for mobile */
  }

  .footer-left {
    margin-right: 0;
  }

  .footer-contact-us {
    margin-left: 0; /* center the heading text */
  }
}

@media (max-width: 820px) {
    .footer-left {
        margin-right: 0;
    }
}

/* community page */
@media (max-width: 768px){
    .community-bio-container {
        background-image: none !important;
        padding: 30px 35px 10px 35px !important;
         background-image: url(http://gea.igu.mybluehost.me/staging/1781/wp-content/uploads/2025/07/background_blur.png) !important;
           background-size: 600px !important;
           background-position: 30% 216% !important;
    }
    
    div.community-bio-inner-wrapper > div {
        flex-direction: column !important;
        
    }
    
    .community-bio-img {
        order: 1 !important;
    }
    
    .community-bio {
        order:2 !important;
    }
    
    .community-bio > p{
         color: white !important;
         font-family: 'cardianlfruit' !important;
         font-size: 16px;
    } 
    
    .page-id-777 > .content-area {
        padding: 0 !important;
    }
}

/* about page - circles */
.my-circles-wrapper {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-circles-wrapper .circle {
    position: absolute;
    pointer: cursor;
	transition: transform ease 0.5s;
	justify-content: center;
	align-item: center;
	
}

.circle:hover {
    transform: translate(5px, -5px);
}


.circle-1 {
    z-index: 4;
}

.circle-2 {
    z-index: 3;
}

.circle-3 {
    z-index: 2;
}

.circle-4 {
    z-index: 1;
}

@media (max-width: 500px){
    .my-circles-wrapper {
        max-width: 500px;  
        transform: scale(0.6);
    }
    
     .circle-3 {
        width: 135%;
    }
    
    .circle-4 {
        width: 180%;
    }
    
}
