/* Legal page specific styles */

header a {
    text-decoration: none;
}
.legal-hero-section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  padding: 120px 0 80px 0;
  position: relative;
}


.legal-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.3);
  z-index: -1;
}

.legal-hero-title {
  font-size: clamp(2.5rem, 4vw, 4rem) !important;
  color: #fcb900 !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.legal-hero-subtitle {
  font-size: 1.2rem !important;
  color: #f0f0f0 !important;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.legal-content-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.legal-section {
  background: white;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #fcb900;
}

.legal-section-title {
  color: #000 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  margin-bottom: 2rem !important;
  padding-bottom: 1rem;
  border-bottom: 2px solid #fcb900;
  text-transform: uppercase;
}

.legal-subsection {
  margin-bottom: 2rem;
}

.legal-subsection h3 {
  color: #333 !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  padding-left: 15px;
  border-left: 3px solid #fcb900;
}

.legal-subsection p {
  color: #555 !important;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-contact-info {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #e9ecef;
  margin-top: 1rem;
}

.legal-contact-info p {
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

.legal-contact-info strong {
  color: #fcb900 !important;
  font-weight: 600;
}

.legal-updated {
  text-align: center;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-top: 40px;
}

.legal-updated p {
  color: #666 !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .legal-hero-section {
    padding: 80px 0 60px 0;
  }
  
  .legal-content-section {
    padding: 60px 0;
  }
  
  .legal-section {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  
  .legal-section-title {
    font-size: 1.5rem !important;
  }
  
  .legal-subsection h3 {
    font-size: 1.1rem !important;
  }
  
  .legal-subsection p {
    text-align: left;
  }
}

@media (max-width: 500px) {
  /* Reduce side padding on very small screens */
  .wp-site-blocks .has-global-padding,
  .legal-content-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .legal-section {
    padding: 20px 8px;
    margin-bottom: 24px;
  }
  
  /* Hero section - keep original size */
  .legal-hero-title {
    font-size: 2rem !important;
  }
  
  /* Increase font sizes for non-hero sections */
  .legal-section-title {
    font-size: 1.35rem !important;
  }
  
  .legal-subsection h3 {
    font-size: 1.05rem !important;
  }
  
  .legal-text,
  .legal-subsection p {
    font-size: 0.95rem !important;
  }
}

/* Footer newsletter form - 100% width on mobile */
@media (max-width: 767px) {
  footer .wp-block-gutena-forms form,
  footer .wp-block-gutena-forms,
  footer .wp-block-gutena-field-group,
  footer .gutena-forms-email-field,
  footer .gutena-forms-email-field input {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  footer .wp-block-gutena-forms {
    padding-right: 0 !important;
  }
  
  footer .wp-block-column h2 {
    text-align: center !important;
    padding-right: 0 !important;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {
  .legal-hero-section::before {
    display: none;
  }
  
  .legal-section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  .legal-section-title {
    color: #000 !important;
  }
}

/* Media Page - Official Initiative Section & Responsive Image */
.initiative-section {
  position: relative;
  overflow: hidden;
}

.initiative-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #fcb900;
}

.initiative-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  font-size: 1.75rem !important;
  line-height: 1.2;
}

.initiative-date-badge {
  font-size: 0.85rem;
  font-weight: 500;
  color: #777;
  white-space: nowrap;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  letter-spacing: 0.3px;
}

/* Media Releases & Mini-Blog Layout */
.media-releases-desc {
  font-size: 1.05rem !important;
  color: #4b5563 !important;
  line-height: 1.7;
  margin-bottom: 2rem !important;
}

.media-blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.media-blog-post {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.media-blog-post:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Refined Subcategory Kicker */
.media-post-category {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 10px;
  line-height: 1;
}

.media-post-category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  background-color: #fcb900;
  border-radius: 1px;
}

.media-blog-post .initiative-header {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
}

.media-post-title {
  color: #111 !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.2px;
}

.media-post-lead {
  color: #4b5563 !important;
  font-size: 1.02rem !important;
  line-height: 1.7;
  margin-bottom: 0.5rem !important;
}

.initiative-headline {
  color: #111 !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  margin-bottom: 0.4rem !important;
  border-left: none !important;
  padding-left: 0 !important;
}

.initiative-subheading {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  margin-bottom: 1rem !important;
  line-height: 1.45;
  padding-left: 0 !important;
}

/* Expandable Content Animation */
.media-expandable-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.media-expandable-content.show {
  max-height: 6000px;
  opacity: 1;
}

/* Index-Style Compact Buttons */
.media-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fcb900;
  color: #000 !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 0;
  border: 1px solid #fcb900;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.media-btn-primary:hover {
  background: #000;
  color: #fcb900 !important;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.media-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #111 !important;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 16px;
  border-radius: 0;
  border: 1.5px solid #111;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.media-btn-secondary:hover {
  background: #111;
  color: #fcb900 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.media-read-more-btn {
  margin-top: 0.75rem;
}

.media-read-more-btn .btn-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

.initiative-text-block p {
  color: #4b5563 !important;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: left;
}

.initiative-goal-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%);
  border-left: 4px solid #fcb900;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(252, 185, 0, 0.12);
}

