/* ================================
   Global Styles (from styles.css)
   ================================ */
:root {
  --primary-red: #cc0000;
  --black: #000000;
  --white: #ffffff;
  --gray-050: #EDEDED;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #757575;
  --gray-700: #333333;
  --metallic: #a8adb3;

  --ttl-red: var(--primary-red);
  --ttl-black: #111111;
  --ttl-white: var(--white);
  --ttl-gray-100: var(--gray-100);
  --ttl-gray-300: #d1d5db;
  --ttl-gray-700: var(--gray-700);
}


/* ================================
   Home (home-page.component.css)
   ================================ */

/* 2) Full-bleed: break out of a centered parent container to span the viewport */
.home-container {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: 0;
  padding-left: 80px;    /* the only left/right gap now — lower = wider */
  padding-right: 80px;
  color: var(--gray-700);
}

.hero-section { width: 100%; margin-bottom: 48px; }
.welcome-section {
  padding-top: 40px;
  padding-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
}
.welcome-container { width: 100%; }
.welcome-section h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
  border-left: 6px solid var(--primary-red);
  padding-left: 20px;
  line-height: 1.2;
}
.intro-text {
  font-size: 1.14rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 18px;
  line-height: 1.85;
}
.welcome-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 16px;
  text-align: justify;
}
.welcome-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Keep button text white always; only shift the background slightly on hover */
.home-btn,
.home-btn:hover,
.home-btn:focus {
  color: var(--white);
  text-decoration: none;
}

