:root {
  --di-ink: #1f2629;
  --di-muted: #596469;
  --di-line: #d9e0e3;
  --di-soft: #f5f7f8;
  --di-accent: #135f72;
  --di-accent-hover: #0d4d5d;
  --di-warm: #fff8eb;
  --di-focus: #7a2f00;
}

.di-content-canary .site-main,
.di-content-canary .content-area {
  width: 100%;
  max-width: 100%;
}

.di-content-canary .entry-header {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2.25rem) 0;
}

.di-content-canary .entry-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.di-content-canary .widget-area,
.di-content-canary .post-navigation,
.di-content-canary .comments-area,
.di-content-canary .related-posts {
  display: none !important;
}

.di-guide,
.di-trust {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vw, 2.75rem) clamp(1rem, 3vw, 2.25rem) 4rem;
  box-sizing: border-box;
  color: var(--di-ink);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.di-guide h2,
.di-guide h3,
.di-trust h2,
.di-trust h3 {
  color: var(--di-ink);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

.di-guide h2,
.di-trust h2 {
  margin: 3.4rem 0 1.05rem;
  font-size: clamp(1.42rem, 3vw, 1.95rem);
}

.di-guide h3,
.di-trust h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.15rem, 2.3vw, 1.42rem);
}

.di-guide p,
.di-trust p {
  margin: 0 0 1.15rem;
}

.di-guide ul,
.di-guide ol,
.di-trust ul,
.di-trust ol {
  margin: 1rem 0 1.4rem;
  padding-left: 1.4rem;
}

.di-guide li + li,
.di-trust li + li {
  margin-top: 0.65rem;
}

.di-guide a,
.di-trust a,
.di-home-trust a {
  color: var(--di-accent);
  text-underline-offset: 0.18em;
}

.di-kicker {
  margin-bottom: 2rem !important;
  color: #293b41;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  line-height: 1.75;
}

.di-answer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.4rem 0 2.3rem;
}

.di-answer-card,
.di-note,
.di-action,
.di-sources {
  padding: clamp(1.05rem, 3vw, 1.5rem);
  border: 1px solid var(--di-line);
  border-radius: 7px;
  background: var(--di-soft);
}

.di-note {
  margin: 1.5rem 0 2.2rem;
  border-left: 4px solid #b76a14;
  background: var(--di-warm);
}

.di-action {
  margin: 2.7rem 0;
  background: var(--di-warm);
  border-color: #ead9b9;
}

.di-action h2,
.di-sources h2 {
  margin-top: 0;
}

.di-editorial-byline {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 2.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--di-line);
  border-left: 4px solid var(--di-accent);
  border-radius: 6px;
  background: #f7fafb;
  color: var(--di-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.di-editorial-byline strong {
  color: var(--di-text);
}

.di-editorial-byline nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.di-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.95rem 1.2rem;
  border: 2px solid var(--di-accent);
  border-radius: 6px;
  box-sizing: border-box;
  background: var(--di-accent);
  color: #fff !important;
  font-weight: 850;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  animation: di-cta-pulse 5s ease-in-out infinite;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.di-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -50%;
  bottom: -50%;
  left: -20%;
  width: 8%;
  background: #fff;
  opacity: 0;
  transform: skewX(-16deg);
  pointer-events: none;
  animation: di-cta-runner 5s ease-in-out infinite;
}

.di-cta:hover {
  background: var(--di-accent-hover);
  border-color: var(--di-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(13, 77, 93, 0.22);
}

.di-cta:focus-visible {
  outline: 3px solid var(--di-focus);
  outline-offset: 4px;
}

.di-guide > ins.adsbygoogle {
  width: 100%;
  margin: 2.7rem auto;
  text-align: center;
  overflow: visible;
}

.di-ad.is-unfilled {
  display: none;
}

.di-table-scroll {
  width: 100%;
  margin: 1.6rem 0 2.4rem;
  overflow-x: auto;
  border: 1px solid var(--di-line);
  border-radius: 7px;
  -webkit-overflow-scrolling: touch;
}

.di-guide table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.di-guide th,
.di-guide td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--di-line);
  text-align: left;
  vertical-align: top;
}

.di-guide thead th {
  background: #eaf1f3;
  font-weight: 800;
}

.di-official-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0.7rem 0.95rem;
  border: 1px solid #b9cbd0;
  border-radius: 6px;
  background: #f8fafb;
  font-weight: 760;
  text-decoration: none !important;
}

.di-home-trust {
  display: flex;
  max-width: 1000px;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 2rem auto;
  padding: 1.25rem;
  border-top: 1px solid var(--di-line);
}

@keyframes di-cta-runner {
  0%, 18% { left: -20%; opacity: 0; }
  23% { opacity: 0.24; }
  48% { left: 112%; opacity: 0.11; }
  55%, 100% { left: 112%; opacity: 0; }
}

@keyframes di-cta-pulse {
  0%, 15%, 52%, 100% { box-shadow: 0 0 0 0 rgba(19, 95, 114, 0); }
  24% { box-shadow: 0 0 0 6px rgba(19, 95, 114, 0.13); }
  34% { box-shadow: 0 0 0 2px rgba(19, 95, 114, 0.08); }
}

@media (max-width: 720px) {
  .di-content-canary .entry-header {
    padding: 1.2rem 0.95rem 0;
  }

  .di-content-canary .entry-title {
    font-size: clamp(1.68rem, 8.4vw, 2.12rem);
    line-height: 1.25;
  }

  .di-guide,
  .di-trust {
    padding: 1rem 0.95rem 3.5rem;
    line-height: 1.78;
  }

  .di-guide h2,
  .di-trust h2 {
    margin-top: 3rem;
  }

  .di-answer-grid {
    grid-template-columns: 1fr;
  }

  .di-answer-card,
  .di-note,
  .di-action,
  .di-sources {
    padding: 1.05rem;
  }

  .di-official-link {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }

  .di-table-scroll {
    overflow: visible;
    border: 0;
  }

  .di-guide table,
  .di-guide tbody,
  .di-guide tr,
  .di-guide th,
  .di-guide td {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .di-guide thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .di-guide tbody tr {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--di-line);
    border-radius: 7px;
    background: #fff;
  }

  .di-guide tbody th {
    padding: 0.85rem 0.9rem;
    background: #eaf1f3;
    border-bottom: 1px solid var(--di-line);
  }

  .di-guide tbody td {
    padding: 0.85rem 0.9rem;
  }

  .di-guide tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.3rem;
    color: var(--di-muted);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .di-guide tbody td:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .di-cta,
  .di-cta::after {
    animation: none;
  }
}
