.article_body > *:last-child {
  margin-bottom: 0;
}

.article_body {
  margin-bottom: 56px;
}

.article_body > :is(h2),
.article_body > div:not(.article-columns-block):not(.article-feature-grid) > :is(h2) {
  font-weight: 700;
}

.article_body > :is(h2, h3, h4, h5, h6),
.article_body > div:not(.article-columns-block):not(.article-feature-grid) > :is(h2, h3, h4, h5, h6) {
  margin: 0 0 24px;
  font-size: 24px;
  text-wrap: balance;
  line-height: 1.2em;
  color: #031420;
}

.article_body > :is(h3, h4, h5, h6),
.article_body > div:not(.article-columns-block):not(.article-feature-grid) > :is(h3, h4, h5, h6) {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2em;
}

.article_body > :is(h2) {
  margin: 44px 0 20px;
}

.article_body > :is(h3, h4, h5, h6) {
  margin: 32px 0 16px;
}

.article_body ul.article-dash-list {
  margin: 0 0 16px;
  padding-left: 0 !important;
  list-style: none;
}

.article_body ul.article-dash-list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.24em;
  color: #23272a;
}

.article_body ul.article-dash-list li:last-child {
  margin: 0;
}

.article_body ul.article-dash-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #717477;
  font-size: 16px;
  line-height: 1.24em;
}

.article_body > p a,
.article_body > table a {
  text-decoration-line: underline;
  color: #1c82ff;
  font-weight: 500;
}

.article_body > p {
  margin: 0 0 32px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  color: #23272a;
}

.article_body > p:has(+ .article-columns-block),
.article_body > p:has(+ p) {
  margin: 0 0 24px;
}

.article_body > p:has(+ ul),
.article_body > p:has(+ ol) {
  margin: 0 0 16px;
}

.article-video video {
  width: 100%;
  cursor: pointer;
  display: block;
}

.article_body .article-video-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 16px;
  background-image: var(--article-video-preview);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-decoration: none;
  cursor: pointer;
}

.article_body .article-video-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.article_body .article-video-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 9999px;
  background: url('/templates/assets/images/svg/article-play.svg') center / 112px 112px no-repeat;
  backdrop-filter: blur(9.82px);
  -webkit-backdrop-filter: blur(9.82px);
  transform: translate(-50%, -50%) scale(1);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.article_body .article-video-link:hover::before {
  background: rgba(0, 0, 0, 0.26);
}

.article_body .article-video-link:hover::after {
  transform: translate(-50%, -50%) scale(1.05);
}

.article_body .article-video-link:active::after {
  transform: translate(-50%, -50%) scale(0.96);
}

.article_body > div > img {
  margin-bottom: 32px;
  border-radius: 16px;
}

.article_body .article-video {
  position: relative;
  width: 100%;
  height: 384px;
  margin-top: 32px;
  margin-bottom: 56px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.article_body .article-video::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
  pointer-events: none;
}

.article_body .article-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.article-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 112px;
  height: 112px;
  padding: 0;
  border: 0;
  background: url('/templates/assets/images/svg/article-play.svg') center / cover no-repeat;
  transform: translate(-50%, -50%) scale(1);
  cursor: pointer;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
  transition:
    opacity 0.2s ease,
    transform 0.25s ease,
    filter 0.25s ease;
}

.article_body .article-video:has(.article-video__play):hover::before {
  background: rgba(0, 0, 0, 0.26);
}

.article_body .article-video:has(.article-video__play):hover .article-video__play {
  transform: translate(-50%, -50%) scale(1.05);
}

.article_body .article-video:has(.article-video__play):active .article-video__play {
  transform: translate(-50%, -50%) scale(0.96);
}

.article-video.is-playing::before,
.article-video.is-playing .article-video__play {
  opacity: 0;
  pointer-events: none;
}

/* === columns block === */

.article_body .article-columns-block {
  margin-bottom: 32px;
}

.article_body .article-columns-block__title {
  margin: 0 0 16px;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  color: #23272a;
}

.article_body .article-columns-block__list {
  margin: 0;
  padding-left: 22px;
  color: #bdbdbd;
}

.article_body .article-columns-block__item {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #23272a;
}

.article_body .article-columns-block__item:last-child {
  margin-bottom: 0;
}

