/* Interior Page Specific Styles */

/* Page Header */
.page-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    margin-top: 80px; /* Account for fixed nav */
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--white);
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: var(--spacing-lg);
}

.flash-message {
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Donation Form Styles */
.donation-form-container {
    margin: var(--spacing-lg) 0;
}

.anedot-embed {
    margin: var(--spacing-md) 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: var(--spacing-sm);
}

.anedot-embed iframe {
    width: 100%;
    min-height: 700px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.donation-note {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--text-muted);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .anedot-embed iframe {
        min-height: 800px;
    }
}

/* Accordion Styles */
.accordion-section {
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.accordion-header {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: var(--spacing-md);
    margin: 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: var(--font-subheader);
    border-bottom: none !important;
}

.policy-section .accordion-header {
    color: var(--white) !important;
    border-bottom: none !important;
}

.accordion-header:hover {
    background-color: var(--primary-red);
}

.accordion-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: var(--spacing-lg);
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: var(--light-gray);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Content Layout */
.page-content {
    padding: var(--spacing-xl) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
}

/* Main Content Area */
.main-content {
    max-width: 100%;
}

.policy-section {
    margin-bottom: var(--spacing-xl);
}

.policy-section h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: var(--spacing-sm);
}

.policy-section h3 {
    color: var(--primary-red);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.policy-section ul,
.policy-section ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.policy-section li {
    margin-bottom: var(--spacing-xs);
}

/* Highlight Box */
.highlight-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.highlight-box h3 {
    margin-top: 0;
}

/* Fix button visibility in highlight boxes */
.highlight-box .btn-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.highlight-box .btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.highlight-box .cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

/* Policy Quote */
.policy-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-blue);
    border-left: 4px solid var(--primary-red);
    padding-left: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

/* Sidebar */
.page-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    background-color: var(--light-gray);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--medium-gray);
}

.sidebar-section h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue);
}

/* Fact List */
.fact-list {
    list-style: none;
    margin: 0;
}

.fact-list li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--medium-gray);
}

.fact-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.fact-list strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-red);
    font-family: var(--font-header);
}

/* Related Links */
.related-links {
    list-style: none;
    margin: 0;
}

.related-links li {
    margin-bottom: var(--spacing-xs);
}

.related-links a {
    font-weight: 500;
}

/* CTA Box */
.cta-box {
    background-color: var(--primary-blue);
    color: var(--white);
}

.cta-box h3 {
    color: var(--white);
}

.cta-box p {
    margin-bottom: var(--spacing-sm);
}

.cta-box .btn {
    width: 100%;
    text-align: center;
}

/* Responsive Layout */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        position: relative;
        top: auto;
    }
}

/* Blog Posts - Updates Page */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.blog-post-preview {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-post-preview:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-post-preview:last-child {
    margin-bottom: 0;
}

.post-header h2 {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.5rem;
}

.post-header h2 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-header h2 a:hover {
    color: var(--primary-red);
}

.post-subtitle {
    color: var(--dark-gray);
    font-style: italic;
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.125rem;
}

.post-meta {
    margin-bottom: var(--spacing-md);
    color: var(--medium-gray);
    font-size: 0.875rem;
    font-weight: 500;
}

.post-excerpt {
    line-height: 1.6;
}

.post-excerpt p {
    margin-bottom: var(--spacing-md);
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--primary-blue);
}

/* Form Styling */
.newsletter-form,
.campaign-form {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
}

.form-row {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm);
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 80, 150, 0.1);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-form input[type="email"] {
    padding: var(--spacing-sm);
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 80, 150, 0.1);
}

.newsletter-form button {
    margin-top: var(--spacing-xs);
}

/* Donation Form Specific */
.donation-amounts {
    margin: var(--spacing-lg) 0;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.amount-btn {
    padding: var(--spacing-md);
    border: 2px solid var(--primary-blue);
    background-color: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.donation-form {
    margin-top: var(--spacing-lg);
}

/* Blog Post Content */
.blog-post-content {
    line-height: 1.7;
    font-size: 1.125rem;
}

.blog-post-content p {
    margin-bottom: var(--spacing-md);
}

.post-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--medium-gray);
}

