/* =============================================================
   About widgets — synced with src/app/about/page.tsx
   ============================================================= */

/* Section background variants */
.rav-section--white { background: #ffffff; }

/* Section padding overrides for the about page (match Tailwind py-20 sm:py-24/28) */
/* Hero section: extra top padding for fixed-header clearance */
.rav-about-hero       { padding-top: 5rem !important; }
@media (min-width: 640px) { .rav-about-hero { padding-top: 7rem !important; } }
/* All other about sections inherit the unified .rav-section padding (2rem mobile, 4rem desktop). */
/* Align pedagogy header + body to the same 1100px-centered column as the axes/video */
.rav-about-pedagogy .rav-section__head,
.rav-about-pedagogy .rav-about-pedagogy__body { max-width: 1100px !important; margin-inline: auto !important; }

/* Hero title — one line, smaller */
.rav-about-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap;
    margin-top: 1.5rem !important;
}

/* Force darker bronze for the about-hero eyebrow */
.rav-about-hero .rav-section__eyebrow,
.rav-section__eyebrow--ink {
    color: var(--rav-color-bronze-ink) !important;
    font-size: 20px !important;
    letter-spacing: 0.22em !important;
}

/* Section titles for the smaller about subsections (match Tailwind clamp 1.8rem-2.6rem) */
.rav-about-founders .rav-section__title,
.rav-about-sectors  .rav-section__title,
.rav-about-pedagogy .rav-section__title,
.rav-about-closing  .rav-section__title {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
}

/* Suppress the auto bronze rule under the head (it's not in Next.js) */
.rav-about-hero .rav-section__head::after,
.rav-about-founders .rav-section__head::after,
.rav-about-sectors .rav-section__head::after,
.rav-about-pedagogy .rav-section__head::after,
.rav-about-closing .rav-section__head::after {
    display: none;
}

.rav-about-hero .rav-section__head,
.rav-about-founders .rav-section__head,
.rav-about-sectors .rav-section__head,
.rav-about-pedagogy .rav-section__head,
.rav-about-closing .rav-section__head {
    margin-bottom: 0;
    gap: 0.5rem;
}

/* Body paragraphs */
.rav-about-hero__body {
    max-width: 68ch;
    font-size: 23px;
    line-height: 1.7;
    color: var(--rav-color-ink-muted);
    margin: 2rem 0 0;
}

.rav-about-sectors__body,
.rav-about-closing__p {
    max-width: 47rem;
    font-size: 20px;
    line-height: 1.7;
    color: var(--rav-color-ink-muted);
    margin: 1.5rem 0 0;
}

.rav-about-pedagogy__body {
    max-width: 47rem;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(245, 242, 237, 0.75);
    margin: 1.5rem 0 0;
}

.rav-about-founders .rav-about-hero__body {
    max-width: none;
    font-size: 20px;
    line-height: 1.7;
    margin: 1.5rem 0 0;
}

/* Video figure */
.rav-about-video { max-width: 1100px !important; margin: 3rem auto 0 !important; }
.rav-about-pedagogy .rav-about-axes + .rav-about-video { margin-top: 3rem !important; }
.rav-about-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    border: 1px solid rgba(28, 28, 30, 0.1);
    background: rgba(28, 28, 30, 0.04);
}
.rav-about-video--dark .rav-about-video__frame {
    border-color: rgba(229, 184, 155, 0.25);
    background: rgba(0, 0, 0, 0.3);
}
.rav-about-video__frame iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Founders title (two lines via <br />) */
.rav-about-founders__title {
    line-height: 1.15 !important;
}

/* Founders cards grid */
.rav-about-founders__grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .rav-about-founders__grid { grid-template-columns: repeat(2, 1fr); }
}

