/**
 * @file
 * Styles for NextDC Explore Hub block.
 */

.nextdc-explore-hub {
  width: 100%;
  padding: 0;
}

.nextdc-explore-hub__content {
  width: 100%;
}

/* Grid Layout - 2x2 */
.nextdc-explore-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 0;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nextdc-explore-hub__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .nextdc-explore-hub__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: visible;
  }
}

/* Card Container */
.nextdc-explore-hub__card {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 16 / 9;
}

@media (max-width: 767px) {
  .nextdc-explore-hub__card {
    aspect-ratio: 69 / 20;
    height: 121px;
    min-height: 121px;
    transform-origin: top center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nextdc-explore-hub__card.active {
    transform: scaleY(1.1);
    height: auto;
    min-height: 300px;
    z-index: 10;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

/* Left column cards (indices 0, 2, 4...) expand from top-left */
.nextdc-explore-hub__card:nth-child(odd) {
  transform-origin: top left;
}

/* Right column cards (indices 1, 3, 5...) expand from top-right */
.nextdc-explore-hub__card:nth-child(even) {
  transform-origin: top right;
}



/* Background Image Layer */
.nextdc-explore-hub__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nextdc-explore-hub__card-bg img,
.nextdc-explore-hub__card-bg .nextdc-explore-hub__card__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nextdc-explore-hub__card-logo img,
.nextdc-explore-hub__card-logo .nextdc-explore-hub__card__logo {
  height: auto;
  display: block;
}

/* Color Overlay - visible by default, shows background image on hover */
.nextdc-explore-hub__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: normal;
}

/* Content Layer */
.nextdc-explore-hub__card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 3rem 0  3rem 3rem;
}

@media (max-width: 767px) {
  .nextdc-explore-hub__card-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
  }

  .nextdc-explore-hub__card-body,
  .nextdc-explore-hub__card-cta {
    display: none;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card-content {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end !important;
    justify-content: space-between;
    padding: 1.5rem;
    min-height: 300px;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card__card-title,
  .nextdc-explore-hub__card.active h3.nextdc-explore-hub__card__card-title {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 0;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    order: 1;
    width: 100%;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card__card-title::after,
  .nextdc-explore-hub__card.active h3.nextdc-explore-hub__card__card-title::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
    flex-shrink: 0;
    vertical-align: middle;
  }
  
  .nextdc-explore-hub__card[data-overlay-color="#E8AD1A"].active .nextdc-explore-hub__card__card-title::after,
  .nextdc-explore-hub__card[data-overlay-color="#E8AD1A"].active h3.nextdc-explore-hub__card__card-title::after,
  .nextdc-explore-hub__card[data-overlay-color="#3BB7B3"].active .nextdc-explore-hub__card__card-title::after,
  .nextdc-explore-hub__card[data-overlay-color="#3BB7B3"].active h3.nextdc-explore-hub__card__card-title::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23201850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card-chevron {
    display: none;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card-body {
    display: block;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    order: 2;
    margin-top: 1.5rem;
    flex-basis: 100%;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card-cta {
    display: block;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    order: 3;
    margin-top: 1rem;
    flex-basis: 100%;
  }
}


/* Logo Image (Pattern - positioned upper left, disappears on hover) */
.nextdc-explore-hub__card-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}



.nextdc-explore-hub__card-logo img,
.nextdc-explore-hub__card-logo .nextdc-explore-hub__card__logo {
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Mobile Chevron Icon */
.nextdc-explore-hub__card-chevron {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  z-index: 10;
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@media (max-width: 767px) {
  .nextdc-explore-hub__card-chevron {
    display: flex;
    position: relative;
    top: 0;
    right: 0;
    transform: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    order: 2;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  
  .nextdc-explore-hub__card-chevron svg {
    width: 20px;
    height: 20px;
    display: block;
  }
}

.nextdc-explore-hub__card-chevron svg {
  width: 24px;
  height: 24px;
  display: block;
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-chevron {
  transform: rotate(180deg);
}

/* Text color for chevron based on card color */
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] .nextdc-explore-hub__card-chevron,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] .nextdc-explore-hub__card-chevron {
  color: #201850;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"].active .nextdc-explore-hub__card-chevron,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"].active .nextdc-explore-hub__card-chevron {
  color: #ffffff;
}

/* Title - Exact Typography */
.nextdc-explore-hub__card .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card h3.nextdc-explore-hub__card__card-title {
  font-family: Jost, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 56px;
  line-height: 120%; /* 1.2 */
  letter-spacing: 0.032em; /* 0.032em */
  margin: 0;
  color: #ffffff;
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  z-index: 5;
  top: 3rem;
  left: 3rem;
}

@media (max-width: 767px) {
  .nextdc-explore-hub__card .nextdc-explore-hub__card__card-title,
  .nextdc-explore-hub__card h3.nextdc-explore-hub__card__card-title {
    font-size: 24px;
    line-height: 1;
    position: relative;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    height: auto;
    margin-bottom: 0;
  }
  
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card__card-title,
  .nextdc-explore-hub__card.active h3.nextdc-explore-hub__card__card-title {
    margin-bottom: 0;
  }
}

/* Body Text - Exact Typography */
.nextdc-explore-hub__card-body {
  font-family: Jost, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 140%; /* 1.4 */
  letter-spacing: 0.032em; /* 0.032em */
  vertical-align: middle;
  color: #ffffff;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  max-width: 100%;
}

.nextdc-explore-hub__card-body p {
  margin: 0 0 1rem 0;
  color: #ffffff;
}

.nextdc-explore-hub__card-body p:last-child {
  margin-bottom: 0;
}

/* CTA Link */
.nextdc-explore-hub__card-cta {
  margin-top: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.nextdc-explore-hub__card__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 130%; /* 1.3 */
  letter-spacing: 0.032em; /* 0.032em */
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  .nextdc-explore-hub__card-link-text{
    color: #ffffff !important;
    text-decoration: none;
  }
}

.nextdc-explore-hub__card__card-link:hover,
.nextdc-explore-hub__card__card-link:focus {
  cursor: pointer;
  .nextdc-explore-hub__card-link-text{
    color: #ffffff;
    text-decoration: none;
  }
}

.nextdc-explore-hub__card-link-text {
  display: inline-block;
}

.nextdc-explore-hub__card__card-link .nextdc-explore-hub__card-link__link-arrow,
.nextdc-explore-hub__card__card-link img {
  width: 22px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nextdc-explore-hub__card__card-link:hover .nextdc-explore-hub__card-link__link-arrow,
.nextdc-explore-hub__card-link:focus .nextdc-explore-hub__card-link__link-arrow {
  transform: translateX(4px);
}

/* Hover State (Desktop) */
@media (min-width: 768px) {
  /* Hovered card scales up */
  .nextdc-explore-hub__card:hover,
  .nextdc-explore-hub__card:focus-within {
    transform: scale(1.25, 1.25);
  }

  /* When row 1 cards hover: row 1 cards expand in height to fill space, row 2 shrinks */
  /* Card 1 hovers: expand row 1, shrink row 2 */
  /* .nextdc-explore-hub__card:nth-child(1):hover,
  .nextdc-explore-hub__card:nth-child(1):focus-within {
    transform: scale(1.25, 1.33);
  } */

  .nextdc-explore-hub__card:nth-child(1):hover ~ .nextdc-explore-hub__card:nth-child(2),
  .nextdc-explore-hub__card:nth-child(1):focus-within ~ .nextdc-explore-hub__card:nth-child(2) {
    transform: scale(0.75, 1.33);
    transform-origin: right top;
  }

  .nextdc-explore-hub__card:nth-child(1):hover ~ .nextdc-explore-hub__card:nth-child(3),
  .nextdc-explore-hub__card:nth-child(1):focus-within ~ .nextdc-explore-hub__card:nth-child(3),
  .nextdc-explore-hub__card:nth-child(1):hover ~ .nextdc-explore-hub__card:nth-child(4),
  .nextdc-explore-hub__card:nth-child(1):focus-within ~ .nextdc-explore-hub__card:nth-child(4) {
    transform: scaleY(0.75);
    transform-origin: center bottom;
  }

  /* Card 2 hovers: expand row 1, shrink row 2 */
  @supports selector(:has(*)) {
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(2):hover) .nextdc-explore-hub__card:nth-child(1),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(2):focus-within) .nextdc-explore-hub__card:nth-child(1) {
      transform: scale(0.75, 1.33);
      transform-origin: left top;
    }

  }

  /* .nextdc-explore-hub__card:nth-child(2):hover,
  .nextdc-explore-hub__card:nth-child(2):focus-within {
    transform: scale(1.25, 1.33);
  } */

  .nextdc-explore-hub__card:nth-child(2):hover ~ .nextdc-explore-hub__card:nth-child(3),
  .nextdc-explore-hub__card:nth-child(2):focus-within ~ .nextdc-explore-hub__card:nth-child(3),
  .nextdc-explore-hub__card:nth-child(2):hover ~ .nextdc-explore-hub__card:nth-child(4),
  .nextdc-explore-hub__card:nth-child(2):focus-within ~ .nextdc-explore-hub__card:nth-child(4) {
    transform: scaleY(0.75);
    transform-origin: center bottom;
  }

  /* When row 2 cards hover: row 2 cards expand in height upward to fill space, row 1 shrinks */
  /* Card 3 hovers: expand row 2 upward, shrink row 1 */
  .nextdc-explore-hub__card:nth-child(3):hover,
  .nextdc-explore-hub__card:nth-child(3):focus-within {
    transform: scale(1.25, 1.33) translateY(-24.5%);
    transform-origin: top left;
  }

  .nextdc-explore-hub__card:nth-child(3):hover ~ .nextdc-explore-hub__card:nth-child(4),
  .nextdc-explore-hub__card:nth-child(3):focus-within ~ .nextdc-explore-hub__card:nth-child(4) {
    transform: scale(0.75, 1.33) translateY(-24.5%);
    transform-origin: top right;
  }

  @supports selector(:has(*)) {
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(3):hover) .nextdc-explore-hub__card:nth-child(1),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(3):focus-within) .nextdc-explore-hub__card:nth-child(1),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(3):hover) .nextdc-explore-hub__card:nth-child(2),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(3):focus-within) .nextdc-explore-hub__card:nth-child(2) {
      transform: scaleY(0.75);
      transform-origin: center top;
    }

  }

  /* Card 4 hovers: expand row 2 upward, shrink row 1 */
  @supports selector(:has(*)) {
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):hover) .nextdc-explore-hub__card:nth-child(3),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):focus-within) .nextdc-explore-hub__card:nth-child(3) {
      transform: scale(0.75, 1.33) translateY(-24.5%);
      transform-origin: top left;
    }

  }

  .nextdc-explore-hub__card:nth-child(4):hover,
  .nextdc-explore-hub__card:nth-child(4):focus-within {
    transform: scale(1.25, 1.33) translateY(-24.5%);
    transform-origin: top right;
  }

  @supports selector(:has(*)) {
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):hover) .nextdc-explore-hub__card:nth-child(1),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):focus-within) .nextdc-explore-hub__card:nth-child(1),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):hover) .nextdc-explore-hub__card:nth-child(2),
    .nextdc-explore-hub__grid:has(.nextdc-explore-hub__card:nth-child(4):focus-within) .nextdc-explore-hub__card:nth-child(2) {
      transform: scaleY(0.75);
      transform-origin: center top;
    }

  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-bg,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-bg {
    opacity: 1;
    transform: scale(1);
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-overlay,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-overlay {
    opacity: 0.85;
    mix-blend-mode: multiply;
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-logo,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-logo {
    opacity: 0;
    z-index: -1;
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-content,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-content {
    align-items: flex-start;
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card__card-title,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card__card-title,
  .nextdc-explore-hub__card:hover h3,
  .nextdc-explore-hub__card:focus-within h3 {
    text-align: left;
    transform: translateY(-10px);
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-body,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-body {
    opacity: 1;
    transform: translateY(0);
  }

  .nextdc-explore-hub__card:hover .nextdc-explore-hub__card-cta,
  .nextdc-explore-hub__card:focus-within .nextdc-explore-hub__card-cta {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Active State (Mobile Click) */
.nextdc-explore-hub__card.active .nextdc-explore-hub__card-bg {
  opacity: 1;
  transform: scale(1);
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-overlay {
  opacity: 0.85;
  mix-blend-mode: multiply;
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-logo {
  opacity: 0;
  z-index: -1;
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-content {
  align-items: flex-start;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .nextdc-explore-hub__card.active .nextdc-explore-hub__card-content {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card.active h3 {
  text-align: left;
  transform: translateY(-10px);
}

@media (max-width: 767px) {
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-body {
  opacity: 1;
  transform: translateY(0);
}

.nextdc-explore-hub__card.active .nextdc-explore-hub__card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure smooth transitions for active state */
.nextdc-explore-hub__card .nextdc-explore-hub__card-bg,
.nextdc-explore-hub__card .nextdc-explore-hub__card-overlay,
.nextdc-explore-hub__card .nextdc-explore-hub__card-logo,
.nextdc-explore-hub__card .nextdc-explore-hub__card-title,
.nextdc-explore-hub__card .nextdc-explore-hub__card-body,
.nextdc-explore-hub__card .nextdc-explore-hub__card-cta {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default background colors for cards */
.nextdc-explore-hub__card[data-overlay-color="#4276C1"] {
  background-color: #4276C1;
}

.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] {
  background-color: #3BB7B3;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] {
  background-color: #E8AD1A;
}

.nextdc-explore-hub__card[data-overlay-color="#BA3430"] {
  background-color: #BA3430;
}

/* Text color adjustments for default state - light colored cards need dark text */
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] h3,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] h3 {
  color: #201850;
}

/* Text color on hover - all cards have white text */
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:hover .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:hover h3,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:hover .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:hover h3,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:focus-within .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:focus-within h3,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:focus-within .nextdc-explore-hub__card__card-title,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:focus-within h3 {
  color: #ffffff;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] .nextdc-explore-hub__card-body,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] .nextdc-explore-hub__card-body {
  color: #201850;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:hover .nextdc-explore-hub__card-body,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:hover .nextdc-explore-hub__card-body,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:focus-within .nextdc-explore-hub__card-body,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:focus-within .nextdc-explore-hub__card-body {
  color: #ffffff;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"] .nextdc-explore-hub__card-link,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"] .nextdc-explore-hub__card-link {
  color: #201850;
  border-color: #201850;
}

.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:hover .nextdc-explore-hub__card-link,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:hover .nextdc-explore-hub__card-link,
.nextdc-explore-hub__card[data-overlay-color="#E8AD1A"]:focus-within .nextdc-explore-hub__card-link,
.nextdc-explore-hub__card[data-overlay-color="#3BB7B3"]:focus-within .nextdc-explore-hub__card-link {
  color: #ffffff;
  border-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 767px) {

  

}



