/*
Theme Name: Astra Child - OFW Europe
Template: astra
Description: Custom child theme for OFW Europe with membership templates
Author: OFW Europe
Version: 1.0.0
*/

/* Your custom CSS can go here if needed */

/* ========================================
   OFW EUROPE - WORDPRESS CUSTOM CSS (COMPLETE + FULL WIDTH FIX)
   Copy and paste this ENTIRE file into:
   Appearance → Customize → Additional CSS
   
   REPLACE EVERYTHING in Additional CSS with this!
   ======================================== */

/* ===== AGGRESSIVE FULL WIDTH FIX ===== */
.hero,
.home .hero,
.mission,
.home .mission,
.stats,
.home .stats,
.services,
.cta-section,
.testimonials,
.community-section {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

.entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
}

.ast-container,
.site-content .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding: 0 !important;
}

article {
    max-width: 100% !important;
}

/* ===== COLOR VARIABLES ===== */
:root {
    --primary-blue: #0A2463;
    --secondary-blue: #1E4A8A;
    --accent-gold: #D4AF37;
    --light-gold: #F5E6D3;
    --neutral-50: #F8F7F5;
    --neutral-100: #F0EDE8;
    --neutral-200: #E5E5E5;
    --neutral-700: #404040;
    --neutral-900: #171717;
    --white: #FDFCFA;
}

/* ===== DIAGONAL STRIPES BACKGROUND ===== */
body {
    background: #F8F7F5 !important;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 36, 99, 0.12) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(10, 36, 99, 0.06) 20px, rgba(10, 36, 99, 0.06) 22px) !important;
    background-attachment: fixed !important;
}

/* Make content areas transparent so background shows through */
.site-content,
.entry-content,
.site-main,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    background: transparent !important;
}

/* ===== LOGO STYLING (Option 1: Modern Split) ===== */
.site-title a,
.custom-logo-link {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    letter-spacing: -0.5px !important;
    display: inline-block !important;
}

/* Hide default site title text */
.site-title a {
    font-size: 0 !important;
}

/* Create styled logo with ::before and ::after */
.site-title a::before {
    content: "OFW";
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 800;
}

.site-title a::after {
    content: " | Europe";
    color: var(--accent-gold);
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 0.3rem;
}

/* ===== FULL WIDTH SECTIONS FIX ===== */
/* Remove WordPress page title */
.entry-header {
    display: none !important;
}

