
/* ----------  GLOBALS  ---------- */
html, body {
  height: 100%;
  margin: 0;
  color: #333;
  font-family: "Lora", serif;
  letter-spacing: 0.04em;
  background: #f5f2ee;
}

body[data-mode="oath"]::before {
  content: "";
  position: fixed;
  top: 56px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 56px);
  background: url("img/Hippocrates.png") center/contain no-repeat;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

/* ----------  TYPOGRAPHY  ---------- */
h1, h2, nav a.logo img {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ----------  HEADER / NAV  ---------- */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;   /* top & bottom only */
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0 1rem;
}

nav a.logo {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #333;
  font-family: "IM Fell English SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

nav svg {
  height: 100%;
  width: auto;
}

nav .tabs-right {
  display: flex;
  gap: 0.75rem;
}

nav a {
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #2a2a2a;
  border-radius: 4px;
}

/* ----------  CONTENT AREAS  ---------- */
#content {
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  line-height: 1.6;
}

/* ----------  TAB VISIBILITY  ---------- */
#content > section          { display: none; }
#content > section:not(.hidden) { display: block; }


/* ----------  SMALL HELPERS  ---------- */
footer {
  position: fixed;
  bottom: 0.5rem;
  left: 0.5rem;
  font-size: 0.7rem;
  color: #333;
}