/* Ergänzungen nur für die DAVsky-Hilfeseiten (nextcloud.html, nextcloud-en.html,
   app.html, app-en.html, vergleich-davx5*.html). Eigene Datei statt styles.v2.css: nginx liefert immutable, Änderungen
   dort sähen wiederkehrende Besucher bis zu 30 Tage nicht. Bei Änderungen neuen Namen
   wählen (v3). Inline-<style> geht nicht: die CSP erlaubt kein 'unsafe-inline'.
   Grundlage ist lobotune/songtexte.v1.css. */

.hero__inner--single{ grid-template-columns: 1fr; }
.hero__inner--single .lead{ max-width: 70ch; }

.guide{ display: grid; gap: 16px; }

.guide p{ margin: 0 0 12px; color: var(--muted); }
.guide p:last-child{ margin-bottom: 0; }
.guide strong{ color: var(--text); }
.guide a{ text-decoration: underline; text-underline-offset: 2px; }

/* Ein Fehlerbild je Absatz unter "Häufige Fehler"; kleiner als der Kartentitel. */
.guide h3{
  margin: 18px 0 6px;
  font-size: 16px;
  color: var(--text);
}
.guide h3:first-child{ margin-top: 0; }

.guide ol{
  margin: 0 0 12px;
  padding-left: 22px;
  color: var(--muted);
}
.guide ol li, .guide ul li{ margin: 6px 0; }
.guide ul{ margin: 0 0 12px; }
.guide ul:last-child, .guide ol:last-child{ margin-bottom: 0; }

.guide code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  overflow-wrap: anywhere;
}

.guide .note{
  border-left: 3px solid var(--brand);
  background: var(--card2);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
}

/* Tabellen (getestete Server, Vergleich mit DAVx5); aus topcal/hilfe.css. */
.tableWrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    margin-top: 8px;
}
table.compare th, table.compare td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}
table.compare thead th {
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.22);
}
table.compare tbody th {
    color: var(--text);
    font-weight: 600;
    width: 26%;
}
table.compare td { color: var(--muted); }
table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }
.faqMore{ margin: 16px 0 0; }
.faqMore a{ text-decoration: underline; text-underline-offset: 2px; }
/* Grid-Kinder dürfen schmaler als die Tabelle werden; die Tabelle scrollt dann in .tableWrap. */
.guide > .card{ min-width: 0; }
/* DAVsky-Tabellen passen auch schmal ohne Scrollen: keine Mindestbreite, engere Zellen. */
.guide table.compare{ min-width: 0; }
@media (max-width: 600px){
  .guide table.compare th, .guide table.compare td{ padding: 10px 8px; font-size: 0.92em; overflow-wrap: break-word; hyphens: auto; }
  .guide table.compare--vs{ table-layout: fixed; }
  .guide table.compare--vs thead th:first-child{ width: 30%; }
  .guide table.compare--servers{ table-layout: fixed; }
  .guide table.compare--servers thead th:nth-child(1){ width: 38%; }
  .guide table.compare--servers thead th:nth-child(2), .guide table.compare--servers thead th:nth-child(3){ width: 16%; }
  .guide table.compare tbody th{ width: auto; }
  .guide table.compare thead th{ font-size: 11px; letter-spacing: 0; }
  .guide table.compare th, .guide table.compare td{ padding: 10px 6px; }
}

/* FAQ answers with a list (setup failure causes). */
.faq__a p{ margin: 0 0 8px; }
.faq__a p:last-child{ margin-bottom: 0; }
.faq__a ul{ margin: 0 0 8px; padding-left: 22px; }
.faq__a li{ margin: 4px 0; }

/* "What users say": quotes from Play reviews; source note must stay visible right below (UWG 5b(3)). */
.voices{ display: grid; gap: 14px; }
.voice{ margin: 0; padding: 10px 14px; border-left: 3px solid var(--brand); background: var(--card2); border-radius: 0 12px 12px 0; }
.voice blockquote{ margin: 0; color: var(--text); }
.voice figcaption{ margin-top: 6px; color: var(--muted); font-size: 0.9em; font-weight: 600; }
.voices__note{ margin: 0; color: var(--muted); font-size: 0.9em; }
.voices__note a{ text-decoration: underline; text-underline-offset: 2px; }
