/* Campaign View Template Styles */

/* Reset and Base */
.campaign-view {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.campaign-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 5px;
}

.campaign-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-hero-content {
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.campaign-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.campaign-summary {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.4;
  white-space: nowrap;
}

.campaign-cta-btn {
  font-size: 1.25rem;
  padding: 15px 40px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 5px;
  background-color: #d20012 !important;
  border-color: #d20012 !important;
}

/* Info Bar Section */
.campaign-info-bar {
  background-color: #f8f9fa;
  padding: 12px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-item {
  text-align: center;
  padding: 8px 15px;
}

.info-label {
  font-weight: 600;
  color: #6c757d;
  display: inline;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-right: 6px;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  color: #212529;
  display: inline;
}

/* Take Action Section */
.campaign-take-action {
  background-color: #fff;
  padding: 30px 0;
}

.take-action-content {
  max-width: 900px;
  margin: 0 auto;
}

.take-action-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #212529;
}

.take-action-subtitle {
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 16px;
}

.take-action-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.take-action-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.take-action-buttons .btn-primary {
  background-color: #d20012 !important;
  border-color: #d20012 !important;
}

/* Why This Matters Section */
.campaign-details-section {
  background-color: #f8f9fa;
  padding: 30px 0 0px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #212529;
  text-align: center;
}

.campaign-details-content {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  padding: 0 20px;
  padding: 30px 40px;
}

.campaign-details-content p {
  margin-bottom: 20px;
}

.campaign-details-content ul,
.campaign-details-content ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 25px 0;
}

.campaign-details-content ul li,
.campaign-details-content ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.campaign-details-content ul li::before,
.campaign-details-content ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: #007bff;
  border-radius: 50%;
}

.campaign-details-content h2,
.campaign-details-content h3,
.campaign-details-content h4 {
  color: #212529;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 15px;
}

.campaign-details-content strong {
  color: #212529;
}

/* Related Bills Section */
.campaign-bills-section {
  background-color: #fff;
  padding: 30px 0;
}

.campaign-bills-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.campaign-bill-card {
  display: flex;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bill-card-sidebar {
  width: 6px;
  background-color: #28a745;
  flex-shrink: 0;
}

.bill-card-content {
  flex: 1;
  padding: 20px 24px;
}

.campaign-bill-card .bill-badge {
  display: inline-block;
  background: #17a2b8;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.campaign-bill-card .bill-identifier {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.campaign-bill-card .bill-identifier a {
  color: #0073aa;
  text-decoration: none;
}

.campaign-bill-card .bill-identifier a:hover {
  text-decoration: underline;
}

.campaign-bill-card .bill-title {
  font-size: 1rem;
  color: #333;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.campaign-bill-card .bill-abstract {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 12px 0;
  line-height: 1.6;
}

.campaign-bill-card .bill-latest-action {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.campaign-bill-card .bill-tracker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

.campaign-bill-card .tracker-badge {
  display: inline-block;
  background: #17a2b8;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

/* How You Can Help Section */
.campaign-help-section {
  background-color: #f8f9fa;
  padding: 30px 0;
}

.help-options-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
}

.help-option {
  flex: 1;
  text-align: left;
}

.help-option-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #212529;
  margin: 0 0 12px 0;
}

.help-option-title a {
  color: #212529;
  text-decoration: none;
}

.help-option-title a:hover {
  text-decoration: underline;
}

.help-option-description {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .campaign-hero {
    min-height: 400px;
  }

  .campaign-title {
    font-size: 1.5rem;
    white-space: normal;
  }

  .campaign-summary {
    font-size: 0.9rem;
    white-space: normal;
  }

  .take-action-title {
    font-size: 1.75rem;
  }

  .take-action-buttons {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
  }

  .take-action-buttons .btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .campaign-bills-section {
    padding: 40px 0;
  }

  .bill-card-content {
    padding: 16px;
  }

  .campaign-bill-card .bill-identifier {
    font-size: 1.1rem;
  }

  .campaign-help-section {
    padding: 40px 0;
  }

  .help-options-row {
    flex-direction: column;
    gap: 30px;
  }

  .help-option {
    text-align: center;
  }
}

