/* ═══════════════════════════════════════════════════════════
   DTC Flagship Series — trietphan.com
   Theme: ryancv dark (#32b4ff accent · #FF6CAF pink · #FFDD40 yellow)
   Components: wrapper, badge, lead, thesis, scenario, objection,
               capability-list, figure, gates, timeline, values,
               layers, pullquote, key-insight, stat-grid, series-nav
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────── */
.dtc-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.78;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ── Series badge ────────────────────────────────────────── */
.dtc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #32b4ff;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
  animation: dtc-badge-in .5s ease both;
}
@keyframes dtc-badge-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dtc-season-label {
  opacity: .75;
  border-right: 1px solid rgba(255,255,255,.4);
  padding-right: 8px;
  margin-right: 2px;
}

/* ── Subtitle / lead ─────────────────────────────────────── */
.dtc-lead {
  font-size: 17px;
  color: #5A6275;
  margin: 0 0 32px;
  line-height: 1.66;
  animation: dtc-fade-up .5s .1s ease both;
}
.body-style-dark .dtc-lead { color: rgba(255,255,255,.52); }

@keyframes dtc-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── KEY THESIS callout ──────────────────────────────────── */
.dtc-thesis {
  border-left: 3px solid #FF6CAF;
  background: rgba(255,108,175,.06);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 16px;
  margin: 28px 0;
  position: relative;
  transition: box-shadow .2s;
}
.dtc-thesis:hover { box-shadow: 0 4px 24px rgba(255,108,175,.12); }
.body-style-dark .dtc-thesis { background: rgba(255,108,175,.1); }
.dtc-thesis-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FF6CAF;
  margin-bottom: 8px;
}
.dtc-thesis p {
  font-size: 15.5px;
  font-weight: 500;
  margin: 0;
  font-style: italic;
  line-height: 1.65;
}

/* ── SCENARIO box ────────────────────────────────────────── */
.dtc-scenario {
  background: rgba(50,180,255,.05);
  border: 1px solid rgba(50,180,255,.22);
  border-radius: 8px;
  padding: 16px 22px;
  margin: 32px 0;
  transition: border-color .2s, background .2s;
}
.dtc-scenario:hover {
  background: rgba(50,180,255,.09);
  border-color: rgba(50,180,255,.4);
}
.body-style-dark .dtc-scenario {
  background: rgba(50,180,255,.09);
  border-color: rgba(50,180,255,.28);
}
.dtc-scenario-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #32b4ff;
  margin-bottom: 8px;
}

/* ── OBJECTION box ───────────────────────────────────────── */
.dtc-objection {
  background: rgba(255,221,64,.06);
  border-left: 3px solid #FFDD40;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px 16px;
  margin: 32px 0;
  transition: box-shadow .2s;
}
.dtc-objection:hover { box-shadow: 0 4px 24px rgba(255,221,64,.1); }
.body-style-dark .dtc-objection { background: rgba(255,221,64,.09); }
.dtc-objection-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #C89C00;
  margin-bottom: 8px;
}
.body-style-dark .dtc-objection-label { color: #FFDD40; }

/* ── Capability list ─────────────────────────────────────── */
.dtc-capability-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.dtc-capability-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  border-bottom: 1px solid rgba(50,180,255,.1);
  font-size: 14.5px;
  transition: background .15s, padding-left .15s;
}
.dtc-capability-list li:last-child { border-bottom: none; }
.dtc-capability-list li:hover { background: rgba(50,180,255,.04); padding-left: 34px; border-radius: 4px; }
.dtc-capability-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #32b4ff;
  transition: transform .15s;
}
.dtc-capability-list li:hover::before { transform: scale(1.4); }

/* ── Section headings ────────────────────────────────────── */
.dtc-wrapper h2 {
  font-size: 19px;
  font-weight: 700;
  color: #0B1120;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E8EBF3;
}
.body-style-dark .dtc-wrapper h2 {
  color: rgba(255,255,255,.9);
  border-bottom-color: rgba(255,255,255,.1);
}
.dtc-wrapper h3 {
  font-size: 16px;
  font-weight: 700;
  color: #32b4ff;
  margin: 28px 0 8px;
}

