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

    :root {
      --red: #C8102E; --red-dark: #a00d24; --red-subtle: #fff0f2; --red-mid: #ffd6db;
      --ink: #0f0f0f; --ink-2: #1e1e1e; --ink-3: #3a3a3a; --muted: #6b6b6b;
      --light: #f5f3f0; --lighter: #faf9f7; --border: #e8e4df; --white: #ffffff;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Manrope', sans-serif;
      background: var(--white);
      color: var(--ink);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
a:hover { color: #C8102E; text-decoration: none; }
    /* ─── HEADER ─── */
    .site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
    .header-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; height: 60px; display: flex; align-items: center; gap: 2rem; }
    .logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
    .logo-icon { width: 32px; height: 32px; background: var(--red); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 14px; }
    .logo-name { font-family: 'Onest', sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
    .header-nav { margin-left: auto; display: flex; gap: 1.5rem; align-items: center; }
    .header-nav a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
    .header-nav a:hover { color: var(--red); }
    .header-nav a.active { color: var(--red); }
    .header-nav .nav-cta { background: var(--red); color: #fff !important; padding: 7px 16px; border-radius: 8px; font-weight: 600; }
    .header-nav .nav-cta:hover { background: var(--red-dark) !important; }

    /* ─── LAYOUT ─── */
    .page-wrapper { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem 5rem; display: grid; grid-template-columns: 1fr 280px; gap: 1rem 4rem; align-items: start; }

    /* ─── BREADCRUMB ─── */
    .bc { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2rem; flex-wrap: wrap; grid-column: 1 / -1; }
    .bc a { color: var(--muted); text-decoration: none; }
    .bc a:hover { color: var(--red); }
    .bc-sep { color: var(--border); }
    .bc-cur { color: var(--red); }

    /* ─── MAIN COLUMN ─── */
    main { min-width: 0; }

    /* ─── PAGE HEADER ─── */
    .page-head { margin-bottom: 2.5rem; }
    .page-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 1rem; }
    h1 { font-family: 'Onest', sans-serif; font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.6rem; }
    .page-sub { font-size: 15px; color: var(--muted); font-weight: 400; }

    /* ─── FEATURED POST (hero card) ─── */
    .featured {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: var(--ink);
      margin-bottom: 2.5rem;
      text-decoration: none;
      color: inherit;
      display: block;
      transition: box-shadow .2s;
    }
    .featured:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
    .featured-img {
      width: 100%;
      height: 280px;
      background: linear-gradient(135deg, #1a0a0e 0%, #2d1520 40%, #1e1a2e 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .featured-img::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 300px; height: 300px;
      background: radial-gradient(circle, rgba(200,16,46,0.3) 0%, transparent 70%);
    }
    .featured-img-icon { width: 80px; height: 80px; opacity: 0.12; }
    .featured-img-icon svg { width: 100%; height: 100%; stroke: #fff; fill: none; stroke-width: 0.8; }
    .featured-body { padding: 1.75rem 2rem 2rem; background: var(--ink); position: relative; }
    .featured-tags { display: flex; gap: 6px; margin-bottom: 10px; }
    .art-tag { font-family: 'Onest', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
    .art-tag.featured-badge { background: var(--red); color: #fff; }
    .tag-management { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
    .featured-title { font-family: 'Onest', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #fff; margin-bottom: 10px; }
    .featured-excerpt { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
    .featured-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    .art-meta-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 400; }
    .art-meta-item svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
    .featured-readmore { margin-left: auto; font-family: 'Onest', sans-serif; font-size: 12px; font-weight: 600; color: var(--red); display: flex; align-items: center; gap: 5px; }
    .featured-readmore svg { width: 12px; height: 12px; stroke: var(--red); fill: none; stroke-width: 2.5; transition: transform .2s; }
    .featured:hover .featured-readmore svg { transform: translateX(3px); }

    /* ─── FILTERS ─── */
    .filters-wrap { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 1.75rem; }
    .filters-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 2px; white-space: nowrap; }
    .filter-btn { font-family: 'Onest', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; padding: 6px 14px !important; border-radius: 100px !important; border: 1.5px solid var(--border) !important; background-color: var(--lighter) !important; color: var(--ink-3) !important; cursor: pointer; transition: all .15s; letter-spacing: -0.01em; line-height: normal; -webkit-appearance: none; appearance: none; white-space: nowrap; }
    .filter-btn:hover { border-color: var(--red) !important; color: var(--red) !important; background-color: var(--white) !important; }
    .filter-btn.active { background-color: var(--red) !important; color: #ffffff !important; border-color: var(--red) !important; }
    .filter-btn.active:hover { background-color: var(--red-dark) !important; }

    /* ─── BLOG LIST — основний варіант: вертикальні картки з горизонтальним зображенням ─── */
    .blog-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 2rem; }
    .blog-row {
      background: var(--white);
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 0;
      text-decoration: none;
      color: inherit;
      transition: background .15s;
    }
    .blog-row:hover { background: var(--lighter); }
    .blog-row:hover .row-arrow { transform: translateX(4px); }
    .blog-row-img {
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-repeat: no-repeat;
      background-position: top;
      background-size: cover;
      flex-shrink: 0;
    }
    .blog-row-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
    .blog-row-img svg { width: 44px; height: 44px; opacity: 0.4; }
    .blog-row-body { padding: 1.1rem 1.25rem 1.1rem 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; border-left: 1px solid var(--border); padding-left: 1.25rem; }
    .row-tags { display: flex; gap: 5px; flex-wrap: wrap; }
    .row-tag { font-family: 'Onest', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; }
    .tag-crm { background: #fce4ec; color: #c62828; }
    .tag-mgmt { background: #e3f2fd; color: #1565c0; }
    .tag-erp { background: #e8f5e9; color: #2e7d32; }
    .tag-it { background: #ede7f6; color: #4527a0; }
    .tag-sales { background: #fff8e1; color: #e65100; }
    .tag-analytics { background: #e0f2f1; color: #00695c; }
    .row-title { font-family: 'Onest', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); letter-spacing: -0.01em; }
    .row-excerpt { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
    .row-footer { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
    .row-meta { font-size: 11px; color: #bbb; display: flex; align-items: center; gap: 5px; }
    .row-meta svg { width: 11px; height: 11px; stroke: #bbb; fill: none; stroke-width: 2; }
    .row-arrow { margin-left: auto; width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; transition: transform .2s; flex-shrink: 0; }

    /* ─── PAGINATION ─── */
    .pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 1.5rem; border-top: 1px solid var(--border); margin-bottom: 3rem; }
    .page-info { font-size: 13px; color: var(--muted); }
    .page-info b { color: var(--ink-2); font-weight: 600; }
    .page-controls { display: flex; align-items: center; gap: 4px; }
    .page-btn { font-family: 'Onest', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; width: 34px !important; height: 34px !important; border-radius: 8px !important; border: 1.5px solid var(--border) !important; background-color: var(--lighter) !important; color: var(--ink-3) !important; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; -webkit-appearance: none; appearance: none; padding: 0 !important; line-height: normal; }
    .page-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; }
    .page-btn:hover:not(:disabled) { border-color: var(--red) !important; color: var(--red) !important; background-color: var(--white) !important; }
    .page-btn.active { background-color: var(--red) !important; color: #ffffff !important; border-color: var(--red) !important; }
    .page-btn.active:hover { background-color: var(--red-dark) !important; color: #ffffff !important; }
    .page-btn:disabled { opacity: 0.35 !important; cursor: default; }
    .page-dots { font-size: 14px; color: #bbb; padding: 0 4px; }

    /* ─── NEWSLETTER STRIP ─── */
    .newsletter {
      background: var(--lighter);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.75rem;
      margin-bottom: 2.5rem;
      display: flex;
      gap: 1.5rem;
      align-items: center;
      flex-wrap: wrap;
    }
    .newsletter-icon { width: 44px; height: 44px; background: var(--red-subtle); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .newsletter-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.8; }
    .newsletter-text { flex: 1; min-width: 160px; }
    .newsletter-title { font-family: 'Onest', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 3px; }
    .newsletter-sub { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
    .newsletter-form { display: flex; gap: 8px; flex-shrink: 0; }
    .newsletter-input { background: var(--white); border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 14px; color: var(--ink); font-size: 13px; font-family: 'Manrope', sans-serif; outline: none; width: 200px; transition: border-color .2s; }
    .newsletter-input::placeholder { color: #ccc; }
    .newsletter-input:focus { border-color: var(--red); }
    .newsletter-btn { background: var(--red) !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 9px 16px !important; font-family: 'Onest', sans-serif !important; font-size: 12px !important; font-weight: 600 !important; cursor: pointer; white-space: nowrap; -webkit-appearance: none; appearance: none; transition: background .2s; }
    .newsletter-btn:hover { background: var(--red-dark) !important; }

    /* ─── SIDEBAR ─── */
    .sb { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
    .sb-card { background: var(--lighter); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; }
    .sb-title { font-family: 'Onest', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); letter-spacing: -0.01em; }
    .sb-cats { display: flex; flex-direction: column; gap: 2px; }
    .sb-cat { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; transition: background .15s, color .15s; }
    .sb-cat:hover { background: var(--border); color: var(--red); }
    .sb-cat-count { font-size: 11px; background: var(--border); color: var(--muted); padding: 2px 7px; border-radius: 10px; font-weight: 600; }
    .sb-popular { display: flex; flex-direction: column; gap: 12px; }
    .sb-pop-item { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; text-decoration: none; color: inherit; }
    .sb-pop-num { font-family: 'Onest', sans-serif; font-size: 20px; font-weight: 700; color: var(--red-mid); line-height: 1; letter-spacing: -0.02em; }
    .sb-pop-title { font-size: 13px; font-weight: 500; color: var(--ink-3); line-height: 1.4; transition: color .15s; }
    .sb-pop-item:hover .sb-pop-title { color: var(--red); }
    .sb-pop-tag { font-size: 10px; color: #bbb; font-family: 'Onest', sans-serif; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
    .sb-cta-card { background: var(--red); border-radius: 16px; padding: 1.5rem; text-align: center; }
    .sb-cta-card p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.55; margin-bottom: 1rem; }
    .sb-cta-card a { display: block; background: #fff; color: var(--red); font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 9px; text-decoration: none; transition: opacity .2s; font-family: 'Onest', sans-serif; }
    .sb-cta-card a:hover { opacity: 0.9; }
    .sb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .sb-tag-link { font-size: 12px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px; transition: all .15s; background: var(--white); }
    .sb-tag-link:hover { border-color: var(--red); color: var(--red); }

    /* ─── CTA BOTTOM ─── */
    .cta { background: linear-gradient(135deg, var(--ink) 0%, #2a1a1e 100%); border-radius: 20px; padding: 2.5rem; overflow: hidden; position: relative; grid-column: 1 / -1; }
    .cta::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(200,16,46,0.25) 0%, transparent 70%); pointer-events: none; }
    .cta-content { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
    .cta-title { font-family: 'Onest', sans-serif; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
    .cta-sub { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 520px; }
    .cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
    .cta-input { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 11px 16px; color: #fff; font-size: 13px; font-family: 'Manrope', sans-serif; outline: none; min-width: 180px; flex: 1; transition: border-color .2s; }
    .cta-input::placeholder { color: rgba(255,255,255,0.35); }
    .cta-input:focus { border-color: rgba(255,255,255,0.4); }
    .cta-btn { background: var(--red) !important; color: #fff !important; border: none !important; border-radius: 10px !important; padding: 11px 22px !important; font-family: 'Manrope', sans-serif !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s, transform .15s; white-space: nowrap; -webkit-appearance: none; appearance: none; }
    .cta-btn:hover { background: var(--red-dark) !important; transform: translateY(-1px); }
    .cta-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2; }

    /* ─── FOOTER ─── */
    .site-footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 3rem 2rem; margin-top: 4rem; }
    .footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
    .footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .footer-logo-icon { width: 28px; height: 28px; background: var(--red); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Onest', sans-serif; font-weight: 700; font-size: 13px; }
    .footer-logo-name { font-family: 'Onest', sans-serif; font-size: 16px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
    .footer-desc { font-size: 12.5px; line-height: 1.65; }
    .footer-col h4 { font-family: 'Onest', sans-serif; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
    .footer-col ul li a { font-size: 12.5px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
    .footer-col ul li a:hover { color: #fff; }
    .footer-bottom { max-width: 1100px; margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; color: rgba(255,255,255,0.3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

    /* ─── RESPONSIVE (взято з кейсу) ─── */
    @media (max-width: 860px) {
      .page-wrapper { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 1.25rem 4rem; }
      .sb { display: none; }
      .header-nav { display: none; }
      .blog-row { grid-template-columns: 140px 1fr; }
      .blog-row-img { height: 120px; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .cta { padding: 1.75rem 1.5rem; }
      .newsletter { flex-direction: column; align-items: flex-start; }
      .newsletter-form { width: 100%; }
      .newsletter-input { flex: 1; width: auto; }
    }

    @media (max-width: 480px) {
      .page-wrapper { padding: 1.25rem 1rem 3rem; }
      h1 { font-size: 26px; line-height: 1.18; }
      .blog-row { grid-template-columns: 1fr; }
      .blog-row-img { height: 120px; border-left: none; border-bottom: 1px solid var(--border); }
      .blog-row-body { border-left: none; padding-left: 1rem; padding-top: 0.9rem; }
      .cta-title { font-size: 20px; }
      .cta-form { flex-direction: column; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-bottom { flex-direction: column; }
      .featured-img { height: 180px; }
      .featured-body { padding: 1.25rem; }
      .featured-title { font-size: 18px; }
    }

    @media (max-width: 640px) {
      .page-info { width: 100%; }
      .newsletter-form { flex-direction: column; }
    }

    /* hidden for filter */
    .blog-row.hidden { display: none; }

    #contacts{
        display: none !important;
    }