/*
Theme Name: KSB Theme
Author: Custom Theme
Version: 1.0
*/

/* =========================
   Base / Theme Variables
========================= */
:root {
  --bg: #eef3f8;
  --panel: #ffffff;
  --text: #132238;
  --muted: #6f7f91;
  --line: #d9e2ec;
  --primary: #0d2340;
  --primary-2: #173a67;
  --blue-dark: #021b4e;
  --blue-card: #0b2557;
  --shadow: 0 14px 32px rgba(7, 24, 43, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
  color: var(--text);
}
.conflict-card1 {
    width: 100%;
    height: 550px;
    background: linear-gradient(rgb(0 0 0 / 21%), rgb(0 0 0 / 23%)), url('https://mmpeacemonitor.org/wp-content/uploads/2026/06/mm-scaled.webp');
    background-position: center;
    background-repeat: no-repeat;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    border-radius: 12px;
}
img {
  max-width: 100%;
  height: auto;
}

.sticky-top {
  z-index: 10;
}
.post-content{
    font-size:18px;
    line-height:1.9;
    color:#333;
}

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

.post-content img{
    max-width:100%;
    height:auto;
}
.breadcrumb-wrap{
    font-size:14px;
    margin-bottom:20px;
    color:#6c757d;
}

.breadcrumb-wrap a{
    color:#0d6efd;
    text-decoration:none;
}

.breadcrumb-wrap a:hover{
    text-decoration:underline;
}

.breadcrumb-wrap .separator{
    margin:0 8px;
    color:#adb5bd;
  font-size:12px !important;
}

.breadcrumb-wrap .current{
    color:#495057;
    font-weight:600;
}
.single-post nav{
  color:#747474;
}
.single-post .separator {
  font-size:12px !important;
}
@media (min-width:992px){
    .sidebar{
        position:sticky;
        top:100px;
    }
}
/* =========================
   Header / Navigation
========================= */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(7, 42, 82, 0.78);
  font-size: 1.5rem;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: #081824;
  border-bottom: 2px solid #1a345c;
}

/* =========================
   Homepage Hero / Dashboard
========================= */
.page-shell {
  max-width: 1600px;
}

.hero-wrap {
  background: var(--blue-dark);
  padding: 20px 0 50px;
}

.date-range {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.stat-box,
.glass-card,
.glass-card2 {
  background: #192e4887;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.stat-box {
  padding: 25px;
}

.stat-box h2 {
  font-size: 52px;
  font-weight: 700;
}

.stat-number {
  color: #ffffffe6;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  color: #ffffffe6;
  font-size: 1.6rem;
}

/* Hero map banner */
.map-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
}

/* .map-surface {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(circle at 30% 62%, rgba(255, 196, 87, 0.68), transparent 2.5%),
    radial-gradient(circle at 47% 30%, rgba(255, 111, 60, 0.88), transparent 2.4%),
    radial-gradient(circle at 53% 45%, rgba(255, 211, 122, 0.72), transparent 2.7%),
    radial-gradient(circle at 69% 34%, rgba(255, 92, 47, 0.78), transparent 2.3%),
    radial-gradient(circle at 39% 38%, rgba(255, 173, 63, 0.74), transparent 2.7%),
    url('https://mediumpurple-jay-997410.hostingersite.com/wp_mpm/wp-content/themes/KSB-Theme-fixed-layout/assets/images/map-banner.jpg') center/cover no-repeat;
  filter: saturate(0.8) contrast(1.03) brightness(0.9);
} */
.map-surface {
      min-height: 360px;
      background:
        radial-gradient(circle at 30% 62%, rgba(255, 196, 87, 0.68), transparent 2.5%),
        radial-gradient(circle at 47% 30%, rgba(255, 111, 60, 0.88), transparent 2.4%),
        radial-gradient(circle at 53% 45%, rgba(255, 211, 122, 0.72), transparent 2.7%),
        radial-gradient(circle at 69% 34%, rgba(255, 92, 47, 0.78), transparent 2.3%),
        radial-gradient(circle at 39% 38%, rgba(255, 173, 63, 0.74), transparent 2.7%),
        url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1600&q=80') center/cover;
      filter: saturate(0.8) contrast(1.03) brightness(0.9);
    }

