/* ============================================================
   Chessed For Everyone — Main Stylesheet
   Warm orange theme — refined & modern
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --orange:        #E8621A;
    --orange-dark:   #C44E0E;
    --orange-light:  #FDF0E8;
    --orange-mid:    #F9C49A;
    --gold:          #F0A500;
    --text:          #1C1410;
    --text-muted:    #6B5C52;
    --bg:            #FFFBF7;
    --white:         #FFFFFF;
    --border:        #EDD9C8;
    --danger:        #D32F2F;
    --success:       #2E7D32;
    --warning:       #E65100;
    --radius:        10px;
    --radius-lg:     18px;
    --shadow:        0 2px 16px rgba(232,98,26,0.10);
    --shadow-hover:  0 8px 32px rgba(232,98,26,0.18);
    --header-h:      72px;
    --font-display:  'Playfair Display', Georgia, serif;
    --font-body:     'DM Sans', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--orange);
    min-height: var(--header-h);
    height: auto;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(232,98,26,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    padding: 10px 0;
    gap: 16px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.site-logo img {
    height: 44px;
    width: auto;
}
.site-logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1.2;
}
.site-logo-text span { color: var(--text); }
.header-logo-img {
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--text);
    transition: all .2s;
}
.site-nav a:hover { background: var(--orange-light); color: var(--orange); text-decoration: none; }
.site-nav .btn-nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
}
.site-nav .btn-nav-cta:hover { background: var(--orange-dark); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 6px;
    background: transparent;
    min-width: 200px;
    z-index: 300;
}
.nav-dropdown-menu-inner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: .9rem;
    color: var(--text);
    border-radius: 0;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--orange-light); color: var(--orange); text-decoration: none; }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 2px solid var(--orange);
        box-shadow: var(--shadow);
        gap: 4px;
    }
    .site-nav.open { display: flex; }
    .site-nav a { width: 100%; }
}

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: var(--white);
    overflow: hidden;
}
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: unset;
    }
    /* Tagline panel first, video second on mobile */
    .hero-right { order: 1; min-height: 280px; padding: 36px 24px; }
    .hero-left  { order: 2; min-height: 260px; }
    .hero-left video,
    .hero-left iframe { position: relative !important; inset: unset !important; width: 100% !important; height: 100% !important; min-height: 260px; }
}

/* Left — video */
.hero-left {
    position: relative;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 300px;
}
.hero-left video,
.hero-left iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.hero-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,.7);
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #1C1410 0%, #3D2010 100%);
}
.hero-video-placeholder .play-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(232,98,26,.25);
    border: 2px solid rgba(232,98,26,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--orange);
}
.hero-video-placeholder p { font-size: .95rem; }

/* Right — tagline panel */
.hero-right {
    background: linear-gradient(145deg, var(--orange) 0%, var(--orange-dark) 60%, #8B3010 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 56px 52px;
    position: relative;
    overflow: hidden;
}
.hero-right::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}
.hero-right::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.hero-logo-area {
    margin-bottom: 24px;
}
.hero-logo-area img {
    max-height: 64px;
    opacity: .95;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}
