/* Standard Content section style */
.ntl-content-section {
  color: var(--ntl-color-text);
  background: var(--ntl-color-surface);
  padding: 0;
}
.ntl-content-section__inner {
  max-width: 83.3333333333%;
  padding: var(--ntl-spacing-md);
  margin: 0 auto;
}
@media (max-width: 992px) {
  .ntl-content-section__inner {
    max-width: 100%;
  }
}
.ntl-content-section__figure {
  background: var(--ntl-color-background-white);
  margin-bottom: var(--ntl-spacing-xl);
}
.ntl-content-section__figure img {
  display: block;
  height: auto;
  width: 100%;
}
.ntl-content-section__figure figcaption {
  color: #38535a;
  line-height: 1.3;
  padding: 18px 22px 22px;
}
.ntl-content-section__preface {
  color: var(--ntl-color-text);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: var(--ntl-spacing-lg);
}
.ntl-content-section__body {
  line-height: var(--ntl-line-height-body);
}
.ntl-content-section__body h2,
.ntl-content-section__body h3 {
  color: #7d4c5a;
  font-weight: 700;
  line-height: 1.12;
  margin: var(--ntl-spacing-lg) 0 var(--ntl-spacing-md);
}
.ntl-content-section__body ul,
.ntl-content-section__body ol {
  padding-left: 30px;
}
.ntl-content-section__body a {
  color: var(--ntl-color-text-heading);
  font-weight: 700;
  text-decoration: underline;
  color: var(--ntl-color-primary);
}
.ntl-content-section__body a:hover, .ntl-content-section__body a:focus {
  color: var(--ntl-color-primary);
}
.ntl-content-section__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}
.ntl-content-section__primary {
  align-items: center;
  background: var(--ntl-color-primary);
  border: 3px solid var(--ntl-color-primary);
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(181, 72, 72, 0.35);
  color: var(--ntl-color-background-white);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.1;
  min-height: 58px;
  padding: 14px 24px;
}
.ntl-content-section__primary:hover, .ntl-content-section__primary:focus {
  background: var(--ntl-color-primary-hover);
  border-color: var(--ntl-color-primary-hover);
  color: var(--ntl-color-background-white);
  text-decoration: none;
}
@media (max-width: 767.98px) {
  .ntl-content-section__primary {
    text-align: center;
    width: 100%;
  }
}
.ntl-content-section__related {
  color: var(--ntl-color-text);
  font-weight: 700;
  margin: 34px 0 0;
}
.ntl-content-section__related a {
  color: var(--ntl-color-text-heading);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.ntl-content-section__related a:hover, .ntl-content-section__related a:focus {
  color: var(--ntl-color-primary);
}

/* Block style variant with text wrapping around the image */
.ntl-block-section {
  background: #f3ebe8;
  color: var(--ntl-color-text);
  padding: 16px 0;
}
.ntl-block-section__container {
  background: var(--ntl-color-background-white);
  border-radius: var(--ntl-radius-md);
  max-width: 100%;
  width: calc(100% - 320px);
  margin: 0 auto;
  padding: 20px;
}
@media (max-width: 1500px) {
  .ntl-block-section__container {
    width: calc(100% - 120px);
  }
}
@media (max-width: 900px) {
  .ntl-block-section__container {
    width: calc(100% - 28px);
    padding: 20px;
  }
}
.ntl-block-section {
  /* Clearfix container so floats don't break layout bounds */
}
.ntl-block-section__body-wrapper::after {
  content: "";
  display: table;
  clear: both;
}
.ntl-block-section__title {
  font-weight: 700;
  color: var(--ntl-color-primary-alt);
  margin-top: 0;
  margin-bottom: 24px;
}
.ntl-block-section {
  /* Figure floats to the right so text wraps around it */
}
.ntl-block-section .ntl-content-section__figure {
  float: right;
  width: 45%;
  max-width: 500px;
  margin: 0 0 24px 40px;
}
@media (max-width: 1024px) {
  .ntl-block-section .ntl-content-section__figure {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px 0;
  }
}
.ntl-block-section .ntl-content-section__figure img {
  width: 100%;
  height: auto;
  display: block;
}
.ntl-block-section .ntl-content-section__figure figcaption {
  color: #38535a;
  font-size: 0.9rem;
  line-height: 1.3;
  padding-top: 12px;
}
.ntl-block-section__collapsible-wrapper {
  position: relative;
  clear: both;
}
.ntl-block-section__expandable-content {
  max-height: 380px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease-in-out;
  /* Gradient fade-out overlay at the bottom when collapsed */
}
.ntl-block-section__expandable-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--ntl-color-background-white));
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}
.ntl-block-section__collapsible-wrapper.is-expanded .ntl-block-section__expandable-content {
  max-height: 3500px;
}
.ntl-block-section__collapsible-wrapper.is-expanded .ntl-block-section__expandable-content::after {
  opacity: 0;
}
.ntl-block-section__toggle-btn {
  background: none;
  border: none;
  color: var(--ntl-color-primary);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  position: relative;
  z-index: 3;
}
.ntl-block-section__toggle-btn:hover, .ntl-block-section__toggle-btn:focus {
  color: var(--ntl-color-primary-hover);
}
.ntl-block-section .block-body {
  font-size: 1rem;
  color: var(--ntl-color-text);
  line-height: 1.5;
}
.ntl-block-section .block-body h3,
.ntl-block-section .block-body h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.ntl-block-section .block-body p {
  margin-bottom: 24px;
}
.ntl-block-section .block-body p:last-child {
  margin-bottom: 0;
}
.ntl-block-section .block-body a {
  color: var(--ntl-color-primary);
  text-decoration: underline;
}

