/* ===== Блог AdUp (2026-11-11): плитки, стаття, інфографіка ===== */
.adup-blog { --b-navy: #283a5e; --b-orange: #ff6d34; --b-text: #5f6675; --b-line: #e7e9f0; --b-soft: #f5f6fa; --b-teal: #2fb4a3; color: var(--b-text); }
.adup-bwrap { max-width: 1170px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; }
.adup-bwrap--narrow { max-width: 860px; }

/* шапка блогу */
.adup-bhero { padding: 56px 0 36px; text-align: center; }
.adup-blabel { color: var(--b-orange); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.adup-bhero h1 { color: var(--b-navy); font-size: 48px; line-height: 56px; font-weight: 800; margin: 0 0 14px; }
.adup-bhero p { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.6; }
.adup-bfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.adup-bfilter a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--b-line); color: var(--b-navy); font-weight: 600; font-size: 15px; text-decoration: none; transition: all .2s; }
.adup-bfilter a small { font-size: 12px; color: #9aa0ad; font-weight: 700; }
.adup-bfilter a:hover { border-color: var(--b-orange); color: var(--b-orange); }
.adup-bfilter a.is-active { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
.adup-bfilter a.is-active small { color: #c9d3ea; }

/* плитки */
.adup-bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.adup-bcard { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--b-line); box-shadow: 0 10px 30px rgba(40,58,94,.07); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.adup-bcard:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(40,58,94,.16); }
.adup-bcard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--b-soft); }
.adup-bcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.adup-bcard:hover .adup-bcard-img img { transform: scale(1.04); }
.adup-bcard-body { padding: 22px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.adup-bchip { align-self: flex-start; display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; background: #fff1ea; color: #e5541d; margin-bottom: 12px; }
.adup-bcard--shtuchnyi-intelekt .adup-bchip, .adup-bsingle .category-shtuchnyi-intelekt .adup-bchip { background: #e9eef8; color: var(--b-navy); }
.adup-bcard--stvorennia-saitiv .adup-bchip, .adup-bsingle .category-stvorennia-saitiv .adup-bchip { background: #e3f6f3; color: #178575; }
.adup-bcard-title { font-size: 20px !important; line-height: 28px !important; font-weight: 700 !important; margin: 0 0 10px !important; }
.adup-bcard-title a { color: var(--b-navy); text-decoration: none; }
.adup-bcard-title a:hover { color: var(--b-orange); }
.adup-bcard-ex { font-size: 15px; line-height: 24px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.adup-bcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding-top: 14px; border-top: 1px solid var(--b-line); }
.adup-bcard-foot a { color: var(--b-orange); font-weight: 700; text-decoration: none; }
.adup-bcard-foot a span { display: inline-block; transition: transform .2s; }
.adup-bcard:hover .adup-bcard-foot a span { transform: translateX(4px); }
.adup-bpager { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; }
.adup-bpager .page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--b-line); color: var(--b-navy); text-decoration: none; font-weight: 700; }
.adup-bpager .current { background: var(--b-navy); color: #fff; border-color: var(--b-navy); }

/* CTA */
.adup-bcta { margin: 64px 0 80px; padding: 36px 40px; border-radius: 20px; background: linear-gradient(120deg, #283a5e 0%, #34508a 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.adup-bcta h2 { color: #fff !important; font-size: 26px !important; line-height: 34px !important; margin: 0 0 6px !important; font-weight: 800 !important; }
.adup-bcta p { margin: 0; color: #c9d3ea; }
.adup-bcta-btn { flex: none; background: var(--b-orange); color: #fff !important; font-weight: 700; padding: 15px 28px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 12px 30px rgba(255,109,52,.35); transition: transform .2s; }
.adup-bcta-btn:hover { transform: translateY(-2px); }

/* стаття */
.adup-bsingle { padding-top: 34px; }
.adup-bcrumbs { font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #9aa0ad; }
.adup-bcrumbs a { color: var(--b-text); text-decoration: none; }
.adup-bcrumbs a:hover { color: var(--b-orange); }
.adup-bhead h1 { color: var(--b-navy); font-size: 42px; line-height: 50px; font-weight: 800; margin: 0 0 16px; }
.adup-bmeta { display: flex; gap: 18px; font-size: 14px; color: #8a909c; margin-bottom: 28px; }
.adup-bmeta span + span::before { content: "·"; margin-right: 18px; }
.adup-bcover { margin: 0 0 36px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(40,58,94,.14); }
.adup-bcover img { width: 100%; height: auto; display: block; }
.adup-bcontent { font-size: 17px; line-height: 1.75; }
.adup-bcontent > * { margin-top: 0; }
.adup-bcontent p, .adup-bcontent ul, .adup-bcontent ol { margin: 0 0 18px; }
.adup-bcontent h2 { color: var(--b-navy); font-size: 30px; line-height: 38px; font-weight: 800; margin: 44px 0 16px; }
.adup-bcontent h3 { color: var(--b-navy); font-size: 22px; line-height: 30px; margin: 30px 0 12px; }
.adup-bcontent strong { color: #2f3a52; }
.adup-bcontent ul, .adup-bcontent ol { padding-left: 22px; }
.adup-bcontent li { margin-bottom: 8px; }
.adup-bcontent ul > li::marker { color: var(--b-orange); }
.adup-bcontent code { background: var(--b-soft); padding: 2px 7px; border-radius: 6px; font-size: .9em; color: var(--b-navy); }
.adup-bcontent .adup-lead { font-size: 20px; line-height: 1.6; color: #3d4659; margin-bottom: 28px; }
.adup-note { background: #fff6f1; border-left: 4px solid var(--b-orange); border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 26px 0; font-size: 16px; line-height: 1.65; }
.adup-brelated { padding-bottom: 20px; }
.adup-brelated h2 { color: var(--b-navy); font-size: 30px; font-weight: 800; margin: 0 0 26px; text-align: center; }

/* ===== інфографіка ===== */
.adup-ig { margin: 30px 0 34px; padding: 26px; border-radius: 18px; background: var(--b-soft); border: 1px solid var(--b-line); }
.adup-ig-title { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--b-orange); margin-bottom: 18px; }
.adup-ig h4 { color: var(--b-navy); font-size: 17px !important; line-height: 24px !important; margin: 0 0 6px !important; font-weight: 700 !important; }
.adup-ig p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.adup-ig ul { margin: 0; }
.adup-ig-grid { display: grid; gap: 14px; }
.adup-ig-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adup-ig-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adup-ig-card { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 6px 18px rgba(40,58,94,.06); }
.adup-ig-card > b { display: inline-block; color: var(--b-orange); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
/* світлофор */
.adup-ig-lights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.adup-ig-light { background: #fff; border-radius: 14px; padding: 18px 18px 14px; border-top: 6px solid; }
.adup-ig-light--go { border-color: #2fb4a3; } .adup-ig-light--check { border-color: #f5b52e; } .adup-ig-light--stop { border-color: #e5484d; }
.adup-ig-light ul { padding-left: 18px; font-size: 14.5px; line-height: 1.55; }
.adup-ig-light li { margin-bottom: 4px; }
/* шаблон запиту */
.adup-ig-prompt { list-style: none; padding: 0 !important; margin: 0; counter-reset: none; }
.adup-ig-prompt li { background: #fff; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; font-size: 15px; line-height: 1.5; display: flex; gap: 14px; align-items: baseline; }
.adup-ig-prompt li span { flex: none; width: 96px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--b-orange); }
/* кроки */
.adup-ig-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; counter-reset: s; }
.adup-ig-step { background: #fff; border-radius: 14px; padding: 18px 16px; position: relative; }
.adup-ig-step > b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--b-orange); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.adup-ig-step:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 12px; height: 2px; background: var(--b-orange); opacity: .5; }
/* воронка */
.adup-ig-funnel { display: grid; gap: 8px; justify-items: center; }
.adup-ig-funnel-row { width: var(--w); background: #fff; border-radius: 12px; padding: 12px 16px; text-align: center; box-shadow: 0 6px 18px rgba(40,58,94,.06); box-sizing: border-box; }
.adup-ig-funnel-row b { display: block; color: var(--b-navy); font-size: 16px; }
.adup-ig-funnel-row span { font-size: 13.5px; }
.adup-ig-funnel-row--accent { background: var(--b-orange); } .adup-ig-funnel-row--accent b, .adup-ig-funnel-row--accent span { color: #fff; }
/* чекліст */
.adup-ig-check { list-style: none; padding: 0 !important; margin: 0; }
.adup-ig-check li { position: relative; padding: 8px 0 8px 32px; font-size: 15px; line-height: 1.45; border-bottom: 1px dashed var(--b-line); margin: 0; }
.adup-ig-check li:last-child { border-bottom: 0; }
.adup-ig-check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 6px; background: var(--b-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.adup-ig-checkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adup-ig-checkcol { background: #fff; border-radius: 14px; padding: 18px; }
.adup-ig-checkcol:last-child:nth-child(odd) { grid-column: 1 / -1; }
.adup-ig-checkcol h4 { display: flex; align-items: center; gap: 10px; }
.adup-ig-checkcol h4 i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: var(--b-navy); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
/* порівняння */
.adup-ig-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adup-ig-compare-col { background: #fff; border-radius: 14px; padding: 18px; border-top: 6px solid; }
.adup-ig-compare-col--ok { border-color: var(--b-teal); } .adup-ig-compare-col--bad { border-color: #e5484d; }
.adup-ig-compare-col ul { padding-left: 18px; font-size: 14.5px; line-height: 1.55; }
/* таблиця */
.adup-ig-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
.adup-ig-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; line-height: 1.45; min-width: 560px; margin: 0; }
.adup-ig-table th { background: var(--b-navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.adup-ig-table td { padding: 12px 14px; border-bottom: 1px solid var(--b-line); vertical-align: top; }
.adup-ig-table td:first-child { font-weight: 700; color: var(--b-navy); }
.adup-ig-table tr:last-child td { border-bottom: 0; }
/* дерево рішень */
.adup-ig-tree { display: grid; gap: 8px; }
.adup-ig-tree-q { background: #fff; border-radius: 12px; padding: 12px 16px; font-weight: 600; color: var(--b-navy); }
.adup-ig-tree-a { padding: 2px 16px 10px 34px; font-size: 15px; position: relative; }
.adup-ig-tree-a::before { content: ""; position: absolute; left: 18px; top: -8px; bottom: 14px; width: 2px; background: var(--b-line); }
.adup-ig-tree-a .yes { display: inline-block; background: var(--b-teal); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.adup-ig-tree-a strong { color: var(--b-orange) !important; }
/* шкали CWV */
.adup-ig-bars { display: grid; gap: 18px; }
.adup-ig-bar-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.adup-ig-bar-head b { color: var(--b-navy); font-size: 18px; } .adup-ig-bar-head span { font-size: 14px; }
.adup-ig-bar-track { display: flex; border-radius: 10px; overflow: hidden; height: 38px; }
.adup-ig-bar-track i { width: var(--w); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13.5px; font-weight: 700; color: #fff; }
.adup-ig-bar-track .g, .adup-ig-legend .g::before { background: #2fb4a3; } .adup-ig-bar-track .y, .adup-ig-legend .y::before { background: #f5b52e; } .adup-ig-bar-track .r, .adup-ig-legend .r::before { background: #e5484d; }
.adup-ig-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: 13.5px; }
.adup-ig-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
/* потік */
.adup-ig-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.adup-ig-flow > div { background: #fff; border-radius: 12px; padding: 14px 12px; text-align: center; position: relative; }
.adup-ig-flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--b-orange); font-weight: 800; z-index: 1; }
.adup-ig-flow b { display: block; color: var(--b-navy); margin-bottom: 4px; } .adup-ig-flow span { font-size: 13px; line-height: 1.4; display: block; }
.adup-ig-flow .accent { background: var(--b-orange); } .adup-ig-flow .accent b, .adup-ig-flow .accent span { color: #fff; }
/* калькулятор */
.adup-ig-calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.adup-ig-calc > div:not(.op) { background: #fff; border-radius: 12px; padding: 12px 14px; flex: 1 1 120px; text-align: center; }
.adup-ig-calc b { display: block; color: var(--b-navy); font-size: 22px; font-weight: 800; } .adup-ig-calc span { font-size: 12.5px; line-height: 1.35; display: block; }
.adup-ig-calc .op { color: var(--b-orange); font-size: 24px; font-weight: 800; }
.adup-ig-calc .accent { background: var(--b-navy) !important; } .adup-ig-calc .accent b, .adup-ig-calc .accent span { color: #fff; }
.adup-ig-foot { margin-top: 14px !important; font-size: 13px !important; color: #8a909c; }
/* таймлайн */
.adup-ig-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.adup-ig-month { background: #fff; border-radius: 14px; padding: 18px; border-top: 6px solid var(--b-navy); }
.adup-ig-month:nth-child(2) { border-color: #4a6aa8; } .adup-ig-month:nth-child(3) { border-color: var(--b-orange); }
.adup-ig-month > span { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8a909c; }
.adup-ig-month ul { padding-left: 18px; font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
/* формули */
.adup-ig-formulas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adup-ig-formulas > div { background: #fff; border-radius: 12px; padding: 16px; }
.adup-ig-formulas b { color: var(--b-orange); font-size: 22px; font-weight: 800; margin-right: 8px; }
.adup-ig-formulas span { font-weight: 600; color: var(--b-navy); }
.adup-ig-formulas code { display: block; margin-top: 8px; background: var(--b-soft); padding: 8px 10px; border-radius: 8px; font-size: 13.5px; white-space: normal; }

/* адаптив */
@media (max-width: 1024px) {
  .adup-bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adup-ig-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adup-ig-steps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adup-ig-step::after { display: none; }
  .adup-ig-flow { grid-template-columns: 1fr; } .adup-ig-flow > div:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .adup-bhero { padding: 34px 0 24px; } .adup-bhero h1 { font-size: 31px; line-height: 38px; } .adup-bhero p { font-size: 16px; }
  .adup-bgrid { grid-template-columns: 1fr; gap: 22px; }
  .adup-bhead h1 { font-size: 30px; line-height: 38px; }
  .adup-bcontent { font-size: 16px; } .adup-bcontent h2 { font-size: 24px; line-height: 32px; margin-top: 34px; } .adup-bcontent .adup-lead { font-size: 18px; }
  .adup-ig { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
  .adup-ig-grid--3, .adup-ig-lights, .adup-ig-compare, .adup-ig-checkgrid, .adup-ig-timeline, .adup-ig-formulas { grid-template-columns: 1fr; }
  .adup-ig-grid--4, .adup-ig-steps { grid-template-columns: 1fr; }
  .adup-ig-funnel-row { width: 100% !important; }
  .adup-ig-prompt li { flex-direction: column; gap: 2px; }
  .adup-ig-bar-track i { font-size: 11.5px; }
  .adup-bcta { flex-direction: column; align-items: flex-start; padding: 28px 22px; margin: 44px 0 56px; }
}
.adup-bcard, .adup-bcard-body { text-align: left; }

/* 2026-11-11: стаття на всю рамку шапки (1140): текст + бічна колонка */
.adup-bsingle .adup-bwrap { max-width: 1170px; }
.adup-bhead h1 { max-width: 900px; }
.adup-blayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
.adup-bmain { min-width: 0; }
.adup-bside { position: sticky; top: 30px; }
.admin-bar .adup-bside { top: 62px; }
.adup-btoc { background: var(--b-soft); border: 1px solid var(--b-line); border-radius: 16px; padding: 20px 22px; margin-bottom: 18px; }
.adup-btoc-t { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--b-orange); margin-bottom: 10px; }
.adup-btoc ol { margin: 0; padding-left: 20px; font-size: 14.5px; line-height: 1.45; }
.adup-btoc li { margin-bottom: 8px; } .adup-btoc li::marker { color: var(--b-orange); font-weight: 700; }
.adup-btoc a { color: var(--b-navy); text-decoration: none; } .adup-btoc a:hover { color: var(--b-orange); }
.adup-bside-cta { background: linear-gradient(135deg, #283a5e 0%, #34508a 100%); border-radius: 16px; padding: 22px; color: #c9d3ea; }
.adup-bside-cta b { display: block; color: #fff; font-size: 19px; margin-bottom: 6px; }
.adup-bside-cta p { font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; }
.adup-bside-cta .adup-bcta-btn { display: block; text-align: center; padding: 13px 16px; font-size: 15px; }
.adup-bcontent h2[id] { scroll-margin-top: 30px; }
@media (max-width: 1024px) { .adup-blayout { grid-template-columns: 1fr; } .adup-bside { position: static; } .adup-btoc { display: none; } .adup-bside-cta { display: none; } }
