/* Organization directory (archive-organization.php).
   Enqueued by artinfo_enqueue_page_styles() in inc/core/enqueue.php. */

/* --- Design System Variables --- */
:root {
    --brand-yellow: #FFC107;
    --brand-black: #121212;
    --text-gray: #666;
    --bg-light: #F8F9FA;
    --verified-blue: #1DA1F2;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    color: var(--brand-black);
}

/* --- Utilities --- */
.btn-brand {
    background-color: var(--brand-yellow); color: black; font-weight: 700; border: none;
    border-radius: 50px; padding: 8px 24px; transition: all 0.3s;
}
.btn-brand:hover { background-color: #ffcd39; transform: translateY(-2px); }

.btn-outline-brand {
    border: 1px solid #ddd; color: var(--brand-black); font-weight: 600;
    border-radius: 50px; padding: 6px 20px; background: white; transition: all 0.3s;
}
.btn-outline-brand:hover { border-color: var(--brand-black); background: var(--brand-black); color: white; }

/* --- Header --- */
.navbar { padding: 15px 0;  }
.nav-link { font-weight: 500; color: var(--brand-black); margin: 0 8px; }
.nav-link.active { color: var(--brand-yellow); font-weight: 700; }

/* --- Hero Section (Directory Style) --- */
.hero-directory { background-color: var(--bg-light); padding: 60px 0 40px; text-align: center; border-bottom: 1px solid #eee; }
.hero-title { font-weight: 800; letter-spacing: -1px; margin-bottom: 15px; }
.search-wrapper { max-width: 600px; margin: 0 auto; position: relative; }
.search-input { height: 55px; border-radius: 50px; padding-left: 50px; border: 1px solid #ddd; font-size: 1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.search-icon { position: absolute; left: 20px; top: 18px; color: #999; }
.search-btn { position: absolute; right: 6px; top: 6px; height: 43px; border-radius: 40px; padding: 0 25px; }

/* --- Filters Sidebar --- */
.sidebar-sticky { position: sticky; top: 100px; }
.accordion-item { border: none; background: transparent; margin-bottom: 15px; }
.accordion-button { background-color: white; border: 1px solid #eee; border-radius: 10px !important; font-weight: 600; box-shadow: none !important; }
.accordion-button:not(.collapsed) { background-color: #fffbf0; border-color: var(--brand-yellow); color: black; }
.accordion-body { background: white; border: 1px solid #eee; border-top: none; border-radius: 0 0 10px 10px; padding: 15px; }

/* --- Organization Card (The Core) --- */
.org-card {
    background: white; border: 1px solid #eee; border-radius: 16px; overflow: hidden;
    transition: all 0.3s ease; height: 100%; position: relative;
}
.org-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: #ddd; }

/* Cover Image */
.org-cover { height: 100px; background-color: #f0f0f0; position: relative; overflow: hidden; }
.org-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Active Opportunities Badge (Green Dot) */
.active-badge {
    position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.9);
    padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; color: #198754;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 5px;
}
.pulse-dot { width: 8px; height: 8px; background-color: #198754; border-radius: 50%; display: inline-block; }

/* Logo Avatar */
.org-avatar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px; height: 70px; border-radius: 50%; background: white; padding: 4px;
    position: absolute; top: 65px; left: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.org-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover }

/* Content */
.org-body { padding: 45px 20px 20px; } /* Top padding for avatar space */
.org-type { font-size: 0.75rem; text-transform: uppercase; color: #888; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 5px; }
.org-name { font-size: .8rem; font-weight: 800; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.verified-icon { color: var(--verified-blue); font-size: 0.9rem; }
.org-location { font-size: 0.85rem; color: #666; margin-bottom: 15px; display: block; }

/* Footer Actions */
.social-links a { color: #ccc; margin-right: 10px; font-size: 1rem; transition: 0.2s; }
.social-links a:hover { color: var(--brand-black); }

/* --- CTA Section --- */
.join-cta { background-color: var(--brand-black); color: white; padding: 50px 0; border-radius: 20px; margin-top: 60px; text-align: center; }

/* --- Footer --- */

.active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--brand-black);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .2s ease;
}
.active-filter-badge:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-black);
}
.active-filter-badge i { font-size: .7rem; opacity: .6; }
.active-filter-badge:hover i { opacity: 1; }
