/* =========================================================
   IU Research Overview Page
========================================================= */

.iu-research-page {
  color: #0b265f;
  background: #ffffff;
}

.iu-research-page svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Hero */

.iu-research-hero {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  background: #082b6f;
}

.iu-research-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}

.iu-research-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      112deg,
      rgba(2, 38, 104, 1) 0%,
      rgba(3, 53, 139, 0.98) 36%,
      rgba(4, 71, 164, 0.62) 54%,
      rgba(255, 255, 255, 0) 54.2%
    ),
    linear-gradient(
      90deg,
      rgba(3, 38, 104, 0.92) 0%,
      rgba(3, 38, 104, 0.46) 48%,
      rgba(3, 38, 104, 0.06) 100%
    );
}

.iu-research-hero::after {
  content: "";
  position: absolute;
  left: 55px;
  bottom: 32px;
  width: 120px;
  height: 84px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 14px 14px;
  opacity: 0.7;
}

.iu-research-hero .container {
  position: relative;
  z-index: 2;
}

.iu-research-hero-inner {
  display: flex;
  align-items: center;
  min-height: 350px;
  padding: 42px 0;
}

.iu-research-hero-copy {
  max-width: 760px;
  color: #fff;
}

.iu-research-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
  text-transform: uppercase;
}

.iu-research-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
  line-height: 1.75;
}

/* Main */

.iu-research-content {
  padding: 34px 0 70px;
}

.iu-research-main {
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.iu-research-section {
  background: #fff;
}

.iu-research-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.iu-research-section-title span,
.iu-research-section-title h2 {
  color: #063c9c;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.iu-research-section-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin-left: -30px;
  transform: translateY(24px);
  background: #e2272e;
  border-radius: 999px;
}

/* Overview */

.iu-research-overview-layout {
  gap: 28px;
  align-items: stretch;
}

.iu-research-overview-copy p {
  margin: 0 0 14px;
  color: #263b63;
  line-height: 1.75;
}

.iu-research-overview-copy p:last-child {
  margin-bottom: 0;
}

.iu-research-overview-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.iu-research-feature-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 148px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
}

.iu-research-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-size: 2rem;
}

.iu-research-card-icon.is-blue {
  color: #fff;
  background: linear-gradient(135deg, #0052bc, #002b80);
}

.iu-research-card-icon.is-red {
  color: #e2272e;
  background: #ffe8ea;
  border: 2px solid #e2272e;
}

.iu-research-feature-card h3 {
  margin: 0 0 8px;
  color: #063c9c;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-research-feature-card p {
  margin: 0;
  color: #295099;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Split row */

.iu-research-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
  padding-top: 2px;
  border-top: 1px solid #e5edf7;
}

/* Fields */

.iu-research-field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.iu-research-field-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-items: center;
  min-height: 104px;
  padding: 16px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(14, 45, 103, 0.035);
}

.iu-research-field-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 12px;
  font-size: 1.5rem;
}

.iu-research-field-card strong {
  color: #1d3157;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-research-field-note {
  position: relative;
  margin: 16px 0 0;
  padding-left: 28px;
  color: #526783;
  font-size: 0.9rem;
  line-height: 1.6;
}

.iu-research-field-note::before {
  content: "i";
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: #063c9c;
  border: 1px solid #b8d0f0;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Activities */

.iu-research-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: center;
}

.iu-research-activity-grid article {
  display: grid;
  gap: 12px;
  min-height: 196px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(14, 45, 103, 0.035);
  justify-items: center;
  align-items: center;
}

.iu-research-activity-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, #0052bc, #002b80);
  border-radius: 50%;
  font-size: 1.45rem;
}

.iu-research-activity-grid h3 {
  margin: 0;
  color: #063c9c;
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-research-activity-grid p {
  margin: 0;
  color: #42577c;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Ecosystem */

.iu-research-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.iu-research-ecosystem-image {
  overflow: hidden;
  min-height: 286px;
  background: #eef5ff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
}

.iu-research-ecosystem-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 286px;
  object-fit: cover;
  object-position: center;
}

.iu-research-ecosystem-list {
  display: grid;
  gap: 10px;
}

.iu-research-ecosystem-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(14, 45, 103, 0.035);
}

.iu-research-ecosystem-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 14px;
  font-size: 1.45rem;
}

.iu-research-ecosystem-list h3 {
  margin: 0 0 4px;
  color: #063c9c;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-research-ecosystem-list p {
  margin: 0;
  color: #42577c;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Quick links */

.iu-research-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.iu-research-link-card {
  display: grid;
  grid-template-columns: 52px 1fr 28px;
  gap: 14px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
  color: inherit;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(14, 45, 103, 0.04);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.iu-research-link-card:hover {
  transform: translateY(-2px);
  border-color: #b9ceec;
  box-shadow: 0 14px 32px rgba(14, 45, 103, 0.08);
}

.iu-research-link-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #063c9c;
  background: #eef5ff;
  border-radius: 14px;
  font-size: 1.45rem;
}

.iu-research-link-card strong {
  display: block;
  color: #063c9c;
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 900;
}

.iu-research-link-card small {
  display: block;
  margin-top: 5px;
  color: #53688a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.iu-research-link-card em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #063c9c;
  font-style: normal;
  font-size: 1.1rem;
}

/* Responsive */

@media (max-width: 1180px) {
  .iu-research-overview-layout,
  .iu-research-split-row,
  .iu-research-ecosystem {
    grid-template-columns: 1fr;
  }

  .iu-research-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .iu-research-hero,
  .iu-research-hero-inner {
    min-height: 320px;
  }

  .iu-research-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(2, 38, 104, 0.96),
      rgba(2, 38, 104, 0.72)
    );
  }

  .iu-research-hero h1 {
    font-size: 3rem;
  }

  .iu-research-overview-cards,
  .iu-research-activity-grid {
    grid-template-columns: 1fr;
  }

  .iu-research-field-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .iu-research-hero h1 {
    font-size: 2.35rem;
  }

  .iu-research-hero p {
    font-size: 0.96rem;
  }

  .iu-research-feature-card,
  .iu-research-link-card {
    grid-template-columns: 1fr;
  }

  .iu-research-field-grid,
  .iu-research-link-grid {
    grid-template-columns: 1fr;
  }

  .iu-research-ecosystem-list article {
    grid-template-columns: 1fr;
  }
}

/* Equal height for Research Fields and Research Activities */

.iu-research-split-row {
  align-items: stretch;
}

.iu-research-split-row > .iu-research-section {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.iu-research-field-grid,
.iu-research-activity-grid {
  flex: 1;
}

.iu-research-field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.iu-research-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.iu-research-field-card,
.iu-research-activity-card {
  height: 100%;
}

.iu-research-activity-card {
  min-height: 100%;
}
