  h2#featured_story_title14937 {
    display: none;
}


/*H2 within the callout */
h2.callout-h2{
  line-height: 1.2;
  font-family: 'yale', 'TimesNewRoman', 'Times New Roman', 'Times', 'Baskerville', 'Georgia', serif;
  font-weight: 400;
  color: #00356b;
  font-size: clamp(1.75rem, 5vw, 2.875rem);
}

h2.callout-video-h2 {
    margin-bottom: -20px;
    line-height: 1.2;
    font-family: 'yale', 'TimesNewRoman', 'Times New Roman', 'Times', 'Baskerville', 'Georgia', serif;
    font-weight: 400;
    color: #00356b;
    font-size: clamp(1.75rem, 5vw, 2.875rem);
}

h2.callout_media_title.heading_5.text_divide{
    color: #286dc0;
    text-transform: initial;
    letter-spacing: 0;
    font-size: 32px;
    margin: 20px 0;
    font-family: 'yale','TimesNewRoman','Baskerville','Georgia', serif;
}



/*Bold callout ahref link*/
.color_gray_light.large_visual_description a {
  color: #ffffff;
  text-decoration: underline;
}

/*Bold callout links */
.large_visual_buttons{
  visibility: hidden;
}

h2.related_links_title.related_links_title_wide.heading_2.color_midnight {
  /* padding-bottom: 5px;*/
  /* font-size: 3rem; */
  visibility: hidden; 
  margin-top: -50px;
}

/* Intro text width*/

.intro-width {
    width: 980px;
}

@media (max-width: 768px) {
  .intro-width {
    width: 100%;
  }
}

p.home-width {
    width: 980px;
}

@media (max-width: 768px) {
  p.home-width {
    width: 100%;
  }
}

/* Media query for wide screens */
@media (min-width: 1220px) {
  .related_links_description_wide {
    max-width: 1220px !important;
  }
}

/* Featured story button and title */
/*a.button.color_white.button_icon_right_arrow.button_bordered_white.button_hover_bg_midnight.featured_story_button,*/
h2#featured_story_title14881 {
  visibility: hidden; 
}

/* Fact Sheet button */
.numbers_callout_buttons {
  visibility: hidden; 
}

/* Body text max-width adjustment */
.related_links_description_wide {
  max-width: 1000px;
}

/* Infographics text styling */
.info-number-yale-font {
  font-family: 'yale','TimesNewRoman','Baskerville','Georgia', serif;
  font-size: 2.5em;
  padding-top: 10px;
  font-weight: bold;
  color: #00356b;
  margin: 0;
}

.info-title,
.info-number {
  font-family: 'Mallory', 'Gill Sans', 'Gill Sans MT', Calibri, Arial, sans-serif;
  margin: 0;
}

.info-title {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.8;
  padding-top: 6px;
}

.info-number {
  font-weight: bold;
  font-size: 1em;
  color: #00356b;
}

/* Table structure */
.divTable {
  display: table;
  border-collapse: collapse;
  width: 100%;
  margin-top: -20px;
  margin-bottom: 15px;
}

.divTableRow {
  display: table-row;
}

.divTableHeading,
.divTableFoot {
  background-color: #ffffff;
  display: table-header-group;
  font-weight: bold;
}

.divTableFoot {
  display: table-footer-group;
}

.divTableBody {
  display: table-row-group;
}

.divTableCell,
.divTableHead {
  display: table-cell;
  border: 0.125em solid #ffffff;
  padding: 0.75em;
  text-align: center;
  line-height: 1.5;
}

/* Responsive table layout */
@media (max-width: 30em) {
  .divTableHeading > .divTableRow {
    position: absolute;
    top: -9999em;
    left: -9999em;
  }

  .divTableRow {
    display: block;
    border: 0.125em solid #ffffff;
    border-bottom: 0;
    margin-top: 1.5em;
  }

  .divTableCell {
    display: block;
    border: none;
    border-bottom: 0.125em solid #ffffff;
    padding-left: 0 !important;
  }

  .divTableCell:before {
    content: attr(data-label);
    display: inline-block;
    font-weight: bold;
    line-height: 1.5;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 20em) {
  .divTableCell:before {
    display: block;
    margin-bottom: 0.75em;
  }
}

/* Main Layout */
.impact-image-text-container,
.impact-image-text-container-charts {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.impact-image-text-container-charts {
  text-align: center;
}

/* Container holding both pairs side-by-side on desktop */
.impact-text-below-charts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  width: 100%;
}

/* Each image + text pair */
.impact-pair-charts {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 45%;
  /*max-width: 350px;*/
}

/* Image styling */
.impact-item-charts img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Text styling */
.impact-item-charts {
  background-color: #fff;
  padding: 0.75em;
  border-radius: 0.5em;
  font-family: 'Mallory', 'Gill Sans', 'Gill Sans MT', Calibri, Arial, sans-serif;
  font-size: 1em;
  text-align: center;
}

/* Text Styling */
.impact-text-top,
.impact-text-bottom,
.impact-text-bottom h3 {
  margin-bottom: 1em;
  font-family: 'Mallory', 'Gill Sans', 'Gill Sans MT', Calibri, Arial, sans-serif;
}

.impact-text-below {
  margin-top: 1em;
  padding: 1em;
  background-color: #286dc1;
}

.impact-text-below-charts {
  /*margin-top: 1em;*/
  padding: 1em;
  background-color: #ffffff;
  width: 100%;
  margin-top:-25px;
}

/* Grid for Impact Items */
.impact-text-grid,
.impact-text-grid-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

.impact-item,
.impact-item-charts {
  background-color: #fff;
  padding: 0.75em;
  border-radius: 0.5em;
  font-family: 'Mallory', 'Gill Sans', 'Gill Sans MT', Calibri, Arial, sans-serif;
  font-size: 1em;
}

.impact-item {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.impact-item-charts {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .impact-image-text-container,
  .impact-image-text-container-charts {
    flex-direction: column;
  }

  .impact-text-below-charts {
    flex-direction: column;
    gap: 1.5em;
    margin-top:-25px;
  }

  .impact-pair-charts {
    flex: 1 1 100%;
    max-width: none;
  }

  .impact-image-section,
  .impact-text-section {
    flex: 1 1 100%;
  }

  .impact-text-grid,
  .impact-text-grid-charts {
    grid-template-columns: 1fr;
  }
}

.research-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.research-feature img {
  width: 50%;
  height: auto;
  display: block;
  object-fit: cover;
}

.research-feature-text {
  flex: 1;
}

/* Mobile layout: stack image on top */
@media (max-width: 768px) {
  .research-feature {
    flex-direction: column;
  }

  .research-feature img {
    width: 100%;
  }
}