/* Subtle background change on hover (not a big jump) */
.home-btn-primary { background: var(--primary-red); border-color: var(--primary-red); }
.home-btn-primary:hover { background: #b30000; border-color: #b30000; }

.home-btn-secondary { background: var(--black); border-color: var(--black); }
.home-btn-secondary:hover { background: #222; border-color: #222; }
.features-section {
  padding: 92px 60px;
  background: var(--white);
  max-width: 100%;
  margin: 0 auto;
}
.features-section h2 {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 52px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
@media (max-width: 1024px) {
  .welcome-section { padding: 60px 40px; }
  .features-section { padding: 80px 40px; }
  .features-grid { gap: 24px; }
}
@media (max-width: 768px) {
  .welcome-section { padding: 40px 24px; }
  .welcome-section h1 { font-size: 1.8rem; padding-left: 16px; }
  .intro-text { font-size: 1rem; }
  .welcome-section p { font-size: 0.95rem; text-align: left; }
  .features-section { padding: 60px 24px; }
  .features-section h2 { font-size: 2rem; margin-bottom: 40px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Card (card.component.css) */
.ttl-card {
  background: #fff;
  border-radius: 12px;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--primary-red);
  height: 100%;
}
.ttl-card:hover, .ttl-card:focus {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(204, 0, 0, 0.16);
  outline: none;
}
.ttl-card-title { font-size: 1.6rem; font-weight: 700; color: var(--primary-red); margin-bottom: 8px; }
.ttl-card-subtitle { font-size: 0.95rem; color: #333; margin-bottom: 10px; font-weight: 600; }
.ttl-card-body { margin: 0; color: #555; line-height: 1.6; }

/* ================================
   Hero Carousel (hero-carousel.component.css)
   ================================ */
.hero-carousel { width: 100%; margin: 0 auto; padding: 20px 0; }
.carousel-wrapper { max-width: 100%; margin: 0 auto; padding: 0 16px; }
.carousel-container { position: relative; display: flex; align-items: center; gap: 20px; }
.carousel-control::before,
.carousel-control::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}
.carousel-slides {
  flex: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active { opacity: 1; z-index: 10; }
.slide-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.25), transparent);
  color: #fff;
  padding: 40px 30px 30px;
  text-align: center;
}
.slide-caption h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  display: inline-block;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 10px 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid transparent;   /* reserve space so hover border doesn't shift layout */
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;                  /* centers the glyph vertically */
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                      /* remove default button padding that offsets the glyph */
  text-align: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.carousel-control:hover,
.carousel-control:focus,
.carousel-control:active {
  background: rgba(255, 255, 255, 1);
  color: var(--primary-red);
  border-color: var(--primary-red);   /* the red border you want */
  transform: translateY(-50%) scale(1.1);
  outline: none;
}
.carousel-control.prev { left: 16px; }
.carousel-control.next { right: 16px; }
.carousel-indicators { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid #999;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.indicator.active { background: var(--primary-red); border-color: var(--primary-red); width: 14px; height: 14px; }
.indicator:hover { background: var(--primary-red); border-color: var(--primary-red); }
.indicator:focus { outline: 2px solid var(--primary-red); outline-offset: 2px; }


@media (max-width: 1024px) {
  .carousel-control.prev { left: 12px; }
  .carousel-control.next { right: 12px; }
  .carousel-control { width: 40px; height: 40px; font-size: 24px; }
  .slide-caption h2 { font-size: 1.5rem; padding: 9px 14px; }
}
@media (max-width: 768px) {
  .carousel-slides { aspect-ratio: 4 / 3; }
  .carousel-control { width: 36px; height: 36px; font-size: 20px; }
  .carousel-control.prev { left: 12px; }
  .carousel-control.next { right: 12px; }
  .slide-caption h2 { font-size: 1.2rem; padding: 8px 12px; }
  .carousel-indicators { gap: 8px; }
  .indicator { width: 10px; height: 10px; }
}
@media (max-width: 480px) {
  .carousel-wrapper { padding: 0 10px; }
  .carousel-slides { aspect-ratio: 1; }
  .carousel-control { display: none; }
  .slide-caption h2 { font-size: 1rem; padding: 7px 10px; }
  .carousel-indicators { margin-top: 16px; gap: 6px; }
  .indicator { width: 8px; height: 8px; }
}

/* ================================
   Faculty (faculty.component.css)
   ================================ */
.faculty-page .container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  color: #333;
}
.faculty-page .content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.prof-info { flex: 1 1 60%; line-height: 1.7; }
.prof-info h2 {
  font-size: 2rem;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.linkedin-icon i { color: #0077b5; font-size: 1.5rem; transition: color 0.2s ease; }
.linkedin-icon i:hover { color: #005582; }
.cv-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  margin-top: 10px;
  transition: color 0.2s ease;
}
.cv-link:hover { color: #a80000; }
.cv-icon { width: 24px; height: 24px; object-fit: contain; transition: transform 0.2s ease; }
.cv-link:hover .cv-icon { transform: scale(1.1); }
.prof-photo { flex: 1 1 30%; text-align: center; }
.prof-photo img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
@media (max-width: 768px) {
  .faculty-page .content-container { flex-direction: column-reverse; align-items: center; text-align: center; }
  .prof-info { flex: 1 1 100%; }
  .prof-photo { flex: 1 1 100%; margin-bottom: 20px; }
  .cv-link { justify-content: center; }
}

/* ================================
   People list pages (phd / masters / undergrad shared patterns)
   ================================ */
.people-page .container,
.phd-page .container,
.masters-page .container,
.undergrad-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}
.people-page .container h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-red);
  padding-left: 15px;
}
.masters-page .container h2 { margin-bottom: 15px; }
.masters-page .container > p { color: #666; margin-bottom: 30px; }

.student, .ms, .ugstudent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.student:hover, .ms:hover, .ugstudent:hover { box-shadow: 0 8px 20px rgba(204, 0, 0, 0.1); }
.student-info, .ms-info, .ugstudent-info { flex: 1; min-width: 250px; }
.student-info h3, .ms-info h3, .ugstudent-info h3 {
  margin: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-red);
}
.student-info h4, .ms-info h4, .ugstudent-info h4 { margin: 10px 0 5px; font-size: 1rem; color: #555; }
.student-info p, .ms-info p, .ugstudent-info p { margin: 0; line-height: 1.6; color: #666; }
.linkedin-icon i { color: #0077b5; font-size: 1.3rem; transition: color 0.2s ease; }
.linkedin-icon i:hover { color: #005a87; }
.student-photo, .ms-photo, .ugstudent-photo {
  flex: 0 0 150px;
  width: 150px;
  height: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f3f4f6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .student, .ms, .ugstudent { flex-direction: column; text-align: center; }
  .student-photo, .ms-photo, .ugstudent-photo { flex: 0 0 120px; width: 120px; height: 120px; }
  .student-info h3, .ms-info h3, .ugstudent-info h3 { justify-content: center; }
}

/* ================================
   Postdoc (postdoc.component.css)
   ================================ */
.postdoc-page .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.postdoc-page .container h2 {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--black);
  border-left: 5px solid var(--primary-red);
  padding-left: 14px;
}
.postdoc-page .content-container { display: grid; gap: 16px; }
.postdoc-page .student {
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 18px;
  margin-bottom: 0;
}
.postdoc-page .student:hover, .postdoc-page .student:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.13);
}
.postdoc-page .student-info h3 { font-size: 1.2rem; font-weight: 700; }
.postdoc-page .linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #eaf3ff;
  color: #0a66c2;
}
.postdoc-page .linkedin-icon:hover { color: #004182; text-decoration: none; }
.postdoc-page .student-photo {
  width: 150px; height: 150px;
  object-fit: cover;
  object-position: center;
  background: #f3f4f6;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  flex: 0 0 150px;
}
@media (max-width: 768px) {
  .postdoc-page .student-photo { width: 120px; height: 120px; }
}

/* ================================
   Alumni (alumni.component.css)
   ================================ */
.alumni-container {
  max-width: 1280px;
  margin: 40px auto;
  padding: 20px 22px;
}
.alumni-header { margin-bottom: 24px; }
.alumni-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0;
  color: #111;
  border-left: 5px solid var(--primary-red);
  padding-left: 12px;
}
.alumni-header p { margin: 12px 0 0; color: #4b5563; line-height: 1.7; max-width: 850px; }
.alumni-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.alumni-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  border-top: 4px solid var(--primary-red);
  padding: 16px 16px 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.alumni-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12); }
.alumni-card h4 { margin: 0; font-size: 1.02rem; font-weight: 800; color: #111; }
.alumni-role { margin: 0.45rem 0 0; color: var(--primary-red); font-size: 0.92rem; font-weight: 700; }
.alumni-now { margin: 0.6rem 0 0; font-size: 0.9rem; line-height: 1.6; color: #4b5563; }
@media (max-width: 1024px) { .alumni-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .alumni-container { padding: 16px; } .alumni-grid { grid-template-columns: 1fr; } }

/* ================================
   Publications (publications.component.scss)
   ================================ */
.publications-page { background: #fff; padding-bottom: 4rem; }
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 54vh;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.64)),
    url('assets/Research.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay { width: 100%; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.hero-content { max-width: 980px; text-align: center; color: #fff; }
.hero-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}
.hero-content p {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.intro-section { padding: 4rem 1.25rem 2rem; }
.intro-block { max-width: 800px; margin: 0 auto; text-align: center; }
.intro-block h2 { margin: 0 0 1rem; color: #000; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.intro-block p { margin: 0; color: #4b5563; font-size: 1.06rem; line-height: 1.95; }
.research-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.research-card {
  background: #fff;
  border-radius: 14px;
  border-left: 6px solid var(--primary-red);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.research-card:hover, .research-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 0, 0, 0.1);
  color: var(--primary-red);
  font-size: 1.1rem;
}
.research-card h3 { margin: 0; color: #000; font-size: 1.15rem; line-height: 1.45; font-weight: 700; }
.research-card p { margin: 0; color: #4b5563; line-height: 1.7; }

.learn-more-btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  border: 1px solid var(--primary-red);
  background: #fff;
  color: var(--primary-red);
  border-radius: 999px;
  padding: 0.55rem 2.6rem 0.55rem 1.2rem;   /* extra right padding for the arrow */
  font-weight: 700;
  transition: all 0.2s ease;
  display: inline-block;
  position: relative;
  line-height: 1.2;
}
.learn-more-btn::before { content: none !important; display: none !important; }
.learn-more-btn::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 1.1rem;
  width: 1em;
  height: 1em;
  transform: translateY(calc(-50% - 15px));              /* perfect vertical centering */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cc0000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.learn-more-btn:hover,
.learn-more-btn:focus-visible {
  background: var(--primary-red);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2);
}
.learn-more-btn:hover::after,
.learn-more-btn:focus-visible::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
}
@media (max-width: 992px) {
  .hero-banner { min-height: 48vh; }
  .research-cards { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .hero-overlay { padding: 1.25rem; }
  .intro-section { padding: 3rem 1rem 1.5rem; }
  .research-cards { padding: 1rem 1rem 0; gap: 1rem; }
  .research-card { padding: 1.2rem 1rem; }
}

/* ===== Publication modal (final, centered) ===== */
.pub-modal {
  display: none;
}
.pub-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;          /* explicit viewport height, not inset */
  z-index: 99999;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  box-sizing: border-box;
}
.pub-modal.open .pub-modal-dialog {
  position: relative;
  width: 90%;
  max-width: 1140px;
  max-height: 85vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  z-index: 100000;
}
.pub-modal.open .pub-modal-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
  overflow: hidden;
}
.pub-modal.open .pub-modal-body,
.pub-modal.open .publication-modal-body {
  overflow-y: auto;
  padding: 1.35rem;
  background: #f3f4f6;
  flex: 1;
}
.pub-modal .pub-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #a80000, #990000);
  color: #fff;
  padding: 0.95rem 1.35rem;
  flex-shrink: 0;
}
.pub-modal .pub-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.pub-modal .pub-close::before,
.pub-modal .pub-close::after {
  content: none !important;
  display: none !important;
}
.pub-modal .pub-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.5rem;
  pointer-events: auto;
}
.pub-modal .pub-close * {
  pointer-events: none;
}

