.container { max-width: 920px; margin: 0 auto; padding: 24px; }
.blog .post-body { line-height: 1.75; font-size: 1.05rem; }
.post-meta { opacity: 0.7; font-size: 0.95rem; margin: 8px 0 18px; }
.post-card { padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.post-card-title { margin: 0 0 6px; }
.post-excerpt { margin: 0; opacity: 0.85; }
.backlink { display: inline-block; margin: 16px 0; text-decoration: none; }
.post-body h2, .post-body h3 { margin-top: 1.6em; }
.post-body p { margin: 1em 0; }
.post-body a { text-decoration: underline; }


/* --- Jetpack Slideshow: static-site carousel support --- */

/* If the slideshow is a UL/OL, kill bullets + default spacing */
.wp-block-jetpack-slideshow,
.wp-block-jetpack-slideshow ul,
.wp-block-jetpack-slideshow ol {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

/* Common wrapper */
.wp-block-jetpack-slideshow {
  position: relative;
}

/* Jetpack often uses this inner container, but sometimes the root is the container */
.wp-block-jetpack-slideshow .wp-block-jetpack-slideshow_container,
.wp-block-jetpack-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
}

/* Slides can be LI or FIGURE depending on Jetpack output */
.wp-block-jetpack-slideshow li,
.wp-block-jetpack-slideshow figure {
  margin: 0;
  padding: 0;
}

/* Hide all slides by default; JS will toggle is-active */
.wp-block-jetpack-slideshow .jp-slide {
  display: none !important;
}

.wp-block-jetpack-slideshow .jp-slide.is-active {
  display: block !important;
}

/* Make images responsive */
.wp-block-jetpack-slideshow img {
  display: block;
  width: 100%;
  height: auto;
}

/* Buttons */
.wp-block-jetpack-slideshow .jp-slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 2px 20px rgba(0, 0, 0, 0.35),
    0 0 0 2px rgba(0, 0, 0, 0.12);
  font-size: 22px;
  font-weight: 700;
  color: #000;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  z-index: 2;
}

.wp-block-jetpack-slideshow .jp-slideshow-btn:hover {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.wp-block-jetpack-slideshow .jp-slideshow-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.wp-block-jetpack-slideshow .jp-slideshow-btn.prev { left: 10px; }
.wp-block-jetpack-slideshow .jp-slideshow-btn.next { right: 10px; }

/* Dots (go outside border for nicer look) */
.jp-slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 0;
  margin: 0;
}

.jp-slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.jp-slideshow-dot.is-active {
  background: rgba(0,0,0,0.65);
}

/* Caption support */
.wp-block-jetpack-slideshow figcaption {
  padding: 10px 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.post h1 {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.post h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    rgba(47,91,255,0.35),
    rgba(14,165,164,0.30),
    rgba(124,58,237,0.30)
  );
  z-index: -1;
  border-radius: 6px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}

.post-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(47, 91, 255, 0.08);
  border: 1px solid rgba(47, 91, 255, 0.18);
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1;
}