/* DOMINI Studio — single blog post. Self-contained fallback geometry mirrors legal-page.css. */

.dse-blog-post-root,
.dse-blog-post-root * {
  box-sizing: border-box;
}

.dse-blog-post-root {
  --dse-legal-bg: var(--dse-color-f5f7fb-light);
  --dse-legal-paper: var(--dse-color-ffffff-surface);
  --dse-legal-text: var(--dse-color-111827-ink);
  --dse-legal-copy: var(--dse-color-4f596a-body);
  --dse-legal-muted: var(--dse-color-7f899f-muted);
  --dse-legal-border: var(--dse-color-dde3ee-border);
  --dse-legal-violet: var(--dse-color-705cff-violet);
  --dse-legal-blue: var(--dse-color-32a7ff-blue);
  --dse-legal-navy: var(--dse-color-0c1226-dark2);
  color: var(--dse-legal-text);
  font-family: var(--dse-font);
}

.dse-blog-post-root a {
  color: inherit;
  text-decoration: none;
}

/* A single post owns its article hero. Hide a legacy/static Page Hero left in the Elementor Single Post template. */

body.single-post .elementor-widget-domini-service-hero {
  display: none !important;
}

body.single-post .elementor-widget-domini-blog-post .dse-blog-post-hero {
  display: block !important;
}

/* Article hero: title only. Leave intentional breathing room below the fixed transparent site header. */

.dse-blog-post-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border: 0;
  color: var(--dse-color-f7f8ff-paper);
  background: radial-gradient(circle at 15% 18%,rgba(133,66,255,.12),transparent 30%),
    radial-gradient(circle at 82% 22%,rgba(54,148,255,.10),transparent 28%),
    radial-gradient(circle at 72% 78%,rgba(154,57,255,.08),transparent 32%),
    linear-gradient(135deg,var(--dse-color-070b17-dark) 0%,var(--dse-color-0c1226-dark2) 48%,var(--dse-color-0f1730-dark3) 100%);
}

.dse-blog-post-hero .dse-service-hero-noise,
.dse-blog-post-hero .dse-service-hero-glow {
  position: absolute;
  pointer-events: none;
}

.dse-blog-post-hero .dse-service-hero-noise {
  inset: 0;
  z-index: 1;
  opacity: .035;
  background-image: var(--dse-noise);
  mix-blend-mode: soft-light;
}

.dse-blog-post-hero .dse-service-hero-glow {
  inset: auto;
  border-radius: 999px;
  filter: blur(85px);
  z-index: 2;
  opacity: .55;
}

.dse-blog-post-hero .dse-service-hero-glow-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 12%;
  background: rgba(131,73,255,.14);
}

.dse-blog-post-hero .dse-service-hero-glow-2 {
  width: 340px;
  height: 340px;
  right: -90px;
  bottom: 4%;
  background: rgba(57,136,255,.11);
}

.dse-blog-post-hero .dse-service-hero-shell {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 0;
  padding-top: 144px;
  padding-bottom: 82px;
}

.dse-blog-post-hero .dse-service-hero-copy {
  width: 100%;
  max-width: 1080px;
  position: relative;
  z-index: 4;
}

.dse-blog-post-hero .dse-service-hero-title {
  max-width: 1080px;
  margin: 0;
  color: var(--dse-color-ffffff-paper);
  font-size: var(--dse-type-hero-fluid-40-3p4vw-54);
  line-height: var(--dse-leading-heading-1p08);
  letter-spacing: var(--dse-tracking-negp038em);
  font-weight: var(--dse-weight-heading-800);
  text-wrap: balance;
  font-family: var(--dse-font-heading);
}

/* Page background and exact legal-page geometry. */

.dse-blog-post-page {
  margin: 0;
  border: 0;
  padding: calc(80px * var(--dse-factor-space)) 0 calc(128px * var(--dse-factor-space));
  background: radial-gradient(circle at 82% 5%,rgba(var(--dse-rgb-705cff-violet),.045),transparent 26%),
    linear-gradient(180deg,var(--dse-color-f8f9fc-light) 0%,var(--dse-legal-bg) 100%);
}

