/*
Theme Name: Wendy Huang for Congress
Theme URI: https://wendyhuangforcongress.com
Author: Wendy Huang for Congress
Description: Custom theme for Wendy Huang for Congress - CA-14
Version: 1.0
Text Domain: wh-congress
*/

/* --- Variables & Reset --- */
:root {
    --primary-blue: #0a2463;
    --primary-red: #b71c1c;
    --accent-gold: #FFD700;
    --bg-light: #f4f4f9;
    --text-dark: #333;
    --text-light: #fff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 900;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-blue);
}

.btn-contact {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Navbar --- */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 900;
}

.logo .district {
    font-size: 0.8rem;
    color: var(--primary-red);
    vertical-align: super;
}

.nav-slogan {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 2px solid #ddd;
    padding-left: 15px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 36, 99, 0.75), rgba(10, 36, 99, 0.75)),
                url('images/the-declaration-of-independence.png') no-repeat top center/cover;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.pillars {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.hero .lead-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Social Media Strip --- */
.social-strip {
    background-color: var(--bg-light);
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.social-strip-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-label {
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.btn-social {
    padding: 10px 22px;
    font-size: 0.8rem;
}

.btn-x {
    background-color: #000;
    color: white;
}

.btn-x:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-instagram {
    background-color: #E1306C;
    color: white;
}

.btn-instagram:hover {
    background-color: #c72b60;
    transform: translateY(-2px);
}

.btn-facebook {
    background-color: #1877F2;
    color: white;
}

.btn-facebook:hover {
    background-color: #145dc1;
    transform: translateY(-2px);
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.about-text h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievements-list {
    margin: 20px 0;
    list-style: none;
}

.achievements-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.achievements-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
    margin-top: 25px;
    font-size: 1.15rem;
}

/* --- Issues Section --- */
.issues-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.issue-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.issue-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--accent-gold);
}

/* --- Appearance Section --- */
.appearance-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid #ddd;
}

.appearance-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.appearance-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.appearance-image a:hover img {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.appearance-text .badge {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.appearance-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appearance-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.appearance-actions {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.community-cta {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    max-width: 400px;
}

.community-cta p {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    color: #555;
}

.link-secondary {
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: inline-block;
}

.link-secondary:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

/* --- Page Intro (sub-page hero) --- */
.page-intro {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)),
                url('images/CharlieKirkShow.jpg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

.page-intro h1 {
    color: white !important;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.page-intro p {
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.4rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* --- Blog / News & Media --- */
.media-section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.alt-bg { background-color: var(--bg-light); }

.media-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 12px;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover { background: var(--primary-red); }
.prev { left: -20px; }
.next { right: -20px; }

/* Blog Archive Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.blog-card-body .blog-excerpt {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.blog-card-meta {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.blog-card-category {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
}

.blog-card .read-more {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card .read-more:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Category Filter */
.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.category-filter {
    padding: 8px 20px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.category-filter:hover,
.category-filter.active {
    background: var(--primary-blue);
    color: white;
}

/* Media Cards Grid (for media coverage posts) */
.media-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.media-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.media-card h3 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.media-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.media-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.media-card-links a {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.media-card-links a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Single Post */
.single-post-header {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)),
                url('images/CharlieKirkShow.jpg');
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

.single-post-header h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.single-post-meta {
    margin-top: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.single-post-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.single-post-content .post-thumbnail {
    margin-bottom: 30px;
}

.single-post-content .post-thumbnail img {
    width: 100%;
    border-radius: 8px;
}

.single-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--primary-blue);
    font-weight: 700;
}

.blog-pagination .page-numbers.current {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* --- Footer --- */
.footer-section {
    background-color: #05143a;
    color: white;
    text-align: center;
    padding: 60px 0 30px;
}

.signup-form {
    margin: 30px 0;
}

.signup-form input {
    padding: 12px;
    border-radius: 4px;
    border: none;
    width: 300px;
    max-width: 100%;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: #ccc;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 40px;
    font-size: 0.75rem;
    color: #888;
    border: 1px solid #444;
    display: inline-block;
    padding: 10px 20px;
}

/* --- District Page --- */
.district-hero {
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(10, 36, 99, 0.85), rgba(10, 36, 99, 0.85));
    color: white;
    text-align: center;
    padding: 80px 0 60px;
}

.district-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.district-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.district-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.cities-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-red);
}

.cities-card--tight {
    padding: 15px;
}

.county-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cities-card--tight .county-title {
    padding: 5px 0 10px;
    margin-bottom: 0;
}

.city-list {
    list-style: none;
    columns: 1;
}

.city-list li {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #444;
}

.city-list li::before {
    content: "\2022";
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1rem;
    position: absolute;
    left: 0;
    top: 5px;
}

/* --- Endorsements Page --- */
.endorsements-hero {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0;
}

.endorsements-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.endorsements-hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.endorsements-hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.endorsements-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.endorsements-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.endorsement-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-red);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.endorsement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.endorsement-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.endorsement-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- Privacy Page --- */
.policy-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-block {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.policy-block h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.policy-block ul {
    margin: 15px 0 0 20px;
}

.policy-block li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.policy-block a {
    color: var(--primary-red);
    font-weight: 700;
}

.contact-info {
    margin-top: 15px;
}

.last-updated {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* --- Contact Form Page --- */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-block h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info-block > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method h3 {
    color: var(--primary-red);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-method a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.privacy-link {
    text-decoration: underline;
    font-weight: 700;
    color: var(--primary-blue);
}

.privacy-link:hover {
    color: var(--primary-red);
}

.contact-form-block h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkboxes {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-blue);
}

.contact-form .btn {
    width: 100%;
    margin-top: 15px;
    padding: 15px 30px;
    font-size: 1rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Donate Page --- */
.donate-section {
    padding: 80px 20px;
    background-color: #f4f7f9;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donate-card {
    background: white;
    padding: 40px;
    border-top: 5px solid #b22234;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.donate-card h1 {
    margin-bottom: 15px;
    color: #002868;
}

.donate-card p {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

.fec-notice-box {
    margin-top: 40px;
    padding: 20px;
    background: #eee;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #444;
    text-align: left;
}

stripe-buy-button {
    display: block;
    margin: 0 auto;
}

/* --- Page Content (generic) --- */
.page-content-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-content-body {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.page-content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =========================================
   MEDIA QUERIES & MOBILE RESPONSIVENESS
   ========================================= */

@media (min-width: 900px) {
    .carousel-item { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 900px) {
    .issues-grid { grid-template-columns: 1fr; }
    .appearance-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .appearance-image { order: 1; }
    .appearance-text { order: 2; }
    .community-cta { margin: 0 auto; }
    .district-grid { grid-template-columns: 1fr; }
    .endorsements-hero-content { grid-template-columns: 1fr; }
    .endorsements-hero-image { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-slogan {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 999;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .hero h1 { font-size: 2.4rem; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .btn {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
    }

    .signup-form input { margin-bottom: 10px; }

    .carousel-btn { display: none; }
    .carousel-item { height: 350px; }
    .page-intro { padding: 80px 20px; }
    .page-intro h1 { font-size: 2.2rem; }
    .page-intro p { font-size: 1.1rem; }

    .blog-grid,
    .media-cards-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
