/*
Theme Name: Classic Header Mini
Author: You
Version: 1.2
Description: Minimal classic theme with PHP header (adaptive PNG logo + one-sentence text + menus).
Text Domain: classic-header-mini
*/

:root {
  --font: Arial, Helvetica, sans-serif;
  --text: #222;
  --bg: #fff;
  --link: #0a58ca;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eaeaea;
    --bg: #111;
    --link: #81b3ff;
  }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

/* Header layout */
#site-header {
  text-align: center;
  padding: 20px 0;
}

.site-branding { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 8px; 
}

/* Logo sizing (adaptive via picture > img) */
.site-logo img {
  width: 220px;
  height: auto;
  max-width: 100%;
}
@media (min-width: 1024px) {
  .site-logo img { width: 260px; }
}

/* Menus */
.primary-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-menu a,
.footer-menu a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}
.primary-menu a:hover,
.footer-menu a:hover {
  text-decoration: underline;
}

/* Main content width (simple, not boxed too tightly) */
main.site-main {
  width: min(1200px, 96vw);
  margin: 40px auto;
  padding: 0 16px;
}

/* Tables and generic content */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(127,127,127,.2);
}

/* Helpful if you embed Leaflet or a custom map container */
.entry-content .leaflet-container,
.entry-content .theater-map {
  width: 100% !important;
  min-height: 60vh;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  opacity: .8;
}

/* Links color */
a { color: var(--link); }