.dse-blog-post-shell {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  grid-template-areas: "aside main";
  justify-content: stretch;
  align-items: start;
  gap: 64px;
}

.dse-blog-post-aside {
  grid-area: aside;
  position: sticky;
  top: 104px;
  min-width: 0;
}

.dse-blog-post-shell--no-aside {
  grid-template-columns: minmax(0,1fr);
  grid-template-areas: "main";
}

.dse-blog-post-toc {
  margin-top: 0;
  padding: 22px 20px;
  border: 1px solid var(--dse-legal-border);
  border-radius: var(--dse-radius-18);
  background: rgba(255,255,255,.72);
}

.dse-blog-post-toc .dse-legal-toc-title {
  margin-bottom: 11px;
  color: var(--dse-color-111827-ink);
  font-size: var(--dse-type-sub-12);
  line-height: var(--dse-leading-heading-1p4);
  font-weight: var(--dse-weight-heading-700);
  letter-spacing: var(--dse-tracking-p05em);
  text-transform: uppercase;
  font-family: var(--dse-font-heading);
}

.dse-blog-post-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.dse-blog-post-toc li {
  margin: 0;
  padding: 0;
}

.dse-blog-post-toc a {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 8px;
  align-items: start;
  padding: 7px 8px;
  border-radius: var(--dse-radius-9);
  color: var(--dse-color-657083-muted);
  font-size: var(--dse-type-small-12);
  line-height: var(--dse-leading-body-1p45);
  font-weight: 500;
  transition: background .18s ease,color .18s ease,transform .18s ease;
}

.dse-blog-post-toc a span {
  color: var(--dse-color-7769eb-violet);
  font-weight: 700;
}

.dse-blog-post-toc a:hover,.dse-blog-post-toc a:focus-visible {
  color: var(--dse-color-1f2937-ink);
  background: var(--dse-color-f0eeff);
  transform: translateX(2px);
}

.dse-blog-post-main {
  grid-area: main;
  min-width: 0;
  display: grid;
  gap: 34px;
}

.dse-blog-post-card {
  min-width: 0;
  padding: 42px 48px 58px;
  border: 1px solid var(--dse-legal-border);
  border-radius: var(--dse-radius-24);
  background: var(--dse-legal-paper);
  box-shadow: 0 22px 68px rgba(28,42,74,.07);
}

.dse-blog-post-featured {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  margin: 0 0 40px;
  aspect-ratio: 16/8.7;
  overflow: hidden;
  border-radius: var(--dse-radius-18);
  background: var(--dse-color-edf0f5-light2);
}

.dse-blog-post-featured-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Article copy mirrors Zaštita podataka while allowing richer Gutenberg content. */

.dse-blog-post-card .dse-blog-post-content {
  width: 100%;
  max-width: none;
  color: var(--dse-legal-copy);
  font-size: var(--dse-type-body-17);
  line-height: var(--dse-leading-body-1p78);
  font-weight: 400;
}

/* WordPress/Gutenberg themes can impose a global content width. Inside the DOMINI article card,
   the card itself is the reading container, so blocks may use its full inner width. */

.dse-blog-post-content > * {
  max-width: 100%;
}

.dse-blog-post-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100% !important;
}

.dse-blog-post-content>*:first-child {
  margin-top: 0 !important;
}

.dse-blog-post-content>*:last-child {
  margin-bottom: 0 !important;
}

.dse-blog-post-content p {
  margin: 0 0 18px;
}

.dse-blog-post-content strong {
  color: var(--dse-color-2f3849-body);
  font-weight: 700;
}

.dse-blog-post-content ul,.dse-blog-post-content ol {
  margin: 16px 0 22px;
  padding-left: 24px;
}

.dse-blog-post-content li {
  margin: 7px 0;
  padding-left: 3px;
}

.dse-blog-post-content li::marker {
  color: var(--dse-color-7466e8-violet);
}

