.delphi-single-page {
  --delphi-primary: #d41189;
  --delphi-navy: #03075f;
  --delphi-violet: #655dc6;
  --delphi-bg: #ffffff;
  --delphi-surface: #f6f7ff;
  --delphi-surface-strong: #eeefff;
  --delphi-text: #03075f;
  --delphi-muted: #4f548f;
  --delphi-line: #d9dcff;
  --delphi-radius: 24px;
  --delphi-radius-sm: 16px;
  --delphi-shadow: 0 14px 36px rgba(3, 7, 95, 0.08);

  background: var(--delphi-bg);
  color: var(--delphi-text);
}

.delphi-single-page * {
  box-sizing: border-box;
}

.delphi-single-page .delphi-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.delphi-single-page .delphi-shell--wide {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
}

.delphi-unified-text {
  color: var(--delphi-navy) !important;
  font-family: inherit !important;
}

.delphi-single-hero {
  padding: 56px 0 28px;
  background:
    radial-gradient(circle at top right, rgba(212, 17, 137, 0.1), transparent 28%),
    linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
}

.delphi-single-hero__inner {
  max-width: 920px;
}

.delphi-single-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--delphi-primary);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.delphi-single-hero__back:hover {
  opacity: 0.86;
  transform: translateX(-4px);
}

