/* ================================================== */
/* FILE 2 OF 3: wp-additional-css.css                 */
/* Paste into: Appearance > Additional CSS            */
/* ================================================== */

/* Google Fonts — Libre Baskerville, DM Sans, DM Mono  */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap');

/* ── FULL WIDTH OVERRIDE ─────────────────────────────── */
/* Forces WordPress content area to full width          */
.page .entry-content,
.page .post-content,
.page .wp-block-post-content,
.page .site-main,
.page article,
.page .content-area {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── BASE ────────────────────────────────────────────── */
/* All rules scoped to #dct-why to prevent theme bleed  */

#dct-why {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.75;
  color: #4A4540;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  width: 100%;
}

#dct-why *,
#dct-why *::before,
#dct-why *::after {
  box-sizing: border-box;
}

/* ── HEADER ─────────────────────────────────────────── */
#dct-why .dct-header {
  background: #1C1A17;
  color: #F7F3ED;
  padding: 3.5rem max(1.5rem, 10%) 3rem;
  margin-bottom: 0;
}

#dct-why .dct-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 1.44rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C97D2E;
  margin: 0 0 1.1rem 0;
  padding: 0;
}

#dct-why .dct-header h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #FDFAF6;
  margin: 0 0 1.4rem 0;
  padding: 0;
  border: none;
  background: none;
}

#dct-why .dct-header h1 em {
  font-style: italic;
  color: #C97D2E;
}

#dct-why .dct-header-meta {
  font-family: 'DM Mono', monospace;
  font-size: 1.44rem;
  color: #8C867E;
  letter-spacing: 0.06em;
  border-top: 1px solid #333;
  padding-top: 1.2rem;
  margin-top: 1.8rem;
}

/* ── ANCHOR NAV ─────────────────────────────────────── */
#dct-why .dct-nav {
  background: #F7F3ED;
  border-top: 1px solid #E2D9CE;
  border-bottom: 1px solid #E2D9CE;
  padding: 0 max(1.5rem, 10%);
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

#dct-why .dct-nav::-webkit-scrollbar {
  display: none;
}

#dct-why .dct-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 1.36rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A4540;
  text-decoration: none;
  padding: 0.85rem 0.9rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  display: inline-block;
  transition: color 0.15s, border-color 0.15s;
  box-shadow: none;
}

#dct-why .dct-nav a:hover {
  color: #C97D2E;
  border-bottom-color: #C97D2E;
  text-decoration: none;
  box-shadow: none;
}

/* ── MAIN ────────────────────────────────────────────── */
#dct-why .dct-main {
  padding: 0 max(1.5rem, 10%);
}

/* ── SECTIONS ────────────────────────────────────────── */
#dct-why .dct-section {
  padding: 4rem 0;
  border-bottom: 1px solid #E2D9CE;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

#dct-why .dct-section.dct-visible {
  opacity: 1;
  transform: translateY(0);
}

#dct-why .dct-section:last-of-type {
  border-bottom: none;
}

#dct-why .dct-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 1.36rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C97D2E;
  margin: 0 0 1rem 0;
  padding: 0;
}

#dct-why .dct-section h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1C1A17;
  margin: 0 0 1.4rem 0;
  padding: 0;
  border: none;
  background: none;
}

#dct-why .dct-section h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.3rem;
  font-weight: 400;
  font-style: italic;
  color: #4A4540;
  margin: 2.2rem 0 0.9rem 0;
  padding: 0;
  border: none;
  background: none;
}

#dct-why .dct-section p {
  color: #4A4540;
  margin: 0 0 1.1rem 0;
  padding: 0;
  max-width: 100%;
}

#dct-why .dct-section p:last-child {
  margin-bottom: 0;
}

#dct-why .dct-section strong {
  color: #1C1A17;
  font-weight: 500;
}

/* ── CALLOUT ─────────────────────────────────────────── */
#dct-why .dct-callout {
  background: #FBF5EA;
  border-left: 3px solid #C97D2E;
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0;
  border-radius: 0 6px 6px 0;
}

#dct-why .dct-callout p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 2.4rem);
  line-height: 1.5;
  color: #1C1A17;
  margin: 0;
  max-width: none;
}

#dct-why .dct-callout p em {
  color: #C97D2E;
  font-style: italic;
}

/* ── FEATURE LIST ────────────────────────────────────── */
#dct-why .dct-feature-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#dct-why .dct-feature-list li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.7rem;
  align-items: first baseline;
  color: #4A4540;
  margin: 0;
  padding: 0;
}

#dct-why .dct-feature-list li::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='30' cy='22' rx='10' ry='13' fill='%23C97D2E'/%3E%3Cellipse cx='70' cy='22' rx='10' ry='13' fill='%23C97D2E'/%3E%3Cellipse cx='14' cy='48' rx='8' ry='11' fill='%23C97D2E'/%3E%3Cellipse cx='86' cy='48' rx='8' ry='11' fill='%23C97D2E'/%3E%3Cpath d='M50 42 C28 42 18 58 20 72 C22 84 35 90 50 90 C65 90 78 84 80 72 C82 58 72 42 50 42 Z' fill='%23C97D2E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

