/* LUB Shakthi — member screens other than the feed.
 * Asks, notices, meetings and the membership card.
 */

/* ─────────────────────────────────────────────── advocacy hero */

.advocacy-hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #EA580C 0%, #F97316 55%, #FB923C 100%);
    color: #fff; border-radius: var(--r-xl); padding: 22px 22px 20px;
    margin-bottom: 18px; box-shadow: 0 10px 30px rgba(234,88,12,.28);
}
/* A slow drift behind the numbers so the card is not a flat block. */
.advocacy-hero::after {
    content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    right: -130px; top: -170px; background: rgba(255,255,255,.13);
    animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0,0); } to { transform: translate(-26px, 22px); } }

.ah-label {
    font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    opacity: .9; position: relative; z-index: 1;
}
.ah-figures { display: flex; gap: 34px; margin: 12px 0 10px; position: relative; z-index: 1; }
.ah-figures .n {
    display: block; font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.03em;
    animation: riseNum .6s cubic-bezier(.22,1,.36,1) backwards;
}
.ah-figures div:nth-child(2) .n { animation-delay: .1s; }
@keyframes riseNum { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ah-figures .l { display: block; font-size: 12.5px; opacity: .92; margin-top: 4px; }
.ah-note { font-size: 13px; line-height: 1.55; opacity: .93; margin: 0; position: relative; z-index: 1; }
.ah-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
    background: rgba(255,255,255,.18); color: #fff; border-radius: 999px;
    padding: 8px 16px; font-size: 13px; font-weight: 700;
    position: relative; z-index: 1; transition: background .18s, gap .18s;
}
.ah-link:hover { background: rgba(255,255,255,.3); gap: 10px; }
.ah-link .material-symbols-outlined { font-size: 17px; }

/* ─────────────────────────────────────────────── ask cards */

.ask-card { display: block; color: inherit; transition: transform .18s, box-shadow .18s; }
.ask-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.ask-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ask-top .t { font-weight: 700; font-size: 15px; letter-spacing: -.01em; line-height: 1.4; }
.ask-card .d { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* The feed's "latest movement" rows reuse the same shape. */
.ask-row { display: block; color: inherit; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ask-row:last-child { border-bottom: 0; }
.ask-row:hover .t { color: var(--brand-deep); }
.ask-row-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ask-row .t { font-weight: 600; font-size: 14px; line-height: 1.4; transition: color .15s; }
.ask-row .d { font-size: 12px; color: var(--ink-3); margin: 3px 0 8px; }

/* ─────────────────────────────────────────────── notices */

.notice-row { display: block; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.notice-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.notice-row.is-unread { border-left: 3px solid var(--brand); }
.nr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nr-top .t {
    font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; line-height: 1.4;
    display: flex; align-items: center; gap: 7px;
}
.nr-top .m { font-size: 11.5px; color: var(--ink-3); flex: none; }
.notice-row .d { font-size: 13px; color: var(--ink-2); margin-top: 5px; line-height: 1.5; }
.nr-foot { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.nr-foot .m { font-size: 11.5px; color: var(--ink-3); }
.nr-top .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none;
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.5); }
    60% { box-shadow: 0 0 0 7px rgba(249,115,22,0); }
}

/* ─────────────────────────────────────────────── meetings */

.meet-date {
    width: 48px; flex: none; text-align: center; border-radius: 12px;
    background: var(--brand-50); border: 1px solid var(--brand-100); padding: 6px 0 5px;
}
.meet-date .d { display: block; font-size: 18px; font-weight: 800; color: var(--brand-deep); line-height: 1; }
.meet-date .m {
    display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: var(--brand); margin-top: 2px;
}
.meet-date.is-past { background: var(--bg); border-color: var(--line-2); }
.meet-date.is-past .d { color: var(--ink-2); }
.meet-date.is-past .m { color: var(--ink-3); }

/* ─────────────────────────────────────────────── membership card */

.mcard {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, #1A1D27 0%, #2A2F3E 48%, #3A2418 100%);
    border-radius: 20px; padding: 24px; margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(17,24,39,.3);
}
/* A light sweep across the card, the way a laminate catches a lamp. */
.mc-sheen {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.14) 48%, transparent 58%);
    transform: translateX(-120%);
    animation: sheen 5.5s ease-in-out 1s infinite;
}
@keyframes sheen { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }

.mc-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    position: relative; z-index: 1;
}
.mc-org { display: flex; align-items: center; gap: 11px; }
.mc-org .material-symbols-outlined {
    font-size: 30px; color: var(--brand-light);
}
.mc-org strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.mc-org small { display: block; font-size: 11.5px; opacity: .72; }
.mc-tag {
    background: rgba(249,115,22,.22); border: 1px solid rgba(251,146,60,.4); color: #FDBA74;
    font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 999px; flex: none;
}

.mc-name {
    font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
    margin: 26px 0 2px; position: relative; z-index: 1;
}
.mc-person { font-size: 13.5px; opacity: .78; position: relative; z-index: 1; }

/* The number is what the card is for — everything else on it is already on
   the member's profile. So it gets its own line, at a size somebody can
   read out over a bad phone line without squinting. */
.mc-no {
    position: relative; z-index: 1; margin: 22px 0 0;
    padding: 11px 14px; border-radius: 12px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    display: inline-block;
}
.mc-no-label {
    display: block; font-size: 9.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; opacity: .7;
}
.mc-no strong {
    display: block; margin-top: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 23px; font-weight: 700; letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
}

.mc-facts {
    display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0 0;
    position: relative; z-index: 1;
}
.mc-facts:empty { display: none; }
.mc-facts dt {
    font-size: 10px; text-transform: uppercase; letter-spacing: .07em;
    opacity: .62; font-weight: 700;
}
.mc-facts dd {
    margin: 3px 0 0; font-size: 14.5px; font-weight: 700;
    font-variant-numeric: tabular-nums; letter-spacing: .01em;
}

@media (max-width: 520px) {
    .ah-figures { gap: 26px; }
    .ah-figures .n { font-size: 32px; }
    .mc-name { font-size: 19px; }
    .mc-facts { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .advocacy-hero::after, .mc-sheen, .nr-top .dot { animation: none; }
    .ah-figures .n { animation: none; }
    .mc-sheen { display: none; }
}
