* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: white;
  font-family: "Helvetica Neue",
               Helvetica, Arial, "Lucida Grande", sans-serif;
  color: #222;
}

.grid {
  display: grid;
  grid-template-columns: 210px repeat(4, 1fr);
  min-height: 100vh;
  max-width: 1050px;
  margin: 0 auto;
}

.sidebar {
  background: white;
  padding: 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.sidebar li {
  margin-bottom: 0.75em;
}

.sidebar li a {
  display: block;
  min-width: 100%;
}

.sidebar hr {
  border: none;
  border-top: 1px solid black;
  margin: 0 0 0.75em 0; /* top, right, bottom, left */
}

.sidebar a {
  text-decoration: none;
  color: #000;
}

.title-item {
  height: 2.1rem;
  display: flex;
  align-items: center;             /* vertical centering */
}

.logo {
  text-align: center;
  margin-top: 1rem;
}

.logo img {
  margin-top: -5px;
  width: 60px;
  height: auto;
  display: block;
}

.content {
  grid-column: 2 / 6;
  padding: 1rem 1rem 1rem 0; /* top, right, bottom, left */
  background: white;
}

.top-accent {
  width: 25%;
  height: 1rem;
  margin: 0;
}

.default {
  background: #F2F2F2;
}

.palm {
  background: #A6BD8D;
}

.spray {
  background: #DFECEC;
}

.sand {
  background: #E7D1BA;
}

.sunrise {
  background: #FDD087;
}

.sky {
  background: #70B0E0;
}

.sun {
  background: #FFF000;
}

.ocean {
  background: #1297C8;
}

.sea {
  background: #5CC8CC;
}

.palm-hover:hover {
  background: #A6BD8D;
}

.spray-hover:hover {
  background: #DFECEC;
}

.sand-hover:hover {
  background: #E7D1BA;
}

.sunrise-hover:hover {
  background: #FDD087;
}

.sky-hover:hover {
  background: #70B0E0;
}

.sun-hover:hover {
  background: #FFF000;
}

.ocean-hover:hover {
  background: #1297C8;
}

.sea-hover:hover {
  background: #5CC8CC;
}

.default-line {
  border-bottom: 1px solid #F2F2F2;
}

.palm-line {
  border-bottom: 1px solid #A6BD8D;
}

.spray-line {
  border-bottom: 1px solid #DFECEC;
}

.sand-line {
  border-bottom: 1px solid #E7D1BA;
}

.sunrise-line {
  border-bottom: 1px solid #FDD087;
}

.sky-line {
  border-bottom: 1px solid #70B0E0;
}

.sun-line {
  border-bottom: 1px solid #FFF000;
}

.ocean-line {
  border-bottom: 1px solid #1297C8;
}

.sea-line {
  border-bottom: 1px solid #5CC8CC;
}

.inner-content {
  background: #E5E2E1;
  border: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  overflow-x: hidden;  /* avoids spilling into the content div */
  min-height: calc(100vh - 30px);
}

h1 {
  height: calc(2.6rem + 2px);
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #F2F2F2;
  white-space: nowrap;        /* prevent line breaks */
}

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

.columns .text {
  grid-column: 3 / 5;
}

.columns .image {
  grid-column: 1 / 3;
}

.image img {
  width: 100%;
  margin-bottom: 0.5rem;
}