.pub-modal .publication-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pub-modal .publication-list li {
  margin-bottom: 0.9rem;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.pub-modal .publication-list a {
  color: var(--primary-red);
  font-weight: 700;
}
.pub-modal .publication-list a:hover {
  color: #a80000;
}
/* ================================
   Projects (projects.component.css)
   ================================ */
.projects-page .container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.projects-page .container > h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #222;
}
.projects-page .container > p {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 2rem;
  color: #333;
}
.logo-section { margin-top: 40px; text-align: center; padding: 25px; background: #fff; border-radius: 8px; }
.logo-section h3 { margin-bottom: 1.5rem; }
.logo-marquee { overflow: hidden; position: relative; width: 100%; }
.logo-track { display: flex; width: max-content; animation: scroll-left 20s linear infinite; }
.logo-img { max-height: 125px; margin: 0 30px; flex-shrink: 0; transition: transform 0.3s ease-in-out; }
.logo-img:hover { transform: scale(1.1); }
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .logo-img { max-height: 60px; margin: 0 15px; }
}

/* ================================
   Data (data.component.css)
   ================================ */
.data-page .container { max-width: 1500px; margin: 0 auto; padding: 25px; }
.data-page .full-height-row {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 40px;
}
.data-page .overlay-text { text-align: center; }
.data-page .image-description img { max-width: 200px; margin-bottom: 20px; }
.data-page .italic-text { font-style: italic; color: #444; max-width: 900px; margin: 0 auto; }
.data-page .section-header { margin-bottom: 20px; }

/* ================================
   ITE (ite.component.css)
   ================================ */
.ite-slideshow {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 10px 20px;
  align-self: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.ite-slideshow h3 { font-size: 1.8rem; font-weight: 600; color: #0077b5; margin-bottom: 25px; text-align: center; }
.ite-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.ite-carousel .carousel-inner { position: absolute; inset: 0; width: 100%; height: 100%; }
.ite-carousel .carousel-item { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.ite-carousel .carousel-item.active { display: block; }
.ite-carousel .carousel-item img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ite-carousel .carousel-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  padding: 12px 18px;
  text-align: center;
}
.ite-carousel .carousel-caption h5 { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0; }
/* Make ITE arrows match the home hero arrows */
.ite-carousel .carousel-control-prev,
.ite-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
}
.ite-carousel .carousel-control-prev:hover,
.ite-carousel .carousel-control-next:hover,
.ite-carousel .carousel-control-prev:focus,
.ite-carousel .carousel-control-next:focus {
  background: rgba(255, 255, 255, 1);
  color: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-50%) scale(1.1);
  outline: none;
}
.ite-carousel .carousel-control-prev { left: 16px; }
.ite-carousel .carousel-control-next { right: 16px; }

/* ===== ITE layout ===== */
.ite-container { width: 100%; max-width: 1240px; margin: 40px auto; padding: 0 20px; }

.ite-container .ite-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.left-content, .right-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-width: 0;            /* lets grid columns shrink instead of overflowing */
}

