/* ------------------------------------------------------------------
   chrisvmuniz.com / christopherscorner.com  —  restored stylesheet
   Palette + typography taken verbatim from the CSS custom properties
   found in the 2022-08-14 Wayback capture of the original Bluehost
   WonderBlocks theme (wb4wp-wordpress-theme-production).
   ------------------------------------------------------------------ */

:root {
  --background: #eeeeee;
  --background-stronger: #d7d7d7;
  --background-lighter: #f0f0f0;
  --colophon: #bfbfbf;

  --text: #000730;
  --text-softer: rgba(0, 7, 48, 0.75);
  --text-10: rgba(0, 7, 48, 0.1);

  --accent1: #4f8a8b;          /* teal */
  --accent1-stronger: #487d7e;
  --accent2: #fbd46d;          /* yellow */
  --accent2-stronger: #e2bf63;

  --border: rgba(0, 7, 48, 0.1);

  --font-body: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Roboto Condensed", "Roboto", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;              /* the original theme set body weight to 700 */
  font-size: 17px;
  line-height: 1.65;
}

/* ---------------------------- navigation ---------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}

.menu, .menu ul { list-style: none; margin: 0; padding: 0; }

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.menu > li { position: relative; }

.menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 4px;
}

.menu a:hover,
.menu a:focus-visible { background: var(--text-10); color: var(--accent1-stronger); }

.menu .current > a {
  color: var(--accent1-stronger);
  box-shadow: inset 0 -3px 0 var(--accent2);
}

/* submenus */
.menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--background-lighter);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0, 7, 48, 0.12);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu { display: block; }

.has-children > a::after { content: " ▾"; opacity: 0.6; }

/* ------------------------------ layout ------------------------------ */

.site {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  min-height: 60vh;
}

.entry-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 28px;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }

h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 2em 0 0.5em; }
h2 { font-size: 1.5rem; margin: 1.8em 0 0.5em; }

p { margin: 0 0 1.25em; }

a { color: var(--accent1-stronger); }

figure { margin: 0 0 2em; }

figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---------------------------- post lists ---------------------------- */

.post-list { list-style: none; margin: 0 0 2em; padding: 0; }

.post-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.post-list li:first-child { border-top: 1px solid var(--border); }

.post-list .post-title {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--text);
}

.post-list .post-title:hover { color: var(--accent1-stronger); }

.post-list .excerpt {
  color: var(--text-softer);
  font-size: 0.95rem;
  margin-top: 4px;
}

.archives { list-style: none; padding: 0; margin: 0; }
.archives a { text-decoration: none; }

/* ------------------------------- meta ------------------------------- */

.entry-meta {
  color: var(--text-softer);
  font-size: 0.9rem;
  margin: -18px 0 32px;
}

.entry-meta .author { color: var(--accent1-stronger); }

/* ----------------------------- comments ----------------------------- */

.comments {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 2px solid var(--border);
}

.comments h2 { margin-top: 0; }

.comment {
  background: var(--background-lighter);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent1);
  border-radius: 4px;
  padding: 16px 20px;
}

.comment .comment-meta {
  font-size: 0.85rem;
  color: var(--text-softer);
  margin-bottom: 6px;
}

/* ----------------------------- callouts ----------------------------- */

.notice {
  background: var(--background-lighter);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent2);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 0 0 2em;
}

.notice h2 { margin-top: 0; font-size: 1.15rem; }

.notice p:last-child { margin-bottom: 0; }

.notice code {
  background: var(--text-10);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

.stat-block p { margin: 0 0 0.4em; font-size: 1.1rem; }

.embed-frame {
  width: 100%;
  height: 480px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background-lighter);
}

.embed-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  color: var(--text-softer);
}

/* ------------------------------ footer ------------------------------ */

.footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-menu, .footer-menu ul { list-style: none; margin: 0; padding: 0; }

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}

.footer-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-menu a:hover { color: var(--accent1-stronger); }

.footer-menu .sub-menu {
  display: flex;
  gap: 14px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.colophon {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-softer);
  font-weight: 400;
}

.colophon a { color: var(--accent1-stronger); }

@media (max-width: 720px) {
  .navbar-inner { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
  .menu { gap: 0; }
  .menu a { padding: 8px 10px; font-size: 0.9rem; }
  .menu .sub-menu { position: static; display: block; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 16px; }
  .has-children > a::after { content: ""; }
  .site { padding: 32px 20px 56px; }
}