.dse-blog-post-content a {
  color: var(--dse-color-5f51d7-link);
  text-decoration: underline;
  text-decoration-color: rgba(95,81,215,.28);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.dse-blog-post-content a:hover {
  color: var(--dse-color-3e8dc9);
  text-decoration-color: rgba(62,141,201,.5);
}

.dse-blog-post-content h2,
.dse-blog-post-content h3,
.dse-blog-post-content h4 {
  color: var(--dse-color-0f172a-ink);
  text-wrap: balance;
  scroll-margin-top: 112px;
  font-family: var(--dse-font-heading);
}

.dse-blog-post-content h2 {
  margin: 42px 0 20px;
  padding-top: 42px;
  border-top: 1px solid var(--dse-color-e5e9f0-border);
  font-size: var(--dse-type-sub-fluid-25-2vw-31);
  line-height: var(--dse-leading-heading-1p16);
  letter-spacing: var(--dse-tracking-negp025em);
  font-weight: var(--dse-weight-heading-800);
  font-family: var(--dse-font-heading);
}

/* Never draw a divider above the first H2, even when introductory paragraphs precede it. */

.dse-blog-post-content h2:first-of-type {
  margin-top: 30px;
  padding-top: 0;
  border-top: 0;
  font-family: var(--dse-font-heading);
}

.dse-blog-post-content>h2:first-child {
  margin-top: 0;
  font-family: var(--dse-font-heading);
}

.dse-blog-post-content h3 {
  margin: 30px 0 14px;
  font-size: var(--dse-type-sub-21);
  line-height: var(--dse-leading-heading-1p25);
  letter-spacing: var(--dse-tracking-negp018em);
  font-weight: var(--dse-weight-heading-750);
  font-family: var(--dse-font-heading);
}

.dse-blog-post-content h4 {
  margin: 26px 0 12px;
  font-size: var(--dse-type-sub-18);
  line-height: var(--dse-leading-heading-1p3);
  font-weight: var(--dse-weight-heading-700);
  font-family: var(--dse-font-heading);
}

.dse-blog-post-content blockquote,
.dse-blog-post-content .wp-block-quote {
  margin: 22px 0;
  padding: 16px 20px;
  border: 0;
  border-left: 3px solid var(--dse-legal-violet);
  background: var(--dse-color-f8f9fc-light);
  color: var(--dse-color-596274);
}

.dse-blog-post-content blockquote p {
  margin: 0 0 10px;
}

.dse-blog-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.dse-blog-post-content cite {
  display: block;
  margin-top: 10px;
  color: var(--dse-color-858e9d-muted);
  font-size: var(--dse-type-small-13);
  font-style: normal;
}

.dse-blog-post-content figure {
  max-width: 100%;
  margin: 28px 0;
}

.dse-blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--dse-radius-14);
}

.dse-blog-post-content .wp-block-image {
  margin: 30px 0;
}

.dse-blog-post-content figcaption {
  margin-top: 9px;
  color: var(--dse-color-8a93a3-muted);
  font-size: var(--dse-type-small-12);
  line-height: var(--dse-leading-body-1p55);
  text-align: center;
}

.dse-blog-post-content .alignwide,.dse-blog-post-content .alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Blog tables share the elegant DOMINI registry-table language used on Pravila o kolačićima.
   The wrapper owns horizontal scrolling; the table owns the visible border/radius. */
.dse-blog-post-content .wp-block-table {
  width: 100%;
  margin: 26px 0 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--dse-color-dde3ee-border) transparent;
}

.dse-blog-post-content table {
  width: 100% !important;
  margin: 26px 0 0 !important;
  border: 1px solid var(--dse-color-dde3ee-border) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: var(--dse-radius-14) !important;
  overflow: hidden;
  background: var(--dse-color-ffffff-paper) !important;
  box-shadow: 0 10px 30px rgba(15,23,42,.035);
  color: var(--dse-color-4f596a-body);
  font-family: inherit;
  font-size: var(--dse-type-small-14);
  line-height: var(--dse-leading-body-1p55);
}