/* ── Pull quote ──────────────────────────────────────────── */
.dtc-pullquote {
  margin: 40px 0;
  padding: 24px 28px 20px 32px;
  border-left: 4px solid #32b4ff;
  position: relative;
}
.dtc-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 16px;
  font-size: 72px;
  line-height: 1;
  color: #32b4ff;
  opacity: .22;
  font-family: Georgia, serif;
}
.dtc-pullquote p {
  font-size: 19px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.56;
  margin: 0 0 10px;
  color: #0B1120;
}
.body-style-dark .dtc-pullquote p { color: rgba(255,255,255,.88); }
.dtc-pullquote cite {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #32b4ff;
  font-style: normal;
}

/* ── Key insight callout ─────────────────────────────────── */
.dtc-key-insight {
  background: linear-gradient(135deg, rgba(50,180,255,.07) 0%, rgba(50,180,255,.03) 100%);
  border: 1px solid rgba(50,180,255,.25);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.dtc-key-insight::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, #32b4ff, transparent);
  opacity: .4;
}
.body-style-dark .dtc-key-insight {
  background: linear-gradient(135deg, rgba(50,180,255,.1) 0%, rgba(50,180,255,.04) 100%);
  border-color: rgba(50,180,255,.3);
}
.dtc-key-insight-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #32b4ff;
  margin-bottom: 10px;
}
.dtc-key-insight-label::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: #32b4ff;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
.dtc-key-insight p { margin: 0; font-size: 14.5px; line-height: 1.66; }

/* ── Stat grid ───────────────────────────────────────────── */
.dtc-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.dtc-stat {
  text-align: center;
  padding: 18px 14px 14px;
  border-radius: 8px;
  background: rgba(50,180,255,.05);
  border: 1px solid rgba(50,180,255,.15);
  transition: transform .2s, box-shadow .2s;
}
.dtc-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(50,180,255,.12); }
.body-style-dark .dtc-stat { background: rgba(50,180,255,.09); border-color: rgba(50,180,255,.22); }
.dtc-stat-number {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #32b4ff;
  line-height: 1;
  margin-bottom: 6px;
}
.dtc-stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5A6275;
}
.body-style-dark .dtc-stat-label { color: rgba(255,255,255,.45); }