/* Make content area not constrain width */
.entry-content {
    max-width: none !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Make hero full width */
.hero {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
}

/* Mission section full width */
.mission {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Stats section full width */
.stats {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* Services section full width */
.services {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* CTA section full width */
.cta-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

/* ===== HERO SECTION WITH BACKGROUND IMAGE ===== */
.hero {
    min-height: 600px !important;
    padding: 8rem 2rem 6rem !important;
    margin-top: 0 !important;
    position: relative !important;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.85) 0%, rgba(30, 74, 138, 0.85) 100%), url('https://ofw-europe.com/wp-content/uploads/2026/01/hero-background-scaled.png') center/cover no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
}

/* Remove any conflicting overlays */
.hero::before,
.hero::after,
.hero-image-overlay,
.hero-gradient-overlay {
    display: none !important;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: white !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important;
}

.hero-accent {
    color: var(--accent-gold) !important;
}

.hero p {
    font-size: 1.3rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.7 !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.primary-btn {
    background: var(--accent-gold) !important;
    color: var(--primary-blue) !important;
    padding: 1rem 2rem !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.secondary-btn {
    background: transparent !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border: 2px solid white !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.secondary-btn:hover {
    background: white !important;
    color: var(--primary-blue) !important;
}

/* ===== PAGE HEADER STYLES ===== */
.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 4rem 2rem;
    background: transparent;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== SECTION LABELS ===== */
.section-label {
    display: block;
    text-align: center;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ===== INFO CARDS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: #FDFCFA;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===== EMERGENCY STYLES ===== */
.emergency-alert {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
}

.emergency-alert h2 {
    color: white !important;
    margin-bottom: 1rem;
    font-size: 2rem !important;
}

.emergency-number {
    font-size: 5rem;
    font-weight: 900;
    margin: 1.5rem 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.emergency-alert p {
    color: white !important;
}

/* ===== HOTLINE CARDS ===== */
.hotline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.hotline-card {
    background: #FDFCFA;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hotline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hotline-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hotline-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 1rem 0;
}

/* ===== EMBASSY CARDS ===== */
.embassy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.embassy-card {
    background: #FDFCFA;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.embassy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.embassy-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.embassy-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.embassy-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #FDFCFA;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

table thead {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: white !important;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
}

table tbody tr:hover {
    background: #F8F7F5;
}

/* ===== BUTTONS ===== */
.wp-block-button__link,
.button,
.btn {
    background: var(--primary-blue) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.wp-block-button__link:hover,
.button:hover,
.btn:hover {
    background: var(--secondary-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(10, 36, 99, 0.2);
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ===== LINKS ===== */
a {
    color: var(--primary-blue);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* ===== MISSION SECTION ===== */
.mission {
    padding: 8rem 2rem !important;
    background-color: #F8F7F5 !important;
    position: relative !important;
    overflow: hidden !important;
}

.mission::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('https://ofw-europe.com/wp-content/uploads/2026/01/mission-pattern-scaled.png') !important;
    background-size: cover !important;
    background-position: center !important;
    opacity: 0.2 !important;
    z-index: 0 !important;
}

.mission-container {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    text-align: center !important;
}
/* ===== STATS SECTION ===== */
.stats {
    padding: 4rem 2rem;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--neutral-700);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .hero p {
        font-size: 1.1rem !important;
    }
    
    .page-header h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .info-grid,
    .hotline-grid,
    .embassy-grid {
        grid-template-columns: 1fr;
    }
    
    .emergency-number {
        font-size: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .hero {
        padding: 4rem 1.5rem 3rem !important;
    }
}

/* ===== WORDPRESS SPECIFIC FIXES ===== */
/* Ensure footer has background */
.site-footer {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.site-footer a {
    color: var(--accent-gold);
}

.site-footer h3 {
    color: white;
}

/* Remove default WordPress padding/margins */
.entry-content > *:first-child {
    margin-top: 0 !important;
}

.entry-content > *:last-child {
    margin-bottom: 0 !important;
}

/* Fix Astra theme container */
.ast-container {
    max-width: 100% !important;
}

/* ===== HIDE OLD THEME FOOTER (but not our custom footer) ===== */
.site-footer:not(:has(.ofw-footer)),
.ast-small-footer:not(:has(.ofw-footer)),
.footer-credits,
.site-info:not(:has(.ofw-footer)),
.ast-footer-copyright {
    display: none !important;
}

/* Make sure site-footer shows if it contains our footer */
.site-footer:has(.ofw-footer) {
    display: block !important;
}

/* ===== CUSTOM OFW FOOTER STYLES ===== */
.ofw-footer {
    background: linear-gradient(135deg, #0A2463 0%, #1E4A8A 100%) !important;
    color: white !important;
    padding: 4rem 2rem 2rem !important;
    margin-top: 6rem !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3,
.footer-column h4 {
    color: #D4AF37 !important;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    color: #D4AF37 !important;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
}

.footer-links {
    list-style: none !important;
    padding: 0 !important;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #D4AF37 !important;
    transform: translateX(5px);
}

.emergency-links li {
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.8;
}

.emergency-links strong {
    color: #D4AF37 !important;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom-content {
    max-width: 800px;
    margin: 0 auto;
}

.copyright {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ofw-footer {
        padding: 3rem 1.5rem 1.5rem !important;
    }
}

/* ===== FIX SERVICE SECTION LAYOUT ===== */
.services {
    text-align: center !important;
}

.services-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.services-header {
    text-align: center !important;
    margin-bottom: 4rem !important;
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 3rem !important;
    text-align: left !important;
}

/* ===== FIX COMMUNITY SECTION ===== */
.community-section {
    text-align: left !important;
}

.community-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* ===== FIX TESTIMONIALS SECTION ===== */
.testimonials {
    text-align: center !important;
}

.testimonials-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    text-align: left !important;
}

.testimonial-card {
    background: #FDFCFA !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

/* ===== FIX MISSION SECTION ALIGNMENT ===== */
.mission {
    text-align: center !important;
    padding: 8rem 2rem !important;
}

.mission-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.mission h2 {
    text-align: center !important;
}

.mission p {
    text-align: center !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===== FIX STATS SECTION ALIGNMENT ===== */
.stats {
    text-align: center !important;
}

.stats-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 3rem !important;
    text-align: center !important;
}

.stat-item {
    text-align: center !important;
}

/* ===== FIX COMMUNITY SECTION LAYOUT ===== */
.community-section {
    padding: 8rem 2rem !important;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important;
    color: white !important;
}

.community-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.community-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem !important;
    align-items: center !important;
}

.community-text {
    text-align: left !important;
}

.community-text h2 {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
}

.community-text p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 2rem !important;
}

.community-benefits {
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

.community-benefits li {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 0 !important;
    padding-left: 2rem !important;
    position: relative !important;
}

.community-benefits li::before {
    content: "✓" !important;
    color: var(--accent-gold) !important;
    position: absolute !important;
    left: 0 !important;
    font-weight: bold !important;
}

.community-image {
    display: block !important;
}

.community-image img {
    width: 100% !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .community-content {
        grid-template-columns: 1fr !important;
    }
}

/* ===== FIX HEADER/MENU WIDTH ALIGNMENT ===== */
.site-header .ast-container,
.main-header-bar-wrap .ast-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* ===== ADD MISSION BACKGROUND PATTERN ===== */
.mission {
    background: var(--neutral-50) !important;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 36, 99, 0.12) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(10, 36, 99, 0.06) 20px, rgba(10, 36, 99, 0.06) 22px) !important;
}

/* ===== HIDE TESTIMONIAL IMAGES (since they're not uploaded) ===== 
.testimonial-author img,
.author-photo {
    display: none !important;
}*/ 

.testimonial-author {
    display: flex !important;
    align-items: center !important;
    margin-top: 1.5rem !important;
}

.author-info {
    text-align: left !important;
}

.author-info h4 {
    color: var(--primary-blue) !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.3rem !important;
}

.author-info p {
    color: var(--neutral-700) !important;
    font-size: 0.9rem !important;
}

/* ===== COMMUNITY IMAGE STYLING ===== */
.community-image {
    display: block !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.community-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    object-fit: cover !important;
}

/* If image is missing, hide the container */
.community-image:empty {
    display: none !important;
}

/* Adjust community-text to take full width if no image */
.community-content:has(.community-image:empty) .community-text {
    grid-column: 1 / -1 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* ===== HIDE STATS SECTION ===== */
.stats {
    display: none !important;
}

/* ===== HIDE SECTION LABELS ===== */
.section-label {
    display: none !important;
}

/* ===== REDUCED SPACING BETWEEN SECTIONS ===== */
.hero {
    margin-bottom: 3rem !important;
}

.mission {
    padding: 3rem 2rem !important;
    margin-bottom: 3rem !important;
}

.services {
    padding: 3rem 2rem !important;
    margin-bottom: 3rem !important;
}

.community-section {
    padding: 3rem 2rem !important;
    margin-bottom: 3rem !important;
}

.testimonials {
    padding: 3rem 2rem !important;
    margin-bottom: 3rem !important;
}

/* Even more spacing on larger screens */

/* Responsive - tighter on mobile */
@media (max-width: 768px) {
    .hero {
        margin-bottom: 2rem !important;
    }
    
    .mission,
    .services,
    .community-section,
    .testimonials {
        padding: 3rem 1.5rem !important;
        margin-bottom: 2rem !important;
    }
}

/* ===== TESTIMONIAL PHOTO STYLING - SMALL CIRCLES ===== */
.testimonial-author {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

.testimonial-author img,
.author-photo {
    display: block !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

.author-info {
    text-align: left !important;
    flex: 1 !important;
}

.author-info h4 {
    color: var(--primary-blue) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
}

.author-info p {
    color: var(--neutral-700) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* Remove the CSS that was hiding images */
.testimonial-author img {
    display: block !important;
}

/* ===== MISSION TEXT FORMATTING ===== */
.mission h2 {
    text-align: center !important;
    color: var(--primary-blue) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    line-height: 1.2 !important;
}

.mission p {
    text-align: center !important;
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    color: var(--neutral-700) !important;
    max-width: 900px !important;
    margin: 0 auto 1.5rem !important;
}

.mission p:last-child {
    margin-bottom: 0 !important;
}

.mission-container {
    position: relative !important;
    z-index: 1 !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* FOOTER BREAK*/

/* Remove Astra's footer wrappers WITHOUT touching .ofw-footer */
.site-footer,
.ast-footer-wrap,
.ast-footer-overlay,
.ast-above-footer-wrap,
.ast-below-footer-wrap {
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    min-height: 0 !important;
}

/* Remove spacing between last homepage section and footer */
.home .site-content,
.home .site-main,
.home .entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure your custom footer sits flush */
.ofw-footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== STICKY HEADER ===== */
.site-header,
.main-header-bar-wrap {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Aligning excerpts blog to the middle */

/* ===== CENTER BLOG ARCHIVE/NEWS PAGE ===== */
.blog .site-content,
.archive .site-content,
.category .site-content {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Center blog post excerpts */
.blog .ast-container,
.archive .ast-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
}

/* Style blog posts grid/list */
.blog article,
.archive article {
    margin-bottom: 3rem !important;
    padding: 2rem !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

/* Center post titles and content */
.blog .entry-header,
.archive .entry-header {
    display: block !important;
    margin-bottom: 1rem !important;
}

.blog .entry-title,
.archive .entry-title {
    color: var(--primary-blue) !important;
    font-size: 2rem !important;
}

/* Style excerpts */
.blog .entry-content,
.archive .entry-content {
    color: var(--neutral-700) !important;
    line-height: 1.7 !important;
}

/* Style "Read More" links */
.blog .read-more,
.archive .read-more {
    color: var(--accent-gold) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.blog .read-more:hover,
.archive .read-more:hover {
    color: var(--primary-blue) !important;
}

/* ===== BLOG GRID LAYOUT (2 COLUMNS) ===== */
.blog .ast-row,
.archive .ast-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)) !important;
    gap: 2rem !important;
}

@media (max-width: 768px) {
    .blog .ast-row,
    .archive .ast-row {
        grid-template-columns: 1fr !important;
    }
}

/*Making the excerpts look like cards*/

/* ===== BLOG POSTS AS CARDS (TESTIMONIAL STYLE) ===== */
.blog .site-content,
.archive .site-content {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 4rem 2rem !important;
}

/* Grid layout for post cards */
.blog .ast-row,
.archive .ast-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
}

/* Individual post card styling */
.blog article,
.archive article {
    background: #FDFCFA !important;
    padding: 2.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Card hover effect */
.blog article:hover,
.archive article:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Hide default entry header display:none from other CSS */
.blog .entry-header,
.archive .entry-header {
    display: block !important;
    margin-bottom: 1.5rem !important;
}

/* Post title styling */
.blog .entry-title,
.archive .entry-title {
    color: var(--primary-blue) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--primary-blue) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: var(--accent-gold) !important;
}

/* Post meta (date, author, category) */
.blog .entry-meta,
.archive .entry-meta {
    font-size: 0.9rem !important;
    color: var(--neutral-700) !important;
    margin-bottom: 1rem !important;
}

.blog .entry-meta a,
.archive .entry-meta a {
    color: var(--accent-gold) !important;
    text-decoration: none !important;
}

/* Post excerpt/content */
.blog .entry-content,
.archive .entry-content {
    color: var(--neutral-700) !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    flex-grow: 1 !important;
}

/* "Read More" button styling */
.blog .read-more,
.archive .read-more,
.blog .ast-read-more,
.archive .ast-read-more {
    display: inline-block !important;
    background: var(--accent-gold) !important;
    color: #FFFFFF !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
}

.blog .read-more:hover,
.archive .read-more:hover,
.blog .ast-read-more:hover,
.archive .ast-read-more:hover {
    background: var(--accent-gold) !important;
    color: var(--primary-blue) !important;
    transform: translateY(-2px) !important;
}

/* Featured image styling (if you add images) */
.blog .post-thumb,
.archive .post-thumb,
.blog .wp-post-image,
.archive .wp-post-image {
    width: 100% !important;
    border-radius: 8px !important;
    margin-bottom: 1.5rem !important;
}

/* Category/tag styling */
.blog .cat-links,
.archive .cat-links {
    display: inline-block !important;
    background: var(--light-gold) !important;
    color: var(--primary-blue) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .blog .ast-row,
    .archive .ast-row {
        grid-template-columns: 1fr !important;
    }
    
    .blog article,
    .archive article {
        padding: 2rem !important;
    }
}

/* ===== FORCE WHITE BACKGROUND ON BLOG CARDS ===== */
.blog article,
.archive article,
.blog .ast-article-post,
.archive .ast-article-post {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

/* Remove any transparent backgrounds */
.blog .site-content,
.archive .site-content {
    background: transparent !important;
}

/* ============================================
   BBPRESS FORUM TEXT SIZE FIX
   ============================================ */

/* Forum List - Main forum titles */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  font-size: 1rem; /* 16px - matches site body text */
}

/* Forum Titles */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
  font-size: 1.125rem !important; /* 18px - slightly larger */
  font-weight: 600;
  line-height: 1.5;
  color: #2C5AA0;
}

/* Forum/Topic Content */
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
  font-size: 1rem !important; /* 16px - matches body */
  line-height: 1.625;
  color: #2C3E50;
}

/* Forum Description Text */
#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
  font-size: 0.9375rem !important; /* 15px */
  line-height: 1.6;
  color: #5A6C7D;
}

/* Post Content (actual posts/replies) */
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content {
  font-size: 1rem !important; /* 16px */
  line-height: 1.625 !important;
  color: #2C3E50;
}

/* Post Content Paragraphs */
#bbpress-forums .bbp-reply-content p,
#bbpress-forums .bbp-topic-content p {
  font-size: 1rem !important;
  line-height: 1.625 !important;
  margin-bottom: 1rem;
}

/* Meta Information (author, date, etc.) */
#bbpress-forums .bbp-meta,
#bbpress-forums .bbp-reply-post-date,
#bbpress-forums .bbp-topic-post-date,
#bbpress-forums .bbp-author-name {
  font-size: 0.875rem !important; /* 14px - smaller for meta */
  color: #5A6C7D;
}

/* Forum Stats (topics, posts count) */
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count {
  font-size: 0.875rem !important; /* 14px */
}

/* Freshness (last activity) */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  font-size: 0.875rem !important; /* 14px */
}

/* Form Labels */
#bbpress-forums fieldset legend,
#bbpress-forums label {
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 600;
  color: #2C3E50;
}

/* Form Inputs & Textareas */
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="url"],
#bbpress-forums textarea {
  font-size: 1rem !important; /* 16px */
  line-height: 1.5;
  padding: 0.75rem;
}

/* Reply Editor (when posting) */
#bbpress-forums #bbp_reply_content,
#bbpress-forums #bbp_topic_content {
  font-size: 1rem !important;
  line-height: 1.625;
}

/* Breadcrumbs */
#bbpress-forums .bbp-breadcrumb {
  font-size: 0.875rem !important; /* 14px */
  color: #5A6C7D;
}

/* Forum Pagination */
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
  font-size: 0.9375rem !important; /* 15px */
}

/* Subscribe/Favorite Links */
#bbpress-forums .bbp-user-subscribe-link,
#bbpress-forums .bbp-user-favorite-link {
  font-size: 0.875rem !important;
}

/* Buttons in Forum */
#bbpress-forums button,
#bbpress-forums .button,
#bbpress-forums input[type="submit"] {
  font-size: 1rem !important; /* 16px */
  padding: 0.75rem 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #bbpress-forums .bbp-forum-title,
  #bbpress-forums .bbp-topic-title {
    font-size: 1rem !important; /* 16px on mobile */
  }
  
  #bbpress-forums .bbp-forum-content,
  #bbpress-forums .bbp-topic-content,
  #bbpress-forums .bbp-reply-content {
    font-size: 0.9375rem !important; /* 15px on mobile */
  }
}

