.templatesingle .article-wrapper > article { min-width: 0; }

.jd-presentation-table {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  margin: 30px 0 34px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #d8e3e1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(1, 51, 58, 0.07);
  -webkit-overflow-scrolling: touch;
}

.jd-presentation-table .jd-table-cue {
  margin: 0 !important;
  padding: 10px 14px;
  border-bottom: 1px solid #d8e3e1;
  background: #f0f7f6;
  color: #23484c;
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.45 !important;
}

.jd-presentation-table .jd-table-cue-card { display: none; }

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table table {
  width: 100% !important;
  min-width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 15px;
  line-height: 1.5;
}

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-4 table { min-width: 680px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-5 table { min-width: 820px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-6 table { min-width: 980px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-7 table { min-width: 1120px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-8 table { min-width: 1280px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-9 table { min-width: 1440px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-columns-10 table { min-width: 1600px; }

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table :is(th, td) {
  padding: 13px 15px !important;
  border: 0 !important;
  border-right: 1px solid #d8e3e1 !important;
  border-bottom: 1px solid #d8e3e1 !important;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table :is(th, td):last-child { border-right: 0 !important; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody tr:last-child :is(th, td) { border-bottom: 0 !important; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table thead th {
  background: #073f47 !important;
  color: #fff !important;
  font-weight: 750;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody tr:nth-child(even) :is(th, td) { background: #f5f8f7; }

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) blockquote {
  margin: 30px 0 !important;
  padding: 22px 24px !important;
  border: 0 !important;
  border-left: 5px solid #0058ff !important;
  border-radius: 0 10px 10px 0;
  background: #f1f6ff;
  color: #17353a;
  box-shadow: 0 8px 24px rgba(0, 88, 255, 0.06);
}

:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) blockquote > :last-child { margin-bottom: 0 !important; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) :is(a, code) { overflow-wrap: anywhere; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) pre {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) li > :is(ul, ol) { margin-top: 10px; margin-bottom: 6px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) figure.jd-article-visual { margin: 36px 0; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) figure.jd-article-visual :is(img, picture) { display: block; width: 100%; height: auto; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) figure.jd-article-visual img { border-radius: 14px; }
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) figure.jd-article-visual figcaption {
  margin-top: 10px;
  color: #496267;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .jd-presentation-table {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .jd-presentation-table .jd-table-cue {
    border: 1px solid #d8e3e1;
    border-radius: 9px;
  }
  .jd-presentation-table .jd-table-cue-wide { display: none; }
  .jd-presentation-table .jd-table-cue-card { display: inline; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table table,
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody,
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tr {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody tr {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #d8e3e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(1, 51, 58, 0.05);
  }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody :is(th, td) {
    display: grid;
    grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid #e1e9e7 !important;
    background: #fff !important;
    overflow-wrap: anywhere;
  }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody :is(th, td)::before {
    content: attr(data-label);
    color: #496267;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.035em;
    text-transform: uppercase;
  }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody :is(th, td):empty::after { content: "—"; color: #708488; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody :is(th, td):last-child { border-bottom: 0 !important; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) blockquote { padding: 18px 18px !important; }

  .jd-presentation-table.jd-empty-table { overflow-x: auto; }
  .jd-presentation-table.jd-empty-table .jd-table-cue-wide { display: inline; }
  .jd-presentation-table.jd-empty-table .jd-table-cue-card { display: none; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-empty-table table { display: table; min-width: 1000px !important; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-empty-table thead { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-empty-table thead tr { display: table-row; }
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table.jd-empty-table thead th { display: table-cell; }
}

@media (max-width: 350px) {
  :is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-presentation-table tbody :is(th, td) { grid-template-columns: 1fr; gap: 5px; }
}

/* Source-enrichment video embeds: scoped to the marked editorial article set. */
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video {
  width: 100%;
  max-width: 900px;
  margin: clamp(26px, 4vw, 42px) auto;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d8e3e1;
  border-radius: 12px;
  background: #0e252d;
  box-shadow: 0 10px 28px rgba(1, 51, 58, 0.12);
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video figcaption {
  margin-top: 10px;
  color: #52686e;
  font-size: 14px;
  line-height: 1.55;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video--portrait {
  max-width: 430px;
}
:is(.templatesingle article, .editor-styles-wrapper, .mce-content-body) .jd-source-video--portrait .jd-source-video__frame {
  aspect-ratio: 9 / 16;
}
