﻿    /* ========================
       ZMIENNE I RESET
    ======================== */
    :root {
      --navy:        #162840;
      --navy-mid:    #1f3a54;
      --gold:        #d4880a;
      --gold-light:  #f0a820;
      --gold-pale:   #fff8eb;
      --text:        #1c2430;
      --muted:       #5f6b7a;
      --bg:          #f5f7fa;
      --bgl:          #ffffff;
      --card:        #ffffff;
      --border:      #e2e8f0;
      --radius-sm:   8px;
      --radius-md:   14px;
      --radius-lg:   22px;
      --shadow-sm:   0 2px 8px rgba(15,35,66,.07);
      --shadow-md:   0 6px 24px rgba(15,35,66,.12);
      --shadow-lg:   0 16px 48px rgba(15,35,66,.18);
      --transition:  .22s ease;


      --navy:        rgb(37, 120, 168);
      --navy-mid:    rgb(48, 88, 130);
      --gold:        #ffa600;
      --gold-light:  #ffa600;
      --gold-pale:   #fff8eb;
      --text:        #1c2430;
      --muted:       #5f6b7a;
      --bg:          #f5f7fa;
      --bgl:          #ffffff;
      --card:        #ffffff;
      --border:      #e2e8f0;
      --radius-sm:   8px;
      --radius-md:   14px;
      --radius-lg:   22px;
      --shadow-sm:   0 2px 8px rgba(15,35,66,.07);
      --shadow-md:   0 6px 24px rgba(15,35,66,.12);
      --shadow-lg:   0 16px 48px rgba(15,35,66,.18);
      --transition:  .22s ease;

    }

    .hero-overlay {
      background: linear-gradient(
        105deg,
        rgb(20, 83, 122) 0%,
        rgba(20, 84, 124, 0.82) 35%,
        rgba(37, 120, 168, 0) 80%
      );
    }

    .hero-badge {
      background: rgba(212,136,10,.2);
      border: 1px solid rgba(212,136,10,.5);
      color: var(--gold-light);
    }


    .hero-stats{
      background: rgba(23, 77, 110, 0.75);
      border-top: 1px solid rgba(255,255,255,.08);
    }

    .logo{
      color: var(--gold);  
      color: #333;
    }

    .logo span{
      color: var(--navy);
      color: #333
    }

    .footer-brand .logo, .footer-brand .logo span{
      color:#fff;
    }

    h2{
      color:#333 !important;
    }

    .cta-banner h2{
      color:#fff !important;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', Arial, sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.65;
      font-size: 1rem;
    }

    img { display: block; max-width: 100%; }

    a { color: inherit; text-decoration: none; }

    /* Bazowe style list — niezbędne gdy front.css ładowany jest w TinyMCE (ACF WYSIWYG),
       gdzie ciało edytora nie ma klas kontekstowych (.entry-content itp.).
       Na froncie nadpisują je bardziej specyficzne selektory. */
    ol { padding-inline-start: 2em; }
    ol > li { list-style-type: decimal; }
    ol > li > ol > li { list-style-type: lower-alpha; }
    ol > li > ol > li > ol > li { list-style-type: lower-roman; }

    .container {
      width: min(1160px, 92%);
      margin: 0 auto;
    }

    /* ========================
       TOPBAR / NAWIGACJA
    ======================== */
    .topbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
    }

    .topbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 76px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 1.15rem;
      font-weight: 900;
      letter-spacing: .5px;

      white-space: nowrap;
    }


    .logo-icon {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav a {
      padding: 8px 14px;
      border-radius: var(--radius-sm);
      font-size: .92rem;
      font-weight: 600;
      color: var(--navy-mid);
      transition: background var(--transition), color var(--transition);
    }

    .nav a:hover {
      background: var(--gold-pale);
      color: var(--gold);
    }

    /* hamburger */
    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      border-radius: var(--radius-sm);
      transition: background var(--transition);
      flex-shrink: 0;
    }

    .menu-toggle:hover { background: var(--gold-pale); }

    .menu-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--navy);
      border-radius: 2px;
      transition: transform .3s ease, opacity .3s ease;
      transform-origin: center;
    }

    .menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* menu mobilne */
    .mobile-nav {
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
      background: #fff;
      border-top: 1px solid var(--border);
    }

    .mobile-nav.open { max-height: 420px; }

    .mobile-nav-inner {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 16px 0 20px;
    }

    .mobile-nav a {
      padding: 11px 16px;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-weight: 600;
      color: var(--navy);
      transition: background var(--transition), color var(--transition);
    }

    .mobile-nav a:hover {
      background: var(--gold-pale);
      color: var(--gold);
    }

    .mobile-nav .btn {
      margin-top: 8px;
      justify-content: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 12px 22px;
      border-radius: var(--radius-sm);
      border: none;
      cursor: pointer;
      font-family: inherit;
      font-size: .95rem;
      font-weight: 700;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
      text-decoration: none;
    }

    .btn-primary {
      background: var(--gold);
      color: #fff;
      box-shadow: 0 4px 18px rgba(212,136,10,.35);
    }

    .btn-primary:hover {
      background: #b87308;
      transform: translateY(-2px);
      box-shadow: 0 8px 28px rgba(212,136,10,.45);
    }

    .btn-outline {
      background: transparent;
      color: var(--navy);
      border: 2px solid var(--navy);
    }

    .btn-outline:hover {
      background: var(--navy);
      color: #fff;
    }

    .btn-white {
      background: #fff;
      color: var(--navy);
    }

    .btn-white:hover {
      background: var(--gold-pale);
      transform: translateY(-2px);
    }

    /* ========================
       HERO
    ======================== */
    .hero {
      position: relative;
      min-height: 92vh;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: none;
      background-size: cover;
      background-position: center 30%;
      transform: scale(1.03);
      transition: transform 8s ease;
    }

    .hero:hover .hero-bg { transform: scale(1); }

    .hero-overlay {
      position: absolute;
      inset: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding: 80px 0;
      max-width: 75%;
    }



    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 16px;
      border-radius: 999px;
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .6px;
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .hero h1 {
      font-size: clamp(2rem, 4.5vw, 3.6rem);
      font-weight: 900;
      line-height: 1.15;
      color: #fff;
      margin-bottom: 22px;
    }

    .hero h1 .accent,
    .hero h1 .hero-title__accent { color: var(--gold-light); }

    .hero-lead {
      font-size: 1.1rem;
      color: rgba(255,255,255,.82);
      margin-bottom: 32px;
      max-width: 55ch;
    }

    .hero-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 13px;
      margin-bottom: 38px;
      margin-left: 0;
      margin-inline-start: 0;
      padding-left: 0;
      padding-inline-start: 0;
    }

    .hero-bullets li {
      display: flex;
      align-items: center;
      gap: 12px;
      color: rgba(255,255,255,.9) !important;
      font-size: .97rem;
      font-weight: 500;
    }

    .hero-bullets .icon-circle {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      background: rgba(212,136,10,.25);
      border: 1px solid rgba(212,136,10,.5);
      display: grid;
      place-items: center;
      flex-shrink: 0;
      color: var(--gold-light);
      font-size: .85rem;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
    }

    .hero-phone {
      color: rgba(255,255,255,.75);
      font-size: .9rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hero-phone a {
      color: var(--gold-light);
      font-weight: 700;
      font-size: 1.05rem;
    }

    /* stats bar */
    .hero-stats {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      backdrop-filter: blur(10px);
    }

    .hero-stats-inner {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      text-align: center;
    }

    .stat-item {
      padding: 20px 16px;
      border-right: 1px solid rgba(255,255,255,.08);
    }

    .stat-item:last-child { border-right: none; }

    .stat-value {
      font-size: 1.8rem;
      font-weight: 900;
      color: var(--gold-light);
      line-height: 1;
    }

    .stat-label {
      font-size: .8rem;
      color: rgba(255,255,255,.6);
      margin-top: 4px;
    }

    /* ========================
       SEKCJE OGÓLNE
    ======================== */
    section { padding: 80px 0; }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 10px;
    }

    .section-tag__icon {
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }

    h2 {
      font-size: clamp(1.55rem, 2.4vw, 2.35rem);
      font-weight: 800;
      color: var(--navy);
      line-height: 1.25;
      margin-bottom: 14px;
    }

    .section-intro {
      color: var(--muted);
      max-width: 72ch;
      margin: 0 auto 42px;
      font-size: 1.02rem;
    }

    .section-head {
      text-align: center;
    }

    /* ========================
       DLACZEGO WARTO
    ======================== */
    .benefits { background: #fff; }

    .benefits-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 22px;
    }

    .benefit-card {
      flex: 1 1 260px;
      max-width: 360px;
      padding: 28px 26px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      background: #fff;
      box-shadow: var(--shadow-sm);
      text-align: center;
      transition: box-shadow var(--transition), transform var(--transition);
    }

    .benefit-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .benefit-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      background: var(--gold-pale);
      display: grid;
      place-items: center;
      font-size: 1.3rem;
      color: var(--gold);
      margin: 0 auto 18px;
    }

    .benefit-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }

    .benefit-card p {
      font-size: .93rem;
      color: var(--muted);
    }

    /* ========================
       JAKIE MIESZKANIA
    ======================== */
    .offer { background: var(--bg); }

    .offer-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    .offer-card {
      flex: 1 1 280px;
      max-width: 380px;
      padding: 26px 24px;
      border-radius: var(--radius-md);
      background: #fff;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      display: flex;
      gap: 18px;
      align-items: flex-start;
      transition: box-shadow var(--transition), transform var(--transition);
    }

    .offer-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    .offer-icon {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      display: grid;
      place-items: center;
      font-size: 1.1rem;
      color: #fff;
      flex-shrink: 0;
    }

    .offer-card h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 6px;
    }

    .offer-card p {
      font-size: .9rem;
      color: var(--muted);
    }

    /* ========================
       KROKI
    ======================== */
    .steps-section { background: #fff; }

    .steps-grid {
      display: grid;
      gap: 16px;
      max-width: 760px;
      margin: 0 auto;
    }

    .step {
      display: grid;
      grid-template-columns: 60px 1fr;
      gap: 20px;
      align-items: start;
      padding: 22px 24px;
      border-radius: var(--radius-md);
      background: var(--bg);
      border: 1px solid var(--border);
      transition: border-color var(--transition), box-shadow var(--transition);
    }

    .step:hover {
      border-color: var(--gold);
      box-shadow: var(--shadow-sm);
    }

    .step-num {
      width: 50px;
      height: 50px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 1.2rem;
      font-weight: 900;
      box-shadow: 0 4px 14px rgba(212,136,10,.35);
    }

    .step-heading {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      column-gap: 8px;
      row-gap: 4px;
      font-size: 1.02rem;
      font-weight: 700;
      color: var(--navy);
      margin: 0 0 5px;
    }

    .step-heading__icon {
      display: inline-flex;
      align-items: center;
      color: var(--gold);
      font-size: 0.9em;
      line-height: 1;
    }

    .step-heading__icon i {
      color: inherit;
    }

    .step-heading__title {
      flex: 1 1 auto;
      min-width: 0;
      margin: 0;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
      color: inherit;
    }

    .step p {
      font-size: .9rem;
      color: var(--muted);
    }

    /* ========================
       CTA BANNER
    ======================== */
    .cta-banner {
      background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
      padding: 70px 0;
    }

    .cta-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

    .cta-text h2 { color: #fff; margin-bottom: 10px; }

    .cta-text p,
    .cta-text__body {
      color: rgba(255,255,255,.72);
      font-size: 1.05rem;
      max-width: 52ch;
    }

    .cta-text__body {
      white-space: pre-line;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    /* ========================
       DLA KOGO
    ======================== */
    .for-whom { background: var(--bg); }

    .for-whom-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-width: 820px;
      margin: 0 auto;
      padding-left: 0;
      padding-inline-start: 0;
    }

    .for-whom-list li {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px 18px;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-sm);
      font-size: .95rem;
      color: var(--text);
      transition: border-color var(--transition);
    }

    .for-whom-list li:hover { border-color: var(--gold); }

    .for-whom-list__icon {
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      margin-top: 2px;
      color: var(--gold);
      font-size: 1rem;
    }

    .for-whom-list__icon i {
      color: inherit;
    }

    .for-whom-list__text {
      flex: 1;
      min-width: 0;
    }

    /* ========================
       O NAS
    ======================== */
    .about { background: #fff; }

    .about-inner {
      max-width: 820px;
      margin: 0 auto;
      text-align: center;
    }

    .about-text {
      margin-bottom: 40px;
    }

    .about-text p {
      color: var(--muted);
      margin-bottom: 14px;
      font-size: .98rem;
      line-height: 1.75;
    }

    .about-text p:last-child { margin-bottom: 0; }

    .about-numbers {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .about-num-card {
      padding: 28px 22px;
      border-radius: var(--radius-md);
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      color: #fff;
      text-align: center;
    }

    .about-num-icon {
      font-size: 1.5rem;
      color: var(--gold-light);
      margin-bottom: 12px;
    }

    .about-num-card .big {
      font-size: 2.6rem;
      font-weight: 900;
      color: var(--gold-light);
      line-height: 1;
    }

    .about-num-card .label {
      font-size: .82rem;
      color: rgba(255,255,255,.7);
      margin-top: 8px;
    }

    /* ========================
       FAQ
    ======================== */
    .faq-section { background: var(--bgl); }

    .faq-list {
      display: grid;
      gap: 12px;
      max-width: 820px;
      margin: 0 auto;
    }

    details {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: box-shadow var(--transition);
    }

    details[open] {
      border-color: var(--gold);
      box-shadow: var(--shadow-sm);
    }

    summary {
      cursor: pointer;
      padding: 18px 20px;
      font-weight: 700;
      font-size: .98rem;
      color: var(--navy);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      list-style: none;
      user-select: none;
    }

    summary::-webkit-details-marker { display: none; }

    summary::after {
      content: '\f078';
      font-family: 'Font Awesome 7 Pro';
      font-weight: 900;
      font-size: .78rem;
      color: var(--gold);
      transition: transform var(--transition);
      flex-shrink: 0;
    }

    details[open] summary::after { transform: rotate(180deg); }

    .faq-answer {
      padding: 0 20px 18px;
      color: var(--muted);
      font-size: .94rem;
      border-top: 1px solid var(--border);
      padding-top: 16px;
    }

    /* ========================
       KONTAKT
    ======================== */
    .contact-section { background: #fff; }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 36px;
      align-items: start;
    }

    .contact-info-card {
      background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
      padding: 36px;
      border-radius: var(--radius-lg);
      color: #fff;
      min-width: 0;
      overflow: hidden;
    }

    .contact-info-card h3 {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .contact-info-card .sub {
      color: rgba(255,255,255,.65);
      font-size: .92rem;
      margin-bottom: 30px;
    }

    .contact-items {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .contact-item-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: var(--gold-light);
      font-size: 1rem;
      flex-shrink: 0;
    }

    .contact-item-text .label {
      font-size: .75rem;
      color: rgba(255,255,255,.5);
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    .contact-item-text {
      min-width: 0;
    }

    .contact-item-text a,
    .contact-item-text span {
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      display: block;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .contact-item-text a:hover { color: var(--gold-light); }

    .contact-form-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 36px;
    }

    .contact-form-card h3 {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 6px;
    }

    .contact-form-card .sub {
      color: var(--muted);
      font-size: .9rem;
      margin-bottom: 0;
    }

    .form-group {
      display: grid;
      gap: 12px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .field label {
      display: block;
      font-size: .82rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 6px;
    }

    /* Contact Form 7 — odstępy tylko między wierszami wewnątrz formularza (bez „pudełka” przed/po) */
    .contact-form-card .artgate-cf7-form {
      margin: 0;
      padding: 0;
    }

    .contact-form-card .artgate-cf7-form .wpcf7 {
      margin: 0;
      padding: 0;
    }

    .contact-form-card .artgate-cf7-form .wpcf7 > .screen-reader-response {
      margin: 0;
      padding: 0;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form,
    .contact-form-card .artgate-cf7-form form.wpcf7-form {
      display: grid;
      gap: 12px;
      margin: 0;
      padding: 0;
    }

    /* Zsuń szczelinę gridu między ukrytym fieldset a pierwszym widocznym wierszem */
    .contact-form-card .artgate-cf7-form .wpcf7-form > fieldset.hidden-fields-container {
      margin: 0 0 -12px;
      padding: 0;
      border: 0;
      align-self: start;
    }

    /* Układ jak index.html: .form-row (dwie kolumny) — nadpisuje domyślny flex kolumna z poniższej reguły */
    .contact-form-card .artgate-cf7-form .wpcf7-form > div.form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      flex-direction: unset;
      align-items: start;
    }

    @media (max-width: 820px) {
      .contact-form-card .artgate-cf7-form .wpcf7-form > div.form-row {
        grid-template-columns: 1fr;
      }
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form > div.form-row > .field {
      display: flex;
      flex-direction: column;
      gap: 0;
      min-width: 0;
    }

    /* Zgoda RODO — mniejsza czcionka, spójna z formularzem */
    .contact-form-card .artgate-cf7-form .field--consent .wpcf7-acceptance .wpcf7-list-item label {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .8rem;
      line-height: 1.45;
      color: var(--muted);
      font-weight: 500;
      margin: 0;
      cursor: pointer;
    }

    .contact-form-card .artgate-cf7-form .field--consent .wpcf7-acceptance input[type="checkbox"] {
      margin-top: 0.2rem;
      flex-shrink: 0;
      width: auto;
      min-width: 1rem;
    }

    .contact-form-card .artgate-cf7-form .field--consent .wpcf7-list-item-label a {
      color: var(--navy);
      font-weight: 600;
      text-decoration: underline;
    }

    .contact-form-card .artgate-cf7-form .field--consent .wpcf7-list-item-label a:hover {
      color: var(--gold);
    }

    /* index.html — statyczny formularz (ta sama typografia co CF7) */
    .contact-form-card form.form-group .field--consent label {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .8rem;
      line-height: 1.45;
      color: var(--muted);
      font-weight: 500;
      margin: 0;
      cursor: pointer;
    }

    .contact-form-card form.form-group .field--consent input[type="checkbox"] {
      margin-top: 0.2rem;
      flex-shrink: 0;
      width: auto;
      min-width: 1rem;
    }

    .contact-form-card form.form-group .field--consent a {
      color: var(--navy);
      font-weight: 600;
      text-decoration: underline;
    }

    /* CF7: pojedyncze pola w <p> lub <div> — flex kolumna. NIE obejmuje .form-row (tam siatka 2 kolumny wyżej). */
    .contact-form-card .artgate-cf7-form .wpcf7-form > p,
    .contact-form-card .artgate-cf7-form .wpcf7-form > div:not(.wpcf7-response-output):not(.form-row) {
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
      min-width: 0;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form > p br {
      display: none;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form > p:has(input[type="submit"]),
    .contact-form-card .artgate-cf7-form .wpcf7-form > p:has(button[type="submit"]),
    .contact-form-card .artgate-cf7-form .wpcf7-form > p:has(button.btn-primary) {
      flex-direction: row;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form fieldset {
      margin: 0;
      padding: 0;
      border: 0;
      min-width: 0;
      display: grid;
      gap: 12px;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form fieldset p {
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-form-control-wrap {
      display: block;
      margin: 0;
    }

    /* Jak .field label w index.html: tylko odstęp pod etykietą, bez dodatkowego gap z kontenera */
    .contact-form-card .artgate-cf7-form label {
      display: block;
      font-size: .82rem;
      font-weight: 600;
      color: var(--navy);
      margin: 0 0 6px;
    }

    .contact-form-card .artgate-cf7-form .ajax-loader,
    .contact-form-card .artgate-cf7-form .wpcf7-spinner {
      margin: 0 0 0 8px;
      vertical-align: middle;
    }

    .contact-form-card .artgate-cf7-form input[type="text"],
    .contact-form-card .artgate-cf7-form input[type="email"],
    .contact-form-card .artgate-cf7-form input[type="tel"],
    .contact-form-card .artgate-cf7-form input[type="url"],
    .contact-form-card .artgate-cf7-form input[type="number"],
    .contact-form-card .artgate-cf7-form select,
    .contact-form-card .artgate-cf7-form textarea {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      font: inherit;
      font-size: .94rem;
      background: #fff;
      color: var(--text);
      transition: border-color var(--transition), box-shadow var(--transition);
      outline: none;
      box-sizing: border-box;
    }

    .contact-form-card .artgate-cf7-form input:focus,
    .contact-form-card .artgate-cf7-form textarea:focus,
    .contact-form-card .artgate-cf7-form select:focus {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(212,136,10,.12);
    }

    .contact-form-card .artgate-cf7-form textarea {
      min-height: 120px;
      line-height: 1.5;
      resize: vertical;
      box-sizing: border-box;
    }

    .contact-form-card .artgate-cf7-form input[type="submit"],
    .contact-form-card .artgate-cf7-form button[type="submit"] {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      width: 100%;
      padding: 14px 22px;
      border: none;
      border-radius: var(--radius-sm);
      background: var(--gold);
      color: #fff;
      font: inherit;
      font-size: .95rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 4px 18px rgba(212,136,10,.35);
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    }

    .contact-form-card .artgate-cf7-form input[type="submit"]:hover,
    .contact-form-card .artgate-cf7-form button[type="submit"]:hover {
      background: #b87308;
      transform: translateY(-2px);
    }

    .contact-form-card .artgate-cf7-form .wpcf7-not-valid-tip {
      font-size: .8rem;
      margin-top: 4px;
      color: #b91c1c;
    }

    .contact-form-card .artgate-cf7-form .wpcf7-response-output {
      margin: 0;
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      font-size: .88rem;
    }

    input, textarea, select {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 12px 14px;
      font: inherit;
      font-size: .94rem;
      background: #fff;
      color: var(--text);
      transition: border-color var(--transition), box-shadow var(--transition);
      outline: none;
    }

    input:focus, textarea:focus, select:focus {
      border-color: var(--gold);
      box-shadow: 0 0 0 3px rgba(212,136,10,.12);
    }

    textarea {
      min-height: 120px;
      resize: vertical;
    }

    /* ========================
       BLOG
    ======================== */
    .blog-section { background: var(--bg); }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 22px;
    }

    .blog-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: box-shadow var(--transition), transform var(--transition);
    }

    .blog-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-4px);
    }

    .blog-card-img {
      height: 200px;
      overflow: hidden;
      position: relative;
    }

    .blog-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .5s ease;
    }

    /* Logo zastępcze — mieści się w szarym polu (nie rozciągać jak okładka) */
    .blog-card-img.blog-card-img--placeholder img.blog-card-placeholder-logo {
      width: auto;
      height: auto;
      max-width: min(72%, 200px);
      max-height: min(50%, 100px);
      object-fit: contain;
    }

    .blog-card:hover .blog-card-img img {
      transform: scale(1.06);
    }

    .blog-card:hover .blog-card-img--placeholder img.blog-card-placeholder-logo {
      transform: none;
    }

    .blog-more {
      text-align: center;
      margin-top: 40px;
    }

    .blog-card-body { padding: 22px 20px; }

    .blog-tag {
      font-size: .75rem;
      font-weight: 700;
      color: var(--gold);
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-bottom: 8px;
    }

    .blog-card-body h3 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .blog-card-body p {
      font-size: .88rem;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .blog-link {
      font-size: .88rem;
      font-weight: 700;
      color: var(--gold);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap var(--transition);
    }

    .blog-link:hover { gap: 10px; }

    /* ========================
       FOOTER
    ======================== */
    footer {
      background: var(--navy);
      color: rgba(255,255,255,.6);
      padding: 48px 0 32px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand .logo {
      font-size: 1.2rem;
      margin-bottom: 12px;
    }
    .footer-brand .logo-icon {
      width: 20px;
      height: 20px;
    }

    .footer-brand p {
      font-size: .88rem;
      line-height: 1.7;
      max-width: 36ch;
    }

    .footer-col h4 {
      font-size: .9rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    .footer-col ul {
      list-style: none;
      margin-left: 0;
      margin-inline-start: 0;
      padding-left: 0;
      padding-inline-start: 0;
    }

    .footer-col ul li { margin-bottom: 8px; }

    .footer-col ul li a {
      font-size: .88rem;
      color: rgba(255,255,255,.55);
      transition: color var(--transition);
    }

    .footer-col ul li a:hover { color: var(--gold-light); }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.08);
      padding-top: 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: .84rem;
    }

    .footer-bottom a {
      color: rgba(255,255,255,.45);
      transition: color var(--transition);
    }

    .footer-bottom a:hover { color: var(--gold-light); }

    .footer-bottom-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
    }

    .footer-bottom-links a {
      color: rgba(255,255,255,.45);
      transition: color var(--transition);
    }

    .footer-bottom-links a:hover {
      color: var(--gold-light);
    }

    /* ========================
       SCROLL-TO-TOP
    ======================== */
    .scroll-top {
      position: fixed;
      bottom: 28px;
      right: 28px;
      z-index: 50;
      width: 46px;
      height: 46px;
      border-radius: 999px;
      background: var(--gold);
      color: #fff;
      display: grid;
      place-items: center;
      font-size: 1rem;
      cursor: pointer;
      border: none;
      box-shadow: 0 4px 18px rgba(212,136,10,.4);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition), transform var(--transition);
      padding: 0 !important;
    }

    .scroll-top.visible {
      opacity: 1;
      pointer-events: all;
    }

    .scroll-top:hover { transform: translateY(-3px); }

    /* ========================
       BOCZNY PRZYCISK KONTAKT
    ======================== */
    .side-contact {
      position: fixed;
      right: 0;
      top: 30%;
      transform: translateY(-50%);
      z-index: 90;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--gold);
      color: #fff;
      font-family: inherit;
      font-size: .85rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      padding: 18px 12px;
      border-radius: var(--radius-sm) 0 0 var(--radius-sm);
      text-decoration: none;
      box-shadow: -4px 0 20px rgba(212,136,10,.3);
      transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
    }

    .side-contact i {
      writing-mode: horizontal-tb;
      font-size: .9rem;
    }

    .side-contact:hover {
      background: #b87308;
      padding: 18px 16px;
      box-shadow: -6px 0 28px rgba(212,136,10,.45);
    }

    @media (max-width: 640px) {
      .side-contact { display: none; }
    }

    /* ========================
       RESPONSYWNOŚĆ
    ======================== */
    @media (max-width: 640px) {
      .about-numbers { grid-template-columns: 1fr; }
    }

    @media (max-width: 820px) {
      .hero { min-height: 100svh; }
      .hero-stats-inner { grid-template-columns: 1fr; }
      .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
      .stat-item:last-child { border-bottom: none; }
      .contact-grid,
      .footer-grid { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .cta-inner { flex-direction: column; align-items: flex-start; }
    }

    @media (max-width: 640px) {
      section { padding: 60px 0; }
      .nav { display: none; }
      .topbar-cta { display: none; }
      .menu-toggle { display: flex; }
      .hero-content { max-width: 100%; padding-top: 30px; padding-bottom: 300px; }
      .about-numbers { grid-template-columns: 1fr; }
      .contact-info-card { padding: 24px 20px; }
      .contact-form-card { padding: 24px 20px; }
    }

    /* Treść (wpisy / strony / bloki): ul, ol — wcięcie i styl jak w index.html (.about-text).
       Bloki layoutowe z własną listą: .hero-bullets, .for-whom-list — pomijamy (nie są „prozą” treści). */
    .site-main .entry-content :is(ul, ol):not(.wp-block-navigation__submenu-container):not(.wp-block-page-list):not(.hero-bullets):not(.for-whom-list),
    .site-main .page-content :is(ul, ol):not(.wp-block-navigation__submenu-container):not(.hero-bullets):not(.for-whom-list),
    .about-text :is(ul, ol),
    .faq-answer :is(ul, ol),
    .comment-content :is(ul, ol) {
      /* Tylko pion — skrót margin zerowałby margin-left/right z .entry-content > *. */
      margin-top: 0.65em;
      margin-bottom: 1em;
      padding-inline-start: 1.45em;
      list-style-position: outside;
    }

    .site-main .entry-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) :is(ul, ol),
    .about-text :is(ul, ol) :is(ul, ol),
    .faq-answer :is(ul, ol) :is(ul, ol),
    .comment-content :is(ul, ol) :is(ul, ol) {
      margin-top: 0.4em;
      margin-bottom: 0.4em;
      padding-inline-start: 1.2em;
    }

    .site-main .entry-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) > li,
    .site-main .page-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) > li,
    .about-text :is(ul, ol) > li,
    .faq-answer :is(ul, ol) > li,
    .comment-content :is(ul, ol) > li {
      margin: 0.3em 0;
      padding-inline-start: 0.2em;
      line-height: 1.75;
      font-size: 0.98rem;
      color: var(--muted);
    }

    .site-main .entry-content ul:not(.wp-block-navigation__submenu-container):not(.hero-bullets):not(.for-whom-list) > li::marker,
    .site-main .page-content ul:not(.hero-bullets):not(.for-whom-list) > li::marker,
    .about-text ul > li::marker,
    .faq-answer ul > li::marker,
    .comment-content ul > li::marker {
      color: var(--gold);
    }

    .site-main .entry-content ol > li::marker,
    .site-main .page-content ol > li::marker,
    .about-text ol > li::marker,
    .faq-answer ol > li::marker,
    .comment-content ol > li::marker {
      color: var(--navy-mid);
      font-weight: 600;
    }

    .site-main .entry-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a,
    .site-main .page-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a,
    .about-text :is(ul, ol) li > a,
    .faq-answer :is(ul, ol) li > a,
    .comment-content :is(ul, ol) li > a {
      color: var(--navy-mid);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color var(--transition);
    }

    .site-main .entry-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a:hover,
    .site-main .entry-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a:focus-visible,
    .site-main .page-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a:hover,
    .site-main .page-content :is(ul, ol):not(.hero-bullets):not(.for-whom-list) li > a:focus-visible,
    .about-text :is(ul, ol) li > a:hover,
    .about-text :is(ul, ol) li > a:focus-visible,
    .faq-answer :is(ul, ol) li > a:hover,
    .faq-answer :is(ul, ol) li > a:focus-visible,
    .comment-content :is(ul, ol) li > a:hover,
    .comment-content :is(ul, ol) li > a:focus-visible {
      color: var(--gold);
    }

    /* Polityka prywatności: I → 1,2,3 → a,b,c — ciągła hierarchia zagnieżdżonych <ol> */
    /* Struktura ol — padding, marginesy, pozycja markera (bez list-style-type) */
    .entry-content .artgate-privacy-policy ol {
      list-style-position: outside;
      margin: 0.5em 0 1.25em;
      padding-left: 2.5em;
    }

    .entry-content .artgate-privacy-policy ol > li > ol {
      list-style-position: outside;
      margin: 0 0 0.85em;
      padding-left: 1.75em;
    }

    .entry-content .artgate-privacy-policy ol > li > ol > li > ol {
      list-style-position: outside;
      margin: 0.5em 0 0.85em;
      padding-left: 1.65em;
    }

    /* list-style-type bezpośrednio na li — bije zawsze dziedziczone i niżej specyficzne reguły */
    .entry-content .artgate-privacy-policy ol > li {
      list-style-type: upper-roman;
    }

    .entry-content .artgate-privacy-policy ol > li > ol > li {
      list-style-type: decimal;
    }

    .entry-content .artgate-privacy-policy ol > li > ol > li > ol > li {
      list-style-type: lower-alpha;
    }

    .entry-content .artgate-privacy-policy ol > li > h2 {
      margin: 0 0 0.65em;
      font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    }

    .entry-content .artgate-privacy-policy ol > li > p {
      margin: 0.65em 0 0;
    }

    .entry-content .artgate-privacy-policy ol > li > ol > li > p {
      margin: 0 0 0.5em;
    }

    .entry-content .artgate-privacy-policy ol > li > ol > li > p + ol {
      margin-top: 0.35em;
    }

    /* Markery list (I, 1, a) — ta sama czcionka i ton co treść; bez domyślnego szeryfu / pogrubienia z ogólnych reguł ol. */
    .site-main .entry-content .artgate-privacy-policy ol > li::marker {
      font-family: 'Inter', Arial, sans-serif;
      color: var(--muted);
      font-weight: 400;
      font-size: 0.98rem;
    }

    /* WordPress: menu list inside .nav */
    .nav ul,
    .nav #primary-menu {
      display: flex;
      align-items: center;
      gap: 6px;
      list-style: none;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
    }

    .nav li {
      margin: 0;
      padding: 0;
    }

    .logo--custom .custom-logo-link {
      display: inline-flex;
      align-items: center;
    }

    /* ACF logo image — nagłówek */
    .logo--acf {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
    }

    .topbar .logo--acf .logo-img {
      max-height: 48px;
      width: auto;
      max-width: 200px;
      display: block;
      object-fit: contain;
    }

    /* ACF logo image — stopka */
    .footer-brand .logo--acf .logo-img {
      max-height: 52px;
      width: auto;
      max-width: 200px;
      display: block;
      object-fit: contain;
      /* Jeśli stopkowe logo jest kolorowe (ciemne) i chcesz je wybielić na ciemnym tle, odkomentuj:
         filter: brightness(0) invert(1); */
    }

    .mobile-nav-inner .mobile-primary-menu,
    .mobile-nav-inner ul {
      display: flex;
      flex-direction: column;
      gap: 4px;
      list-style: none;
      margin: 0;
      padding: 16px 0 20px;
    }

    .mobile-nav-inner li {
      margin: 0;
      padding: 0;
    }

    .site-main--single .artgate-single-inner {
      padding: 48px 0 80px;
    }

    .site-main--single .entry-title {
      margin-bottom: 0.5em;
    }

    /* Obrazki we wpisach — max-width dopasowane do szerokości treści */
    .site-main--single .entry-content img {
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: var(--radius-sm, 8px);
    }

    .artgate-admin-note {
      padding: 12px;
      background: #fff3cd;
      border-radius: var(--radius-sm, 8px);
      font-size: 0.9rem;
    }

    /* ========================
       SYSTEM WYRÓWNAŃ BLOKÓW (ALIGN-WIDE)
       Uniwersalny — działa tak samo wszędzie (strona główna, podstrony, wpisy).

       Brak wyrównania  →  główna szerokość treści (--artgate-content-width)
       alignwide        →  szersza szerokość       (--artgate-wide-width)
       alignfull        →  100 % viewportu, bez paddingów bocznych

       Zmień wartości tylko w :root poniżej.
    ======================== */

    :root {
      --artgate-content-width: 1024px;
      --artgate-wide-width:    1280px;
      --artgate-side-pad:      clamp(16px, 4vw, 40px);
    }

    .entry-content > *,
    .page-content > * {
      max-width: var(--artgate-content-width);
      margin-left: auto;
      margin-right: auto;
      padding-left:  var(--artgate-side-pad);
      padding-right: var(--artgate-side-pad);
      box-sizing: border-box;
    }

    .entry-content > .alignwide,
    .page-content > .alignwide {
      max-width: var(--artgate-wide-width);
    }

    .entry-content > .alignfull,
    .page-content > .alignfull {
      max-width: 100%;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    /* ========================
       NAGŁÓWEK STRONY / PAGE HEADER
       Pełna szerokość, niebieskie tło, wyśrodkowany.
       Używany na stronach, wpisach, archiwach, wynikach wyszukiwania.
    ======================== */

    /* Odstęp 40 px między niebieskim nagłówkiem a treścią */
    .artgate-page-header + *,
    .artgate-page-header + .artgate-single-inner,
    .artgate-page-header + .artgate-archive-inner {
      margin-top: 60px;
    }

    .artgate-page-header {
      position: relative;
      width: 100%;
      background:
        radial-gradient(ellipse 90% 120% at 65% 50%, rgba(255,166,0,.09) 0%, transparent 65%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      padding: clamp(40px, 7vw, 90px) 0;
      text-align: center;
      overflow: hidden;
    }

    .artgate-page-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }

    .artgate-page-header__inner {
      position: relative;
      z-index: 1;
      max-width: var(--artgate-wide-width, 1280px);
      margin: 0 auto;
      padding: 0 var(--artgate-side-pad, clamp(16px, 4vw, 40px));
    }

    .artgate-page-header .entry-title,
    .artgate-page-header .page-title {
      color: #fff !important;
      margin: 0;
      font-size: clamp(1.6rem, 4vw, 3rem);
      line-height: 1.2;
    }

    .artgate-page-header .archive-description {
      color: rgba(255, 255, 255, .75);
      margin-top: 0.75em;
      font-size: 1.05rem;
    }

    .artgate-page-header__meta {
      margin-top: 0.6em;
      color: rgba(255, 255, 255, .7);
      font-size: 0.9rem;
    }

    .artgate-page-header__meta .posted-on {
      display: inline-flex;
      align-items: center;
      gap: 0.45em;
    }

    .artgate-page-header__meta .posted-on__icon {
      color: rgba(255, 255, 255, 0.5);
      font-size: 1rem;
      line-height: 1;
    }

    .artgate-page-header__meta a {
      color: rgba(255, 255, 255, .85);
    }

    /* ========================
       ARCHIWUM / WYNIKI WYSZUKIWANIA
       Szeroki wrapper z siatką blog-card (jak sekcja blog na stronie głównej).
    ======================== */

    .artgate-archive-inner {
      max-width: var(--artgate-wide-width, 1280px);
      margin: 0 auto;
      padding: clamp(32px, 5vw, 64px) var(--artgate-side-pad, clamp(16px, 4vw, 40px));
    }

    /* Paginacja */
    .artgate-archive-inner .nav-links {
      margin-top: 48px;
      text-align: center;
    }

    /* ========================
       BLOG-CARD — tytuł (h2 w kontekście archiwum)
    ======================== */

    .blog-card-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .blog-card-title a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition);
    }

    .blog-card-title a:hover {
      color: var(--gold);
    }

    /* Link owijający obrazek — musi być blokowy */
    .blog-card-img-link {
      display: block;
      text-decoration: none;
    }

    /* Placeholder gdy brak obrazka wyróżniającego */
    .blog-card-img--placeholder {
      background: #f2f2f2;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .blog-card-placeholder-logo {
      object-fit: contain;
      opacity: 0.35;
    }

    /* ========================
       OBRAZEK WYRÓŻNIAJĄCY WE WPISACH
       Ograniczony do szerokości szablonu treści.
    ======================== */

    .site-main--single .post-thumbnail {
      max-width: var(--artgate-content-width, 1024px);
      margin: 0 auto clamp(24px, 4vw, 48px);
      padding: 0 var(--artgate-side-pad, clamp(16px, 4vw, 40px));
      box-sizing: border-box;
    }

    /* ========================
       BLOK: ARTGATE TREŚĆ
    ======================== */

    .artgate-content {
     
    }

    .artgate-content__body {
      max-width: var(--artgate-content-width, 1024px);
      margin: 0 auto;
      padding: 0 var(--artgate-side-pad, clamp(16px, 4vw, 40px));
      box-sizing: border-box;
    }

    .artgate-content__body > * + * {
      margin-top: 1em;
    }

    .artgate-content__body :is(h1, h2, h3, h4, h5, h6) {
      font-weight: 700;
      line-height: 1.2;
      color: var(--color-heading, #0f172a);
    }

    .artgate-content__body h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
    .artgate-content__body h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
    .artgate-content__body h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
    .artgate-content__body h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

    .artgate-content__body p {
      line-height: 1.75;
      color: var(--color-body, #334155);
    }

    .artgate-content__body a {
      color: var(--color-primary, #6c47ff);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .artgate-content__body a:hover {
      opacity: .8;
    }

    .artgate-content__body :is(ul, ol) {
      padding-left: 1.5em;
      line-height: 1.75;
      color: var(--color-body, #334155);
    }

    .artgate-content__body ul > li { list-style-type: disc; }
    .artgate-content__body ol > li { list-style-type: decimal; }

    .artgate-content__body blockquote {
      border-left: 4px solid var(--color-primary, #6c47ff);
      margin: 1.5em 0;
      padding: .75em 1.25em;
      background: var(--color-surface, #f8fafc);
      border-radius: 0 var(--radius-sm, 6px) var(--radius-sm, 6px) 0;
      color: var(--color-body, #334155);
      font-style: italic;
    }

    .artgate-content__body img {
      max-width: 100%;
      height: auto;
      border-radius: var(--radius-md, 12px);
      display: block;
    }

    .artgate-content__body table {
      width: 100%;
      border-collapse: collapse;
      font-size: .9em;
    }

    .artgate-content__body :is(th, td) {
      padding: .6em 1em;
      border: 1px solid var(--color-border, #e2e8f0);
      text-align: left;
    }

    .artgate-content__body th {
      background: var(--color-surface, #f8fafc);
      font-weight: 600;
    }

    /* ========================
       OBRAZEK WYRÓŻNIAJĄCY WE WPISACH
       Ograniczony do szerokości szablonu treści.
    ======================== */

    .site-main--single .post-thumbnail img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: var(--radius-md, 12px);
    }

    /* ========================
       404
    ======================== */
    .error404-section {
      position: relative;
      min-height: calc(100vh - 76px);
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--navy);
    }

    .error404-bg {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 60% 40%, rgba(255,166,0,.08) 0%, transparent 70%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    }

    .error404-overlay {
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      pointer-events: none;
    }

    .error404-inner {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 80px 0 100px;
    }

    .error404-code {
      font-size: clamp(8rem, 20vw, 14rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: -4px;
      color: transparent;
      -webkit-text-stroke: 2px rgba(255,255,255,.12);
      background: linear-gradient(135deg, rgba(255,166,0,.55) 0%, rgba(255,255,255,.08) 60%);
      -webkit-background-clip: text;
      background-clip: text;
      user-select: none;
      margin-bottom: 24px;
    }

    .error404-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      background: rgba(255,166,0,.15);
      border: 1px solid rgba(255,166,0,.4);
      border-radius: 999px;
      color: var(--gold-light);
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .error404-title {
      font-size: clamp(1.6rem, 4vw, 2.6rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 16px;
    }

    .error404-lead {
      font-size: 1.05rem;
      color: rgba(255,255,255,.65);
      max-width: 520px;
      margin: 0 auto 36px;
      line-height: 1.7;
    }

    .error404-cta {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
      margin-bottom: 48px;
    }

    .error404-links {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px 16px;
      font-size: .88rem;
    }

    .error404-links span {
      color: rgba(255,255,255,.4);
    }

    .error404-links a {
      color: rgba(255,255,255,.7);
      border-bottom: 1px solid rgba(255,255,255,.2);
      transition: color var(--transition), border-color var(--transition);
      padding-bottom: 1px;
    }

    .error404-links a:hover {
      color: var(--gold-light);
      border-color: var(--gold-light);
    }

    @media (max-width: 600px) {
      .error404-code { letter-spacing: -2px; margin-bottom: 16px; }
      .error404-inner { padding: 60px 0 80px; }
      .error404-cta { flex-direction: column; align-items: center; }
      .error404-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
    }