.investor-feed__wrapper {
  gap: var(--bs-gutter-x);
  row-gap: var(--md-3)
}
/* .investor-feed__wrapper .investor-feed__card {
min-height: 40rem
} */

.investor-feed__wrapper .bg-signpost {
  height: 100%
}
.investor-feed__wrapper .bg-signpost__image-wrapper {
  height: 100%
}
.latest-feed__content-wrapper:last-child {
  border-bottom: none;
}
.latest-feed__content-wrapper {
  border-bottom: 1px solid;
  border-image: linear-gradient(
    90deg,
    rgba(48, 48, 48, 0.10) 0%,
    rgba(48, 48, 48, 0.00) 100%
  ) 1;
}
@media (min-width:768px) {
  .investor-feed__wrapper {
    grid-template-columns: 1fr 1fr
  }
}
@media (min-width:1200px) {
  .investor-feed--two-boxes-60-40 .investor-feed__wrapper {
    grid-template-columns: 2fr 1fr
  }
  .investor-feed--three-boxes-equal .investor-feed__wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
  .investor-feed--four-boxes-60-40-2up-2down .investor-feed__wrapper {
    grid-template-columns: repeat(12,1fr)
  }
  .investor-feed--four-boxes-60-40-2up-2down .investor-feed__card {
    grid-column: span 8
  }
  .investor-feed--four-boxes-60-40-2up-2down .investor-feed__card:nth-child(4n+2),
  .investor-feed--four-boxes-60-40-2up-2down .investor-feed__card:nth-child(4n-1) {
    grid-column: span 4
  }
  .investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__wrapper {
    grid-template-columns: repeat(12,1fr)
  }
  .investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card {
    grid-column: span 4
  }
  .investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card:nth-child(5n+1),
  .investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card:nth-child(5n+2) {
    grid-column: span 6
  }
  .investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__wrapper {
    grid-template-columns: repeat(12,1fr)
  }
  .investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card {
    grid-column: span 4
  }
  .investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card:nth-child(5n+1) {
    grid-column: span 8
  }
  .investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card:nth-child(5n+2) {
    grid-column: span 4
  }
  .investor-feed--three-boxes-equal .investor-feed__card:nth-child(1) , 
  .investor-feed--three-boxes-equal .investor-feed__card:nth-child(3){
    align-self: center;
  }
}

/*
.investor-feed__wrapper {
gap: var(--bs-gutter-x);
row-gap: var(--md-3)
}
.investor-feed__wrapper .investor-feed__card {
min-height: 40rem
}
.investor-feed__wrapper .bg-signpost {
height: 100%
}
.investor-feed__wrapper .bg-signpost__image-wrapper {
height: 100%
}
@media (min-width:768px) {
.investor-feed__wrapper {
grid-template-columns: 1fr 1fr
}
}
@media (min-width:1200px) {
.investor-feed--two-boxes-60-40 .investor-feed__wrapper {
grid-template-columns: 2fr 1fr
}
.investor-feed--three-boxes-equal .investor-feed__wrapper {
grid-template-columns: 1fr 1fr 1fr
}
.investor-feed--four-boxes-60-40-2up-2down .investor-feed__wrapper {
grid-template-columns: repeat(12,1fr)
}
.investor-feed--four-boxes-60-40-2up-2down .investor-feed__card {
grid-column: span 8
}
.investor-feed--four-boxes-60-40-2up-2down .investor-feed__card:nth-child(4n+2),
.investor-feed--four-boxes-60-40-2up-2down .investor-feed__card:nth-child(4n-1) {
grid-column: span 4
}
.investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__wrapper {
grid-template-columns: repeat(12,1fr)
}
.investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card {
grid-column: span 4
}
.investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card:nth-child(5n+1),
.investor-feed--five-boxes-2up-equal-3down-equal .investor-feed__card:nth-child(5n+2) {
grid-column: span 6
}
.investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__wrapper {
grid-template-columns: repeat(12,1fr)
}
.investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card {
grid-column: span 4
}
.investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card:nth-child(5n+1) {
grid-column: span 8
}
.investor-feed--five-boxes-2up-60-40-3down-equal .investor-feed__card:nth-child(5n+2) {
grid-column: span 4
}
}
*/
/* added again by PV - 10 Mar 2025 */

