/**
 * Homepage styles - view-id-in_focus
 * Two-column layout: large featured card (left half), stacked cards with thumbnails (right half).
 */

.view-id-in_focus {
  padding: .5rem 0;
}

/* Two columns: featured left ~50%, list right ~50% */
.view-id-in_focus .in-focus-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
  gap: 0;
}

.view-id-in_focus .in-focus-featured {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0.75rem;
}

.view-id-in_focus .in-focus-list {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 0 0 2.75rem;
}

/* Featured card (left) - large image, category, title, date */
.view-id-in_focus .in-focus-featured .listing-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.view-id-in_focus .in-focus-featured .listing-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.view-id-in_focus .in-focus-featured .listing-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.view-id-in_focus .in-focus-featured .content-type-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.view-id-in_focus .in-focus-featured .listing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.view-id-in_focus .in-focus-featured .listing-title a {
  color: inherit;
  text-decoration: none;
}

.view-id-in_focus .in-focus-featured .listing-title a:hover {
  text-decoration: underline;
}

.view-id-in_focus .in-focus-featured .listing-date {
  font-size: 0.875rem;
  color: #4b5563;
  font-style: italic;
}

/* Right column - stacked cards: category, title, date, thumbnail on right, divider between */
.view-id-in_focus .in-focus-list-item {
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.view-id-in_focus .in-focus-list-item:last-child {
  border-bottom: none;
}

.view-id-in_focus .in-focus-list-item .listing-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  flex-direction: row;
}

.view-id-in_focus .in-focus-list-item .listing-content {
  flex: 1;
  min-width: 0;
  order: 1;
}

.view-id-in_focus .in-focus-list-item .listing-image {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  order: 2;
  margin-left: auto;
}

.view-id-in_focus .in-focus-list-item .listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.view-id-in_focus .content-type-label {
  display: none;
}

.view-display-id-block_1 .content-type-label {
  display: block;
}

.view-id-in_focus .in-focus-list-item .content-type-label {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #464646;
  margin-bottom: 0.25rem;
}

.view-id-in_focus .in-focus-list-item .listing-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.view-id-in_focus .in-focus-list-item .listing-title a {
  color: inherit;
  text-decoration: none;
  color: #00254F;
  font-family:  'Open Sans', sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 21px;
  leading-trim: NONE;
  line-height: 25px;
  letter-spacing: 0%;

}

.view-id-in_focus .in-focus-list-item .listing-title a:hover {
  text-decoration: underline;
}

.view-id-in_focus .in-focus-list-item .listing-date {
  font-size: 0.8125rem;
  color: #464646;
  font-style: italic;
}

@media (max-width: 991.98px) {
  .view-id-in_focus .in-focus-featured,
  .view-id-in_focus .in-focus-list {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .view-id-in_focus .in-focus-list {
    margin-top: 1.5rem;
    padding: 0 0.75rem;
  }
}
/** Research Topic Section */
.results-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.result-card {
  background: #1a3a52;
  border-radius: 8px;
  padding: 0;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /*transition: all 0.8s ease;*/
  transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);  /* Smooth easing */

}

/* Normal state content */
.card-normal {
  position: relative;
  width: 100%;
  height: 280px;
  /*transition: opacity 0.8s ease;*/
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);

}

/* Hover state content - hidden by default */
.card-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Show hover content and hide normal content on hover */
.result-card:hover .card-normal {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.17,.67,.83,.67);  
  pointer-events: none;
}

.result-card:hover .card-hover {
  opacity: 1;
  pointer-events: auto;  /* Changed from 'all' to 'auto' */

}

/* Background image */
.card-image  img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay on image */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

/* Darker overlay for hover state */
.card-hover .card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
}

/* Cards 1, 2, 4, 5 - expand to the RIGHT */
.result-col:nth-child(1) .result-card:hover,
.result-col:nth-child(2) .result-card:hover,
.result-col:nth-child(4) .result-card:hover,
.result-col:nth-child(5) .result-card:hover {
  width: calc(206%);
  transform-origin: left center;
  transform: translateX(0.5%);  /* Add explicit transform */

}

/* Cards 3, 6 - expand to the LEFT */
.result-col:nth-child(3) .result-card:hover,
.result-col:nth-child(5) .result-card:hover,
.result-col:nth-child(6) .result-card:hover {
  width: calc(206%);
  transform: translateX(-52%);
  transform-origin: right center;
}

.result-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

/* Content container */
.card-content {
  position: relative;
  z-index: 3;
  padding: 30px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: auto;
}

/* Icon circle */
.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.result-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.3;
}

.card-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Hover state content */
.hover-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.hover-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.hover-subtitle p a { 
  color: #fff;
}
.hover-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.hover-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
/* Bottom section with View Topic link */
.card-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* View Topic link */
.view-topic-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;  /* Force the link to be clickable */
}

.view-topic-link:hover {
  color: #fff;
  gap: 12px;
}

.view-topic-link i {
  font-size: 0.8rem;
}

.detail-item h5 {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-weight: 500;
}

.detail-item p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0;
  font-weight: 600;
}

/* Arrow icon */
.card-arrow {
  position: absolute;
  bottom: 35px;
  right: 30px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  z-index: 3;
}

@media (max-width: 991px) {
  .result-card:hover {
      width: 100% !important;
      transform: none !important;
  }
  .card-hover {
      width: 100%;
  }
}
/** 
* Explore Our Podcasts
*/
.hp_explore_podcasts h2 {
  font-size: 32px;
}
.hp_explore_podcasts p{
  color: #464646;
  font-size: 21px;

}
.hp_explore_podcasts .btn {
  font-size: 12px;
}
/**
 * Our Impact
 */
#page-section--310 .ps-description {
  color: #fff;
  float: left;
  width: 28%;
  padding-right: 2%;
}
#page-section--310 .ps-description p {
  font-size: 21px;
}
#page-section--310 .dec-stat-icon {
  border: 2px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 700;
}
#page-section--310 .dec-stat-card-score {
  color: #2CABE2;

}
#page-section--310 p {
  color: #fff;
}
@media (max-width: 991.98px) {
  .hp_explore_podcasts img {
    width: 100%;
  }
  #page-section--310 .ps-description {
    float: none;
    width: 100%;
  }
}
/** Homepage styles end */