/* Timeline variant: one part owns an unlimited ordered collection of cards. */
.ntl-timeline-section {
  --timeline-card-gutter: 160px;
  background: #f3ebe8;
  color: var(--ntl-color-text);
  padding: 0;
}
.ntl-timeline-section__inner {
  width: 100%;
}
.ntl-timeline-section__intro {
  margin: 0 auto 32px;
  width: calc(100% - var(--timeline-card-gutter) * 2);
}
.ntl-timeline-section__intro h2 {
  color: var(--ntl-color-text-heading);
  margin: 0 0 16px;
}
.ntl-timeline-section__intro p {
  color: var(--ntl-color-text);
  font-weight: 700;
  margin: 0;
  max-width: 1000px;
}
.ntl-timeline-section__items {
  width: 100%;
}
.ntl-timeline-section__item {
  padding: 52px 0 16px;
  position: relative;
  /* Each entry joins its marker to the next one, regardless of card height. */
}
.ntl-timeline-section__item:not(:last-child)::before {
  background: var(--ntl-color-primary-alt);
  bottom: -40px;
  content: "";
  left: calc(var(--timeline-card-gutter) - 40px);
  position: absolute;
  top: 40px;
  width: 2px;
}
.ntl-timeline-section__marker {
  background: var(--ntl-color-primary-alt);
  border: 10px solid var(--ntl-color-background-white);
  border-radius: var(--ntl-radius-round);
  box-shadow: 0 0 0 2px var(--ntl-color-primary-alt);
  height: 30px;
  left: calc(var(--timeline-card-gutter) - 55px);
  position: absolute;
  top: 17px;
  width: 30px;
  z-index: 2;
}
.ntl-timeline-section__marker::after {
  content: "";
  background-color: red;
  border-radius: var(--ntl-radius-round);
}
.ntl-timeline-section .ntl-block-section__container {
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - var(--timeline-card-gutter) * 2);
}
.ntl-timeline-section .ntl-block-section__body-wrapper {
  position: relative;
}
.ntl-timeline-section .ntl-block-section__title {
  color: var(--ntl-color-text);
  margin-bottom: 16px;
}
.ntl-timeline-section__label {
  font-size: var(--ntl-font-size-small);
  display: block;
  text-transform: uppercase;
  left: -20px;
  line-height: 1.2;
  margin: 0;
  position: absolute;
  top: -50px;
  white-space: nowrap;
}
.ntl-timeline-section__badge {
  background: var(--ntl-color-primary-alt);
  border-radius: 999px;
  color: var(--ntl-color-background-white);
  display: inline-flex;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 16px;
  padding: 8px 20px;
}

@media (max-width: 1500px) {
  .ntl-timeline-section {
    --timeline-card-gutter: 60px;
  }
  .ntl-timeline-section__intro,
  .ntl-timeline-section .ntl-block-section__container {
    width: calc(100% - var(--timeline-card-gutter) * 2);
  }
}
@media (max-width: 900px) {
  .ntl-timeline-section {
    padding: 30px 0;
  }
  .ntl-timeline-section__intro {
    margin-bottom: 12px;
    width: calc(100% - 28px);
  }
  .ntl-timeline-section__item {
    padding: 18px 0;
  }
  .ntl-timeline-section__item::before, .ntl-timeline-section__item:not(:last-child)::before {
    display: none;
  }
  .ntl-timeline-section__marker {
    display: none;
  }
  .ntl-timeline-section .ntl-block-section__container {
    margin: 0 auto;
    width: calc(100% - 28px);
  }
  .ntl-timeline-section__label {
    font-size: var(--ntl-font-size-small);
    left: auto;
    margin: 0 0 20px;
    position: static;
    top: auto;
    white-space: normal;
  }
  .ntl-timeline-section__badge {
    font-size: 0.875rem;
    padding: 8px 18px;
  }
}
