/*
Theme Name:   Leadway Church
Theme URI:    https://leadwaychurch.com.au
Author:       Charles Adimah
Author URI:   https://x.com/CharlesAdimah
Description:  Custom WordPress theme for Leadway Church – relevant, faith-based community site.
Version:      1.3
Text Domain:  leadway-church
Tags:         church, faith, responsive, bootstrap, sermon, events
*/

@import url('https://fonts.googleapis.com/css2?family=Prata&family=Rubik:wght@300;400;500;700&display=swap');

/* ==========================================================================
   Root Variables & Reset
   ========================================================================== */
:root {
  --primary: #003087;           /* Updated to match screenshot dark blue */
  --primary-dark: #001f5c;
  --accent: #00aaff;            /* Light blue accent for buttons/hovers */
  --light: #ffffff;
  --bg-light: #f8f9fa;
  --text: #333333;
  --text-light: #555555;
  --border: #e5e5e5;
  --shadow: 0 5px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
}

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

body {
  font-family: 'Rubik', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

/* Removed global heading styles – each section controls its own typography */
a {
  color: var(--primary);
  transition: all 0.3s ease;
}

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

.auto-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar a {
  color: #fff;
}

.top-bar .social-icon-one li a {
  font-size: 18px;
  transition: all 0.3s;
}

.top-bar .social-icon-one li a:hover {
  color: var(--accent);
  transform: scale(1.2);
}

.top-bar .social-icon-one {
  margin-left: -40px !important;
}

.top-bar .d-flex.justify-content-between,
.top-bar .d-flex.align-items-center.flex-wrap {
  overflow: visible !important;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

.top-bar .d-flex.justify-content-between {
  gap: 20px;
}

.header-upper {
  background: #fff;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo img {
  max-height: 90px;
  transition: transform 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

.main-menu .navbar-nav {
  gap: 35px;
}

.main-menu .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 0 !important;
  position: relative;
}

.main-menu .nav-link:hover,
.main-menu .nav-link.active {
  color: var(--primary);
}

.main-menu .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
  width: 60%;
}

.give-btn .theme-btn {
  background: #003087;
  color: #fff;
  border: none;
  padding: 12px 36px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0,48,135,0.25);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.give-btn .theme-btn:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

.give-btn {
  margin-left: 100px;
}

/* Mobile Menu */
.mobile-menu-inner {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.mobile-menu-inner .navbar-nav .nav-link {
  padding: 12px 0;
  font-size: 18px;
  font-weight: 500;
}

/* ==========================================================================
   Banner / Hero Section (Homepage)
   ========================================================================== */
.banner-section {
  position: relative;
  margin-bottom: 100px; /* ← added spacing to About section */
}

.banner-slider .swiper-slide {
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.banner-slider .content-outer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  text-align: center;
  color: #fff;
}

.banner-slider .content-box h1 {
  font-size: 5.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.banner-slider .content-box .text {
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 300;
}

.banner-slider .link-box .theme-btn {
  background: var(--accent);
  color: #fff;
  padding: 16px 50px;
  font-size: 1.2rem;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0,170,255,0.4);
}

.banner-slider .link-box .theme-btn:hover {
  background: #0099e6;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,170,255,0.5);
}

.banner-slider-pagination {
  bottom: 30px !important;
}

.banner-slider-button-prev,
.banner-slider-button-next {
  color: #fff;
  font-size: 2.5rem;
  opacity: 0.7;
  transition: all 0.3s;
}

.banner-slider-button-prev:hover,
.banner-slider-button-next:hover {
  opacity: 1;
  transform: scale(1.2);
}

/* ==========================================================================
   About Frontpage – 60/30 Split Layout (no JS)
   ========================================================================== */


/* ==========================================================================
   About Frontpage – 60/30 Split Layout (no JS)
========================================================================== */

.about-frontpage-split {
  background: #fff;
  padding-top: 0px; /* Ensures good spacing from slider */
  padding-bottom: 120px;
}

.text-column {
  max-width: 100%;
}

.split-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
  color: var(--primary);
  text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quote-block {
  background: rgba(0,48,135,0.04);
  border-left: 6px solid var(--primary);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  border-radius: 0 16px 16px 0;
}

.quote {
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.split-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 4rem;
}

.mission-vision-card {
  background: #f8f9ff;
  border: 1px solid rgba(0,48,135,0.1);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  transition: all 0.35s ease;
  height: 100%;
}

.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0,48,135,0.15);
}

