/* PORT-IT: оформление статей блога (классы pa-*). */
.portit-news-article { max-width: 920px; }
.portit-news-article .portit-product-copy { font-size: 17px; line-height: 1.65; color: #1f2933; }
.portit-product-copy h2 { font-size: 26px; line-height: 1.25; margin: 36px 0 12px; font-weight: 700; }
.portit-product-copy h3 { font-size: 20px; margin: 24px 0 8px; font-weight: 700; }
.portit-product-copy p { margin: 0 0 14px; }
.portit-product-copy ul, .portit-product-copy ol { margin: 0 0 16px; padding-left: 22px; }
.portit-product-copy li { margin: 0 0 6px; }
.portit-product-copy a { color: #0b6fa4; text-decoration: underline; text-underline-offset: 2px; }
.portit-product-copy a:hover { color: var(--portit-accent, #F23534); }

.pa-lead { font-size: 20px; line-height: 1.55; color: #343E4A; border-left: 4px solid var(--portit-accent, #F23534); padding: 4px 0 4px 16px; margin: 0 0 24px !important; }

.pa-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.pa-kpi { background: var(--portit-heading-bg, #F1F5F5); border-radius: 12px; padding: 14px 16px; }
.pa-kpi b { display: block; font-size: 30px; line-height: 1.1; color: var(--portit-accent, #F23534); font-weight: 800; }
.pa-kpi span { display: block; font-size: 14px; line-height: 1.35; color: #4F5F6F; margin-top: 4px; }

.pa-figure { margin: 22px 0 26px; }
.pa-figure img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #e3e8ec; background: #fff; }
.pa-figure figcaption { font-size: 14px; line-height: 1.4; color: #6b7785; margin-top: 8px; }

.pa-table-wrap { overflow-x: auto; margin: 18px 0 24px; -webkit-overflow-scrolling: touch; }
.pa-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; min-width: 520px; }
.pa-table th { background: #343E4A; color: #fff; font-weight: 600; text-align: left; padding: 10px 12px; }
.pa-table td { border-bottom: 1px solid #e3e8ec; padding: 9px 12px; vertical-align: top; }
.pa-table tr:nth-child(even) td { background: #FBFCFC; }
.pa-table .up { color: #c62828; font-weight: 700; white-space: nowrap; }
.pa-table .ok { color: #2e7d32; font-weight: 700; }

.pa-callout { background: #fff8e1; border: 1px solid #ffe082; border-radius: 12px; padding: 16px 18px; margin: 22px 0 26px; }
.pa-callout strong:first-child { display: block; font-size: 18px; margin-bottom: 6px; }
.pa-callout p:last-child, .pa-callout ul:last-child { margin-bottom: 0; }

.pa-goods { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0 28px; }
.pa-goods a { display: block; border: 1px solid #e3e8ec; border-radius: 12px; padding: 14px 16px; text-decoration: none !important; color: #1f2933 !important; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pa-goods a:hover { border-color: var(--portit-accent, #F23534); box-shadow: 0 6px 18px rgba(31, 41, 51, .08); }
.pa-goods b { display: block; font-size: 16px; margin-bottom: 4px; }
.pa-goods span { display: block; font-size: 14px; line-height: 1.35; color: #6b7785; }

.pa-sources { font-size: 14px; line-height: 1.5; color: #4F5F6F; }
.pa-sources li { margin-bottom: 4px; word-break: break-word; }
.pa-note { font-size: 14px; color: #6b7785; }

.pa-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 32px 0 20px; padding: 18px 20px; border: 1px solid #e3e8ec; border-left: 4px solid var(--portit-accent, #F23534); border-radius: 12px; background: var(--portit-card-bg, #FBFCFC); }
.pa-promo-text { flex: 1 1 360px; font-size: 16px; line-height: 1.5; color: #343E4A; }
.pa-promo-text b { display: block; color: #1f2933; margin-bottom: 2px; }
.pa-promo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pa-promo-actions a { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid #cfd6dc; color: #343E4A; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.pa-promo-actions a:hover { border-color: var(--portit-accent, #F23534); color: var(--portit-accent, #F23534); }
.pa-promo-actions .pa-promo-main { background: var(--portit-accent, #F23534); border-color: var(--portit-accent, #F23534); color: #fff; }
.pa-promo-actions .pa-promo-main:hover { color: #fff; filter: brightness(.95); }

.pa-socials { font-size: 15px; color: #4F5F6F; margin: 0 0 20px; }
.pa-socials a { color: #0b6fa4; font-weight: 600; }

@media (max-width: 575px) {
  .portit-news-article .portit-product-copy { font-size: 16px; }
  .portit-product-copy h2 { font-size: 22px; margin-top: 28px; }
  .pa-lead { font-size: 18px; }
  .pa-kpi b { font-size: 26px; }
}
