/*
Theme Name: Skynddig Child
Template: generatepress
Description: Skynddig.net child theme — uafhængig forbrugerguide, rød/hvid editorial stil
Version: 1.0
Author: Samiweb Solutions Oy
*/

/* ===== FARVER OG FONTE ===== */
:root {
  --color-red: #C8102E;
  --color-red-dark: #8B0000;
  --color-text: #111827;
  --color-text-secondary: #374151;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg-light: #f9fafb;
}

body {
  font-family: Arial, sans-serif;
  color: var(--color-text);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}

.site-title a {
  color: var(--color-text) !important;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}

.site-title a span.red {
  color: var(--color-red);
}

.main-navigation a {
  color: var(--color-muted) !important;
  font-size: 13px;
  text-decoration: none;
}

.main-navigation a:hover {
  color: var(--color-red) !important;
}

/* ===== TOPBAR (valgfri) ===== */
.site-description {
  font-size: 10px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ===== INDHOLD ===== */
.entry-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 18px;
}

.entry-content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.entry-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.entry-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin: 24px 0 8px;
}

.entry-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.entry-content ul li {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ===== RØD ACCENT LINJE (øverst på artikler) ===== */
.entry-header {
  border-top: 3px solid var(--color-red);
  padding-top: 20px;
}

/* ===== KATEGORI LABEL ===== */
.cat-links a,
.entry-footer .cat-links a {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-red) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* ===== ARTIKKELLISTE ===== */
.post {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 28px;
  margin-bottom: 28px;
}

.post:last-child {
  border-bottom: none;
}

.entry-summary p {
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* ===== SIDEBAR ===== */
.widget-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 8px;
  margin-bottom: 14px;
}

.widget {
  margin-bottom: 32px;
}

/* ===== KIT FORM I SIDEBAR ===== */
.widget .formkit-form {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
}

.widget .formkit-submit {
  background: var(--color-red) !important;
  color: #ffffff !important;
  border: none !important;
  width: 100%;
  padding: 10px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== KOMMERCIEL DISCLAIMER (kursiv tekst i bunden af artikler) ===== */
.entry-content em:last-of-type {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 24px;
  font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  font-size: 12px;
  color: var(--color-muted);
}

.site-footer a {
  color: var(--color-muted) !important;
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--color-red) !important;
}

/* ===== LÆS MERE KNAP ===== */
.more-link,
a.more-link {
  display: inline-block;
  color: var(--color-red) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 1px;
}

/* ===== RESPONSIV ===== */
@media (max-width: 768px) {
  .entry-title {
    font-size: 22px;
  }
  body {
    font-size: 15px;
  }
}
