body.page-retirement .flex-page__body  {
  padding-block:0;
}

body.page-retirement .flex-hero {
  background: linear-gradient(
    135deg,
    #b6d6f1 0%,
    #ffffff 100%
    );
}
body.page-retirement h1.page-header {
  max-width:500px;
}

.details-callout {
  margin-bottom: 50px;
  font-family: var(--mit-default-font);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.details-callout__label {
  padding: 10px 30px;
  background-color: var(--mit-red);
  width: fit-content;
  color: var(--mit-white);
  font-size: 26px;
  margin-bottom: 20px;
}

.details-callout__items {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 100%;
  flex-direction: column;
}


.details-callout__item {
  padding: 10px;
  background-color: var(--mit-light-gray-2);
  color: var(--mit-black);
  text-align: center;
  height: 100%;
  width: 100%;
  max-width: 220px;
  min-height: 318px;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.details-callout__item .item-title{
  font-size: 64px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.details-callout__item .item-subtitle{
  font-size: 18px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.details-callout__item .item-content{
  font-size: 34px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.details-callout__item .item-content-italic{
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  line-height: 30px; /* 136.364% */
  position: relative;
  z-index: 2;
}

.details-callout__footnote {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding-top: 20px;
}

/* animation */
.details-callout__item.details-animate::before {
  content: '';
  width: calc(100% * 1.5);
  height: calc(100% * 2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: 100% 100%;
  transition: 0.75s 0.5s ease-in-out;
  border-radius: 50%;
}

.details-animate.details-item-change-color-light-purple::before {
  background-color: var(--mit-light-purple);
}

.details-animate.details-item-change-color-light-blue::before {
  background-color: var(--mit-light-blue);
}

.details-animate.details-item-change-color-light-green::before {
  background-color: var(--mit-light-green);
}

.details-animate.details-item-change-color-bright-red::before {
  background-color: var(--mit-bright-red);
}

.details-callout__item.is-active::before {
  transform: translate(-50%, -50%) scale(1); /* fully covering */
}

.details-item-change-color-light-purple.is-active {
  color: var(--mit-dark-purple) !important;
  transition: color 0.4s 0.5s ease-in-out;
}

.details-item-change-color-light-blue.is-active {
  color: var(--mit-dark-blue) !important;
  transition: color 0.4s 0.5s ease-in-out;
}

.details-item-change-color-light-green.is-active {
  color: var(--mit-dark-green) !important;
  transition: color 0.4s 0.5s ease-in-out;
}

.details-item-change-color-bright-red.is-active {
  color: var(--mit-white) !important;
  transition: color 0.4s 0.5s ease-in-out;
}

.list-checkbox-callout {
  margin-bottom: 50px;
}
.list-checkbox-callout .checkbox-item__image {
  flex:0 0 auto;
}

.list-checkbox-callout .checkbox-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.checkbox-item .checkbox-item__content{
  color: var(--mit-black);
  font-family: var(--mit-default-font);
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 136.364% */
}

.tab-content .field--name-field-tab-fold > .field__item .list-checkbox-callout p,
.tab-content .field--name-field-tab-fold > .field__item .list-checkbox-callout {
  font-size:2.2rem;
  font-weight: 400;
  line-height: 3rem;
}

.tab-content .field--name-field-tab-fold > .field__item .list-checkbox-callout p {
  font-size:1.8rem;
}
.tab-content .field--name-field-tab-fold > .field__item .list-checkbox-callout .checkbox-item__content {
  font-weight:700;
}

.mit-cards {
  display: flex;
  gap: 40px;
  position: relative;
  flex-direction: column;
}
.mit-cards.gap-20 {
  gap: 20px;
}

.mit-cards .mit-cards-card {
  flex: 1;
  background-color: var(--mit-light-gray);
  overflow: hidden;
  position: relative;
}

.mit-cards-card.wrap-mit-light-blue {
  background-color: var(--mit-light-blue);
}

.mit-cards-card.card-animate::before {
  content: '';
  width: calc(100% * 1.5);
  height: calc(100% * 2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: 100% 100%;
  transition: 0.75s 0.5s ease-in-out;
  border-radius: 50%;
}

.card-animate.card-animate-mit-light-blue::before {
  background-color: var(--mit-light-blue);
}

.mit-cards-card.is-active::before {
  transform: translate(-50%, -50%) scale(1); /* fully covering */
}

.mit-cards-card .mit-cards-card__label {
  padding: 10px 0;
  background-color: var(--mit-blue);
  color: var(--mit-white);
  text-align: center;
  font-family: var(--mit-default-font);
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  position: relative;
  z-index: 2;
}

.mit-cards-card .mit-cards-card__content {
  padding: 30px 30px 40px 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mit-cards-card__content,
.mit-cards-card__content p {
  color: var(--mit-dark-blue);
  font-size:2.2rem !important;
}
.mit-cards-card__content .mit-card-header {
  font-weight: 700;
  font-size:3.4rem;
  margin-bottom:0;
  margin-top:0;
}

.mit-cards-card__content .large {
  margin-bottom: 0;
  transition: color 0.4s 0.5s ease-in-out;
  font-family: var(--mit-default-font);
  font-size: 6.4rem;
  font-style: normal;
  line-height: normal;
  display:block;
}


/* Text color change when card is active */
.mit-cards-card.is-active .mit-cards-card__content h1,
.mit-cards-card.is-active .mit-cards-card__content h3,
.mit-cards-card.is-active .mit-cards-card__content h5
{
  color: var(--mit-dark-blue) !important;
  transition: color 0.4s 0.5s ease-in-out;
}

.sample-scenario-callout {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 50px;
  flex-direction: column;
}

.sample-scenario-callout .sample-scenario-callout__item {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  max-width: 384px;
  cursor: pointer;
  color: var(--mit-black);
}
.sample-scenario-callout .sample-scenario-callout__item h4 {
  color: var(--mit-black);
  font-size: 2.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 3rem;
  margin:0;
  margin-bottom:.5rem;
}
.sample-scenario-callout .sample-scenario-callout__item {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: normal;
}
.sample-scenario-callout .sample-scenario-callout__item .item-callout {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom:.5rem;
}

.sample-scenario-callout__item .item-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image .item-image-bg{
  background-color: var(--mit-red);
  position: absolute;
  z-index: 0;
  width: 90%;
  height: 100%;
  bottom: 0;
  max-height: 300px;
  transition: background-color 0.3s ease;
}

.item-image .item-image-featured{
  position: relative;
}

.sample-scenario-callout__item .item-content {
  position: relative;
  margin: auto;
  padding: 20px;
  background-color: var(--mit-light-gray);
  max-width: 280px;
  margin-top: -50px;
  text-align: center;
  width: 100%;
  transition: margin-top 0.3s ease;
}

.sample-scenario-callout__item .item-content ul {
  text-align: left;
}

.sample-scenario-callout__item .item-content ul ul {
  list-style: none;
  margin-top: 6px;
}

.sample-scenario-callout__item .item-content ul ul li::before {
  content: "-";
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}

.item-content .btn-review {
  color: var(--mit-black);
  font-family: var(--mit-default-font);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;

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

.item-content .btn-review::after {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.6874 9.88712L7.82768 3.02736L9.61719 1.23785L18.2665 9.88712L9.61719 18.5364L7.82768 16.7469L14.6874 9.88712Z" fill="%23000"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7747 11.3783H1.26562V8.84753H16.7747V11.3783Z" fill="%23000"/></svg>') no-repeat;
  background-size: contain;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  content: '';
}

.item-content .hidden-content {
  display: none;
}

.item-content.wrap-mit-red {
  background-color: var(--mit-red);
  color: var(--mit-white);
  transition: background-color 0.3s ease;
  margin-top: -170px;
}

#page-content .sample-scenario-callout .sample-scenario-callout__item .wrap-mit-red ul li::before  {
  background-color: var(--mit-white);
}
#page-content .sample-scenario-callout .sample-scenario-callout__item ul ul li::before {
  content: "-";
  position: absolute;
  inset-block-start: 1.1rem;
  display: inline;
  width: auto;
  height: auto;
  inline-size: auto;
  block-size: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: start;
}
#page-content .sample-scenario-callout .sample-scenario-callout__item .wrap-mit-red ul ul li::before {
  color:#fff;
  background-color:transparent;
}

.item-content.wrap-mit-red h4{
  color: var(--mit-white);
}

.text-callout .text-callout-columns {
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.text-callout .text-callout-columns > div:first-child {
  width:90%;
}

.tab-content .field--name-field-tab-fold > .field__item .text-callout .text-callout-columns {
  font-size:1.6rem;
  font-weight:400;
}

.text-callout .text-callout-columns h3,
.text-callout .text-callout-columns h5 {
  width: 100%;
  max-width: 452px;
  font-weight: 700;
  color: var(--mit-black);
  font-family: var(--mit-default-font);
  font-size: 2.1rem;
  font-style: normal;
  line-height: 3rem;
  margin-top:0;
}

.text-callout-columns .wrap-mit-light-blue {
  flex: 1 1 100%;
  padding: 40px 60px;
  background-color: var(--mit-light-blue);
}
#page-content .text-callout-columns ul li {
  margin-block-start: 0;
  margin-bottom:6px;
}

.wrap-mit-light-blue ul li::marker {
  color: var(--mit-blue);
}

/** Blue buttons **/
.paragraph--type--boxes-with-colored-background .field--name-field-section-button a,
.paragraph--type--image-block .field--name-field-section-button a,
.paragraph--type--photo-offset-callout .field--name-field-section-button a {
  font-family: var(--mit-default-font);
  font-style: normal;
  line-height: normal;
  display: flex;
  padding: 14px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--mit-white) !important;
  background: var(--mit-dark-blue);
  font-size: 1.5rem;
  text-decoration: none;
  width: fit-content;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.paragraph--type--boxes-with-colored-background .field--name-field-section-button a::after,
.paragraph--type--image-block .field--name-field-section-button a::after,
.paragraph--type--photo-offset-callout .field--name-field-section-button a::after {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="20" viewBox="0 0 19 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.6874 9.88712L7.82768 3.02736L9.61719 1.23785L18.2665 9.88712L9.61719 18.5364L7.82768 16.7469L14.6874 9.88712Z" fill="%2399EBFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7747 11.3783H1.26562V8.84753H16.7747V11.3783Z" fill="%2399EBFF"/></svg>');
  background-size: contain;
  display: inline-block;
  width: 15px;
  height: 15px;
  content: '';
}
.paragraph--type--boxes-with-colored-background .field--name-field-section-button a:hover,
.paragraph--type--image-block .field--name-field-section-button a:hover,
.paragraph--type--photo-offset-callout .field--name-field-section-button a:hover {
  background-color: var(--mit-light-blue);
  color: var(--mit-dark-blue) !important;
}
.paragraph--type--boxes-with-colored-background .field--name-field-section-button a:hover::after,
.paragraph--type--image-block .field--name-field-section-button a:hover::after,
.paragraph--type--photo-offset-callout .field--name-field-section-button a:hover::after {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="20" viewBox="0 0 19 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.6874 9.88712L7.82768 3.02736L9.61719 1.23785L18.2665 9.88712L9.61719 18.5364L7.82768 16.7469L14.6874 9.88712Z" fill="%23002896"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.7747 11.3783H1.26562V8.84753H16.7747V11.3783Z" fill="%23002896"/></svg>');
}


@media (min-width: 992px) {
  .details-callout__items {
    flex-direction: row;
  }
  .mit-cards {
    flex-direction: row;
  }
  .sample-scenario-callout {
    flex-direction: row;
  }
  .text-callout .text-callout-columns {
    flex-direction: row;
  }
}