/* Better Forum Spacing */
#bbpress-forums li {
  padding: 1.25rem !important;
}

#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-topic-content {
  padding: 1.5rem !important;
  margin: 1rem 0 !important;
}

#bbpress-forums .bbp-body {
  margin-bottom: 2rem;
}

/* ============================================
   BBPRESS - CENTER & CONSTRAIN WIDTH
   ============================================ */

/* Main forum container - constrain width */
#bbpress-forums {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Forum topic pages */
.bbpress .entry-content,
.bbpress .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Single topic/reply page container */
.single-topic .site-main,
.single-reply .site-main,
.single-forum .site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* bbPress page wrapper */
.bbp-breadcrumb-wrapper,
.bbpress-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Forum topic list */
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies {
  max-width: 100%;
}

/* Ensure forum tables don't overflow */
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-body,
#bbpress-forums li.bbp-footer {
  max-width: 100%;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #bbpress-forums,
  .bbpress .entry-content,
  .bbpress .site-main,
  .single-topic .site-main,
  .single-reply .site-main {
    padding: 0 1rem;
  }
}

/* ============================================
   BBPRESS - CARD WRAPPER STYLING
   ============================================ */

/* Main forum index - card wrapper */
#bbpress-forums {
  background: #FFFFFF;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Individual forum cards */
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  background: #FFFFFF;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Forum header - styled card top */
#bbpress-forums li.bbp-header {
  background: #E8F0F8;
  border-radius: 0.5rem 0.5rem 0 0;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #2C5AA0;
  margin-bottom: 0;
}

