/*
Theme Name: Christian Worldview News
Theme URI: https://news.crosstalkunleashed.com
Description: A Divi child theme for the daily Christian Worldview News broadcast from CrossTalk Unleashed.
Author: Craig Marvin Johnson
Template: Divi
Version: 1.0.0
Text Domain: christian-worldview-news
*/

:root {
  --cwn-ink: #0c2928;
  --cwn-deep: #071b1b;
  --cwn-paper: #f4efe4;
  --cwn-white: #fff;
  --cwn-copper: #a85f2b;
  --cwn-gold: #d8ad66;
  --cwn-muted: #62716e;
  --cwn-line: rgba(12, 41, 40, .16);
  --cwn-alert: #bb382f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cwn-site { margin: 0; background: var(--cwn-paper); color: var(--cwn-ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
.cwn-site img { display: block; max-width: 100%; }
.cwn-site a { color: inherit; }
.cwn-site h1, .cwn-site h2, .cwn-site h3 { color: inherit; font-family: Georgia, serif; font-weight: 700; letter-spacing: -.02em; }
.cwn-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.cwn-kicker { margin: 0 0 13px; color: var(--cwn-copper); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }

.cwn-header { position: sticky; top: 0; z-index: 999; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, 4vw); background: rgba(244,239,228,.97); border-bottom: 1px solid var(--cwn-line); backdrop-filter: blur(12px); }
.admin-bar .cwn-header { top: 32px; }
.cwn-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.cwn-brand img { width: min(430px, 44vw); height: 58px; object-fit: contain; object-position: left center; }
.cwn-brand-copy { display: grid; line-height: 1; }
.cwn-brand-copy strong { font-family: Georgia, serif; font-size: 19px; }
.cwn-brand-copy small { margin-top: 6px; color: var(--cwn-copper); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.cwn-nav, .cwn-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.cwn-nav a { padding-bottom: 4px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 800; text-decoration: none; }
.cwn-nav a:hover, .cwn-nav .current-menu-item > a { border-color: var(--cwn-copper); }
.cwn-live-mark { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cwn-live-mark::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cwn-alert); box-shadow: 0 0 0 5px rgba(187,56,47,.12); }

.cwn-hero { position: relative; overflow: hidden; padding: 88px 0 76px; background: var(--cwn-deep); color: var(--cwn-white); }
.cwn-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -140px; top: -260px; border: 1px solid rgba(216,173,102,.25); border-radius: 50%; box-shadow: 0 0 0 70px rgba(216,173,102,.04), 0 0 0 140px rgba(216,173,102,.025); }
.cwn-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 7vw; align-items: center; }
.cwn-hero .cwn-kicker { color: var(--cwn-gold); }
.cwn-hero h1 { max-width: 770px; margin: 0; color: white; font-size: clamp(54px, 7vw, 104px); line-height: .88; }
.cwn-hero-lede { max-width: 700px; margin: 28px 0 0; color: #dce6e3; font-family: Georgia, serif; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.35; }
.cwn-promise { padding: 28px; border-top: 4px solid var(--cwn-gold); background: rgba(255,255,255,.07); }
.cwn-promise p { margin: 0; color: #e8efec; font-size: 17px; line-height: 1.7; }
.cwn-promise strong { display: block; margin-bottom: 12px; color: white; font-family: Georgia, serif; font-size: 29px; }

.cwn-latest { padding: 78px 0 84px; }
.cwn-section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 34px; }
.cwn-section-head h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: .95; }
.cwn-section-head p:last-child { max-width: 500px; margin: 0; color: var(--cwn-muted); }
.cwn-feature { display: grid; grid-template-columns: 1.16fr .84fr; background: white; border-top: 5px solid var(--cwn-copper); box-shadow: 0 22px 60px rgba(7,27,27,.09); }
.cwn-feature-media { min-height: 420px; display: grid; place-items: center; overflow: hidden; background: var(--cwn-ink); }
.cwn-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.cwn-video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #020808; }
.cwn-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cwn-feature-copy { padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; }
.cwn-feature-copy h2 { margin: 0; font-size: clamp(40px, 4.5vw, 68px); line-height: .98; }
.cwn-feature-copy > p:not(.cwn-kicker) { margin: 23px 0 30px; color: var(--cwn-muted); font-size: 18px; line-height: 1.7; }
.cwn-button { min-height: 50px; width: fit-content; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; background: var(--cwn-copper); color: white !important; font-size: 12px; font-weight: 900; text-decoration: none; }

