/* Dharma Acharya and Peeth directory. */
.sp-dharma-directory,
.sp-dharma-profile {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 3vw, 1.5rem) 5rem;
}

.sp-dharma-hero,
.sp-dharma-profile__hero {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid rgba(249, 115, 22, .25);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(120, 53, 15, .18), rgba(17, 24, 39, .96));
    color: #fff;
}

.sp-dharma-hero h1,
.sp-dharma-profile__hero h1 {
    margin: .2rem 0 .75rem;
    color: inherit;
    font-size: clamp(2rem, 5vw, 3.7rem);
}

.sp-dharma-hero > p:not(.sp-section__eyebrow),
.sp-dharma-profile__intro {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    line-height: 1.75;
}

.sp-dharma-filters {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.sp-dharma-filters label { flex: 1 1 280px; }
.sp-dharma-filters input,
.sp-dharma-filters select {
    width: 100%;
    min-height: 46px;
    padding: .65rem .85rem;
    border: 1px solid var(--border-default, #d6d3d1);
    border-radius: 10px;
    background: var(--card, #fff);
    color: var(--text-primary, #1c1917);
}
.sp-dharma-filters select { width: auto; min-width: 180px; }

.sp-dharma-profile-grid,
.sp-dharma-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1rem;
}

.sp-dharma-profile-card,
.sp-dharma-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .8rem;
    padding: 1.25rem;
    border: 1px solid var(--border-subtle, #e7e5e4);
    border-radius: 18px;
    background: var(--card, #fff);
    box-shadow: 0 4px 24px rgba(15, 23, 42, .08);
}

.sp-dharma-profile-card h2,
.sp-dharma-card h3 { margin: 0; line-height: 1.3; }
.sp-dharma-card__image { display: block; margin: -1.25rem -1.25rem .15rem; overflow: hidden; border-radius: 17px 17px 0 0; }
.sp-dharma-card__image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.sp-dharma-card:hover .sp-dharma-card__image img,
.sp-dharma-profile-card:hover .sp-dharma-card__image img { transform: scale(1.03); }
.sp-dharma-card__kind { margin: 0; color: var(--text-muted, #78716c); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sp-dharma-profile-card h2 a,
.sp-dharma-card h3 a { color: var(--text-primary, #1c1917); text-decoration: none; }
.sp-dharma-profile-card h2 a:hover,
.sp-dharma-card h3 a:hover { color: var(--saffron-600, #c2410c); }
.sp-dharma-profile-card > p { margin: 0; color: var(--text-muted, #57534e); line-height: 1.6; }
.sp-dharma-card__peeth { margin: 0; color: var(--saffron-600, #c2410c); font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.sp-dharma-card__maha { margin: 0; color: var(--text-muted, #57534e); font-family: Georgia, serif; font-style: italic; }
.sp-dharma-profile-card dl,
.sp-dharma-facts-panel dl,
.sp-dharma-facts { margin: 0; }
.sp-dharma-profile-card dl { display: flex; gap: 1rem; font-size: .86rem; }
.sp-dharma-profile-card dt,
.sp-dharma-facts-panel dt,
.sp-dharma-facts dt { color: var(--text-muted, #78716c); }
.sp-dharma-profile-card dd,
.sp-dharma-facts-panel dd,
.sp-dharma-facts dd { margin: .12rem 0 0; font-weight: 700; }
.sp-dharma-profile-card dd { color: #292524; }
/* Acharya portraits are square; show the whole face instead of a 16:9 crop. */
.sp-dharma-profile-card--acharya .sp-dharma-card__image { background: #f5f5f4; }
.sp-dharma-profile-card--acharya .sp-dharma-card__image img { aspect-ratio: 4 / 3; object-fit: contain; }

.sp-dharma-card__footer,
.sp-dharma-section-head,
.sp-dharma-profile__actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sp-dharma-card__footer { margin-top: auto; }
.sp-dharma-card__footer > a:not(.sp-dharma-follow),
.sp-text-link { color: var(--saffron-600, #c2410c); font-weight: 700; text-decoration: none; }
.sp-dharma-follow-form { display: inline; margin: 0; }
.sp-dharma-follow {
    border: 1px solid #ea580c;
    border-radius: 999px;
    padding: .55rem .85rem;
    background: #ea580c;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    text-decoration: none;
}
.sp-dharma-follow:hover { background: #c2410c; color: #fff; }
.sp-page a.sp-dharma-follow,
.sp-page button.sp-dharma-follow:not(.is-following) { color: #fff; }
.sp-dharma-follow.is-following { border-color: #15803d; background: #ecfdf3; color: #166534; }
.sp-dharma-follow--compact { padding: .45rem .7rem; font-size: .8rem; }

.sp-dharma-home { padding-top: clamp(3rem, 7vw, 6rem); }
.sp-dharma-home__intro { max-width: 720px; margin: 0 0 1.25rem; color: var(--text-muted, #57534e); line-height: 1.7; }

.sp-dharma-profile__maha { margin: .25rem 0 .75rem; color: #fed7aa; font-family: Georgia, serif; font-size: 1.25rem; font-style: italic; }
.sp-dharma-profile__image { display: block; width: min(100%, 760px); max-height: 420px; margin: 1.25rem 0 0; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; object-fit: cover; }
.sp-dharma-profile__image--portrait { width: min(100%, 420px); aspect-ratio: 1; object-fit: contain; background: #f5f5f4; }
.sp-dharma-profile__actions { justify-content: flex-start; margin-top: 1.25rem; }
.sp-dharma-profile__followers { margin: 1rem 0 0; color: rgba(255, 255, 255, .68); font-size: .875rem; }
.sp-dharma-profile__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 1.5rem; margin-top: 1.5rem; }
.sp-dharma-content,
.sp-dharma-facts-panel,
.sp-dharma-profile__updates,
.sp-dharma-dashboard { border: 1px solid var(--border-subtle, #e7e5e4); border-radius: 18px; background: var(--card, #fff); }
.sp-dharma-content { padding: clamp(1.25rem, 3vw, 2rem); line-height: 1.8; }
/* Light panels: dark-mode text colours would otherwise be white on white. */
.sp-dharma-content,
.sp-dharma-facts-panel,
.sp-dharma-profile__updates,
.sp-dharma-dashboard,
.sp-dharma-content :is(h1, h2, h3, h4, p, li, strong, blockquote),
.sp-dharma-facts-panel :is(h2, dd),
.sp-dharma-profile__updates :is(h2, h3, h3 a) { color: #1c1917; }
.sp-dharma-content a { color: #c2410c; }
.sp-dharma-facts-panel { padding: 1.25rem; align-self: start; }
.sp-dharma-facts-panel h2 { margin-top: 0; font-size: 1.15rem; }
.sp-dharma-facts-panel dl,
.sp-dharma-facts { display: grid; gap: 1rem; }
.sp-dharma-profile__updates { margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); }
.sp-dharma-profile__updates h2 { margin-top: .25rem; }
.sp-dharma-update-list { display: grid; gap: .8rem; }
.sp-dharma-update-list article { padding: 1rem; border-radius: 12px; background: var(--bg-soft, #faf8f4); }
.sp-dharma-update-list p { margin: 0 0 .35rem; color: var(--text-muted, #78716c); font-size: .86rem; }
.sp-dharma-update-list h3 { margin: 0; font-size: 1rem; }
.sp-dharma-update-list h3 a { color: var(--text-primary, #1c1917); text-decoration: none; }
.sp-dharma-muted { color: var(--text-muted, #78716c); line-height: 1.6; }
.sp-dharma-dashboard { margin-top: .1rem; }
.sp-dharma-following-list { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.sp-dharma-following-list a { padding: .4rem .65rem; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: .85rem; font-weight: 700; text-decoration: none; }

@media (max-width: 720px) {
    .sp-dharma-profile__layout { grid-template-columns: 1fr; }
    .sp-dharma-filters select { width: 100%; }
}

/* ===== Profile pages: shared ===== */
.sp-dharma-profile { max-width: 1120px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 1.5rem) 4rem; }
.sp-dharma-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: .85rem; color: var(--text-muted, #a8a29e); }
.sp-dharma-crumbs a { color: var(--saffron-500, #f97316); text-decoration: none; }
.sp-dharma-refs { margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border-subtle, #e7e5e4); border-radius: 18px; background: var(--card, #fff); color: #1c1917; }
.sp-dharma-refs h2 { margin-top: 0; color: #1c1917; font-size: 1.2rem; }
.sp-dharma-refs ol { padding-left: 1.25rem; line-height: 1.7; }
.sp-dharma-refs a { color: #c2410c; word-break: break-word; }

/* ===== Peeth: wiki article ===== */
.sp-wiki { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid #e7e5e4; border-radius: 18px; background: #fffdf8; color: #1c1917; }
.sp-wiki__head { border-bottom: 1px solid #d6d3d1; padding-bottom: 1rem; margin-bottom: 1.25rem; }
.sp-wiki__kicker { margin: 0 0 .25rem; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #c2410c; }
.sp-wiki h1 { margin: 0; font-family: Georgia, "Noto Serif", serif; font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.2; color: #1c1917; }
.sp-wiki__alt { margin: .35rem 0 0; font-size: 1.05rem; color: #57534e; }
.sp-wiki__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; }
.sp-wiki__body { display: flow-root; }
.sp-wiki__infobox { float: right; width: 320px; margin: 0 0 1.25rem 1.5rem; border: 1px solid #d6d3d1; border-radius: 12px; background: #f8f5ee; overflow: hidden; font-size: .9rem; }
.sp-wiki__infobox img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sp-wiki__infobox table { width: 100%; border-collapse: collapse; }
.sp-wiki__infobox th, .sp-wiki__infobox td { padding: .5rem .75rem; border-top: 1px solid #e7e5e4; text-align: left; vertical-align: top; color: #1c1917; }
.sp-wiki__infobox th { width: 42%; font-weight: 700; color: #57534e; }
.sp-wiki__lead { font-size: 1.08rem; line-height: 1.75; margin-top: 0; }
.sp-wiki__toc { display: inline-block; min-width: 220px; margin: .5rem 0 1.25rem; padding: .75rem 1.25rem; border: 1px solid #d6d3d1; border-radius: 10px; background: #f8f5ee; }
.sp-wiki__toc p { margin: 0 0 .35rem; font-weight: 800; }
.sp-wiki__toc ol { margin: 0; padding-left: 1.25rem; line-height: 1.8; }
.sp-wiki__toc a, .sp-wiki__section a { color: #c2410c; }
.sp-wiki__section { scroll-margin-top: 90px; }
.sp-wiki__section h2 { margin: 1.5rem 0 .6rem; padding-bottom: .3rem; border-bottom: 1px solid #e7e5e4; font-family: Georgia, "Noto Serif", serif; font-weight: 600; font-size: 1.45rem; color: #1c1917; }
.sp-wiki__section :is(p, li) { line-height: 1.8; color: #292524; }
.sp-wiki__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .75rem; padding: 0; list-style: none; }
.sp-wiki__people a { display: flex; gap: .75rem; align-items: center; padding: .65rem; border: 1px solid #e7e5e4; border-radius: 12px; background: #fff; color: #1c1917; text-decoration: none; }
.sp-wiki__people a:hover { border-color: #f97316; }
.sp-wiki__people img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.sp-wiki__people span { display: grid; gap: 2px; }
.sp-wiki__people small { color: #57534e; }

/* ===== Acharya: portfolio ===== */
.sp-folio__hero { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: 22px; background: radial-gradient(120% 120% at 0% 0%, rgba(249, 115, 22, .22), transparent 60%), #17120e; border: 1px solid rgba(249, 115, 22, .3); color: #fff7ed; }
.sp-folio__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 18px; background: #f5f5f4; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.sp-folio__placeholder { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: radial-gradient(circle at 50% 40%, #fb923c, #9a3412); color: #fff7ed; font-size: clamp(4rem, 12vw, 7rem); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.sp-folio__role { margin: 0 0 .5rem; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fdba74; }
.sp-folio h1 { margin: 0; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.2; color: #fff; }
.sp-folio__alt { margin: .4rem 0 0; color: #fed7aa; font-size: 1.05rem; }
.sp-folio__summary { margin: 1rem 0 0; line-height: 1.75; color: rgba(255, 247, 237, .86); }
.sp-folio__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.sp-folio__followers { margin: .75rem 0 0; font-size: .85rem; color: rgba(255, 247, 237, .65); }
.sp-folio__notice { margin: 1rem 0 0; padding: .85rem 1rem; border-left: 4px solid #f59e0b; border-radius: 10px; background: #fffbeb; color: #78350f; line-height: 1.6; }
.sp-folio__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.sp-folio__facts div { display: grid; gap: .25rem; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid #e7e5e4; }
.sp-folio__facts span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #78716c; }
.sp-folio__facts strong { color: #1c1917; line-height: 1.45; }
.sp-folio__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.sp-folio__card { padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: 18px; background: #fff; border: 1px solid #e7e5e4; color: #1c1917; }
.sp-folio__card :is(h2, h3, p, li, dd) { color: #1c1917; }
.sp-folio__card h2 { margin-top: 0; font-size: 1.25rem; }
.sp-folio__timeline { position: relative; margin: 0; padding: 0 0 0 1.25rem; list-style: none; border-left: 2px solid #fdba74; }
.sp-folio__timeline li { position: relative; padding: 0 0 1rem .5rem; }
.sp-folio__timeline li::before { content: ""; position: absolute; left: -1.72rem; top: .3rem; width: 12px; height: 12px; border-radius: 50%; background: #ea580c; box-shadow: 0 0 0 4px #ffedd5; }
.sp-folio__year { font-weight: 800; color: #c2410c; }
.sp-folio__timeline p { margin: .2rem 0 0; line-height: 1.6; }
.sp-folio__list { padding-left: 1.2rem; line-height: 1.75; }
.sp-folio__peeth { display: grid; gap: .6rem; margin: 0; }
.sp-folio__peeth dt { font-size: .8rem; color: #78716c; }
.sp-folio__peeth dd { margin: 0; font-weight: 700; }

/* ===== Home: Peeth rail ===== */
.sp-dharma-peeth-rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.sp-dharma-peeth-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--card, #fff); border: 1px solid var(--border-subtle, #e7e5e4); box-shadow: 0 4px 24px rgba(15, 23, 42, .08); color: #1c1917; }
.sp-dharma-peeth-card__media { position: relative; display: block; }
.sp-dharma-peeth-card__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-dharma-peeth-card__media span { position: absolute; left: .6rem; top: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(23, 18, 14, .78); color: #fed7aa; font-size: .72rem; font-weight: 700; }
.sp-dharma-peeth-card__body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1rem; }
.sp-dharma-peeth-card h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.sp-dharma-peeth-card h3 a { color: #1c1917; text-decoration: none; }
.sp-dharma-peeth-card .sp-dharma-card__maha { margin: 0; color: #9a3412; font-style: italic; font-size: .85rem; }
.sp-dharma-peeth-card__acharyas { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.sp-dharma-peeth-card__acharyas a { display: flex; gap: .5rem; align-items: center; color: #292524; font-size: .82rem; line-height: 1.3; text-decoration: none; }
.sp-dharma-peeth-card__acharyas img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #f5f5f4; }
.sp-dharma-peeth-card .sp-dharma-card__footer { margin-top: auto; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .sp-dharma-peeth-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .sp-wiki__infobox { float: none; width: 100%; max-width: 420px; margin: 0 auto 1.25rem; }
    .sp-folio__hero { grid-template-columns: 1fr; text-align: center; }
    .sp-folio__portrait { max-width: 320px; margin: 0 auto; }
    .sp-folio__actions { justify-content: center; }
    .sp-folio__grid { grid-template-columns: 1fr; }
    .sp-dharma-peeth-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
    .sp-dharma-peeth-card { scroll-snap-align: start; }
}
@media (max-width: 480px) {
    .sp-wiki { padding: 1rem; border-radius: 14px; }
    .sp-wiki__toc { display: block; }
    .sp-folio__facts { grid-template-columns: 1fr; }
}

/* Light surfaces inside the dark site skin: future.css sets
   body.sp-future headings/links to light colours, so match its specificity. */
body.sp-future :is(.sp-wiki, .sp-folio__card, .sp-folio__facts, .sp-dharma-refs, .sp-dharma-profile__updates, .sp-dharma-peeth-card, .sp-dharma-profile-card) :is(h1, h2, h3, h4) { color: #1c1917; }
body.sp-future :is(.sp-wiki, .sp-folio__card, .sp-dharma-refs, .sp-dharma-profile__updates) a:not(.sp-dharma-follow) { color: #c2410c; }
body.sp-future :is(.sp-wiki__people, .sp-dharma-peeth-card__acharyas) a,
body.sp-future .sp-dharma-peeth-card h3 a,
body.sp-future .sp-dharma-profile-card h2 a { color: #1c1917; }
body.sp-future :is(.sp-wiki, .sp-dharma-refs, .sp-dharma-profile__updates, .sp-dharma-peeth-card, .sp-dharma-profile-card) .sp-dharma-muted { color: #57534e; }
body.sp-future .sp-folio h1 { color: #fff; }

/* Acharya biography card (same on every profile). */
.sp-folio__about { margin: 1.25rem 0; }
.sp-folio__about p { line-height: 1.75; margin: 0 0 .85rem; }
.sp-folio__about p:last-child { margin-bottom: 0; }

/* Home: separate row of followable Acharya profile cards below the Peeths. */
.sp-dharma-acharya-row__head { margin-top: 2rem; }
.sp-dharma-acharya-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 220px); gap: 1rem; overflow-x: auto; padding: .25rem .1rem 1rem; scroll-snap-type: x mandatory; }
.sp-dharma-acharya-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; padding: 1.1rem 1rem; border-radius: 18px; background: #fff; border: 1px solid #e7e5e4; color: #1c1917; }
.sp-dharma-acharya-card__media { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #ffedd5; box-shadow: 0 0 0 4px #fed7aa; text-decoration: none; }
.sp-dharma-acharya-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-dharma-acharya-card__media span { font-size: 2.5rem; color: #c2410c; }
.sp-dharma-acharya-card h4 { margin: .35rem 0 0; font-size: .95rem; line-height: 1.3; }
.sp-dharma-acharya-card__role { margin: 0; font-size: .75rem; line-height: 1.35; color: #57534e; flex: 1 1 auto; }
.sp-dharma-acharya-card__cta { display: grid; gap: .4rem; width: 100%; margin-top: .35rem; }
.sp-dharma-acharya-card__cta .sp-dharma-follow-form, .sp-dharma-acharya-card__cta .sp-dharma-follow { width: 100%; margin: 0; }
.sp-dharma-acharya-card__profile { display: block; padding: .5rem .75rem; border-radius: 999px; border: 1px solid #ea580c; font-size: .8rem; font-weight: 700; text-decoration: none; }
body.sp-future .sp-dharma-acharya-card h4 a { color: #1c1917; }
body.sp-future .sp-dharma-acharya-card__role { color: #57534e; }
body.sp-future .sp-dharma-acharya-card a.sp-dharma-acharya-card__profile { color: #c2410c; }

/* Home: Sampradaya cards reuse the Acharya card layout. */
.sp-dharma-sampradaya-card__family { margin: .25rem 0 0; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c2410c; }
body.sp-future .sp-dharma-sampradaya-card__family { color: #c2410c; }

/* Own icon kit inside Dharma headings and empty states */
.sp-wiki__icon { display: block; margin-bottom: .5rem; }
.sp-folio__role,
.sp-dharma-peeth-card h3 { display: flex; align-items: center; gap: .5rem; }
/* Archive cards are narrow: icon sits above the title so long names keep their width. */
.sp-dharma-profile-card h2 > .sp-icon--kit { display: block; margin-bottom: .4rem; }
.sp-dharma-profile-card h2 { overflow-wrap: break-word; hyphens: manual; }
.sp-folio__role { justify-content: inherit; }
@media (max-width: 860px) { .sp-folio__role { justify-content: center; } }
.sp-dash-empty > .sp-icon--kit,
.sp-dash-empty__icon .sp-icon--kit { display: block; margin: 0 auto .75rem; }

/* Acharya portraits are background-free cut-outs: no circle, ring or tile behind them. */
.sp-dharma-acharya-card__media { width: 132px; height: 132px; border-radius: 0; overflow: visible; background: none; box-shadow: none; place-items: end center; }
.sp-dharma-acharya-card__media img { object-fit: contain; object-position: bottom center; }
.sp-dharma-sampradaya-card .sp-dharma-acharya-card__media { place-items: center; }
.sp-dharma-peeth-card__acharyas img,
.sp-wiki__people img { border-radius: 0; background: none; object-fit: contain; object-position: bottom center; }
.sp-folio__portrait img { border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.sp-dharma-profile__image--portrait,
.sp-dharma-profile-card--acharya .sp-dharma-card__image { background: none; }
