.intern-hero {
  padding-top: 0;
  margin-top: 0;
  padding-bottom: var(--spacing-6);
}

.intern-hero__title {
  font-size: var(--text-80);
  font-weight: var(--font-semibold);
  color: var(--primary-navy);
  /* height: 212px; Removed for hug content */
}

.intern-hero__title span {
  color: var(--primary-red);
  display: block;
}

.intern-hero__subtitle {
  font-size: var(--text-36);
  font-weight: var(--font-semibold);
  color: var(--primary-navy);
  /* height: 48px; Removed for hug content */
  margin-top: 10px;
  margin-bottom: 10px;
}

.intern-hero__description {
  font-size: var(--text-28);
  font-weight: var(--font-medium);
  color: var(--black);
  line-height: auto;
  /* height: 83px; Removed for hug content */
  padding-top: 10px;
}

/* Impact Cards */
.impact-section {
  /* height: 868px; Removed for hug content */
  margin-top: 36px;
}

.impact-section h2 {
  font-size: var(--text-36);
  font-weight: var(--font-semibold);
  color: var(--black);
  margin-bottom: 10px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.impact-card {
  width: 315px;
  /* height: 810px; Removed for hug content */
}

.impact-card__image {
  overflow: hidden;
  width: 315px;
  /* height: 430px; Removed for hug content */
}

.impact-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.impact-card__content {
  width: 315px;
  /* height: 350px; Removed for hug content */
  margin-top: 30px;
}

.impact-card h3 {
  font-size: var(--text-28);
  font-weight: var(--font-semibold);
  color: var(--black);
  margin-bottom: 20px;
}

.impact-card p {
  font-size: var(--text-24);
  font-weight: var(--font-light);
  color: var(--black);
}

/* Selective Section */
.selective-section {
  /* height: 665px; Removed for hug content */
  margin-top: 120px;
  margin-bottom: 120px;
}

.selective-section h2 {
  font-size: var(--text-54);
  font-weight: var(--font-semibold);
  color: var(--primary-red);
  margin-bottom: 30px;
}

.selective-section__grid {
  display: grid;
  grid-template-columns: 512px 778px;
  gap: 30px;
  align-items: start;
}

.selective-section__image {
  width: 512px;
  /* height: 564px; Removed for hug content */
  overflow: hidden;
}

.selective-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selective-section__content {
  width: 778px;
  /* height: 397px; Removed for hug content */
}

.selective-section__content p {
  font-size: var(--text-24);
  font-weight: var(--font-medium);
  color: var(--black);
  line-height: 1.4;
}

.selective-section__content__text {
  margin-bottom: 36px;
}

.selective-section__content__text2 {
  margin-bottom: 36px;
}

.selective-section__content a {
  color: var(--primary-red);
  font-weight: var(--font-medium);
}

/* Responsive */
@media (max-width: 1440px) {
  .intern-hero__title {
    font-size: var(--text-64, 64px);
  }
}

@media (max-width: 1200px) {
  .intern-hero__title {
    font-size: var(--text-4xl);
  }

  .selective-section h2 {
    font-size: var(--text-3xl);
  }
}

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

  .selective-section__grid {
    grid-template-columns: 1fr;
  }

  .intern-hero__title {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 85px;
  }

  /* Hero Section */
  .intern-hero {
    padding-top: 0;
    margin-top: 0;
  }

  .intern-hero__title {
    font-size: 40px !important;
    font-weight: var(--font-semibold) !important;
  }

  .intern-hero__subtitle {
    font-size: 16px !important; /* Updated to 16px per user request */
  }

  .intern-hero__description {
    font-size: 16px !important;
    font-weight: var(--font-normal) !important;
  }

  /* Impact Section */
  .impact-section {
    margin-top: 30px !important;
  }

  /* "Intern with impact" title */
  .impact-section h2 {
    font-size: 24px !important;
    font-weight: var(--font-semibold) !important;
  }

  .impact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .impact-card {
    width: 100% !important;
    height: auto !important;
  }

  .impact-card__image {
    width: 100% !important;
    height: 350px !important;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .impact-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .impact-card__content {
    width: 100% !important;
    margin-top: 30px !important;
  }

  .impact-card h3 {
    font-size: 20px !important;
    font-weight: var(--font-semibold) !important;
    word-wrap: break-word;
  }

  .impact-card p {
    font-size: 16px !important;
    font-weight: var(--font-light) !important;
  }

  /* Hide BR tags for better wrapping */
  .impact-card p br,
  .impact-card h3 br {
    display: none !important;
  }

  /* Selective Section */
  .selective-section {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
  }

  .selective-section h2 {
    font-size: 32px !important;
    font-weight: var(--font-semibold) !important;
  }

  .selective-section__grid {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }

  .selective-section__image {
    width: 100% !important;
    height: 350px !important;
    border-radius: 0 !important;
  }

  .selective-section__content {
    width: 100% !important;
  }

  .selective-section__content p,
  .selective-section__content__text,
  .selective-section__content__text2,
  .selective-section__content a {
    font-size: 16px !important;
    font-weight: var(--font-medium) !important;
  }

  .selective-section__content p br {
    display: none !important;
  }
}

/* 576px block consolidated above */

@media (min-width: 1400px) {
  .intern-hero .container {
    max-width: 1320px;
  }

  .impact-section .container {
    max-width: 1320px;
  }

  .selective-section .container {
    max-width: 1320px;
  }
}