/* Forum footer */
#bbpress-forums li.bbp-footer {
  background: #F5F1E8;
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 1rem 1.5rem;
  margin-top: 0;
}

/* Single topic/reply page - card wrapper */
.single-topic #bbpress-forums,
.single-reply #bbpress-forums {
  background: #FFFFFF;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Topic content - card */
#bbpress-forums div.bbp-topic-content,
#bbpress-forums div.bbp-reply-content {
  background: #FAFBFC;
  border-left: 4px solid #2C5AA0;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Reply form - card */
#bbpress-forums fieldset.bbp-form {
  background: #FFFFFF;
  border: 2px solid #E0E6ED;
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 2rem 0;
}

/* Form legend (title) */
#bbpress-forums fieldset legend {
  background: #2C5AA0;
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Individual reply cards */
#bbpress-forums div.reply {
  background: #FFFFFF;
  border: 1px solid #E0E6ED;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#bbpress-forums div.reply:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* ============================================
   FIX DROPDOWN SELECT BOXES
   ============================================ */

/* Topic Type dropdown */
#bbpress-forums select#bbp_topic_type,
#bbpress-forums select#bbp_topic_status,
#bbpress-forums select,
#bbpress-forums .bbp-form select {
  font-size: 0.875rem !important; /* 14px - smaller to fit */
  padding: 0.5rem 0.75rem !important;
  line-height: 1.4 !important;
  height: auto !important;
  min-height: 38px;
  border: 2px solid #E0E6ED;
  border-radius: 0.375rem;
  background-color: #FFFFFF;
  color: #2C3E50;
  cursor: pointer;
}

