/* ============================================================
   Єдиний стиль статей блогу — Steel-World.in.ua
   Тема: Minimal Clean
   Акцент: #354049
   Підключення: /upload/catalog/.../files/style/style_articles_steel.css
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --sw-h1-font: 2.2em;
  --sw-h2-font: 1.6em;
  --sw-h3-font: 1.2em;
  --sw-body-font: 1em;
  --sw-small-font: 0.88em;
  --sw-accent: #354049;
  --sw-accent-light: #5a6b7a;
  --sw-accent-dark: #1f2a33;
  --sw-accent-muted: #e8ebef;
  --sw-btn-bg: #354049;
  --sw-btn-hover: #1f2a33;
  --sw-btn-text: #fff;
  --sw-body-text: #4a5568;
  --sw-heading-text: #1a202c;
  --sw-link: #354049;
  --sw-link-hover: #1f2a33;
  --sw-card-bg: #f8f9fa;
  --sw-card-border: #e9ecef;
  --sw-card-shadow: 0 2px 12px rgba(0,0,0,0.04);
  --sw-header-bg: linear-gradient(135deg, #354049 0%, #4a5b6a 100%);
  --sw-header-text: #fff;
  --sw-h2-border: #354049;
  --sw-badge-bg: #354049;
  --sw-badge-text: #fff;
  --sw-toc-bg: #f8f9fa;
  --sw-toc-border: #e9ecef;
  --sw-toc-link: #354049;
  --sw-chip-bg: rgba(255,255,255,0.18);
  --sw-chip-hover: rgba(255,255,255,0.3);
  --sw-chip-text: #fff;
  --sw-chip-border: rgba(255,255,255,0.1);
  --sw-info-bg: #edf2f7;
  --sw-info-border: #354049;
  --sw-info-text: #2d3748;
  --sw-success-bg: #e6fffa;
  --sw-success-border: #38a169;
  --sw-warning-bg: #fff5f0;
  --sw-warning-border: #dd6b20;
  --sw-danger-bg: #fff5f5;
  --sw-danger-border: #e53e3e;
  --sw-code-bg: #1a202c;
  --sw-code-text: #e2e8f0;
  --sw-step-num-bg: #354049;
  --sw-step-num-text: #fff;
  --sw-table-th-bg: #354049;
  --sw-table-th-text: #fff;
  --sw-table-border: #e2e8f0;
  --sw-table-hover: #f7fafc;
  --sw-faq-border: #e2e8f0;
  --sw-faq-open-border: #354049;
  --sw-faq-summary-color: #354049;
  --sw-faq-summary-text: #1a202c;
  --sw-faq-hover: #f7fafc;
  --sw-check-color: #38a169;
  --sw-cons-color: #e53e3e;
  --sw-divider-bg: linear-gradient(90deg, transparent, #354049, transparent);
  --sw-pros-bg: #f0fff4;
  --sw-cons-bg: #fff5f5;
  --sw-pros-border: #38a169;
  --sw-cons-border: #e53e3e;
}

html { scroll-behavior: smooth; }

/* ============================================================
   WRAPPER
   ============================================================ */
.sw-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   HEADER
   ============================================================ */
