/* ============================================================
   God Lives in Me!! - Public theme  v4 "Blue Sky"
   Hero photo: the cross against blue sky (assets/images/cross-hero.jpg)
   Palette: sky blues & slate from the photo + a touch of sun gold
   Type:    Cormorant Garamond (display) + Lora (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --paper:      #F7FAFB;   /* pale sky white               */
  --navy:       #17303F;   /* deep teal (sky top)          */
  --navy-soft:  #3D5A68;
  --blue:       #1F6B8A;   /* rich sky blue                */
  --blue-pale:  #E4F0F6;   /* palest sky                   */
  --amber:      #D4924A;   /* sun glow amber (from cross)  */
  --ember:      #B07230;   /* warm brown (cross wood/hill) */
  --glow:       #F3D898;   /* golden light rays            */
  --glow-soft:  #FDF3E0;   /* lightest sun warmth          */
  --line:       #D6E6EE;
  --display:    'Cormorant Garamond', Georgia, serif;
  --body:       'Lora', Georgia, serif;
  --ui:         'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--navy);
  line-height: 1.75;
  font-size: 17px;
}

a { color: var(--ember); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------------- Hero: the cross against the blue sky ---------------- */

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 20px;
  background: url('../images/cross-hero.jpg') center 48% / cover no-repeat #1F6B8A;
}
@media (max-width: 640px) {
  .hero { min-height: 380px; background-position: center 45%; }
}

/* gentle vignette so the title reads clearly */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(23, 48, 63, .30) 0%,
              rgba(23, 48, 63, 0)   40%,
              rgba(23, 48, 63, .60) 100%);
}

.hero-inner { position: relative; z-index: 1; }

.site-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: .01em;
  color: #FFFDF6;
  text-shadow:
    0 2px 14px rgba(34, 49, 59, .55),
    0 0 44px rgba(255, 248, 225, .95);
}
.site-title a { color: inherit; }
.site-title a:hover { text-decoration: none; }

.tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  color: #FDEAC9;
  margin-top: 6px;
  text-shadow: 0 1px 10px rgba(34, 49, 59, .6);
}

.verse {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--ui);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--glow);
  text-shadow: 0 1px 8px rgba(34, 49, 59, .7);
}

/* ---------------- Nav: deep evening blue ---------------- */

.nav {
  background: #122533;
  font-family: var(--ui);
}
.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.nav-links { display: flex; }
.nav-links a {
  display: inline-block;
  padding: 14px 18px;
  color: #F3EFE6;
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--glow); text-decoration: none; }

.nav-social { display: flex; gap: 8px; }
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #FFF6E4;
  transition: all .2s;
}
.nav-social a:hover {
  background: var(--amber);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(31, 107, 138, .6);
}
.nav-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------------- Layout ---------------- */

.wrap {
  max-width: 1060px;
  margin: 48px auto 64px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
}

@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; }
}

/* ---------------- Posts: warm cards, blue & amber accents ---------------- */

.post-card, .single {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 38px;
  margin-bottom: 44px;
  box-shadow:
    0 2px 8px rgba(34, 49, 59, .05),
    0 14px 44px rgba(31, 107, 138, .14);
}
@media (max-width: 600px) {
  .post-card, .single { padding: 24px 20px; }
}

.post-card .featured-img,
.single .featured-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 28px rgba(23, 48, 63, .25);
}

.post-meta {
  font-family: var(--ui);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.post-meta .video-badge {
  display: inline-block;
  background: var(--glow-soft);
  color: var(--ember);
  padding: 2px 10px;
  border-radius: 20px;
  margin-left: 10px;
  letter-spacing: .08em;
}

.post-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.post-title a { color: var(--navy); }
.post-title a:hover { color: var(--ember); text-decoration: none; }

.post-body p { margin-bottom: 1.2em; }
.post-excerpt { color: var(--navy-soft); }

.read-more {
  display: inline-block;
  font-family: var(--ui);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
  margin-top: 4px;
}
.read-more:hover { color: var(--ember); text-decoration: none; }

/* Sunset divider between posts: cross between rays */
.divider {
  text-align: center;
  margin: 0 0 44px;
}
.divider svg { width: 150px; height: 30px; opacity: .9; }

/* ---------------- Video embeds ---------------- */

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 10px 34px rgba(23, 48, 63, .35);
  margin: 6px 0 22px;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------------- Sidebar ---------------- */

.sidebar { font-size: .95rem; }

.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 26px;
  box-shadow:
    0 2px 8px rgba(34, 49, 59, .05),
    0 10px 30px rgba(31, 107, 138, .12);
}

.widget h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}

.widget ul { list-style: none; }
.widget li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--navy); }
.widget li a:hover { color: var(--ember); }
.widget li .date {
  display: block;
  font-family: var(--ui);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--body);
  font-size: .95rem;
  background: var(--paper);
}
.search-form button {
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--ui);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(31, 107, 138, .4);
}
.search-form button:hover { background: var(--navy); }

.follow-btns { display: flex; flex-direction: column; gap: 10px; }
.follow-btns a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 8px;
  font-family: var(--ui);
  font-size: .92rem;
  color: #fff;
  box-shadow: 0 3px 12px rgba(34, 49, 59, .2);
}
.follow-btns a:hover { text-decoration: none; filter: brightness(1.08); }
.follow-btns svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.follow-facebook { background: #1877F2; }
.follow-x        { background: #0F1419; }
.follow-youtube  { background: #FF0000; }

/* ---------------- Pagination ---------------- */

.pagination {
  display: flex;
  justify-content: space-between;
  font-family: var(--ui);
  font-size: .9rem;
  margin-top: 10px;
}
.pagination a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(31, 107, 138, .18);
}
.pagination a:hover { border-color: var(--amber); color: var(--ember); text-decoration: none; }

/* ---------------- Footer: evening blue with golden verse ---------------- */

.footer {
  background: linear-gradient(180deg, #122533 0%, #0A1820 100%);
  color: #DCE6F0;
  text-align: center;
  padding: 48px 20px 40px;
  font-family: var(--ui);
  font-size: .88rem;
}
.footer .footer-verse {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--glow);
}
.footer a { color: var(--glow); }

/* ---------------- Misc ---------------- */

.notice {
  background: var(--blue-pale);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 30px;
  font-family: var(--ui);
  font-size: .92rem;
}
