/* Base styles */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 40px;
  color: #333;
  background-color: #fdf6e3;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.top-menu {
  background-color: #eee;
  border-bottom: 2px solid #ccc;
  padding: 10px 0;
  text-align: center;
}

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

.top-menu li {
  display: inline;
  margin: 0 15px;
}

.top-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.top-menu a:hover {
  color: #b58900;
}

/* Entry system */
.entry-container {
  max-width: 700px;
  margin: 30px auto;
  border-left: 5px solid currentColor;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding-left: 20px;
}

.entry-header {
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  background-color: #fdf6e3;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-icon {
  font-size: 18px;
  font-weight: bold;
  color: inherit;
  transition: transform 0.3s ease;
}

.entry-container.expanded .toggle-icon {
  transform: rotate(45deg);
}

.entry-content {
  padding: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}


.entry-container.expanded .entry-content {
  max-height: none;
}

.entry-content img {
  width: 100%;
  height: auto;
  margin-top: 15px;
  display: block;
}

figcaption {
  font-style: italic;
  margin-top: 5px;
  color: #666;
}

/* Page themes */
.exercise-theme {
  background-color: #e0f7fa;
  color: #0277bd;
}

.food-theme {
  background-color: #f1f8e9;
  color: #558b2f;
}

.reading-theme {
  background-color: #fbe9e7;
  color: #6d4c41;
}

.gaming-theme {
  background-color: #ede7f6;
  color: #4527a0;
}

.social-links {
  text-align: center;
  margin-top: 20px;
}

.social-links a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  color: #b58900;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #8c6d00;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-top: 15px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}