/*
Theme Name: Reisige
Theme URI: https://reisige.xeranet-kunden.de/
Author: xeraNet
Description: Responsive, originalgetreue Rekonstruktion der Website des Chors der Reisigen.
Version: 1.2.2
Text Domain: reisige
*/

:root {
  --green-950: #17271b;
  --green-900: #203724;
  --green-800: #314f35;
  --green-700: #49694b;
  --green-100: #eef2e9;
  --paper: #f7f4e9;
  --ink: #20251f;
  --wine: #8d1717;
  --line: #aeb8a6;
  --content: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #d8ded2;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: #315c34; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--wine); }
img, video { max-width: 100%; height: auto; }
audio { max-width: 100%; }

.site-shell {
  width: min(100%, var(--content));
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 28px rgb(20 35 23 / 22%);
}
.site-header {
  min-height: 106px;
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  align-items: start;
  color: #fff;
  background: #004b45 url("/wp-content/uploads/reisige-media/back-verl.jpg") repeat-x;
  border: 0;
  overflow: hidden;
}
.brand {
  display: block;
  width: 135px;
  height: 106px;
  text-decoration: none;
}
.brand-logo { display: block; width: 135px; height: 106px; margin: 0; }
.header-art {
  display: grid;
  grid-template-columns: 385fr 180fr 41fr;
  grid-template-rows: 10fr 60fr 36fr;
  min-width: 0;
  width: min(100%, 606px);
  aspect-ratio: 606 / 106;
  background: #004b45;
}
.header-art img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: fill;
}
.mobile-toggle {
  display: none;
  width: 100%;
  padding: 12px 18px;
  color: #fff;
  background: var(--green-900);
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
}
.site-grid { display: grid; grid-template-columns: 138px minmax(0, 1fr); }
.sidebar {
  min-height: 468px;
  padding: 0 7px 32px;
  color: #fff;
  background: #004b45;
}
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li {
  position: relative;
  margin: 0;
  border: 0;
}
.sidebar a {
  position: relative;
  display: block;
  min-height: 14px;
  padding: 1px 2px 1px 17px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  line-height: 12px;
  text-decoration: none;
}
.sidebar a::before {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 7px;
  height: 7px;
  background: #f39a00;
  border: 2px solid #ffd600;
  border-radius: 50%;
  content: "";
}
.sidebar a:hover, .sidebar a:focus, .sidebar .current-menu-item > a {
  color: #ffd600;
  background: transparent;
}
.sidebar .menu > li:first-child { display: none; }
.sidebar .menu > li:nth-child(6),
.sidebar .menu > li:nth-child(9),
.sidebar .menu > li:nth-child(11),
.sidebar .menu > li:nth-child(12) {
  margin-top: 0;
}
.sidebar .menu > li:nth-child(6)::before,
.sidebar .menu > li:nth-child(9)::before,
.sidebar .menu > li:nth-child(11)::before,
.sidebar .menu > li:nth-child(12)::before {
  display: block;
  width: 135px;
  margin: 0 0 0 -7px;
  padding: 0;
  overflow: hidden;
  background-position: left top;
  background-repeat: no-repeat;
  border: 0;
  font-size: 0;
  line-height: 0;
  content: "";
}
.sidebar .menu > li:nth-child(6)::before {
  height: 19px;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neupa28.gif");
}
.sidebar .menu > li:nth-child(9)::before {
  height: 20px;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neupa36.gif");
}
.sidebar .menu > li:nth-child(11)::before {
  height: 19px;
  margin-top: 3px;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neupa42.gif");
}
.sidebar .menu > li:nth-child(12)::before {
  height: 22px;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neupa45.gif");
}
.sidebar .menu > .menu-item-guestbook-original {
  margin-top: 6px;
  border-top: 2px solid #e9c800;
  border-bottom: 2px solid #e9c800;
}
.menu-guestbook-label,
#menu-item-5661 > a,
#menu-item-5662 > a {
  display: block;
  overflow: hidden;
  background-position: left center;
  background-repeat: no-repeat;
  font-size: 0;
  text-indent: -9999px;
}
.menu-guestbook-label {
  width: 64px;
  height: 12px;
  margin: 5px 3px;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neug_st.gif");
  cursor: default;
}
.menu-guestbook-label:hover,
.menu-guestbook-label:focus {
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neug_ov.gif");
  outline: 1px dotted #ffd600;
  outline-offset: 2px;
}
#menu-item-5661 {
  border-bottom: 2px solid #e9c800;
}
#menu-item-5661 > a {
  width: 72px;
  height: 10px;
  min-height: 10px;
  margin: 5px 3px;
  padding: 0;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neuimpr.gif");
}
#menu-item-5661 > a:hover,
#menu-item-5661 > a:focus,
#menu-item-5661.current-menu-item > a {
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neuimov.gif");
}
#menu-item-5662 {
  border-bottom: 2px solid #e9c800;
}
#menu-item-5662 > a {
  width: 85px;
  height: 20px;
  min-height: 20px;
  margin: 4px 3px;
  padding: 0;
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neuDS1.gif");
}
#menu-item-5662 > a:hover,
#menu-item-5662 > a:focus,
#menu-item-5662.current-menu-item > a {
  background-image: url("/wp-content/uploads/reisige-media/images/entwurf_gruen_links_neuDS2.gif");
}
#menu-item-5661 > a::before,
#menu-item-5662 > a::before {
  display: none;
}
.sidebar .menu > li:nth-child(3),
.sidebar .menu > li:nth-child(4),
.sidebar .menu > li:nth-child(7),
.sidebar .menu > li:nth-child(10) {
  margin-top: 1px;
}
.sidebar-note {
  margin-top: 8px;
  padding: 0 3px;
  border-top: 0;
  font-size: 10px;
}
.sidebar-note .facebook-link {
  display: flex;
  min-height: 22px;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9px;
  line-height: 10px;
  text-decoration: none;
}
.sidebar-note .facebook-link:hover,
.sidebar-note .facebook-link:focus { color: #ffd600; }
.sidebar-note .facebook-link img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
}
.sidebar-note a::before { display: none; }
.content { min-width: 0; padding: clamp(20px, 4vw, 46px); }
.content > article { max-width: 820px; }
.entry-title {
  margin: 0 0 24px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.65rem);
  line-height: 1.15;
}
.entry-content h2, .entry-content h3 {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
}
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 7px; vertical-align: top; }
.entry-content img { margin: 5px; }
.entry-content .alignleft { float: left; margin: 0 18px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 18px; }
.entry-content::after { display: block; clear: both; content: ""; }
.legacy-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.legacy-gallery img { width: 100%; margin: 0; object-fit: cover; }
.site-footer {
  padding: 16px 24px;
  color: #d8e1d4;
  background: var(--green-950);
  font-size: .82rem;
  text-align: center;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 94px minmax(0, 1fr);
    min-height: 74px;
  }
  .brand { width: 94px; height: 74px; }
  .brand-logo { width: 94px; height: 74px; }
  .header-art { align-self: start; }
  .mobile-toggle { display: block; }
  .site-grid { display: block; }
  .sidebar { display: none; }
  .sidebar.is-open { display: block; }
  .sidebar .menu > li:first-child { display: block; }
  .sidebar a { min-height: 34px; padding: 9px 10px 9px 27px; font-size: 14px; line-height: 16px; }
  .sidebar a::before { top: 12px; left: 10px; width: 8px; height: 8px; }
  .sidebar .menu > li:nth-child(6)::before,
  .sidebar .menu > li:nth-child(9)::before,
  .sidebar .menu > li:nth-child(11)::before,
  .sidebar .menu > li:nth-child(12)::before {
    padding: 0;
    font-size: 0;
  }
  .menu-guestbook-label,
  #menu-item-5661 > a,
  #menu-item-5662 > a {
    width: auto;
    min-height: 36px;
    margin: 0;
    background-position: 10px center;
  }
  .menu-guestbook-label { height: 36px; }
  #menu-item-5661 > a { height: 36px; }
  #menu-item-5662 > a { height: 40px; }
  .content { padding: 22px 17px 36px; }
  .entry-content table, .entry-content tbody, .entry-content tr, .entry-content td {
    display: block;
    width: 100% !important;
  }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 10px auto; }
}
