:root {
  --primary-color: #1E3A5F;
  --text-color: #1E3A5F;
  --secondary-color: #2A6F97;
  --accent-color: #E9C46A;
  --bg-color: #F7FAFC;
  --text-color: #1f2937;
  --menu-text-color: #ffffff;
  --card-bg: rgba(255,255,255,0.82);
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  --font-main: "Open Sans", "Segoe UI", sans-serif;
  --font-main2:'Fira Sans', sans-serif;
  --font-heading: "Montserrat", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main2);
  /*background: linear-gradient(135deg, var(--bg-color), #ffffff);*/
  background: #ffffff;
  color: var(--text-color);
  min-height: 100vh;
  padding-top: 95px;
}

img {
  max-width: 100%;
  height: auto;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  
    padding: 2px 20px;
  min-height: 22px;

  /*padding: 8px 32px;   /* reduced height */
	background: linear-gradient(90deg, #1F4E79, #2563EB);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}


.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.logo-link:hover {
  opacity: 0.9;
}


.logo-icon {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  overflow: visible;
}

.logo-icon img {
  width: 90px;
  height: 90px;
  max-width: none;
  object-fit: contain;
  display: block;
}





.logo-text h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.4px;
}

.logo-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 2px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav li {
  position: relative;
}

nav a {
  background: transparent;
  color: var(--menu-text-color);
  text-decoration: none;
  padding: 4px 16px;
  font: inherit;
  font-size: 1.1rem;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-block;
}

nav a:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.has-submenu .submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 0;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  z-index: 1200;
}

.has-submenu:hover .submenu {
  display: flex;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 0;
  color: var(--text-color);
  background: transparent;
}

.submenu a:hover {
  background: #f4f6f8;
  transform: none;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start; /* or center if you prefer */
  padding: 10px 48px 15px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-copy {
  width: 100%;
  max-width: 1280px;
}


.hero-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.0rem, 5vw, 4.0rem);
  line-height: 1.15;
  color: #1D3557;
  margin-bottom: 0px;
  font-weight: 700;
}

.keep-together {
  white-space: nowrap;
}

.hero-copy p {
  font-size: 1.4rem;
  line-height: 1.9;
  margin-bottom: 0px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary-color);
  color: #1f2937;
}

.hero-card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.7);
}

.hero-card h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.hero-card p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.hero-card-img {
  width: 100%;
  height: auto;
  border-radius: 16px; /* softer than card */
  margin-bottom: 16px;
  object-fit: contain;
}

.highlights-title {
  grid-column: 1 / -1; /* 👈 ensures full width */
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: left; /* or left */
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 10px auto;
  padding: 15px 48px 15px;
}



.highlight {
  background: #ffffff;
  border-radius: 22px;
  padding: 0px 48px 10px;
  /*box-shadow: 0 10px 20px rgba(0,0,0,0.08);*/
  margin: 0 auto;
}

.highlight h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.highlight p {
  line-height: 1.7;
  font-size: 1.1rem;
}

footer {
  text-align: center;
  padding: 20px 20px 20px;

  background: #F3F6F9;

  color: #4b5563;
  font-size: 0.95rem;

  border-top: 1px solid #E5E7EB;
}



@media (max-width: 768px) {

  header {
    position: static;
    flex-direction: column;
    gap: 6px;
    padding: 6px 12px;
  }

  body {
    padding-top: 0;
  }

  .logo {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .logo-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .logo-icon img {
    width: 48px;
    height: 48px;
  }

  .logo-text h1 {
    font-size: 0.9rem;
  }

  .logo-text p {
    display: none;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  nav a {
    font-size: 0.8rem;
    padding: 3px 7px;
  }
}

@media (max-width: 640px) {
  .logo {
    flex-direction: column;
    justify-content: center;
  }

  .logo-text {
    text-align: center;
  }

  nav ul {
    justify-content: center;
  }

  .has-submenu .submenu {
    left: 50%;
    transform: translateX(-50%);
  }

  body {
    padding-top: 0px;
  }
}


.about-hero {
  text-align: center;
  padding: 0px 20px 20px;
  max-width: 850px;
  margin: 0 auto;
}



.about-hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b5563;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px 20px;
}

.card {
  background: #ffffff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p {
  line-height: 1.75;
}

.dynamic-image-slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 8px;
}


.dynamic-image-slider .about-image-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dynamic-image-slider .about-image-full.active {
  opacity: 1;
}

