/* ============================================
   TAKKY TIKKI — Blog add-on styles
   Loaded after style.css on blog.html and post pages.
   Reuses the same CSS variables/palette defined in style.css.
   ============================================ */

/* ---------- post meta (in hero) ---------- */
.post-meta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.post-meta .tag {
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- post body ---------- */
.post {
  max-width: 720px;
}
.post h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--hibiscus);
  border-bottom: 4px dotted var(--mango);
  padding-bottom: 6px;
  margin: 36px 0 14px;
}
.post p { margin-bottom: 14px; }

.post figure { margin: 26px 0; }
.post figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.post figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.7;
  font-style: italic;
}

.post-note {
  margin-top: 34px;
  background: var(--bamboo);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-weight: 700;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-weight: 800;
  color: var(--lagoon-d);
  text-decoration: none;
}
.back-link:hover,
.back-link:focus-visible { text-decoration: underline; }

/* ---------- blog index list ---------- */
.post-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.post-card {
  display: block;
  background: var(--bamboo);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--jungle);
  transition: transform 0.12s;
}
.post-card:hover,
.post-card:focus-visible { transform: translateY(-2px); }
.post-card .post-card-date {
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--coral);
}
.post-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--lagoon-d);
  margin: 8px 0 8px;
}
.post-card p { opacity: 0.85; }
