/* ============================================================
   UNRAVEL YOUR BRAND — article.css
   Shared styles for all /articles/ pages
   ============================================================ */

/* ── Article page layout ─────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* ── Article body typography ─────────────────────────────────── */
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}
.article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.article-body p:last-child { margin-bottom: 0; }

/* ── Pull quote ──────────────────────────────────────────────── */
.article-pullquote {
  border-left: 3px solid var(--blue);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-pullquote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--blue-darker);
  font-weight: 500;
  margin: 0;
}

/* ── Scripture block ─────────────────────────────────────────── */
.article-scripture {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
  border: 1px solid var(--grey-border);
}
.article-scripture p {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.article-scripture cite {
  font-size: .825rem;
  font-weight: 700;
  color: var(--blue);
  font-style: normal;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Inline book CTA ─────────────────────────────────────────── */
.article-book-cta {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.article-book-cta img {
  width: 80px;
  border-radius: var(--radius);
}
.article-book-cta-text h3 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.article-book-cta-text p {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-bottom: 16px;
}

/* ── Inline resource CTA ─────────────────────────────────────── */
.article-resource-cta {
  background: var(--blue-light);
  border: 1px solid rgba(0,164,214,.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}
.article-resource-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.article-resource-cta h3 {
  font-size: 1rem;
  color: var(--blue-darker);
  margin-bottom: 4px;
}
.article-resource-cta p {
  font-size: .875rem;
  color: var(--text-mid);
  margin: 0 0 12px;
}

/* ── Sidebar ─────────────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 24px;
  border: 1px solid var(--grey-border);
}
.sidebar-card h4 {
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  margin-bottom: 16px;
}
.sidebar-card p {
  font-size: .9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.sidebar-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.sidebar-topic-tag {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 16px;
}

/* ── Prev / Next navigation ──────────────────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-border);
}
.article-nav-item {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.article-nav-item:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.article-nav-item.next { text-align: right; }
.article-nav-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}
.article-nav-title {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.article-nav-topic {
  font-size: .78rem;
  color: var(--grey-text);
  margin-top: 4px;
  display: block;
}

/* ── More in topic ───────────────────────────────────────────── */
.more-in-topic {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-border);
}
.more-in-topic h2 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-book-cta { grid-template-columns: 1fr; }
  .article-book-cta img { width: 60px; }
  .sidebar-hide-mobile { display: none; }
}

@media (max-width: 640px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-item.next { text-align: left; }
  .article-resource-cta { flex-direction: column; gap: 16px; }
}


/* ── Article hero with background image ─────────────────────── */
.page-hero {
  padding: 72px 0 64px;
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-border);
  position: relative;
  overflow: hidden;
}
.page-hero.has-image {
  background: var(--dark);
  border-bottom: none;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.page-hero.has-image .container {
  position: relative;
  z-index: 1;
}
.page-hero.has-image .breadcrumb {
  color: rgba(255,255,255,.55);
}
.page-hero.has-image .breadcrumb a {
  color: rgba(255,255,255,.7);
}
.page-hero.has-image .breadcrumb a:hover {
  color: var(--blue);
}
.page-hero.has-image .sidebar-topic-tag {
  background: rgba(0,164,214,.25);
  color: #7dd8f0;
}
.page-hero.has-image h1 {
  color: var(--white);
}
.page-hero.has-image .lead {
  color: rgba(255,255,255,.80);
}
.page-hero.has-image p[style] {
  color: rgba(255,255,255,.50) !important;
}
@media (max-width: 768px) {
  .page-hero.has-image {
    padding: 52px 0 48px;
  }
}

/* ── Article nav thumbnail ───────────────────────────────────── */
.article-nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-nav-item.next {
  flex-direction: row;
}
.article-nav-thumb {
  width: 72px;
  height: 56px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--grey-light);
  flex-shrink: 0;
}
.article-nav-text {
  display: flex;
  flex-direction: column;
}
.article-nav-item.next .article-nav-text {
  text-align: right;
}
@media (max-width: 640px) {
  .article-nav-thumb { display: none; }
}

/* ── Included newsletter section (big, above footer) ─────────── */
.article-newsletter-inner { text-align: center; }
.article-newsletter-eyebrow { color: rgba(255,255,255,.75); }
.article-newsletter-heading {
  color: #fff;
  max-width: 480px;
  margin: 8px auto 12px;
}
.article-newsletter-sub {
  color: rgba(255,255,255,.8);
  max-width: 400px;
  margin: 0 auto 28px;
}
.article-newsletter-form { margin-left: auto; margin-right: auto; }
.article-newsletter-msg {
  color: #fff;
  margin-top: 14px;
  min-height: 1.2em;
}
.article-newsletter-fine {
  color: rgba(255,255,255,.55);
  font-size: .8125rem;
  margin-top: 4px;
}

/* ── Included sidebar newsletter form ────────────────────────── */
.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-newsletter-form input { width: 100%; }
.sidebar-newsletter-msg {
  font-size: .8rem;
  margin-top: 8px;
  min-height: 1em;
}

/* ── Full-width button helper (sidebar cards) ────────────────── */
.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── Visually hidden field (honeypot) ────────────────────────── */
.field-hidden {
  position: absolute;
  left: -9999px;
}

/* Article byline under the title */
.article-byline {
  font-size: .875rem;
  color: var(--grey-text);
  margin-top: 16px;
}

/* ── Inline subscribe CTA (mid-article) ─────────────────────── */
.article-subscribe-cta {
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 48px 0;
  text-align: center;
  background: var(--blue-light);
}
.article-subscribe-cta .label {
  color: var(--blue);
  margin-bottom: 10px;
}
.article-subscribe-cta p:not(.label) {
  font-size: .9375rem;
  color: var(--text-mid);
  max-width: 460px;
  margin: 0 auto 20px;
}
@media (max-width: 640px) {
  .article-subscribe-cta { padding: 24px 20px; }
}