/* Dropdown arrow - custom styling */
#bbpress-forums select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%232C3E50' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem !important;
}

/* Focus state for dropdowns */
#bbpress-forums select:focus {
  border-color: #2C5AA0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Option text inside dropdown */
#bbpress-forums select option {
  font-size: 0.875rem;
  padding: 0.5rem;
  color: #2C3E50;
}

/* Labels for dropdowns */
#bbpress-forums label {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 0.5rem;
  display: block;
}

/* Form rows with labels */
#bbpress-forums .bbp-form > div {
  margin-bottom: 1.25rem;
}

/* ============================================
   BREADCRUMB CARD
   ============================================ */

/* Breadcrumb wrapper */
#bbpress-forums .bbp-breadcrumb {
  background: #F5F1E8;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #5A6C7D;
}

#bbpress-forums .bbp-breadcrumb a {
  color: #2C5AA0;
  text-decoration: none;
}

#bbpress-forums .bbp-breadcrumb a:hover {
  color: #D4AF37;
  text-decoration: underline;
}

/* ============================================
   TOPIC META INFO CARD
   ============================================ */

/* Topic meta (author, date, etc.) */
#bbpress-forums .bbp-topic-header,
#bbpress-forums .bbp-reply-header {
  background: #F5F1E8;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Author info */
#bbpress-forums .bbp-author-name {
  font-weight: 600;
  color: #2C5AA0;
}

/* ============================================
   PAGINATION CARD
   ============================================ */

/* Pagination wrapper */
#bbpress-forums .bbp-pagination {
  background: #FFFFFF;
  border: 2px solid #E0E6ED;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
  background: #E8F0F8;
  color: #2C5AA0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

#bbpress-forums .bbp-pagination-links a:hover {
  background: #2C5AA0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

#bbpress-forums .bbp-pagination-links span.current {
  background: #2C5AA0;
  color: #FFFFFF;
}

/* ============================================
   MOBILE RESPONSIVE CARDS
   ============================================ */

@media (max-width: 768px) {
  
  /* Reduce card padding on mobile */
  #bbpress-forums {
    padding: 1.25rem;
  }
  
  #bbpress-forums li.bbp-body ul.forum,
  #bbpress-forums li.bbp-body ul.topic {
    padding: 1rem;
  }
  
  #bbpress-forums fieldset.bbp-form {
    padding: 1.25rem;
  }
  
  /* Smaller dropdowns on mobile */
  #bbpress-forums select {
    font-size: 0.8125rem !important; /* 13px on mobile */
    padding: 0.5rem !important;
    padding-right: 2.25rem !important;
  }
  
  /* Stack form elements */
  #bbpress-forums .bbp-topic-header,
  #bbpress-forums .bbp-reply-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   CHECKBOX STYLING (NOTIFY ME)
   ============================================ */

/* Checkbox wrapper */
#bbpress-forums .bbp-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  cursor: pointer;
  vertical-align: middle;
}

/* Checkbox label */
#bbpress-forums .bbp-form input[type="checkbox"] + label,
#bbpress-forums label[for*="bbp_topic_subscription"] {
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 400 !important;
  color: #2C3E50;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0;
}

/* Checkbox row */
#bbpress-forums .bbp-template-notice {
  background: #E8F4FD;
  border-left: 4px solid #3498DB;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

/* ============================================
   SUBMIT BUTTON STYLING
   ============================================ */

/* Submit buttons - match site style */
#bbpress-forums button[type="submit"],
#bbpress-forums input[type="submit"],
#bbpress-forums .button {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  padding: 0.875rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 500;
  border: none !important;
  border-radius: 0.5rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(44, 90, 160, 0.2);
}

#bbpress-forums button[type="submit"]:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums .button:hover {
  background: #1A3A5C !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(44, 90, 160, 0.3);
}

/* ============================================
   FORUM SUBPAGES - MATCH MAIN FORUM STYLE
   ============================================ */

/* Topic list page - individual topics as cards */
#bbpress-forums ul.bbp-topics {
  background: transparent !important;
  padding: 0 !important;
}

#bbpress-forums li.bbp-body ul.topic {
  background: #FFFFFF !important;
  border: 1px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  list-style: none !important;
}

#bbpress-forums li.bbp-body ul.topic:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Single topic page - main content card */
#bbpress-forums div.bbp-template-notice {
  background: #E8F4FD !important;
  border-left: 4px solid #3498DB !important;
  padding: 1rem 1.5rem !important;
  border-radius: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

/* Topic/Reply content wrapper */
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
  background: #FAFBFC !important;
  border-left: 4px solid #2C5AA0 !important;
  padding: 1.5rem !important;
  border-radius: 0.5rem !important;
  margin: 1rem 0 !important;
  line-height: 1.625 !important;
}

/* Individual reply/post - card style */
#bbpress-forums div.bbp-reply,
#bbpress-forums div.bbp-topic {
  background: #FFFFFF !important;
  border: 1px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  overflow: hidden !important;
}

