@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #14533c;
    --primary-hover: #0e3d2c;
    --primary-light: #e8f2ee;
    --primary-green: #14533c;
    --dark-green: #0e3d2c;
    --light-green: #e8f2ee;
    --accent: #d14928;
    --accent-hover: #b43b1e;
    --background: #f7f6f2;
    --white: #ffffff;
    --surface-subtle: #f1efe9;
    --footer-bg: #14241e;
    --footer-border: rgba(255, 255, 255, 0.12);
    --text-main: #18181b;
    --text-strong: #09090b;
    --text-secondary: #52525b;
    --text-muted: #71717a;
    --border-color: #e5e3dc;
    --border-strong: #d4d1c7;
    --track-bg: #e7e5de;

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05);
    --shadow-md: 0 6px 18px rgba(24, 24, 27, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.18;
    color: var(--text-main);
    letter-spacing: -0.025em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.mono {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
    font-variant-numeric: tabular-nums;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--text-strong);
    line-height: 1;
}

.logo-link:hover {
    color: var(--text-strong);
}

.logo-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--text-strong);
}

.nav-center-search {
    flex: 1;
    max-width: 300px;
}

.nav-search-form {
    display: flex;
    align-items: center;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    height: 38px;
    padding: 0 12px;
    transition: border-color 0.16s ease, background-color 0.16s ease;
}

.nav-search-form:focus-within {
    background-color: var(--white);
    border-color: var(--primary);
}

.nav-search-form svg {
    width: 15px;
    height: 15px;
    color: var(--text-muted);
    margin-right: 8px;
    flex-shrink: 0;
}

.nav-search-form input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
}

.nav-search-form input::placeholder {
    color: var(--text-muted);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-signin-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-signin-link:hover {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
    border: 1px solid transparent;
    font-size: 0.94rem;
    text-decoration: none;
    line-height: 1.25;
}

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

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

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-main);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    color: var(--text-strong);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border-strong);
}

.btn-outline:hover {
    border-color: var(--text-main);
    color: var(--text-strong);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 13px 26px;
    font-size: 1rem;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.editorial-hero {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text-strong);
    margin-bottom: 20px;
}

.hero-copy p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 440px;
}

.hero-action-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.hero-text-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    border-bottom: 1.5px solid var(--border-strong);
    padding-bottom: 2px;
}

.hero-text-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.hero-mosaic {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 196px 196px;
    gap: 12px;
}

.mosaic-main {
    grid-row: 1 / 3;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--surface-subtle);
    display: block;
}

.mosaic-sub {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--surface-subtle);
    display: block;
}

.mosaic-main img,
.mosaic-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mosaic-main:hover img,
.mosaic-sub:hover img {
    transform: scale(1.03);
}

.mosaic-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 18px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 18, 15, 0.86) 100%);
    color: var(--white);
}

.mosaic-caption-meta {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.mosaic-caption-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
}

.category-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.category-tabs {
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    position: relative;
    padding: 16px 0;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.category-tab:hover {
    color: var(--text-strong);
}

.category-tab.active {
    color: var(--primary);
    font-weight: 700;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5px;
    background-color: var(--primary);
}

.editorial-section {
    padding: 52px 0;
}

.section-head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.section-head-row h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-strong);
}

.section-head-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.featured-editorial-grid {
    display: grid;
    grid-template-columns: 7.5fr 4.5fr;
    gap: 32px;
    align-items: stretch;
}

.lead-story-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-story-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.lead-story-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--surface-subtle);
    overflow: hidden;
}

.lead-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lead-story-card:hover .lead-story-media img {
    transform: scale(1.025);
}

.lead-story-body {
    padding: 24px 28px 28px;
}

.kicker-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kicker-cat {
    color: var(--primary);
    font-weight: 600;
}

.lead-story-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-strong);
    margin-bottom: 10px;
}

.lead-story-excerpt {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.sleek-progress {
    width: 100%;
    height: 6px;
    background-color: var(--track-bg);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.sleek-progress-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
}

.funding-figures {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.92rem;
}

.funding-raised {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--text-strong);
}

.funding-goal {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-left: 4px;
}

.funding-pct {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
}

.momentum-column {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}

.momentum-heading {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4px;
}

.momentum-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    color: inherit;
    align-items: flex-start;
}

.momentum-item:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.momentum-item:hover .momentum-title {
    color: var(--primary);
}

.momentum-thumb {
    width: 86px;
    height: 86px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--surface-subtle);
}

.momentum-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.momentum-info {
    flex: 1;
    min-width: 0;
}

.momentum-cat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.momentum-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-strong);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.16s ease;
}

.momentum-info .sleek-progress {
    height: 4px;
    margin-bottom: 7px;
}

.momentum-stats {
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.momentum-stats strong {
    color: var(--text-strong);
    font-weight: 600;
}

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

.campaign-article {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.campaign-article-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.campaign-article-link:hover {
    color: inherit;
}

.campaign-article:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.campaign-article-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--surface-subtle);
    overflow: hidden;
}

.campaign-article-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.campaign-article:hover .campaign-article-media img {
    transform: scale(1.03);
}

.campaign-article-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.campaign-article-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.32;
    color: var(--text-strong);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-article-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-article-foot {
    margin-top: auto;
}

.process-ledger {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 56px 0;
}

.ledger-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.ledger-header h2 {
    font-size: 1.75rem;
    max-width: 520px;
}

.ledger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-color);
}

.ledger-item {
    padding: 28px 28px 12px 0;
    border-right: 1px solid var(--border-color);
}

.ledger-item:not(:first-child) {
    padding-left: 28px;
}