.dse-blog-post-content .wp-block-table table {
  min-width: 620px;
  margin: 0 !important;
}

.dse-blog-post-content table thead,
.dse-blog-post-content table tbody,
.dse-blog-post-content table tr {
  background: transparent !important;
}

.dse-blog-post-content table th,
.dse-blog-post-content table td {
  padding: 14px 16px !important;
  border: 0 !important;
  border-right: 1px solid var(--dse-color-e5e9f0-border) !important;
  border-bottom: 1px solid var(--dse-color-e5e9f0-border) !important;
  background: var(--dse-color-ffffff-paper) !important;
  color: var(--dse-color-4f596a-body) !important;
  text-align: left;
  vertical-align: top;
  box-shadow: none !important;
  transition: background-color .16s ease,color .16s ease;
}

.dse-blog-post-content table th {
  background: #f3f5f9 !important;
  color: var(--dse-color-0f172a-ink) !important;
  font-weight: 700;
}

.dse-blog-post-content table tr > :last-child {
  border-right: 0 !important;
}

.dse-blog-post-content table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.dse-blog-post-content table tbody tr:hover td {
  background: #f8f9fc !important;
}

.dse-blog-post-content table a {
  color: var(--dse-color-5849cc-link, #5849cc);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.dse-blog-post-content table code {
  padding: 2px 6px;
  border: 1px solid var(--dse-color-e5e9f0-border);
  border-radius: 6px;
  background: #f7f8fb;
  color: var(--dse-color-343d4e-body);
  font-size: .94em;
}

.dse-blog-post-content table caption {
  padding: 0 0 10px;
  color: var(--dse-color-657083-muted);
  font-size: var(--dse-type-small-13);
  line-height: var(--dse-leading-body-1p5);
  text-align: left;
}

.dse-blog-post-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: transparent !important;
}

/* Put the visual break on the content that follows the table.
   This is more reliable than table margins because themes/Gutenberg can reset
   figure/table margins and table formatting contexts do not always collapse as expected. */
.dse-blog-post-content .wp-block-table + *,
.dse-blog-post-content > table + * {
  margin-top: 36px !important;
}

@media (max-width:767px) {
  .dse-blog-post-content .wp-block-table {
    margin: 24px 0 0;
  }

  .dse-blog-post-content > table {
    margin: 24px 0 0 !important;
  }

  .dse-blog-post-content .wp-block-table + *,
  .dse-blog-post-content > table + * {
    margin-top: 30px !important;
  }

  .dse-blog-post-content .wp-block-table table {
    min-width: 580px;
  }

  .dse-blog-post-content table th,
  .dse-blog-post-content table td {
    padding: 12px 14px !important;
  }
}

.dse-blog-post-content code:not(pre code) {
  padding: 2px 6px;
  border: 1px solid var(--dse-color-e1e5ed);
  border-radius: var(--dse-radius-6);
  background: var(--dse-color-f7f8fa);
  color: var(--dse-color-394155-body);
  font-size: .88em;
}

.dse-blog-post-content pre {
  max-width: 100%;
  margin: 26px 0;
  padding: 20px;
  overflow: auto;
  border-radius: var(--dse-radius-14);
  background: var(--dse-color-0d1425);
  color: var(--dse-color-e8ecf5-paper);
  font-size: var(--dse-type-body-14);
  line-height: var(--dse-leading-body-1p6);
}

.dse-blog-post-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.dse-blog-post-content hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--dse-color-e5e9f0-border);
}

.dse-blog-post-content .wp-block-separator {
  border-top: 1px solid var(--dse-color-e5e9f0-border) !important;
}

.dse-blog-post-content hr:first-child,.dse-blog-post-content .wp-block-separator:first-child {
  display: none;
}

.dse-blog-post-content .wp-block-buttons {
  margin: 26px 0;
}

.dse-blog-post-content .wp-block-button__link {
  min-height: 50px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dse-radius-13);
  background: linear-gradient(110deg,var(--dse-color-ad30ff-buttonstart),var(--dse-color-7955ff-buttonmiddle) 50%,var(--dse-color-3088ff-buttonend));
  color: var(--dse-color-ffffff-paper) !important;
  text-decoration: none !important;
  font-size: var(--dse-type-ui-14);
  font-weight: 700;
}