.bg-signpost__image-wrapper::after {
  content: "";
/*   background: -webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),to(rgba(0,0,0,.5)));
  background: linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.5) 100%); */ 
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out
}
.bg-signpost__image-wrapper::before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
/*   background: rgba(0,0,0,.5); */ 
  opacity: 0;  
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out
}
.bg-signpost__image {
  min-height: 22rem
}
.bg-signpost__content {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 0;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  width: 100%
}
.bg-signpost__description {
  -webkit-transition: all .6s ease-in-out;
  transition: all .6s ease-in-out
}
.bg-signpost__description .cta--overlay-card::before {
  top: auto;
  left: -50%;
  bottom: -50%;
  height: 100vh;
  width: 100vw
}
.bg-signpost__title {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out
}
.bg-signpost .cta:focus-visible {
  background-color: transparent
}
.bg-signpost:focus-within .bg-signpost__image-wrapper::before,
.bg-signpost:hover .bg-signpost__image-wrapper::before {
  opacity: 1
}
.bg-signpost:focus-within .bg-signpost__image-wrapper::after,
.bg-signpost:hover .bg-signpost__image-wrapper::after {
  opacity: 0
}
@media (min-width:768px) {
  .bg-signpost__image {
    min-height: 32rem
  }
  .bg-signpost--small .bg-signpost__image {
    min-height: 28rem
  }
}
@media (min-width:992px) {
  .bg-signpost__title {
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0
  } 
  .bg-signpost__description {
    opacity: 0
  }
  /*     .bg-signpost:hover .bg-signpost__title {
  bottom: 12rem
}   */
  .bg-signpost:hover .bg-signpost__description {
    opacity: 1
  }
  .bg-signpost:focus-within .bg-signpost__title {
    bottom: 12rem
  } 
  .bg-signpost:focus-within .bg-signpost__description {
    opacity: 1
  }

}
@media (min-width:1200px) {
  .bg-signpost__image {
    min-height: 56.8rem
  }
  .bg-signpost--small .bg-signpost__image {
    min-height: 39.5rem
  }
}

/* =========================
ROOT SIGNPOST
========================= */
.bg-signpost {
  position: relative;
  overflow: hidden;
}

/* Remove fixed white background if applied by panel-light */
.bg-signpost.panel-light {
  background: transparent;
}

/* =========================
IMAGE LAYER
========================= */
.bg-signpost__image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-signpost__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
CONTENT LAYER
========================= */
.bg-signpost__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 0.5rem;
  display: block; /* prevent flex issues */
}

/* =========================
EXPANDING BACKGROUND
========================= */
.bg-signpost__content-wrapper {
  width: 100%;
  padding: 1.5rem;
  background: #fff; /* or your bg-base-5 token */
  color: #000;

  max-height: 150px; /* initial height covers title + intro + CTA */
  overflow: hidden;
  transition: max-height 0.45s ease;
}

/* =========================
TITLE + INTRO (always visible)
========================= */
.bg-signpost__title {
  margin-bottom: 0.75rem;
  position: relative;
  transition: transform 0.3s ease;
}

/* =========================
DESCRIPTION (hidden initially)
========================= */
.bg-signpost__description {
  position: relative;
  padding-bottom: 3rem; /* reserve space for CTA so it doesn’t overlap */
}

/* Hide description text initially */
.bg-signpost__description .bg-signpost__text {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show description text on hover */
.bg-signpost:hover .bg-signpost__description .bg-signpost__text {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
CTA (always visible)
========================= */
.bg-signpost__cta-wrapper {
  position: absolute;
  bottom: 0;       /* stick to bottom of description wrapper */
  left: 0;
  right: 0;
  opacity: 1;      /* always visible */
  transform: none;
  z-index: 3;
}

/* =========================
HOVER STATE (expand wrapper)
========================= */
.bg-signpost:hover .bg-signpost__content-wrapper {
  max-height: 600px; /* expand to fit description text */
}

/* =========================
MOBILE TWEAKS
========================= */
@media (max-width: 768px) {
  .bg-signpost__content-wrapper {
    max-height: 180px; /* default height for smaller screens */
  }

  .bg-signpost:hover .bg-signpost__content-wrapper {
    max-height: 500px; /* expanded height for smaller screens */
  }
}

.investor-feed__card .external-iframe{
height: 27.6rem;
display: flex;
align-items: center;
}
/*To capitalize the date in SV*/
.investor-feed .latest-feed .latest-feed__date.label {
    text-transform: capitalize;
}