.wp-block-cover.my-hover-trigger-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.wp-block-cover.my-hover-trigger-cover:hover::before {
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.wp-block-cover.my-hover-trigger-cover > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
}
.no-underline a {
  text-decoration: none;
  color: inherit;
}
p a {
  text-decoration: none !important;
  color: inherit;
}
.my-button-shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease;
}

.my-button-shadow:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}
.column-shadow-deep {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.15s ease;
}
.column-shadow-soft {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
  border-radius: 10px;
  padding: 10px;
  transition: box-shadow 0.2s ease;
}

.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px; /* adds spacing between columns */
}

/* ===== 'Our Partnerships' Section: Equal Height, Responsive Layout ===== */

.our-partnerships {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px; /* space between columns */
}

.our-partnerships .wp-block-column {
  display: flex;
  flex: 1 1 25%; /* four equal-width columns */
  min-width: 250px;
}

.our-partnerships .wp-block-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  box-sizing: border-box;
}

/* ===== Stack columns vertically on smaller screens ===== */
@media (max-width: 768px) {
  .our-partnerships {
    flex-direction: column;
  }

  .our-partnerships .wp-block-column {
    flex: 1 1 100%;
  }
}
/* ===== Make images inside 'Our Partnerships' responsive ===== */

.our-partnerships img {
  max-width: 100%;    /* keeps images from stretching too wide */
  height: auto;       /* keeps proportions correct */
  display: block;     /* removes tiny spacing under images */
  object-fit: contain; /* ensures the whole image is visible */
}

/* ===== Adjust layout for smaller screens ===== */
@media (max-width: 768px) {
  .our-partnerships {
    flex-direction: column; /* stack the 4 boxes vertically */
  }

  .our-partnerships .wp-block-column {
    flex: 1 1 100%;
  }

  .our-partnerships img {
    margin: 0 auto;   /* centers images on mobile */
  }
}

/* ===== Generic hover effect for linked images with class 'hover-zoom' ===== */

.hover-zoom {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: inline-block; /* ensures transform works nicely */
}

.hover-zoom:hover {
  transform: scale(1.05);   /* slight zoom */
  filter: brightness(1.3);  /* slight brighten */
  cursor: pointer;          /* hand cursor to show it’s clickable */
}

text-shadow-dark: 4px 4px 8px rgba(0,0,0,0.7);

/* ===== Text shadow for elements with class 'text-shadow' ===== */
.text-shadow-light {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Basic soft shadow */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Optional stronger version */
.text-shadow-strong {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

/* Optional light and subtle version */
.text-shadow-light {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.45);
}

/* Make selected Groups equal height and equal width */
.equal-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spacing between groups – adjust if needed */
}

.equal-groups > .wp-block-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Make inner content stretch evenly */
.equal-groups > .wp-block-group > * {
  flex-grow: 1;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .equal-groups {
    flex-direction: column;
  }
}
/* Equal-height adaptive columns */
.equal-columns {
  display: flex;
  align-items: stretch; /* makes all columns match the tallest */
  gap: 20px;
}

.equal-columns > .wp-block-column {
  display: flex;
  flex-direction: column;
}

/* Mobile: stack columns */
@media (max-width: 768px) {
  .equal-columns {
    flex-direction: column;
  }
}
@media (max-width: 1024px) {
  .wp-block-navigation__responsive-container-content {
    padding-left: 30px !important;
  }
}

/* Change all button backgrounds to #00337F on hover */
button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
.et_pb_button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
a.button:hover,
a.wp-element-button:hover {
  background-color: #00337F !important;
  border-color: #00337F !important;
  transition: all 0.3s ease;
}

/* BOTH paragraphs change when EITHER is hovered */

.hover-group {
  transition: color 0.3s ease;
}

.hover-wrapper:hover .hover-group {
  color: #94A3CA !important;
}