.rav-about-founder-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(28, 28, 30, 0.1);
    background: var(--rav-color-paper-soft);
}
.rav-about-founder-card__photo {
    position: relative;
    flex: 0 0 96px;
    width: 96px; height: 96px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(229, 184, 155, 0.4);
}
.rav-about-founder-card__photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.rav-about-founder-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.rav-about-founder-card__role {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--rav-color-bronze-ink);
}
.rav-about-founder-card__name {
    font-size: 23px;
    font-weight: 500;
    color: var(--rav-color-ink);
    margin: 0;
    line-height: 1.2;
}
.rav-about-founder-card__bio {
    font-size: 16px;
    line-height: 1.65;
    color: var(--rav-color-ink-muted);
    margin: 0;
}

/* Partners (ministries) */
.rav-about-partners {
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(28, 28, 30, 0.1);
    background: var(--rav-color-paper-soft);
}
.rav-about-partners__label {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--rav-color-bronze-ink);
    margin: 0 0 1rem;
}
.rav-about-partners__grid {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .rav-about-partners__grid { grid-template-columns: repeat(3, 1fr); }
}
.rav-about-partners__item {
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(28, 28, 30, 0.1);
    background: #ffffff;
}
.rav-about-partners__item img {
    width: 128px; height: 56px;
    object-fit: contain; display: block;
}

/* Sector heads subheading */
.rav-about-sectors__subheading {
    max-width: 47rem;
    margin: 2.5rem 0 0;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--rav-color-ink);
}

/* Sector heads grid */
.rav-about-sectors__grid {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
}
@media (min-width: 640px) { .rav-about-sectors__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rav-about-sectors__grid { grid-template-columns: repeat(3, 1fr); } }

.rav-about-head-card {
    display: flex; flex-direction: column; gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(28, 28, 30, 0.1);
    background: #ffffff;
}
.rav-about-head-card__top {
    display: flex; align-items: center; gap: 1rem;
}
.rav-about-head-card__photo {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 64px;
    box-shadow: 0 0 0 2px rgba(229, 184, 155, 0.4);
}
.rav-about-head-card__photo img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.rav-about-head-card__title {
    display: flex; flex-direction: column;
    gap: 2px;
}
.rav-about-head-card__sector {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--rav-color-bronze-ink);
}
.rav-about-head-card__name {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--rav-color-ink);
}
.rav-about-head-card__bio {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--rav-color-ink-muted);
}

/* Pedagogy axes grid */
.rav-about-axes {
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1100px;
}
@media (min-width: 768px) { .rav-about-axes { grid-template-columns: repeat(3, 1fr); } }

.rav-about-axis {
    display: flex; flex-direction: column; gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(229, 184, 155, 0.2);
    background: rgba(255, 255, 255, 0.03);
}
.rav-about-axis__index {
    font-size: 18px; font-weight: 500;
    color: var(--rav-color-bronze);
}
.rav-about-axis__title {
    margin: 0;
    font-size: 23px; font-weight: 500;
    line-height: 1.2;
    color: var(--rav-color-paper-soft);
}
.rav-about-axis__body {
    margin: 0;
    font-size: 16px; line-height: 1.65;
    color: rgba(245, 242, 237, 0.7);
}

/* Background glow helper for ink sections */
.rav-bg-glow {
    pointer-events: none;
    position: absolute;
    width: 380px; height: 380px;
    border-radius: 999px;
    filter: blur(140px);
    background: rgba(229, 184, 155, 0.08);
    top: 50%; transform: translateY(-50%);
    z-index: 0;
}
.rav-bg-glow--right { right: -8rem; }
.rav-bg-glow--left  { left: -8rem; }
.rav-bg-glow--center { left: 50%; transform: translate(-50%, -50%); }

/* Closing emphasized phrase */
.rav-about-closing__emph { color: var(--rav-color-bronze-ink); }

/* Section inner — narrower for prose-like sections */
.rav-section__inner--narrow { max-width: 860px !important; }

/* Suppress section bottom-rule line in about (Tailwind doesn't have it) */
.rav-about-hero .rav-section__top-rule,
.rav-about-founders .rav-section__top-rule,
.rav-about-sectors .rav-section__top-rule,
.rav-about-closing .rav-section__top-rule {
    display: none;
}
