/* ==========================================================================
   Shikhar Alumni — public page extras on top of shikhar.css / alumni.css (same tokens)
   ========================================================================== */

/* ---------- Filters bar ----------
   A valid auto-fit template: the search box keeps a fixed minimum, the rest share the row. */
.filters { grid-template-columns: minmax(240px, 1.6fr) repeat(auto-fit, minmax(150px, 1fr)); }
.filters.filters-inline { grid-template-columns: minmax(240px, 1fr) auto; }
.filters .filters-check { align-self: center; padding: 10px 0 12px; }
.filters .filters-check b { font-size: 14px; }
.filter-summary .chips { margin-right: auto; }
.section-head .chips { align-self: center; }

/* ---------- Home hero panel ---------- */
.hero-panel { position: relative; overflow: hidden; padding: 32px; border-radius: 28px; background: var(--ink); color: rgba(255, 255, 255, .78); box-shadow: var(--shadow-lg); max-width: 560px; margin-left: auto; }
.hero-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.hero-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 122, 28, .35), transparent 65%); pointer-events: none; }
.hero-panel > * { position: relative; }
.hero-panel .eyebrow { margin-bottom: 10px; }
.hero-panel h3 { color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin-bottom: 8px; }
.hero-panel .check-list { margin: 16px 0 0; gap: 12px; }
.hero-panel .check-list li { font-size: 14.5px; line-height: 1.5; }
.hero-panel .check-list .i { color: #ffb26b; }
.hero-panel .check-list b { color: #fff; }
.hero-people { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-people b { display: block; color: #fff; font-size: 15px; }
.hero-people small { display: block; font-size: 13px; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { margin-left: -10px; border-color: var(--ink); box-shadow: none; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* ---------- Tabs (events: upcoming / past) ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-weight: 700; font-size: 14px; }
.tab span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); font-size: 12px; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab.is-active span { background: var(--orange); color: #fff; }

/* ---------- Lists ---------- */
.job-list { display: grid; gap: 12px; }
.job-list .job-row + .job-row { margin-top: 0; }

/* ---------- Profile page extras ---------- */
.profile-hero .notice { margin-bottom: 24px; }
.contact-box .login-cta { margin-top: 14px; padding: 20px 18px; }
.contact-box .login-cta .btn + .btn { margin-left: 6px; }
.contact-box .request-state + .small { margin: 6px 0 0; }
.contact-box .request-form { display: grid; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.contact-box .request-form .field { margin-top: 4px; }
.contact-box .request-form .hint { font-weight: 500; color: var(--muted); }
.mentor-box form { display: grid; gap: 14px; }
.mentor-box .hint { font-weight: 500; color: var(--muted); }
.detail-list dd .i { color: var(--orange); vertical-align: -3px; margin-right: 2px; }

/* ---------- Event detail ---------- */
.event-layout aside { position: sticky; top: calc(var(--header-h) + 24px); }
.event-layout .card + .card { margin-top: 18px; }
.rsvp-card .card-title { font-size: 1.35rem; }
.rsvp-form { display: grid; gap: 14px; margin-top: 8px; }
.rsvp-cancel { margin-top: 14px; color: var(--danger); font-size: 14px; }
.rsvp-cancel:hover { color: #9c2d22; }
.going-head { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin: 0; }
.going-list a { display: inline-flex; border-radius: 50%; }
.event-facts b .i { vertical-align: -3px; }

/* ---------- Job detail ---------- */
.job-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.job-head h2 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; margin: 0 0 2px; }
.job-head .company { margin: 0; color: var(--muted); }
.job-meta { margin-top: 0; padding-top: 0; }
.poster { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.poster b { display: block; line-height: 1.2; }
.poster small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
a.poster:hover b { color: var(--blue-d); }

/* ---------- Article extras ---------- */
.article-author { color: var(--ink); }
.article-author > div { flex: 1; min-width: 0; }
.article-author .eyebrow { margin-bottom: 4px; }
.article-author > .i { color: var(--orange); }
a.article-author:hover { border-color: var(--blue); }
.article-meta .pill { margin-right: 4px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .i { color: var(--orange); }

/* ---------- Gallery ---------- */
.photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; font-size: 12.5px; color: #fff; background: linear-gradient(transparent, rgba(14, 29, 58, .75)); }
.lightbox-caption { margin: 0; padding: 12px 18px; text-align: center; color: rgba(255, 255, 255, .85); font-size: 14px; }
.link-arrow .i.back { transform: rotate(180deg); }
.link-arrow:hover .i.back { transform: rotate(180deg) translateX(3px); }

/* ---------- Mentors ---------- */
.steps-list.three { grid-template-columns: repeat(3, 1fr); }

/* ---------- Small utilities ---------- */
.pt-0 { padding-top: 0 !important; }
.mt-12 { margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-panel { max-width: none; margin-left: 0; }
    .event-layout aside { position: static; }
    .filters, .filters.filters-inline { grid-template-columns: 1fr 1fr; }
    .steps-list.three { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .hero-panel { padding: 24px 20px; }
    .filters, .filters.filters-inline { grid-template-columns: 1fr; }
    .filter-summary .chips { margin-right: 0; }
    .tabs { width: 100%; }
    .tab { flex: 1; justify-content: center; }
    .job-head .job-logo { display: none; }
}
