/*
Theme Name:   Gume Vodic Child
Theme URI:    https://gume-vodic.rs
Description:  Dočernja tema za Gume Vodic.rs zasnovana na GeneratePress. Sadrži sve CSS stilove prenesene iz originalnih HTML stranica.
Author:       Gume Vodic.rs
Template:     generatepress
Version:      1.0.0
Tags:         gume, auto, affiliate, seo
Text Domain:  gume-vodic
*/

/* ============================================================
   DIMENSION PAGES (e.g. 205/55 R16)
   Source: 175-65-r14.html
   ============================================================ */

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

  :root {
    --red: #c0392b;
    --dark: #1a1a1a;
    --mid: #444;
    --light: #f4f4f2;
    --border: #ddd;
    --white: #fff;
    --accent: #e8e0d0;
  }
  html { overflow-x: hidden; }

  body {
    font-family: Tahoma, Arial, sans-serif;
    background: var(--white);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.6;
	overflow-x: hidden;
  }

  a { color: var(--red); text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* TOP BAR */
  .topbar {
    background: var(--dark);
    color: #aaa;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 2px solid var(--red);
  }
  .topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .topbar a { color: #ccc; font-size: 12px; }

  /* HEADER */
  header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 0 14px;
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
  }
  .logo span { color: var(--red); }
  .logo small {
    display: block;
    font-size: 11px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 400;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
  }
  .header-search {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 400px;
  }
  .header-search input {
    flex: 1;
    border: 1px solid var(--border);
    border-right: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 3px 0 0 3px;
    outline: none;
  }
  .header-search button {
    background: var(--red);
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
  }

  /* NAV */
  nav {
    background: var(--dark);
    border-bottom: 3px solid var(--red);
  }

  /* ФИХ 1: убраны max-width и margin: 0 auto — навигация на всю ширину */
  .nav-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  nav ul {
    list-style: none !important;
    display: flex !important;
    align-items: stretch !important;
    flex: 1;
    overflow: visible;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  nav ul li {
    display: flex !important;
    align-items: stretch !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  nav ul li.nav-hidden {
    display: none !important;
  }

  nav ul li a {
    display: flex !important;
    align-items: center !important;
    color: #eee !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 11px 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    transition: background 0.15s;
    text-decoration: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
  }
  nav ul li a:hover, nav ul li a.active {
    background: var(--red) !important;
    color: white !important;
    text-decoration: none !important;
  }

  .nav-more-btn {
    display: none;
    flex-shrink: 0;
    align-items: stretch;
    position: relative;
  }

  .nav-more-btn a {
    display: flex !important;
    align-items: center !important;
    color: #eee !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 11px 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-decoration: none !important;
    border-left: 1px solid #333 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
    background: none !important;
  }
  .nav-more-btn a:hover { background: var(--red) !important; }

  .nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: var(--dark);
    border-top: 2px solid var(--red);
    z-index: 200;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  }
  .nav-dropdown.open { display: flex; }
  .nav-dropdown a {
    display: block;
    color: #eee;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a2a2a;
    white-space: nowrap;
    text-decoration: none;
  }
  .nav-dropdown a:hover { background: var(--red); }

  /* WRAP */
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

  /* BREADCRUMB */
  .breadcrumb {
    font-size: 12px;
    color: #888;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
  .breadcrumb a { color: #888; }

  /* LAYOUT */
  .layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    padding: 24px 0 40px;
  }

  /* HERO BANNER */
  .hero {
    background: linear-gradient(135deg, #1a1a1a 60%, #2c2c2c);
    border: 1px solid #333;
    border-radius: 3px;
    padding: 32px 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .hero-text h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    color: white;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .hero-text h1 span { color: #e8c44a; }
  .hero-text p {
    color: #bbb;
    font-size: 14px;
    max-width: 420px;
    margin-bottom: 18px;
  }
  .btn-hero {
    display: inline-block;
    background: var(--red);
    color: white;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .btn-hero:hover { background: #a93226; text-decoration: none; }
  .hero-badge {
    background: var(--red);
    color: white;
    padding: 14px 20px;
    border-radius: 3px;
    text-align: center;
    min-width: 140px;
    flex-shrink: 0;
  }
  .hero-badge .num { font-size: 36px; font-weight: 700; font-family: Georgia, 'Times New Roman', serif; line-height: 1; }
  .hero-badge .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; opacity: 0.9; }

  /* SECTION TITLE */
  .section-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    border-left: 4px solid var(--red);
    padding-left: 12px;
    margin-bottom: 16px;
  }

  /* CATEGORY GRID */
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }
  .cat-card {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 16px 14px;
    background: var(--light);
    transition: border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
  }
  .cat-card:hover {
    border-color: var(--red);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
  }
  .cat-card .icon { font-size: 26px; margin-bottom: 8px; }
  .cat-card .cat-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
  }
  .cat-card .cat-desc { font-size: 12px; color: #777; line-height: 1.4; }
  .cat-card .cat-count {
    font-size: 11px;
    color: var(--red);
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* ARTICLE LIST */
  .article-list { display: flex; flex-direction: column; gap: 0; }
  .article-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
  }
  .article-item:last-child { border-bottom: none; }
  .article-thumb {
    background: var(--accent);
    border: 1px solid var(--border);
    border-radius: 2px;
    height: 64px;
    width: 90px;
    overflow: hidden;
    flex-shrink: 0;
  }
  .article-meta { font-size: 11px; color: #999; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
  .article-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 5px;
  }
  .article-title:hover { color: var(--red); }
  .article-excerpt { font-size: 13px; color: #666; line-height: 1.5; }
  .article-tag {
    display: inline-block;
    background: var(--accent);
    border: 1px solid var(--border);
    color: #555;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 2px;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* COMPARISON TABLE */
  .compare-box {
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 28px;
  }
  .compare-header {
    background: var(--dark);
    color: white;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .compare-table { width: 100%; border-collapse: collapse; }
  .compare-table th {
    background: var(--light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }
  .compare-table td {
    padding: 10px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
  }
  .compare-table tr:last-child td { border-bottom: none; }
  .compare-table tr:hover td { background: #fafaf8; }
  .rank-badge {
    display: inline-block;
    background: var(--red);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
  }
  .rank-badge.gold { background: #c8960c; }
  .rank-badge.silver { background: #888; }
  .rating { color: #c8960c; font-size: 13px; letter-spacing: 1px; }
  .btn-buy {
    display: inline-block;
    background: var(--red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  .btn-buy:hover { background: #a93226; text-decoration: none; }

  /* SIDEBAR */
  .sidebar { display: flex; flex-direction: column; gap: 20px; }
  .widget {
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
  }
.widget-title {
  background: var(--dark);
  color: white;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0 !important;
}

  /* WIDGET PROMO */
  .promo-widget {
    background: linear-gradient(135deg, #c0392b, #922b21);
    border-radius: 3px;
    padding: 20px 16px;
    text-align: center;
    color: white;
  }
  .promo-widget .pw-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; margin-bottom: 6px; }
  .promo-widget .pw-title { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
  .promo-widget .pw-sub { font-size: 12px; opacity: 0.85; margin-bottom: 14px; }
  .btn-white {
    display: inline-block;
    background: white;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .btn-white:hover { background: #f0f0f0; text-decoration: none; }

  /* BRAND GRID */
  .brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .brand-item {
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 8px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    background: var(--light);
    cursor: pointer;
    transition: border-color 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .brand-item:hover { border-color: var(--red); color: var(--red); }

  /* SEASON BANNER */
  .season-box {
    background: var(--accent);
    border: 1px solid #c8b89a;
    border-left: 4px solid #c8960c;
    border-radius: 2px;
    padding: 12px 14px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
  }
  .season-box strong { color: var(--dark); }

  /* TOP CTA GRID */
  .top-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }
  .top-cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--light);
    transition: border-color 0.15s, box-shadow 0.15s;
    text-decoration: none;
  }
  .top-cta-card:hover {
    border-color: var(--red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-decoration: none;
  }
  .top-cta-card.winter { border-left: 4px solid #3a7bd5; }
  .top-cta-card.summer { border-left: 4px solid #c8960c; }
  .top-cta-icon { font-size: 32px; flex-shrink: 0; }
  .top-cta-title { font-weight: 700; font-size: 15px; color: var(--dark); margin-bottom: 4px; }
  .top-cta-sub { font-size: 12px; color: #888; }
  .top-cta-arrow { font-size: 20px; color: var(--red); font-weight: 700; margin-left: auto; flex-shrink: 0; }

  /* RESPONSIVE */
@media (max-width: 768px) {
    nav { overflow-x: clip; position: relative; }
    header { overflow: hidden; }
    .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
    nav ul { flex-wrap: nowrap; overflow: visible; align-items: stretch; }
    .nav-extra { display: none; }
    .nav-inner { max-width: 100%; margin: 0; }

    /* VIŠE: на мобайле всегда показываем — пункты всегда не влезают */
    .nav-more-btn {
      display: flex !important;
      margin-left: auto;
      align-items: stretch;
      position: static;
    }

    /* Выравниваем VIŠE точно как остальные пункты меню */
    .nav-more-btn a {
      padding: 11px 14px !important;
      line-height: 1 !important;
      font-size: 13px !important;
      display: flex !important;
      align-items: center !important;
    }

    .nav-more-btn a:hover { background: var(--red); }
    .nav-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      width: 100%;
      background: var(--dark);
      border-top: 1px solid #333;
      z-index: 100;
      flex-direction: column;
    }
    .nav-dropdown.open { display: flex; }
    .nav-dropdown a {
      display: block;
      color: #eee;
      font-size: 13px;
      font-weight: 600;
      padding: 11px 16px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      border-bottom: 1px solid #2a2a2a;
    }
    .nav-dropdown a:hover { background: var(--red); text-decoration: none; }
    .hero { flex-direction: row; padding: 16px 14px; gap: 12px; align-items: center; }
    .hero-text h1 { font-size: 16px; margin-bottom: 6px; }
    .hero-text p { display: none; }
    .hero-badge { min-width: 90px; padding: 8px 10px; flex-shrink: 0; }
    .hero-badge .num { font-size: 22px; }
    .hero-badge .label { font-size: 10px; }
    .btn-hero { font-size: 12px; padding: 8px 14px; }
    .layout { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cat-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
    .cat-card .icon { font-size: 18px; margin-bottom: 0; flex-shrink: 0; }
    .cat-card .cat-desc { display: none; }
    .cat-card .cat-count { display: none; }
    .cat-card .cat-name { font-size: 13px; margin-bottom: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .compare-table th:nth-child(4),
    .compare-table td:nth-child(4) { display: none; }
    .top-cta-grid { grid-template-columns: 1fr; gap: 10px; }
    .top-cta-card { padding: 14px 12px; }
    .top-cta-icon { font-size: 24px; }
    .article-item { grid-template-columns: 60px 1fr; }
    .article-thumb { height: 50px; font-size: 18px; }
  }

  @media (max-width: 430px) {
    .cat-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 20px; }
    .logo { font-size: 22px; }
    .compare-table th:nth-child(3),
    .compare-table td:nth-child(3) { display: none; }
  }

  /* FOOTER */
  footer {
    background: var(--dark);
    border-top: 3px solid var(--red);
    color: #888;
    padding: 28px 0 16px;
    margin-top: 20px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 20px;
  }
  .footer-col h4 {
    color: #ddd;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
  }
  .footer-col p { font-size: 12px; line-height: 1.7; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { font-size: 12px; margin-bottom: 6px; }
  .footer-col ul li a { color: #888; }
  .footer-col ul li a:hover { color: #ccc; }
  .footer-bottom {
    border-top: 1px solid #333;
    padding-top: 14px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .disclaimer {
    font-size: 11px;
    color: #666;
    margin-top: 6px;
    font-style: italic;
  }

/* ============================================================
   SIMPLE / LEGAL PAGES
   Source: afilijaciona-napomena.html
   ============================================================ */

  .page-title { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; line-height: 1.3; margin: 20px 0 6px; color: var(--dark); }
  .last-updated { font-size: 12px; color: #999; margin-top: 4px; margin-bottom: 28px; font-style: italic; }

  .content-body { max-width: 680px; }
  .content-body h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; color: var(--dark); margin: 32px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
  .content-body h2:first-child { margin-top: 0; }
  .content-body p { font-size: 15px; color: #333; line-height: 1.8; margin-bottom: 14px; }
  .content-body ul { font-size: 15px; color: #333; line-height: 2; margin-bottom: 14px; padding-left: 20px; }

  .highlight-box {
    background: #fff8e1;
    border: 1px solid #f0c040;
    border-left: 4px solid #c8960c;
    border-radius: 2px;
    padding: 16px 18px;
    margin: 0 0 28px 0;
    font-size: 15px;
    color: #444;
    line-height: 1.8;
  }
  .highlight-box strong { color: var(--dark); }

  .partner-card {
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 18px 20px;
    margin: 20px 0;
    background: var(--light);
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .partner-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
  .partner-info h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; margin-bottom: 6px; color: var(--dark); }
  .partner-info p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }
  .partner-info a { font-weight: 700; }

  .faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
  .faq-item:last-child { border-bottom: none; }
  .faq-q { font-weight: 700; font-size: 15px; color: var(--dark); margin-bottom: 8px; }
  .faq-a { font-size: 14px; color: #555; line-height: 1.7; }

  .legal-note { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 32px; font-size: 13px; color: #999; line-height: 1.7; }

  @media (max-width: 768px) {
    .partner-card { flex-direction: column; gap: 10px; }
  }

/* ============================================================
   ARTICLE PAGES (comparison/advice)
   Source: celogodisnje-ili-sezonske.html
   ============================================================ */

  /* Article */
  .art-h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; margin: 28px 0 12px; border-left: 3px solid var(--red); padding-left: 12px; color: var(--dark); }
  .art-h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 17px; margin: 20px 0 10px; color: var(--dark); }
  .art-p { font-size: 15px; color: #333; line-height: 1.85; margin-bottom: 14px; }
  .info-box { background: #f4f4f2; border-left: 4px solid var(--red); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; border-radius: 0 3px 3px 0; }
  .warn-box { background: #fff8e8; border: 1px solid #c8960c; border-radius: 3px; padding: 16px; margin: 24px 0; font-size: 14px; }
  .warn-box strong { color: #c8960c; }
  .tip-box { background: #eaf4ea; border: 1px solid #5a9a5a; border-radius: 3px; padding: 16px; margin: 24px 0; font-size: 14px; }
  .tip-box strong { color: #3a7a3a; }
  .cta-inline { background: #fff8e8; border: 1px solid #c8960c; border-radius: 3px; padding: 16px 20px; margin: 24px 0; font-size: 14px; }
  .cta-inline strong { color: #c8960c; }
  .btn-cta { display: inline-block; background: var(--red); color: white; font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; }
  .btn-cta:hover { background: #a93226; text-decoration: none; }

  /* Comparison */
  .vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 28px; }
  .vs-card { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
  .vs-card-head { padding: 12px 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
  .vs-card-head.blue { background: #2c5f9e; color: white; }
  .vs-card-head.green { background: #3a7a3a; color: white; }
  .vs-card-body { padding: 14px 16px; font-size: 13px; line-height: 1.8; }
  .vs-card-body ul { list-style: none; }
  .vs-card-body ul li::before { content: "✓ "; color: #3a7a3a; font-weight: 700; }
  .vs-card-body ul li.con::before { content: "✗ "; color: var(--red); }

  /* Score table */
  .score-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
  .score-table th { background: var(--dark); color: white; padding: 10px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
  .score-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
  .score-table tr:nth-child(even) td { background: var(--light); }
  .score-bar { display: inline-block; height: 8px; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
  .score-label { font-size: 12px; font-weight: 700; vertical-align: middle; }

  @media (max-width: 768px) { .vs-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GUIDE PAGES (when to change tires)
   Source: kada-menjati-zimske-gume.html
   ============================================================ */

  .temp-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
  .temp-table th { background: var(--dark); color: white; padding: 9px 12px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
  .temp-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
  .temp-table tr:nth-child(even) td { background: var(--light); }
  .wear-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 24px; }
  .wear-card { border: 1px solid var(--border); border-radius: 3px; padding: 14px 12px; background: var(--light); text-align: center; }
  .wear-card .wc-num { font-size: 28px; font-weight: 700; font-family: Georgia, serif; color: var(--red); line-height: 1; }
  .wear-card .wc-unit { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
  .wear-card .wc-label { font-size: 12px; color: #555; margin-top: 8px; line-height: 1.4; }

  @media (max-width: 768px) { .wear-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   TOP-5 LIST PAGES
   Source: jeftine-letnje-gume-top-5.html
   ============================================================ */

  /* Top card */
  .top-card { border: 1px solid var(--border); border-radius: 6px; margin-bottom: 24px; overflow: hidden; }
  .top-card-head { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--light); border-bottom: 1px solid var(--border); }
  .rank-circle { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 18px; font-weight: 700; color: white; flex-shrink: 0; }
  .rc-1 { background: #c8960c; }
  .rc-2 { background: #888; }
  .rc-3 { background: #c0392b; }
  .rc-4 { background: #5a7a9a; }
  .rc-5 { background: #5a9a5a; }
  .top-card-title { font-family: Georgia, serif; font-size: 17px; font-weight: 700; color: var(--dark); }
  .top-card-sub { font-size: 12px; color: #888; margin-top: 2px; }
  .top-card-body { padding: 16px 18px; }
  .tc-meta { display: flex; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
  .tc-meta-item { font-size: 12px; color: #666; }
  .tc-meta-item strong { color: var(--dark); }
  .tc-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; font-size: 13px; }
  .tc-pros ul, .tc-cons ul { list-style: none; margin-top: 4px; }
  .tc-pros ul li::before { content: "✓ "; color: #3a7a3a; font-weight: 700; }
  .tc-cons ul li::before { content: "✗ "; color: var(--red); font-weight: 700; }
  .tc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; color: #888; }
  .tc-verdict { font-size: 13px; color: #555; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
  .btn-buy-lg { display: inline-block; background: var(--red); color: white; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 3px; text-transform: uppercase; margin-top: 10px; }
  .btn-buy-lg:hover { background: #a93226; text-decoration: none; }
  .star { color: #c8960c; }

  @media (max-width: 768px) { .tc-pros-cons { grid-template-columns: 1fr; } .tc-meta { gap: 12px; } }

/* ============================================================
   COMPARISON PAGES
   Source: premium-vs-budget-gume.html
   ============================================================ */

  /* Tier cards */
  .tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0 28px; }
  .tier-card { border: 2px solid var(--border); border-radius: 6px; overflow: hidden; }
  .tier-card.premium { border-color: #c8960c; }
  .tier-card.mid { border-color: #5a8a5a; }
  .tier-card.budget { border-color: #888; }
  .tier-head { padding: 12px 14px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: white; }
  .tier-card.premium .tier-head { background: #c8960c; }
  .tier-card.mid .tier-head { background: #5a8a5a; }
  .tier-card.budget .tier-head { background: #666; }
  .tier-body { padding: 14px; font-size: 13px; line-height: 1.7; }
  .tier-brands { color: var(--dark); font-weight: 700; margin-bottom: 6px; }
  .tier-price { color: var(--red); font-weight: 700; font-size: 14px; margin-bottom: 8px; }

  /* Brake distance */
  .brake-box { background: var(--dark); border-radius: 6px; padding: 24px; margin: 20px 0 28px; color: white; }
  .brake-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #aaa; margin-bottom: 16px; }
  .brake-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .brake-label { font-size: 12px; width: 120px; flex-shrink: 0; }
  .brake-bar-wrap { flex: 1; background: #333; border-radius: 4px; height: 20px; position: relative; }
  .brake-bar { height: 20px; border-radius: 4px; display: flex; align-items: center; padding: 0 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
  .brake-meters { font-size: 12px; font-weight: 700; flex-shrink: 0; width: 40px; text-align: right; }

  /* Compare table */
  .cmp-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
  .cmp-table th { background: var(--dark); color: white; padding: 10px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
  .cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
  .cmp-table tr:nth-child(even) td { background: var(--light); }

  @media (max-width: 768px) { .tier-grid { grid-template-columns: 1fr; } }

/* ============================================================
   EXPLAINER PAGES (tire markings)
   Source: sta-znaci-205-55-r16.html
   ============================================================ */

  /* Tire diagram */
  .tire-code-box { background: var(--dark); color: white; border-radius: 6px; padding: 24px; text-align: center; margin: 20px 0 28px; }
  .tire-code { font-family: Georgia, serif; font-size: 42px; font-weight: 700; letter-spacing: 2px; line-height: 1; }
  .tire-code .part-a { color: #f4c542; }
  .tire-code .part-b { color: #6ecf7e; }
  .tire-code .part-c { color: #7ec8f4; }
  .tire-code .part-d { color: #f47e7e; }
  .tire-code-legend { display: flex; justify-content: center; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
  .tcl-item { font-size: 12px; display: flex; align-items: center; gap: 5px; }
  .tcl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

  /* Oznake table */
  .ozn-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
  .ozn-table th { background: var(--dark); color: white; padding: 10px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
  .ozn-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
  .ozn-table tr:nth-child(even) td { background: var(--light); }
  .ozn-table .oz-code { font-weight: 700; font-family: monospace; font-size: 15px; color: var(--red); white-space: nowrap; }

  /* LI index tables */
  .li-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0 24px; }
  .li-item { background: var(--light); border: 1px solid var(--border); border-radius: 3px; padding: 8px 6px; text-align: center; font-size: 12px; }
  .li-item .li-num { font-weight: 700; font-size: 15px; color: var(--dark); }
  .li-item .li-kg { color: var(--red); font-weight: 700; }

  @media (max-width: 768px) { .tire-code { font-size: 28px; } .li-grid { grid-template-columns: repeat(2, 1fr); } .tire-code-legend { gap: 12px; } }

/* ============================================================
   POLICY PAGES
   Source: politika-privatnosti.html
   ============================================================ */

  .page-subtitle { font-size: 14px; color: #666; margin-bottom: 28px; }
  .content-body li { margin-bottom: 2px; }

/* ============================================================
   WORDPRESS + GENERATEPRESS CONFLICT FIXES
   ============================================================ */

/* Reset GP body padding */
body.gp-is-sidebar-left .site-main,
body.gp-is-sidebar-right .site-main {
  padding: 0;
}

/* Make GP content area full width */
.inside-article,
.inside-header {
  padding: 0 !important;
}

/* Remove GP default entry header margin */
.entry-header {
  margin-bottom: 0;
}

/* Fix WP block editor alignment */
.wp-block-image,
.wp-block-table {
  max-width: 100%;
}

/* Ensure our .wrap class works inside GP */
.site-content .wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Fix GP nav conflict with our .nav styles */
.main-navigation {
  display: none;
}

/* Preserve our topbar above GP header */
.topbar {
  position: relative;
  z-index: 100;
}

/* WP admin bar offset */
body.admin-bar .topbar {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .topbar {
    margin-top: 46px;
  }
}

/* Fix WP paragraph margins inside our content blocks */
.card p,
.box p,
.section p {
  margin-bottom: 0.8em;
}

/* Ensure our table styles override WP defaults */
.tbl-wrap table,
.comparison-table {
  border-collapse: collapse !important;
}

/* ============================================================
   SIDEBAR WIDGET — ЕДИНЫЕ СТИЛИ (переопределяет GP)
   ============================================================ */

.widget-body {
  padding: 0 !important;
  margin: 0 !important;
  background: var(--white);
}
.widget-body > ul {
  margin: 0 !important;
  padding: 0 !important;
}
.sidebar-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.sidebar-links li {
  border-bottom: 1px solid var(--border);
  padding: 8px 14px !important;
  font-size: 13px;
  margin: 0 !important;
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links li::before {
  content: "›";
  color: var(--red);
  margin-right: 7px;
  font-weight: 700;
}
.sidebar-links a {
  color: var(--dark);
}
.sidebar-links a:hover {
  color: var(--red);
  text-decoration: none;
}
@media (max-width: 768px) {
  nav { overflow-x: clip; }
  .entry-content .alignwide,
  .entry-content .alignfull {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* MOTO CARD */
.moto-card { border: 1px solid var(--border); border-radius: 3px; margin-bottom: 24px; overflow: hidden; }
.moto-card-head { background: linear-gradient(90deg, #1a1a1a, #2c2c2c); color: white; padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.moto-card-head .mc-name { font-family: Georgia, serif; font-size: 18px; font-weight: 700; }
.moto-card-head .mc-sub { font-size: 12px; color: #bbb; margin-top: 2px; }
.moto-card-head .mc-badge { background: var(--red); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; margin-left: auto; flex-shrink: 0; }
.moto-card-body { padding: 16px 18px; }
.moto-card-body .dim-row { font-size: 13px; color: #666; margin-bottom: 6px; }
.guma-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.guma-row:last-child { border-bottom: none; }
.guma-num { font-weight: 700; font-size: 13px; color: var(--red); min-width: 22px; flex-shrink: 0; }
.guma-name { font-weight: 700; font-size: 13px; color: #1a1a1a; }
.guma-desc { font-size: 12px; color: #777; margin-top: 2px; line-height: 1.5; }
.guma-tag { display: inline-block; background: var(--accent); border: 1px solid var(--border); color: #555; font-size: 10px; padding: 1px 6px; border-radius: 2px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* VERDICT CARD (sport-moto-gume) */
.verdict-card { border: 1px solid var(--border); border-radius: 3px; padding: 18px; margin-bottom: 16px; background: #fafaf8; }
.verdict-card .vc-title { font-family: Georgia, serif; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.verdict-card .vc-subtitle { font-size: 12px; color: #888; margin-bottom: 12px; }
.verdict-card .vc-pros li, .verdict-card .vc-cons li { font-size: 13px; color: #555; margin-bottom: 3px; list-style: none; }
.verdict-card .vc-pros li::before { content: "✓ "; color: #27ae60; font-weight: 700; }
.verdict-card .vc-cons li::before { content: "✗ "; color: #c0392b; font-weight: 700; }
.verdict-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; }
.verdict-badge.best-all { background: #27ae60; color: white; }
.verdict-badge.best-sport { background: #c0392b; color: white; }
.verdict-badge.best-value { background: #2980b9; color: white; }

/* INFO / WARN BOXES (статьи) */
.info-box { background: #f4f4f2; border-left: 4px solid var(--red); padding: 14px 16px; font-size: 14px; margin-bottom: 20px; border-radius: 0 3px 3px 0; }
.warn-box { background: #fff8e8; border: 1px solid #c8960c; border-radius: 3px; padding: 16px; margin: 24px 0; font-size: 14px; }
.warn-box strong { color: #c8960c; }

/* MOBILE */
@media (max-width: 768px) {
  .moto-card-head { flex-wrap: wrap; }
  .moto-card-head .mc-badge { margin-left: 0; }
}
nav ul { padding-left: 0 !important; }
nav { margin-left: 0 !important; padding-left: 0 !important; }