.delphi-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.delphi-single-hero__category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delphi-single-hero__category a,
.delphi-single-hero__category span {
  color: var(--delphi-primary);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.delphi-single-hero__date {
  color: var(--delphi-muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.delphi-single-hero__title {
  margin: 18px 0 0;
  max-width: 16ch;
  font-size: clamp(2.3rem, 4.5vw, 4.4rem) !important; 
  line-height: 0.96 !important;
  letter-spacing: -0.03em !important;
  text-wrap: balance;
}

.delphi-single-cover {
  padding: 8px 0 34px;
}

.delphi-single-cover__media {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--delphi-surface);
  box-shadow: var(--delphi-shadow);
}

.delphi-single-cover__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  object-position: center;
}

.delphi-single-content {
  padding: 8px 0 54px;
}

.delphi-single-content__wrap {
  position: relative;
}

.delphi-single-content__body {
  color: var(--delphi-text);
  font-size: 1.1rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.delphi-single-content__body > *:first-child {
  margin-top: 0;
}

.delphi-single-content__body > *:last-child {
  margin-bottom: 0;
}

.delphi-single-content__body p {
  margin: 0 0 1.35em;
  color: var(--delphi-text);
}

.delphi-single-content__body strong {
  font-weight: 700;
}

.delphi-single-content__body em {
  font-style: italic;
}

.delphi-single-content__body a {
  color: var(--delphi-primary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

.delphi-single-content__body a:hover {
  opacity: 0.86;
}

.delphi-single-content__body h2,
.delphi-single-content__body h3,
.delphi-single-content__body h4,
.delphi-single-content__body h5,
.delphi-single-content__body h6 {
  margin: 1.8em 0 0.65em;
  color: var(--delphi-navy);
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}

.delphi-single-content__body h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
}

.delphi-single-content__body h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.delphi-single-content__body h4 {
  font-size: 1.2rem;
}

.delphi-single-content__body ul,
.delphi-single-content__body ol {
  margin: 0 0 1.4em;
  padding-left: 1.35em;
}

.delphi-single-content__body li {
  margin-bottom: 0.5em;
}

.delphi-single-content__body blockquote {
  margin: 2em 0;
  padding: 22px 24px;
  border-left: 4px solid var(--delphi-primary);
  border-radius: 0 var(--delphi-radius-sm) var(--delphi-radius-sm) 0;
  background: var(--delphi-surface);
  color: var(--delphi-navy);
  box-shadow: 0 10px 24px rgba(3, 7, 95, 0.05);
  font-style: italic;
}

.delphi-single-content__body blockquote p:last-child {
  margin-bottom: 0;
}

.delphi-single-content__body hr {
  margin: 2.4em 0;
  border: 0;
  border-top: 1px solid var(--delphi-line);
}

.delphi-single-content__body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.delphi-single-content__body figure {
  margin: 2em 0;
}

.delphi-single-content__body figure img {
  width: 100%;
}

.delphi-single-content__body figcaption,
.delphi-single-content__body .wp-caption-text {
  margin-top: 10px;
  color: var(--delphi-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

.delphi-single-content__body .wp-block-image,
.delphi-single-content__body .wp-block-gallery,
.delphi-single-content__body .wp-block-cover,
.delphi-single-content__body .wp-block-media-text,
.delphi-single-content__body .wp-block-embed,
.delphi-single-content__body .wp-block-video {
  margin-top: 2em;
  margin-bottom: 2em;
}

.delphi-single-content__body iframe,
.delphi-single-content__body video {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 18px;
}

.delphi-single-tags {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--delphi-line);
}

.delphi-single-tags__label {
  display: block;
  margin-bottom: 14px;
  color: var(--delphi-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.delphi-single-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delphi-single-tags__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--delphi-line);
  border-radius: 999px;
  background: #fff;
  color: var(--delphi-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.delphi-single-tags__tag:hover {
  background: var(--delphi-primary);
  border-color: var(--delphi-primary);
  color: #fff;
}

.delphi-single-nav {
  padding: 0 0 70px;
}

.delphi-single-nav__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.delphi-single-nav__item {
  min-height: 138px;
  padding: 24px;
  border: 1px solid var(--delphi-line);
  border-radius: 24px;
  background: var(--delphi-surface);
  box-shadow: 0 10px 24px rgba(3, 7, 95, 0.04);
}

.delphi-single-nav__item--next {
  text-align: right;
}

.delphi-single-nav__eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--delphi-primary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.delphi-single-nav__item a {
  color: var(--delphi-navy);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.delphi-single-nav__item a:hover {
  color: var(--delphi-primary);
}

@media (max-width: 1180px) {
  .delphi-single-hero { padding: 46px 0 24px; }
  .delphi-single-cover { padding-bottom: 28px; }
  .delphi-single-cover__media { border-radius: 28px; }
  .delphi-single-content { padding-bottom: 48px; }
  .delphi-single-nav { padding-bottom: 58px; }
}

@media (max-width: 767px) {
  .delphi-single-page .delphi-shell,
  .delphi-single-page .delphi-shell--wide { width: min(100% - 22px, 1200px); }
  .delphi-single-hero { padding: 34px 0 20px; }
  .delphi-single-hero__meta { gap: 10px 14px; margin-top: 18px; }
  .delphi-single-hero__category a,
  .delphi-single-hero__category span,
  .delphi-single-hero__category,
  .delphi-single-hero__date { font-size: 0.84rem; }
  .delphi-single-hero__title { margin-top: 14px; max-width: 100%; font-size: clamp(2rem, 10vw, 3rem) !important; }
  .delphi-single-cover { padding-top: 4px; padding-bottom: 24px; }
  .delphi-single-cover__media { border-radius: 22px; }
  .delphi-single-content { padding-bottom: 40px; }
  .delphi-single-content__body { font-size: 1rem; line-height: 1.72; }
  .delphi-single-content__body h2 { font-size: 1.55rem; }
  .delphi-single-content__body h3 { font-size: 1.3rem; }
  .delphi-single-nav__grid { grid-template-columns: 1fr; gap: 14px; }
  .delphi-single-nav__item, .delphi-single-nav__item--next { text-align: left; }
  .delphi-single-nav__item { min-height: auto; padding: 18px; border-radius: 18px; }
}

@media (max-width: 480px) {
  .delphi-single-hero { padding-top: 28px; }
  .delphi-single-hero__title { font-size: clamp(1.8rem, 10vw, 2.45rem) !important; }
  .delphi-single-cover__media { border-radius: 18px; }
  .delphi-single-content__body { font-size: 0.95rem; }
}