/* Shareable content: pastor hub, sermon hub, content spoke */

:root {
  --shc-bg: #f7f7f5;
  --shc-surface: #ffffff;
  --shc-ink: #1a1a1a;
  --shc-muted: #666666;
  --shc-line: #e5e5e0;
  --shc-accent: #b8862d;
  --shc-accent-strong: #96691f;
}

* {
  box-sizing: border-box;
}

body.shc {
  margin: 0;
  background: var(--shc-bg);
  color: var(--shc-ink);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.shc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.shc-topbar-wrap {
  background: var(--shc-surface);
  border-bottom: 1px solid var(--shc-line);
}

.shc-topbar {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shc-brand__logo {
  display: block;
  height: 40px;
  width: auto;
}

.shc-topbar__link {
  color: var(--shc-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.shc-topbar__link:hover {
  color: var(--shc-ink);
}

/* Main */
.shc-main {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px 64px;
  flex: 1;
}

/* Breadcrumb */
.shc-breadcrumb {
  font-size: 13px;
  color: var(--shc-muted);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.shc-breadcrumb__link {
  color: var(--shc-accent-strong);
  text-decoration: none;
}

.shc-breadcrumb__link:hover {
  text-decoration: underline;
}

.shc-breadcrumb__sep {
  color: var(--shc-line);
}

.shc-breadcrumb__current,
.shc-breadcrumb__text {
  color: var(--shc-muted);
}

/* Headings */
.shc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--shc-accent-strong);
  margin: 0 0 8px;
}

.shc-title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 16px;
}

/* Spoke article */
.shc-capsule {
  font-size: 17px;
  color: #333;
  background: var(--shc-surface);
  border-left: 3px solid var(--shc-accent);
  padding: 16px 18px;
  border-radius: 6px;
  margin: 0 0 28px;
}

.shc-body {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  color: #222;
}

.shc-body h1,
.shc-body h2,
.shc-body h3 {
  font-family: "Outfit", sans-serif;
  line-height: 1.3;
  margin-top: 1.6em;
}

.shc-body p {
  margin: 0 0 1.1em;
}

.shc-body ul,
.shc-body ol {
  padding-left: 1.4em;
}

.shc-body--raw {
  white-space: pre-wrap;
}

/* Hub headers */
.shc-hub-header,
.shc-pastor-header {
  margin-bottom: 22px;
}

.shc-pastor-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.shc-pastor__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--shc-line);
}

.shc-pastor__church,
.shc-hub-meta {
  color: var(--shc-muted);
  font-size: 15px;
  margin: 4px 0 0;
}

.shc-pastor-bio {
  background: var(--shc-surface);
  border: 1px solid var(--shc-line);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 28px;
}

.shc-pastor-bio__text {
  margin: 0;
  color: #333;
  white-space: pre-wrap;
}

/* Video */
.shc-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.shc-video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lists (pieces / sermons) */
.shc-pieces__heading,
.shc-sermons__heading {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shc-muted);
  margin: 8px 0 12px;
}

.shc-pieces__list,
.shc-sermons__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shc-pieces__link,
.shc-sermons__link {
  display: block;
  background: var(--shc-surface);
  border: 1px solid var(--shc-line);
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--shc-ink);
  font-weight: 600;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.shc-pieces__link:hover,
.shc-sermons__link:hover {
  border-color: var(--shc-accent);
  transform: translateY(-1px);
}

.shc-empty {
  color: var(--shc-muted);
  font-style: italic;
  margin: 8px 0 32px;
}

/* CTA */
.shc-cta {
  text-align: center;
  margin-top: 40px;
  padding: 28px 20px;
  background: var(--shc-surface);
  border: 1px solid var(--shc-line);
  border-radius: 10px;
}

.shc-cta__label {
  font-size: 15px;
  color: var(--shc-muted);
  margin: 0 0 14px;
}

.shc-cta__btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4a04a 0%, #b8862d 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 8px;
}

.shc-cta__btn:hover {
  filter: brightness(1.05);
}

@media (max-width: 600px) {
  .shc-pastor-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Spoke hero: sermon thumbnail + church/pastor + watch link */
.shc-hero {
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 6px 0 26px;
}

.shc-hero__media {
  flex: 0 0 auto;
  width: 300px;
  max-width: 46%;
}

.shc-hero__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--shc-line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.shc-hero__text {
  flex: 1 1 auto;
  min-width: 0;
}

.shc-hero .shc-eyebrow {
  margin: 0 0 6px;
}

.shc-hero .shc-title {
  margin: 0 0 10px;
}

.shc-meta {
  color: var(--shc-muted);
  font-size: 15px;
  margin: 0 0 14px;
}

.shc-meta__dot {
  margin: 0 8px;
}

.shc-hero__watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shc-accent-strong);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.shc-hero__watch:hover {
  text-decoration: underline;
}

.shc-hero__watch .fa-youtube {
  color: #ff0000;
  font-size: 18px;
}

@media (max-width: 560px) {
  .shc-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .shc-hero__media {
    width: 100%;
    max-width: 100%;
  }
}