.dynamic-image-slider .image-overlay-text {
  z-index: 2;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

.slider-arrow:hover {
  background: rgba(0,0,0,0.75);
}

.about-institution {
  background: #eef5f9;
  margin: 0 48px 56px;
  border-radius: 28px;
  padding: 50px 28px;
  text-align: center;
}

.institution-content {
  max-width: 850px;
  margin: 0 auto;
}

.about-institution h3 {
  color: var(--primary-color);
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.about-institution p {
  line-height: 1.8;
  color: #4b5563;
}

@media (max-width: 980px) {
  .about-cards {
    grid-template-columns: 1fr;
    padding: 20px 20px 40px;
  }

  .about-institution {
    margin: 0 20px 40px;
  }
}

.about-hero-image {
  max-width: 720px;
  margin: 0 auto 16px;
}

.about-hero-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;   /* fills nicely like a banner */
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.about-hero h2.digital-health-title {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem) !important;
}


.projects-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.projects-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 20px;
}

.projects-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.projects-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}

.projects-section {
  margin-top: 30px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
}


.section-heading h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.section-heading p {
  color: #6b7280;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.project-image-link {
  display: block;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}

.project-image-link img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-content h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  min-height: 58px;
}

.project-content h4 a {
  text-decoration: none;
  color: var(--primary-color);
}

.project-content h4 a:hover {
  text-decoration: underline;
}

.project-duration {
  color: #6b7280;
  margin-bottom: 14px;
  font-size: 0.96rem;
  min-height: 22px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.project-tags span {
  background: #eef5f9;
  color: var(--primary-color);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.toggle-projects {
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toggle-projects:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.completed-grid[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

 .project-image-link,
.project-image-link img {
  height: 190px;
}
}

.events-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.events-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.events-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.events-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 10px;
}

.event-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.event-image-link {
  display: block;
}

.event-image-link img {
  width: 100%;
  height: clamp(220px, 30vw, 350px);
  object-fit: cover;
  display: block;

  
  /*height: 280px;*/

}

.event-content {
  padding: 20px 24px 24px;
}

.event-content h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.event-content h3 a {
  text-decoration: none;
  color: var(--primary-color);
}

.event-content h3 a:hover {
  text-decoration: underline;
}

.event-meta {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

.event-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.news-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.news-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.news-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.news-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.news-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.news-image-link {
  display: block;
}

.news-image-link img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 20px 22px 24px;
}

.news-description {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 12px;
}

.news-date {
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-image-link img {
    height: 210px;
  }
}


.team-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.team-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.team-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.team-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.member-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 20px 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.member-photo-button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
}

.member-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #dbe8f0;
  display: block;
  margin: 0 auto;
  background-color: #f3f4f6;
}

.member-photo-button:hover .member-photo {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.member-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.member-role {
  color: #6b7280;
  margin-bottom: 16px;
  line-height: 1.6;
}

.member-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.member-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.icon-image-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-image-button:hover .contact-icon-img {
  transform: scale(1.08);
  opacity: 0.9;
}

.copy-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2200;
}

.copy-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.member-modal[hidden] {
  display: none;
}

.member-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
}

.member-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.member-modal-panel {
  position: relative;
  max-width: 760px;
  margin: 70px auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.member-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: #eef5f9;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
}

.member-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.member-modal-header h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.member-modal-header p {
  color: #6b7280;
}

.roulette-wrapper {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  gap: 16px;
  align-items: center;
}

.roulette-arrow {
  border: none;
  background: #eef5f9;
  color: var(--primary-color);
  height: 58px;
  border-radius: 16px;
  font-size: 1.4rem;
  cursor: pointer;
}

.roulette-window {
  height: 220px;
  overflow: hidden;
  border-radius: 22px;
  background: #f8fbfd;
}

.roulette-track {
  transition: transform 0.35s ease;
}

.roulette-item {
  height: 220px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.roulette-item img {
  width: 130px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  background: #ffffff;
  padding: 10px;
}

.roulette-item-content h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.roulette-item-content p {
  color: #4b5563;
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-modal-panel {
    margin: 40px 20px;
  }
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .roulette-wrapper {
    grid-template-columns: 1fr;
  }

  .roulette-arrow {
    height: 48px;
  }

  .roulette-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    height: 260px;
  }

  .roulette-window {
    height: 260px;
  }
}

.alumni-section {
  margin-top: 70px;
}

.alumni-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.alumni-heading h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}

.alumni-heading p {
  color: #6b7280;
  line-height: 1.7;
}

.alumni-names-only {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.alumni-name-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.alumni-name-card h3 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 700px) {
  .alumni-names-only {
    grid-template-columns: 1fr;
  }
}

.group-life-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.group-life-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.group-life-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.group-life-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}


.group-life-carousel-section {
  max-width: 1100px;
  margin: 0 auto;
}