.article_body .article-columns-block__item::marker {
  font-size: 16px;
  color: #bdbdbd;
}

/* === feature grid block === */

.article_body .article-feature-grid {
  margin: 0 0 32px;
}

.article_body .article-feature-grid__title,
.article_body .article-feature-grid__heading {
  margin: 0;
}

.article_body .article-feature-grid__title {
  margin-bottom: 16px;
  font-style: italic;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: #23272a;
}

.article_body .article-feature-grid__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.article_body .article-feature-grid__item {
  min-width: 0;
}

.article_body .article-feature-grid__head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.article_body .article-feature-grid__icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-image: url('/templates/assets/images/svg/article-feature-plus.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.article_body .article-feature-grid__heading {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #23272a;
}

.article_body .article-feature-grid__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #23272a;
}

.article_body .article-feature-grid__item--star .article-feature-grid__icon {
  background-image: url('/templates/assets/images/svg/article-feature-star.svg');
}

.article_body .article-feature-grid__item--heart .article-feature-grid__icon {
  background-image: url('/templates/assets/images/svg/article-feature-heart.svg');
}

.article_body .article-feature-grid__item--shield .article-feature-grid__icon {
  background-image: url('/templates/assets/images/svg/article-feature-shield.svg');
}

/* === quote === */

.article_body > blockquote {
  position: relative;
  margin: 0 0 32px;
  padding: 40px 32px;
  border-radius: 16px;
  background: #edeeee;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4em;
  color: #23272a;
}

.article_body > blockquote::before {
  position: absolute;
  top: 24px;
  left: 16px;
  content: '”';
  color: #dddede;
  font-size: 48px;
}

/* === table === */

.article_body > table {
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
  border: solid #dddede 1px !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 16px;
  text-align: center;
}

.article_body > table.table-left {
  text-align: left;
}

.article_body > table th,
.article_body > table td {
  padding: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #1b1b1b;
}

.article_body > table td {
  padding: 16px 24px !important;
  border: solid #dddede 1px !important;
}

.article_body > table td,
.article_body > table th {
  border-top: solid #30363b 1px;
  border-left: solid #30363b 1px;
}

.article_body > table th {
  height: 68px !important;
  border-top: none;
  border-color: #30363b !important;
  background-color: #23272a;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
}

.article_body > table td:first-child,
.article_body > table th:first-child {
  border-left: none;
}

.article_body > table thead tr:first-child th:first-child,
.article_body > table tr:first-child th:first-child {
  border-top-left-radius: 16px;
}

.article_body > table thead tr:first-child th:last-child,
.article_body > table tr:first-child th:last-child {
  border-top-right-radius: 16px;
}

.article_body > table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.article_body > table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

/* === regular lists only === */

.article_body ul:not(.article-columns-block__list) {
  margin: 0 0 32px;
  padding-left: 20px;
}

.article_body ul:not(.article-columns-block__list) li {
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  color: #23272a;
}

.article_body ul:not(.article-columns-block__list) li:last-child {
  margin: 0;
}

.article_body ul:not(.article-columns-block__list) li::marker {
  font-size: 16px;
  color: #1c82ff;
}

.article_body ul[numbers]:not(.article-columns-block__list) li {
  list-style: auto;
}

/* === media / images === */

.article_body > img {
  margin-bottom: 30px;
  border-radius: 12px;
}

