/* Single blog posts in the new design (2026-11-20). Same look as the home page and the restyled inner pages.
   Loaded on single posts only, by wp-content/mu-plugins/dpl-post-styles.php. Delete that file to go back to the old post look.
   Styling only: no post text, heading, link or image is changed. */
body.single-post, body.single-post #wrapper, body.single-post #main { background-color: #FFFFFF !important; color: #002533; }
body.single-post .blog-single {
  --sp-navy: #002533; --sp-teal: #00718A; --sp-cyan: #01BACE; --sp-pale: #8DD8F8; --sp-lime: #D2E27D;
  --sp-fog: #F7F9FA; --sp-line: #E1E8EA; --sp-muted: #5B6F78; --sp-on-dark: #A9CDD6;
  --sp-sans: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sp-float: 0 0 0 1px rgba(0,37,51,0.06), 0 20px 25px -5px rgba(0,37,51,0.10), 0 8px 10px -6px rgba(0,37,51,0.10);
  /* values for the comparison tables written with design-tool variables */
  --color-background-primary: #FFFFFF; --color-background-secondary: #F7F9FA; --color-text-primary: #002533; --color-text-secondary: #5B6F78;
  --border-radius-lg: 20px; --border-radius-md: 999px;
  position: relative; overflow: hidden; padding-top: 88px !important; padding-bottom: 112px !important; font-family: var(--sp-sans);
}
/* Dark glow band behind the title (same gradient and grain as the page heroes) */
body.single-post .blog-single::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: 0; pointer-events: none;
  background: radial-gradient(34% 60% at 16% 30%, rgba(0,113,138,0.75), transparent 70%), radial-gradient(30% 60% at 84% 22%, rgba(1,186,206,0.40), transparent 70%), radial-gradient(40% 50% at 62% 90%, rgba(92,203,235,0.25), transparent 72%), linear-gradient(180deg, #002533 0%, #002533 40%, #00303E 100%); }
body.single-post .blog-single::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: 0; pointer-events: none; opacity: 0.2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* 1310px container */
body.single-post .blog-wrapper > .row.row-large { position: relative; z-index: 1; max-width: 1310px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
body.single-post .blog-wrapper > .row.row-large > .col.large-9 { padding-left: 0; padding-right: 0; }
body.single-post .post-sidebar { padding-left: 56px !important; padding-right: 0 !important; }
/* Title and featured image */
body.single-post .entry-header .entry-header-text { padding-bottom: 40px; }
body.single-post .entry-header .entry-title { color: #FFFFFF; font-family: var(--sp-sans); font-weight: 600; font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
body.single-post .entry-header .entry-image img, body.single-post .entry-header .entry-image a { display: block; border-radius: 20px; }
body.single-post .entry-header .entry-image { border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,37,51,0.06), 0 40px 80px -36px rgba(0,25,35,0.55); }
body.single-post .entry-content { padding-top: 48px; }
/* Body type */
body.single-post .entry-content p, body.single-post .entry-content li, body.single-post .entry-content td, body.single-post .entry-content th { color: var(--sp-muted); font-family: var(--sp-sans); font-size: 18px; line-height: 1.7; }
body.single-post .entry-content h1, body.single-post .entry-content h2, body.single-post .entry-content h3, body.single-post .entry-content h4, body.single-post .entry-content h5, body.single-post .entry-content h6 { color: var(--sp-navy) !important; font-family: var(--sp-sans); font-weight: 600; }
body.single-post .entry-content h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.025em; margin-top: 16px; margin-bottom: 18px; text-wrap: balance; }
body.single-post .entry-content h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 12px; }
body.single-post .entry-content h4 { font-size: 20px; line-height: 1.3; }
body.single-post .entry-content strong, body.single-post .entry-content b { color: var(--sp-navy); font-weight: 600; }
body.single-post .entry-content h2 strong, body.single-post .entry-content h2 b, body.single-post .entry-content h3 strong, body.single-post .entry-content h3 b { color: inherit; font-weight: inherit; }
body.single-post .entry-content a:not(.button) { color: var(--sp-teal) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.single-post .entry-content a:not(.button):hover { color: var(--sp-navy) !important; }
body.single-post .entry-content ul li::marker, body.single-post .entry-content ol li::marker { color: var(--sp-teal); }
body.single-post .entry-content blockquote { border-left: 3px solid var(--sp-cyan); background: var(--sp-fog); border-radius: 0 16px 16px 0; padding: 20px 24px; color: var(--sp-navy); }
body.single-post .entry-content hr { border-color: var(--sp-line); }
body.single-post .entry-content table { border-color: var(--sp-line); }
body.single-post .entry-content code:not(pre code) { background: #EEF3F4; color: var(--sp-navy); border-radius: 6px; padding: 2px 6px; }
/* Headings that the old dark design coloured mint */
body.single-post .entry-content .h3-green h3 { color: var(--sp-navy) !important; }
/* Images inside posts */
body.single-post .entry-content .img .img-inner, body.single-post .entry-content .img img { border-radius: 16px; }
body.single-post .entry-content .img .img-inner { overflow: hidden; box-shadow: 0 1px 2px rgba(0,37,51,0.06), 0 30px 60px -28px rgba(0,37,51,0.30); }
/* Cards that were dark panels (inline background colour) become light cards */
body.single-post .entry-content .col-inner[style*="background-color"] { background: var(--sp-fog) !important; border: 1px solid var(--sp-line); border-radius: 20px !important; box-shadow: none; }
body.single-post .entry-content .col-inner[style*="background-color"] h3 { font-size: 21px; }
body.single-post .entry-content .col-inner[style*="background-color"] p { font-size: 16px; }
body.single-post .entry-content .row.align-equal > .col { padding-bottom: 24px; }
/* Comparison grids written with inline styles: light rules instead of navy */
body.single-post .entry-content div[style*="background: #002533"] { background: var(--sp-line) !important; border-color: var(--sp-line) !important; border-radius: 20px !important; }
/* Sidebar: floating cards */
body.single-post .post-sidebar .widget { background: #FFFFFF; border-radius: 20px; padding: 28px 26px; margin-bottom: 24px; box-shadow: var(--sp-float); }
body.single-post .post-sidebar .widget h3 { color: var(--sp-navy) !important; font-family: var(--sp-sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
body.single-post .post-sidebar .widget p { color: var(--sp-muted) !important; font-size: 15px; line-height: 1.6; }
body.single-post .post-sidebar .list-items ul { margin: 0; }
body.single-post .post-sidebar .list-items ul li { background: var(--sp-fog); border: 1px solid var(--sp-line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; font-size: 15px; line-height: 1.4; }
body.single-post .post-sidebar .list-items ul li a { color: var(--sp-navy); font-weight: 500; }
body.single-post .post-sidebar .list-items ul li:hover { border-color: rgba(1,186,206,0.45); background: #FFFFFF; }
body.single-post .post-sidebar .list-items ul li a:hover { color: var(--sp-teal); opacity: 1; }
/* First sidebar card (About Daployi) is a dark card, so its buttons use the dark-background variants */
body.single-post .post-sidebar .widget:first-child { background: radial-gradient(60% 55% at 50% -10%, rgba(1,186,206,.40), transparent 70%), radial-gradient(40% 50% at 100% 90%, rgba(0,113,138,.7), transparent 70%), linear-gradient(135deg, #001923 0%, #00303F 50%, #003645 100%); box-shadow: 0 0 0 1px rgba(141,216,248,0.16), 0 30px 60px -30px rgba(0,25,35,0.6); }
body.single-post .post-sidebar .widget:first-child h3 { color: #FFFFFF !important; }
body.single-post .post-sidebar .widget:first-child p { color: var(--sp-on-dark) !important; }
body.single-post .post-sidebar .widget:first-child .button { margin: 6px 6px 0 0; }
/* Tablet and phone */
@media (max-width: 849px) {
  body.single-post .blog-single { padding-top: 56px !important; padding-bottom: 72px !important; }
  body.single-post .blog-single::before, body.single-post .blog-single::after { height: 340px; }
  body.single-post .entry-header .entry-title { font-size: 34px; }
  body.single-post .post-sidebar { padding-left: 15px !important; padding-right: 15px !important; margin-top: 32px; }
  body.single-post .blog-wrapper > .row.row-large > .col.large-9 { padding-left: 15px; padding-right: 15px; }
  body.single-post .entry-content h2 { font-size: 28px; }
  body.single-post .entry-content p, body.single-post .entry-content li { font-size: 17px; }
}
@media (max-width: 549px) {
  body.single-post .blog-single::before, body.single-post .blog-single::after { height: 300px; }
  body.single-post .entry-header .entry-title { font-size: 30px; }
}
/* Screen-reader-only text (e.g. table captions): hidden visually, still read by screen readers and search engines */
body.single-post .entry-content .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
