/* Shared inner-page components used across About, Learning, Student Life, etc. */

.cp-section-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cp-panel {
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    box-shadow: var(--shadow-sm);
}

.cp-split {
    margin-bottom: 2.5rem;
}

.cp-split__img img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: var(--shadow-md);
}

.cp-flow {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
}

.cp-flow__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    align-self: center;
}

.cp-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.cp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(47, 14, 61, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cp-icon-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    height: 100%;
}

.cp-icon-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(251, 178, 37, 0.16);
    color: var(--primary);
    font-size: 1.25rem;
}

.cp-quote,
.about-quote {
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    border-left: 4px solid var(--secondary);
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.about-quote__role {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.about-quote blockquote {
    margin: 0;
}

.about-quote blockquote p,
.cp-quote p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
}

.cp-next-step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
}

.cp-next-step__img {
    flex: 0 0 220px;
}

.cp-next-step__img img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.cp-leader-card__photo img {
    width: 100%;
    max-width: 280px;
    border-radius: 14px;
}

.cp-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.cp-intro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.cp-intro-card {
    padding: 1.5rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
}

/* Leadership profiles — portrait header, full-width message */
.leader-profiles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.leader-profile {
    background: #fff;
    border: 1px solid rgba(47, 14, 61, 0.1);
    border-radius: 20px;
    padding: 1.75rem 2rem 2rem;
    box-shadow: var(--shadow-sm);
}

.leader-profile__header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(47, 14, 61, 0.1);
}

.leader-profile--reverse .leader-profile__header {
    flex-direction: row-reverse;
}

.leader-profile__photo {
    flex: 0 0 220px;
    width: 220px;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 10px 28px rgba(47, 14, 61, 0.12);
}

.leader-profile__photo img {
    width: 100%;
    height: auto;
    display: block;
}

.leader-profile__identity {
    min-width: 0;
    flex: 1;
}

.leader-profile__eyebrow {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(251, 178, 37, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 0.85rem;
}

.leader-profile__name {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.leader-profile__role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 0.15rem;
}

.leader-profile__meta {
    font-size: 0.92rem;
    color: #6b5a73;
    margin-bottom: 0;
}

.leader-profile__body p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 0.9rem;
}

.leader-profile__body p:last-child {
    margin-bottom: 0;
}

.leader-profile__subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.15rem 0 0.65rem;
}

.leader-profile__subtitle:first-child {
    margin-top: 0;
}

.leader-profile__timeline {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0 0 0 0.15rem;
    border-left: 2px solid rgba(251, 178, 37, 0.65);
}

.leader-profile__timeline li {
    position: relative;
    padding: 0 0 1.05rem 1.2rem;
}

.leader-profile__timeline li:last-child {
    padding-bottom: 0.15rem;
}

.leader-profile__timeline li::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 3px rgba(251, 178, 37, 0.22);
}

.leader-profile__year {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.leader-profile__timeline p {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .leader-profile {
        padding: 1.25rem 1.15rem 1.4rem;
    }

    .leader-profile__header,
    .leader-profile--reverse .leader-profile__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.1rem;
        margin-bottom: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .leader-profile__photo {
        flex-basis: 180px;
        width: 180px;
    }
}
