.WaPlaceHolder { max-width: 1500px; }
.container_12 {
          width: 1500px;
        }
        .s1_grid_12{
          width: auto;
        }
.menuBackground{
    background-color: #003366 !important;
    text-align: center !important;
}

 #id_yOhi7Wr_1 ul {
        display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

 #id_yOhi7Wr_1 li {
        text-align: center;
    list-style: none;
    padding: 10px; 
}

/* events */

/* LAIPLA Events Widget - Professional 3 Column Grid */
/* Target using HTML ID: id_YGm3Tr9 */

#id_YGm3Tr9 {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 60px !important;
}

/* Events Header - Centered with Golden Accent */
#id_YGm3Tr9 h2,
#id_YGm3Tr9 .gadgetTitle {
  font-size: 2.8rem !important;
  color: #003366 !important;
  font-weight: 600 !important;
  text-align: center !important;
  margin-bottom: 60px !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  position: relative !important;
  display: block !important;
}

#id_YGm3Tr9 h2::after,
#id_YGm3Tr9 .gadgetTitle::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 2px;
}

/* Events Grid Container */
#id_YGm3Tr9 .eventList,
#id_YGm3Tr9 ul,
#id_YGm3Tr9 .listContainer {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 35px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Individual Event Card */
#id_YGm3Tr9 .listItem,
#id_YGm3Tr9 li {
  background: white !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.12) !important;
  border: 1px solid rgba(0, 51, 102, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

#id_YGm3Tr9 .listItem:hover,
#id_YGm3Tr9 li:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 50px rgba(0, 51, 102, 0.18) !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
}

/* Event Content Container with Proper Padding */
#id_YGm3Tr9 .eventContent,
#id_YGm3Tr9 .listItemBody,
#id_YGm3Tr9 .listItem > *:not(img) {
  padding: 30px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Event Title - Professional Blue Link */
#id_YGm3Tr9 .eventName,
#id_YGm3Tr9 .listItem a,
#id_YGm3Tr9 li a {
  color: #0088CC !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
  line-height: 1.4 !important;
  display: block !important;
  transition: color 0.3s ease !important;
  padding: 0 !important;
}

#id_YGm3Tr9 .eventName:hover,
#id_YGm3Tr9 .listItem a:hover,
#id_YGm3Tr9 li a:hover {
  color: #003366 !important;
}

/* Event Date - Navy Blue with Icon */
#id_YGm3Tr9 .eventDate,
#id_YGm3Tr9 .listItem > *:first-of-type:not(a) {
  color: #003366 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  display: block !important;
  padding: 0 !important;
}

/* Event Time */
#id_YGm3Tr9 .eventTime {
  color: #666666 !important;
  font-size: 0.95rem !important;
  margin-bottom: 15px !important;
  display: block !important;
  font-weight: 500 !important;
}

/* Event Location - With Better Spacing */
#id_YGm3Tr9 .eventLocation {
  color: #666666 !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-top: auto !important;
  padding-top: 20px !important;
  border-top: 2px solid rgba(255, 215, 0, 0.2) !important;
}

/* Add Golden Accent Bar at Top of Card - Refined */
#id_YGm3Tr9 .listItem::before,
#id_YGm3Tr9 li::before {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background: linear-gradient(135deg, #FFD700, #FFA500) !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transition: height 0.3s ease !important;
}

#id_YGm3Tr9 .listItem:hover::before,
#id_YGm3Tr9 li:hover::before {
  height: 5px !important;
}

/* Remove conflicting styles */
#id_YGm3Tr9 .listItem br {
  display: none !important;
}

/* Clean white background for cards */
#id_YGm3Tr9 .listItem,
#id_YGm3Tr9 li {
  background: #FFFFFF !important;
}