.card-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.mission-vision-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.mission-vision-card p {
  font-size: 1.05rem;
  color: #555;
  margin: 0;
}

.split-cta {
  background: var(--primary);
  color: white;
  padding: 18px 55px;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(0,48,135,0.3);
  transition: all 0.4s ease;
  display: inline-block;
}

.split-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 20px 55px rgba(0,48,135,0.4);
}

.image-column {
  position: relative;
}

.split-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
  transition: transform 0.5s ease;
}

.split-image:hover {
  transform: scale(1.03);
}

.image-badge {
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 130px;
  height: 130px;
  background: rgba(255,255,255,0.15);
  border: 3px dashed rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.image-badge img {
  width: 60%;
  opacity: 0.92;
}

/* ===============================
   Mobile-first responsive
================================ */

@media (max-width: 1199px) {
  .split-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 991px) {
  .about-frontpage-split {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .split-title {
    font-size: 3.6rem;
  }

  .image-badge {
    position: relative;
    margin: 40px auto 0;
    bottom: auto;
    right: auto;
  }
}

@media (max-width: 576px) {
  .split-title {
    font-size: 2.5rem;
  }

  .split-cta {
    padding: 16px 45px;
    font-size: 1.1rem;
  }

  .mission-vision-card {
    padding: 2rem 1.6rem;
  }
}

/* ==========================================================================
   Sermon & Event Cards (Shared Styles)
   ========================================================================== */
.card-event, .card-sermon {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  margin-bottom: 30px;
}

.card-event:hover, .card-sermon:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.card-event .image img, .card-sermon .image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-event:hover .image img, .card-sermon:hover .image img {
  transform: scale(1.08);
}

.card-event .content, .card-sermon .content {
  padding: 25px 30px;
}

.card-event h4 a, .card-sermon h4 a {
  color: var(--text);
  font-size: 22px;
}

.card-event h4 a:hover, .card-sermon h4 a:hover {
  color: var(--primary);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text-light);
}

.meta-line span {
  display: flex;
  align-items: center;
}

.meta-line i {
  margin-right: 8px;
  color: var(--primary);
}

/* ==========================================================================
   Single Event / Sermon Page
   ========================================================================== */
.event-details-section, .sermon-details-section {
  padding: 100px 0;
}

.meta-box {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.meta-box p {
  margin-bottom: 15px;
  font-size: 16px;
}

.meta-box strong {
  color: var(--text);
  display: block;
  margin-bottom: 5px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Sidebar (Events Widget)
   ========================================================================== */
.blog-sidebar {
  padding-left: 35px;
}

.sidebar-inner .widget-title {
  font-size: 22px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary);
  margin-bottom: 30px;
}

.event-item {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.event-item:hover {
  transform: translateY(-5px);
}

.event-item img {
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.main-footer {
  background: #0f1a3e;
  color: #ddd;
  padding: 80px 0 40px;
}

.footer-widget h4 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-widget ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-widget ul li a:hover {
  color: #fff;
}

.newsletter-form .form-control {
  background: #1a2a5c;
  border: none;
  color: #fff;
  border-radius: 30px 0 0 30px;
  padding: 12px 20px;
  height: 50px;
}

.newsletter-form .btn {
  background: var(--primary);
  color: #fff;
  border-radius: 0 30px 30px 0;
  padding: 12px 30px;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid #2a3b6e;
  padding-top: 40px;
  text-align: center;
}

/*.footer-bottom .icon img {
  width: 40px;
  margin-bottom: 10px;
} */

.footer-bottom p {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 15px;
}

.social-icon-three a {
  color: #fff;
  font-size: 20px;
  transition: all 0.3s;
}

.social-icon-three a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1199px) {
  .banner-slider .content-box h1 { font-size: 4.5rem; }
}

@media (max-width: 991px) {
  .sec-title h1 { font-size: 40px; }
  .page-title h1 { font-size: 50px; }
  .banner-slider .swiper-slide { height: 60vh; min-height: 500px; }
  .banner-slider .content-box h1 { font-size: 3.5rem; }
  .blog-sidebar { padding-left: 0; margin-top: 60px; }
  .about-frontpage-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .cinematic-title {
    font-size: 3.8rem;
  }
}

@media (max-width: 767px) {
  .header-upper { padding: 20px 0; }
  .logo img { max-height: 70px; }
  .main-menu .navbar-nav { gap: 20px; font-size: 15px; }
  .give-btn .theme-btn { padding: 10px 24px; font-size: 14px; }
  .banner-slider .content-box h1 { font-size: 2.8rem; }
  .meta-line { flex-direction: column; gap: 10px; }
  .about-frontpage-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .cinematic-title {
    font-size: 2.8rem;
  }
  .cinematic-cta {
    padding: 16px 50px;
    font-size: 1.1rem;
  }
}


/* Weekly Meetings – 4 Cards Layout */
.weekly-meetings {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  padding: 100px 0;
}

.sec-title h2 {
  font-size: 3.2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.sec-title .text {
  font-size: 1.25rem;
  color: #555;
}

.meeting-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  height: 100%;
  position: relative;
}

.meeting-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-header img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 2.2rem 1.8rem 1.8rem;
  text-align: center;
}

.date-badge {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,48,135,0.35);
  font-weight: bold;
}

.date-badge .day {
  font-size: 2.4rem;
  line-height: 1;
}

.date-badge .month {
  font-size: 1.1rem;
  margin-top: 2px;
}

.meeting-card h4 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1rem 0 0.8rem;
}

