/* ── THEME ─────────────────────────────────────────── */
body.light {
  --bg: #ffffff;
  --fg: #000000;
  --nav-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.1);
  --nav-bg: #ffffff;
}
body.dark {
  --bg: #000000;
  --fg: #ffffff;
  --nav-shadow: 0 4px 4px -2px rgba(255, 255, 255, 0.5);
  --nav-bg: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* ── NAV ───────────────────────────────────────────── */
.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  position: fixed;
  top: 0;
  padding: 10px;
  margin-bottom: 10px;
  z-index: 999;
  transition: all 0.3s ease;
}

.page-title {
    font-size: xx-large;
}

.page-title:hover {
  cursor: pointer;
}


/* ── CONTENT ───────────────────────────────────────── */
.content-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  margin-top: 110px;
  transition: all 0.3s ease;

  /* Narrow: phones */
  @media (max-width: 767px) {
    width: 100%;
    margin-top: 110px;
  }

  /* Medium: tablets and small laptops */
  @media (min-width: 768px) and (max-width: 1199px) {
    width: 75%;
  }

  /* Wide: desktops */
  @media (min-width: 1200px) {
    width: 55%;
    padding-left: 2rem;
  }
}

@media (max-width: 767px) {
  .nav-controls {
    flex-direction: column;
  }
}

/* ── PAGE HEADING ──────────────────────────────────── */
.page-heading {
  font-family: "EB Garamond", serif;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 0 10px;
  margin-bottom: 1rem;
  color: var(--fg);
}

/* ── UPDATES LIST ──────────────────────────────────── */
.updates-list {
  margin-bottom: 2vh;
  text-align: justify;
  padding: 0 10px 0 30px;
  width: 100%;
}

.update-item {
  margin-bottom: 1rem;
}

.update-item > p {
  margin-bottom: 0.3rem;
}

.update-item ul {
  padding-left: 1.5rem;
}

.update-item ul li {
  margin-bottom: 0.2rem;
}

.update-date {
  font-family: "Courier Prime", monospace;
  font-weight: bold;
}

.update-type {
  font-style: italic;
}

a {
  color: var(--fg);
  text-underline-offset: 2px;
}

a:hover {
  font-weight: bold;
}

/* ── END LIST ──────────────────────────────────────── */
.end-list {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.5rem 0 1.5rem;
}

.end-list::before {
  content: "꧁ ";
  position: relative;
  top: -0.28rem;
  right: 0.2rem;
  font-size: 1rem;
}

.end-list::after {
  content: " ꧂";
  position: relative;
  top: -0.28rem;
  left: 0.2rem;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .end-list::before {
    top: -0.2rem;
  }
  .end-list::after {
    top: -0.2rem;
  }
}
