.site-footer-row-layout-fullwidth>.site-footer-row-container-inner>.site-container {
    padding: 0;
}
.entry-content-wrap {
    padding-top: 0;
}

.taxonomy-category a {
    text-decoration: none;
    font-style: italic;
}
.wp-site-blocks .projects-title h1 {
    padding-bottom: 20px;
}

a.external-link::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' height='24' width='24' fill='none' stroke='%23219AEE' xmlns='http://www.w3.org/2000/svg' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-bottom: 4px;
}

figure.alignleft.is-resized {
  width: fit-content !important;
  display: block !important;
}

.wp-block-image img {
  width: inherit;
  height: inherit;
}

/* === Equal-height SAB cards (curec9-program + advisory_board) === */

/* Force all grid rows to equal height */
.page-id-2730 .wp-block-post-template.is-layout-grid,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid {
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
}

/* Each card item stretches full cell */
.page-id-2730 .wp-block-post-template.is-layout-grid > li.wp-block-post,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid > li.wp-block-post {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  align-self: stretch !important;
}

/* Group wrapper fills the card */
.page-id-2730 .wp-block-post-template.is-layout-grid > li.wp-block-post > .wp-block-group,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid > li.wp-block-post > .wp-block-group {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

/* Group inner container fills */
.page-id-2730 .wp-block-post-template.is-layout-grid .wp-block-group__inner-container,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid .wp-block-group__inner-container {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Kadence column fills */
.page-id-2730 .wp-block-post-template.is-layout-grid .wp-block-kadence-column,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid .wp-block-kadence-column {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Kadence inner col fills */
.page-id-2730 .wp-block-post-template.is-layout-grid .kt-inside-inner-col,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Pin "Full Bio" button to bottom */
.page-id-2730 .wp-block-post-template.is-layout-grid .wp-block-buttons:last-child,
.post-type-archive-advisory_board .wp-block-post-template.is-layout-grid .wp-block-buttons:last-child {
  margin-top: auto;
}
.full-width-video {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}

.full-width-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}.video-embed-cover {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-embed-cover iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-cover-button {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
}

.video-cover-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-cover-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 46px;
  line-height: 88px;
  text-align: center;
  padding-left: 6px;
}
.video-800 {
  width: 1000px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.video-800 iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.video-800 {
  width: 1000px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
}

.video-800 iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
@media (max-width: 1100px) {

.video-embed-cover {
  height: clamp(220px, 87vw, 720px);
}
}
@media (max-width: 800px) {
.video-embed-cover {
  height: clamp(220px, 52vw, 720px);
	}}
