/*
Theme Name: PCRH - Political Campaigns Resource Hub
Theme URI: https://pcrh.org
Author: PCRH
Description: Custom theme for Political Campaigns Resource Hub. Matches Figma design with Raleway headings, Open Sans body, and brand colors. Built for use with WPBakery Page Builder (JS Composer).
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcrh
*/

/* ==========================================================================
   PCRH Design Tokens (from Figma)
   ========================================================================== */
:root {
  --pcrh-primary: #0b2336;        /* Atlantic Blue */
  --pcrh-secondary: #304c6d;      /* Slate Blue */
  --pcrh-tertiary: #97a0aa;       /* Institutional Grey */
  --pcrh-highlight: #c98449;      /* Heritage Copper */
  --pcrh-heading-font: 'Raleway', sans-serif;
  --pcrh-body-font: 'Open Sans', sans-serif;
}

/* ==========================================================================
   Base typography
   ========================================================================== */
body {
  font-family: var(--pcrh-body-font);
  color: var(--pcrh-primary);
}

h1, h2, h3, h4, h5, h6,
.vc_custom_heading,
.wpb_heading {
  font-family: var(--pcrh-heading-font) !important;
  color: var(--pcrh-primary);
}
html, body {
    margin: 0;
    padding: 0;
}

.site-footer {
    background-color: #0b2336;
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   PCRH section styling (VC sections with our colors)
   ========================================================================== */
.pcrh-hero {
  background-color: var(--pcrh-primary) !important;
  color: #fff;
}
.pcrh-hero h1,
.pcrh-hero .vc_custom_heading,
.pcrh-hero .wpb_heading {
  color: #fff !important;
}
.pcrh-hero .wpb_text_column,
.pcrh-hero p {
  color: rgba(255,255,255,0.9);
}
.pcrh-hero .vc_btn3-container {
  display: inline-block;
  margin: 0 0.5rem 0.5rem 0;
}

.pcrh-section-alt {
  background-color: #f5f6f7;
}

.pcrh-section-secondary {
  background-color: var(--pcrh-secondary) !important;
  color: #fff;
}
.pcrh-section-secondary h2,
.pcrh-section-secondary .vc_custom_heading {
  color: #fff !important;
}
.pcrh-section-secondary p {
  color: rgba(255,255,255,0.9);
}

/* Buttons - Heritage Copper highlight */
.pcrh-btn-primary,
.vc_btn3-style-pcrh-copper {
  background-color: var(--pcrh-highlight) !important;
  border-color: var(--pcrh-highlight) !important;
  color: #fff !important;
}
.pcrh-btn-primary:hover,
.vc_btn3-style-pcrh-copper:hover {
  background-color: #b8733d !important;
  border-color: #b8733d !important;
  color: #fff !important;
}

.pcrh-btn-outline {
  background-color: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
.pcrh-btn-outline:hover {
  background-color: #fff !important;
  color: var(--pcrh-primary) !important;
}

/* VC button – gold style: .btn_gold is on the container, .vc_btn3 is on the inner button */
#hero_section .vc_btn3-container.btn_gold .vc_btn3,
.vc_btn3-container.btn_gold .vc_btn3 {
  text-transform: uppercase;
  font-family: inherit;
  font-weight: bold;
}
/* Hover: override VC inline background (use !important) */
#hero_section .vc_btn3-container.btn_gold .vc_btn3:hover,
.vc_btn3-container.btn_gold .vc_btn3:hover {
  background-color: #97a0aa !important;
  border-color: #97a0aa !important;
  color: #fff !important;
}

/* Initiative cards */
.pcrh-initiative-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  background: #fff;
  transition: box-shadow 0.2s ease;
}
.pcrh-initiative-card:hover {
  box-shadow: 0 8px 24px rgba(11,35,54,0.12);
}
.pcrh-initiative-card h3 {
  color: var(--pcrh-primary);
  margin-top: 0;
}
.pcrh-initiative-card a.vc_btn3 {
  color: var(--pcrh-highlight) !important;
}

/* Contact section */
.pcrh-contact-box h4 {
  color: var(--pcrh-secondary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.pcrh-contact-box p {
  margin: 0;
  color: var(--pcrh-primary);
}

/* List with checkmarks (Why Choose PCRH) */
.pcrh-check-list {
  list-style: none;
  padding-left: 0;
}
.pcrh-check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}
.pcrh-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pcrh-highlight);
  font-weight: bold;
}

/* VC row/column spacing for PCRH template */
.pcrh-page .vc_section,
.pcrh-page .vc_row {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.pcrh-page .vc_section .vc_row,
.pcrh-page .vc_row .vc_row {
  padding-top: 0;
  padding-bottom: 0;
}

/* Full-width VC content - no constraining container */
.pcrh-page .pcrh-vc-wrapper {
  width: 100%;
  padding: 0;
}
.pcrh-page .site-content {
  padding: 0;
  max-width: none;
}

/* Contact form button (when used as HTML button) */
.pcrh-contact-form button.pcrh-btn-primary {
  background-color: var(--pcrh-highlight);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: var(--pcrh-body-font);
  font-weight: 600;
  cursor: pointer;
}
.pcrh-contact-form button.pcrh-btn-primary:hover {
  background-color: #b8733d;
}