.post-tags {
    margin-bottom: var(--spacing-md);
}

.tag {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.post-share h4 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.share-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

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

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

.share-btn.twitter:hover {
    background-color: #1DA1F2;
}

.share-btn.email:hover {
    background-color: var(--dark-gray);
}

/* Recent Posts in Sidebar */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.recent-post {
    padding: var(--spacing-sm);
    border-left: 3px solid var(--primary-red);
    background-color: var(--white);
}

.recent-post h4 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.recent-post h4 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.recent-post h4 a:hover {
    color: var(--primary-red);
}

.recent-post time {
    font-size: 0.75rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Endorsements Specific */
.endorsement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.endorsement-card {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.endorser-info h3 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--primary-blue);
}

.endorser-title {
    color: var(--medium-gray);
    font-style: italic;
    margin: 0 0 var(--spacing-md) 0;
}

.endorsement-card blockquote {
    margin: 0;
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.6;
}

.org-endorsements {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.org-card {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-red);
    padding: var(--spacing-lg);
}

.org-card h3 {
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--primary-blue);
}

.org-card p {
    margin: 0;
    font-style: italic;
    line-height: 1.6;
}

/* About Page Specific Styles */
.bio-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.bio-image-placeholder {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    background-color: var(--light-gray);
    border: 2px dashed var(--medium-gray);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    text-align: center;
    color: var(--medium-gray);
    min-height: 300px;
}

.image-placeholder.family-photo {
    width: 100%;
    min-height: 250px;
}

.image-placeholder.personal-photo {
    width: 100%;
    min-height: 200px;
}

.bio-intro h2 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.experience-timeline {
    margin: var(--spacing-lg) 0;
}

.timeline-item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--medium-gray);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-content {
    width: 100%;
}

.timeline-date-inline {
    font-weight: 600;
    color: var(--primary-red);
    font-family: var(--font-subheader);
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* Legacy timeline-date class (kept for any other uses) */
.timeline-date {
    font-weight: 600;
    color: var(--primary-red);
    font-family: var(--font-subheader);
}

.timeline-content h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.family-section {
    margin: var(--spacing-lg) 0;
}

.family-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.family-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-md);
}

.involvement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.involvement-item h3,
.education-item h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.education-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

/* Document Library Styles */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.document-item {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-md);
    display: flex;
    gap: var(--spacing-md);
    transition: box-shadow 0.3s ease;
}

.document-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-icon {
    font-size: 2rem;
    display: flex;
    align-items: flex-start;
    padding-top: 0.25rem;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 1.125rem;
}

.document-info p {
    color: var(--dark-gray);
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.875rem;
    line-height: 1.4;
}

