.rating-list {
  list-style: none;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  max-width: 650px;
  background: #A1FFC0;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.rating-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 15px;
}

.rating-list strong {
  font-weight: 600;
}
  .verkligt-varde {
    max-width: 860px;
    margin: 40px auto;
    font-family: inherit;
    color: #222;
    line-height: 1.7;
  }

  .verkligt-varde h2 {
    font-size: 1.6em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }

  .verkligt-varde h3 {
    font-size: 1.15em;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #111;
  }

  .verkligt-varde ul {
    background: #f9f9f9;
    border-left: 4px solid #2e7d32;
    padding: 16px 16px 16px 36px;
    border-radius: 4px;
    margin: 16px 0;
  }

  .verkligt-varde ul li {
    margin-bottom: 6px;
  }

  .obs-ruta {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 14px 16px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 0.95em;
  }

  .sammanfattning-ruta {
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
    padding: 14px 16px;
    border-radius: 4px;
    margin: 24px 0;
    font-size: 0.95em;
  }

  .tabell-wrapper {
    overflow-x: auto;
    margin: 20px 0;
  }

  .varde-tabell {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
  }

  .varde-tabell thead tr {
    background: #1a1a2e;
    color: #fff;
  }

  .varde-tabell th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
  }

  .varde-tabell td {
    padding: 11px 16px;
    border-bottom: 1px solid #e0e0e0;
  }

  .varde-tabell tbody tr:nth-child(even) {
    background: #f5f5f5;
  }

  .varde-tabell tbody tr:hover {
    background: #eef4ff;
  }

  .highlight-rad {
    background: #e8f5e9 !important;
  }

  .varde-positiv {
    color: #2e7d32;
    font-weight: 600;
  }

  .tabell-fotnot {
    font-size: 0.82em;
    color: #777;
    margin-top: 6px;
    font-style: italic;
  }
  .jamfor-section {
    max-width: 860px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: inherit;
  }

  .jamfor-rubrik {
    font-size: 1.6em;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .jamfor-intro {
    text-align: center;
    color: #444;
    margin-bottom: 24px;
    font-size: 0.95em;
    line-height: 1.6;
  }

  /* Kort-layout – staplas på mobil, grid på desktop */
  .jamfor-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  @media (min-width: 640px) {
    .jamfor-wrapper {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (min-width: 960px) {
    .jamfor-wrapper {
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  .jamfor-kort {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
  }

  .jamfor-kort:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  }

  /* Toppval-kort med grön ram */
  .jamfor-kort.toppval {
    border: 2px solid #2e7d32;
  }

  .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e7d32;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
  }

  .kort-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-top: 8px;
  }

  .bolag-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
  }

  .bolag-namn {
    font-weight: 700;
    font-size: 1.05em;
    color: #111;
  }

  .kort-rader {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }

  .kort-rad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .kort-rad:last-child {
    border-bottom: none;
  }

  .kort-rad.highlight {
    background: #f9f9f9;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 0 -8px;
    border-bottom: none;
  }

  .rad-etikett {
    color: #666;
    font-weight: 500;
  }

  .rad-varde {
    font-weight: 600;
    color: #111;
    text-align: right;
  }

  .varde-positiv {
    color: #2e7d32;
    font-size: 1.05em;
  }

  .varde-kommer {
    color: #999;
    font-style: italic;
    font-weight: 400;
    font-size: 0.85em;
  }

  /* Knappar */
  .kort-knappar {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .knapp-ta {
    display: block;
    text-align: center;
    background: #2e7d32;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
    transition: background 0.2s;
  }

  .knapp-ta:hover {
    background: #1b5e20;
  }

  .knapp-mer {
    display: block;
    text-align: center;
    background: #fff;
    color: #2e7d32;
    padding: 9px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    border: 1px solid #2e7d32;
    transition: background 0.2s;
  }

  .knapp-mer:hover {
    background: #e8f5e9;
  }

  .jamfor-fotnot {
    font-size: 0.78em;
    color: #999;
    text-align: center;
    margin-top: 16px;
    font-style: italic;
  }

  .jamfor-fotnot a {
    color: #999;
  }