.dse-blog-post-content .wp-block-group {
  margin: 28px 0;
}

.dse-blog-related {
  padding: calc(34px * var(--dse-factor-space)) 34px;
  border: 1px solid var(--dse-legal-border);
  border-radius: var(--dse-radius-22);
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 44px rgba(28,42,74,.045);
}

.dse-blog-related>h2 {
  margin: 0 0 22px;
  color: var(--dse-color-111827-ink);
  font-size: var(--dse-type-sub-26);
  line-height: var(--dse-leading-heading-1p2);
  letter-spacing: var(--dse-tracking-negp03em);
  font-weight: var(--dse-weight-heading-800);
  font-family: var(--dse-font-heading);
}

.dse-blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.dse-blog-related-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dse-color-e0e5ed-border);
  border-radius: var(--dse-radius-16);
  background: var(--dse-color-ffffff-surface);
}

.dse-blog-related-media {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dse-color-e9edf5-light2) center/cover no-repeat;
  text-decoration: none !important;
}

.dse-blog-related-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform .35s ease;
}

.dse-blog-related-card:hover .dse-blog-related-media img {
  transform: scale(1.025);
}

.dse-blog-related-media--empty {
  background: linear-gradient(135deg,var(--dse-color-161f39),var(--dse-color-202d50));
}

.dse-blog-related-media--empty span {
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--dse-radius-18);
  background: linear-gradient(135deg,rgba(var(--dse-rgb-9c39ff-purple),.3),rgba(var(--dse-rgb-32a7ff-blue),.25));
  transform: rotate(8deg);
}

.dse-blog-related-card>div {
  padding: 16px 17px 18px;
}

.dse-blog-related-card>div>span {
  color: var(--dse-color-929aa8-muted);
  font-size: var(--dse-type-small-11);
  line-height: var(--dse-leading-body-1p4);
  font-weight: 600;
}

.dse-blog-related-card h3 {
  margin: 0;
  color: var(--dse-color-1a2232-ink);
  font-size: var(--dse-type-sub-16);
  line-height: var(--dse-leading-heading-1p35);
  letter-spacing: var(--dse-tracking-negp015em);
  font-weight: var(--dse-weight-heading-750);
  font-family: var(--dse-font-heading);
}

.dse-blog-related-card h3 a {
  text-decoration: none !important;
  font-family: var(--dse-font-heading);
}

.dse-blog-related-card h3 a:hover {
  color: var(--dse-color-5f51d7-link);
  font-family: var(--dse-font-heading);
}

.dse-blog-post-empty {
  padding: 44px;
  border: 1px solid var(--dse-legal-border);
  border-radius: var(--dse-radius-20);
  background: var(--dse-color-ffffff-surface);
  box-shadow: 0 18px 50px rgba(28,42,74,.06);
}

.dse-blog-post-empty strong,.dse-blog-post-empty span {
  display: block;
}

.dse-blog-post-empty strong {
  color: var(--dse-color-111827-ink);
  font-size: var(--dse-type-body-22);
}

.dse-blog-post-empty span {
  margin-top: 8px;
  color: var(--dse-color-788295-muted);
  font-size: var(--dse-type-body-14);
}

.dse-blog-post-aside a:focus-visible,
.dse-blog-post-content a:focus-visible,
.dse-blog-post-card a:focus-visible,
.dse-blog-related a:focus-visible {
  outline: 2px solid var(--dse-legal-violet);
  outline-offset: 3px;
}