/* Reply header (author info) - card header style */
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header {
  background: #E8F0F8 !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 1px solid #E0E6ED !important;
  margin: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Reply body - content area */
#bbpress-forums .bbp-reply-content,
#bbpress-forums .bbp-topic-content {
  padding: 1.5rem !important;
  background: #FFFFFF !important;
  border-left: none !important;
  margin: 0 !important;
}

/* Reply footer (reply/quote/edit links) */
#bbpress-forums .bbp-reply-footer,
#bbpress-forums .bbp-topic-footer {
  background: #F5F1E8 !important;
  padding: 0.75rem 1.5rem !important;
  border-top: 1px solid #E0E6ED !important;
  margin: 0 !important;
}

/* ============================================
   CREATE NEW TOPIC FORM - CARD STYLE
   ============================================ */

/* New topic form wrapper */
#bbpress-forums #new-post {
  background: #FFFFFF !important;
  border: 2px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 0 !important;
  margin: 2rem 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

/* Form title/legend - card header */
#bbpress-forums fieldset.bbp-form legend {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  padding: 1rem 1.5rem !important;
  margin: 0 !important;
  width: 100% !important;
  border-radius: 0 !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
}

/* Form body */
#bbpress-forums fieldset.bbp-form {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 2rem !important;
  margin: 0 !important;
}

/* Form fields wrapper */
#bbpress-forums fieldset.bbp-form > div {
  margin-bottom: 1.5rem !important;
}

/* Text inputs in form */
#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form textarea {
  width: 100% !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 1rem !important;
  border: 2px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  background: #FFFFFF !important;
  transition: all 0.3s ease !important;
}

#bbpress-forums fieldset.bbp-form input[type="text"]:focus,
#bbpress-forums fieldset.bbp-form textarea:focus {
  border-color: #2C5AA0 !important;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1) !important;
  outline: none !important;
}

/* Topic editor (main text area) */
#bbpress-forums #bbp_topic_content,
#bbpress-forums #bbp_reply_content {
  min-height: 200px !important;
  font-family: 'Inter', sans-serif !important;
  line-height: 1.625 !important;
}

/* ============================================
   TOPIC TAGS & META INFO
   ============================================ */

/* Topic tags */
#bbpress-forums .bbp-topic-tags {
  background: #F5F1E8 !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  color: #5A6C7D !important;
  margin-top: 1rem !important;
}

/* Tag links */
#bbpress-forums .bbp-topic-tags a {
  background: #D4AF37 !important;
  color: #1A3A5C !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-size: 0.8125rem !important;
  display: inline-block !important;
  margin-right: 0.5rem !important;
  transition: all 0.3s ease !important;
}

#bbpress-forums .bbp-topic-tags a:hover {
  background: #C19B2A !important;
  color: #FFFFFF !important;
}

/* ============================================
   AUTHOR/USER INFO SIDEBAR
   ============================================ */

/* Author info box */
#bbpress-forums .bbp-author-info {
  background: #F5F1E8 !important;
  padding: 1rem !important;
  border-radius: 0.5rem !important;
  margin-bottom: 1rem !important;
}

/* Author avatar */
#bbpress-forums .bbp-author-avatar img {
  border-radius: 50% !important;
  border: 3px solid #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Author name */
#bbpress-forums .bbp-author-name {
  font-weight: 600 !important;
  color: #2C5AA0 !important;
  font-size: 1rem !important;
}

/* Author role */
#bbpress-forums .bbp-author-role {
  background: #E8F0F8 !important;
  color: #2C5AA0 !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 9999px !important;
  font-size: 0.75rem !important;
  display: inline-block !important;
  margin-top: 0.5rem !important;
  font-weight: 500 !important;
}

/* ============================================
   SUBSCRIPTION/FAVORITE NOTICES
   ============================================ */

/* Subscription notice - yellow/warning style */
#bbpress-forums .bbp-template-notice.info {
  background: #FEF3E6 !important;
  border-left: 4px solid #F39C12 !important;
  color: #A86A0A !important;
}

/* Success notice - green */
#bbpress-forums .bbp-template-notice.success {
  background: #E8F8F0 !important;
  border-left: 4px solid #27AE60 !important;
  color: #1A7A43 !important;
}

/* ============================================
   BREADCRUMB STYLING
   ============================================ */

/* Breadcrumb - beige card style (matches main forum) */
#bbpress-forums .bbp-breadcrumb-wrapper {
  background: #F5F1E8 !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem !important;
  margin-bottom: 1.5rem !important;
}

#bbpress-forums .bbp-breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  color: #5A6C7D !important;
}

/* ============================================
   TOOLBAR (FORMATTING BUTTONS)
   ============================================ */

/* Editor toolbar */
#bbpress-forums .quicktags-toolbar {
  background: #E8F0F8 !important;
  padding: 0.75rem !important;
  border-radius: 0.5rem !important;
  margin-bottom: 1rem !important;
  border: 1px solid #E0E6ED !important;
}

/* Toolbar buttons */
#bbpress-forums .quicktags-toolbar input {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  margin-right: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  transition: all 0.3s ease !important;
}

#bbpress-forums .quicktags-toolbar input:hover {
  background: #1A3A5C !important;
  transform: translateY(-1px) !important;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  
  /* Reduce padding on cards */
  #bbpress-forums div.bbp-reply,
  #bbpress-forums div.bbp-topic {
    margin-bottom: 1rem !important;
  }
  
  #bbpress-forums .bbp-reply-content,
  #bbpress-forums .bbp-topic-content {
    padding: 1rem !important;
  }
  
  #bbpress-forums .bbp-reply-header,
  #bbpress-forums .bbp-topic-header {
    padding: 0.875rem 1rem !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  #bbpress-forums fieldset.bbp-form {
    padding: 1.25rem !important;
  }
  
  #bbpress-forums fieldset.bbp-form legend {
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
  }
  
  /* Stack toolbar buttons */
  #bbpress-forums .quicktags-toolbar input {
    font-size: 0.75rem !important;
    padding: 0.375rem 0.75rem !important;
  }
}