.document-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.doc-type,
.doc-size,
.doc-date {
    background-color: var(--light-gray);
    color: var(--primary-blue);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.btn.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.compliance-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.recent-docs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.recent-doc {
    padding: var(--spacing-sm);
    background-color: var(--white);
    border-left: 3px solid var(--primary-red);
}

.recent-doc strong {
    display: block;
    font-size: 0.875rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.recent-doc time {
    font-size: 0.75rem;
    color: var(--medium-gray);
}

/* Update h3 elements to use subheader font */
h3 {
    font-family: var(--font-subheader);
}

/* 404 Page Specific Styles */
.error-content {
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: var(--font-subheader);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}

.error-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.page-card {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: box-shadow 0.3s ease;
}

.page-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-card h3 {
    margin: 0 0 var(--spacing-sm) 0;
}

.page-card h3 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.page-card h3 a:hover {
    color: var(--primary-red);
}

.page-card p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.875rem;
    line-height: 1.4;
}

.contact-options {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.error-report {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

/* Legal Page Specific Styles */
.contact-info {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.contact-method {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
}

.contact-method strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.contact-method a {
    color: var(--primary-red);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Endorsement Form Specific Styles */
.endorsement-form-container {
    margin: var(--spacing-lg) 0;
}

.form-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--medium-gray);
}

.form-section:first-child {
    border-top: none;
    padding-top: 0;
}

.form-section h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: var(--font-body);
}

.checkbox-group {
    margin-bottom: var(--spacing-md);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-blue);
    border-radius: 3px;
    background-color: var(--white);
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
    position: absolute;
    top: -1px;
    left: 2px;
    font-weight: bold;
}

.checkbox-label .checkmark {
    display: none; /* Hide the custom checkmark since we're using CSS */
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

/* Thank You Page Styles */
.thank-you-content {
    text-align: center;
    margin: var(--spacing-lg) 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.share-item {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: left;
}

.share-item h4 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.social-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-sm);
}

.btn-social {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-social.facebook {
    background-color: #1877F2;
    color: var(--white);
    border: 2px solid #1877F2;
}

.btn-social.facebook:hover {
    background-color: #166FE5;
    border-color: #166FE5;
}

.btn-social.twitter {
    background-color: #1DA1F2;
    color: var(--white);
    border: 2px solid #1DA1F2;
}

.btn-social.twitter:hover {
    background-color: #1A91DA;
    border-color: #1A91DA;
}

.btn-social.email {
    background-color: var(--dark-gray);
    color: var(--white);
    border: 2px solid var(--dark-gray);
}

.btn-social.email:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step-card {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
}

.step-card h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.step-card p {
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Contact Page Specific Styles */
.contact-form-container {
    margin: var(--spacing-lg) 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.contact-method-card {
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-method-card h3 {
    font-family: var(--font-subheader);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.contact-method-card p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.contact-method-card a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
}

.contact-method-card a:hover {
    text-decoration: underline;
}



.sunshine-plan-title {
    background: linear-gradient(135deg, #ffd700, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: none;
}

.sunshine-breadcrumb {
    background: linear-gradient(135deg, #ffd700, #f39c12);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
}

.sunshine-breadcrumb a {
    color: var(--primary-blue);
    font-weight: 600;
}

.sunshine-breadcrumb span {
    color: var(--primary-blue);
    font-weight: 600;
}

.sunshine-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 400;
    margin-top: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sunshine-facts li {
    margin-bottom: var(--spacing-xs);
}

/* Priorities page spacing adjustments */
.main-content .policy-section:first-child {
    margin-top: 0;
}

.main-content .policy-section:first-child .highlight-box {
    margin-bottom: var(--spacing-md);
}

.signature-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--medium-gray);
}

.signature-line {
    margin-bottom: var(--spacing-xs);
    font-style: italic;
}

.signature-name {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.signature-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

/* Experience CTA styling */
.experience-cta {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.experience-cta .btn {
    display: inline-block;
}

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

.experience-cta .btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Bio image styling */
.bio-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Original image: 800px x 1200px (2:3 aspect ratio) */
    /* No max-width constraint to allow proper scaling within container */
    object-fit: contain;
    aspect-ratio: 2/3;
}

/* Updated family photo layout - 1/2 1/2 split */
.family-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.family-photo-half {
    width: 100%;
}

.family-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Education graduation photo */
.education-photo {
    margin-top: var(--spacing-md);
    text-align: center;
}

.grad-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-quote {
        font-size: 1.125rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .endorsement-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .blog-post-preview {
        padding: var(--spacing-md);
    }
    
    /* About page responsive */
    .bio-header {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .timeline-item {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
    
    .timeline-date-inline {
        font-weight: 700;
        border-bottom: 1px solid var(--primary-red);
        padding-bottom: 0.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    /* Legacy timeline-date responsive styles */
    .timeline-date {
        font-weight: 700;
        border-bottom: 1px solid var(--primary-red);
        padding-bottom: 0.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .family-images {
        grid-template-columns: 1fr;
    }
    
    .involvement-grid,
    .education-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Document library responsive */
    .document-grid {
        grid-template-columns: 1fr;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
    }
    
    .compliance-links {
        flex-direction: column;
    }
    
    /* 404 page responsive */
    .error-number {
        font-size: 5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .page-grid {
        grid-template-columns: 1fr;
    }
    
    /* Legal page responsive */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
        text-align: center;
    }
    
    /* Endorsement form responsive */
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    /* Contact page responsive */
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    /* Sunshine plan responsive */
    .sunshine-quote {
        font-size: 1.25rem;
        color: var(--white);
    }
    
    /* About page images responsive */
    .family-images {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .bio-image {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .grad-image {
        max-width: 150px;
    }
}