* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #314963;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background: #3a6fbf;
  height: 96px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.header-logo {
  background: #5a9be8;
  color: #fff;
  height: 80px;
  width: 600px;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 6px 18px;
}

.accent-band {
  background: #6ab04c;
  height: 34px;
  width: 100%;
}

.page-wrapper {
  display: flex;
  min-height: calc(100vh - 56px - 14px);
}

.sidebar {
  width: 130px;
  flex-shrink: 0;
  background: #b84c1a;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar .nav-item {
  display: block;
  background: #d97a50;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-radius: 3px;
  transition: background 0.18s ease;
}

.sidebar .nav-item:hover {
  background: #e8895e;
}

.site-nav {
  display: none;
  background: #b84c1a;
  padding: 8px 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav .nav-item {
  background: #d97a50;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 3px;
  flex: 1 1 auto;
  text-align: center;
  transition: background 0.18s ease;
}

.site-nav .nav-item:hover {
  background: #e8895e;
}

.content {
  flex: 1;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 20px 24px;
}

.featured-image {
  background: #f0b418;
  background-image: url("/cis195/images/worldtree.jpg");
  background-size: cover;
  width:600px;
  height: 340px;
  border-radius: 2px;
  grid-row: 1;
  grid-column: 1;
}

.text-block {
  
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 9px;
  grid-row: 1;
  grid-column: 2;
}

.text-block.full {
  grid-row: 2;
  grid-column: 1 / -1;
}

.text-line {
  background-color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  width: 100%;
}

.text-line.short {
  width: 65%;
}

@media (max-width: 640px) {
  .site-nav  { display: flex; }
  .sidebar   { display: none; }

  .content {
    display: flex;
    flex-direction: column;
    padding: 18px 16px;
    gap: 16px;
  }

  .featured-image {
    width: 100%;
    height: 180px;
  }

  .text-block,
  .text-block.full {
    width: 100%;
  }
}