.sw-header {
  text-align: center;
  padding: 48px 24px 32px;
  background: var(--sw-header-bg);
  color: var(--sw-header-text);
  border-radius: 16px;
  margin-bottom: 36px;
}
.sw-header h1 {
  font-size: var(--sw-h1-font);
  margin: 0 0 12px;
  line-height: 1.25;
  font-weight: 700;
}
.sw-header p {
  font-size: 1.05em;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Speed Chips --- */
.sw-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 0;
}
.sw-chip {
  display: inline-block;
  background: var(--sw-chip-bg);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.85em;
  font-weight: 600;
  color: var(--sw-chip-text);
  text-decoration: none;
  border: 1px solid var(--sw-chip-border);
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.sw-chip:hover {
  background: var(--sw-chip-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */
.sw-toc {
  background: var(--sw-toc-bg);
  border: 1px solid var(--sw-toc-border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
}
.sw-toc h3 {
  margin: 0 0 14px;
  font-size: 1.05em;
  color: var(--sw-heading-text);
  font-weight: 700;
}
.sw-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}
.sw-toc ol li {
  margin-bottom: 6px;
  font-size: 0.9em;
  break-inside: avoid;
}
.sw-toc ol li a {
  color: var(--sw-toc-link);
  text-decoration: none;
  font-weight: 500;
}
.sw-toc ol li a:hover {
  text-decoration: underline;
}

/* ============================================================
   CONTENT BLOCKS
   ============================================================ */
.sw-block {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: var(--sw-card-shadow);
  border: 1px solid var(--sw-card-border);
  transition: box-shadow 0.25s ease;
}
.sw-block:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sw-block h2 {
  font-size: var(--sw-h2-font);
  color: var(--sw-heading-text);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--sw-h2-border);
  font-weight: 700;
}
.sw-block h2 .sw-badge {
  display: inline-block;
  background: var(--sw-badge-bg);
  color: var(--sw-badge-text);
  font-size: 0.4em;
  padding: 3px 12px;
  border-radius: 16px;
  vertical-align: middle;
  margin-left: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.sw-block h3 {
  font-size: var(--sw-h3-font);
  color: var(--sw-heading-text);
  margin: 24px 0 8px;
  font-weight: 600;
}
.sw-block p {
  font-size: var(--sw-body-font);
  line-height: 1.75;
  color: var(--sw-body-text);
  margin: 0 0 14px;
}
.sw-block ul, .sw-block ol {
  font-size: 0.95em;
  line-height: 1.75;
  color: var(--sw-body-text);
  padding-left: 20px;
}
.sw-block li {
  margin-bottom: 6px;
}
.sw-block a {
  color: var(--sw-link);
  text-decoration: none;
  font-weight: 600;
}
.sw-block a:hover {
  text-decoration: underline;
  color: var(--sw-link-hover);
}

/* ============================================================
   INFO / SUCCESS / WARNING / DANGER BOXES
   ============================================================ */
.sw-info-box {
  background: var(--sw-info-bg);
  border-left: 4px solid var(--sw-info-border);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
  font-size: 0.93em;
  color: var(--sw-info-text);
  line-height: 1.6;
}
.sw-success-box {
  background: var(--sw-success-bg);
  border-left: 4px solid var(--sw-success-border);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
  font-size: 0.93em;
  color: #22543d;
  line-height: 1.6;
}
.sw-warning-box {
  background: var(--sw-warning-bg);
  border-left: 4px solid var(--sw-warning-border);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
  font-size: 0.93em;
  color: #7b341e;
  line-height: 1.6;
}
.sw-danger-box {
  background: var(--sw-danger-bg);
  border-left: 4px solid var(--sw-danger-border);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 14px 0;
  font-size: 0.93em;
  color: #742a2a;
  line-height: 1.6;
}

/* ============================================================
   GRID 2
   ============================================================ */
.sw-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

/* ============================================================
   CARDS
   ============================================================ */
.sw-card {
  background: var(--sw-card-bg);
  border: 1px solid var(--sw-card-border);
  border-radius: 12px;
  padding: 22px 24px;
  transition: all 0.25s ease;
}
.sw-card:hover {
  border-color: var(--sw-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.sw-card h4 {
  margin: 0 0 8px;
  color: var(--sw-heading-text);
  font-size: 1.05em;
  font-weight: 600;
}
.sw-card p {
  font-size: 0.9em;
  color: var(--sw-body-text);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   STEP CARDS
   ============================================================ */
.sw-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--sw-card-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}
.sw-step:hover {
  border-color: var(--sw-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.sw-step-num {
  background: var(--sw-step-num-bg);
  color: var(--sw-step-num-text);
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82em;
  flex-shrink: 0;
}
.sw-step-body {
  flex: 1;
}
.sw-step-body h4 {
  margin: 0 0 4px;
  color: var(--sw-heading-text);
  font-size: 1em;
  font-weight: 600;
}
.sw-step-body p {
  margin: 0;
  font-size: 0.9em;
  color: var(--sw-body-text);
  line-height: 1.6;
}

/* ============================================================
   BUTTON / CTA
   ============================================================ */
.sw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sw-btn-bg);
  color: var(--sw-btn-text) !important;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95em;
}
.sw-btn:hover {
  background: var(--sw-btn-hover);
  transform: translateY(-1px);
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(53, 64, 73, 0.25);
}
.sw-btn:active {
  transform: translateY(0);
}
.sw-cta {
  text-align: center;
  padding: 28px 0;
}

/* ============================================================
   TABLE
   ============================================================ */
.sw-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.9em;
}
.sw-table thead th {
  background: var(--sw-table-th-bg);
  color: var(--sw-table-th-text);
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.92em;
}
.sw-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sw-table-border);
  color: var(--sw-body-text);
}
.sw-table tbody tr:hover td {
  background: var(--sw-table-hover);
}
.sw-yes { color: var(--sw-check-color); font-weight: 700; }
.sw-no { color: var(--sw-cons-color); }

/* ============================================================
   LABELS
   ============================================================ */
.sw-label {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.78em;
  font-weight: 700;
  margin-bottom: 4px;
}
.sw-label-green { background: var(--sw-pros-bg); color: var(--sw-check-color); }
.sw-label-orange { background: var(--sw-warning-bg); color: #c05621; }
.sw-label-blue { background: var(--sw-info-bg); color: #2b6cb0; }
.sw-label-red { background: var(--sw-danger-bg); color: var(--sw-cons-color); }

/* ============================================================
   PROS / CONS
   ============================================================ */
.sw-pros, .sw-cons {
  padding-left: 0;
  list-style: none;
}
.sw-pros li, .sw-cons li {
  padding: 8px 12px 8px 32px;
  margin-bottom: 6px;
  border-radius: 8px;
  position: relative;
  font-size: 0.92em;
}
.sw-pros li {
  background: var(--sw-pros-bg);
  border-left: 3px solid var(--sw-pros-border);
}
.sw-pros li::before {
  content: '+';
  position: absolute;
  left: 11px;
  color: var(--sw-check-color);
  font-weight: 700;
  font-size: 1.1em;
}
.sw-cons li {
  background: var(--sw-cons-bg);
  border-left: 3px solid var(--sw-cons-border);
}
.sw-cons li::before {
  content: '\2013';
  position: absolute;
  left: 11px;
  color: var(--sw-cons-color);
  font-weight: 700;
}

/* ============================================================
   CODE
   ============================================================ */
.sw-code {
  background: var(--sw-code-bg);
  color: var(--sw-code-text);
  padding: 18px;
  border-radius: 10px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.84em;
  line-height: 1.6;
  overflow-x: auto;
  margin: 14px 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.sw-code .sw-cm { color: #94a3b8; }
.sw-code .sw-kw { color: #93c5fd; }
.sw-code .sw-vl { color: #86efac; }
.sw-code .sw-tg { color: #fbbf24; }

/* ============================================================
   FAQ
   ============================================================ */
.sw-faq {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}
.sw-faq h2 {
  font-size: var(--sw-h2-font);
  color: var(--sw-heading-text);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--sw-h2-border);
  font-weight: 700;
}
.sw-faq > p {
  font-size: var(--sw-body-font);
  line-height: 1.7;
  color: var(--sw-body-text);
  margin: 10px 0 24px;
}
.sw-faq details {
  background: #fff;
  border: 1px solid var(--sw-faq-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.sw-faq details[open] {
  border-color: var(--sw-faq-open-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sw-faq summary {
  padding: 16px 42px 16px 18px;
  font-size: 0.97em;
  font-weight: 600;
  color: var(--sw-faq-summary-text);
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.4;
}
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3em;
  font-weight: 300;
  color: var(--sw-faq-summary-color);
  transition: transform 0.2s ease;
}
.sw-faq details[open] summary::after {
  content: '\2013';
}
.sw-faq summary:hover {
  background: var(--sw-faq-hover);
}
.sw-faq details[open] summary {
  border-bottom: 1px solid var(--sw-card-border);
}
.sw-faq details > div {
  padding: 0 18px 16px;
  font-size: 0.93em;
  line-height: 1.7;
  color: var(--sw-body-text);
}
.sw-faq details > div p {
  margin: 0 0 8px;
}
.sw-faq details > div p:last-child {
  margin: 0;
}
.sw-faq details > div ul {
  margin: 8px 0;
  padding-left: 18px;
}
.sw-faq details > div li {
  margin-bottom: 4px;
}
.sw-faq details > div a {
  color: var(--sw-link);
  text-decoration: none;
  font-weight: 600;
}
.sw-faq details > div a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
  .sw-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sw-wrap { padding: 12px; }
  .sw-header { padding: 32px 16px 22px; border-radius: 12px; margin-bottom: 24px; }
  .sw-header h1 { font-size: 1.5em; }
  .sw-header p { font-size: 0.95em; }
  .sw-strip { gap: 8px; }
  .sw-chip { padding: 6px 14px; font-size: 0.8em; }
  .sw-toc { padding: 16px 18px; }
  .sw-toc ol { columns: 1; }
  .sw-block { padding: 20px; border-radius: 12px; margin-bottom: 20px; }
  .sw-block h2 { font-size: 1.25em; }
  .sw-block h3 { font-size: 1.05em; margin: 18px 0 6px; }
  .sw-block p, .sw-block ul, .sw-block ol { font-size: 0.92em; }
  .sw-block h2 .sw-badge { display: inline; font-size: 0.38em; padding: 2px 8px; margin-left: 6px; white-space: nowrap; }
  .sw-btn { padding: 12px 22px; font-size: 0.9em; width: 100%; justify-content: center; box-sizing: border-box; }
  .sw-grid-2 { gap: 12px; }
  .sw-card { padding: 16px; }
  .sw-card h4 { font-size: 0.95em; }
  .sw-step { flex-direction: column; padding: 14px; }
  .sw-table thead, .sw-table th { display: none; }
  .sw-table, .sw-table tbody, .sw-table tr { display: block; width: 100%; box-sizing: border-box; }
  .sw-table tr { background: #fff; border: 1px solid var(--sw-table-border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
  .sw-table td { display: block; padding: 4px 0; border: none; text-align: left; width: 100%; }
  .sw-table td::before { content: attr(data-label); display: block; font-size: 0.72em; font-weight: 600; color: var(--sw-accent-light); text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 2px; }
  .sw-table td:first-child { font-weight: 700; color: var(--sw-heading-text); padding-bottom: 6px; border-bottom: 1px solid var(--sw-card-border); margin-bottom: 4px; font-size: 0.92em; }
  .sw-table td:first-child::before { display: none; }
  .sw-cta { padding: 20px 0; }
  .sw-info-box, .sw-success-box, .sw-warning-box, .sw-danger-box { padding: 11px 14px; font-size: 0.9em; }
  .sw-code { padding: 12px; font-size: 0.8em; }
  .sw-faq h2 { font-size: 1.2em; }
  .sw-faq summary { padding: 14px 36px 14px 14px; font-size: 0.92em; }
  .sw-faq details > div { padding: 0 14px 14px; font-size: 0.9em; }
}

@media (max-width: 380px) {
  .sw-wrap { padding: 8px; }
  .sw-header { padding: 22px 10px 16px; border-radius: 10px; }
  .sw-header h1 { font-size: 1.2em; }
  .sw-header p { font-size: 0.88em; }
  .sw-block { padding: 14px; }
  .sw-block h2 { font-size: 1.1em; }
  .sw-block p, .sw-block ul, .sw-block ol { font-size: 0.88em; }
  .sw-btn { padding: 10px 16px; font-size: 0.85em; }
  .sw-toc { padding: 12px 14px; }
  .sw-card { padding: 12px; }
  .sw-card h4 { font-size: 0.9em; }
  .sw-table tr { padding: 8px 10px; }
  .sw-table td { font-size: 0.88em; }
  .sw-faq summary { padding: 12px 32px 12px 12px; font-size: 0.88em; }
  .sw-faq details > div { padding: 0 12px 12px; font-size: 0.88em; }
}

.menu_position_left_123874{display:none;}

@media (max-width: 576px) {
    #hotengine-content-blog #page_content {
        padding: 7px;
    }

.hotengine-wrapper-catid-2153 #page_content .headh {
    background: none;
    border: none;
    padding: 14px 7px 10px 7px;
}


}