.ledger-item:last-child {
    border-right: none;
    padding-right: 0;
}

.ledger-num {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.ledger-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-strong);
}

.ledger-item p {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.site-footer {
    background-color: var(--footer-bg);
    color: #f3f2ed;
    padding: 56px 0 36px;
}

.footer-top-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--footer-border);
    flex-wrap: wrap;
}

.footer-mission {
    max-width: 460px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-brand-link:hover {
    color: var(--white);
}

.footer-mission p {
    color: rgba(243, 242, 237, 0.72);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--white);
    font-size: 0.94rem;
    font-weight: 600;
}

.footer-ghost-btn:hover {
    border-color: var(--white);
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.06);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--footer-border);
}

.footer-heading {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(243, 242, 237, 0.55);
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(243, 242, 237, 0.88);
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.86rem;
    color: rgba(243, 242, 237, 0.6);
}

.footer-bottom p {
    margin: 0;
    color: rgba(243, 242, 237, 0.6);
}

.footer-legal-inline {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal-inline a {
    color: rgba(243, 242, 237, 0.68);
}

.footer-legal-inline a:hover {
    color: var(--white);
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: var(--track-bg);
    border-radius: var(--radius-full);
    margin: 12px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
}

.campaign-raised {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    color: var(--text-strong);
    font-size: 1.25rem;
}

.campaign-goal {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-verified {
    background-color: var(--primary-light);
    color: var(--primary);
}

.badge-active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.82rem;
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.98rem;
    background-color: var(--white);
    color: var(--text-main);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 20px; }
.mt-8 { margin-top: 36px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 20px; }
.mb-8 { margin-bottom: 36px; }
.pt-8 { padding-top: 32px; }
.pb-8 { padding-bottom: 32px; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.link-primary { color: var(--primary); text-decoration: underline; font-weight: 600; }
.link-primary:hover { color: var(--primary-hover); }

.search-page-wrapper {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 0 48px;
}

.search-input-container {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0 16px;
    height: 48px;
}

.search-input-container:focus-within {
    border-color: var(--primary);
}

.search-input-container .search-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    margin-right: 12px;
}

.search-input-container .search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.98rem;
    color: var(--text-main);
    outline: none;
}

.search-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

.search-filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--text-main);
    color: var(--text-strong);
}

.filter-pill.active {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
}

.search-section-title {
    font-size: 1.55rem;
    font-weight: 700;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-result-item {
    display: flex;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    color: inherit;
    align-items: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-result-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.result-image-wrapper {
    width: 136px;
    height: 92px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--surface-subtle);
}

.result-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-details {
    flex: 1;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--text-strong);
}

.result-organizer {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.small-progress {
    height: 6px;
    background-color: var(--track-bg);
    border-radius: var(--radius-full);
}

.result-raised {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-strong);
    margin-bottom: 0;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}

.dashboard-sidebar {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    position: sticky;
    top: 96px;
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 18px;
    padding-left: 12px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
}

.sidebar-link:hover {
    background-color: var(--background);
    color: var(--text-strong);
}

.sidebar-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sidebar-link svg {
    width: 18px;
    height: 18px;
}

.dashboard-main {
    min-width: 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-header h2 {
    font-size: 1.75rem;
}

.fundraiser-card {
    display: flex;
    gap: 22px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.fc-image {
    width: 220px;
    flex-shrink: 0;
}

.fc-image img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.fc-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.fc-title {
    font-size: 1.15rem;
}

.fc-stats {
    margin-bottom: 16px;
}

.fc-stats-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.fc-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.table-container {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dashboard-table th {
    background-color: var(--background);
    padding: 13px 18px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

.hub-header {
    text-align: center;
    padding: 52px 20px 40px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.hub-title {
    font-size: 2.25rem;
    margin-bottom: 14px;
}

.hub-search-container {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

.hub-search-input {
    width: 100%;
    padding: 13px 18px 13px 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    font-size: 0.98rem;
    background: var(--white);
}

.hub-search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.hub-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 36px;
    margin-bottom: 48px;
}

.topic-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    gap: 14px;
    color: var(--text-main);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.topic-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    color: var(--text-main);
}

.topic-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.topic-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.mobile-only {
    display: none !important;
}

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

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: var(--white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 68px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    gap: 18px;
}

.mobile-menu-nav a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.mobile-menu-nav hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 4px 0;
}

.mobile-icon-btn {
    background: none;
    border: none;
    color: var(--text-main);
    padding: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .featured-editorial-grid {
        grid-template-columns: 1fr;
    }
    .campaigns-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ledger-grid {
        grid-template-columns: 1fr;
    }
    .ledger-item,
    .ledger-item:not(:first-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px 0;
    }
    .ledger-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: inline-flex !important;
    }
    .nav-shell {
        height: 64px;
        padding: 0 16px;
    }
    .hero-copy h1 {
        font-size: 2.2rem;
    }
    .hero-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: 240px;
    }
    .mosaic-sub {
        display: none;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    .dashboard-sidebar {
        position: static;
    }
    .fundraiser-card {
        flex-direction: column;
    }
    .fc-image {
        width: 100%;
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 66px;
    }
    .campaigns-grid-3 {
        grid-template-columns: 1fr;
    }
    .mobile-nav-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background-color: var(--white);
        border-top: 1px solid var(--border-color);
        z-index: 190;
    }
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--text-secondary);
        font-size: 0.74rem;
        font-weight: 600;
    }
    .mobile-nav-item-primary {
        color: var(--primary);
    }
    .mobile-nav-icon-circle {
        width: 32px;
        height: 32px;
        border-radius: var(--radius-sm);
        background-color: var(--primary);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
