.elementor-kit-7{--e-global-color-primary:#B33E96;--e-global-color-secondary:#2C2A2E;--e-global-color-text:#605A63;--e-global-color-accent:#B33E96;--e-global-color-e53798e:#FFFFFF;--e-global-color-7bca8c6:#F7F7F7;--e-global-color-de73ae5:#454147;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-0af3486-font-family:"Roboto";--e-global-typography-0af3486-font-size:21px;--e-global-typography-0af3486-font-weight:700;--e-global-typography-0af3486-line-height:27px;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-kit-7 a{color:#5FBDC7;}.elementor-kit-7 h1{font-family:"Noto Sans", Sans-serif;}.elementor-kit-7 h2{color:var( --e-global-color-secondary );font-family:"Noto Sans", Sans-serif;font-size:27px;font-weight:300;line-height:28px;}.elementor-kit-7 h3{color:var( --e-global-color-secondary );font-family:"Noto Sans", Sans-serif;font-size:21px;font-weight:300;line-height:28px;}.elementor-kit-7 input:not([type="button"]):not([type="submit"]),.elementor-kit-7 textarea,.elementor-kit-7 .elementor-field-textual{padding:5px 20px 5px 20px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1600px;}.e-con{--container-max-width:1600px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-7 h2{font-size:19px;line-height:22px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-7{--e-global-typography-0af3486-font-size:19px;--e-global-typography-0af3486-line-height:1.3em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Main Layout Structure */
.horizontal-layout {
  display: flex;
  margin-bottom: 0;
  flex-wrap: nowrap;
  height: 100%;
  /* Remove transition from the main container to prevent layout shifts */
}

/* Image positioning */
.left-image {
  flex-direction: row;
}

.right-image {
  flex-direction: row-reverse;
}

/* Image styling - FIXED WIDTH to prevent shrinking */
.event-image,
.news-image {
  position: relative;
  /* Set a fixed flex basis instead of flex: 1 */
  flex: 0 0 50%;
  min-width: 300px;
  height: 379px;
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Ensure image maintains its size regardless of hover state */
.horizontal-layout:hover .event-image,
.horizontal-layout:hover .news-image {
  flex: 0 0 50%;
  min-width: 300px;
}

.event-thumbnail,
.news-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease-in-out;
  transform-origin: center center;
}

/* Enhanced hover effect for images */
.event-image:hover .event-thumbnail,
.news-image:hover .event-thumbnail,
.news-image:hover .news-thumbnail {
  transform: scale(1.1);
}

/* Content styling with isolated transitions */
.event-content,
.news-content {
  /* Set a fixed flex basis instead of flex: 1 */
  flex: 0 0 50%;
  padding: 3px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  /* Only transition the internal properties, not the size */
  transition: padding 0.3s ease;
}

/* Ensure content maintains its size regardless of hover state */
.horizontal-layout:hover .event-content,
.horizontal-layout:hover .news-content {
  flex: 0 0 50%;
  min-width: 300px;
  padding: 10px 15px;
}

/* Category tag styling */
.category-tag {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #a94199;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.horizontal-layout:hover .category-tag {
  transform: translateY(-2px);
}

.events-tag,
.press-tag,
.news-tag {
  color: #a94199;
}

/* Date styling with vertical line */
.event-date,
.post-date {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.horizontal-layout:hover .event-date,
.horizontal-layout:hover .post-date {
  color: #333;
}

.event-date:before,
.post-date:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: #a94199;
  transition: width 0.3s ease;
}

.horizontal-layout:hover .event-date:before,
.horizontal-layout:hover .post-date:before {
  width: 5px;
}

/* Title styling with hover effect */
.event-title,
.post-title {
  font-size: 24px;
  font-weight: 500;
  color: #333333;
  margin: 10px 0 15px 0;
  line-height: 1.3;
  transition: color 0.3s ease, transform 0.3s ease;
}

.horizontal-layout:hover .event-title,
.horizontal-layout:hover .post-title {
  color: #000;
  transform: translateY(-2px);
}

/* MORE link styling - HIDDEN BY DEFAULT, VISIBLE ON HOVER */
.more-link {
  display: inline-flex;
  align-items: center;
  color: #a94199;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  margin-top: 20px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.horizontal-layout:hover .more-link {
  opacity: 1;
  transform: translateY(0);
}

.more-link:after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #a94199;
  margin-left: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.more-link:hover:after {
  transform: translateX(5px);
}

/* WHO WE ARE section MORE button */
.who-we-are-section .more-link {
  color: white;
  opacity: 0;
}

.who-we-are-section:hover .more-link {
  opacity: 1;
}

.who-we-are-section .more-link:after {
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a94199' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* Stories from Survivors section */
.stories-title {
  text-align: center;
  background-color: white;
  color: #3f2a56;
  padding: 10px;
  font-weight: 600;
  margin: 10px 0;
  transition: all 0.3s ease;
}

/* Image Grid Layout with enhanced hover effects */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.grid-item {
  position: relative;
  height: 0;
  padding-bottom: 100%; /* Creates square aspect ratio */
  overflow: hidden;
  transition: all 0.3s ease;
}

.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.grid-item:hover img {
  transform: scale(1.1);
}

/* Caption for the last grid item with hover effect */
.grid-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.grid-item:hover .grid-caption {
  transform: translateY(0);
}

/* Fix Elementor container issues */
.elementor-section {
  margin-bottom: 0 !important;
  overflow: hidden;
}

.elementor-column-wrap,
.elementor-widget-wrap {
  padding: 0 !important;
}

.elementor-column {
  min-height: 0 !important;
}

/* Make sure images fill the entire space */
.event-image img,
.news-image img {
  width: 100%;
  height: 378px;
  object-fit: fill;
  object-position: center;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .horizontal-layout {
    flex-direction: column !important;
  }

  /* Reset flex basis for mobile */
  .event-image,
  .news-image,
  .event-content,
  .news-content,
  .horizontal-layout:hover .event-image,
  .horizontal-layout:hover .news-image,
  .horizontal-layout:hover .event-content,
  .horizontal-layout:hover .news-content {
    flex: 1 1 auto;
    min-height: 200px;
  }

  .event-content,
  .news-content {
    padding: 20px;
  }

  .event-title,
  .post-title {
    font-size: 20px;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Show MORE button on mobile without hover */
  .more-link {
    opacity: 1;
    transform: translateY(0);
  }
}/* End custom CSS */