/* Mobile and layout fixes */
html, body { overflow-x: hidden; }
img, iframe, video { max-width: 100%; height: auto; }

/* Responsive containers for embeds */
.responsive-embed { position: relative; width: 100%; padding-top: 56.25%; }
.responsive-embed > iframe,
.responsive-embed > video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Updates section styling to match card-like Divi modules */
.hs-updates-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; padding: 18px 20px; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.hs-updates-card h4 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.hs-updates-card p { margin: 0 0 8px; }
.hs-updates-card p:last-child { margin-bottom: 0; }

/* Tighten left/right gutters on small screens to mirror page spacing */
@media (max-width: 767px) {
  .et_pb_text, .et_pb_text .et_pb_text_inner, .et_pb_heading_container,
  .et_pb_module.et_pb_blurb .et_pb_blurb_description,
  .et_pb_module.et_pb_blurb .et_pb_module_header { margin-left: 2% !important; margin-right: 2% !important; }
}

/* Match live-site formatting for the updates section */
.hs-updates-section { background-color: #fafafa; --hs-heading-color: #333; }
.hs-updates-section .et_pb_module_heading {
  margin-bottom: 14px;
  color: var(--hs-heading-color) !important;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
}
.hs-updates-section .hs-update-row {
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
  padding: 24px 28px;
  margin-bottom: 18px;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
/* Bottom two rows: explicit accent border color */
.hs-updates-section .hs-update-row.hs-update-row--accent { border-color: #0187C7 !important; }

/* First row: grayed-out/disabled text styling */
.hs-updates-section .hs-update-row--first .hs-update-meta p,
.hs-updates-section .hs-update-row--first .hs-update-desc p { color: #9aa0a6 !important; }
/* Reduce title emphasis for disabled look */
.hs-updates-section.hs-updates-section .hs-update-row--first .hs-update-title.et_pb_text .et_pb_text_inner p {
  color: #9aa0a6 !important;
  font-weight: 500 !important;
}

/* Ensure columns don’t add extra bottom gaps inside these rows */
.hs-updates-section .hs-update-row .et_pb_column { margin-bottom: 0; }

/* Left column (dates/location) */
.hs-updates-section .hs-update-meta p {
  margin: 0;
  color: #666;
  line-height: 1.7;
  font-weight: 400;
  font-size: 14px;
  font-family: "Open Sans", Arial, sans-serif;
}
/* Right column title (increase specificity to override Divi defaults) */
.hs-updates-section.hs-updates-section .hs-update-row .hs-update-title.et_pb_text .et_pb_text_inner p {
  margin: 0 0 6px;
  color: #333 !important;
  font-weight: 700 !important;
  font-size: 30px !important;
  line-height: 1.2 !important;
  font-family: "Open Sans", Arial, sans-serif !important;
}
/* Right column description */
.hs-updates-section .hs-update-desc p {
  margin: 0;
  color: #666;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  font-family: "Open Sans", Arial, sans-serif;
}

@media (max-width: 980px) {
  .hs-updates-section .hs-update-row { padding: 20px; }
  /* Match heading size on mobile as well */
  .hs-updates-section.hs-updates-section .hs-update-row .hs-update-title.et_pb_text .et_pb_text_inner p { font-size: 30px !important; }
}
