:root {
  --bg: #eef3ea;
  --surface: #ffffff;
  --surface-soft: #f8fbf5;
  --text: #1f2a1f;
  --muted: #596659;
  --line: #c8d7c1;
  --brand: #79bf5a;
  --brand-dark: #4d9a32;
  --brand-deep: #2758dd;
  --accent: #e9f6e2;
  --shadow: 0 10px 30px rgba(55, 84, 48, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f2f5ef 0%, #edf3e9 100%);
  line-height: 1.6;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ===== LAYOUT ===== */

.page-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.2rem;
  width: min(calc(100% - 2rem), 960px);
  margin: 0 auto;
  padding: 0.8rem 0 2rem;
  align-items: start;
}

.sidebar {
  position: relative;
  top: 0;
}

/* ===== LEFT MENU ===== */

.side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.side-logo {
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.side-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.side-nav a {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 10px;
  border: 2px solid var(--brand-deep);
  background: linear-gradient(180deg, #dff4d6, #c9ecbd);
  color: var(--brand-deep);
  font-weight: bold;
}

.side-nav a:hover {
  background: #e8f9e1;
}

.forum-link {
  font-size: 1.05rem;
}

/* ===== HEADER ===== */

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #8f938e;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 85px;
  height: 85px;
}

.brand-title {
  font-size: 2.4rem;
  color: var(--brand);
  margin: 0;
}

/* ===== HERO ===== */

.hero {
  padding: 1rem 0 0.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.lead {
  font-size: 1.05rem;
}

.hero-links {
  margin-top: 1rem;
}

/* ===== PANELS ===== */

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

/* ===== SECTIONS ===== */

.section {
  margin-bottom: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}

/* ===== LISTS ===== */

.list {
  padding-left: 1rem;
}

.list li {
  margin-bottom: 0.4rem;
}

/* ===== QUOTES ===== */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.quote-text {
  margin-bottom: 0.5rem;
}

.quote-by {
  font-weight: bold;
  color: var(--brand-deep);
}

/* ===== BUTTONS ===== */

.button {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: bold;
}

.button.primary {
  background: var(--brand-dark);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
}

/* ===== FOOTER ===== */

.footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid,
  .cards,
  .quotes-grid {
    grid-template-columns: 1fr;
  }
 .calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
  border: 1px solid #c8d7c1;
  padding: 0.65rem;
}

.calendar-table th {
  background: #dff4d6;
  color: #2758dd;
}
}