/*
Theme Name: Slusia Night
Theme URI: https://www.slusia-night.de
Author: klickStelle IT & Web
Author URI: https://www.klickstelle.de
Description: 1:1-Nachbau der bisherigen Jimdo-Seite fuer WordPress.
Version: 2.0
Requires PHP: 7.4
Text Domain: slusia-night
*/

/* ==========================================================
   Anpassbare Werte ganz oben - hier beim Seite-an-Seite-Vergleich
   mit der alten Jimdo-Seite die Farben/Schrift feinjustieren.
   ========================================================== */
:root {
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --link: #2b6cb0;
  --border: #e2e2e2;
  --max-width: 900px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: underline; }
a:hover { text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  padding: 24px 0;
  text-align: center;
}

.site-header .logo {
  max-width: 420px;
  margin: 0 auto 18px;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 12px 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.primary-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.primary-nav a:hover { color: var(--link); }

/* ---------- Hero / Titelbereich ---------- */

.hero {
  text-align: center;
  padding: 40px 0 20px;
}

.hero h1 {
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.hero .subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-light);
  margin: 0 0 28px;
}

.hero-photo { margin-bottom: 10px; }
.hero-photo-caption { display: block; font-size: 0.95rem; }

/* ---------- Generic content sections ---------- */

section { padding: 30px 0; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

h2.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 18px;
  text-align: center;
}

h3.section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.prose p { margin: 0 0 18px; }
.prose strong { font-weight: 700; }

/* ---------- Two-column: text + image (Highlights) ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.two-col ul { margin: 0; padding-left: 22px; }
.two-col li { margin-bottom: 8px; }

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Image tile row (Ballone / Social Media Vorlagen) ---------- */

.tile-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.tile-row figure { margin: 0; max-width: 260px; text-align: center; }
.tile-row figcaption { font-size: 0.9rem; color: var(--text-light); margin-top: 8px; }

/* ---------- Download-Kasten (PDF) ---------- */

.download-box {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 20px;
  max-width: 460px;
  margin: 20px auto;
}

.download-box img { width: 40px; height: auto; flex-shrink: 0; }
.download-box .filename { font-weight: 600; }
.download-box .filemeta { font-size: 0.85rem; color: var(--text-light); }

/* ---------- Info-Block (Zeitraum / Wo?) ---------- */

.info-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
  padding: 24px 0;
}

.info-block dt { font-weight: 600; margin-bottom: 4px; }
.info-block dd { margin: 0; color: var(--text-light); }

/* ---------- Social Icons ---------- */

.social-links { text-align: center; margin: 20px 0; }
.social-links a { margin: 0 10px; display: inline-block; }
.social-links img { display: inline-block; max-width: 40px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
}

.site-footer address { font-style: normal; line-height: 1.7; margin: 0 0 20px; }
.footer-bottom-links a { color: var(--text-light); margin: 0 6px; }

/* ---------- Page (Unterseiten) ---------- */

.page-header { text-align: center; padding: 40px 0 10px; }
.page-header h1 { font-size: 1.8rem; font-weight: 600; margin: 0; }

.page-content { padding: 30px 0 50px; }
.page-content .prose { max-width: var(--max-width); margin: 0 auto; }

/* ---------- Gallery grid (Fotoimpressionen) ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