.meeting-card .time {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 0.8rem;
}

.meeting-card .location {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.meeting-card .format {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.join-btn {
  display: block;
  background: var(--primary);
  color: white;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  margin: 1.5rem auto 0;
  width: fit-content;
  transition: all 0.3s;
}

.join-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,48,135,0.3);
}

/* Responsive – 4 cards layout */
@media (max-width: 1199px) {
  .meeting-card .date-badge {
    width: 90px;
    height: 90px;
  }
  .date-badge .day {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .weekly-meetings {
    padding: 80px 0;
  }
  .sec-title h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 576px) {
  .date-badge {
    width: 80px;
    height: 80px;
  }
  .date-badge .day {
    font-size: 1.8rem;
  }
  .meeting-card h4 {
    font-size: 1.3rem;
  }

}


/* ==========================================================================
   Upcoming Major Events – Minimalist Cards (events-frontpage style)
   ========================================================================== */
.upcoming-events-major {
  background: #e6f0ff;          /* Soft light blue background – fits brand */
  padding-top: 140px !important;   /* Large top spacing from previous section (slider) */
  padding-bottom: 120px !important; /* Large bottom spacing to next section */
}

.upcoming-events-major .sec-title h2 {
  font-size: 3.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.upcoming-events-major .sec-title .text {
  font-size: 1.3rem;
  color: #555;
}

.event-minimal-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-minimal-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.event-image-placeholder {
  height: 280px;
  overflow: hidden;
}

.event-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-minimal-card:hover .event-image-placeholder img {
  transform: scale(1.08);
}

.event-info {
  padding: 2.2rem 2rem 1.5rem;
  text-align: center;
  flex-grow: 1;
}

.event-minimal-card h4 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.event-date {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.event-btn {
  background: var(--primary);
  color: white;
  padding: 14px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  margin: 0 auto 2rem;
  width: fit-content;
  display: block;
  transition: all 0.3s;
}

.event-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,48,135,0.3);
}

/* Responsive */
@media (max-width: 1199px) {
  .event-image-placeholder {
    height: 260px;
  }
}

@media (max-width: 991px) {
  .upcoming-events-major {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .sec-title h2 {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .event-image-placeholder {
    height: 220px;
  }
  .event-minimal-card h4 {
    font-size: 1.4rem;
  }
  .event-btn {
    padding: 12px 35px;
    font-size: 0.95rem;
  }
}



/* =========================
   YouTube Frontpage Section
========================= */

.youtube-frontpage {
    padding: 100px 0 110px; /* top & bottom spacing */
    background-color: #ffffff;
}

.youtube-frontpage .sec-title {
    margin-bottom: 50px;
}

.youtube-frontpage .sec-title h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.youtube-frontpage .sec-title .text {
    font-size: 16px;
    color: #555;
    max-width: 600px;
}

/* Get Messages button spacing */
.youtube-frontpage .link-btn {
    margin-bottom: 50px;
}

/* Video cards spacing */
.youtube-frontpage .team-block-one {
    margin-bottom: 40px;
}

/* Video container */
.youtube-frontpage .video-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.youtube-frontpage iframe {
    width: 100%;
    height: 260px;
    border: none;
    display: block;
}

/* Lower content (title + pastor) */
.youtube-frontpage .lower-content {
    padding-top: 20px;
    text-align: center;
}

.youtube-frontpage .lower-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.youtube-frontpage .lower-content h4 a {
    color: #0b1c39;
    transition: color 0.3s ease;
}

.youtube-frontpage .lower-content h4 a:hover {
    color: #1e63ff;
}

.youtube-frontpage .designation {
    font-size: 14px;
    color: #666;
}

/* Social icons spacing */
.youtube-frontpage .social-icon-two {
    margin-top: 15px;
}

/* =========================
   Responsive tweaks
========================= */

@media (max-width: 991px) {
    .youtube-frontpage {
        padding: 80px 0 90px;
    }

    .youtube-frontpage iframe {
        height: 230px;
    }
}

@media (max-width: 575px) {
    .youtube-frontpage {
        padding: 70px 0 80px;
    }

    .youtube-frontpage .sec-title h1 {
        font-size: 32px;
    }

    .youtube-frontpage iframe {
        height: 210px;
    }

.page-wrapper{
  padding-bottom: 40px;
}


/* ==========================
   BLOG HERO
========================== */
.page-wrapper.blog .blog-hero{
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 120px 0 95px;
}

.page-wrapper.blog .blog-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.page-wrapper.blog .blog-hero__content{
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.page-wrapper.blog .blog-hero__content h1,
.page-wrapper.blog .blog-hero__content p{
  color: #fff !important;
}

/* ==========================
   BLOG CARDS (event-like)
========================== */
.page-wrapper.blog .blog-cards{
  background: #fff;
  padding: 90px 0 110px;
}

.page-wrapper.blog .blog-title{
  margin-bottom: 40px;
}

.page-wrapper.blog .blog-title h2{
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #0b1c39;
}

.page-wrapper.blog .blog-title p{
  margin: 0;
  color: #5b6678;
  font-size: 16px;
}

/* Card wrapper */
.page-wrapper.blog .blog-card{
  background: #f7f8fb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  transition: .25s ease;
  height: 100%;
}

.page-wrapper.blog .blog-card:hover{
  transform: translateY(-6px);
}

/* Image (force same height) */
.page-wrapper.blog .blog-card__media{
  display: block;
  background: #eef2f8;
}

.page-wrapper.blog .blog-card__media img{
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Body */
.page-wrapper.blog .blog-card__body{
  padding: 26px 22px 28px;
  text-align: center !important;
}

/* Title centered + underlined blue */
.page-wrapper.blog .blog-card__title{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.page-wrapper.blog .blog-card__title a{
  color: #0b3aa7 !important;
  text-decoration: underline !important;
}

/* Button like screenshot */
.page-wrapper.blog .blog-card__btn{
  display: inline-block;
  background: #13163a;
  color: #fff !important;
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none !important;
  transition: .2s ease;
}

.page-wrapper.blog .blog-card__btn:hover{
  transform: translateY(-2px);
  opacity: .95;
}

/* Pagination */
.page-wrapper.blog .blog-pagination{
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-wrapper.blog .blog-pagination .page-numbers{
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.page-wrapper.blog .blog-pagination .page-numbers a,
.page-wrapper.blog .blog-pagination .page-numbers span{
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(11,28,57,.12);
  color: #0b1c39;
  background: #fff;
}

.page-wrapper.blog .blog-pagination .page-numbers .current{
  background: #e9edf6;
}

/* Responsive */
@media (max-width: 991px){
  .page-wrapper.blog .blog-hero{
    padding: 90px 0 70px;
    min-height: 320px;
  }
  .page-wrapper.blog .blog-hero__content h1{
    font-size: 38px;
  }
  .page-wrapper.blog .blog-card__media img{
    height: 220px !important;
  }
}

@media (max-width: 575px){
  .page-wrapper.blog .blog-hero{
    padding: 75px 0 60px;
    min-height: 260px;
  }
  .page-wrapper.blog .blog-hero__content h1{
    font-size: 32px;
  }
  .page-wrapper.blog .blog-cards{
    padding: 70px 0 90px;
  }
  .page-wrapper.blog .blog-card__media img{
    height: 200px !important;
  }
}

/* ==========================================================================
   Single Blog Post Page (single-blog.php)
   ========================================================================== */

/* Page Title / Hero Header */
.page-title {
  padding: 140px 0 100px;       /* Increased top padding for better separation from menu */
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
}

.page-title .content-box h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.page-title .bread-crumb {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.page-title .bread-crumb li {
  display: inline-block;
  margin: 0 12px;
}

.page-title .bread-crumb li a {
  color: white;
  text-decoration: none;
}

.page-title .bread-crumb li a:hover {
  text-decoration: underline;
}

/* Main Content Area */
.blog-details-section {
  background: #fff;
  padding: 100px 0 120px;       /* Balanced padding – more bottom space */
}

/* Featured Image */
.blog-details-content .image-box img {
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  width: 100%;
}

/* Post Meta */
.post-meta {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Post Content */
.post-content {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
}

.post-content p {
  margin-bottom: 1.8rem;
}

/* Tags */
.post-tags .badge {
  background: var(--primary);
  color: white;
  padding: 8px 14px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Share Buttons */
.post-share ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.post-share ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  transition: all 0.3s;
}

.post-share ul li a:hover {
  background: var(--primary);
  color: white;
}

/* Author Box */
.author-box {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
}

.author-image img {
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Post Navigation */
.post-navigation .nav-title {
  font-size: 0.9rem;
  color: #888;
}

.post-navigation h5 {
  font-size: 1.3rem;
  margin: 0;
}

/* Sidebar (from sidebar.php) */
.blog-sidebar {
  padding-left: 35px;
}

.blog-sidebar .widget {
  margin-bottom: 50px;
}

.blog-sidebar .widget-title {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .blog-details-section {
    padding: 80px 0;
  }
  .page-title {
    padding: 100px 0 70px;
  }
  .post-title {
    font-size: 2.8rem;
  }
  .blog-sidebar {
    padding-left: 0;
    margin-top: 60px;
  }
}

@media (max-width: 576px) {
  .blog-details-content .image-box img {
    border-radius: 12px;
  }
}

/* ==========================================================================
   Blog Sidebar – Aligned with single-blog.php
   ========================================================================== */
.blog-sidebar {
  padding-left: 30px; /* spacing from main content */
}

.sidebar-inner .widget {
  margin-bottom: 50px;
}

.sidebar-inner .widget-title {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.event-item {
  background: #f8f9ff;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.recent-posts li a {
  text-decoration: none;
  color: #333;
}

.recent-posts li a:hover {
  color: var(--primary);
}

.recent-posts img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.categories-widget ul li {
  margin-bottom: 10px;
}

.categories-widget ul li a {
  color: #555;
  text-decoration: none;
}

.categories-widget ul li a:hover {
  color: var(--primary);
}

/* Responsive – stack sidebar below content on mobile */
@media (max-width: 991px) {
  .blog-sidebar {
    padding-left: 0;
    margin-top: 60px;
  }
}

/* ==========================================================================
   Contact Page – contact.php (unique naming)
   ========================================================================== */

/* Page Title / Hero Header */
.contactpage-title {
  padding: 160px 0 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  text-align: center;
}

.contactpage-title .contactpage-title-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contactpage-title .contactpage-breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

.contactpage-title .contactpage-breadcrumb li {
  display: inline-block;
  margin: 0 12px;
}

.contactpage-title .contactpage-breadcrumb li a {
  color: white;
  text-decoration: none;
}

.contactpage-title .contactpage-breadcrumb li a:hover {
  text-decoration: underline;
}

/* Main Contact Section */
.contactpage-main {
  background: #0f1a3e;
  color: #ffffff;
  padding: 140px 0 120px;
}

/* Form Area */
.contactpage-form-area .contactpage-sec-title h2 {
  font-size: 2.8rem;
  margin-bottom: 1.8rem;
  color: #ffffff;
}

.contactpage-form {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 2.5rem 2rem;
}

.contactpage-form .form-group {
  margin-bottom: 1.8rem;
}

.contactpage-form input,
.contactpage-form textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
}

.contactpage-form input::placeholder,
.contactpage-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.contactpage-form .theme-btn {
  background: var(--primary);
  color: white;
  padding: 16px 50px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0,48,135,0.4);
  transition: all 0.35s ease;
  width: 100%;
}

.contactpage-form .theme-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,48,135,0.5);
}

/* Info Area */
.contactpage-info .single-info {
  margin-bottom: 2rem;
}

.contactpage-info h4 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.contactpage-info .text {
  font-size: 1.1rem;
  color: #cccccc;
}

.contactpage-info .link-btn {
  color: var(--accent);
  text-decoration: none;
}

.contactpage-info .link-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Map */
.contactpage-map h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
  .contactpage-main {
    padding: 100px 0 80px;
  }
  .contactpage-title {
    padding: 120px 0 80px;
  }
  .contactpage-title .contactpage-title-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .contactpage-form .theme-btn {
    padding: 14px 40px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   About Us Page – about.php (unique naming) ✅ CLEAN + FIXED (NO bootstrap dependency)
   ========================================================================== */

/* =========================================================
   ABOUT HERO
========================================================= */
.aboutpage-hero{
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 120px 0 95px;
}

.aboutpage-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}

.aboutpage-hero__content{
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.aboutpage-hero__content h1{
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
  color: #fff;
}

.aboutpage-hero__content p{
  font-size: 18px;
  opacity: .95;
  margin: 0 0 28px;
  color: #fff;
}

.aboutpage-hero__cta{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.aboutpage-btn-white{
  background: #fff !important;
  color: #193F88 !important;
  border-radius: 999px;
  padding: 14px 34px;
  font-weight: 800;
  display: inline-block;
  transition: .25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.aboutpage-btn-white:hover{ transform: translateY(-2px); }

.aboutpage-btn-outline{
  background: transparent !important;
  border: 2px solid rgba(255,255,255,.85) !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 14px 34px;
  font-weight: 800;
  display: inline-block;
  transition: .25s ease;
}

.aboutpage-btn-outline:hover{
  background: #fff !important;
  color: #193F88 !important;
  transform: translateY(-2px);
}

/* =========================================================
   INTRO SPLIT (unique: aboutpagev2-*) – looks like homepage
========================================================= */
section.aboutpagev2-split{
  background: #fff;
  padding: 140px 0 120px;
}

/* Make it work even without Bootstrap */
.aboutpagev2-split .aboutpagev2-wrap{
  display: flex;
  align-items: center;
  gap: 48px;
}

.aboutpagev2-split .aboutpagev2-col-text{ flex: 0 0 58%; }
.aboutpagev2-split .aboutpagev2-col-img{ flex: 0 0 42%; }

.aboutpagev2-title{
  font-size: 56px; /* closer to homepage */
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--primary);
}

.aboutpagev2-quote-box{
  background: rgba(0,48,135,0.04);
  border-left: 6px solid var(--primary);
  padding: 18px 22px;
  margin: 0 0 26px;
  border-radius: 0 16px 16px 0;
}

.aboutpagev2-quote{
  font-size: 18px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.aboutpagev2-intro{
  font-size: 18px;
  line-height: 1.85;
  color: #444;
  margin: 0 0 34px;
}

/* Mission / Vision cards */
.aboutpagev2-cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.aboutpagev2-card{
  background: #f8f9ff;
  border: 1px solid rgba(0,48,135,0.1);
  border-radius: 16px;
  padding: 22px 18px;
  transition: all 0.35s ease;
}

.aboutpagev2-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,48,135,0.15);
}

.aboutpagev2-card-icon{
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: bold;
}

.aboutpagev2-card h4{
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 800;
}

.aboutpagev2-card p{
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

/* CTA button */
.aboutpagev2-cta{
  background: var(--primary);
  color: #fff;
  padding: 16px 44px;
  font-size: 18px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 10px 35px rgba(0,48,135,0.3);
  transition: all 0.35s ease;
  display: inline-block;
  margin-top: 24px;
}

.aboutpagev2-cta:hover{
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(0,48,135,0.4);
}

/* Image */
.aboutpagev2-image{ position: relative; }
.aboutpagev2-img{
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* =========================================================
   VALUES / PASTORS / CTA (keep yours as-is below)
========================================================= */
/* ... keep the rest of your Values/Pastors/CTA CSS here ... */

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 991px){
  .aboutpage-hero__content h1{ font-size: 42px; }

  section.aboutpagev2-split{ padding: 100px 0 80px; }

  .aboutpagev2-split .aboutpagev2-wrap{
    flex-direction: column;
    gap: 28px;
  }

  .aboutpagev2-split .aboutpagev2-col-text,
  .aboutpagev2-split .aboutpagev2-col-img{
    flex: 0 0 auto;
    width: 100%;
  }

  .aboutpagev2-title{ font-size: 40px; }
  .aboutpagev2-cards{ grid-template-columns: 1fr; }
}

@media (max-width: 575px){
  .aboutpage-hero{ min-height: 420px; padding: 90px 0 70px; }
  .aboutpage-hero__content h1{ font-size: 34px; }

  .aboutpage-hero__cta{
    flex-direction: column;
    align-items: stretch;
  }

  .aboutpage-btn-white,
  .aboutpage-btn-outline,
  .aboutpagev2-cta{
    width: 100%;
    text-align: center;
  }

  .aboutpagev2-title{ font-size: 32px; }
}