.initiative-goal-card p {
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 1rem;
  line-height: 1.5;
}

.initiative-goal-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Rich Initiative Content Sections */
.initiative-section-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.85rem !important;
  letter-spacing: 0.3px;
  position: relative;
  padding-left: 12px;
  border-left: 3px solid #fcb900;
}

.initiative-bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.initiative-bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5rem;
  color: #4b5563;
  line-height: 1.6;
}

.initiative-bullet-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #fcb900;
  border-radius: 50%;
}

.initiative-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  padding: 14px 18px;
  border-radius: 8px;
}

.initiative-meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.initiative-meta-item .meta-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.initiative-meta-item .meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.initiative-highlight-box {
  background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%);
  border-left: 4px solid #fcb900;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
}

.initiative-highlight-box p {
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 1.02rem;
  line-height: 1.55;
}

.initiative-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  height: 100%;
  position: relative;
  transition: all 0.25s ease;
}

.initiative-card:hover {
  border-color: #fcb900;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.initiative-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fcb900;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  margin-bottom: 12px;
}

.initiative-card h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.initiative-card p {
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

.initiative-quote-callout {
  border: 1.5px dashed #fcb900;
  background: #fffdf5;
  border-radius: 8px;
  padding: 14px 20px;
  text-align: center;
}

.initiative-quote-callout p {
  margin: 0 !important;
  color: #111 !important;
  font-size: 1.02rem;
  line-height: 1.5;
}

/* Bank and Organization Cards */
.initiative-bank-card, .initiative-org-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.bank-card-badge {
  display: inline-block;
  background: #111;
  color: #fcb900;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.bank-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.93rem;
}

.bank-row:last-child {
  border-bottom: none;
}

.bank-row-accent {
  background: #fffdf2;
  margin: 6px -10px;
  padding: 8px 10px;
  border-radius: 4px;
  border-bottom: none;
}

.bank-label {
  font-weight: 600;
  color: #6b7280;
  min-width: 120px;
}

.bank-val {
  font-weight: 600;
  color: #1f2937;
  flex: 1;
}

.bank-val a {
  color: #1f2937;
  text-decoration: underline;
  text-decoration-color: #fcb900;
  transition: color 0.2s ease;
}

.bank-val a:hover {
  color: #fcb900;
}

.bank-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.5px;
}

/* Contact Card */
.initiative-contact-card {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  border-left: 4px solid #fcb900;
}

.initiative-contact-card h5 {
  color: #fcb900;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.initiative-contact-info p {
  color: #e5e7eb !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.4rem !important;
}

.initiative-contact-info a {
  color: #fcb900;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.initiative-contact-info a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.initiative-tagline {
  color: #fff !important;
  font-size: 1.05rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
}

/* Image Card Styling */
.initiative-media-card {
  position: relative;
  height: 100%;
}

.initiative-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  border: 1px solid #e5e7eb;
  background-color: #0d0d0d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-img-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.initiative-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.initiative-img-frame:hover .initiative-img {
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .initiative-img-frame {
    max-width: 540px;
    margin: 0 auto 1.5rem auto;
  }
  .initiative-subheading {
    padding-left: 15px;
  }
}

@media (max-width: 576px) {
  .initiative-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .initiative-date-badge {
    font-size: 0.85rem;
  }
  .initiative-title {
    font-size: 1.4rem !important;
  }
}