/*---------------------------------------------------------------------------------

 Theme Name:   CaveIM
 Theme URI:    http://caveim.com
 Description:  CaveIm Divi Child Theme
 Author:       Jay Javier/ Cave IM
 Author URI:   
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* ==========================================================
   Display Events – Base Wrapper
   ========================================================== */

.display-events {
  /* Layout container */
}


/* ==========================================================
   Individual Event
   ========================================================== */

.display-events .display-event {
  /* Event card / row */
}


/* ==========================================================
   Event Title
   ========================================================== */

.display-events .display-event h2,
.display-events .display-event h3,
.display-events .display-event h4,
.display-events .display-event h5,
.display-events .display-event h6 {
  /* Event heading */
}

.display-events .display-event h2 a,
.display-events .display-event h3 a,
.display-events .display-event h4 a,
.display-events .display-event h5 a,
.display-events .display-event h6 a {
  /* Title link */
}


/* ==========================================================
   Event Date
   ========================================================== */

.display-events .display-event time {
  /* Event date */
}


/* ==========================================================
   Event Image
   ========================================================== */

.display-events .event-image {
  /* Image wrapper */
}

.display-events .event-image img {
  /* Featured image */
}


/* ==========================================================
   Event Excerpt
   ========================================================== */

.display-events .event-excerpt {
  /* Excerpt wrapper */
}


/* ==========================================================
   Read More Link
   ========================================================== */

.display-events .event-read-more {
  /* Read more container */
}

.display-events .event-read-more a {
  /* Read more link */
}


/* ==========================================================
   Pagination
   ========================================================== */

.display-events .event-pagination {
  /* Pagination wrapper */
}

.display-events .event-pagination .page-numbers {
  /* Pagination links */
}

.display-events .event-pagination .page-numbers.current {
  /* Current page */
}

.display-events .event-pagination .page-numbers.prev,
.display-events .event-pagination .page-numbers.next {
  /* Prev / Next links */
}


/* ==========================================================
   Accessibility / State Hooks
   ========================================================== */

.display-events [aria-live="polite"] {
  /* Live region – usually no styling needed */
}


/* ==========================================================
   Responsive Hooks (optional)
   ========================================================== */

@media (max-width: 980px) {
  .display-events {
    /* Tablet styles */
  }
}

@media (max-width: 767px) {
  .display-events {
    /* Mobile styles */
  }
}

/* ==========================================================
   Auto-Fit Grid Container
   ========================================================== */
/*
.display-events.auto-fit-grid {
  display: grid;
  gap: 2rem;

  grid-template-columns: repeat(
    auto-fit,
    minmax(
      var(--event-min-width, 260px),
      calc(100% / var(--event-columns))
    )
  );
}
*/
.display-events.auto-fit-grid {
  display: grid;
  gap: 2rem;

  grid-template-columns: repeat(var(--event-columns), minmax(0, 1fr));
}




/* Limit max columns */
@media (min-width: 981px) {
  .display-events.auto-fit-grid {
    max-width: calc(var(--event-columns) * 100%);
  }
}

@media (max-width: 980px) {
  .display-events.auto-fit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .display-events.auto-fit-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================
   Event Card
   ========================================================== */

.display-event {
  display: flex;
  flex-direction: column;
}


/* ==========================================================
   Utility Modifiers
   ========================================================== */

.display-event.is-upcoming {
  /* upcoming event */
}

.display-event.is-past {
  /* past event */
}

.display-event.has-image {
  /* has image */
}

.display-event.no-image {
  /* no image */
}


/* ==========================================================
   Event Image
   ========================================================== */

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


/* ==========================================================
   Read More
   ========================================================== */

.event-read-more {
  margin-top: auto;
}


/* ==========================================================
   Pagination
   ========================================================== */

.event-pagination {
  grid-column: 1 / -1;
}


#home-events .display-events {
   /* display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    column-gap: 30px;*/
}

#home-events .display-events .display-event {

    margin-bottom: 30px;
}


#home-events .display-events .display-event h2,
#home-events .display-events .display-event h3,
#home-events .display-events .display-event h4,
#home-events .display-events .display-event h5,
#home-events .display-events .display-event h6 {
	color:#23356d;
      font-family: 'Roboto Slab', serif;
    font-weight: 400;
    line-height: 1.1;
	text-decoration:none;
}