/* ============================================
   ENSURE CARDS DON'T BREAK LAYOUT
   ============================================ */

/* Prevent overflow */
#bbpress-forums * {
  box-sizing: border-box !important;
}

/* Clear floats */
#bbpress-forums::after,
#bbpress-forums .bbp-reply::after,
#bbpress-forums .bbp-topic::after {
  content: "";
  display: table;
  clear: both;
}

/* ============================================
   PAGINATION - MATCH CARD STYLE
   ============================================ */

/* Pagination at bottom of topic list */
#bbpress-forums .bbp-pagination {
  background: #FFFFFF !important;
  border: 2px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 1.25rem 1.5rem !important;
  margin: 2rem 0 !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

#bbpress-forums .bbp-pagination-count {
  color: #5A6C7D !important;
  font-size: 0.875rem !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

/* Pagination links */
#bbpress-forums .bbp-pagination-links {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current,
#bbpress-forums .bbp-pagination-links span.dots {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0.5rem 0.875rem !important;
  border-radius: 0.375rem !important;
  background: #E8F0F8 !important;
  color: #2C5AA0 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.9375rem !important;
  transition: all 0.3s ease !important;
}

#bbpress-forums .bbp-pagination-links a:hover {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2) !important;
}

#bbpress-forums .bbp-pagination-links span.current {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

#bbpress-forums .bbp-pagination-links span.dots {
  background: transparent !important;
  color: #95A5A6 !important;
}

/* ============================================
   SUBSCRIBE BUTTON - MATCH STYLE
   ============================================ */

/* Subscribe/Unsubscribe link */
#bbpress-forums .subscription-toggle a,
#bbpress-forums .favorite-toggle a {
  background: #E8F0F8 !important;
  color: #2C5AA0 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  display: inline-block !important;
  transition: all 0.3s ease !important;
  border: 2px solid #E0E6ED !important;
}

#bbpress-forums .subscription-toggle a:hover,
#bbpress-forums .favorite-toggle a:hover {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  border-color: #2C5AA0 !important;
  transform: translateY(-2px) !important;
}

/* ============================================
   BBPRESS - CARD WRAPPER FOR SUBPAGES
   ============================================ */

/* Single topic/reply page wrapper */
.single-topic #bbpress-forums,
.single-reply #bbpress-forums,
.single-forum #bbpress-forums {
  background: #FFFFFF !important;
  border-radius: 0.5rem !important;
  padding: 2rem !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 2rem !important;
}

/* Individual topic in topic list */
.bbp-topics li.bbp-body > ul.topic,
.bbp-topics li.bbp-body ul.topic {
  background: #FFFFFF !important;
  border: 1px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

/* Individual reply/post card */
div.bbp-reply-wrapper,
div#bbp-topic-wrapper {
  background: #FFFFFF !important;
  border: 1px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  overflow: hidden !important;
}

/* Reply header */
div.bbp-reply-header,
div.bbp-topic-header {
  background: #E8F0F8 !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 1px solid #E0E6ED !important;
}

/* Reply content */
div.bbp-reply-content,
div.bbp-topic-content {
  padding: 1.5rem !important;
  background: #FFFFFF !important;
}

/* Reply footer */
div.bbp-reply-footer {
  background: #F5F1E8 !important;
  padding: 0.75rem 1.5rem !important;
  border-top: 1px solid #E0E6ED !important;
}

/* New topic form - card style */
#bbpress-forums #new-post {
  background: #FFFFFF !important;
  border: 2px solid #E0E6ED !important;
  border-radius: 0.5rem !important;
  padding: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden !important;
}

#bbpress-forums fieldset.bbp-form legend {
  background: #2C5AA0 !important;
  color: #FFFFFF !important;
  padding: 1rem 1.5rem !important;
  width: 100% !important;
  margin: 0 !important;
}

#bbpress-forums fieldset.bbp-form {
  padding: 2rem !important;
  background: #FFFFFF !important;
  border: none !important;
}

/* Fix: Add top padding to "Create New Topic" form header */
#bbpress-forums fieldset.bbp-form legend {
  padding: 1rem 1.5rem !important; /* This adds padding all around including top */
  margin-top: 0 !important; /* Remove any negative margin */
}

/* Ensure the form wrapper has spacing above it */
#bbpress-forums #new-post {
  margin-top: 2rem !important;
}

/* If there's still no top padding, force it */
#bbpress-forums fieldset.bbp-form legend {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Force top padding on legend */
#bbpress-forums legend {
  padding: 1.25rem 1.5rem !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure parent fieldset doesn't have negative margin */
#bbpress-forums fieldset.bbp-form {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Force RSS News page centering */
.page-template-template-ofw-news .site-content,
.page-template-template-ofw-news .ast-container,
.page-template-template-ofw-news .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

.page-template-template-ofw-news {
    background: #F5F1E8 !important;
}

/* ============================================
   PAID MEMBERSHIPS PRO - OFW EUROPE STYLING
   FORCED CENTERING VERSION
   ============================================ */

/* ==========================================
   FORCE CENTER ALL PMPRO PAGES
   ========================================== */

