/* guides.css - Grundstil für Ratgeber auf AirfryerInsider.de */

/* =========================
   GUIDE BASIS
========================= */

.zs-section {
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.zs-section:last-child {
  border-bottom: 0;
}

/* Headings */
.zs-title {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #172554;
  font-weight: 800;
}

.zs-section h2,
.zs-section h3,
.zs-section h4 {
  color: #172554;
  font-weight: 800;
}

.zs-section h4 {
  margin-top: 30px;
  margin-bottom: 8px;
}

.zs-section p {
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.zs-section ul,
.zs-section ol {
  margin: 0 0 1.25rem 0;
  padding-left: 1.25rem;
}

.zs-section li {
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

/* =========================
   GUIDE BOXEN
========================= */

.zs-box {
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  border: 1px solid #dbeafe;
  border-left: 5px solid #2563eb;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.zs-box h2,
.zs-box h3,
.zs-box h4 {
  color: #172554;
  margin-top: 0;
}

.zs-box p,
.zs-box li {
  color: #334155;
}

/* Varianten */

.zs-box-blue {
  border-color: #bfdbfe;
  border-left-color: #2563eb;
  background: #eff6ff;
}

.zs-box-green {
  border-color: #bbf7d0;
  border-left-color: #16a34a;
  background: #f0fdf4;
}

.zs-box-yellow {
  border-color: #fde68a;
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.zs-box-highlight {
  border-color: #fed7aa;
  border-left-color: #f97316;
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

/* =========================
   BUTTONS
========================= */

.zs-button {
  display: inline-block;
  padding: 0.72rem 1.15rem;
  background: #2563eb;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.zs-button:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.zs-button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 2rem 0;
  flex-wrap: wrap;
}

/* =========================
   GUIDE INLINE LINKS
========================= */

.zs-section a,
.zs-box a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 650;
  transition: color 0.15s ease-in-out;
}

.zs-section a:hover,
.zs-box a:hover {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================
   GUIDE TABELLEN
========================= */

.zs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.25rem 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.zs-table th,
.zs-table td {
  padding: 12px 14px;
  vertical-align: top;
  line-height: 1.45;
  color: #334155;
  border-bottom: 1px solid #e5e7eb;
}

.zs-table thead th {
  background: #eff6ff;
  color: #172554;
  font-weight: 800;
}

.zs-table tbody tr:last-child td {
  border-bottom: 0;
}

.zs-table.zs-table--spacious th,
.zs-table.zs-table--spacious td {
  padding: 14px 16px;
  vertical-align: top;
  line-height: 1.4;
}

.zs-table.zs-table--spacious thead th {
  padding-top: 16px;
  padding-bottom: 16px;
}

.zs-table.zs-table--spacious tbody tr + tr td {
  border-top: 0;
}

.zs-table .zs-num {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.zs-table .zs-formula {
  white-space: normal;
  word-break: break-word;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .zs-title {
    font-size: 1.45rem;
  }

  .zs-box {
    padding: 1rem 1.05rem;
    border-radius: 14px;
  }

  .zs-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .zs-button {
    width: 100%;
    text-align: center;
  }
}