
/*
Theme Name: Responsive WP Theme Final 3 Column
Version: 1.0
*/
:root { --primary:#07203b; }

body { margin:0; font-family: system-ui; color:#222; }
a { color:#fff; text-decoration:none; }

/* Header (1/6 height ≈ 16.6vh) */
.site-header {
  background:var(--primary);
  color:#fff;
  height:16.6vh;
  display:flex;
  align-items:center;
}

/* Footer (2/6 height ≈ 33.3vh) */
.site-footer {
  background:var(--primary);
  color:#fff;
  height:33.3vh;
  display:flex;
  align-items:center;
}

.wrap {
  max-width:1100px;
  margin:0 auto;
  padding:0 1rem;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* 2-Spalten-Layout: 3/4 Inhalt, 1/4 Sidebar */
.content-area {
  display: grid;
  grid-template-columns: 3fr 1fr; /* 3/4 zu 1/4 */
  gap: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.site-main, .site-main2, .widget-area {
  background:#fff;
  padding:1rem;
  border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,0.1);
}

@media(max-width:900px){
  .content-area { grid-template-columns:1fr; }
  .site-header, .site-footer { height:auto; }
}

/* Header- und Footer-Menü waagrecht */
.header-nav ul,
.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.header-nav ul li,
.footer-nav ul li {
  display: inline-block;
}

.header-nav a,
.footer-nav a {
  color: #fff;
  font-weight: 500;
}

/* Gutenberg & allgemeine Inhaltsformatierung */
.site-main, .site-page, .entry-content {
  line-height: 1.6;
  font-size: 1rem;
}

/* Überschriften */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  margin-top: 1.4rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Absätze */
.entry-content p {
  margin-bottom: 1rem;
}

/* Listen */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Bilder */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Zitate */
.entry-content blockquote {
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary);
  background: #f5f7fa;
  font-style: italic;
}

/* Tabellen */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}
.entry-content table td, 
.entry-content table th {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