/* Override any theme containers */
.pmpro_page #content,
.pmpro_page .site-content,
.pmpro_page .ast-container,
.pmpro_page .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Create centered wrapper for all PMPro content */
#pmpro_levels_table,
#pmpro_levels,
#pmpro_form,
.pmpro_checkout,
#pmpro_account,
.pmpro_account,
div.pmpro_level,
.entry-content > div[id*="pmpro"] {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 3rem 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Force body padding removal on PMPro pages */
body.pmpro_page .site-content {
    padding: 0 !important;
}

/* ==========================================
   1. MEMBERSHIP LEVELS PAGE - CARD LAYOUT
   ========================================== */

/* Individual level cards */
.pmpro_level,
table.pmpro_checkout tr,
.entry-content .pmpro_level {
    background: #FFFFFF !important;
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #E0E6ED !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pmpro_level:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px) !important;
    border-color: #2C5AA0 !important;
}

/* Hide default table styling */
#pmpro_levels_table table,
#pmpro_levels table {
    border: none !important;
    width: 100% !important;
}

#pmpro_levels_table tr,
#pmpro_levels tr {
    display: block !important;
    background: #FFFFFF !important;
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 2px solid #E0E6ED !important;
}

#pmpro_levels_table td,
#pmpro_levels td {
    display: block !important;
    border: none !important;
    padding: 0.5rem 0 !important;
}

/* Level name/title */
.pmpro_level h2,
.pmpro_level-name,
td.pmpro_level-name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    color: #2C5AA0 !important;
    margin: 0 0 1rem 0 !important;
}

/* Price */
.pmpro_level-price,
td.pmpro_level-price {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #D4AF37 !important;
    margin: 1rem 0 !important;
    display: block !important;
}

/* Description */
.pmpro_level-description,
.pmpro_level p,
td.pmpro_level-description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.625 !important;
    color: #2C3E50 !important;
    margin-bottom: 1.5rem !important;
}

/* Select button */
.pmpro_btn,
.pmpro_level a.pmpro_btn,
a.pmpro_btn-select,
td.pmpro_level-select a {
    background: #2C5AA0 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 0.875rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-align: center !important;
}

.pmpro_btn:hover,
td.pmpro_level-select a:hover {
    background: #1A3A5C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3) !important;
}

/* Current level styling */
tr.pmpro_level-current,
.pmpro_level.pmpro_level-current {
    background: #E8F8F0 !important;
    border-color: #27AE60 !important;
    position: relative !important;
}

/* ==========================================
   2. CHECKOUT PAGE
   ========================================== */

/* Checkout form wrapper */
form#pmpro_form {
    max-width: 800px !important;
    margin: 2rem auto !important;
    background: #FFFFFF !important;
    border-radius: 0.5rem !important;
    padding: 2.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* Section headers */
#pmpro_form h3,
.pmpro_checkout h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2C5AA0 !important;
    margin: 2rem 0 1rem 0 !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 2px solid #E0E6ED !important;
}

#pmpro_form h3:first-of-type {
    margin-top: 0 !important;
}

/* Form labels */
#pmpro_form label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #2C3E50 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Form inputs */
#pmpro_form input[type="text"],
#pmpro_form input[type="email"],
#pmpro_form input[type="password"],
#pmpro_form input[type="tel"],
#pmpro_form select {
    width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #2C3E50 !important;
    background: #FFFFFF !important;
    border: 2px solid #E0E6ED !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

#pmpro_form input:focus,
#pmpro_form select:focus {
    border-color: #2C5AA0 !important;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1) !important;
    outline: none !important;
}

/* Checkboxes */
#pmpro_form input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 0.75rem !important;
    cursor: pointer !important;
}

/* Payment info section */
#pmpro_payment_information_fields {
    background: #F5F1E8 !important;
    padding: 1.5rem !important;
    border-radius: 0.5rem !important;
    margin: 1.5rem 0 !important;
}

/* Submit button */
#pmpro_form .pmpro_btn-submit,
.pmpro_btn-submit-checkout {
    background: #2C5AA0 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    padding: 1rem 3rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
}

#pmpro_form .pmpro_btn-submit:hover {
    background: #1A3A5C !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(44, 90, 160, 0.3) !important;
}

/* ==========================================
   3. ACCOUNT PAGE
   ========================================== */

/* Account sections */
#pmpro_account .pmpro_box {
    background: #FFFFFF !important;
    border-radius: 0.5rem !important;
    padding: 2rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #E0E6ED !important;
}

#pmpro_account h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2C5AA0 !important;
    margin: 0 0 1rem 0 !important;
}

#pmpro_account p,
#pmpro_account ul {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    line-height: 1.625 !important;
    color: #2C3E50 !important;
}

/* Tables */
#pmpro_account table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1rem 0 !important;
}

#pmpro_account table th {
    background: #E8F0F8 !important;
    color: #2C5AA0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 0.875rem !important;
    text-align: left !important;
    border-bottom: 2px solid #2C5AA0 !important;
}

#pmpro_account table td {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9375rem !important;
    padding: 0.875rem !important;
    border-bottom: 1px solid #E0E6ED !important;
}

/* ==========================================
   4. MESSAGES
   ========================================== */

.pmpro_message,
.pmpro_success {
    background: #E8F8F0 !important;
    border-left: 4px solid #27AE60 !important;
    color: #1A7A43 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.pmpro_error {
    background: #FDECEA !important;
    border-left: 4px solid #E74C3C !important;
    color: #B03428 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================
   5. MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    #pmpro_levels_table,
    #pmpro_levels,
    #pmpro_form,
    #pmpro_account {
        padding: 2rem 1rem !important;
    }
    
    form#pmpro_form {
        padding: 1.5rem !important;
    }
    
    .pmpro_level,
    #pmpro_levels_table tr {
        padding: 1.5rem !important;
    }
    
    .pmpro_level h2,
    .pmpro_level-name {
        font-size: 1.5rem !important;
    }
    
    .pmpro_level-price {
        font-size: 2rem !important;
    }
}