.group-life-carousel-header {
  text-align: center;
  margin-bottom: 22px;
}

.group-life-carousel-header h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.group-life-carousel-header p {
  color: #6b7280;
}

.group-life-carousel {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  gap: 18px;
  align-items: center;
}

.group-life-arrow {
  border: none;
  background: #eef5f9;
  color: var(--primary-color);
  height: 58px;
  border-radius: 16px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.group-life-arrow:hover {
  transform: translateY(-2px);
  background: #dfeef6;
}

.group-life-window {
  overflow: hidden;
  border-radius: 26px;
}

.group-life-track {
  display: flex;
  transition: transform 0.4s ease;
}

.group-life-slide {
  min-width: 100%;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.group-life-slide img {
  width: 100%;
  aspect-ratio: 16 / 7;   /* wide rectangle */
  object-fit: cover;
  display: block;
}

.group-life-content {
  padding: 22px 26px 26px;
}

.group-life-description {
  color: #374151;
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.group-life-date {
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .group-life-slide img {
    height: 320px;
  }
}

@media (max-width: 500px) {
  .group-life-carousel {
    grid-template-columns: 1fr;
  }

  .group-life-arrow {
    height: 48px;
  }

  .group-life-slide img {
    height: 240px;
  }
}

.publications-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.publications-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.publications-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.publications-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.publication-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.publication-image-wrapper {
  width: 180px;
  height: 200px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0 auto;
}

.publication-image {
  width: 100%;
  height: 100%;

  object-fit: contain; /* auto adjusts image */

  display: block;

  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.publication-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.publication-title {
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0;
}

.publication-authors {
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

.publication-journal {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .publication-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .publication-image {
    max-width: 160px;
  }
}


.about-layout {
  display: flex;
  align-items: center;
  gap: 24px;
}

.about-image {
  width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
}



.about-image-full {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
}



.image-wrapper {
  position: relative;
  width: 100%;
}

.about-image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.image-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 1.1rem;
}

.about-text {
  margin-top: 20px;
}

.about-text h4 {
  margin: 0 0 10px;
}

.about-image-full {
  width: 100%;
  height: 80%;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
}

/* Grid for stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  border-top: 1.5px solid #dbe8f0;
  padding-top: 10px;
  margin-top: 10px;
  
  border-bottom: 1.5px solid #dbe8f0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}




.stat h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.stat p {
  font-size: 1rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* BSC page layout */
.bsc-section {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 0px;
}

.bsc-section p {
  margin-bottom: 14px;
}

/* Two vertical images in one row */
.bsc-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
}

.bsc-images img {
  width: 300px;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
}


.bsc-imagesG {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 20px;
}

.bsc-imagesG img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
}





.bsc {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 10px;
}

.bsc h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.bsc p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}



.bsc-title {
  display: flex;
  align-items: center;
  justify-content: center; /* center both together */
  gap: 10px;
}

.bsc-icon {
  width: 240px;
  height: auto;
  margin-left: -8px; /* optional: pulls logo closer */
}

.bsc-title h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}


.bsc-subtitle {
  display: flex;
  align-items: center;
  justify-content: center; /* center both together */
  gap: 1px;
}


.bsc-subtitle h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 2vw, 2rem);
  margin-bottom: 12px;
}

.bsc-subtitle a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* keeps original color */
  transition: color 0.2s ease;
}

.bsc-subtitle a:hover {
  color: #2561e6;             /* turns blue on hover */
  text-decoration: none;
}


/* Responsive (mobile) */
@media (max-width: 768px) {
  .bsc-images {
    flex-direction: column;
    align-items: center;
  }

  .bsc-images img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

.bsc-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.collaborators-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 20px 60px;
}

.collaborators-hero {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 40px;
}

.collaborators-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.collaborators-hero p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.08rem;
}



.collaborators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;

  align-items: stretch; /* 👈 KEY */
}


.collaborator-card {
  /*background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url("images/collaborators/background.png");*/

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 24px;
  padding: 15px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  display: grid;
  grid-template-rows: 80px 80px 80px 70px min-content;
  gap: 12px;
  height: 100%;
}




.collaborator-header {
  min-height: 70px;
}

.collaborator-header h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 4px;
}

.collaborator-department {
  color: #6b7280;
  line-height: 1.5;
  font-size: 0.96rem;
  min-height: 30px;
  display: block;
}

.collaborator-department:empty::before {
  content: "\00a0"; /* invisible space */
}

.collaborator-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px; /* 👈 key */

}

.collaborator-people ul {
  list-style: none;
  padding: 0;
  margin: 0;
  min-height: 84px;
}

