/* ================================================================
   report.css – Testergebnisbericht-Styles
   Einbinden in header.php NACH style.css:
   <link rel="stylesheet" href="/assets/css/report.css">
   Primärfarbe passend zu CNW: #2a4a8a
   ================================================================ */

/* --- Wrapper um den gesamten Block --- */
.bottleneck-report-wrap {
    margin-top: 40px;
    margin-bottom: 8px;
}

/* ================================================================
   ARTIKEL-CONTAINER
   ================================================================ */
.bnr-report {
    line-height: 1.75;
    color: #1f2937;
    font-size: 15px;
}

/* ================================================================
   ÜBERSCHRIFTEN
   ================================================================ */
.bnr-report h1 {
    font-size: clamp(1.2rem, 2.8vw, 1.65rem);
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
    margin-bottom: 12px;
}
.bnr-report h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin: 28px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e7eb;
}
.bnr-report h3 {
    font-size: .975rem;
    font-weight: 600;
    color: #1f2937;
    margin: 18px 0 6px;
}

/* ================================================================
   BADGES
   ================================================================ */
.bnr-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.bnr-badge {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}
.bnr-badge-gpu  { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.bnr-badge-cpu  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.bnr-badge-ok   { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.bnr-badge-pct  { background: #ede9fe; color: #4c1d95; border: 1px solid #ddd6fe; }

/* ================================================================
   CHART
   ================================================================ */
.bnr-chart-wrap {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 18px 0;
}
.bnr-chart-inner canvas {
    max-height: 200px;
}
.bnr-chart-caption {
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    margin-top: 8px;
}

/* ================================================================
   ABSCHNITTE – Absätze
   ================================================================ */
.bnr-report section {
    margin-bottom: 4px;
}
.bnr-intro p,
.bnr-perf p,
.bnr-gaming p,
.bnr-upgrade p,
.bnr-conclusion p,
.bnr-extended p {
    margin-bottom: 12px;
}

/* ================================================================
   SPECS-TABELLE
   ================================================================ */
.bnr-specs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bnr-specs-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.bnr-specs-tbl th {
    text-align: left;
    padding: 9px 13px;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6b7280;
    border-bottom: 2px solid #e5e7eb;
}
.bnr-specs-tbl td {
    padding: 9px 13px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}
.bnr-specs-tbl tr:last-child td { border-bottom: none; }
.bnr-specs-tbl tr:hover td { background: #f9fafb; }

/* ================================================================
   LISTEN
   ================================================================ */
.bnr-report ul,
.bnr-report ol {
    padding-left: 20px;
    margin: 8px 0 14px;
}
.bnr-report li {
    margin-bottom: 5px;
}

/* ================================================================
   FAQ
   ================================================================ */
.bnr-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.bnr-faq-list dt {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    margin-bottom: 3px;
}
.bnr-faq-list dd {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

/* ================================================================
   ÄHNLICHE KOMBINATIONEN
   ================================================================ */
.bnr-similar {
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 24px;
}
.bnr-similar h3 {
    margin-top: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    font-weight: 700;
}
.bnr-similar ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.bnr-similar a {
    display: inline-block;
    padding: 4px 11px;
    background: #fff;
    border: 1px solid #c7d2fe;
    border-radius: 5px;
    color: #2a4a8a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .12s, border-color .12s;
}
.bnr-similar a:hover {
    background: #e0e7ff;
    border-color: #2a4a8a;
    text-decoration: none;
}

/* ================================================================
   ERWEITERTER ABSCHNITT (Padding für 1000-Wörter-Minimum)
   ================================================================ */
.bnr-extended {
    background: #f9fafb;
    border-left: 3px solid #2a4a8a;
    border-radius: 0 8px 8px 0;
    padding: 16px 18px;
    margin-top: 24px;
}

/* ================================================================
   FEHLENDER WERT (Platzhalter nicht ersetzt)
   ================================================================ */
.bnr-missing {
    color: #dc2626;
    font-style: italic;
    font-size: 12px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
    .bnr-report h1     { font-size: 1.15rem; }
    .bnr-report h2     { font-size: 1rem; }
    .bnr-chart-inner canvas { max-height: 150px; }
    .bnr-specs-tbl th,
    .bnr-specs-tbl td  { padding: 7px 9px; font-size: 12px; }
    .bnr-similar       { padding: 12px 14px; }
    .bnr-extended      { padding: 12px 14px; }
}