/* ── Figure / diagram ────────────────────────────────────── */
.dtc-figure { margin: 40px 0; text-align: center; }
.dtc-figure-wrap {
  background: #fff;
  border: 1px solid #E5E8EF;
  border-radius: 12px;
  padding: 28px 24px 20px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.body-style-dark .dtc-figure-wrap {
  background: #1E2030;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.dtc-figure figcaption {
  font-size: 12px;
  color: #9AA0B2;
  margin-top: 14px;
  font-style: italic;
  text-align: center;
}

/* ── Gate / milestone items (Article 8) ─────────────────── */
.dtc-gates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.dtc-gate {
  background: #F4F7FF;
  border: 1px solid #DCE2F5;
  border-top: 3px solid #32b4ff;
  border-radius: 8px;
  padding: 14px 16px;
  transition: transform .2s, box-shadow .2s;
}
.dtc-gate:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(50,180,255,.1); }
.body-style-dark .dtc-gate {
  background: rgba(50,180,255,.07);
  border-color: rgba(50,180,255,.22);
}
.dtc-gate-num { font-size: 10px; font-weight: 700; color: #32b4ff; letter-spacing: .1em; text-transform: uppercase; }
.dtc-gate-title { font-size: 13px; font-weight: 600; margin: 4px 0 3px; }
.dtc-gate-desc { font-size: 12px; color: #6A7385; line-height: 1.5; }
.body-style-dark .dtc-gate-desc { color: rgba(255,255,255,.48); }

/* ── Phase timeline (Article 8) ─────────────────────────── */
.dtc-timeline { margin: 24px 0; }
.dtc-phase {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EEF0F7;
  transition: padding-left .2s;
}
.dtc-phase:hover { padding-left: 6px; }
.body-style-dark .dtc-phase { border-bottom-color: rgba(255,255,255,.08); }
.dtc-phase:last-child { border-bottom: none; }
.dtc-phase-days {
  flex-shrink: 0;
  width: 76px;
  font-size: 11px;
  font-weight: 700;
  color: #32b4ff;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding-top: 2px;
}
.dtc-phase-output {
  margin-top: 8px;
  font-size: 12px;
  color: #7A8299;
  font-weight: 500;
  line-height: 1.55;
}
.body-style-dark .dtc-phase-output { color: rgba(255,255,255,.42); }
.dtc-phase-output strong { color: #32b4ff; font-weight: 700; }

/* ── Value categories (Article 3) ───────────────────────── */
.dtc-values {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}
.dtc-value-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 16px;
  border-radius: 7px;
  background: #F8FAFF;
  border-left: 3px solid #ddd;
  transition: background .2s, transform .2s;
}
.dtc-value-row:hover { background: #EEF4FF; transform: translateX(3px); }
.body-style-dark .dtc-value-row { background: rgba(255,255,255,.04); }
.body-style-dark .dtc-value-row:hover { background: rgba(255,255,255,.07); }
.dtc-value-row:nth-child(1) { border-left-color: #B0BEC5; }
.dtc-value-row:nth-child(2) { border-left-color: #90CAF9; }
.dtc-value-row:nth-child(3) { border-left-color: #32b4ff; }
.dtc-value-row:nth-child(4) { border-left-color: #FF6CAF; }
.dtc-value-row:nth-child(5) { border-left-color: #FFDD40; }
.dtc-value-name { font-weight: 700; font-size: 13px; min-width: 120px; }
.dtc-value-desc { font-size: 13px; color: #5A6275; line-height: 1.5; }
.body-style-dark .dtc-value-desc { color: rgba(255,255,255,.58); }

/* ── Identity layers (Article 4) ────────────────────────── */
.dtc-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 16px 0;
}
.dtc-layer-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  transition: transform .2s, filter .2s;
}
.dtc-layer-item:hover { transform: translateX(4px); filter: brightness(1.08); }
.dtc-layer-item:nth-child(1) { background: rgba(255,221,64,.12); }
.dtc-layer-item:nth-child(2) { background: rgba(255,108,175,.1); }
.dtc-layer-item:nth-child(3) { background: rgba(50,180,255,.11); }
.dtc-layer-item:nth-child(4) { background: rgba(50,180,255,.07); }
.dtc-layer-item:nth-child(5) { background: rgba(0,200,150,.09); }
.dtc-layer-num { font-weight: 800; font-size: 20px; opacity: .28; width: 26px; flex-shrink: 0; }
.dtc-layer-name { font-weight: 700; min-width: 110px; }
.dtc-layer-desc { font-size: 12.5px; color: #5A6275; line-height: 1.5; }
.body-style-dark .dtc-layer-desc { color: rgba(255,255,255,.52); }

/* ── Series nav ──────────────────────────────────────────── */
.dtc-series-nav {
  display: flex;
  justify-content: space-between;
  margin: 52px 0 28px;
  padding-top: 28px;
  border-top: 1px solid #E5E8EF;
  gap: 14px;
}
.body-style-dark .dtc-series-nav { border-top-color: rgba(255,255,255,.1); }
.dtc-nav-item {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid #E5E8EF;
  border-radius: 10px;
  text-decoration: none !important;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
  min-width: 0;
}
.body-style-dark .dtc-nav-item { border-color: rgba(255,255,255,.1); }
.dtc-nav-item:hover {
  border-color: #32b4ff;
  background: rgba(50,180,255,.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(50,180,255,.1);
}
.dtc-nav-dir {
  font-size: 11px;
  color: #9AA0B2;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.dtc-nav-item:hover .dtc-nav-dir { color: #32b4ff; }
.dtc-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: #0B1120;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.body-style-dark .dtc-nav-title { color: rgba(255,255,255,.85); }
.dtc-nav-item.next { text-align: right; }
.dtc-nav-item.dtc-nav-empty { opacity: .35; pointer-events: none; }

/* ── Blog listing: Read more link ────────────────────────── */
.tp-read-more {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #32b4ff !important;
  text-decoration: none !important;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .15s, letter-spacing .15s;
}
.tp-read-more:hover {
  text-decoration: underline !important;
  letter-spacing: .07em;
}

/* ── Scroll-reveal animations ────────────────────────────── */
.dtc-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.dtc-animate.dtc-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .dtc-series-nav  { flex-direction: column; }
  .dtc-gates       { grid-template-columns: 1fr 1fr; }
  .dtc-stat-grid   { grid-template-columns: 1fr 1fr; }
  .dtc-figure-wrap svg { max-height: 260px; }
  .dtc-pullquote p { font-size: 17px; }
  .dtc-value-row   { flex-direction: column; gap: 4px; }
  .dtc-value-name  { min-width: unset; }
}

/* ── Table of Contents ───────────────────────────────────── */
.dtc-toc {
  border: 1px solid rgba(50,180,255,.16);
  border-left: 3px solid rgba(50,180,255,.6);
  border-radius: 7px;
  margin: 22px 0 28px;
  overflow: hidden;
  background: rgba(50,180,255,.025);
}
.dtc-toc-hd {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 16px; cursor: pointer; user-select: none; gap: 10px;
}
.dtc-toc-hd:hover { background: rgba(50,180,255,.035); }
.dtc-toc-hd:focus-visible { box-shadow: inset 0 0 0 2px rgba(50,180,255,.35); outline: none; }
.dtc-toc-meta { display: flex; align-items: center; gap: 12px; }
.dtc-toc-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #32b4ff;
}
.dtc-toc-rt { font-size: 11px; color: rgba(255,255,255,.28); }
.dtc-toc-chev {
  color: rgba(255,255,255,.3); font-size: 11px;
  transition: transform .2s; flex-shrink: 0; line-height: 1;
}
.dtc-toc-chev.dtc-toc-open { transform: rotate(180deg); }
.dtc-toc-bd { padding: 0 16px 14px; }
.dtc-toc-bd.dtc-toc-closed { display: none; }
.dtc-toc-list {
  list-style: none; display: flex; flex-direction: column; gap: 1px;
  margin: 0; padding: 0;
}
.dtc-toc-a {
  display: flex; align-items: baseline; gap: 9px;
  padding: 5px 7px; border-radius: 5px;
  text-decoration: none !important; color: rgba(255,255,255,.55);
  font-size: 13px; line-height: 1.4;
  transition: background .14s, color .14s;
}
.dtc-toc-a:hover { background: rgba(50,180,255,.07); color: rgba(255,255,255,.88); }
.dtc-toc-a.dtc-toc-on { color: #32b4ff !important; background: rgba(50,180,255,.08); }
.dtc-toc-n {
  font-size: 9.5px; font-weight: 700; color: rgba(50,180,255,.5);
  font-variant-numeric: tabular-nums; min-width: 14px; flex-shrink: 0;
}
.dtc-toc-it.dtc-toc-sub .dtc-toc-a {
  padding-left: 24px; font-size: 12px; color: rgba(255,255,255,.38);
}
.dtc-toc-it.dtc-toc-sub .dtc-toc-n { opacity: 0; }
.dtc-toc-prog { margin: 10px 0 2px; }
.dtc-toc-bar {
  height: 2px; background: rgba(50,180,255,.1);
  border-radius: 1px; overflow: hidden;
}
.dtc-toc-fill {
  height: 100%; background: #32b4ff;
  border-radius: 1px; transition: width .3s ease; width: 0;
}
/* suppress wpautop br inside TOC */
.dtc-toc br { display: none; }

/* ── Related Articles ────────────────────────────────────── */
.dtc-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(50,180,255,.12);
}
.dtc-related-lbl {
  font-size: 9.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(50,180,255,.55);
  margin-bottom: 14px; display: block;
}
.dtc-related-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.dtc-related-card {
  display: block; padding: 14px 36px 14px 15px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 7px;
  text-decoration: none !important; color: inherit;
  position: relative;
  transition: background .16s, border-color .16s, transform .16s, box-shadow .16s;
}
.dtc-related-card:hover {
  background: rgba(50,180,255,.05);
  border-color: rgba(50,180,255,.22);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(50,180,255,.08);
}
.dtc-related-arrow {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  color: rgba(50,180,255,.3); font-size: 13px;
  transition: transform .16s, color .16s;
}
.dtc-related-card:hover .dtc-related-arrow {
  transform: translateY(-50%) translateX(3px);
  color: rgba(50,180,255,.7);
}
.dtc-related-num {
  font-size: 9px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(50,180,255,.5);
  display: block; margin-bottom: 5px;
}
.dtc-related-title {
  font-size: 12.5px; font-weight: 600;
  color: rgba(255,255,255,.75); line-height: 1.38; margin-bottom: 4px;
}
.dtc-related-desc {
  font-size: 11.5px; color: rgba(255,255,255,.34); line-height: 1.4;
}
@media (max-width: 600px) {
  .dtc-related-grid { grid-template-columns: 1fr; }
}
