body {
  --muted-text: #8a8a8a;
  background: #f7f5f0;
  color: #2f2f2f;
  font-family: Georgia, serif;
  margin: 0;
  padding: 16px;
}

.page {
  margin: 0 auto;
  max-width: 1100px;
}

.top {
  position: relative;
  text-align: center;
  margin-bottom: 16px;
}

.top h1 {
  margin: 0;
  font-weight: normal;
}

.top p {
  margin-top: 6px;
  color: #666;
  font-size: 14px;
}

.info-button {
  background: #6d6456;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  height: 28px;
  line-height: 28px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 28px;
}

.info-button:hover {
  background: #575046;
}

.info-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 100;
}

.info-modal.open {
  display: flex;
}

.info-card {
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 560px;
  padding: 18px 18px 14px;
  position: relative;
  width: 100%;
}

.info-card h2 {
  margin: 0 28px 10px 0;
  font-size: 20px;
  font-weight: normal;
}

.info-card p {
  margin: 0;
  line-height: 1.5;
}

.info-close {
  background: transparent;
  border: 0;
  color: #555;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 10px;
}

.content {
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr;
}

/* Slideshow container */
.slideshow-container {
  background: #e7e2d8;
  border-radius: 8px;
  min-height: 360px;
  padding: 12px;
  position: relative;
}

/* Hide slides by default */
.mySlides {
  display: none;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 68vh;
}

/* Images */
.mySlides img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Caption text */
.text {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 0 0 8px 8px;
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 12px;
  position: absolute;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

/* Navigation arrows */
.prev,
.next {
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  border-radius: 3px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  padding: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.thoughts-panel {
  background: #fff;
  border: 1px solid #d8d2c6;
  border-radius: 8px;
  padding: 14px;
}

.thoughts-panel h2 {
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 8px 0;
}

textarea {
  border: 1px solid #c9c2b4;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  min-height: 90px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

textarea::placeholder {
  color: var(--muted-text);
  opacity: 1;
}

.write button {
  background: #6d6456;
  border: 0;
  color: #fff;
  cursor: pointer;
  margin-top: 8px;
  padding: 6px 14px;
}

.write button:hover {
  background: #575046;
}

.title {
  color: #666;
  font-size: 14px;
  margin: 14px 0 8px 0;
}

.entry {
  background: #ffffff;
  border-left: 3px solid #6d6456;
  margin-bottom: 10px;
  padding: 10px;
}

.entry-text {
  margin: 0 0 8px 0;
  white-space: pre-wrap;
}

.entry-actions {
  display: flex;
  gap: 8px;
}

.entry-actions button {
  background: #6d6456;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  padding: 4px 10px;
}

.entry-actions button:hover {
  background: #575046;
}

.entry-edit {
  border: 1px solid #c9c2b4;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 8px;
  min-height: 70px;
  padding: 8px;
  resize: vertical;
  width: 100%;
}

.empty {
  color: var(--muted-text);
  font-size: 14px;
  margin: 0;
}

.foot {
  color: #888;
  font-size: 12px;
  margin: 14px 0 0 0;
  text-align: center;
}

@media (max-width: 860px) {
  .content {
    grid-template-columns: 1fr;
  }
}
