/* ============================================
   DONATE PAGE - Campaign Detail Styles
   Reuses style.css base, adds campaign-specific layout
   ============================================ */

/* === PAGE HERO BANNER === */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,85,48,0.75) 0%, rgba(44,85,48,0.4) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-title {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}
.breadcrumb a {
  color: #fff;
  transition: opacity 0.3s;
}
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb-current {
  color: #C4B28C;
  font-weight: 500;
}

/* === CAMPAIGN SECTION LAYOUT === */
.campaign-section {
  padding: 60px 0 80px;
  background: #fff;
}

.campaign-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

/* === CAMPAIGN SIDEBAR (Left Nav) === */
.campaign-sidebar {
  position: sticky;
  top: 90px;
}
.campaign-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #f8f6f3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee5db;
}
.campaign-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  transition: all 0.25s ease;
  border-left: 3px solid transparent;
  background: transparent;
}
.campaign-nav-item:hover {
  background: #fff;
  color: #2c5530;
  padding-left: 24px;
  border-left-color: #C4B28C;
}
.campaign-nav-item.active {
  background: #C4B28C;
  color: #fff;
  font-weight: 500;
  border-left-color: #a08c66;
}
.campaign-nav-item.active::after {
  content: '✓';
  font-weight: 700;
}

/* === CAMPAIGN MAIN CONTENT === */
.campaign-main {
  max-width: 800px;
}

/* Featured Image */
.campaign-featured-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.campaign-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Donate Bar — inline form */
.campaign-donate-bar {
  margin-bottom: 20px;
}
.donate-inline-form {
  background: #f8f6f3;
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid #eee5db;
}
.donate-inline-form .give-amounts {
  margin: 12px 0;
}
.donate-inline-form .give-submit-btn {
  margin-top: 10px;
}

/* === DONATION PROGRESS SECTION (Donate Now + Progress Bar) === */
.donation-progress-section {
  background: #f8f6f3;
  border-radius: 12px;
  padding: 25px 28px;
  margin-bottom: 35px;
  border: 1px solid #eee5db;
}

/* Donate Bar inside progress section */
.campaign-donate-bar {
  margin-bottom: 20px;
}

/* Progress Header */
.donation-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.donation-progress-label {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #202020;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.donation-progress-percent {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #202020;
}

/* Progress Bar */
.donation-progress-bar-track {
  width: 100%;
  height: 6px;
  background: #e8ddd5;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.donation-progress-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #C4B28C, #d4c49c);
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.donation-progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
  border-radius: 0 3px 3px 0;
}

/* Content Article */
.campaign-content {
  margin-bottom: 40px;
}
.campaign-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #202020;
  margin-bottom: 22px;
  line-height: 1.3;
}
.campaign-content p {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 18px;
}

/* Image Gallery */
.campaign-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-caption {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
  line-height: 1.5;
  font-style: italic;
}

.campaign-footer-text {
  font-size: 14px;
  color: #888;
  font-style: italic;
  margin-bottom: 50px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* === TESTIMONIALS === */
.campaign-testimonials {
  background: #f8f6f3;
  border-radius: 16px;
  padding: 45px 40px;
  margin-top: 50px;
}
.testimonials-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #202020;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}
.testimonials-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #C4B28C;
  margin: 12px auto 0;
  border-radius: 2px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 30px;
  margin-bottom: 18px;
  border-left: 4px solid #C4B28C;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateX(4px);
}
.testimonial-card-icon {
  font-size: 36px;
  font-weight: 700;
  color: #e8ddd5;
  line-height: 1;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.testimonial-meta strong {
  color: #202020;
  font-weight: 600;
}
.testimonial-meta span {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

/* === ARTICLE META BAR === */
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.article-meta-category {
  display: inline-block;
  background: #C4B28C;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
}
.article-meta-date,
.article-meta-author {
  font-size: 13px;
  color: #999;
}
.article-meta-author::before {
  content: 'By ';
}

/* === ARTICLE QUOTE BLOCK === */
.article-quote {
  background: #f8f6f3;
  border-left: 4px solid #C4B28C;
  border-radius: 0 12px 12px 0;
  padding: 24px 30px;
  margin: 30px 0;
}
.article-quote p {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #2c5530;
  line-height: 1.6;
  margin: 0;
  font-style: normal;
}

/* === ARTICLE CONTENT HEADINGS === */
.campaign-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #2c5530;
  margin-top: 32px;
  margin-bottom: 14px;
}

/* === SHARE BAR === */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid #eee;
}
.share-label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}
.share-btn {
  display: inline-block;
  background: #f8f6f3;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.25s ease;
}
.share-btn:hover {
  background: #C4B28C;
  color: #fff;
}

/* === RELATED ARTICLES === */
.related-articles {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid #eee;
}
.related-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #202020;
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-decoration: none;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.10);
}
.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.related-card-body {
  padding: 16px 18px 20px;
}
.related-card-category {
  display: inline-block;
  background: #C4B28C;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.related-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #202020;
  line-height: 1.4;
  margin-bottom: 6px;
}
.related-card-date {
  font-size: 12px;
  color: #999;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .campaign-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .campaign-sidebar {
    position: static;
  }
  .campaign-nav {
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: auto;
  }
  .campaign-nav-item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  .campaign-nav-item.active {
    border-left: none;
    border-bottom-color: #a08c66;
  }
  .page-title { font-size: 36px; }
  .campaign-gallery { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .article-meta-bar { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 576px) {
  .page-hero { min-height: 240px; }
  .page-title { font-size: 28px; }
  .campaign-heading { font-size: 24px; }
  .campaign-gallery { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-quote { padding: 18px 22px; }
  .article-quote p { font-size: 16px; }
  .gallery-item img { height: 180px; }
  .campaign-testimonials { padding: 30px 20px; }
  .testimonial-card { padding: 20px; }
  .donate-inline-form { padding: 18px 16px; }
}
