/*
Theme Name: Denarior Theme
Theme URI: http://localhost/ai-helper/wordpress-installations/denarior
Author: Denarior
Author URI: https://denarior.test
Description: WordPress block theme for Denarior — accounting and invoicing software for modern Macedonian businesses.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: denarior
*/

/* === supplemental theme rules === */

/* Root-gap zero — prevents default block-gap from stretching custom sections */
.wp-block-post-content {
  display: block;
}
.wp-block-post-content > * + * {
  margin-top: 0;
}

/* Nav links — Gutenberg navigation block colour override */
.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--ink-soft, #475569) !important;
  text-decoration: none;
}
.wp-block-navigation a:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--ink, #0F172A) !important;
}

/* Single post body max-width (scoped so it doesn't clamp full-width custom blocks) */
body.single-post .wp-block-post-content > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 4px;
  z-index: 9999;
  padding: 8px 16px;
  background: #009FE3;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus {
  left: 4px;
}

/* Screen-reader text */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* Remove default WP block margins that break the mockup layout */
.wp-site-blocks > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Prevent inline-style padding from Gutenberg conflicting with mockup padding */
.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* === ported from homepage.html  scope=body.home === */

    :root {
      --accent: #405471;
      --accent-soft: #94A4BD;
      --primary: #009FE3;
      --primary-soft: #7DD3FC;
      --ink: #0F172A;
      --ink-2: #1E293B;
      --ink-soft: #475569;
      --ink-muted: #94A3B8;
      --line: #E2E8F0;
      --line-strong: #CBD5E1;
      --bg: #FFFFFF;
      --bg-soft: #F8FAFC;
      --bg-warm: #F4F6FA;
      --ok: #10B981;
      --ok-soft: #D1FAE5;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
      --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.08), 0 32px 64px rgba(15, 23, 42, 0.12);
      --shadow-glow: 0 0 0 4px rgba(0, 159, 227, 0.15);
      --tx: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--ink);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body.home h1, body.home h2, body.home h3, body.home h4 {
      font-family: 'Poppins', sans-serif;
      letter-spacing: -0.02em;
      line-height: 1.15;
      font-weight: 700;
    }

    body.home a { color: inherit; text-decoration: none; }
    body.home button { font-family: inherit; cursor: pointer; border: none; background: none; }
    body.home img, body.home svg { display: block; max-width: 100%; }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ============ NAV ============ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 16px 0;
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s var(--tx), background 0.3s var(--tx);
    }
    .nav.scrolled {
      background: rgba(255, 255, 255, 0.92);
      border-bottom-color: var(--line);
    }
    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .brand img {
      height: 30px;
      width: auto;
      display: block;
    }
    footer .brand img { height: 28px; }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-soft);
      transition: color 0.2s var(--tx);
    }
    .nav-links a:hover { color: var(--ink); }
    .nav-cta {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    /* ============ BUTTONS ============ */
    a.btn ,
  /* ============ BUTTONS ============ */
    button.btn,
  /* ============ BUTTONS ============ */
    .btn > a,
  /* ============ BUTTONS ============ */
    .btn > button,
  /* ============ BUTTONS ============ */
    .btn > .wp-block-button__link{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 14.5px;
      transition: transform 0.2s var(--tx), box-shadow 0.3s var(--tx), background 0.2s var(--tx);
      white-space: nowrap;
      min-height: 44px;
    }
    /* `body ` prefix bumps specificity above body.home a (0,0,1,2) so
     * the white button color applies on the homepage too. */
    body a.btn-primary,
    body button.btn-primary,
    body .btn-primary > a,
    body .btn-primary > button,
    body .btn-primary > .wp-block-button__link {
      background: linear-gradient(135deg, var(--primary) 0%, #0078B0 100%);
      color: #fff;
      box-shadow: 0 1px 2px rgba(0, 159, 227, 0.2), 0 8px 24px rgba(0, 159, 227, 0.25);
    }
    a.btn-primary:hover ,
  button.btn-primary:hover,
  .btn-primary > a:hover,
  .btn-primary > button:hover,
  .btn-primary > .wp-block-button__link:hover{
      transform: translateY(-2px);
      box-shadow: 0 1px 2px rgba(0, 159, 227, 0.3), 0 16px 40px rgba(0, 159, 227, 0.4);
    }
    a.btn-primary:active ,
  button.btn-primary:active,
  .btn-primary > a:active,
  .btn-primary > button:active,
  .btn-primary > .wp-block-button__link:active{ transform: translateY(0); }
    a.btn-ghost ,
  button.btn-ghost,
  .btn-ghost > a,
  .btn-ghost > button,
  .btn-ghost > .wp-block-button__link{
      color: var(--ink);
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.6);
    }
    a.btn-ghost:hover ,
  button.btn-ghost:hover,
  .btn-ghost > a:hover,
  .btn-ghost > button:hover,
  .btn-ghost > .wp-block-button__link:hover{
      background: #fff;
      border-color: var(--line-strong);
      transform: translateY(-1px);
    }
    a.btn-light ,
  button.btn-light,
  .btn-light > a,
  .btn-light > button,
  .btn-light > .wp-block-button__link{
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    a.btn-light:hover ,
  button.btn-light:hover,
  .btn-light > a:hover,
  .btn-light > button:hover,
  .btn-light > .wp-block-button__link:hover{
      background: rgba(255, 255, 255, 0.18);
      transform: translateY(-1px);
    }
    a.btn-gold ,
  button.btn-gold,
  .btn-gold > a,
  .btn-gold > button,
  .btn-gold > .wp-block-button__link{
      background: var(--accent);
      color: #fff;
      box-shadow: 0 1px 2px rgba(64, 84, 113, 0.25), 0 8px 24px rgba(64, 84, 113, 0.3);
    }
    a.btn-gold:hover ,
  button.btn-gold:hover,
  .btn-gold > a:hover,
  .btn-gold > button:hover,
  .btn-gold > .wp-block-button__link:hover{
      background: #52688A;
      transform: translateY(-2px);
      box-shadow: 0 1px 2px rgba(64, 84, 113, 0.3), 0 16px 40px rgba(64, 84, 113, 0.4);
    }

    /* ============ HERO ============ */
    body.home .hero {
      position: relative;
      padding: 140px 0 100px;
      background: linear-gradient(180deg, #0F172A 0%, #082F49 100%);
      color: #F8FAFC;
      overflow: hidden;
    }
    body.home .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(800px 400px at 20% 0%, rgba(0, 159, 227, 0.25), transparent 60%),
        radial-gradient(600px 400px at 80% 100%, rgba(64, 84, 113, 0.18), transparent 60%);
      pointer-events: none;
    }
    .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
      background-size: 40px 40px;
      mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
      -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
      pointer-events: none;
    }
    body.home .hero .container {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 60px;
      align-items: center;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(64, 84, 113, 0.12);
      border: 1px solid rgba(64, 84, 113, 0.25);
      color: var(--accent-soft);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .badge .pulse {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 0 0 var(--accent);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(64, 84, 113, 0.7); }
      70% { box-shadow: 0 0 0 12px rgba(64, 84, 113, 0); }
      100% { box-shadow: 0 0 0 0 rgba(64, 84, 113, 0); }
    }
    body.home .hero h1 {
      font-size: clamp(38px, 5.5vw, 64px);
      font-weight: 800;
      margin: 20px 0 20px;
      color: #fff;
    }
    body.home .hero h1 .grad {
      background: linear-gradient(135deg, var(--accent) 0%, var(--primary-soft) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    body.home .hero .lede {
      font-size: 19px;
      color: #CBD5E1;
      max-width: 540px;
      margin-bottom: 32px;
    }
    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
    .hero-trust {
      display: flex;
      gap: 24px;
      align-items: center;
      font-size: 13px;
      color: #94A3B8;
    }
    .hero-trust .check {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .hero-trust svg { color: var(--ok); width: 16px; height: 16px; }

    /* Hero visual: dashboard mock */
    .hero-visual {
      position: relative;
      perspective: 1200px;
    }
    .dash {
      background: rgba(15, 23, 42, 0.6);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
      padding: 16px;
      max-width: 420px;
      margin-left: auto;
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
      transform: rotateY(-6deg) rotateX(4deg);
    }
    .dash-header {
      display: flex;
      align-items: center;
      gap: 6px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 16px;
    }
    .dash-header .dt { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
    .dash-header .dt.r { background: #EF4444; }
    .dash-header .dt.y { background: #405471; }
    .dash-header .dt.g { background: #10B981; }
    .dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
    .dash-stat {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      padding: 12px;
      border-radius: 10px;
    }
    .dash-stat .lbl { font-size: 10px; color: #64748B; letter-spacing: 0.04em; text-transform: uppercase; }
    .dash-stat .val { font-family: 'Poppins'; font-size: 18px; font-weight: 700; color: #fff; margin-top: 4px; }
    .dash-stat .delta { font-size: 11px; color: var(--ok); margin-top: 2px; }
    .dash-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.04);
      margin-bottom: 6px;
      font-size: 11.5px;
      min-width: 0;
    }
    .dash-row .info { min-width: 0; overflow: hidden; }
    .dash-row .info .a,
    .dash-row .info .b {
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .dash-row .ico {
      width: 26px; height: 26px;
      border-radius: 6px;
      background: linear-gradient(135deg, var(--primary), #0078B0);
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-weight: 700; font-size: 11px;
      font-family: 'JetBrains Mono';
    }
    .dash-row.gold .ico { background: linear-gradient(135deg, var(--accent), #2C3D5A); color: #0F172A; }
    .dash-row .info { flex: 1; }
    .dash-row .info .a { color: #fff; font-weight: 600; }
    .dash-row .info .b { color: #64748B; font-size: 11px; }
    .dash-row .amt { color: #fff; font-weight: 600; font-family: 'JetBrains Mono'; }
    .dash-row .tag {
      font-size: 10px;
      padding: 2px 8px;
      border-radius: 4px;
      background: rgba(16, 185, 129, 0.15);
      color: var(--ok);
      font-weight: 600;
    }

    /* Floating cards */
    .float-card {
      position: absolute;
      background: #fff;
      color: var(--ink);
      border-radius: 12px;
      padding: 12px 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      display: flex;
      gap: 10px;
      align-items: center;
      font-size: 13px;
      font-weight: 600;
    }
    /* Tucked closer to the dashboard so it overlaps the panel edge, not floats far outside */
    .float-card.fc-1 { top: -20px; left: 20px; }
    /* Sits below the dashboard, pulled inward from the right edge */
    .float-card.fc-2 { bottom: -24px; right: 24px; }
    .float-card .ic {
      width: 32px; height: 32px;
      border-radius: 8px;
      display: grid; place-items: center;
      flex-shrink: 0;
    }
    .float-card.fc-1 .ic { background: var(--ok-soft); color: var(--ok); }
    .float-card.fc-2 .ic { background: #E0F2FE; color: var(--primary); }
    .float-card .small { font-weight: 400; color: var(--ink-muted); font-size: 11px; }

    /* ============ TRUSTED BY ============ */
    .trusted {
      padding: 56px 0 64px;
      border-bottom: 1px solid var(--line);
      background: var(--bg);
      position: relative;
    }
    body.home .trusted-head {
      text-align: center;
      margin-bottom: 36px;
    }
    .trusted-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 12px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-muted);
      font-weight: 700;
    }
    .trusted-eyebrow::before,
    .trusted-eyebrow::after {
      content: "";
      width: 32px;
      height: 1px;
      background: var(--line-strong);
    }
    body.home .trusted-title {
      font-family: 'Poppins';
      font-size: 18px;
      font-weight: 600;
      color: var(--ink);
      margin-top: 10px;
      letter-spacing: -0.01em;
    }
    body.home .trusted-title strong {
      color: var(--primary);
      font-weight: 700;
    }
    .trusted-grid {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      align-items: center;
      gap: 32px;
    }
    .trusted-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 56px;
      padding: 0 12px;
      filter: grayscale(100%);
      opacity: 0.55;
      transition: filter 0.3s var(--tx), opacity 0.3s var(--tx), transform 0.3s var(--tx);
    }
    .trusted-logo:hover {
      filter: grayscale(0%);
      opacity: 1;
      transform: translateY(-2px);
    }
    .trusted-logo img {
      max-height: 100%;
      max-width: 140px;
      width: auto;
      height: auto;
      object-fit: contain;
    }
    @media (max-width: 1024px) {
      .trusted-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    }
    @media (max-width: 640px) {
      .trusted-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
      .trusted-logo { height: 48px; }
    }

    /* ============ SECTION ============ */
    body.home section { padding: 96px 0; position: relative; }
    .eyebrow {
      display: inline-block;
      color: var(--primary);
      font-weight: 700;
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(28px, 3.5vw, 42px);
      max-width: 720px;
      margin-bottom: 16px;
    }
    .section-sub {
      font-size: 17px;
      color: var(--ink-soft);
      max-width: 640px;
      margin-bottom: 56px;
    }

    /* ============ FEATURE SPLIT (Quick Invoices) ============ */
    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 64px;
      align-items: center;
    }
    .split-text .timer-card {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 14px 18px;
      background: linear-gradient(135deg, #F4F6FA 0%, #E8EDF4 100%);
      border: 1px solid #C0CCE0;
      border-radius: 12px;
      margin: 24px 0;
    }
    .timer-card .num {
      font-family: 'JetBrains Mono';
      font-size: 32px;
      font-weight: 700;
      color: var(--ink);
    }
    .timer-card .lbl { color: var(--ink-soft); font-size: 14px; }
    .check-list {
      list-style: none;
      margin-top: 24px;
    }
    .check-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      font-size: 15px;
    }
    .check-list .ck {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: var(--ok-soft);
      color: var(--ok);
      display: grid; place-items: center;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .split-visual {
      position: relative;
    }
    .browser {
      background: #fff;
      border-radius: 14px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      border: 1px solid var(--line);
    }
    .browser-bar {
      background: var(--bg-soft);
      padding: 12px 16px;
      border-bottom: 1px solid var(--line);
      display: flex;
      gap: 6px;
      align-items: center;
    }
    .browser-bar .dt { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
    .browser-bar .dt:nth-child(1) { background: #FCA5A5; }
    .browser-bar .dt:nth-child(2) { background: #94A4BD; }
    .browser-bar .dt:nth-child(3) { background: #86EFAC; }
    .browser-bar .url {
      flex: 1;
      margin-left: 12px;
      background: #fff;
      border-radius: 6px;
      padding: 4px 10px;
      font-family: 'JetBrains Mono';
      font-size: 11px;
      color: var(--ink-soft);
      border: 1px solid var(--line);
    }
    .browser-body { padding: 22px; }
    .invoice-row {
      display: grid;
      grid-template-columns: 28px 1fr auto auto auto;
      gap: 14px;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
    }
    .invoice-row:last-child { border-bottom: none; }
    .invoice-row .arrow {
      width: 28px; height: 28px;
      border-radius: 6px;
      display: grid; place-items: center;
      background: #DBEAFE;
      color: #2563EB;
    }
    .invoice-row.purchase .arrow { background: #FFEDD5; color: #EA580C; }
    .invoice-row .num { font-family: 'JetBrains Mono'; font-weight: 600; color: var(--ink); }
    .invoice-row .client { color: var(--ink-soft); }
    .invoice-row .amt { font-weight: 600; font-family: 'JetBrains Mono'; }
    .invoice-row .status {
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 4px;
      background: var(--ok-soft);
      color: var(--ok);
      font-weight: 600;
    }
    .invoice-row .actions {
      display: flex;
      gap: 4px;
    }
    .invoice-row .ic {
      width: 26px; height: 26px;
      border-radius: 6px;
      background: var(--bg-soft);
      color: var(--ink-soft);
      display: grid; place-items: center;
      transition: all 0.2s var(--tx);
    }
    .invoice-row .ic:hover {
      background: var(--primary);
      color: #fff;
      transform: scale(1.1);
    }

    /* ============ BENTO FEATURES ============ */
    .bento {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      grid-auto-rows: minmax(200px, auto);
      gap: 16px;
    }
    .bento-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s var(--tx), border-color 0.3s var(--tx), box-shadow 0.3s var(--tx);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .bento-card:hover {
      transform: translateY(-4px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .bento-card.span-3 { grid-column: span 3; }
    .bento-card.span-2 { grid-column: span 2; }
    .bento-card.span-4 { grid-column: span 4; }
    .bento-card.row-2 { grid-row: span 2; }
    .bento-card .icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
      color: var(--primary);
      display: grid; place-items: center;
      margin-bottom: 16px;
    }
    .bento-card.gold .icon {
      background: linear-gradient(135deg, #E8EDF4 0%, #C0CCE0 100%);
      color: #1F2C44;
    }
    .bento-card.dark {
      background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
      color: #F8FAFC;
      border-color: var(--ink-2);
    }
    .bento-card.dark h3 { color: #fff; }
    .bento-card.dark .num-big {
      background: none;
      -webkit-background-clip: initial;
      background-clip: initial;
      -webkit-text-fill-color: #fff;
      color: #fff;
    }
    .bento-card.dark p { color: #94A3B8; }
    .bento-card.dark .icon {
      background: rgba(255, 255, 255, 0.06);
      color: var(--accent);
    }
    .bento-card h3 {
      font-size: 20px;
      margin-bottom: 8px;
    }
    .bento-card p {
      color: var(--ink-soft);
      font-size: 14.5px;
    }
    .bento-card .num-big {
      font-family: 'Poppins';
      font-weight: 800;
      font-size: 56px;
      line-height: 1;
      background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-top: 16px;
    }
    .bento-card .currencies {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 14px;
    }
    .bento-card .curr {
      padding: 6px 12px;
      border-radius: 6px;
      background: var(--bg-soft);
      font-family: 'JetBrains Mono';
      font-size: 12px;
      font-weight: 600;
      color: var(--ink);
      border: 1px solid var(--line);
    }
    .bento-card.dark .curr {
      background: rgba(255,255,255,0.05);
      color: #F8FAFC;
      border-color: rgba(255,255,255,0.1);
    }

    /* ============ TESTIMONIALS ============ */
    .metric-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 56px;
      padding: 28px;
      background: linear-gradient(135deg, #F4F6FA 0%, #E8EDF4 100%);
      border: 1px solid #C0CCE0;
      border-radius: var(--radius);
    }
    .metric-cell {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .metric-cell .num {
      font-family: 'Poppins';
      font-weight: 800;
      font-size: 36px;
      line-height: 1;
      color: var(--ink);
      letter-spacing: -0.02em;
    }
    .metric-cell .lbl {
      font-size: 13px;
      color: var(--ink-soft);
      line-height: 1.4;
    }
    .metric-cell .stars {
      display: inline-flex;
      gap: 2px;
      margin-bottom: 4px;
      color: var(--accent);
    }

    .testimonials {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .testi {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 32px;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s var(--tx), border-color 0.3s var(--tx), box-shadow 0.3s var(--tx);
    }
    .testi:hover {
      transform: translateY(-4px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .testi.featured {
      background: linear-gradient(135deg, var(--ink) 0%, #082F49 100%);
      color: #F8FAFC;
      border-color: var(--ink);
    }
    .testi.featured h4, .testi.featured .quote { color: #fff; }
    .testi.featured .role { color: #94A3B8; }
    .testi.featured .quote-mark { color: var(--accent); opacity: 0.4; }
    .quote-mark {
      font-family: 'Poppins';
      font-size: 80px;
      line-height: 1;
      color: var(--primary);
      opacity: 0.15;
      position: absolute;
      top: 16px;
      right: 24px;
      pointer-events: none;
      font-weight: 800;
    }
    .testi .stars {
      display: inline-flex;
      gap: 2px;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .testi .quote {
      font-size: 16px;
      line-height: 1.6;
      color: var(--ink);
      margin-bottom: 24px;
      flex-grow: 1;
      font-weight: 500;
    }
    .testi .quote .hl {
      background: linear-gradient(180deg, transparent 60%, rgba(64, 84, 113, 0.3) 60%);
      padding: 0 2px;
    }
    .testi .author {
      display: flex;
      align-items: center;
      gap: 14px;
      padding-top: 20px;
      border-top: 1px solid var(--line);
    }
    .testi.featured .author { border-top-color: rgba(255, 255, 255, 0.1); }
    .testi .avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-family: 'Poppins';
      font-weight: 700;
      font-size: 15px;
      flex-shrink: 0;
      color: #fff;
    }
    .avatar.av-1 { background: linear-gradient(135deg, var(--primary) 0%, #0EA5E9 100%); }
    .avatar.av-2 { background: linear-gradient(135deg, var(--accent) 0%, #F97316 100%); color: var(--ink); }
    .avatar.av-3 { background: linear-gradient(135deg, #10B981 0%, #06B6D4 100%); }
    .testi .author h4 {
      font-size: 15px;
      margin-bottom: 2px;
      font-family: 'Poppins';
      font-weight: 600;
    }
    .testi .role {
      font-size: 13px;
      color: var(--ink-soft);
    }

    @media (max-width: 1024px) {
      .testimonials { grid-template-columns: 1fr; }
      .metric-strip { grid-template-columns: 1fr; gap: 16px; }
    }

    /* ============ COUNTDOWN BANNER ============ */
    .countdown {
      background: linear-gradient(135deg, #082F49 0%, #0369A1 50%, #075985 100%);
      color: #fff;
      border-radius: 24px;
      padding: 48px;
      position: relative;
      overflow: hidden;
    }
    .countdown::before {
      content: "";
      position: absolute;
      top: -50%; right: -20%;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(64, 84, 113, 0.2) 0%, transparent 70%);
      border-radius: 50%;
    }
    .countdown .container-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 48px;
      align-items: center;
    }
    .countdown h2 {
      font-size: clamp(24px, 3vw, 36px);
      color: #fff;
      margin-bottom: 12px;
    }
    .countdown p { color: #C7D2FE; max-width: 540px; }
    .countdown-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }
    .countdown-cell {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 20px;
      text-align: center;
      min-width: 80px;
    }
    .countdown-cell .num {
      font-family: 'JetBrains Mono';
      font-size: 36px;
      font-weight: 700;
      color: #fff;
      line-height: 1;
    }
    .countdown-cell .lbl {
      font-size: 11px;
      color: #C7D2FE;
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* ============ BLOG TEASER ============ */
    .blog-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 16px;
    }
    .blog-card {
      background: #fff;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 28px;
      transition: transform 0.3s var(--tx), border-color 0.3s var(--tx), box-shadow 0.3s var(--tx);
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-3px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .blog-card.feat {
      grid-column: span 3;
      background: linear-gradient(135deg, var(--ink) 0%, #1E293B 100%);
      color: #F8FAFC;
      border-color: var(--ink);
      flex-direction: row;
      align-items: center;
      gap: 40px;
      padding: 40px;
    }
    .blog-card.feat .feat-text { flex: 1; }
    .blog-card.feat .feat-visual {
      flex-shrink: 0;
      width: 280px;
      height: 180px;
      border-radius: 12px;
      background:
        radial-gradient(circle at 30% 30%, rgba(64, 84, 113, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 159, 227, 0.4) 0%, transparent 50%),
        #1E293B;
      display: grid; place-items: center;
      position: relative;
      overflow: hidden;
    }
    .blog-card.feat .feat-visual .play {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.95);
      color: var(--ink);
      display: grid; place-items: center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s var(--tx);
    }
    .blog-card.feat:hover .feat-visual .play { transform: scale(1.1); }
    .tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 6px;
      background: #E0F2FE;
      color: var(--primary);
      margin-bottom: 14px;
    }
    .tag.gold { background: #E8EDF4; color: #1F2C44; }
    .tag.dark { background: rgba(64, 84, 113, 0.15); color: var(--accent); }
    .blog-card h3 {
      font-size: 20px;
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .blog-card.feat h3 { font-size: 28px; color: #fff; }
    .blog-card p {
      color: var(--ink-soft);
      font-size: 14.5px;
      flex-grow: 1;
      margin-bottom: 16px;
    }
    .blog-card.feat p { color: #CBD5E1; font-size: 16px; }
    .blog-meta {
      display: flex;
      gap: 12px;
      align-items: center;
      font-size: 13px;
      color: var(--ink-muted);
    }
    .blog-card.feat .blog-meta { color: #94A3B8; }
    .read-arrow { color: var(--primary); font-weight: 600; font-size: 14px; }
    .blog-card.feat .read-arrow { color: var(--accent); }

    body.home .blog-cta-row {
      display: flex;
      justify-content: center;
      margin-top: 32px;
    }

    /* ============ FINAL CTA ============ */
    .final-cta {
      background: linear-gradient(135deg, var(--ink) 0%, #082F49 100%);
      color: #fff;
      border-radius: 24px;
      padding: 80px 64px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .final-cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 25% 25%, rgba(0, 159, 227, 0.3), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(64, 84, 113, 0.2), transparent 50%);
      pointer-events: none;
    }
    .final-cta > * { position: relative; z-index: 1; }
    .final-cta h2 {
      font-size: clamp(32px, 4vw, 48px);
      color: #fff;
      max-width: 720px;
      margin: 0 auto 16px;
    }
    .final-cta p {
      color: #CBD5E1;
      font-size: 18px;
      max-width: 560px;
      margin: 0 auto 32px;
    }
    .final-cta-row {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ============ FOOTER ============ */
    /* Footer is site-wide chrome — must NOT be body.home-scoped, or it breaks
       on every other page. Targets the WP template-part wrapper. */
    footer.wp-block-template-part {
      padding: 56px 0 32px;
      border-top: 1px solid var(--line);
      background: var(--bg-soft);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px;
      margin-bottom: 40px;
    }
    .footer-grid h4 {
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--ink-soft);
      margin-bottom: 16px;
      font-family: 'Open Sans';
      font-weight: 700;
    }
    .footer-grid ul { list-style: none; }
    .footer-grid li { padding: 6px 0; }
    .footer-grid a {
      color: var(--ink-soft);
      font-size: 14px;
      transition: color 0.2s var(--tx);
    }
    .footer-grid a:hover { color: var(--ink); }
    .footer-brand p { color: var(--ink-soft); font-size: 14px; margin-top: 12px; max-width: 320px; }
    .footer-bottom {
      padding-top: 24px;
      border-top: 1px solid var(--line);
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--ink-muted);
    }

    /* ============ ANIMATIONS ============ */
    body.home .reveal { opacity: 0; transform: translateY(24px); }
    body.home .reveal-x { opacity: 0; transform: translateX(-24px); }

    @media (prefers-reduced-motion: reduce) {
      body.home .reveal, body.home .reveal-x { opacity: 1; transform: none !important; }
      .badge .pulse { animation: none; }
      * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 1024px) {
      body.home .hero .container { grid-template-columns: 1fr; gap: 48px; }
      .hero .container { grid-template-columns: 1fr; gap: 48px; }
      .split { grid-template-columns: 1fr; }
      .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
      .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 1; }
      .bento-card.row-2 { grid-row: auto; }
      .countdown .container-inner { grid-template-columns: 1fr; }
      .blog-row { grid-template-columns: 1fr; }
      .blog-card.feat { grid-column: auto; flex-direction: column; }
      .blog-card.feat .feat-visual { width: 100%; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .nav-links { display: none; }
      body.home section { padding: 64px 0; }
      body.home .hero { padding: 110px 0 70px; }
      .countdown { padding: 32px 24px; }
      .countdown-grid { grid-template-columns: repeat(2, 1fr); }
      .final-cta { padding: 56px 24px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 8px; }
      .float-card { display: none; }
      .bento { grid-template-columns: 1fr; }
      .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 1; }
      /* Hero dashboard mock: kill the 3D tilt so it actually renders on small screens */
      body.home .hero-visual { perspective: none; margin-top: 8px; }
      body.home .hero-visual .dash {
        transform: none;
        max-width: 100%;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
      }
    }


/* === ported from category-e-fakturi.html  scope=body.category-efakturi === */

    :root {
      --primary: #009FE3;
      --primary-soft: #7DD3FC;
      --accent: #405471;
      --accent-soft: #94A4BD;
      --ink: #0F172A;
      --ink-2: #1E293B;
      --ink-soft: #475569;
      --ink-muted: #94A3B8;
      --line: #E2E8F0;
      --line-strong: #CBD5E1;
      --bg: #FFFFFF;
      --bg-soft: #F8FAFC;
      --ok: #10B981;
      --ok-soft: #D1FAE5;
      --radius: 16px;
      --radius-sm: 10px;
      --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
      --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.08), 0 32px 64px rgba(15, 23, 42, 0.12);
      --tx: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--ink);
      background: var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body.category-efakturi h1, body.category-efakturi h2, body.category-efakturi h3, body.category-efakturi h4 {
      font-family: 'Poppins', sans-serif;
      letter-spacing: -0.02em;
      line-height: 1.15;
      font-weight: 700;
    }

    body.category-efakturi a { color: inherit; text-decoration: none; }
    body.category-efakturi button { font-family: inherit; cursor: pointer; border: none; background: none; }
    body.category-efakturi img, body.category-efakturi svg { display: block; max-width: 100%; }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ============ NAV ============ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 16px 0;
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s var(--tx), background 0.3s var(--tx);
    }
    .nav.scrolled {
      background: rgba(255, 255, 255, 0.92);
      border-bottom-color: var(--line);
    }
    .nav .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand { display: flex; align-items: center; gap: 8px; }
    .brand img { height: 30px; width: auto; display: block; }
    footer .brand img { height: 28px; }
    .nav-links { display: flex; gap: 32px; align-items: center; }
    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--ink-soft);
      transition: color 0.2s var(--tx);
    }
    .nav-links a:hover { color: var(--ink); }
    .nav-links a.active { color: var(--ink); font-weight: 600; }
    .nav-cta { display: flex; gap: 12px; align-items: center; }

    /* ============ BUTTONS ============ */
    a.btn ,
  /* ============ BUTTONS ============ */
    button.btn,
  /* ============ BUTTONS ============ */
    .btn > a,
  /* ============ BUTTONS ============ */
    .btn > button,
  /* ============ BUTTONS ============ */
    .btn > .wp-block-button__link{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 14.5px;
      transition: transform 0.2s var(--tx), box-shadow 0.3s var(--tx), background 0.2s var(--tx);
      white-space: nowrap;
      min-height: 44px;
    }
    /* `body ` prefix bumps specificity above body.home a (0,0,1,2) so
     * the white button color applies on the homepage too. */
    body a.btn-primary,
    body button.btn-primary,
    body .btn-primary > a,
    body .btn-primary > button,
    body .btn-primary > .wp-block-button__link {
      background: linear-gradient(135deg, var(--primary) 0%, #0078B0 100%);
      color: #fff;
      box-shadow: 0 1px 2px rgba(0, 159, 227, 0.2), 0 8px 24px rgba(0, 159, 227, 0.25);
    }
    a.btn-primary:hover ,
  button.btn-primary:hover,
  .btn-primary > a:hover,
  .btn-primary > button:hover,
  .btn-primary > .wp-block-button__link:hover{
      transform: translateY(-2px);
      box-shadow: 0 1px 2px rgba(0, 159, 227, 0.3), 0 16px 40px rgba(0, 159, 227, 0.4);
    }
    a.btn-ghost ,
  button.btn-ghost,
  .btn-ghost > a,
  .btn-ghost > button,
  .btn-ghost > .wp-block-button__link{
      color: var(--ink);
      border: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.6);
    }
    a.btn-ghost:hover ,
  button.btn-ghost:hover,
  .btn-ghost > a:hover,
  .btn-ghost > button:hover,
  .btn-ghost > .wp-block-button__link:hover{
      background: #fff;
      border-color: var(--line-strong);
      transform: translateY(-1px);
    }
    a.btn-light ,
  button.btn-light,
  .btn-light > a,
  .btn-light > button,
  .btn-light > .wp-block-button__link{
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    a.btn-light:hover ,
  button.btn-light:hover,
  .btn-light > a:hover,
  .btn-light > button:hover,
  .btn-light > .wp-block-button__link:hover{
      background: rgba(255, 255, 255, 0.18);
      transform: translateY(-1px);
    }
    a.btn-dark ,
  button.btn-dark,
  .btn-dark > a,
  .btn-dark > button,
  .btn-dark > .wp-block-button__link{
      background: var(--accent);
      color: #fff;
      box-shadow: 0 1px 2px rgba(64, 84, 113, 0.25), 0 8px 24px rgba(64, 84, 113, 0.3);
    }
    a.btn-dark:hover ,
  button.btn-dark:hover,
  .btn-dark > a:hover,
  .btn-dark > button:hover,
  .btn-dark > .wp-block-button__link:hover{
      background: #52688A;
      transform: translateY(-2px);
      box-shadow: 0 1px 2px rgba(64, 84, 113, 0.3), 0 16px 40px rgba(64, 84, 113, 0.4);
    }

    /* ============ BREADCRUMB ============ */
    .crumbs {
      padding: 100px 0 0;
      font-size: 13px;
      color: var(--ink-muted);
    }
    .crumbs a {
      color: var(--ink-muted);
      transition: color 0.2s var(--tx);
    }
    .crumbs a:hover { color: var(--ink); }
    .crumbs .sep { margin: 0 8px; opacity: 0.4; }
    .crumbs .here { color: var(--ink-soft); font-weight: 500; }

    /* ============ HERO ============ */
    body.category-efakturi .hero {
      padding: 32px 0 64px;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 14px;
      border-radius: 999px;
      background: rgba(0, 159, 227, 0.08);
      border: 1px solid rgba(0, 159, 227, 0.2);
      color: var(--primary);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .pill .pulse {
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--primary);
      box-shadow: 0 0 0 0 var(--primary);
      animation: pulse 2s infinite;
    }
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(0, 159, 227, 0.6); }
      70% { box-shadow: 0 0 0 12px rgba(0, 159, 227, 0); }
      100% { box-shadow: 0 0 0 0 rgba(0, 159, 227, 0); }
    }
    body.category-efakturi .hero h1 {
      font-size: clamp(34px, 5vw, 56px);
      font-weight: 800;
      margin: 20px 0 20px;
      max-width: 880px;
    }
    body.category-efakturi .hero h1 .grad {
      background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    body.category-efakturi .hero .lede {
      font-size: 18px;
      color: var(--ink-soft);
      max-width: 720px;
      margin-bottom: 36px;
    }

    /* ============ STATS ============ */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 64px;
    }
    .stat {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 24px;
      transition: transform 0.3s var(--tx), border-color 0.3s var(--tx), box-shadow 0.3s var(--tx);
    }
    .stat:hover {
      transform: translateY(-3px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .stat .num {
      font-family: 'Poppins';
      font-size: 32px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: -0.02em;
      line-height: 1;
    }
    .stat .num.brand { color: var(--primary); }
    .stat .lbl {
      font-size: 13px;
      color: var(--ink-soft);
      margin-top: 8px;
    }

    /* ============ COUNTDOWN BANNER ============ */
    .countdown {
      background: linear-gradient(135deg, #082F49 0%, #0369A1 50%, #075985 100%);
      color: #fff;
      border-radius: 24px;
      padding: 48px;
      position: relative;
      overflow: hidden;
      margin-bottom: 96px;
    }
    .countdown::before {
      content: "";
      position: absolute;
      top: -50%; right: -20%;
      width: 600px; height: 600px;
      background: radial-gradient(circle, rgba(0, 159, 227, 0.25) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    body.category-efakturi .countdown-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 48px;
      align-items: center;
    }
    .countdown h2 {
      font-size: clamp(22px, 2.6vw, 32px);
      color: #fff;
      margin-bottom: 12px;
    }
    .countdown p { color: #BAE6FD; max-width: 520px; }
    .countdown-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
    }
    .countdown-cell {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 20px;
      text-align: center;
      min-width: 80px;
    }
    .countdown-cell .num {
      font-family: 'JetBrains Mono';
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      line-height: 1;
    }
    .countdown-cell .lbl {
      font-size: 11px;
      color: #BAE6FD;
      margin-top: 6px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    /* ============ SECTIONS ============ */
    body.category-efakturi section { padding: 64px 0; position: relative; }
    .eyebrow {
      display: inline-block;
      color: var(--primary);
      font-weight: 700;
      font-size: 12px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(26px, 3vw, 38px);
      max-width: 720px;
      margin-bottom: 12px;
    }
    .section-sub {
      font-size: 16px;
      color: var(--ink-soft);
      max-width: 640px;
      margin-bottom: 40px;
    }

    /* ============ TIMELINE ============ */
    .timeline-wrap {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 36px 40px;
    }
    .timeline {
      list-style: none;
      position: relative;
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 9px;
      top: 12px;
      bottom: 12px;
      width: 2px;
      background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
      opacity: 0.3;
    }
    .timeline li {
      padding-left: 40px;
      padding-bottom: 28px;
      position: relative;
    }
    .timeline li:last-child { padding-bottom: 0; }
    .timeline li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 8px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--ink-muted);
      box-shadow: 0 0 0 4px var(--bg);
    }
    .timeline li.active::before {
      border-color: var(--primary);
      background: var(--primary);
    }
    .timeline li.next::before {
      border-color: var(--primary);
      background: #fff;
    }
    .timeline li.final::before {
      border-color: var(--accent);
    }
    .timeline .when {
      font-family: 'JetBrains Mono';
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 6px;
      letter-spacing: 0.02em;
    }
    .timeline li.final .when { color: var(--accent); }
    .timeline .what-title {
      font-family: 'Poppins';
      font-size: 17px;
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 4px;
    }
    .timeline .what {
      font-size: 14.5px;
      color: var(--ink-soft);
    }

    /* ============ POSTS ============ */
    .blog-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 16px;
    }
    .blog-card {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 28px;
      transition: transform 0.3s var(--tx), border-color 0.3s var(--tx), box-shadow 0.3s var(--tx);
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      transform: translateY(-3px);
      border-color: var(--line-strong);
      box-shadow: var(--shadow);
    }
    .blog-card.feat {
      grid-column: span 3;
      background: linear-gradient(135deg, var(--ink) 0%, #1E293B 100%);
      color: #F8FAFC;
      border-color: var(--ink);
      flex-direction: row;
      align-items: center;
      gap: 40px;
      padding: 40px;
    }
    .blog-card.feat .feat-text { flex: 1; }
    .blog-card.feat .feat-visual {
      flex-shrink: 0;
      width: 280px;
      height: 180px;
      border-radius: 12px;
      background:
        radial-gradient(circle at 30% 30%, rgba(0, 159, 227, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(64, 84, 113, 0.5) 0%, transparent 50%),
        #1E293B;
      display: grid; place-items: center;
      position: relative;
      overflow: hidden;
    }
    .blog-card.feat .feat-visual .play {
      width: 64px; height: 64px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.95);
      color: var(--ink);
      display: grid; place-items: center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s var(--tx);
    }
    .blog-card.feat:hover .feat-visual .play { transform: scale(1.1); }
    .tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 6px;
      background: #E0F2FE;
      color: var(--primary);
      margin-bottom: 14px;
    }
    .tag.dark { background: rgba(0, 159, 227, 0.15); color: var(--primary-soft); }
    .tag.slate { background: #E8EDF4; color: var(--accent); }
    .blog-card h3 {
      font-size: 20px;
      margin-bottom: 10px;
      line-height: 1.3;
    }
    .blog-card.feat h3 { font-size: 28px; color: #fff; }
    .blog-card p {
      color: var(--ink-soft);
      font-size: 14.5px;
      flex-grow: 1;
      margin-bottom: 16px;
    }
    .blog-card.feat p { color: #CBD5E1; font-size: 16px; }
    .blog-meta {
      display: flex;
      gap: 12px;
      align-items: center;
      font-size: 13px;
      color: var(--ink-muted);
    }
    .blog-card.feat .blog-meta { color: #94A3B8; }
    .read-arrow {
      color: var(--primary);
      font-weight: 600;
      font-size: 14px;
      margin-left: auto;
    }
    .blog-card.feat .read-arrow { color: var(--primary-soft); }

    /* ============ CTA BOX ============ */
    .cta-box {
      background: linear-gradient(135deg, var(--ink) 0%, #082F49 100%);
      color: #fff;
      border-radius: 24px;
      padding: 56px 48px;
      position: relative;
      overflow: hidden;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 32px;
      align-items: center;
    }
    .cta-box::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 25% 25%, rgba(0, 159, 227, 0.25), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(64, 84, 113, 0.3), transparent 50%);
      pointer-events: none;
    }
    .cta-box > * { position: relative; z-index: 1; }
    .cta-box h3 {
      font-size: clamp(22px, 2.6vw, 30px);
      color: #fff;
      margin-bottom: 8px;
    }
    .cta-box p {
      color: #CBD5E1;
      font-size: 15px;
      max-width: 520px;
    }
    .cta-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* ============ FAQ ============ */
    .faq details {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 18px 22px;
      margin-bottom: 10px;
      transition: border-color 0.2s var(--tx), box-shadow 0.2s var(--tx);
    }
    .faq details:hover { border-color: var(--line-strong); }
    .faq details[open] {
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.08);
    }
    .faq summary {
      cursor: pointer;
      font-weight: 600;
      font-family: 'Poppins';
      color: var(--ink);
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      font-size: 15.5px;
    }
    .faq summary::-webkit-details-marker { display: none; }
    .faq summary::after {
      content: "";
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--bg-soft);
      flex-shrink: 0;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5'><path d='M5 12h14'/><path d='M12 5v14'/></svg>");
      background-repeat: no-repeat;
      background-position: center;
      transition: transform 0.3s var(--tx), background 0.2s var(--tx);
    }
    .faq details[open] summary::after {
      background-color: var(--primary);
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'><path d='M5 12h14'/></svg>");
      transform: rotate(180deg);
    }
    .faq details p {
      margin: 14px 0 0;
      color: var(--ink-soft);
      font-size: 14.5px;
      line-height: 1.7;
    }

    /* Footer rules deleted here: identical block already declared above (un-scoped)
       in the homepage CSS section. Keeping a duplicate caused DRY drift the next
       time someone tweaked one and not the other. */

    /* ============ ANIMATIONS ============ */
    @media (prefers-reduced-motion: reduce) {
      .pill .pulse { animation: none; }
      * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    }

    /* ============ RESPONSIVE ============ */
    @media (max-width: 1024px) {
      .stats { grid-template-columns: repeat(2, 1fr); }
      .countdown-inner { grid-template-columns: 1fr; }
      .blog-row { grid-template-columns: 1fr; }
      .blog-card.feat { grid-column: auto; flex-direction: column; }
      .blog-card.feat .feat-visual { width: 100%; }
      .cta-box { grid-template-columns: 1fr; padding: 40px 32px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 640px) {
      .nav-links { display: none; }
      body.category-efakturi section { padding: 48px 0; }
      .countdown { padding: 24px 14px; }
      .countdown-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
      .countdown-cell { padding: 14px 8px; min-width: 0; }
      .countdown-cell .num { font-size: 26px; letter-spacing: -0.02em; }
      .countdown-cell .lbl { font-size: 11px; }
      .timeline-wrap { padding: 24px 20px; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; gap: 8px; }
      /* Stats cards: prevent 32px numbers (eg. "01/10/2026") from overflowing the tile.
         Switch to a single column on phones so the full date fits on one line. */
      body.category-efakturi .stats { grid-template-columns: 1fr; gap: 10px; }
      body.category-efakturi .stat { padding: 16px 18px; min-width: 0; display: flex; align-items: baseline; gap: 14px; }
      body.category-efakturi .stat .num {
        font-size: 24px;
        letter-spacing: -0.02em;
        overflow-wrap: anywhere;
        flex-shrink: 0;
      }
      body.category-efakturi .stat .lbl { font-size: 13px; line-height: 1.4; }
      /* Countdown timer: stack timer below text on mobile so neither overflows */
      body.category-efakturi .countdown-inner { grid-template-columns: 1fr; gap: 24px; }
    }



/* === reveal-class progressive enhancement (porter Pass F) ===
 * Mockups use these classes for entrance animations driven by JS
 * (typically GSAP or IntersectionObserver). We ship a tiny vanilla
 * IntersectionObserver script (theme/assets/js/reveal.js) that adds
 * `body.has-js-reveal` and toggles `.is-visible` per element. If the
 * JS fails to load, tier 1 keeps content fully visible — no flash of
 * invisible content (FOIC), no broken page. */

/* Tier 1: default — fully visible (graceful degradation when JS is absent). */
.reveal, .reveal-x {
  opacity: 1;
  transform: none;
}

/* Tier 2: JS active — initial hidden state with transition set up. */
body.has-js-reveal .reveal,
  body.has-js-reveal .reveal-x {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Tier 3: JS active + element scrolled into view — visible end state.
 * !important wins against body.home-scoped initial-hidden rules ported
 * verbatim from the mockup CSS (specificity 0,2,1 vs our 0,3,0). */
body.has-js-reveal .reveal.is-visible,
  body.has-js-reveal .reveal-x.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Reduced-motion users skip the animation; reveal.js handles this in JS too. */
@media (prefers-reduced-motion: reduce) {
  body.has-js-reveal .reveal,
  body.has-js-reveal .reveal-x {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* === inline-label overrides (porter Pass H) ===
 * Mockups use <span class="eyebrow|tag|badge|...">; agent emits as
 * <p class="..."> via wp:paragraph. Force inline-block + zero margin
 * so the labels flow with adjacent text instead of stacking with
 * row-gap from is-layout-flow.
 * Detected inline-label classes in this build: eyebrow, tag, badge, ck, check, trusted-eyebrow, trusted-title, pill */
p.eyebrow,
div.eyebrow,
p.tag,
div.tag,
p.badge,
div.badge,
p.ck,
div.ck,
p.check,
div.check,
p.trusted-eyebrow,
div.trusted-eyebrow,
p.trusted-title,
div.trusted-title,
p.pill,
div.pill {
  display: inline-block;
  margin: 0;
}
.wp-block-group > p.eyebrow:first-child,
.wp-block-group > div.eyebrow:first-child,
.wp-block-group > p.tag:first-child,
.wp-block-group > div.tag:first-child {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Re-center wp:group intros that contain eyebrow + section-title.
 * Mockup typically wraps these in `<div style="text-align: center; max-width: 720px; margin: 0 auto">`
 * — agent drops the inline style; this :has() rule restores it.
 * Covers both <p class="eyebrow"> (wp:paragraph) and <div class="eyebrow"> (wp:group). */
.wp-block-group:has(> .eyebrow):has(> .section-title) {
  text-align: center;
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-block-group:has(> .eyebrow) > .eyebrow,
.wp-block-group:has(> .eyebrow) > .section-title,
.wp-block-group:has(> .eyebrow) > .section-sub {
  margin-left: auto;
  margin-right: auto;
}


/* === section-head wrapper (porter Pass I) ===
 * Custom blocks render eyebrow + h2 + sub inside <div class="section-head">.
 * Mirrors the mockup pattern: `<div style="text-align:center; max-width:720px; margin:0 auto">`.
 * Pairs with Rule L in wp-theme-assembler-html.md. */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .eyebrow,
.section-head .section-title,
.section-head .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.section-head .section-title { margin-top: 0; margin-bottom: 16px; }
.section-head .section-sub   { margin-top: 0; margin-bottom: 0; }


/* ============================================================
 * Chrome additions — small utility classes used by header/footer that
 * weren't covered by the (now de-scoped) homepage CSS block above.
 * Anything that WAS in the homepage block lives there as `.foo`,
 * not here, to avoid duplicate-rule cascade fights (`.btn-gold` is
 * the bug that taught us this — orange gradient was winning by
 * source-order over the homepage's accent color).
 * ============================================================ */

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 18px;
}
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand { text-decoration: none; }

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  min-height: 36px;
}

/* Footer-specific bits not covered by the original homepage footer block */
.footer-brand .brand { margin-bottom: 16px; }
.footer-tagline {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}
.footer-col-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.footer-copy, .footer-location {
  color: var(--ink-muted);
  font-size: 13px;
  margin: 0;
}


/* ============================================================
 * SINGLE BLOG POST — applies to body.single-post
 * Hero strip, post body typography, related-posts grid.
 * ============================================================ */

body.single-post .site-main {
  padding-top: 50px; /* clear the fixed nav */
}

/* Hero strip — dark gradient like the homepage hero */
.post-hero {
  position: relative;
  padding: 56px 0 0;
  background: linear-gradient(180deg, #0F172A 0%, #082F49 100%);
  color: #F8FAFC;
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 280px at 18% 0%, rgba(0, 159, 227, 0.22), transparent 60%),
    radial-gradient(500px 280px at 88% 100%, rgba(64, 84, 113, 0.18), transparent 60%);
  pointer-events: none;
}
.post-hero .container { position: relative; }
.post-hero .crumbs {
  font-size: 13px;
  color: rgba(248, 250, 252, 0.55);
  display: inline-flex; gap: 8px; align-items: center;
}
.post-hero .crumbs a {
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
  transition: color 0.2s var(--tx);
}
.post-hero .crumbs a:hover { color: #fff; }
.post-hero .crumbs .sep { color: rgba(248, 250, 252, 0.35); }

/* The post-hero-content sits INSIDE the dark .post-hero section now — inherits
 * the dark background. Left-aligned in a 1200px container that matches the
 * .post-hero-inner breadcrumbs container exactly. */
body.single-post .post-hero-content {
  position: relative;
  color: #F8FAFC;
  padding-top: 24px;
  padding-bottom: 72px;
}
/* Breadcrumbs sit inside .post-hero-content now (single shared container) —
 * give them their own bottom margin so they don't collide with the pill. */
body.single-post .post-hero-content .crumbs { margin-bottom: 24px; }

/* Category pill — primary-tinted full-pill chip.
 * The wrapper .wp-block-post-terms is a plain inline-block (no pill chrome) —
 * it just enforces inline-block sizing so the chip is shrink-to-fit and
 * aligns to the left of its container without escaping the layout. The pill
 * chrome lives on the inner <a>. */
body.single-post .post-hero-content .wp-block-post-terms,
body.single-post .post-hero-content .post-cat-pill {
  display: inline-block;
  margin: 0 0 0 15px;
  padding: 0;
  background: none;
  border: 0;
}
body.single-post .post-hero-content .post-cat-pill a,
body.single-post .post-hero-content .wp-block-post-terms a {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 159, 227, 0.15);
  border: 1px solid rgba(0, 159, 227, 0.45);
  color: #7DD3FC !important;
  border-radius: 999px;
  text-decoration: none;
}

/* Title + excerpt — left-aligned, white text. Constrained widths so very long
 * titles/dek don't run edge to edge. */
body.single-post .post-hero-content .wp-block-post-title,
body.single-post .post-hero-content .post-title {
  color: #F8FAFC !important;
  font-family: 'Poppins', sans-serif;
  max-width: 920px;
}
body.single-post .post-hero-content .wp-block-post-excerpt {
  max-width: 740px;
}
body.single-post .post-hero-content .post-meta .wp-block-post-author-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.single-post .post-hero-content .post-meta .wp-block-post-author-name::before {
  content: "D";
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #009FE3) 0%, var(--accent, #405471) 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
body.single-post .post-hero-content .wp-block-post-excerpt,
body.single-post .post-hero-content .post-lede {
  color: rgba(248, 250, 252, 0.78) !important;
  max-width: 64ch;
  margin: 0;
}
body.single-post .post-hero-content .wp-block-post-excerpt p { margin: 0 0 24px; }
body.single-post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.55);
}
body.single-post .post-meta .wp-block-post-author-name,
body.single-post .post-meta .wp-block-post-date,
body.single-post .post-meta .post-readtime {
  display: inline-block;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.7);
}
body.single-post .post-meta .wp-block-post-author-name a,
body.single-post .post-meta .wp-block-post-date a {
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
}
body.single-post .post-meta-sep {
  color: rgba(248, 250, 252, 0.35);
}

/* Featured image — sits flush below the dark hero */
body.single-post .post-feature-img,
body.single-post .post-feature-img img {
  width: 100% !important;
  height: 480px;
  object-fit: cover;
  display: block;
}
body.single-post .post-feature-img:empty {
  display: none; /* hide the wrapper if no featured image is set */
}

/* Body typography — tight, readable, brand-consistent */
body.single-post .post-body {
  background: var(--bg, #fff);
}
body.single-post .post-body .wp-block-post-content {
  font-family: 'Open Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft, #475569);
}
body.single-post .post-body .wp-block-post-content > * + * { margin-top: 1.4em; }
body.single-post .post-body .wp-block-post-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px; line-height: 1.25; font-weight: 700;
  color: var(--ink, #0F172A);
  margin-top: 2.2em; margin-bottom: 0.6em;
  letter-spacing: -0.01em;
}
body.single-post .post-body .wp-block-post-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; line-height: 1.3; font-weight: 700;
  color: var(--ink, #0F172A);
  margin-top: 1.8em; margin-bottom: 0.5em;
}
body.single-post .post-body .wp-block-post-content p,
body.single-post .post-body .wp-block-post-content ul,
body.single-post .post-body .wp-block-post-content ol {
  color: var(--ink-soft, #475569);
}
body.single-post .post-body .wp-block-post-content a {
  color: var(--primary, #009FE3);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body.single-post .post-body .wp-block-post-content a:hover { text-decoration-thickness: 2px; }
body.single-post .post-body .wp-block-post-content blockquote {
  border-left: 3px solid var(--primary, #009FE3);
  padding-left: 24px; margin: 2em 0;
  font-family: 'Poppins', sans-serif;
  font-size: 22px; line-height: 1.5;
  color: var(--ink, #0F172A);
  font-style: italic;
}
body.single-post .post-body .wp-block-post-content code {
  background: var(--bg-warm, #F4F6FA);
  color: var(--primary, #009FE3);
  padding: 2px 6px; border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92em;
}
body.single-post .post-body .wp-block-post-content pre code {
  color: inherit;
  background: transparent;
  padding: 0;
}
body.single-post .post-body .wp-block-post-content pre {
  background: var(--ink, #0F172A);
  color: #E2E8F0;
  padding: 24px; border-radius: 12px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; line-height: 1.6;
}
body.single-post .post-body .wp-block-post-content img {
  border-radius: 12px;
  margin: 2em 0;
}

/* Related posts grid */
body.single-post .related-posts {
  background: var(--bg-soft, #F8FAFC);
  border-top: 1px solid var(--line, #E2E8F0);
}
body.single-post .related-head {
  text-align: center;
  margin-bottom: 48px;
}
body.single-post .related-head .eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #009FE3);
  font-weight: 700;
}
body.single-post .related-head .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0 0;
  color: var(--ink, #0F172A);
  width: 100%;
  max-width: 100%;
}
/* WP renders post-template as <ul class="wp-block-post-template"> with <li>
 * children — so we scope the grid to that ul, not .related-grid itself. */
body.single-post .related-grid .wp-block-post-template {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
body.single-post .related-grid .wp-block-post-template > li {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.single-post .related-grid .wp-block-post {
  margin: 0;
}
body.single-post .related-card {
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  transition: transform 0.2s var(--tx), box-shadow 0.2s var(--tx), border-color 0.2s var(--tx);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
body.single-post .related-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong, #CBD5E1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
body.single-post .related-card .related-tag,
body.single-post .related-card .wp-block-post-terms a {
  color: var(--primary, #009FE3) !important;
  text-decoration: none;
}
body.single-post .related-card .wp-block-post-title a {
  color: var(--ink, #0F172A);
  text-decoration: none;
}
body.single-post .related-card .wp-block-post-title a:hover {
  color: var(--primary, #009FE3);
}
body.single-post .related-card .wp-block-post-date {
  color: var(--ink-muted, #94A3B8);
  margin-top: auto;
}
body.single-post .related-empty {
  text-align: center;
  color: var(--ink-muted, #94A3B8);
  font-size: 15px;
  padding: 48px 0;
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  /* The real grid lives on the inner <ul>, not on .related-grid itself */
  body.single-post .related-grid .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.single-post .related-posts {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  body.single-post .post-feature-img,
  body.single-post .post-feature-img img { height: 280px; }
}
@media (max-width: 600px) {
  body.single-post .related-grid .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.single-post .related-posts {
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
  body.single-post .related-head { margin-bottom: 32px; }
  body.single-post .related-head .section-title { font-size: 24px; }
}



/* ============================================================
 * SINGLE BLOG POST — RICH DESIGN
 * Adds the feature-band, sticky TOC, post-body H2 gradient bar,
 * custom check-circle bullets, styled tables, and related-card glyphs.
 * Matches the design reference at ai-helper/shto-e-e-faktura.html.
 * ============================================================ */

/* Featured illustration band — sits between hero and article body. Shown on all
 * single posts; per-category content variants can be added by scoping with
 * body.category-{slug}. The default content is e-fakturi-themed (invoice + UJP). */
body.single-post .post-feature-band {
  background: linear-gradient(180deg, #082F49 0%, #0A2235 60%, #0A1F30 100%);
  color: #fff;
  padding: 56px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.single-post .post-feature-band::before {
  content: "";
  position: absolute;
  top: 30%; right: 35%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
body.single-post .post-feature-band .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
body.single-post .post-feature-band .grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
body.single-post .invoice-stage { position: relative; min-height: 420px; }
body.single-post .invoice {
  background: #fff;
  color: var(--ink, #0F172A);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 12px 30px -10px rgba(0, 0, 0, 0.4);
  transform: rotate(-3deg);
  max-width: 480px;
  position: relative;
  z-index: 1;
}
body.single-post .inv-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; padding-bottom: 16px;
  border-bottom: 1px dashed var(--line, #E2E8F0);
  margin-bottom: 16px;
}
body.single-post .inv-title { font-family: 'Poppins'; font-weight: 700; font-size: 15px; color: var(--ink); }
body.single-post .inv-num { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--ink-soft, #475569); margin-top: 2px; letter-spacing: 0.02em; }
body.single-post .inv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 6px;
  background: #E0F2FE; color: #0078B0;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
  font-family: 'JetBrains Mono'; flex-shrink: 0;
}
body.single-post .inv-badge svg { width: 11px; height: 11px; }
body.single-post .inv-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
body.single-post .inv-table th {
  text-align: left; font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink-muted, #94A3B8); text-transform: uppercase;
  padding: 6px 0; font-weight: 700; font-family: 'Open Sans';
}
body.single-post .inv-table th.right, body.single-post .inv-table td.right { text-align: right; }
body.single-post .inv-table td { padding: 9px 0; border-bottom: 1px solid #F1F5F9; color: var(--ink); }
body.single-post .inv-table td.amt { font-family: 'JetBrains Mono'; font-weight: 600; }
body.single-post .inv-totals {
  margin-top: 14px; padding-top: 12px;
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--ink);
}
body.single-post .inv-totals .lbl { font-family: 'Poppins'; font-weight: 700; font-size: 14px; color: var(--ink); }
body.single-post .inv-totals .val { font-family: 'JetBrains Mono'; font-weight: 700; font-size: 18px; color: var(--ink); }
body.single-post .stamp {
  position: absolute; right: 18%; bottom: 8%;
  width: 132px; height: 132px;
  transform: rotate(12deg); z-index: 2;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}
body.single-post .stamp svg { width: 100%; height: 100%; opacity: 0.92; }

body.single-post .feature-side .eyebrow-light {
  display: inline-block; color: #7DD3FC;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
body.single-post .feature-side h2 {
  font-family: 'Poppins'; font-weight: 700; line-height: 1.25;
  font-size: clamp(22px, 2.5vw, 28px);
  color: #fff; margin-bottom: 14px;
}
body.single-post .feature-side .lede {
  color: #BFDBFE; font-size: 15.5px; line-height: 1.6;
  margin-bottom: 26px; max-width: 460px;
}
body.single-post .fact-stack { display: flex; flex-direction: column; gap: 12px; }
body.single-post .fact {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: border-color 0.2s var(--tx, ease), background 0.2s var(--tx, ease);
}
body.single-post .fact:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(0, 159, 227, 0.4); }
body.single-post .fact .num {
  font-family: 'JetBrains Mono'; font-size: 17px; font-weight: 700;
  color: #7DD3FC; letter-spacing: -0.01em;
  flex-shrink: 0; min-width: 100px;
}
body.single-post .fact .lbl { font-size: 13.5px; color: #CBD5E1; line-height: 1.4; }

/* Article grid: 2-col with sticky TOC */
body.single-post .article-grid-wrap {
  background: #fff;
  padding: 80px 0 0;
}
body.single-post .article-grid {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 760px) 220px;
  gap: 44px;
}

body.single-post .post-toc {
  position: sticky; top: 100px;
  align-self: start;
  padding-left: 8px;
}
body.single-post .post-toc .toc-eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted, #94A3B8); margin-bottom: 16px;
}
body.single-post .post-toc ul { list-style: none; margin: 0; padding: 0; }
body.single-post .post-toc li { margin-bottom: 4px; }
body.single-post .post-toc a {
  display: block; font-size: 13px; line-height: 1.45;
  color: var(--ink-soft, #475569);
  padding: 8px 12px 8px 14px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
body.single-post .post-toc a:hover { color: var(--primary, #009FE3); }
body.single-post .post-toc a.active {
  color: var(--primary, #009FE3);
  border-left-color: var(--primary, #009FE3);
  font-weight: 600;
  background: rgba(0, 159, 227, 0.04);
}

/* Article body — H2 with gradient bar + custom bullets + tables */
body.single-post .post-body { min-width: 0; padding-bottom: 96px; }
body.single-post .post-body .wp-block-post-content > * { max-width: none; margin-left: 0; margin-right: 0; }
body.single-post .post-body .wp-block-post-content h2,
body.single-post .post-body .wp-block-post-content > .wp-block-heading {
  font-family: 'Poppins'; font-weight: 700; line-height: 1.2;
  font-size: 32px; color: var(--ink, #0F172A);
  margin: 56px 0 20px;
  position: relative; padding-left: 18px;
  scroll-margin-top: 100px;
}
body.single-post .post-body .wp-block-post-content h2::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 4px; height: calc(1em + 2px);
  background: linear-gradient(180deg, var(--primary, #009FE3) 0%, var(--accent, #405471) 100%);
  border-radius: 2px;
}
body.single-post .post-body .wp-block-post-content h3 {
  font-family: 'Poppins'; font-weight: 700;
  font-size: 22px; color: var(--ink, #0F172A);
  margin: 36px 0 14px;
}

body.single-post .post-body .wp-block-post-content ul.wp-block-list,
body.single-post .post-body .wp-block-post-content > ul {
  list-style: none; margin: 16px 0 28px; padding: 0;
}
body.single-post .post-body .wp-block-post-content ul.wp-block-list li,
body.single-post .post-body .wp-block-post-content > ul li {
  position: relative; padding-left: 36px; margin-bottom: 12px;
  font-size: 17px; line-height: 1.65; color: var(--ink-soft, #475569);
}
body.single-post .post-body .wp-block-post-content ul.wp-block-list li::before,
body.single-post .post-body .wp-block-post-content > ul li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='10' fill='%23E0F2FE'/><path d='M8 12.5l2.5 2.5L16 9.5' stroke='%23009FE3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-size: contain;
}

body.single-post .post-body .wp-block-post-content table,
body.single-post .post-body .wp-block-post-content figure.wp-block-table > table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0 36px; font-size: 15.5px;
  border: 1px solid var(--line, #E2E8F0); border-radius: 12px; overflow: hidden;
}
body.single-post .post-body .wp-block-post-content thead th {
  background: var(--bg-soft, #F8FAFC);
  color: var(--ink); font-weight: 700;
  text-align: left; padding: 14px 16px;
  font-family: 'Poppins'; font-size: 14.5px;
  border-bottom: 1px solid var(--line, #E2E8F0);
}
body.single-post .post-body .wp-block-post-content tbody td {
  padding: 14px 16px; border-bottom: 1px solid var(--line, #E2E8F0);
  color: var(--ink-soft, #475569); line-height: 1.55;
}
body.single-post .post-body .wp-block-post-content tbody tr:last-child td { border-bottom: none; }

/* Related-posts cards: gradient glyph area on top */
body.single-post .related-card {
  position: relative;
  overflow: hidden;
}
body.single-post .related-card::before {
  content: "";
  display: block;
  width: calc(100% + 48px);
  height: 110px;
  margin: -24px -24px 18px;
  background: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%);
  position: relative;
}


/* ============================================================
 * FIX-UPS — applied 2026-05-04
 * 1. .faq section needs a container (its render.php emits it without one).
 * 2. Related-card gradient strip — needs absolute positioning to override
 *    the inline padding from the wp:group block markup.
 * ============================================================ */

/* v3 components that emit a bare <section> need section-level vertical padding.
 * Their render.php now wraps inner markup in <div class="container">, which
 * handles max-width + horizontal padding via the existing global .container rule. */
.timeline-section,
.cta-section,
.faq,
section#cta {
  padding: 80px 0 96px;
}
.timeline-section .section-head,
.faq .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.faq .faq-list {
  max-width: 880px;
  margin: 0 auto;
}

/* Related-posts cards: gradient strip at top via absolutely-positioned ::before.
 * Overrides the previous attempt that used negative-margin on a non-positioned
 * ::before — which got clipped under the inline padding from wp:group. */
body.single-post .related-card {
  position: relative;
  overflow: hidden;
  padding-top: 134px !important;
}
body.single-post .related-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%);
}
body.single-post .related-card::after {
  content: "";
  position: absolute;
  top: 32px; left: 50%;
  width: 48px; height: 48px;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009FE3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/><path d='M8 14h2M8 18h2M14 14h2M14 18h2'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
body.single-post .related-card > * {
  position: relative;
  z-index: 1;
}

/* Article-grid layout cleanup — make sure the post-body and TOC don't overlap on
 * narrow screens, and TOC stacks above article on mobile. */
@media (max-width: 1024px) {
  body.single-post .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body.single-post .post-toc {
    position: static;
    border-bottom: 1px solid var(--line, #E2E8F0);
    padding: 0 0 24px;
    margin-bottom: 32px;
  }
}

/* ============================================================
 * Article-body utility blocks (used in Сметководство posts)
 * ============================================================ */

/* term-pair: side-by-side X vs Y comparison */
.term-pair {
  margin: 32px 0;
}
.term-pair-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #F4F6FA 100%);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
}
.term-pair .term-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px;
}
.term-pair .term-alt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.term-pair .term-label {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.term-pair .term-card--a .term-label { color: #009FE3; }
.term-pair .term-card--b .term-label { color: #405471; }
.term-pair .term-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.term-pair-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.term-pair-divider::before {
  content: "";
  position: absolute;
  top: 10%; bottom: 10%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, #CBD5E1 30%, #CBD5E1 70%, transparent 100%);
}
.term-pair-vs {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #CBD5E1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.term-pair-summary {
  margin: 18px 4px 0;
  font-size: 14px;
  color: #475569;
  font-style: italic;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .term-pair-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 18px;
  }
  .term-pair-divider {
    height: 32px;
  }
  .term-pair-divider::before {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #CBD5E1 30%, #CBD5E1 70%, transparent 100%);
  }
}

/* calc-example: worked-calculation panel */
.calc-example {
  margin: 28px 0;
  padding: 24px 24px 20px;
  background: #0F172A;
  color: #F8FAFC;
  border-radius: 14px;
  border: 1px solid #1E293B;
  position: relative;
}
.calc-example::before {
  content: "= ";
  position: absolute;
  top: -12px; left: 20px;
  background: #009FE3;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.calc-example .calc-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin: 8px 0 16px;
}
.calc-example .calc-lines {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-example .calc-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(248, 250, 252, 0.12);
  font-size: 15px;
  color: rgba(248, 250, 252, 0.85);
}
.calc-example .calc-line:last-child {
  border-bottom: 0;
}
.calc-example .calc-label {
  flex: 1;
}
.calc-example .calc-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #7DD3FC;
  white-space: nowrap;
}
.calc-example .calc-result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  margin-top: 8px;
  background: rgba(0, 159, 227, 0.12);
  border: 1px solid rgba(0, 159, 227, 0.35);
  border-radius: 10px;
}
.calc-example .calc-result-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #F8FAFC;
}
.calc-example .calc-result-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  color: #009FE3;
  letter-spacing: -0.01em;
}
.calc-example .calc-note {
  margin: 12px 4px 0;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.6);
  font-style: italic;
}

/* post-cta: inline article-bottom CTA card */
.post-cta {
  margin: 48px 0 16px;
  padding: 32px 32px;
  background: linear-gradient(135deg, #0F172A 0%, #082F49 100%);
  color: #F8FAFC;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.post-cta::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.18) 0%, rgba(0, 159, 227, 0) 70%);
  pointer-events: none;
}
.post-cta > * { position: relative; z-index: 1; }
.post-cta .post-cta-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 159, 227, 0.2);
  border: 1px solid rgba(0, 159, 227, 0.45);
  color: #7DD3FC;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.post-cta .post-cta-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: #F8FAFC;
  max-width: 36ch;
}
.post-cta .post-cta-body {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.78);
  max-width: 56ch;
}
.post-cta .post-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.post-cta .post-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-cta .post-cta-actions .btn-primary {
  background: #009FE3;
  color: #fff;
  border: 1px solid #009FE3;
}
.post-cta .post-cta-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.4);
}
.post-cta .post-cta-actions .btn-ghost {
  background: transparent;
  color: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(248, 250, 252, 0.25);
}
.post-cta .post-cta-actions .btn-ghost:hover {
  border-color: rgba(248, 250, 252, 0.5);
  color: #F8FAFC;
}
@media (max-width: 720px) {
  .post-cta { padding: 26px 22px; }
  .post-cta .post-cta-heading { font-size: 22px; }
}

/* Post conclusion paragraph — soft closing line at end of article body. */
body.single-post .post-body .post-conclusion {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #E2E8F0);
  font-size: 15px;
  color: var(--ink-soft, #475569);
}
body.single-post .post-body .post-conclusion strong {
  color: var(--ink, #0F172A);
}
body.single-post .post-body .post-conclusion a {
  color: var(--primary, #009FE3);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
body.single-post .post-body .post-conclusion a:hover {
  text-decoration-thickness: 2px;
}

/* ============================================================
 * Shared dark page-hero — opt-in via body class so it doesn't
 * clobber pages that use their own hero treatment (the e-fakturi
 * archive ships a light-theme hero, the homepage has its own hero
 * gradient, the kontakt / za-nas / pobaraj-ponuda pages each ship
 * their own per-page CSS).
 *
 * Add a body class here when a new template wants the dark hero.
 * ============================================================ */
body.category-smetkovodstvo .hero {
  background: linear-gradient(180deg, #0F172A 0%, #082F49 100%);
  color: #fff;
  padding: 132px 0 72px;
  position: relative;
  overflow: hidden;
}
body.category-smetkovodstvo .hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
body.category-smetkovodstvo .hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(64, 84, 113, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
body.category-smetkovodstvo .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
body.category-smetkovodstvo .hero .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
body.category-smetkovodstvo .hero .hero-text { max-width: 880px; }

body.category-smetkovodstvo .hero .crumbs {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 24px;
  padding: 0;
}
body.category-smetkovodstvo .hero .crumbs a {
  color: #CBD5E1;
  transition: color 0.2s var(--tx);
}
body.category-smetkovodstvo .hero .crumbs a:hover { color: #fff; }
body.category-smetkovodstvo .hero .crumbs .sep { color: rgba(248, 250, 252, 0.35); margin: 0 8px; opacity: 0.4; }
body.category-smetkovodstvo .hero .crumbs .here { color: #fff; font-weight: 500; }

body.category-smetkovodstvo .hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 22px 0 20px;
  max-width: 900px;
}
body.category-smetkovodstvo .hero h1 .grad {
  background: linear-gradient(135deg, var(--primary-soft, #7DD3FC) 0%, var(--accent-soft, #94A4BD) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.category-smetkovodstvo .hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: #BFDBFE;
  max-width: 720px;
  margin-bottom: 32px;
}
body.category-smetkovodstvo .hero .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #94A3B8;
  flex-wrap: wrap;
}
body.category-smetkovodstvo .hero .meta-row .pulse-mini {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ok, #10B981);
  box-shadow: 0 0 0 0 var(--ok, #10B981);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* ============================================================
 * Category archive grid — scoped to category-archive-posts so
 * we don't fight homepage / e-fakturi card grids.
 * ============================================================ */

.category-archive-posts .archive-head .eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #009FE3);
  padding: 4px 12px;
  background: rgba(0, 159, 227, 0.08);
  border-radius: 999px;
}
.category-archive-posts .archive-head .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink, #0F172A);
}
.category-archive-posts .archive-head .section-sub {
  font-size: 17px;
  line-height: 1.6;
}
.category-archive-posts .wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-archive-posts .wp-block-query .wp-block-post-template > li {
  list-style: none;
  display: flex;            /* let the article fill the grid cell */
  align-items: stretch;
}
.category-archive-posts .blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;              /* fill the <li> width */
  background: #fff;
  transition: transform 0.25s var(--tx, ease), box-shadow 0.25s var(--tx, ease), border-color 0.25s var(--tx, ease);
}
.category-archive-posts .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: var(--primary, #009FE3) !important;
}
.category-archive-posts .blog-card .wp-block-post-terms {
  margin-bottom: 0;
}
.category-archive-posts .blog-card .wp-block-post-terms a {
  color: var(--primary, #009FE3) !important;
  text-decoration: none;
}
.category-archive-posts .blog-card .wp-block-post-title a {
  color: var(--ink, #0F172A);
  text-decoration: none;
  transition: color 0.2s var(--tx, ease);
}
.category-archive-posts .blog-card:hover .wp-block-post-title a {
  color: var(--primary, #009FE3);
}
.category-archive-posts .blog-card .wp-block-post-excerpt {
  flex: 1;
  margin: 0;
}
.category-archive-posts .blog-card .wp-block-post-excerpt p { margin: 0; }
.category-archive-posts .blog-card .wp-block-post-excerpt__more-link {
  margin-left: 4px;
  color: var(--primary, #009FE3);
  text-decoration: none;
  font-weight: 600;
}
.category-archive-posts .blog-card .wp-block-post-date {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line, #E2E8F0);
}
.category-archive-posts .wp-block-query-pagination {
  gap: 6px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line, #E2E8F0);
}
.category-archive-posts .wp-block-query-pagination a,
.category-archive-posts .wp-block-query-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft, #475569);
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.category-archive-posts .wp-block-query-pagination a:hover {
  color: var(--primary, #009FE3);
  border-color: var(--primary, #009FE3);
}
.category-archive-posts .wp-block-query-pagination .current,
.category-archive-posts .wp-block-query-pagination .wp-block-query-pagination-numbers .current {
  background: var(--ink, #0F172A);
  color: #fff;
  border-color: var(--ink, #0F172A);
}
@media (max-width: 880px) {
  .category-archive-posts .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-archive-posts {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
}
@media (max-width: 600px) {
  .category-archive-posts .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
    padding-left: 8px;
    padding-right: 8px;
  }
  .category-archive-posts {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* ============================================================
 * Blog index page (denarior/category-grid) — listing of all
 * categories with cards on the blog page.
 * ============================================================ */

.category-grid-section {
  padding: 96px 0 56px;
  background: #fff;
}
.category-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.category-grid-section .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.category-grid-section .section-head .eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #009FE3);
  padding: 4px 12px;
  background: rgba(0, 159, 227, 0.08);
  border-radius: 999px;
  margin-bottom: 12px;
}
.category-grid-section .section-head .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink, #0F172A);
  margin: 0 0 12px;
}
.category-grid-section .section-head .section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft, #475569);
  margin: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 880px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--tx, ease), box-shadow 0.25s var(--tx, ease), border-color 0.25s var(--tx, ease);
  position: relative;
  overflow: hidden;
}
.cat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary, #009FE3) 0%, var(--accent, #405471) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--tx, ease);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: var(--primary, #009FE3);
}
.cat-card:hover::before {
  transform: scaleX(1);
}

.cat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-card-count {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary, #009FE3);
  padding: 4px 10px;
  background: rgba(0, 159, 227, 0.08);
  border-radius: 999px;
}
.cat-card-arrow {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft, #F8FAFC);
  color: var(--ink-soft, #475569);
  transition: background 0.25s var(--tx, ease), color 0.25s var(--tx, ease), transform 0.25s var(--tx, ease);
}
.cat-card:hover .cat-card-arrow {
  background: var(--primary, #009FE3);
  color: #fff;
  transform: translateX(2px);
}

.cat-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink, #0F172A);
  margin: 0;
}
.cat-card-desc {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft, #475569);
  margin: 0;
}
.cat-card-cta {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #009FE3);
  margin-top: 4px;
}

/* ============================================================
 * Blog index page (page-blog template) — dark page-hero scope
 * ============================================================ */
body.page-blog .hero,
body.page-template-page-blog .hero {
  background: linear-gradient(180deg, #0F172A 0%, #082F49 100%);
  color: #fff;
  padding: 132px 0 72px;
  position: relative;
  overflow: hidden;
}
body.page-blog .hero::before,
body.page-template-page-blog .hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
body.page-blog .hero::after,
body.page-template-page-blog .hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(64, 84, 113, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
body.page-blog .hero-grid,
body.page-template-page-blog .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
body.page-blog .hero .container,
body.page-template-page-blog .hero .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
body.page-blog .hero .crumbs,
body.page-template-page-blog .hero .crumbs {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 24px;
  padding: 0;
}
body.page-blog .hero .crumbs a,
body.page-template-page-blog .hero .crumbs a { color: #CBD5E1; }
body.page-blog .hero .crumbs a:hover,
body.page-template-page-blog .hero .crumbs a:hover { color: #fff; }
body.page-blog .hero .crumbs .sep,
body.page-template-page-blog .hero .crumbs .sep { color: rgba(248, 250, 252, 0.35); margin: 0 8px; }
body.page-blog .hero .crumbs .here,
body.page-template-page-blog .hero .crumbs .here { color: #fff; font-weight: 500; }
body.page-blog .hero h1,
body.page-template-page-blog .hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 22px 0 20px;
  max-width: 900px;
}
body.page-blog .hero h1 .grad,
body.page-template-page-blog .hero h1 .grad {
  background: linear-gradient(135deg, var(--primary-soft, #7DD3FC) 0%, var(--accent-soft, #94A4BD) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.page-blog .hero .lede,
body.page-template-page-blog .hero .lede {
  font-size: 19px;
  line-height: 1.6;
  color: #BFDBFE;
  max-width: 720px;
  margin-bottom: 0;
}

/* ============================================================
 * App Screenshot — denarior/app-screenshot
 * Browser-window frame for web app shots, desktop window frame
 * for desktop app shots.
 * ============================================================ */

.app-shot {
  margin: 56px auto;
  max-width: 1080px;
  text-align: center;
}
.app-shot.alignwide   { max-width: 1200px; }
.app-shot.alignfull   { max-width: 100%; padding: 0 24px; }
.app-shot-frame {
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  position: relative;
}
.app-shot--shadow .app-shot-frame {
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 64px rgba(15, 23, 42, 0.14);
}

/* Web (browser) chrome */
.app-shot--web .app-shot-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-bottom: 1px solid var(--line, #E2E8F0);
}
.app-shot--web .app-shot-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft, #475569);
  max-width: 360px;
  margin: 0 auto;
}
.app-shot--web .app-shot-url svg { color: var(--ok, #10B981); flex-shrink: 0; }

/* Desktop window chrome */
.app-shot--desktop .app-shot-titlebar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: #1E293B;
  color: #CBD5E1;
  border-bottom: 1px solid #0F172A;
}
.app-shot--desktop .app-shot-title {
  flex: 1;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Traffic-light dots (shared) */
.app-shot-dots {
  display: inline-flex;
  gap: 8px;
  flex-shrink: 0;
}
.app-shot-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
}
.app-shot-dot--close { background: #FF5F57; }
.app-shot-dot--min   { background: #FEBC2E; }
.app-shot-dot--max   { background: #28C840; }
.app-shot-spacer { width: 60px; flex-shrink: 0; }
.app-shot--desktop .app-shot-dot { background: rgba(248, 250, 252, 0.18); }
.app-shot--desktop .app-shot-dot--close { background: #FF5F57; }
.app-shot--desktop .app-shot-dot--min   { background: #FEBC2E; }
.app-shot--desktop .app-shot-dot--max   { background: #28C840; }

/* Canvas */
.app-shot-canvas {
  background: var(--bg-soft, #F8FAFC);
  display: block;
  position: relative;
  min-height: 320px;
}
.app-shot-canvas img,
.app-shot-canvas video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.app-shot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 80px 24px;
  text-align: center;
  color: var(--ink-muted, #94A3B8);
  background:
    repeating-linear-gradient(45deg,
      rgba(148, 163, 184, 0.06) 0,
      rgba(148, 163, 184, 0.06) 10px,
      transparent 10px,
      transparent 20px);
}
.app-shot-placeholder svg { color: var(--ink-muted, #94A3B8); }
.app-shot-placeholder p {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-soft, #475569);
  margin: 0;
}
.app-shot-placeholder small {
  font-size: 12.5px;
  color: var(--ink-muted, #94A3B8);
  max-width: 360px;
  line-height: 1.5;
}

.app-shot-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-soft, #475569);
  font-style: italic;
  text-align: center;
}

@media (max-width: 720px) {
  .app-shot { margin: 40px auto; }
  .app-shot--web .app-shot-url { max-width: none; font-size: 11px; padding: 4px 10px; }
  .app-shot-spacer { width: 0; }
  .app-shot-placeholder { padding: 56px 16px; }
}

/* ============================================================
 * Possibilities page — "request a custom module" card
 * ============================================================ */
.build-request-card {
  position: relative;
  padding: 56px 48px 48px;
  background: linear-gradient(135deg, #0F172A 0%, #082F49 100%);
  color: #F8FAFC;
  border-radius: 20px;
  overflow: hidden;
}
.build-request-card::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.18) 0%, rgba(0, 159, 227, 0) 65%);
  pointer-events: none;
}
.build-request-card > * { position: relative; z-index: 1; }

.build-request-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7DD3FC;
  padding: 4px 12px;
  background: rgba(0, 159, 227, 0.15);
  border: 1px solid rgba(0, 159, 227, 0.35);
  border-radius: 999px;
  margin-bottom: 16px;
}
.build-request-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: #fff;
  max-width: 28ch;
}
.build-request-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.78);
  margin: 0 0 36px;
  max-width: 64ch;
}

.build-request-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}
.build-request-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.build-request-point .brp-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: #7DD3FC;
  flex-shrink: 0;
  margin-top: 2px;
}
.build-request-point h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #fff;
  letter-spacing: -0.005em;
}
.build-request-point p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.72);
}

.build-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.build-request-actions .btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s var(--tx, ease), box-shadow 0.2s var(--tx, ease), border-color 0.2s var(--tx, ease);
}
.build-request-actions .btn-primary {
  background: #009FE3;
  color: #fff;
  border: 1px solid #009FE3;
}
.build-request-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 159, 227, 0.45);
}
.build-request-actions .btn-ghost {
  background: transparent;
  color: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(248, 250, 252, 0.25);
}
.build-request-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(248, 250, 252, 0.55);
  color: #fff;
}

@media (max-width: 880px) {
  .build-request-card { padding: 40px 28px 36px; border-radius: 16px; }
  .build-request-points { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
 * Possibilities page — section heads inside .possibilities-section
 * ============================================================ */
.possibilities-section .section-head .eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #009FE3);
  padding: 4px 12px;
  background: rgba(0, 159, 227, 0.08);
  border-radius: 999px;
  margin-bottom: 12px;
}
.possibilities-section .section-head .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink, #0F172A);
}
.possibilities-section .section-head .section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft, #475569);
  margin: 0 auto;
}

/* ============================================================
 * Shared dark page-hero — applied wherever denarior/page-hero
 * renders (it emits <header class="hero hero--dark">). The
 * existing light .hero on category-efakturi is unaffected.
 * ============================================================ */
.hero.hero--dark {
  background: linear-gradient(180deg, #0F172A 0%, #082F49 100%);
  color: #fff;
  padding: 132px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero.hero--dark::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.16) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero.hero--dark::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(64, 84, 113, 0.22) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero.hero--dark .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero.hero--dark .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero.hero--dark .hero-text { max-width: 880px; }

.hero.hero--dark .crumbs {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 24px;
  padding: 0;
}
.hero.hero--dark .crumbs a { color: #CBD5E1; transition: color 0.2s var(--tx, ease); }
.hero.hero--dark .crumbs a:hover { color: #fff; }
.hero.hero--dark .crumbs .sep { color: rgba(248, 250, 252, 0.35); margin: 0 8px; }
.hero.hero--dark .crumbs .here { color: #fff; font-weight: 500; }

.hero.hero--dark h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 22px 0 20px;
  max-width: 900px;
}
.hero.hero--dark h1 .grad {
  background: linear-gradient(135deg, var(--primary-soft, #7DD3FC) 0%, var(--accent-soft, #94A4BD) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero.hero--dark .lede {
  font-size: 19px;
  line-height: 1.6;
  color: #BFDBFE;
  max-width: 720px;
  margin-bottom: 0;
}
.hero.hero--dark .meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #94A3B8;
  flex-wrap: wrap;
}
.hero.hero--dark .meta-row .pulse-mini {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ok, #10B981);
  box-shadow: 0 0 0 0 var(--ok, #10B981);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

/* ============================================================
 * Manifesto split — shared (used by za-nas + moznosti)
 * ============================================================ */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: flex-start;
}
/* moznosti page needs extra breathing room between hero and manifesto */
body.page-id-112 .manifesto { margin-top: 80px; margin-bottom: 80px; }
.manifesto-quote { position: sticky; top: 110px; }
.manifesto-quote .mark {
  font-family: 'Poppins', sans-serif;
  font-size: 96px;
  line-height: 0.6;
  color: var(--primary, #009FE3);
  opacity: 0.18;
  font-weight: 800;
  margin-bottom: 12px;
}
.manifesto-quote .pull {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink, #0F172A);
}
.manifesto-quote .pull em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 159, 227, 0.22) 65%);
  padding: 0 2px;
}
.manifesto-quote .attribution {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line, #E2E8F0);
  display: flex;
  align-items: center;
  gap: 14px;
}
.manifesto-quote .attribution .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #009FE3), var(--accent, #405471));
  color: #fff;
  display: grid; place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.manifesto-quote .attribution .meta .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 15px; color: var(--ink, #0F172A);
}
.manifesto-quote .attribution .meta .role { font-size: 13px; color: var(--ink-soft, #475569); }
.manifesto-body p {
  color: var(--ink-soft, #475569);
  font-size: 16.5px;
  margin-bottom: 22px;
  line-height: 1.65;
}
.manifesto-body p:last-child { margin-bottom: 0; }
.manifesto-body p strong { color: var(--ink, #0F172A); font-weight: 600; }
.manifesto-body .lead {
  font-size: 18px;
  color: var(--ink, #0F172A);
  font-weight: 500;
}
@media (max-width: 880px) {
  .manifesto { grid-template-columns: 1fr; gap: 36px; }
  .manifesto-quote { position: static; }
}

/* Wrap manifesto in standard section padding when used standalone */
.manifesto-split-section,
section.manifesto-section,
.wp-block-group.manifesto-wrap {
  padding: 96px 0;
}

/* ============================================================
 * Values grid — shared (used by za-nas + moznosti)
 * ============================================================ */
.values-section {
  background: var(--bg-soft, #F8FAFC);
  padding: 96px 0;
}
.values-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.values-section .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.values-section .section-head .eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary, #009FE3);
  padding: 4px 12px;
  background: rgba(0, 159, 227, 0.08);
  border-radius: 999px;
  margin-bottom: 12px;
}
.values-section .section-head .section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink, #0F172A);
}
.values-section .section-head .section-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft, #475569);
  margin: 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line, #E2E8F0);
  border-radius: var(--radius, 16px);
  padding: 28px;
  transition: transform 0.3s var(--tx, ease), border-color 0.3s var(--tx, ease), box-shadow 0.3s var(--tx, ease);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary, #009FE3), var(--accent, #405471));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--tx, ease);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong, #CBD5E1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
  color: var(--primary, #009FE3);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.value-card.gold .value-icon {
  background: linear-gradient(135deg, #E8EDF4 0%, #C0CCE0 100%);
  color: var(--accent, #405471);
}
.value-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--ink, #0F172A);
  letter-spacing: -0.005em;
}
.value-card p {
  color: var(--ink-soft, #475569);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}
.value-card .num-mark {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-muted, #94A3B8);
  letter-spacing: 0.04em;
}
@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Featured blog card → YouTube popup
 * The featured card switches from <a> to <button> when a YT URL
 * is set on the block. Reset button defaults so it visually
 * matches the existing .blog-card.feat <a>.
 * ============================================================ */
button.blog-card.feat {
  font: inherit;
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line, #E2E8F0);
  width: 100%;
}
button.blog-card.feat:hover .play {
  transform: scale(1.1);
}

/* Hint that the featured card opens a video */
.blog-card--video .feat-visual .play {
  position: relative;
}
.blog-card--video .feat-visual .play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.25;
  animation: yt-play-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes yt-play-pulse {
  0%   { transform: scale(0.8); opacity: 0.45; }
  60%  { opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ============================================================
 * YouTube modal popup
 * ============================================================ */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.yt-modal.is-open {
  display: flex;
  animation: yt-modal-fade 0.2s ease-out;
}
@keyframes yt-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.yt-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 28, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yt-modal-frame {
  position: relative;
  width: 100%;
  max-width: 1040px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: yt-modal-rise 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes yt-modal-rise {
  from { transform: translateY(12px) scale(0.985); }
  to   { transform: none; }
}
.yt-modal-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.yt-modal-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.yt-modal-close:hover {
  background: rgba(15, 23, 42, 0.92);
  transform: scale(1.05);
}
.yt-modal-close:focus-visible {
  outline: 2px solid #009FE3;
  outline-offset: 2px;
}
@media (max-width: 720px) {
  .yt-modal { padding: 12px; }
  .yt-modal-frame { border-radius: 10px; }
}

/* ============================================================
 * Module Area block (denarior/module-area)
 * Used on /funkcionalnosti/ — feature catalog with 23 sections.
 * Scoped to page-id-22 because the .area class is also used by the
 * <details> collapsibles on /pobaraj-ponuda/ (different component).
 * ============================================================ */
body.page-id-22 .area {
  padding: 88px 0;
  scroll-margin-top: 140px;
}
.area.alt { background: var(--bg-soft, #F8FAFC); }
.area .area-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.area .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary, #009FE3);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.area .eyebrow .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent, #405471);
  letter-spacing: 0.04em;
  opacity: 0.8;
}
.area .eyebrow .num::after {
  content: "/";
  margin: 0 8px;
  opacity: 0.4;
}
.area .area-title {
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px;
  color: var(--ink, #0F172A);
}
.area .area-sub {
  font-size: 16.5px;
  color: var(--ink-soft, #475569);
  max-width: 720px;
  margin: 0;
}

.module-grid {
  display: grid;
  gap: 18px;
}
.module-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.module-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.module-grid.cols-1 { grid-template-columns: 1fr; }

.mod {
  position: relative;
  background: var(--bg, #fff);
  border: 1px solid var(--line, #E2E8F0);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.area.alt .mod { background: #fff; }
.mod:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 159, 227, 0.4);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}
.mod-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 159, 227, 0.1) 0%, rgba(0, 159, 227, 0.04) 100%);
  border: 1px solid rgba(0, 159, 227, 0.18);
  display: grid;
  place-items: center;
  color: var(--primary, #009FE3);
  margin-bottom: 6px;
}
.mod-icon svg { width: 18px; height: 18px; }
.mod-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink, #0F172A);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.mod-desc {
  font-size: 14px;
  color: var(--ink-soft, #475569);
  line-height: 1.6;
  margin: 0;
}
.mod-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-muted, #94A3B8);
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .module-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body.page-id-22 .area { padding: 64px 0; }
  .module-grid.cols-3,
  .module-grid.cols-2 { grid-template-columns: 1fr; }
}

/* Blog page: tighter gap between archive grid and final CTA. */
body.page-template-page-blog .cta-section {
  padding-top: 40px;
}

/* === FAQ page === */
html { scroll-behavior: smooth; }

/* Hero — dark slate background, white type */
.faq-hero {
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(0, 159, 227, 0.18), transparent 70%),
    radial-gradient(ellipse 600px 300px at 90% 100%, rgba(125, 211, 252, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.faq-hero .wp-block-cover__inner-container { position: relative; z-index: 2; max-width: 760px; }
.faq-hero-title { max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-hero-intro { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Page wrap — soft gray, holds TOC + sections */
.faq-wrap {
  position: relative;
}
.faq-wrap > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* TOC */
.faq-toc {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 32px rgba(15, 23, 42, 0.04);
}
.faq-toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.faq-toc-list li { list-style: none; padding: 0; margin: 0; border-top: 1px solid #F1F5F9; }
.faq-toc-list li:first-child,
.faq-toc-list li:nth-child(2) { border-top: 0; }
.faq-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 16px;
  margin: 0 -16px;
  border-radius: 10px;
  color: #0F172A;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
  transition: background-color .15s ease, color .15s ease;
}
.faq-toc-list a:hover { background: #F8FAFC; color: #009FE3; }
.faq-toc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 18px;
}
.faq-toc-list a:hover .faq-toc-num { color: #009FE3; }
.faq-toc-text { font-weight: 500; }
@media (max-width: 720px) {
  .faq-toc-list { grid-template-columns: 1fr; }
  .faq-toc-list li:nth-child(2) { border-top: 1px solid #F1F5F9; }
}

/* Section card */
.faq-section {
  scroll-margin-top: 96px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.faq-section-head {
  align-items: flex-start !important;
  gap: 20px;
}
.faq-section-num {
  font-family: 'JetBrains Mono', monospace;
  line-height: 1 !important;
}
.faq-section-title { color: #0F172A; }

/* Details / FAQ accordion */
.faq-section .wp-block-details {
  margin: 0 0 10px 0;
  background: #F8FAFC;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.faq-section .wp-block-details:hover {
  background: #F1F5F9;
}
.faq-section .wp-block-details[open] {
  background: #FFFFFF;
  border-color: #009FE3 !important;
  box-shadow: 0 4px 16px rgba(0, 159, 227, 0.10);
}
.faq-section .wp-block-details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #0F172A;
  line-height: 1.4;
  padding-right: 36px;
  position: relative;
  list-style: none;
  outline: none;
}
.faq-section .wp-block-details > summary::-webkit-details-marker { display: none; }
.faq-section .wp-block-details > summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #475569;
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.faq-section .wp-block-details[open] > summary::after {
  content: "−";
  background: #009FE3;
  color: #FFFFFF;
  transform: translateY(-50%) rotate(180deg);
}
.faq-section .wp-block-details > summary:hover { color: #009FE3; }
.faq-section .wp-block-details > summary:hover::after { background: #BAE6FD; color: #0369A1; }

.faq-section .wp-block-details > *:not(summary) {
  margin-top: 14px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}
.faq-section .wp-block-details p { margin: 8px 0; }
.faq-section .wp-block-details ul,
.faq-section .wp-block-details ol {
  margin: 10px 0 0 0;
  padding-left: 22px;
}
.faq-section .wp-block-details ul li,
.faq-section .wp-block-details ol li {
  margin-bottom: 8px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}
.faq-section .wp-block-details ul li strong { color: #0F172A; }
.faq-section .wp-block-details code {
  background: #F1F5F9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: #405471;
  border: 1px solid #E2E8F0;
}
.faq-section .wp-block-details a {
  color: #009FE3;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 159, 227, 0.3);
  transition: border-color .15s ease;
}
.faq-section .wp-block-details a:hover { border-bottom-color: #009FE3; }

/* Section intro paragraph (under H2, before first Q&A) */
.faq-section > .wp-block-paragraph,
.faq-section > p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin: -20px 0 28px 0;
}

@media (max-width: 720px) {
  .faq-section {
    padding: 36px 22px !important;
  }
  .faq-section-head { flex-direction: column !important; gap: 8px; }
  .faq-section-num { font-size: 30px !important; }
  .faq-section-title { font-size: 24px !important; }
  .faq-hero-title { font-size: 36px !important; }
  .faq-hero-intro { font-size: 16px !important; }
  .faq-wrap { padding-left: 16px !important; padding-right: 16px !important; }
}

/* === Mobile nav (hamburger + drawer) === */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line, #E2E8F0);
  background: var(--bg, #fff);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.nav-toggle:hover { background: var(--bg-soft, #F8FAFC); border-color: var(--line-strong, #CBD5E1); }
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink, #0F172A);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav.is-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg, #fff);
  padding: 28px 24px 40px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--line, #E2E8F0);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  overflow-y: auto;
  z-index: 90;
}
.mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #0F172A);
  text-decoration: none;
  border-bottom: 1px solid var(--line, #E2E8F0);
  transition: color 0.15s ease;
}
.mobile-menu a:hover,
.mobile-menu a:focus-visible { color: var(--primary, #009FE3); }
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.mobile-menu-cta .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav .nav-links,
  .nav .nav-cta { display: none !important; }
  .mobile-menu.is-open { display: flex; }
  body.nav-locked { overflow: hidden; }
}
