/*
 * Trust-layer shared styles (P7). Consumed by:
 *   - _AuthorityStats.cshtml  (horizontal stats strip)
 *   - _GuaranteeBadge.cshtml  (seal + policy text)
 *   - _AcharyaCards.cshtml    (bio cards grid)
 *
 * Loaded once via _AppLayout / _PublicLayout so the same page can render multiple
 * trust partials without duplicating the CSS inline each time.
 */

/* ─── Authority stats strip ──────────────────────────────────────── */
.trust-stats {
    padding: 1.5rem 1rem;
    background: linear-gradient(to right, rgba(201, 162, 47, 0.05), rgba(201, 162, 47, 0.1), rgba(201, 162, 47, 0.05));
    border-top: 1px solid rgba(201, 162, 47, 0.2);
    border-bottom: 1px solid rgba(201, 162, 47, 0.2);
}
.trust-stats__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.trust-stats__item {
    text-align: center;
    flex: 1 1 140px;
}
.trust-stats__number {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #7a1a20;
    line-height: 1.1;
}
.trust-stats__label {
    font-size: 0.85rem;
    color: #4a4a4a;
    margin-top: 0.35rem;
    letter-spacing: 0.02em;
}
@media (max-width: 600px) {
    .trust-stats__inner { gap: 1rem; }
    .trust-stats__item { flex: 1 1 45%; }
}

/* ─── Guarantee badge ────────────────────────────────────────────── */
.trust-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #fbf4de;
    border: 1px solid rgba(201, 162, 47, 0.35);
    border-radius: 10px;
    max-width: 620px;
}
.trust-guarantee--compact { padding: 0.75rem 1rem; gap: 0.75rem; }
.trust-guarantee__seal { flex: 0 0 auto; }
.trust-guarantee--compact .trust-guarantee__seal svg { width: 36px; height: 36px; }
.trust-guarantee__copy { flex: 1 1 auto; }
.trust-guarantee__headline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.05rem;
    color: #4a0e14;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.trust-guarantee__badge {
    display: inline-block;
    background: #7a1a20;
    color: #fbf4de;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 3px;
}
.trust-guarantee__body {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #3a3a3a;
    margin: 0.5rem 0 0;
}
.trust-guarantee__contact { margin: 0.5rem 0 0; }

/* ─── Acharya cards grid ─────────────────────────────────────────── */
.acharya-cards {
    padding: 3rem 1rem;
    background: #fff;
}
.acharya-cards__inner {
    max-width: 1100px;
    margin: 0 auto;
}
.acharya-cards__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.acharya-cards__kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c9a22f;
    margin-bottom: 0.75rem;
}
.acharya-cards__title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #4a0e14;
    margin: 0 0 0.5rem;
}
.acharya-cards__subhead {
    color: #5a5a5a;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.55;
}
.acharya-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.acharya-card {
    background: #fbf4de;
    border: 1px solid rgba(201, 162, 47, 0.25);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.acharya-card__portrait {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #4a0e14, #7a1a20);
    display: flex;
    align-items: center;
    justify-content: center;
}
.acharya-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0px 0px;
    display: block;
}
.acharya-card__portrait-placeholder {
    color: #c9a22f;
    font-size: 3rem;
    font-family: 'Libre Baskerville', Georgia, serif;
}
.acharya-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.acharya-card__name {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.2rem;
    color: #4a0e14;
    margin: 0 0 0.4rem;
}
.acharya-card__meta {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 0.3rem;
}
.acharya-card__cert {
    font-size: 0.82rem;
    color: #888;
    font-style: italic;
    margin-bottom: 0.9rem;
}
.acharya-card__bio {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #3a3a3a;
    margin: 0 0 0.75rem;
}
.acharya-card__quote {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-style: italic;
    color: #7a1a20;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    padding: 0.75rem 0 0;
    border-top: 1px solid rgba(201, 162, 47, 0.25);
}
