:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #20242b;
  --muted: #5f6773;
  --accent: #6e4d2f;
  --line: #d9d3c7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background-color: var(--bg);
  background-image: url("/assets/uploads/2025/10/Lonesome-Ranch-Background.jpeg");
  background-repeat: repeat;
  background-size: auto;
  color: var(--text);
  line-height: 1.55;
}

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

.site-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 18px 48px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 12px;
}

.site-title {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.site-tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  background: #fffdf9;
}

.site-nav a.current {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

h1 {
  margin: 0 0 14px;
  font-size: 2rem;
}

.content > *:first-child { margin-top: 0; }
.content > *:last-child { margin-bottom: 0; }

figure {
  margin: 0 0 16px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-bottom: 18px;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.home-audio-controls {
  margin-top: 10px;
}

.home-audio-controls button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
}

.hero-carousel {
  position: relative;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 12px;
}

.hero-carousel-track {
  position: relative;
  min-height: 260px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.hero-slide figure {
  margin: 0;
}

.hero-slide img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
}

.hero-nav.prev { left: 10px; }
.hero-nav.next { right: 10px; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
}

.site-footer {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}