#home-events .display-events .display-event h2 a,
#home-events .display-events .display-event h3 a,
#home-events .display-events .display-event h4 a,
#home-events .display-events .display-event h5 a,
#home-events .display-events .display-event h6 a {
  text-decoration:none;
}


#home-events .display-events .display-event time {
	color:#23356d;
  margin-bottom:30px;
}


#home-events .display-events .event-image {
    margin-bottom: 14px;
}

#home-events .display-events .event-image img {
    max-width: 340px;
    max-height: 244px;
    object-fit: cover;
}


#home-events .display-events .event-excerpt {
    margin-bottom: 28px;
}


#home-events .display-events .event-read-more {
  margin-top:auto;
	margin-bottom:0;
}

#home-events .display-events .event-read-more a {
      background-color: hsl(from var(--) calc(h + 0) calc(s + 0) calc(l + 0) / 0);
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    color: var(--gcid-ir0sewkx2n)!important;
    font-size: 14px!important;
    letter-spacing: 1px!important;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-width: 1px;
    border-color: var(--gcid-ir0sewkx2n);
    border-style: solid;
	text-decoration: none;
    transition-property: background-color,border-color,color,letter-spacing;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
	padding-top: 17px!important;
    padding-right: 30px!important;
    padding-bottom: 17px!important;
    padding-left: 30px!important;
}
#home-events .display-events .event-read-more a:hover{
	    background-color: var(--gcid-gectvt94t5);
    color: var(--gcid-ir0sewkx2n)!important;
    letter-spacing: 2px!important;
    border-color: var(--gcid-ir0sewkx2n);
	
}

#home-events .display-events .event-pagination {
  /* Pagination wrapper */
}

#home-events .display-events .event-pagination .page-numbers {
  /* Pagination links */
}

#home-events .display-events .event-pagination .page-numbers.current {
  /* Current page */
}

#home-events .display-events .event-pagination .page-numbers.prev,
#home-events .display-events .event-pagination .page-numbers.next {
  /* Prev / Next links */
}


#home-events .display-events [aria-live="polite"] {
  /* Live region – usually no styling needed */
}


@media (max-width: 980px) {
  #home-events .display-events {
    /* Tablet styles */
  }
}

@media (max-width: 767px) {
  #home-events .display-events {
    /* Mobile styles */
  }
}
/* ==========================================
   Staff Details Toggle (CSS-only fallback)
   Default: content visible if JS fails
========================================== */

.staff-details__inner {
  display: block;
}

/* JS will collapse these */
.staff-details-toggle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
	justify-content:center;
  gap: 0.5rem;

  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  border: none;
  background: transparent;
  padding: 0;
}

/* Chevron icon */
.staff-details-toggle__icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 18px;
}

/* Rotate icon when expanded */
.staff-details-toggle.is-open .staff-details-toggle__icon {
  transform: rotate(180deg);
}

/* Smooth focus styling for accessibility */
.staff-details-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .staff-details-toggle__icon {
    transition: none;
  }
}
#staff-lead {
    background: #ededed;
}
.staff-row {
	margin-bottom:30px;

}
.staff-row .et_pb_row_nested.et_flex_row {
    margin-bottom: 0 !important;
}
.staff-row .et_pb_column.et-last-child{
	
}
.staff-details {
   margin-top: auto;
	padding-top:14px;
}
.staff-details-toggle {
	background-color: #fff;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    text-transform: uppercase;
    color: var(--gcid-ir0sewkx2n)!important;
    font-size: 14px!important;
    letter-spacing: 1px!important;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-width: 1px;
    border-color: var(--gcid-ir0sewkx2n);
    border-style: solid;
	text-decoration: none;
    transition-property: background-color,border-color,color,letter-spacing;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
	padding-top: 17px!important;
    padding-right: 30px!important;
    padding-bottom: 17px!important;
    padding-left: 30px!important;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.staff-details-toggle:hover{
	background-color: var(--gcid-gectvt94t5);
    color: var(--gcid-ir0sewkx2n)!important;
    letter-spacing: 2px!important;
    border-color: var(--gcid-ir0sewkx2n);
}

.staff-details__inner {
    overflow: hidden;
}