.hero-cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.btn-hero-primary {
    background: var(--white);
    color: var(--orange-dark) !important;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1rem;
    transition: all .25s;
    text-decoration: none !important;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-hero-secondary {
    background: transparent;
    color: var(--white) !important;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.6);
    transition: all .25s;
    text-decoration: none !important;
    display: inline-block;
}
.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
}
.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--white); text-decoration: none; }
.btn-outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); text-decoration: none; }
.btn-secondary {
    background: var(--text);
    color: var(--white);
    border-color: var(--text);
}
.btn-secondary:hover { background: #333; color: var(--white); text-decoration: none; }
.btn-sm   { padding: 6px 14px; font-size: .85rem; }
.btn-lg   { padding: 14px 30px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }
.btn-success { background: #2E7D32; color: #fff; border-color: #2E7D32; }
.btn-success:hover { background: #1B5E20; }
.btn-warning { background: #E65100; color: #fff; border-color: #E65100; }
.btn-danger  { background: #D32F2F; color: #fff; border-color: #D32F2F; }
.btn-danger:hover { background: #B71C1C; }

/* ============================================================
   OPPORTUNITY CARDS
   ============================================================ */
.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 52px; height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.opp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.opp-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}
.opp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.opp-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--orange-mid); }
.opp-card:hover::before { transform: scaleX(1); }

.opp-card-category {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 50px;
    width: fit-content;
}
.opp-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.opp-card-title a { color: var(--text); }
.opp-card-title a:hover { color: var(--orange); text-decoration: none; }
.opp-card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--text-muted); }
.opp-card-desc { font-size: .92rem; color: var(--text-muted); flex: 1; line-height: 1.55; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    margin: 48px auto;
    align-items: start;
}
@media (max-width: 900px) {
    .page-with-sidebar { grid-template-columns: 1fr; }
}
.main-column {}
.sidebar-column {}

.page-hero {
    background: linear-gradient(135deg, var(--orange-light) 0%, #FDE8D0 100%);
    border-bottom: 1px solid var(--border);
    padding: 44px 0 36px;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
}
.page-hero p { color: var(--text-muted); margin-top: 6px; font-size: 1.05rem; }

.breadcrumb { font-size: .9rem; margin-bottom: 10px; }
.breadcrumb a { color: var(--orange); }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: .9rem;
    color: var(--text);
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .95rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232,98,26,.12);
}
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23E8621A' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 180px; }
.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   ALERTS / FLASH
   ============================================================ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: .95rem;
    border-left: 4px solid;
}
.alert-success { background: #F0FDF4; color: #166534; border-color: #86EFAC; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: #FCA5A5; }
.alert-warning { background: #FFFBEB; color: #92400E; border-color: #FCD34D; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-color: #93C5FD; }

/* ============================================================
   CARDS / BOXES
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}
.card-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h2, .card-header h3 { font-family: var(--font-display); font-weight: 700; }

/* ============================================================
   TABLES
   ============================================================ */
.table-responsive { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}
.data-table th {
    background: var(--orange-light);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--orange-light); }
.data-table .btn { margin: 1px; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.status-pending   { background: #FFF8E1; color: #B8860B; }
.status-approved  { background: #F0FDF4; color: #166534; }
.status-declined  { background: #FEF2F2; color: #991B1B; }
.status-suspended { background: #F5F3FF; color: #5B21B6; }
.status-active    { background: #F0FDF4; color: #166534; }
.status-expired   { background: #FFF7ED; color: #9A3412; }
.status-deleted   { background: #FEF2F2; color: #991B1B; }
.status-inactive  { background: #F9FAFB; color: #6B7280; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-h));
    padding: 40px 16px;
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--bg) 60%);
}
.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: 0 8px 40px rgba(232,98,26,.1);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo img { max-height: 60px; margin: 0 auto 12px; }
.auth-logo h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }

/* ============================================================
   OPPORTUNITY DETAIL
   ============================================================ */
.opp-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    margin: 48px auto;
    align-items: start;
}
@media (max-width: 800px) { .opp-detail-layout { grid-template-columns: 1fr; } }
.opp-meta-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.badge-category { display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: .82rem; font-weight: 700; background: var(--orange-light); color: var(--orange-dark); }
.badge-org { display: inline-block; padding: 4px 14px; border-radius: 50px; font-size: .82rem; font-weight: 700; background: #EFF6FF; color: #1D4ED8; }
.opp-detail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 20px; }
.opp-detail-card h2, .opp-detail-card h3 { font-family: var(--font-display); margin-bottom: 14px; }
.opp-description { line-height: 1.8; color: var(--text); }
.opp-signup-card { background: var(--white); border: 2px solid var(--orange); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 90px; }
.opp-info-list { margin-bottom: 20px; }
.opp-info-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.opp-info-item:last-child { border-bottom: none; }
.opp-info-icon { font-size: 1.2rem; flex-shrink: 0; }
.opp-info-item div { display: flex; flex-direction: column; gap: 2px; }
.opp-info-item strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.opp-info-item span { font-weight: 600; color: var(--text); }

/* ============================================================
   DASHBOARD TABS
   ============================================================ */
.dashboard-layout { margin: 32px auto; }
.dashboard-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.dashboard-tabs a { padding: 10px 20px; font-weight: 600; color: var(--text-muted); text-decoration: none; border-radius: 8px 8px 0 0; border: 1px solid transparent; border-bottom: none; position: relative; bottom: -2px; transition: all .2s; }
.dashboard-tabs a.active { color: var(--orange); border-color: var(--border); background: var(--white); border-bottom-color: var(--white); }
.badge-count { display: inline-block; background: var(--danger); color: #fff; border-radius: 50px; padding: 1px 7px; font-size: .72rem; margin-left: 6px; vertical-align: middle; }
.stat-card.mini { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; font-size: .9rem; color: var(--text-muted); }
.stat-card.mini span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,.75);
    padding: 52px 0 24px;
    margin-top: 72px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .site-logo-text { color: var(--orange); }
.footer-brand p { margin-top: 12px; font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   BANNER ADS
   ============================================================ */
.banner-ad { margin: 20px 0; text-align: center; }
.banner-ad img { max-width: 100%; height: auto; border-radius: var(--radius); }
.banner-ad--sidebar img { border: 1px solid var(--border); }

/* ============================================================
   CMS CONTENT
   ============================================================ */
.cms-content { line-height: 1.8; }
.cms-content h1, .cms-content h2, .cms-content h3 { font-family: var(--font-display); margin: 1.2em 0 .5em; }
.cms-content p { margin: .8em 0; }
.cms-content ul, .cms-content ol { padding-left: 24px; margin: .8em 0; }
.cms-content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-muted   { color: var(--text-muted); }
.text-orange  { color: var(--orange); }
.small        { font-size: .85rem; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-2  { margin-bottom: 16px; }
.link-sm { font-size: .8rem; color: var(--orange); margin-left: 6px; }
.pagination { display: flex; gap: 4px; margin-top: 16px; flex-wrap: wrap; }
.pagination a { padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-size: .9rem; transition: all .2s; }
.pagination a.active, .pagination a:hover { background: var(--orange); color: #fff; border-color: var(--orange); text-decoration: none; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   NAV — WELCOME USER & DROPDOWN DIVIDER
   ============================================================ */
.nav-welcome {
    display: flex !important;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.welcome-label {
    font-weight: 400;
    font-size: .88rem;
    color: var(--text-muted);
}
.nav-welcome strong { color: var(--orange); }
.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* ============================================================
   FOOTER — REDESIGNED
   ============================================================ */
.site-footer {
    background: #1A0E08;
    color: rgba(255,255,255,.72);
    padding: 64px 0 0;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand-col {}
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-img {
    display: block;
    width: auto;
    object-fit: contain;
}
.footer-site-name {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 14px;
    text-decoration: none;
}
.footer-site-name:hover { color: var(--orange); text-decoration: none; }
.footer-desc {
    font-size: .92rem;
    line-height: 1.75;
    margin-bottom: 16px;
    color: rgba(255,255,255,.6);
    max-width: 320px;
}
.footer-contact-link {
    display: block;
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 6px;
    transition: color .2s;
}
.footer-contact-link:hover { color: var(--orange); text-decoration: none; }

.footer-links-col {}
.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: color .2s;
    text-decoration: none;
}
.footer-nav a:hover { color: var(--orange); text-decoration: none; }

.footer-bottom {
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--orange); text-decoration: none; }

/* ============================================================
   OPPORTUNITIES SEARCH PAGE
   ============================================================ */
.opp-search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin: 40px auto 72px;
    align-items: start;
}
@media (max-width: 860px) {
    .opp-search-layout { grid-template-columns: 1fr; }
    .opp-filter-sidebar { position: static !important; }
}

/* Filter sidebar */
.opp-filter-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}
.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.filter-sidebar-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.filter-clear-link { font-size: .8rem; color: var(--orange); font-weight: 600; }
.filter-clear-link:hover { text-decoration: underline; }
.filter-section { margin-bottom: 20px; }
.filter-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.filter-category-list { display: flex; flex-direction: column; gap: 2px; }
.filter-cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 500;
    transition: background .15s;
}
.filter-cat-item:hover { background: var(--orange-light); }
.filter-cat-item.active { background: var(--orange-light); color: var(--orange-dark); font-weight: 700; }
.filter-cat-item input[type=radio] { display: none; }

/* Results area */
.opp-results-area {}
.opp-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.results-count { font-size: .95rem; color: var(--text-muted); }
.results-count strong { color: var(--text); font-size: 1.1rem; }

/* Cards grid */
.opp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.opp-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all .22s;
    position: relative;
    overflow: hidden;
}
.opp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
    border-radius: 0;
}
.opp-card:hover { box-shadow: 0 6px 28px rgba(232,98,26,.13); transform: translateY(-2px); border-color: var(--orange-mid); }
.opp-card:hover::before { transform: scaleX(1); }
.opp-card--full { opacity: .75; }

.opp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.opp-card-category {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 9px;
    border-radius: 50px;
}
.opp-card-status { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 50px; }
.opp-status-full    { background: #FEF2F2; color: #991B1B; }
.opp-status-limited { background: #FFFBEB; color: #92400E; }

.opp-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.opp-card-title a { color: var(--text); }
.opp-card-title a:hover { color: var(--orange); text-decoration: none; }
.opp-card-desc { font-size: .87rem; color: var(--text-muted); line-height: 1.55; flex: 1; }

.opp-card-details { display: flex; flex-direction: column; gap: 5px; }
.opp-detail-item { display: flex; align-items: center; gap: 7px; font-size: .83rem; color: var(--text-muted); }
.opp-detail-icon { font-size: .95rem; flex-shrink: 0; }

.opp-card-footer { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); }

.opp-empty-state {
    text-align: center;
    padding: 72px 24px;
    color: var(--text-muted);
}
.opp-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.opp-empty-state h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); margin-bottom: 8px; }

/* ============================================================
   POST OPPORTUNITY PAGE
   ============================================================ */
.post-opp-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    margin: 48px auto 72px;
    align-items: start;
}
@media (max-width: 900px) {
    .post-opp-layout { grid-template-columns: 1fr; }
    .post-opp-sidebar { order: -1; }
}

.post-section {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
}
.post-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--orange-light);
}
.post-section-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.post-section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.post-section-sub   { font-size: .85rem; color: var(--text-muted); }
.post-section-body  { padding: 24px; }
.form-control-lg    { font-size: 1.02rem; padding: 12px 16px; }
.form-label-required::after { content: ' *'; color: var(--orange); }

/* Toggle switch for recurring */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 4px;
}
.toggle-label input[type=checkbox] { display: none; }
.toggle-track {
    width: 44px;
    height: 24px;
    border-radius: 50px;
    background: var(--border);
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.toggle-track::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .2s;
}
.toggle-label input:checked + .toggle-track { background: var(--orange); }
.toggle-label input:checked + .toggle-track::after { transform: translateX(20px); }

.recurrence-panel {
    background: var(--orange-light);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 14px;
    border: 1px solid var(--orange-mid);
}

.post-submit-bar {
    text-align: center;
    padding: 28px 24px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
}
.post-submit-note { margin-top: 10px; font-size: .85rem; color: var(--text-muted); }

.post-opp-sidebar {}
.post-tips-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.post-tips-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.post-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: .88rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.post-tips-list li { padding-left: 0; }
.post-tips-list strong { color: var(--text); }