.map-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 15, 30, 0.68) 0%,
    rgba(2, 15, 30, 0.16) 46%,
    rgba(2, 15, 30, 0.68) 100%
  );
  z-index: 1;
}
.hero-banner {
  width: 100%;
  height: 500px; /* adjust if needed */
  background: 
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://mediumpurple-jay-997410.hostingersite.com/wp_mpm/wp-content/themes/KSB-Theme-fixed-layout/assets/images/map-banner.jpg'); /* <-- second image */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 40px;
  border-radius: 12px;
}
.map-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.map-title h3 {
  position: absolute;
  left: 44px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 430px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1.45;
  font-weight: 800;
}

.map-title h4 {
  position: absolute;
  left: 44px;
  bottom: 70px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.map-title .hr {
  color: #4d8dff;
  padding-left: 6px;
}

.map-title p {
  position: absolute;
  right: 80px;
  top: 70px;
  width: 460px;
  margin: 0;
  padding: 30px;
  background: rgba(0, 10, 25, 0.65);
  color: #fff;
  font-size: 20px;
  line-height: 1.75;
  font-weight: 700;
}

/* Dashboard/report cards */
.dashboard-card,
.report-card {
  background: var(--blue-card);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  height: 100%;
}

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

.dashboard-card .card-body {
  background: var(--blue-card);
}

.card-content {
  padding: 20px;
  color: #fff;
}

.card-content h3 {
  font-size: 36px;
  font-weight: 700;
}

.report-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
}

.report-card img {
  height: 170px;
}

.report-card .card-title,
.report-card .card-text {
  color: #fff;
}

.report-card .card-text {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}
.sidebar {
    position: sticky;
    top: 20px;
}
.single-post .content-area {
    padding-top: 30px;
}

.single-post .sidebar {
    padding-left: 20px;
}

.single-post .sidebar .card {
    margin-bottom: 30px;
}
/* =========================
   Content Panels / News
========================= */
.content-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.section-title {
  color: #173a67;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 28px;
}

.update-item {
  border-radius: 16px;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.update-item:hover {
  background: #f7fafd;
  transform: translateY(-1px);
}

.update-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.update-title {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.update-copy {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.arrow-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eff4f9;
  color: #66819e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* =========================
   Latest Publications + Video
========================= */
.publications-section {
  margin-top: 32px;
}

.publications-section .panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.publications-section .panel-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
}

.publications-section .panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.publication-card {
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 24, 43, 0.08);
  border: 1px solid var(--line);
}

.publication-card img,
.publication-img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.publication-body {
  padding: 16px;
}

.publication-body h5 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.publication-body small {
  color: var(--muted);
}

.video-card {
  width: 100%;
  height: 100%;
  min-height: 315px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 28px rgba(7, 24, 43, 0.08);
}

.video-card iframe {
  width: 100%;
  height: 100%;
  min-height: 315px;
  display: block;
  border: 0;
}

/* =========================
   Single Post / Page
========================= */
.single-page {
  padding: 50px 15px;
}

.single-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 40px;
  align-items: start;
}

.single-content,
.single-sidebar {
  min-width: 0;
}

.single-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  margin-bottom: 25px;
}

.single-post h1 {
  font-size: 48px;
  line-height: 1.2;
}

.single-image img,
.single-content img,
.single-body img,
.post-body img,
.featured-image img,
.sidebar-post img {
  max-width: 100%;
  height: auto;
  display: block;
}

.single-body,
.post-body {
  font-size: 16px;
  line-height: 1.8;
}

.post-content {
  font-size: 18px;
  line-height: 1.9;
  
}

.post-content p {
  margin-bottom: 1.5rem;
  
}
.post-content .wp-block-paragraph{
  color: #222426 !important;
    font-size: 16px !important;
}
.sidebar-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* =========================
   Insight / Quotes
========================= */
.insight-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
}

.insight-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.insight-title {
  color: #173a67;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.insight-copy {
  color: var(--muted);
  line-height: 1.75;
}