#dct-why .dct-feature-list li strong {
  display: block;
  margin-bottom: 0.15rem;
}

/* ── TECH LIST ───────────────────────────────────────── */
#dct-why .dct-tech-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

#dct-why .dct-tech-list li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.6rem;
  align-items: first baseline;
  font-size: 1.8rem;
  color: #4A4540;
  margin: 0;
  padding: 0;
}

#dct-why .dct-tech-list li::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='30' cy='22' rx='10' ry='13' fill='%233D6B4F'/%3E%3Cellipse cx='70' cy='22' rx='10' ry='13' fill='%233D6B4F'/%3E%3Cellipse cx='14' cy='48' rx='8' ry='11' fill='%233D6B4F'/%3E%3Cellipse cx='86' cy='48' rx='8' ry='11' fill='%233D6B4F'/%3E%3Cpath d='M50 42 C28 42 18 58 20 72 C22 84 35 90 50 90 C65 90 78 84 80 72 C82 58 72 42 50 42 Z' fill='%233D6B4F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* ── NOT LIST ────────────────────────────────────────── */
#dct-why .dct-not-list {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#dct-why .dct-not-list li {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0.6rem;
  align-items: first baseline;
  font-size: 1.84rem;
  color: #4A4540;
  margin: 0;
  padding: 0;
}

#dct-why .dct-not-list li::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cellipse cx='30' cy='22' rx='10' ry='13' fill='%238C867E'/%3E%3Cellipse cx='70' cy='22' rx='10' ry='13' fill='%238C867E'/%3E%3Cellipse cx='14' cy='48' rx='8' ry='11' fill='%238C867E'/%3E%3Cellipse cx='86' cy='48' rx='8' ry='11' fill='%238C867E'/%3E%3Cpath d='M50 42 C28 42 18 58 20 72 C22 84 35 90 50 90 C65 90 78 84 80 72 C82 58 72 42 50 42 Z' fill='%238C867E'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 0.35rem;
  flex-shrink: 0;
}

/* ── PATTERN STRIP ───────────────────────────────────── */
#dct-why .dct-pattern-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.6rem 0;
  flex-wrap: wrap;
}

#dct-why .dct-pattern-step {
  background: #1C1A17;
  color: #F7F3ED;
  font-family: 'DM Mono', monospace;
  font-size: 1.44rem;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
}

#dct-why .dct-pattern-arrow {
  color: #C97D2E;
  font-size: 2rem;
}

/* ── INPUT GRID ──────────────────────────────────────── */
#dct-why .dct-input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: #E2D9CE;
  border: 1px solid #E2D9CE;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.8rem 0;
}

#dct-why .dct-input-card {
  background: #FDFAF6;
  padding: 1.3rem 1.4rem;
  transition: background 0.15s;
}

#dct-why .dct-input-card:hover {
  background: #FBF5EA;
}

#dct-why .dct-input-card .ic-label {
  font-family: 'DM Mono', monospace;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C97D2E;
  margin-bottom: 0.4rem;
}

#dct-why .dct-input-card .ic-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: #1C1A17;
  margin-bottom: 0.35rem;
}

#dct-why .dct-input-card .ic-examples {
  font-size: 1.56rem;
  color: #8C867E;
  line-height: 1.5;
}

/* ── TABLE ───────────────────────────────────────────── */
#dct-why .dct-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.4rem;
  font-size: 1.76rem;
}

#dct-why .dct-table thead tr {
  border-bottom: 2px solid #1C1A17;
}

#dct-why .dct-table th {
  font-family: 'DM Mono', monospace;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C867E;
  text-align: left;
  padding: 0.5rem 1rem 0.7rem 0;
  background: transparent;
}

#dct-why .dct-table td {
  padding: 0.85rem 1rem 0.85rem 0;
  color: #4A4540;
  border-bottom: 1px solid #E2D9CE;
  vertical-align: top;
  background: transparent;
}

#dct-why .dct-table td:first-child {
  font-weight: 500;
  color: #1C1A17;
  padding-right: 2rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
#dct-why .dct-footer {
  background: #1C1A17;
  color: #8C867E;
  padding: 2.5rem max(1.5rem, 10%);
  margin-top: 0;
  font-family: 'DM Mono', monospace;
  font-size: 1.36rem;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

#dct-why .dct-footer a {
  color: #C97D2E;
  text-decoration: none;
}

#dct-why .dct-footer a:hover {
  text-decoration: underline;
}

/* ── INLINE LINK ─────────────────────────────────────── */
#dct-why a.dct-link {
  color: #C97D2E;
  text-decoration: none;
  border-bottom: 1px solid #C97D2E;
}

#dct-why a.dct-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 560px) {
  #dct-why .dct-input-grid {
    grid-template-columns: 1fr 1fr;
  }
  #dct-why .dct-pattern-strip {
    gap: 0.3rem;
  }
  #dct-why .dct-pattern-step {
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
  }
  #dct-why .dct-table td:first-child {
    padding-right: 1rem;
  }
}