/*
Theme Name: Eddie Shell
Theme URI: https://eddierod.com/
Author: Eddie Rod
Description: Minimal WordPress fallback theme for EddieRod.com. Feature plugins own application routes and business logic.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: eddie-shell
*/

body.eddie-shell-theme {
  --es-bg: #f4f7fb;
  --es-surface: #ffffff;
  --es-line: #d8e1ed;
  --es-ink: #17253d;
  --es-muted: #65748a;
  --es-accent: #2468d6;
}

body.eddie-shell-theme *,
body.eddie-shell-theme *::before,
body.eddie-shell-theme *::after {
  box-sizing: border-box;
}

body.eddie-shell-theme {
  min-height: 100vh;
  margin: 0;
  background: var(--es-bg);
  color: var(--es-ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.eddie-shell-theme a {
  color: var(--es-accent);
}

body.eddie-shell-theme img,
body.eddie-shell-theme video {
  max-width: 100%;
  height: auto;
}

.eddie-shell-header {
  border-bottom: 1px solid var(--es-line);
  background: var(--es-surface);
}

.eddie-shell-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 36px, 1120px);
  min-height: 62px;
  margin: 0 auto;
}

.eddie-shell-brand {
  color: var(--es-ink);
  font-size: 20px;
  font-weight: 850;
  text-decoration: none;
}

.eddie-shell-home {
  color: var(--es-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.eddie-shell-main {
  min-height: calc(100vh - 126px);
}

.eddie-shell-document {
  width: min(100% - 36px, 920px);
  margin: 42px auto 72px;
  padding: 32px;
  border: 1px solid var(--es-line);
  background: var(--es-surface);
}

.eddie-shell-document > header h1 {
  margin: 0 0 22px;
  font-size: 36px;
  line-height: 1.12;
}

.eddie-shell-content > :first-child {
  margin-top: 0;
}

.eddie-shell-content > :last-child {
  margin-bottom: 0;
}

.eddie-shell-empty {
  width: min(100% - 36px, 720px);
  margin: 70px auto;
  text-align: center;
}

.eddie-shell-footer {
  border-top: 1px solid var(--es-line);
  color: var(--es-muted);
  font-size: 12px;
  text-align: center;
}

.eddie-shell-footer__inner {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  padding: 18px 0;
}

body.eddie-shell-application .eddie-shell-main {
  min-height: calc(100vh - 126px);
}

@media (max-width: 700px) {
  .eddie-shell-header__inner {
    min-height: 56px;
  }

  .eddie-shell-document {
    margin-top: 24px;
    padding: 22px;
  }

  .eddie-shell-document > header h1 {
    font-size: 30px;
  }
}