.quote-card {
  position: relative;
  border-radius: 16px;
  padding: 20px 37px 32px;
  box-shadow: var(--shadow);
  background: #adb5bd99;
}

.quote-text {
  line-height: 1.55;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0;
  color: var(--text);
}

.quote-mark {
  font-size: 60px;
  line-height: 1;
  opacity: .95;
  user-select: none;
}

.quote-mark.left {
  left: 10px;
  top: 10px;
}

.quote-mark.right {
  right: 6px;
  bottom: 13px;
  transform: translateY(8px);
}

.author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: -15px;
  padding-left: 28px;
  margin-bottom: 15px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
  background: #fff;
  flex: 0 0 auto;
  z-index: 1;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.name {
  margin: 18px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

/* =========================
   Download / News Cards
========================= */
.download-sect {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

.download .card {
  width: 450px;
  max-width: 100%;
  background: #173a67bf;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
  margin-bottom: 60px;
  min-height: 350px;
}

.download .card1 {
  width: 360px;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  text-align: center;
  margin-left: 30px;
  margin-bottom: 60px;
  min-height: 300px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  margin-bottom: 16px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
}

.download-btn.secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.download-btn:active {
  transform: translateY(0);
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.icon {
  font-size: 18px;
}

.news-section {
  max-width: 1400px;
  margin: 0 auto;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.news-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.featured .card-image {
  height: 460px;
}

.side-column {
  gap: 24px;
}

.side-card .card-image {
  height: 220px;
}

.card-body {
  padding: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 14px;
}

.card-title {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 14px;
  color: #0f172a;
}

.side-card .card-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 22px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.overlay-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
/* =========================
   Pagination               
=============================*/
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px auto;
    text-align: center;
}

.pagination-wrapper .nav-links,
.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* =========================
   Footer
========================= */
.footer {
  color: #fff;
  background-color: #243a50;
  font-size: 14px;
  position: relative;
  padding: 20px;
  margin-top: 20px;
}

.footer ul li {
  line-height: 2.5em;
}

.footer ul li > a {
  list-style: none;
  color: #f8f9faa3;
}

.footer-banner {
  height: 140px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* =========================
   Responsive
========================= */
@media (max-width: 991px) {
  .single-content h1 {
    font-size: 28px;
  }

  .map-title h3 {
    left: 28px;
    font-size: 28px;
  }

  .map-title h4 {
    left: 28px;
  }

  .map-title p {
    right: 28px;
    width: 380px;
    font-size: 16px;
  }

  .video-card,
  .video-card iframe {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .single-sidebar {
    margin-top: 30px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-card {
    border-radius: 20px;
  }

  .map-surface {
    min-height: 520px;
  }

  .map-title h3 {
    top: 48px;
    transform: none;
    max-width: calc(100% - 48px);
    font-size: 25px;
    line-height: 1.35;
  }

  .map-title h4 {
    left: 28px;
    bottom: 250px;
  }

  .map-title p {
    left: 24px;
    right: 24px;
    top: auto;
    bottom: 24px;
    width: auto;
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  .report-card img {
    height: 150px;
  }

  .update-thumb {
    width: 74px;
    height: 60px;
  }
}

@media (max-width: 640px) {
  .quote-card {
    padding: 24px 18px 46px;
  }

  .quote-text {
    font-size: 20px;
    padding: 6px 44px;
  }

  .quote-mark {
    font-size: 54px;
  }

  .author {
    padding-left: 10px;
    margin-top: -20px;
  }

  .name {
    font-size: 30px;
  }

  .avatar {
    width: 86px;
    height: 86px;
    border-width: 8px;
  }
}

@media (max-width: 600px) {
  .single-page {
    padding: 30px 12px;
  }

  .single-content h1 {
    font-size: 26px;
  }

  .share-buttons {
    flex-wrap: wrap;
  }

  .share-buttons a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .post-body {
    font-size: 15px;
  }

  .stat-box h2 {
    font-size: 38px;
  }

  .stat-label {
    font-size: 1rem;
  }

  .download .card,
  .download .card1 {
    width: 100%;
    margin-left: 0;
  }
}
