:root {
  --max-width: 760px;
  --text: #1a1a1a;
  --text-muted: #666;
  --bg: #fafafa;
  --link: #c2410c;
  --link-hover: #9a3412;
  --border: #e5e5e5;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PT Sans", "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Typography */
h1 { font-size: 1.9rem; margin-bottom: 0.5rem; line-height: 1.3; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.75rem; }
p { margin-bottom: 1.1rem; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

img, video { max-width: 100%; height: auto; border-radius: 6px; }

/* Post meta */
.post-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Standalone media (outside carousels) */
.standalone-media {
  margin: 1.5rem 0;
}
.standalone-media video,
.standalone-media img {
  width: 100%;
  border-radius: 8px;
}

/* Carousel */
.carousel-wrapper {
  margin: 2rem 0;
}
.swiper {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.swiper-slide {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}
.swiper-button-prev,
.swiper-button-next {
  color: rgba(255,255,255,0.8);
}
.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #fff;
}

/* Posts list */
.post-list {
  list-style: none;
}
.post-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.post-list li:last-child { border-bottom: none; }
.post-list a {
  font-size: 1.2rem;
  font-weight: 600;
}
.post-list .post-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}