.left-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 3px solid #0077b5;
  align-self: flex-start;
  padding-bottom: 5px;
}
.right-content h3 { font-size: 1.5rem; font-weight: 600; color: #0077b5; margin-bottom: 15px; }
.left-content p, .right-content p { font-size: 1rem; line-height: 1.6; color: #444; }

.advisors {
  margin-top: 20px;
  padding: 15px;
  background: #f1f7fb;
  border-left: 4px solid #0077b5;
  border-radius: 6px;
}
.advisors p { margin: 0.3rem 0; }

.right-content .form { flex: 1; display: flex; }
.right-content iframe {
  width: 100%;
  flex: 1;
  min-height: 420px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .ite-container .ite-row { grid-template-columns: 1fr; }   /* stack on mobile */
  .right-content iframe { min-height: 70vh; }
}
.home-container .home-btn,
.home-container .home-btn:hover,
.home-container .home-btn:focus,
.home-container .home-btn:active {
  color: var(--white) !important;
  text-decoration: none !important;
}
/* ===== Learn More button — single arrow, robust ===== */
.learn-more-btn::before {
  content: "" !important;
  display: none !important;
}
.learn-more-btn::after {
  content: "\2192" !important;
  display: inline !important;
  font-family: Arial, "Segoe UI Symbol", sans-serif !important;
  margin-left: 0.5em !important;
  border: 0 !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  background: none !important;
  box-shadow: none !important;
  vertical-align: baseline !important;
}

.ttu-main-content {
  transform: none !important;
}

.carousel-indicators .indicator::before,
.carousel-indicators .indicator::after {
  content: none !important;
  display: none !important;
}

/* Kill Bootstrap's injected arrow glyphs on the ITE carousel controls */
.ite-carousel .carousel-control-prev::before,
.ite-carousel .carousel-control-prev::after,
.ite-carousel .carousel-control-next::before,
.ite-carousel .carousel-control-next::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* =====================================================================
   egrant-page.css  — paste ONCE at the end of styles.css
   (Delete any previous/duplicate eGrant block before pasting this.)
   All selectors namespaced .eg-* — no Bootstrap clash.
   ===================================================================== */

.eg-page {
  --eg-red: #cc0000;
  --eg-red-dark: #a30000;
  --eg-ink: #1a1a1a;
  --eg-muted: #5a5a5a;
  --eg-line: #e6e6e6;
  --eg-bg-soft: #f7f7f8;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--eg-ink);
  line-height: 1.6;
}
.eg-page * { box-sizing: border-box; }

/* ---- Hero ---- */
.eg-hero {
  position: relative; overflow: hidden; border-radius: 18px;
  padding: 64px 48px; margin-bottom: 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #3a0000 55%, var(--eg-red) 130%);
  color: #fff;
}
.eg-hero::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(204,0,0,0.45) 0%, rgba(204,0,0,0) 70%);
  pointer-events: none;
}
.eg-hero__inner { position: relative; max-width: 640px; }
.eg-hero__eyebrow {
  display: inline-block; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.eg-hero__title { margin: 0 0 16px; font-size: 44px; font-weight: 800; line-height: 1.1; color: #fff; }
.eg-hero__subtitle { margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.9); }
.eg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Buttons ---- */
.eg-btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px; font-size: 15px;
  font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.eg-btn:hover { text-decoration: none; transform: translateY(-1px); }
.eg-btn--primary { background: var(--eg-red); color: #fff; }
.eg-btn--primary:hover { background: var(--eg-red-dark); color: #fff; }
.eg-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.eg-btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.eg-btn--light { background: #fff; color: var(--eg-red); }
.eg-btn--light:hover { background: #f0f0f0; color: var(--eg-red-dark); }
.eg-btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---- Info cards ---- */
.eg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.eg-card {
  padding: 28px 24px; background: #fff; border: 1px solid var(--eg-line);
  border-radius: 14px; border-top: 3px solid var(--eg-red);
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.eg-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.eg-card__icon { font-size: 28px; color: var(--eg-red); margin-bottom: 12px; }
.eg-card__title { margin: 0 0 10px; font-size: 19px; font-weight: 700; color: var(--eg-ink); }
.eg-card__text { margin: 0; font-size: 15px; color: var(--eg-muted); }

/* ---- Survey CTA band ---- */
.eg-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 24px; padding: 36px 40px; margin-bottom: 44px; border-radius: 16px;
  background: linear-gradient(135deg, var(--eg-red) 0%, var(--eg-red-dark) 100%); color: #fff;
}
.eg-cta__text { flex: 1 1 320px; }
.eg-cta__title { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: #fff; }
.eg-cta__body { margin: 0; font-size: 16px; color: rgba(255,255,255,0.92); max-width: 560px; }

/* ---- Section headings ---- */
.eg-section-title {
  margin: 0 0 8px; font-size: 28px; font-weight: 800; color: var(--eg-ink);
  position: relative; padding-bottom: 12px;
}
.eg-section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px;
  background: var(--eg-red); border-radius: 2px;
}
.eg-section-lead { margin: 0 0 24px; color: var(--eg-muted); font-size: 16px; }

/* ---- Schedule ---- */
.eg-schedule { margin-bottom: 44px; }
.eg-schedule__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.eg-session {
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px;
  background: var(--eg-bg-soft); border: 1px solid var(--eg-line);
  border-left: 4px solid var(--eg-red); border-radius: 12px;
}
.eg-session__date { font-size: 18px; font-weight: 800; color: var(--eg-ink); margin-bottom: 4px; }
.eg-session__time { font-size: 15px; font-weight: 600; color: var(--eg-red); margin-bottom: 10px; }
.eg-session__meta { font-size: 14px; color: var(--eg-muted); margin-bottom: 18px; }
.eg-session .eg-btn { margin-top: auto; }
.eg-schedule__note { margin-top: 16px; font-size: 14px; color: var(--eg-muted); }

/* ---- Contact ---- */
.eg-contact { margin-bottom: 24px; }
.eg-contact__card {
  padding: 24px 26px; background: #fff; border: 1px solid var(--eg-line);
  border-radius: 14px; max-width: 460px;
}
.eg-contact__name { font-size: 18px; font-weight: 800; color: var(--eg-ink); }
.eg-contact__org { font-size: 15px; color: var(--eg-muted); margin: 4px 0 10px; }
.eg-contact__email { font-size: 15px; font-weight: 700; color: var(--eg-red); text-decoration: none; }
.eg-contact__email:hover { text-decoration: underline; color: var(--eg-red-dark); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .eg-cards, .eg-schedule__grid { grid-template-columns: 1fr; }
  .eg-hero { padding: 48px 28px; }
  .eg-hero__title { font-size: 34px; }
  .eg-cta { padding: 28px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .eg-btn, .eg-card { transition: none; }
  .eg-btn:hover, .eg-card:hover { transform: none; }
}

/* =====================================================================
   egrant-popup.css  — powers the homepage announcement modal (app.js).
   Overlay is appended to <body>, so the .ttu-main-content transform
   can't break centering. Namespaced .egrant-popup__* — no Bootstrap clash.
   ===================================================================== */
.egrant-popup-overlay {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center;
  justify-content: center; padding: 20px; background: rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
.egrant-popup-overlay.is-visible { opacity: 1; visibility: visible; }
.egrant-popup {
  position: relative; width: 100%; max-width: 480px; box-sizing: border-box;
  padding: 36px 32px 28px; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3); transform: translateY(16px);
  transition: transform 0.25s ease; font-family: Arial, Helvetica, sans-serif; text-align: left;
}
.egrant-popup-overlay.is-visible .egrant-popup { transform: translateY(0); }
.egrant-popup__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: #f0f0f0; color: #333; font-size: 22px;
  line-height: 36px; text-align: center; cursor: pointer; transition: background 0.15s ease;
}
.egrant-popup__close:hover { background: #e0e0e0; }
.egrant-popup__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 16px;
  border-radius: 999px; background: #fdeaea; color: #cc0000; font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.egrant-popup__dot { width: 8px; height: 8px; border-radius: 50%; background: #cc0000; }
.egrant-popup__title { margin: 0 0 12px; color: #1a1a1a; font-size: 26px; font-weight: 800; line-height: 1.2; }
.egrant-popup__body { margin: 0 0 24px; color: #555; font-size: 15px; line-height: 1.55; }
.egrant-popup__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.egrant-popup__btn {
  flex: 1 1 auto; min-width: 140px; padding: 13px 20px; border-radius: 10px; font-size: 15px;
  font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.egrant-popup__btn--primary { background: #cc0000; color: #fff; }
.egrant-popup__btn--primary:hover { background: #a30000; color: #fff; text-decoration: none; }
.egrant-popup__btn--secondary { background: #fff; color: #1a1a1a; border: 1px solid #d0d0d0; }
.egrant-popup__btn--secondary:hover { background: #f7f7f7; color: #1a1a1a; text-decoration: none; }
.egrant-popup__dismiss {
  display: block; width: 100%; padding: 8px; border: 0; background: transparent; color: #888;
  font-size: 14px; cursor: pointer; text-align: center;
}
.egrant-popup__dismiss:hover { background: #f7f7f7; color: #1a1a1a; text-decoration: none;  }
@media (max-width: 480px) {
  .egrant-popup { padding: 30px 22px 22px; }
  .egrant-popup__title { font-size: 22px; }
  .egrant-popup__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .egrant-popup-overlay, .egrant-popup { transition: none; }
  .egrant-popup { transform: none; }
}

/* =====================================================================
   eGrant — OVERRIDE FIXES
   APPEND this AFTER the eGrant blocks already in style.css.
   Purpose: neutralize inherited TTU/Bootstrap global rules that leak
   into the eGrant page + popup (injected arrow glyphs, forced link
   colors, hover underlines, dark text on red areas).
   Placed last so these win on specificity + source order.
   ===================================================================== */

/* ---- 1. Kill injected ::before/::after arrow glyphs on all eGrant controls ---- */
.eg-page .eg-btn::before,
.eg-page .eg-btn::after,
.egrant-popup .egrant-popup__btn::before,
.egrant-popup .egrant-popup__btn::after,
.egrant-popup .egrant-popup__close::before,
.egrant-popup .egrant-popup__close::after,
.egrant-popup .egrant-popup__dismiss::before,
.egrant-popup .egrant-popup__dismiss::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* ---- 2. No underline on any eGrant link/button, including hover/focus ---- */
.eg-page a,
.eg-page a:hover,
.eg-page a:focus,
.eg-page .eg-btn,
.eg-page .eg-btn:hover,
.eg-page .eg-btn:focus,
.egrant-popup a,
.egrant-popup a:hover,
.egrant-popup a:focus,
.egrant-popup .egrant-popup__btn,
.egrant-popup .egrant-popup__btn:hover,
.egrant-popup .egrant-popup__btn:focus,
.egrant-popup .egrant-popup__dismiss,
.egrant-popup .egrant-popup__dismiss:hover {
  text-decoration: none !important;
}
/* keep the intentional underline on the contact email only */
.eg-page .eg-contact__email:hover {
  text-decoration: underline !important;
}

/* ---- 3. Force WHITE text on the dark hero and red CTA band ---- */
.eg-page .eg-hero,
.eg-page .eg-hero .eg-hero__title,
.eg-page .eg-hero .eg-hero__subtitle,
.eg-page .eg-hero .eg-hero__eyebrow,
.eg-page .eg-cta,
.eg-page .eg-cta .eg-cta__title,
.eg-page .eg-cta .eg-cta__body {
  color: #fff !important;
}
/* hero subtitle slightly softened white, but still clearly white */
.eg-page .eg-hero .eg-hero__subtitle { color: rgba(255,255,255,0.92) !important; }
.eg-page .eg-cta .eg-cta__body { color: rgba(255,255,255,0.92) !important; }

/* ---- 4. Button text colors (win over global link color rules) ---- */
.eg-page .eg-btn--primary,
.eg-page .eg-btn--primary:hover,
.eg-page .eg-btn--primary:focus,
.eg-page .eg-btn--ghost,
.eg-page .eg-btn--ghost:hover,
.eg-page .eg-btn--ghost:focus {
  color: #fff !important;
}
.eg-page .eg-btn--light,
.eg-page .eg-btn--light:hover,
.eg-page .eg-btn--light:focus {
  color: var(--eg-red) !important;
}
.egrant-popup .egrant-popup__btn--primary,
.egrant-popup .egrant-popup__btn--primary:hover {
  color: #fff !important;
}
.egrant-popup .egrant-popup__btn--secondary,
.egrant-popup .egrant-popup__btn--secondary:hover {
  color: #1a1a1a !important;
}

/* ---- 5. Popup close (×) stays WHITE-bg neutral and does NOT grey out ---- */
.egrant-popup .egrant-popup__close {
  color: #333 !important;
  background: #f0f0f0 !important;
}
.egrant-popup .egrant-popup__close:hover,
.egrant-popup .egrant-popup__close:focus {
  color: #000 !important;
}

/* ---- 6. Dismiss/Close bar: keep text white on the red bar, no grey, no underline ---- */
.egrant-popup .egrant-popup__dismiss,
.egrant-popup .egrant-popup__dismiss:hover,
.egrant-popup .egrant-popup__dismiss:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* =====================================================================
   eGrant — styles for the new INTRO and AGENDA TIMELINE sections
   APPEND after the existing eGrant blocks in style.css.
   ===================================================================== */

/* ---- Intro ---- */
.eg-page .eg-intro { margin-bottom: 44px; }
.eg-page .eg-intro__lead {
  font-size: 18px; font-weight: 600; color: var(--eg-ink);
  line-height: 1.6; margin: 0 0 16px;
}
.eg-page .eg-intro__text {
  font-size: 16px; color: var(--eg-muted); line-height: 1.7; margin: 0 0 14px;
}

/* ---- Agenda timeline ---- */
.eg-page .eg-agenda { margin-bottom: 44px; }
.eg-page .eg-timeline {
  list-style: none; margin: 8px 0 0; padding: 0;
  border-left: 3px solid var(--eg-red);
}
.eg-page .eg-timeline__item {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  padding: 16px 0 16px 26px;
}
.eg-page .eg-timeline__item::before {
  content: ""; position: absolute; left: -9px; top: 22px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--eg-red); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--eg-line);
}
.eg-page .eg-timeline__item + .eg-timeline__item { border-top: 1px solid var(--eg-line); }
.eg-page .eg-timeline__time {
  flex: 0 0 auto; min-width: 96px;
  font-size: 15px; font-weight: 800; color: var(--eg-red);
  font-variant-numeric: tabular-nums;
}
.eg-page .eg-timeline__desc {
  flex: 1 1 260px;
  font-size: 15px; color: var(--eg-ink); line-height: 1.5;
}

/* ---- Contact phone (added below email) ---- */
.eg-page .eg-contact__card { display: flex; flex-direction: column; }
.eg-page .eg-contact__phone {
  font-size: 15px; font-weight: 700; color: var(--eg-red);
  text-decoration: none; margin-top: 4px;
}
.eg-page .eg-contact__phone:hover { text-decoration: underline; color: var(--eg-red-dark); }

@media (max-width: 860px) {
  .eg-page .eg-timeline__time { min-width: 84px; }
}

/* =====================================================================
   eGrant — pedestrian-safety icon on the right of the hero
   APPEND after the eGrant blocks in style.css.
   The .eg-hero is position:relative already, so the icon anchors to it.
   ===================================================================== */
.eg-page .eg-hero__icon {
  position: absolute;
  top: 50%;
  right: 56px;
  transform: translateY(-50%);
  width: 200px;
  max-width: 34%;
  pointer-events: none;
  z-index: 1;               /* sits above the ::after glow, below the text */
  opacity: 0.9;
}
.eg-page .eg-hero__icon svg { width: 100%; height: auto; display: block; }

/* keep the text above the icon and readable */
.eg-page .eg-hero__inner { position: relative; z-index: 2; }

/* hide the icon on narrow screens so it never crowds the text */
@media (max-width: 760px) {
  .eg-page .eg-hero__icon { display: none; }
}

/* =====================================================================
   eGrant — pedestrian icon as a CSS background (CMS-proof)
   APPEND after the eGrant blocks in style.css.
   The SVG lives here as a data-URI, so the CMS never touches it.
   In the .pcf content you only need an EMPTY div:
       <div class="eg-hero__icon" aria-hidden="true"></div>
   placed inside <section class="eg-hero"> after the .eg-hero__inner div.
   ===================================================================== */
.eg-page .eg-hero__icon {
  position: absolute;
  top: 50%;
  right: 56px;
  transform: translateY(-50%);
  width: 200px;
  height: 233px;              /* 120:140 ratio at 200px wide */
  max-width: 34%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20120%20140'%3E%3Crect%20x='14'%20y='120'%20width='92'%20height='7'%20rx='2'%20fill='%23ffffff'%20opacity='0.85'/%3E%3Crect%20x='14'%20y='107'%20width='92'%20height='7'%20rx='2'%20fill='%23ffffff'%20opacity='0.60'/%3E%3Crect%20x='14'%20y='94'%20width='92'%20height='7'%20rx='2'%20fill='%23ffffff'%20opacity='0.38'/%3E%3Crect%20x='14'%20y='81'%20width='92'%20height='7'%20rx='2'%20fill='%23ffffff'%20opacity='0.22'/%3E%3Ccircle%20cx='60'%20cy='20'%20r='10'%20fill='%23ffffff'/%3E%3Cpath%20fill='%23ffffff'%20d='M60%2033%20c-6%200%20-11%204%20-12%2010%20l-6%2024%20c-1%204%205%206%206%202%20l5%20-18%202%200%20-3%2020%20-8%2022%20c-2%205%206%208%208%203%20l8%20-21%208%2021%20c2%205%2010%202%208%20-3%20l-8%20-22%20-3%20-20%202%200%205%2018%20c1%204%207%202%206%20-2%20l-6%20-24%20c-1%20-6%20-6%20-10%20-12%20-10%20z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.eg-page .eg-hero__inner { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .eg-page .eg-hero__icon { display: none; }
}

/* =====================================================================
   eGrant popup — restyle the "Maybe Later" dismiss to match "Learn More"
   APPEND at the END of style.css (after the other eGrant blocks so it wins).
   White box, dark text, bordered; red fill + white text on hover.
   ===================================================================== */
.egrant-popup .egrant-popup__dismiss {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
  border: 1px solid #d0d0d0 !important;
  border-radius: 10px;
  background: #fff !important;
  color: #1a1a1a !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* kill any inherited ::after arrow glyph on the dismiss button */
.egrant-popup .egrant-popup__dismiss::before,
.egrant-popup .egrant-popup__dismiss::after {
  content: none !important;
  display: none !important;
}
/* =====================================================================
   eGrant popup — make "Maybe Later" identical to "Learn More"
   (secondary button), including hover. APPEND at the END of style.css.
   ===================================================================== */
.egrant-popup .egrant-popup__dismiss {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
  border: 1px solid #d0d0d0 !important;
  border-radius: 10px;
  background: #fff !important;
  color: #1a1a1a !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
/* hover EXACTLY like .egrant-popup__btn--secondary (Learn More) */
.egrant-popup .egrant-popup__dismiss:hover,
.egrant-popup .egrant-popup__dismiss:focus {
  background: #f7f7f7 !important;
  color: #1a1a1a !important;
  border-color: #d0d0d0 !important;
  text-decoration: none !important;
}
/* kill any inherited ::after arrow glyph on the dismiss button */
.egrant-popup .egrant-popup__dismiss::before,
.egrant-popup .egrant-popup__dismiss::after {
  content: none !important;
  display: none !important;
}

/* =====================================================================
   eGrant — section-title red accent spans the full TEXT width
   APPEND at the END of style.css (after all other eGrant blocks).
   Applies to every .eg-section-title (About, Agenda, Questions, Schedule).
   ===================================================================== */
.eg-page .eg-section-title {
  display: inline-block !important;   /* shrink-wrap to the text */
  position: relative;
}
.eg-page .eg-section-title::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40% !important;             /* full width of the text */
  height: 3px !important;
  background: var(--eg-red) !important;
  border-radius: 2px;
}