.cwn-rhythm { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-top: 1px solid var(--cwn-line); border-bottom: 1px solid var(--cwn-line); }
.cwn-rhythm article { min-height: 250px; padding: 44px max(26px, 4vw); border-left: 1px solid var(--cwn-line); }
.cwn-rhythm article:first-child { border-left: 0; }
.cwn-rhythm span { color: var(--cwn-copper); font-size: 11px; font-weight: 900; }
.cwn-rhythm h3 { margin: 22px 0 13px; font-size: 36px; }
.cwn-rhythm p { margin: 0; color: var(--cwn-muted); }

.cwn-library { padding: 86px 0 100px; background: #faf9f6; }
.cwn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cwn-card { min-width: 0; background: white; border-top: 4px solid var(--cwn-copper); }
.cwn-card-image { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--cwn-ink); color: white; text-decoration: none; }
.cwn-card-image img { width: 100%; height: 100%; object-fit: cover; }
.cwn-card-image span { font-family: Georgia, serif; font-size: 42px; }
.cwn-card-copy { padding: 27px; }
.cwn-card-copy h3 { margin: 0; font-size: 30px; line-height: 1.08; }
.cwn-card-copy h3 a { text-decoration: none; }
.cwn-card-copy > p:not(.cwn-kicker) { color: var(--cwn-muted); line-height: 1.65; }
.cwn-text-link { display: inline-flex; gap: 8px; padding-bottom: 3px; border-bottom: 2px solid var(--cwn-copper); font-weight: 900; text-decoration: none; }

.cwn-page-head { padding: 78px 0; background: var(--cwn-deep); color: white; }
.cwn-page-head h1 { max-width: 990px; margin: 0; color: white; font-size: clamp(48px, 7vw, 86px); line-height: .94; }
.cwn-page-head .cwn-kicker { color: var(--cwn-gold); }
.cwn-article { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 90px; }
.cwn-article .cwn-video { margin-bottom: 50px; box-shadow: 0 22px 60px rgba(7,27,27,.14); }
.cwn-story { font-family: Georgia, serif; font-size: 19px; line-height: 1.85; }
.cwn-story h2 { margin: 1.7em 0 .55em; padding-top: .55em; border-top: 1px solid var(--cwn-line); font-size: 40px; line-height: 1.1; }
.cwn-story a { color: var(--cwn-copper); font-weight: 700; }
.cwn-callout { margin: 42px 0; padding: 34px; border-left: 6px solid var(--cwn-gold); background: var(--cwn-ink); color: white; }
.cwn-callout .cwn-kicker { color: var(--cwn-gold); }
.cwn-callout h2 { margin: 0; padding: 0; border: 0; color: white; font-size: 35px; }
.cwn-callout p:last-child { margin-bottom: 0; font-size: 19px; }
.cwn-sources { margin-top: 48px; padding: 32px; background: white; border-top: 4px solid var(--cwn-copper); }
.cwn-sources h2 { margin: 0 0 18px; padding: 0; border: 0; font-size: 31px; }
.cwn-sources p { white-space: pre-line; overflow-wrap: anywhere; }
.cwn-empty { padding: 60px; background: white; text-align: center; }

.cwn-footer { padding: 46px max(24px, 5vw); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: var(--cwn-deep); color: white; }
.cwn-footer p { max-width: 690px; margin: 14px 0 0; color: #c8d4d0; }
.cwn-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.cwn-footer a { font-size: 12px; font-weight: 800; }

@media (max-width: 980px) {
  .cwn-nav { display: none; }
  .cwn-hero-grid, .cwn-feature { grid-template-columns: 1fr; }
  .cwn-promise { max-width: 620px; }
  .cwn-feature-media { min-height: 0; }
  .cwn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .admin-bar .cwn-header { top: 46px; }
  .cwn-shell { width: min(100% - 34px, 1180px); }
  .cwn-header { min-height: 66px; padding: 0 17px; }
  .cwn-brand img { width: min(310px, 72vw); height: 50px; }
  .cwn-brand-copy strong { font-size: 16px; }
  .cwn-brand-copy small, .cwn-live-mark { display: none; }
  .cwn-hero { padding: 68px 0; }
  .cwn-section-head { display: block; }
  .cwn-section-head p:last-child { margin-top: 18px; }
  .cwn-rhythm, .cwn-grid { grid-template-columns: 1fr; }
  .cwn-rhythm article { min-height: 0; border-left: 0; border-top: 1px solid var(--cwn-line); }
  .cwn-rhythm article:first-child { border-top: 0; }
  .cwn-latest, .cwn-library { padding: 62px 0 72px; }
  .cwn-article { width: calc(100% - 34px); padding-top: 34px; }
  .cwn-callout, .cwn-sources { padding: 25px; }
  .cwn-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
