/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #4b5563;
    line-height: 1.6;
    background-color: #f9fafb;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Global Section Styles */
section {
    padding: 5rem 0;
}

.section-heading {
    margin-bottom: 3rem;
}

.sub-heading {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: #111827;
    line-height: 1.3;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-outline {
    background-color: transparent;
    border-color: #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: #fff;
}

/* Header & Navigation */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #2563eb;
}

/* Right-Aligned Header Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-link {
    font-weight: 500;
    color: #4b5563;
    transition: color 0.3s;
}

.login-link:hover {
    color: #2563eb;
}

.btn-register {
    padding: 0.5rem 1.25rem;
    border-color: #2563eb;
    color: #2563eb;
}

.btn-register:hover {
    background-color: #eff6ff;
}

.separator {
    color: #d1d5db;
    font-size: 1.2rem;
}

/* Language Switcher */
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.me-2 { margin-right: 0.5rem !important; }
.d-inline-block { display: inline-block !important; }

.language-selection { position: relative; }
.dropdown-container { position: relative; }
.dropdown-toggle {
    cursor: pointer;
    font-weight: 500;
    color: #4b5563;
}
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    padding: 0.5rem 0;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
    padding: 0.5rem 1rem;
    color: #374151;
    transition: background-color 0.2s;
}
.dropdown-item:hover { background-color: #f3f4f6; }

.user-menu .dropdown-toggle { gap: 0.55rem; padding: 0.35rem 0.6rem; border-radius: 999px; border: 1px solid #e5e7eb; }
.user-menu .dropdown-toggle:hover { background: #f9fafb; }
.user-menu-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #11402f;
    color: #faf6f0;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}
.user-menu-label {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}
.user-menu .dropdown-menu { min-width: 220px; }

/* Placeholder Graphics */
.placeholder-graphic {
    width: 100%;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-weight: bold;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-secondary {
    background-color: transparent;
    color: #111827;
}
.btn-secondary:hover { color: #2563eb; }

.icon-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.hero-image .placeholder-graphic { height: 450px; font-size: 1.5rem; }

/* Clients Section */
.clients-section {
    background-color: #1e3a8a;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.clients-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #bfdbfe;
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: center;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
}

/* Features Section */
.features-section { background-color: #f9fafb; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: #111827;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Why Choose Us & Overview Sections */
.choose-us-section, .overview-section { background-color: #ffffff; }

.choose-us-container, .overview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-list { margin-top: 2rem; }

.process-list li {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.process-icon {
    width: 50px;
    height: 50px;
    background-color: #eff6ff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.process-info h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.choose-us-image .placeholder-graphic, .overview-image .placeholder-graphic {
    height: 500px;
}

.mt-4 { margin-top: 1.5rem; }

/* Team Section */
.team-section { background-color: #f9fafb; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    text-align: center;
}

.team-image.placeholder-graphic {
    height: 300px;
    border-radius: 1rem 1rem 0 0;
    box-shadow: none;
}

.team-info { padding: 1.5rem; }
.team-info h4 { color: #111827; margin-bottom: 0.25rem; font-size: 1.2rem; }
.team-info span { color: #2563eb; font-size: 0.9rem; }

/* Pricing Section */
.pricing-section { background-color: #ffffff; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.pricing-card.active {
    background: #1e3a8a;
    color: #ffffff;
    transform: scale(1.05);
    border-color: #1e3a8a;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.pricing-card.active h4, .pricing-card.active h2, .pricing-card.active .pricing-features li {
    color: #ffffff;
}

.pricing-header h4 {
    color: #2563eb;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-card.active .pricing-header h4 { color: #bfdbfe; }

.pricing-header h2 {
    font-size: 3rem;
    color: #111827;
    margin-bottom: 2rem;
}

.pricing-header span {
    font-size: 1rem;
    color: #6b7280;
}
.pricing-card.active .pricing-header span { color: #9ca3af; }

.pricing-features {
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: #4b5563;
}

.pricing-features li.disabled { opacity: 0.5; }

/* FAQ Section */
.faq-section { background-color: #f9fafb; }
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.accordion-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.accordion-header {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    background-color: #f9fafb;
}

.accordion-body {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
    display: none;
}

.accordion-item.active .accordion-body { display: block; }

.faq-image .placeholder-graphic { height: 400px; }

/* Testimonials */
.testimonials-section { background-color: #1e3a8a; color: #ffffff; }
.testimonials-section .section-heading h2, .testimonials-section .sub-heading { color: #ffffff; }
.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-card p {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.testimonial-card h4 { color: #bfdbfe; }

/* Blog Section */
.blog-section { background-color: #ffffff; }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.blog-image.placeholder-graphic { height: 220px; border-radius: 1rem 1rem 0 0; box-shadow: none; }

.blog-content { padding: 1.5rem; }
.blog-date { color: #2563eb; font-size: 0.9rem; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.blog-content h4 { font-size: 1.25rem; color: #111827; margin-bottom: 1rem; line-height: 1.4; }
.read-more { color: #2563eb; font-weight: 600; }

/* Contact Section */
.contact-section { background-color: #f9fafb; }
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 { font-size: 2rem; color: #111827; margin-bottom: 1rem; }
.contact-details { margin-top: 2rem; }
.contact-details p { margin-bottom: 1rem; font-size: 1.1rem; }
.contact-details strong { color: #111827; }

.contact-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer Section */
.site-footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about h3 { color: #ffffff; font-size: 2rem; margin-bottom: 1rem; }
.footer-links h4, .footer-newsletter h4 { color: #ffffff; font-size: 1.2rem; margin-bottom: 1.5rem; }

.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: #ffffff; }

.newsletter-form { display: flex; margin-top: 1.5rem; }
.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem 0 0 0.375rem;
}
.newsletter-form button {
    border-radius: 0 0.375rem 0.375rem 0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

/* Mobile Hamburger */
.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #4b5563;
}

.mobile-hamburger svg {
    display: block;
}

.mobile-nav-overlay {
    display: none;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1001;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #4b5563;
}

.mobile-nav-close svg {
    display: block;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.mobile-nav-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-body ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.15s, color 0.15s;
}

.mobile-nav-body ul li a:hover,
.mobile-nav-body ul li a.active {
    background-color: #f1f5f9;
    color: #2563eb;
}

.mobile-nav-auth {
    padding: 0.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-auth a {
    display: block;
    padding: 0.6rem 0;
    font-weight: 500;
    color: #4b5563;
    font-size: 0.95rem;
}

.mobile-nav-auth a:hover {
    color: #2563eb;
}

.mobile-nav-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 15%;
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 0.9rem;
    font-family: inherit;
}

.mobile-lang-toggle:hover {
    color: #2563eb;
}

.mobile-lang-toggle .chevron {
    transition: transform 0.2s;
}

.mobile-nav-footer.open .mobile-lang-toggle .chevron {
    transform: rotate(180deg);
}

.mobile-lang-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    overflow: hidden;
}

.mobile-nav-footer.open .mobile-lang-list {
    display: block;
}

.mobile-lang-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #4b5563;
    font-size: 0.9rem;
    transition: background-color 0.15s;
}

.mobile-lang-list a:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .choose-us-container, .overview-container, .faq-container, .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-card.active { transform: none; }
}

@media (max-width: 980px) {
    .main-nav,
    .header-right {
        display: none;
    }

    .mobile-hamburger {
        display: block;
    }

    .mobile-nav-drawer {
        display: flex;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }

    .mobile-nav-overlay.open {
        display: block;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Campaign cards (Companisto-inspired). Used by the marketplace
 * grid + landing featured grid. Card is the entire <a>.
 * ============================================================ */

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.campaign-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.campaign-card:hover {
    box-shadow: 0 12px 24px -8px rgba(17, 64, 47, 0.18);
    transform: translateY(-2px);
}

.campaign-card__cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f3ede2;
    overflow: hidden;
}
.campaign-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.campaign-card__cover-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c2b9a8;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.4rem;
}

.campaign-card__logo {
    position: absolute;
    right: 14px;
    bottom: -18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.campaign-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.campaign-card__logo span {
    color: #11402f;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.4rem;
}

.campaign-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}
.campaign-badge--oversubscribed { background: #0d9488; }
.campaign-badge--funded         { background: #16a34a; }
.campaign-badge--closing-soon   { background: #d97706; }

.campaign-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.6rem 1.15rem 1.15rem;
    flex: 1;
}
.campaign-card__heading {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.campaign-card__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0;
    color: #11402f;
}
.campaign-card__location {
    margin: 0;
    color: #6b7280;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.campaign-card__description {
    margin: 0;
    color: #374151;
    font-size: 0.88rem;
    line-height: 1.5;
}
.campaign-card__supporters {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
}
.campaign-card__cta {
    display: block;
    margin-top: auto;
    padding: 0.6rem 1rem;
    text-align: center;
    background: #11402f;
    color: #faf6f0;
    border-radius: 0.4rem;
    font-size: 0.9rem;
}

/* Progress bar (used in cards + showcase sidebar) */
.campaign-progress {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.campaign-progress__label {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #11402f;
    font-weight: 600;
}
.campaign-progress__bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 999px;
    overflow: hidden;
}
.campaign-progress__fill {
    height: 100%;
    background: #11402f;
    border-radius: 999px;
    transition: width 0.6s ease-out;
}
.campaign-progress--funded .campaign-progress__label { color: #16a34a; }
.campaign-progress--funded .campaign-progress__fill  { background: #16a34a; }
.campaign-progress__amounts {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.campaign-progress__raised { color: #11402f; font-weight: 600; }
.campaign-progress__goal   { color: #6b7280; }

/* Showcase right sidebar */
.campaign-sidebar-wrap {
    align-self: start;
    position: sticky;
    top: 1rem;
}
.campaign-sidebar {
    background: #fff;
    border: 1px solid #e8e1d6;
    border-radius: 0.6rem;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.campaign-sidebar__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.campaign-sidebar__stat-label {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}
.campaign-sidebar__stat-value {
    margin: 0.15rem 0 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #11402f;
}
.campaign-sidebar__cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--country-accent, #0f172a);
    color: #fff;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.4rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.campaign-sidebar__cta:hover,
.campaign-sidebar__cta:focus-visible {
    color: #fff;
    filter: brightness(0.92);
    text-decoration: none;
    outline: none;
}

@media (max-width: 900px) {
    .campaign-sidebar-wrap {
        position: static;
    }
}

/* === Mobile nav drawer (billo-style) ====================================
   The default Bootstrap navbar-toggler + collapse is replaced below
   the `lg` breakpoint with a custom slide-from-left drawer. The
   hamburger toggles `.open` on the drawer and the dimming overlay;
   clicks on links inside the drawer auto-close. Above `lg` the
   hamburger is hidden and the original navbar layout takes over. */
.sano-mobile-hamburger {
    display: none;
    background: none;
    border: 0;
    padding: 0.25rem 0.4rem;
    cursor: pointer;
    color: #11402f;
    margin-left: auto;
}
.sano-mobile-hamburger svg { display: block; }

.sano-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1040;
}
.sano-mobile-overlay.open { display: block; }

.sano-mobile-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: min(320px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: 1050;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 4px 0 14px rgba(0, 0, 0, 0.12);
}
.sano-mobile-drawer.open { transform: translateX(0); }

.sano-mobile-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: none;
    border: 0;
    padding: 0.3rem;
    color: #6b6862;
    cursor: pointer;
}
.sano-mobile-body {
    padding: 3rem 1.25rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.sano-mobile-cta {
    display: block;
    text-align: center;
    background: #dc3545;
    color: #fff !important;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    margin-bottom: 0.3rem;
}
.sano-mobile-cta:hover { background: #c0303d; }
.sano-mobile-signin {
    display: block;
    text-align: center;
    padding: 0.55rem 1rem;
    color: #2a2a2a;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #e8e1d6;
    margin-bottom: 0.4rem;
}
.sano-mobile-signin:hover { color: #11402f; }
.sano-mobile-list { list-style: none; padding: 0; margin: 0; }
.sano-mobile-list li a {
    display: block;
    padding: 0.65rem 0.25rem;
    color: #2a2a2a;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #f1ede4;
}
.sano-mobile-list li a:hover,
.sano-mobile-list li a.active {
    color: #11402f;
}

@media (max-width: 991.98px) {
    .sano-mobile-hamburger { display: inline-flex; }
    .sano-mobile-drawer { display: flex; }
    /* Hide the original Bootstrap collapse on mobile — the drawer
       owns navigation below the breakpoint. */
    #sano-public-nav .navbar-collapse { display: none !important; }
}
body.sano-mobile-open { overflow: hidden; }

/* Mobile single-column layout: stack the sidebar (funding/CTA) on top,
   pitch (why support) next, packages (tiers) further below. The
   "about club" sidebar is intentionally hidden — it duplicates the
   header avatar/name and crowds the small viewport. */
@media (max-width: 699px) {
    .campaign-layout {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .campaign-layout .campaign-sidebar-wrap {
        order: -1;
    }
    .campaign-layout .campaign-pitch {
        order: 1;
    }
    .campaign-club-panel {
        display: none !important;
    }
}

.campaign-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (max-width: 900px) {
    .campaign-tiers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .campaign-tiers-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.col-club-about { width: 100%; padding-left: 20px; padding-right: 20px; }
.club-info-aside { display: none; }

@media (min-width: 1000px) {
    .club-stats-section {
        display: none;
    }
    .club-info-aside {
        display: block;
        flex: 0 0 auto;
        width: 20%;
    }
    .col-club-about {
        flex: 0 0 auto;
        width: 80%;
    }
}

/* Searchable single-select combobox (select-autocomplete Stimulus
   controller) — used for large option lists like sport / county. */
.select-autocomplete {
    position: relative;
}

.select-autocomplete__list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1050;
    margin: 0;
    padding: 0.25rem 0;
    list-style: none;
    max-height: 16rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.select-autocomplete__option {
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-autocomplete__option:hover,
.select-autocomplete__option--active {
    background: #f1f5f9;
}

.select-autocomplete__empty {
    padding: 0.4rem 0.85rem;
    color: #6c757d;
    font-size: 0.9rem;
}