/* Responsive Design - 2 Columns for Tablets */
@media (max-width: 968px) {
  #id_YGm3Tr9 .eventList,
  #id_YGm3Tr9 ul,
  #id_YGm3Tr9 .listContainer {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
  }
  
  #id_YGm3Tr9 h2,
  #id_YGm3Tr9 .gadgetTitle {
    font-size: 2.2rem !important;
    margin-bottom: 45px !important;
  }
}

/* Responsive Design - 1 Column for Mobile */
@media (max-width: 640px) {
  #id_YGm3Tr9 .eventList,
  #id_YGm3Tr9 ul,
  #id_YGm3Tr9 .listContainer {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  #id_YGm3Tr9 .eventContent,
  #id_YGm3Tr9 .listItemBody,
  #id_YGm3Tr9 .listItem > *:not(img) {
    padding: 25px !important;
  }
  
  #id_YGm3Tr9 h2,
  #id_YGm3Tr9 .gadgetTitle {
    font-size: 2rem !important;
  }
}



/* Remove outer gadget border */
#id_9MCRHIQ,
#id_9MCRHIQ .WaGadgetOnly {
    border: none !important;
    box-shadow: none !important;
}

#id_9MCRHIQ .gadgetStyleTitle {
      background: #003366 !important;
  display: flex !important;
  justify-content: center !important; /* centers horizontally */
  align-items: center !important;     /* centers vertically */
  text-align: center !important;
  height: 100px; /* adjust as needed */

}
/* Center the "Upcoming events" title */
#id_9MCRHIQ .gadgetStyleTitle h4 {
    text-align: center;
    color: #FFFFFF;
    font-size: 28px; 
    font-weight: 700;
    /* margin-bottom: 40px; */
}

/* 2-column grid for events list */
#id_9MCRHIQ .gadgetStyleBody ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Individual event item styling - EQUAL HEIGHT */
#id_9MCRHIQ .gadgetStyleBody li {
    background: #FFFEF0;
    border-radius: 0;
    padding: 30px;
    box-shadow: none;
    border-left: 5px solid #FFD700;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#id_9MCRHIQ .gadgetStyleBody li:hover {
    transform: translateX(5px);
    border-left-width: 8px;
    background: #FFFFF8;
}

/* Title container */
#id_9MCRHIQ .title {
    flex: 0 0 auto;
    margin-bottom: 20px;
}

/* Event title */
#id_9MCRHIQ .title a {
    font-size: 30px;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

#id_9MCRHIQ .title a:hover {
    color: #004080;
}

/* Date and location container - pushed to bottom */
#id_9MCRHIQ .date {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #FFD700;
}

#id_9MCRHIQ .dateonly {
    display: block;
    color: #004080;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

#id_9MCRHIQ .location {
    display: block;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

#id_9MCRHIQ .separator {
    display: none;
}

/* Responsive - single column on mobile */
@media (max-width: 768px) {
    #id_9MCRHIQ .gadgetStyleBody ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



/* Make footer navigation links white */
#id_Y8vmW7j a {
  color: #ffffff !important;
  text-decoration: none; /* optional: remove underline */
}
/* 
Optional: hover effect
#id_Y8vmW7j a:hover {
  color: #cccccc; /* light gray on hover */
/* } */ 


.shadow-hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

/* Bio Container Layout */
.bio-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #FFFEF0;
  padding: 32px 40px; /* Increased from 24px */
  border-radius: 10px;
  gap: 30px; /* Increased from 20px */
  margin: 24px 0;
  position: relative;
}

/* Image Column */
.bio-left {
  flex: 0 0 26%;
  max-width: 26%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bio-left img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Text Column */
.bio-right {
  flex: 0 0 64%;
  max-width: 64%;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

.bio-right strong {
  font-size: 20px;
  display: block;
  margin-bottom: 12px;
  color: #111;
}

/* Responsive Support */
@media screen and (max-width: 768px) {
  .bio-container {
    flex-direction: column;
    padding: 24px;
  }
  .bio-left,
  .bio-right {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .bio-left {
    margin-bottom: 20px;
  }
}