.collaborator-logo {
  max-width: 280px;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.collaborator-section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 8px;
}

.collaborator-people ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.collaborator-people li {
  line-height: 1.7;
  color: #374151;
}




.collaborator-people {
  min-height: 110px; /* adjust as needed */
}


.collaborator-projects {
  min-height: 90px;
  margin-bottom: 10px;
}

.collaborator-projects p {
  color: #374151;
  line-height: 1.7;
  font-size: 0.95rem;
  font-style: normal;
}

.collaborator-description {
  /*min-height: 80px;*/
  margin-top: 4px; /* was 10px */
}

.collaborator-description p {
  color: #374151;
  line-height: 1.7;
  font-size: 0.95rem;
  font-style: italic;
}

.collaborator-projects p:not(.collaborator-section-title) {
  color: #374151;
  line-height: 1.7;
  font-size: 0.95rem;
  font-style: normal;
}


@media (max-width: 980px) {
  .collaborators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .collaborators-grid {
    grid-template-columns: 1fr;
  }
}

.project-detail-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

/* HERO */
.project-detail-hero {
  text-align: center;
  margin-bottom: 30px;
}

.project-detail-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.project-subtitle {
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* IMAGE */
.project-detail-image {
  margin-bottom: 30px;
}

.project-detail-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* CONTENT */
.project-detail-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* SECTIONS */
.project-detail-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.project-description p {
  line-height: 1.8;
  color: #374151;
  margin-bottom: 10px;
}

/* RESEARCHERS */
.project-researchers ul {
  list-style: none;
  padding: 0;
}

/* COLLABORATORS */
.project-collaborators ul {
  list-style: none;
  padding: 0;
}

.project-researchers li {
  line-height: 1.7;
}

.project-collaborators li {
  line-height: 1.7;
}

/* PUBLICATIONS */
.project-publications ul {
  list-style: none;
  padding: 0;
}

.project-publications li {
  margin-bottom: 14px;
  line-height: 1.7;
  background: #f8fbfd;
  padding: 12px 16px;
  border-radius: 12px;
}

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 20px 60px;
}

/* TITLE */
.contact-hero {
  text-align: center;
  margin-bottom: 5px;
}

.contact-hero h2 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: clamp(2rem, 4vw, 3rem);
}

/* IMAGE */
.contact-image {
  margin-bottom: 10px;
}

.contact-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* DESCRIPTION */
.contact-description {
  text-align: center;
  margin-bottom: 24px;
}

.contact-description p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* MAP */
.contact-map {
  margin-top: 10px;
}


.contact-form-section {
  margin: 10px 0;
}

.contact-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #dbe8f0;
  border-radius: 12px;
  font: inherit;
}

.contact-form button {
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.contact-form button:hover {
  opacity: 0.95;
}


/* CONTACT FORM */
.contact-form-section {
  margin: 40px 0;
}

.contact-intro {
  text-align: center;
  margin-bottom: 10px;
}

.contact-intro h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.contact-intro p {
  color: #4b5563;
  line-height: 1.8;
  font-size: 1.02rem;
}

.contact-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #dbe8f0;
  border-radius: 12px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}


.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0 20px;
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #1E3A5F; /* dark line */
}

.section-divider span {
  padding: 0 20px;
  color: #2D3748;
  font-weight: 700;
  font-size: 2.0rem;
  font-family: var(--font-heading);
}

.highlight-image {
  width: 100%;
  height: 220px;

  object-fit: cover;

  display: block;

  margin: 0 0 18px 0;

  border: none;
  border-radius: 2;
  box-shadow: none;
}

.researcher-profile-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.researcher-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.researcher-main-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.researcher-label {
  color: #2563EB;
  font-weight: 700;
  margin-bottom: 8px;
}

.researcher-intro h2 {
  font-family: var(--font-heading);
  color: #1D3557;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.researcher-role {
  color: #374151;
  font-weight: 600;
  margin-bottom: 18px;
}

.researcher-description {
  color: #4B5563;
  line-height: 1.8;
  font-size: 1.05rem;
}

.researcher-section {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.07);
  margin-bottom: 30px;
}

.researcher-section h3 {
  color: #1D3557;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.researcher-section p {
  color: #4B5563;
  line-height: 1.8;
  margin-bottom: 16px;
}

.researcher-wide-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 30px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.researcher-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.researcher-list article {
  background: #F8FAFC;
  padding: 18px 20px;
  border-radius: 16px;
}

.researcher-list h4 {
  color: #1D3557;
  margin-bottom: 6px;
}

