/*
Theme Name: Jeremy
Theme URI: https://example.com/jeremy
Author: OpenAI
Description: A lightweight full-width WordPress theme with a slim header, popup navigation, flexible footer blocks, and no automatic page titles.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: jeremy
*/

:root {
  --jeremy-header-bg: #000000;
  --jeremy-header-text: #ffffff;
  --jeremy-footer-bg: #000000;
  --jeremy-footer-text: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--jeremy-header-bg);
  color: var(--jeremy-header-text);
}
.header-inner {
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.custom-logo-link,
.custom-logo-link img {
  display: block;
}
.custom-logo {
  max-height: 48px;
  width: auto;
}
.header-spacer { flex: 1 1 auto; min-width: 8px; }
.header-taglines {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem;
  min-width: 0;
  text-align: right;
  line-height: 1.2;
}
.header-taglines span { white-space: nowrap; }
.menu-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}
.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 24px;
  height: 2px;
  background: currentColor;
  display: block;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0,0,0,.58);
}
.menu-overlay.is-open { display: block; }
.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 88vw);
  height: 100%;
  overflow-y: auto;
  padding: 84px 28px 28px;
  background: #ffffff;
  color: #111111;
  box-shadow: -8px 0 28px rgba(0,0,0,.25);
}
.menu-panel .menu,
.menu-panel .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-panel .menu > li { border-bottom: 1px solid #e5e5e5; }
.menu-panel a {
  display: block;
  padding: 13px 0;
  text-decoration: none;
}
.menu-panel .sub-menu { padding-left: 1rem; }
.menu-panel .sub-menu a { font-size: .95em; }
body.menu-open { overflow: hidden; }

.site-content,
.content-area,
.site-main,
.entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.entry-content > * { max-width: none; }
.page-title,
.entry-title { display: none !important; }

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--jeremy-footer-bg);
  color: var(--jeremy-footer-text);
}
.footer-inner {
  width: 100%;
  margin: 0;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}
.footer-widget-area { min-width: 0; }
.footer-widget-area .widget { margin: 0 0 1rem; }
.footer-widget-area .widget:last-child { margin-bottom: 0; }
.footer-logo {
  justify-self: end;
  align-self: center;
}
.footer-logo img {
  display: block;
  max-height: 64px;
  width: auto;
}
.footer-inner.no-logo { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .header-inner { padding-inline: 10px; gap: 9px; }
  .custom-logo { max-height: 42px; }
  .header-taglines {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    font-size: .9rem;
  }
  .footer-inner,
  .footer-inner.no-logo {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-logo { justify-self: end; }
}