.article_body > div[photos] {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.article_body > div[photos] > div {
  position: relative;
  padding: 50%;
}

.article_body > div[photos] > div img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.article_body > div[photos='1'] {
  grid-template-columns: repeat(1, 1fr);
}

.article_body > div[photos='2'] {
  grid-template-columns: repeat(2, 1fr);
}

.article_body > div[photos='3'],
.article_body > div[photos='4'],
.article_body > div[photos='5'] {
  grid-template-columns: repeat(2, 1fr);
}

.article_body > div[text] p:last-child {
  margin: 0;
}

.article_body > div[text-img] {
  display: flex;
  flex-direction: column-reverse;
  gap: 30px;
  margin-bottom: 24px;
}

.article_body > div[text-img] img {
  order: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .article_body {
    margin-bottom: 64px;
  }

  .article_body > :is(h2, h3, h4, h5, h6) {
    max-width: 440px;
  }

  .article_body > div > img {
    border-radius: 24px;
  }

  .article_body > p:has(+ ul),
  .article_body > p:has(+ ol) {
    margin: 0 0 24px;
  }

  .article_body ul.article-dash-list {
    margin: 0 0 32px;
  }

  .article_body .article-video {
    margin-bottom: 64px;
    border-radius: 24px;
  }

  .article_body .article-video-link {
    border-radius: 24px;
  }

  .article_body .article-columns-block__title {
    margin-bottom: 20px;
  }

  .article_body .article-feature-grid__list {
    gap: 20px;
  }

  .article_body > blockquote {
    padding: 48px;
    border-radius: 24px;
    font-size: 24px;
    line-height: 1.24em;
  }

  .article_body > blockquote::before {
    top: 32px;
    left: 32px;
    font-size: 64px;
  }

  .article_body > table {
    max-width: 100% !important;
    overflow-x: auto;
    border-radius: 24px;
  }

  .article_body > table th,
  .article_body > table td {
    padding: 12px;
    font-size: 14px;
  }

  .article_body > table td {
    padding: 24px !important;
  }

  .article_body > table thead tr:first-child th:first-child,
  .article_body > table tr:first-child th:first-child {
    border-top-left-radius: 24px;
  }

  .article_body > table thead tr:first-child th:last-child,
  .article_body > table tr:first-child th:last-child {
    border-top-right-radius: 24px;
  }

  .article_body > table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 24px;
  }

  .article_body > table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 24px;
  }

  .article_body ul:not(.article-columns-block__list) {
    margin: 0 0 32px;
  }

  .article_body > img {
    margin-bottom: 32px;
  }

  .article_body > div[photos] {
    margin-bottom: 32px;
  }

  .article_body > div[photos='3'] {
    grid-template-columns: repeat(3, 1fr);
  }

  .article_body > div[photos='4'] {
    grid-template-columns: repeat(4, 1fr);
  }

  .article_body > div[photos='5'] {
    grid-template-columns: repeat(5, 1fr);
  }

  .article_body > div[text-img] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 32px;
  }

  .article_body > div[text-img] img {
    order: initial;
    overflow: hidden;
    border-radius: 24px;
  }
}

@media (min-width: 1024px) {
  .article_body {
    margin-bottom: 72px;
  }

  .article_body > :is(h2),
  .article_body > div:not(.article-columns-block):not(.article-feature-grid) > :is(h2) {
    font-size: 32px;
    line-height: 1.24em;
  }

  .article_body > :is(h3, h4, h5, h6),
  .article_body > div:not(.article-columns-block):not(.article-feature-grid) > :is(h3, h4, h5, h6) {
    font-size: 24px;
    line-height: 1.24em;
  }

  .article_body > :is(h2, h3, h4, h5, h6) {
    max-width: 540px;
  }

  .article_body > p {
    font-size: 18px;
    line-height: 1.4em;
  }

  .article_body ul.article-dash-list li,
  .article_body ul.article-dash-list li::before {
    font-size: 18px;
    line-height: 1.4em;
  }

  .article_body ul:not(.article-columns-block__list) li {
    font-size: 18px;
    line-height: 1.4em;
    max-width: 600px;
    margin: 0 0 16px;
  }

  .article_body .article-columns-block__title {
    margin-bottom: 24px;
  }

  .article_body .article-columns-block__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-left: 0;
    list-style: none;
  }

  .article_body .article-columns-block__item {
    margin-bottom: 0;
    font-size: 18px;
  }

  .article_body .article-columns-block__item::marker {
    content: '';
    font-size: 0;
  }

  .article_body .article-feature-grid__title {
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 40px;
  }

  .article_body .article-feature-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .article_body .article-feature-grid__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }
}

@media (min-width: 1536px) {
  .article_body .article-video {
    margin-top: 40px;
  }

  .article_body > blockquote {
    padding: 48px 56px;
  }

  .article_body > img {
    margin-bottom: 80px;
  }

  .article_body > div[photos] {
    margin-bottom: 80px;
  }

  .article_body > div[text-img] {
    margin-bottom: 80px;
  }

  .article_body .article-columns-block__list {
    gap: 40px;
  }

  .article_body .article-feature-grid__list {
    gap: 40px;
  }
}