@media (max-width:1199px) {
  .dse-blog-post-hero .dse-service-hero-shell {
    padding-top: 126px;
    padding-bottom: 74px;
  }
  .dse-blog-post-hero .dse-service-hero-title {
    font-size: var(--dse-type-hero-fluid-40-4p4vw-50);
    line-height: var(--dse-leading-heading-1p08);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-page {
    padding: calc(80px * var(--dse-factor-space)) 0 calc(112px * var(--dse-factor-space));
  }
  .dse-blog-post-shell {
    grid-template-columns: 220px minmax(0,1fr);
    gap: 48px;
  }
  .dse-blog-post-card {
    padding: 38px 40px 52px;
  }
  .dse-blog-related {
    padding: calc(28px * var(--dse-factor-space)) 28px;
  }
}

@media (max-width:900px) {
  .dse-blog-post-shell {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "aside";
    gap: 28px;
  }
  .dse-blog-post-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.5fr);
    gap: 16px;
  }
  .dse-blog-post-toc {
    margin-top: 0;
  }
  .dse-blog-post-toc ol {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .dse-blog-related-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px) {
  .dse-blog-post-hero .dse-service-hero-shell {
    padding-top: 112px;
    padding-bottom: 58px;
  }
  .dse-blog-post-hero .dse-service-hero-title {
    font-size: var(--dse-type-hero-fluid-32-9vw-38);
    line-height: var(--dse-leading-heading-1p09);
    letter-spacing: var(--dse-tracking-negp035em);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-page {
    padding: calc(64px * var(--dse-factor-space)) 0 calc(80px * var(--dse-factor-space));
  }
  .dse-blog-post-aside {
    grid-template-columns: 1fr;
  }
  .dse-blog-post-toc ol {
    grid-template-columns: 1fr;
  }
  .dse-blog-post-card {
    padding: 26px 22px 34px;
    border-radius: var(--dse-radius-18);
  }
  .dse-blog-post-featured {
    margin-bottom: 32px;
    aspect-ratio: 16/10;
    border-radius: var(--dse-radius-14);
  }
  .dse-blog-post-card .dse-blog-post-content {
    font-size: var(--dse-type-body-16);
    line-height: var(--dse-leading-body-1p76);
  }
  .dse-blog-post-content h2 {
    margin-top: 34px;
    padding-top: 34px;
    font-size: var(--dse-type-sub-24);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content h2:first-of-type {
    margin-top: 26px;
    padding-top: 0;
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content>h2:first-child {
    margin-top: 0;
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content h3 {
    margin-top: 28px;
    font-size: var(--dse-type-sub-20);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content table {
    font-size: var(--dse-type-small-13);
  }
  .dse-blog-related {
    padding: calc(22px * var(--dse-factor-space)) 22px;
    border-radius: var(--dse-radius-18);
  }
  .dse-blog-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Compatibility cleanup for cached 1.26.0/1.26.1 widget markup. */

.dse-blog-post-category,
.dse-blog-post-header-category,
.dse-blog-post-lead,
.dse-blog-post-cta {
  display: none !important;
}

/* 1.26.6 — mobile article rebuilt: article first, no pre-content cards, floating contents control. */

.dse-blog-post-mobile-nav {
  display: none;
}

.dse-blog-post-featured-image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
}

@media (max-width:767px) {
  .dse-blog-post-hero .dse-service-hero-shell {
    min-height: 0 !important;
    padding-top: 50px !important;
    padding-bottom: 44px !important;
  }
  .dse-blog-post-hero .dse-service-hero-copy {
    max-width: 100%;
  }
  .dse-blog-post-hero .dse-service-hero-title {
    max-width: 100%;
    font-size: var(--dse-type-hero-fluid-31-8p6vw-36) !important;
    line-height: var(--dse-leading-heading-1p08) !important;
    letter-spacing: var(--dse-tracking-negp035em) !important;
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-page {
    padding: calc(18px * var(--dse-factor-space)) 0 calc(70px * var(--dse-factor-space));
  }
  .dse-blog-post-shell {
    display: block;
  }
  /* The desktop legal sidebar never participates in mobile flow. The article is first in
     the HTML too, so even delayed CSS cannot place metadata ahead of the content. */
  .dse-blog-post-aside {
    display: none !important;
  }
  .dse-blog-post-main {
    display: grid;
    gap: 24px;
  }
  .dse-blog-post-card {
    padding: 0 18px 32px;
    overflow: hidden;
    border-radius: var(--dse-radius-18);
  }
  .dse-blog-post-card.no-featured {
    padding-top: 24px;
  }
  .dse-blog-post-featured {
    position: relative;
    width: calc(100% + 36px);
    margin: 0 -18px 28px;
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
    border-radius: 18px 18px 0 0;
    background-color: var(--dse-color-e9edf5-light2);
    background-size: cover !important;
    background-position: center center !important;
  }
  .dse-blog-post-featured-image {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
  }
  .dse-blog-post-card .dse-blog-post-content {
    font-size: var(--dse-type-body-16);
    line-height: var(--dse-leading-body-1p76);
  }
  .dse-blog-post-content>*:first-child {
    margin-top: 0 !important;
  }
  .dse-blog-post-content p:first-child {
    margin-top: 0;
  }
  .dse-blog-post-content h2 {
    margin-top: 34px;
    padding-top: 34px;
    font-size: var(--dse-type-sub-24);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content h2:first-of-type {
    margin-top: 28px;
    padding-top: 0;
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content>h2:first-child {
    margin-top: 0;
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content h3 {
    margin-top: 28px;
    font-size: var(--dse-type-sub-20);
    font-family: var(--dse-font-heading);
  }
  .dse-blog-post-content table {
    font-size: var(--dse-type-small-13);
  }
  .dse-blog-related {
    padding: calc(22px * var(--dse-factor-space)) 22px;
    border-radius: var(--dse-radius-18);
  }
  .dse-blog-related-grid {
    grid-template-columns: 1fr;
  }
  /* Floating contents button: intentionally out of normal document flow. */
  .dse-blog-post-mobile-nav {
    display: block;
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 10020;
    width: 54px;
    height: 54px;
  }
  .dse-blog-post-mobile-nav>summary {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    list-style: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: linear-gradient(135deg,var(--dse-color-8f43ff) 0%,var(--dse-color-5967ff) 55%,var(--dse-color-2f9cff) 100%);
    color: var(--dse-color-ffffff-paper);
    box-shadow: 0 12px 34px rgba(70,72,190,.32);
    -webkit-tap-highlight-color: transparent;
  }
  .dse-blog-post-mobile-nav>summary::-webkit-details-marker {
    display: none;
  }
  .dse-blog-post-mobile-nav>summary::marker {
    display: none;
    content: "";
  }
  .dse-blog-post-mobile-nav>summary:focus-visible {
    outline: 2px solid var(--dse-color-ffffff-surface);
    outline-offset: 3px;
  }
  .dse-blog-post-mobile-nav-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
  }
  .dse-blog-post-mobile-nav-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
  }
  .dse-blog-post-mobile-nav[open]>summary {
    background: linear-gradient(135deg,var(--dse-color-5b4bd2),var(--dse-color-377ddf));
    box-shadow: 0 10px 28px rgba(52,58,150,.38);
  }
  .dse-blog-post-mobile-nav-panel {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 86px;
    z-index: 1;
    max-height: min(68vh,560px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--dse-color-dce2ed-border);
    border-radius: var(--dse-radius-20);
    background: rgba(255,255,255,.985);
    box-shadow: 0 26px 70px rgba(17,27,55,.22);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .dse-blog-post-mobile-nav-head {
    padding: 0 2px 14px;
    border-bottom: 1px solid var(--dse-color-e7ebf1-border);
  }
  .dse-blog-post-mobile-nav-head strong,
  .dse-blog-post-mobile-nav-head span {
    display: block;
  }
  .dse-blog-post-mobile-nav-head strong {
    color: var(--dse-color-182133-ink);
    font-size: var(--dse-type-body-17);
    line-height: var(--dse-leading-body-1p25);
    font-weight: 800;
    letter-spacing: -.02em;
  }
  .dse-blog-post-mobile-nav-head span {
    margin-top: 5px;
    color: var(--dse-color-8a93a3-muted);
    font-size: var(--dse-type-small-11);
    line-height: var(--dse-leading-body-1p45);
    font-weight: 600;
  }
  .dse-blog-post-mobile-nav-toc {
    padding: 10px 0 2px;
  }
  .dse-blog-post-mobile-nav-toc ol {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .dse-blog-post-mobile-nav-toc li {
    margin: 0;
    padding: 0;
  }
  .dse-blog-post-mobile-nav-toc a {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    gap: 8px;
    align-items: start;
    padding: 9px 8px;
    border-radius: var(--dse-radius-10);
    color: var(--dse-color-5f6a7c-muted) !important;
    font-size: var(--dse-type-small-13);
    line-height: var(--dse-leading-body-1p42);
    font-weight: 600;
    text-decoration: none !important;
  }
  .dse-blog-post-mobile-nav-toc a span {
    color: var(--dse-color-7062e7-violet);
    font-weight: 800;
  }
  .dse-blog-post-mobile-nav-toc a:active {
    background: var(--dse-color-f1efff);
    color: var(--dse-color-283142) !important;
  }
  .dse-blog-post-mobile-nav-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 14px 8px 2px;
    border-top: 1px solid var(--dse-color-e7ebf1-border);
    color: var(--dse-color-5f6a7c-muted) !important;
    font-size: var(--dse-type-small-13);
    line-height: var(--dse-leading-body-1p4);
    font-weight: 700;
    text-decoration: none !important;
  }
}

/* 1.26.8 — keep the dynamic Single Post title safely below the fixed mobile header. */

@media (max-width:767px) {
  .dse-blog-post-hero .dse-service-hero-shell {
    min-height: 0 !important;
    padding-top: 118px !important;
    padding-bottom: 50px !important;
  }
}

/* 1.26.9 — mobile Single Post polish: balanced hero-to-article gap and true edge-to-edge featured media. */

@media (max-width:767px) {
  /* Give the article a deliberate pause after the dark hero without recreating the old oversized gap. */
  .dse-blog-post-root .dse-blog-post-page {
    padding-top: calc(42px * var(--dse-factor-space)) !important;
  }
  /* Mobile card uses separate media and copy zones. No negative margins, no inherited figure gutters. */
  .dse-blog-post-root .dse-blog-post-card {
    padding: 0 !important;
    overflow: hidden !important;
  }
  .dse-blog-post-root .dse-blog-post-card.no-featured {
    padding: 28px 22px 36px !important;
  }
  .dse-blog-post-root .dse-blog-post-card > figure.dse-blog-post-featured {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
    border-radius: 17px 17px 0 0 !important;
    background-color: var(--dse-color-e9edf5-light2) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .dse-blog-post-root .dse-blog-post-card > figure.dse-blog-post-featured > img.dse-blog-post-featured-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  /* The copy gets its own comfortable inset and a clear visual break after the image. */
  .dse-blog-post-root .dse-blog-post-card.has-featured > .dse-blog-post-content {
    padding: var(--dse-featured-gap) 22px 36px !important;
  }
  .dse-blog-post-root .dse-blog-post-card.no-featured > .dse-blog-post-content {
    padding: 0 !important;
  }
  .dse-blog-post-root .dse-blog-post-content > *:first-child {
    margin-top: 0 !important;
  }
}

/* 1.26.10 — desktop article cleanup: TOC only in the sticky rail, no visible dates, and a clear media-to-copy gap. */

@media (min-width:768px) {
  .dse-blog-post-root .dse-blog-post-card > figure.dse-blog-post-featured {
    margin-bottom: 0 !important;
  }
  .dse-blog-post-root .dse-blog-post-card.has-featured > .dse-blog-post-content {
    padding-top: var(--dse-featured-gap) !important;
  }
  .dse-blog-post-root .dse-blog-post-toc {
    margin-top: 0 !important;
  }
}

/* 1.26.11 — desktop Single Post: tighten hero-to-article rhythm. */

@media (min-width:768px) {
  .dse-blog-post-root .dse-blog-post-page {
    padding-top: calc(80px * var(--dse-factor-space)) !important;
  }
}