@media (max-width: 800px) {
  .researcher-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .researcher-main-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

.member-name-link {
  color: #1D3557;

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;

  display: inline-block;
}

.member-name-link:hover {
  color: #2563EB;

  transform: translateY(-2px);

  text-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
}

.credits {
  font-size: 12px;
}


@media (max-width: 768px) {
  .logo-icon {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .logo-icon img {
    width: 70px;
    height: 70px;
  }
}


@media (max-width: 768px) {

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  p {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

}


@media (max-width: 768px) {

  .hero,
  .highlights,
  .about-cards,
  .projects-page,
  .events-page,
  .news-page,
  .team-page,
  .group-life-page,
  .publications-page,
  .bsc-page,
  .collaborators-page {
    padding-left: 16px;
    padding-right: 16px;
  }

}

@media (max-width: 768px) {

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .projects-grid,
  .news-grid,
  .team-grid,
  .collaborators-grid,
  .about-cards,
  .stats {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .bsc-images img,
  .group-life-slide img,
  .event-image-link img,
  .news-image-link img {
    height: auto;
  }

}

@media (max-width: 768px) {

  .btn,
  button,
  nav a {
    padding: 12px 18px;
  }

}
html, body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .credits {
    font-size: 10px;
  }
}


@media (max-width: 768px) {

  .highlights {
    grid-template-columns: 1fr;
    padding: 12px 16px;
    gap: 18px;
  }

  .highlight {
    padding: 0 8px 16px;
    width: 100%;
  }

  .highlight-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }

  .highlight h4 {
    font-size: 1.15rem;
    text-align: center;
  }

  .highlight p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }

}

.roulette-item-content h4 a {
  color: var(--primary-color);
  text-decoration: none;
}

.roulette-item-content h4 a:hover {
  text-decoration: underline;
}


/* FEATURED SECTION */

.featured-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 30px 48px 50px;
  max-width: 1280px;
  margin: 0 auto;
}

.featured-column {
  background: #2b2b2b;
  border-radius: 24px;
  padding: 24px;
  min-height: 520px;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.featured-title {
  margin-bottom: 20px;
  font-size: 1.7rem;
  color: white;
}

.featured-title a {
  color: white;
  text-decoration: none;
}

.featured-title a:hover {
  text-decoration: underline;
}

.featured-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
}

.featured-carousel-window {
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
}

.featured-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.featured-slide {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  background: #1b1b1b;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.featured-caption {
  padding: 18px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-caption h4 {
  margin-bottom: 8px;
}

.featured-caption h4 a {
  color: white;
  text-decoration: none;
}

.featured-caption h4 a:hover {
  text-decoration: underline;
}

.featured-caption p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}

.featured-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: #111;
  font-size: 1.6rem;
  cursor: pointer;
}

.featured-arrow-left {
  left: 12px;
}

.featured-arrow-right {
  right: 12px;
}

.featured-arrow:hover {
  background: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .featured-row {
    grid-template-columns: 1fr;
    padding: 20px 16px 40px;
    gap: 20px;
  }

  .featured-column {
    padding: 18px;
    border-radius: 20px;
    min-height: auto;
  }

  .featured-title {
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 16px;
  }

  .featured-slide img {
    height: 200px;
  }

  .featured-caption {
    min-height: auto;
  }

  .featured-caption h4 {
    font-size: 1rem;
  }

  .featured-caption p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .featured-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .featured-arrow-left {
    left: 8px;
  }

  .featured-arrow-right {
    right: 8px;
  }
}


/* PROJECT CARDS: equal alignment fix */

.projects-grid {
  align-items: stretch;
}

.project-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  height: 100%;
}

.project-image-link,
.project-card > img {
  width: 100%;
  height: 210px;
  display: block;
  overflow: hidden;
}

.project-image-link img,
.project-card > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.project-content {
  display: grid;
  grid-template-rows: 70px 28px 1fr;
  padding: 20px;
}

.project-content h4 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  min-height: 70px;
  display: flex;
  align-items: flex-start;
}

.project-duration {
  margin: 0;
  color: #6b7280;
  font-size: 0.96rem;
  min-height: 28px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .project-card {
    grid-template-rows: 190px 1fr;
  }

  .project-image-link,
  .project-card > img,
  .project-image-link img,
  .project-card > img {
    height: 190px;
  }

  .project-content {
    grid-template-rows: auto auto auto;
  }

  .project-content h4 {
    min-height: auto;
  }
}




/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1100px) {
  .news-rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .news-rec-page {
    padding: 30px 20px 60px;
  }

  .news-rec-grid {
    grid-template-columns: 1fr;
  }

  .news-rec-card .event-image-link img {
    height: 210px;
  }

  .news-rec-card h3 {
    min-height: auto;
  }
}

