body {
  background: #fff9ef;
  color: #d3e1f2;
}

a {
  color: #d3e1f2 !important;
  text-decoration: none !important;
  outline: none !important;
}

a:hover,
a:active,
a:focus {
  color: #d3e1f2 !important;
  text-decoration: underline !important;
}

.topics-header {
  font-family: "MinecraftExtended", Verdana, sans-serif;
  font-size: 1.2em;
  color: #d3e1f2;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  margin-top: 0.5em;
  font-weight: normal;
}

/* banner */
.banner {
  max-width: 700px;
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* layout */
.content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.left,
.center,
.right {
  padding: 20px;
  background: #fff9ef; /* fully solid cream */
  border-radius: 12px;
}

.center {
  text-align: center;
  font-family: "MinecraftExtended", Verdana, sans-serif;
  font-size: 1.1em;
  line-height: 1.3; 
}


/* right */
.right {
  max-height: 350px; 
  overflow: hidden;
}

.right ul {
  list-style: none;
  padding: 0;
}

.right h1 {
  font-family: "MinecraftExtended", Verdana, sans-serif;
  font-size: 1.2em;
  color: #d3e1f2; /* match links/text */
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  margin-top: 0.5em;
  font-weight: normal;
}


/* post list */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.post-list li {
  margin-bottom: 12px;
}

.post-list a {
  font-size: 1.2em;
  color: #d3e1f2;
  text-decoration: none;
}

.post-list a:hover {
  color: #d3e1f2;
  text-decoration: underline;
}

.post-list .date {
  font-size: 0.9em;
  color: #b0bfd1;
  margin-left: 8px;
}

/* posts */
.post {
  background-color: #f4eee5;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
}

.post h1 {
  margin-top: 0;
  color: #d3e1f2;
}

.post .date {
  font-size: 0.9em;
  color: #b0bfd1;
  margin-bottom: 10px;
  display: block;
}

/* fonts */
@font-face {
  font-family: "MinecraftExtended";
  src: url("fonts/mac's Extended Minecraft.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "MinecraftExtended", Verdana, sans-serif;
  color: #d3e1f2;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0.5em 0 0.3em;
}

/* Move this below the global h1 rule */
.content .right h1 {
  font-family: "MinecraftExtended", Verdana, sans-serif;
  font-size: 1.2em;
  color: #d3e1f2; /* match links/text */
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
  margin-top: 0.5em;
  font-weight: normal;
}

/* icons */
.topic-icons {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  height: 220px;
  width: 100%;
}

.topic {
  position: absolute;
  display: inline-block;
  text-align: center;
}

.topic img {
  width: 60px;
  height: auto;
  border-radius: 50%;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.topic img:hover {
  transform: scale(1.1);
}

.topic::before {
  content: attr(data-label);
  position: absolute;
  top: 100%; /* caption below icon */
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7em;
  font-family: "MinecraftExtended", Verdana, sans-serif;
  color: #d3e1f2;
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.topic:hover::before {
  opacity: 1;
}
