/* ==========================================================================
   Content pages — About / Academics / Saplings / Transport
   Shared styles for static information pages. All classes are prefixed
   with .cp- so they never collide with the older per-view styles.
   ========================================================================== */

:root {
    --cp-navy: #12357b;
    --cp-blue: #1e3a8a;
    --cp-blue-2: #1e40af;
    --cp-accent: #e6650b;
    --cp-accent-dark: #c45507;
    --cp-accent-soft: #fff3ea;
    --cp-bg-soft: #f5f7fc;
    --cp-text: #4a5161;
    --cp-heading: #1a2b5f;
    --cp-border: #e4e8f2;
    --cp-radius: 16px;
    --cp-shadow: 0 8px 24px rgba(18, 53, 123, 0.08);
    --cp-shadow-hover: 0 14px 34px rgba(18, 53, 123, 0.14);
}

/* ---------- Page hero ---------- */
.cp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cp-navy) 0%, var(--cp-blue-2) 70%, #2d55c8 100%);
    color: #fff;
    padding: 56px 0 50px;
}
.cp-hero::before,
.cp-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cp-hero::before {
    width: 340px;
    height: 340px;
    right: -90px;
    top: -140px;
    background: rgba(255, 255, 255, 0.06);
}
.cp-hero::after {
    width: 200px;
    height: 200px;
    right: 200px;
    bottom: -120px;
    background: rgba(230, 101, 11, 0.22);
}
.cp-hero .container {
    position: relative;
    z-index: 1;
}
.cp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffc08f;
    margin-bottom: 10px;
}
.cp-hero h1 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.2;
    margin: 0;
}
.cp-hero p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    max-width: 720px;
    margin: 12px 0 0;
    text-align: left;
}

/* ---------- Sections & typography ---------- */
.cp-section {
    padding: 64px 0;
}
.cp-section--soft {
    background: var(--cp-bg-soft);
}
.cp-anchor {
    scroll-margin-top: 100px; /* clear the sticky navbar */
}
.cp-h2 {
    color: var(--cp-heading);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    margin: 0 0 22px;
}
.cp-h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--cp-accent);
    margin-top: 12px;
}
.cp-h2--center {
    text-align: center;
}
.cp-h2--center::after {
    margin-left: auto;
    margin-right: auto;
}
.cp-h3 {
    color: var(--cp-blue);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 12px;
}
.cp-subhead {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cp-accent);
    margin: 28px 0 14px;
}
.cp-prose p {
    color: var(--cp-text);
    line-height: 1.85;
    font-size: 16px;
    margin-bottom: 16px;
}
.cp-prose p:last-child {
    margin-bottom: 0;
}
.cp-prose .cp-lead,
.cp-lead {
    font-size: 18px;
    color: #2f3747;
}
.cp-narrow {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.cp-intro-center {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
    color: var(--cp-text);
}
.cp-intro-center p {
    text-align: center;
}

/* ---------- Text + image split ---------- */
.cp-split {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    align-items: center;
}
.cp-split--top {
    align-items: start;
}
.cp-split__media img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
    display: block;
}

/* ---------- Grids & cards ---------- */
.cp-grid {
    display: grid;
    gap: 24px;
}
.cp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cp-card {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    padding: 28px;
    box-shadow: var(--cp-shadow);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow-hover);
}
.cp-card p {
    color: var(--cp-text);
    line-height: 1.75;
    margin-bottom: 12px;
    text-align: left;
}
.cp-card p:last-child {
    margin-bottom: 0;
}
.cp-card ul {
    color: var(--cp-text);
    padding-left: 20px;
    margin-bottom: 12px;
}
.cp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cp-navy), var(--cp-accent));
    color: #fff;
    font-size: 22px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.cp-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cp-accent);
    background: var(--cp-accent-soft);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.cp-link {
    display: inline-block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--cp-accent);
    text-decoration: none;
}
.cp-link:hover {
    color: var(--cp-accent-dark);
    text-decoration: underline;
}

/* ---------- Feature rows (icon + long text) ---------- */
.cp-feature {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--cp-border);
}
.cp-feature:first-child {
    padding-top: 0;
}
.cp-feature:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.cp-feature .cp-icon {
    width: 64px;
    height: 64px;
    font-size: 26px;
    margin: 0;
}

/* ---------- Checklist ---------- */
.cp-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}
.cp-checklist--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cp-checklist li {
    position: relative;
    padding: 12px 16px 12px 48px;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    color: #36405a;
    line-height: 1.6;
}
.cp-checklist li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cp-accent-soft);
}
.cp-checklist li::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 18px;
    width: 6px;
    height: 10px;
    border: solid var(--cp-accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cp-card .cp-checklist li {
    background: var(--cp-bg-soft);
    border-color: transparent;
}

/* ---------- Values (term + description) ---------- */
.cp-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.cp-value {
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    border-left: 4px solid var(--cp-accent);
    box-shadow: var(--cp-shadow);
}
.cp-value h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--cp-heading);
    margin: 0 0 6px;
}
.cp-value p {
    margin: 0;
    color: var(--cp-text);
    line-height: 1.65;
    text-align: left;
}

/* ---------- Highlight / callout ---------- */
.cp-highlight {
    background: linear-gradient(135deg, var(--cp-navy), var(--cp-blue-2));
    color: #fff;
    border-radius: 20px;
    padding: 36px 40px;
}
.cp-highlight h2,
.cp-highlight h3 {
    color: #fff;
}
.cp-highlight p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
    text-align: left;
}
.cp-highlight--center,
.cp-highlight--center p {
    text-align: center;
}
.cp-badge {
    display: flex;
    gap: 16px;
    align-items: center;
    background: var(--cp-accent-soft);
    border: 1px solid #ffd9bd;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 24px 0;
}
.cp-badge i {
    font-size: 28px;
    color: var(--cp-accent);
}
.cp-badge p {
    margin: 0 !important;
    color: #5a3410 !important;
    font-weight: 500;
    text-align: left;
}

/* ---------- Quote & letters ---------- */
.cp-quote {
    position: relative;
    background: var(--cp-accent-soft);
    border-radius: var(--cp-radius);
    padding: 26px 30px 22px 72px;
    margin: 0 0 30px;
}
.cp-quote::before {
    content: "\201C";
    position: absolute;
    left: 22px;
    top: 4px;
    font-size: 76px;
    line-height: 1;
    color: var(--cp-accent);
    font-family: Georgia, "Times New Roman", serif;
}
.cp-quote p {
    font-size: 19px;
    font-style: italic;
    color: var(--cp-heading);
    margin: 0 0 8px;
    text-align: left;
}
.cp-quote cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: var(--cp-accent);
}
.cp-letter {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--cp-shadow);
    padding: 48px 52px;
}
.cp-letter--with-photo {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 44px;
    align-items: start;
}
.cp-letter__greeting {
    font-weight: 600;
    color: var(--cp-heading);
    font-size: 18px;
}
.cp-signature {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px dashed var(--cp-border);
}
.cp-signature span {
    display: block;
}
.cp-signature .cp-sign-off {
    color: var(--cp-text);
    margin-bottom: 4px;
}
.cp-signature .cp-sign-name {
    font-weight: 700;
    color: var(--cp-heading);
    font-size: 18px;
}
.cp-signature .cp-sign-role {
    color: var(--cp-accent);
    font-weight: 500;
    font-size: 15px;
}

/* ---------- Profiles ---------- */
.cp-profile {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--cp-shadow);
    padding: 36px;
    margin-bottom: 32px;
}
.cp-profile:last-child {
    margin-bottom: 0;
}
.cp-profile__aside {
    text-align: center;
}
.cp-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--cp-shadow);
    display: block;
}
.cp-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--cp-navy), var(--cp-accent));
    letter-spacing: 0.02em;
}
.cp-profile__name {
    font-size: 22px;
    font-weight: 700;
    color: var(--cp-heading);
    margin: 0 0 6px;
}
.cp-profile__title,
.cp-prose .cp-profile__title {
    font-size: 15px;
    color: var(--cp-accent);
    font-weight: 600;
    margin: 0;
    text-align: center;
}
.cp-facts {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}
.cp-facts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--cp-border);
    font-size: 14px;
    color: var(--cp-text);
    line-height: 1.5;
}
.cp-facts li:last-child {
    border-bottom: 0;
}
.cp-facts strong {
    display: block;
    color: var(--cp-heading);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.cp-books {
    margin: 0 0 16px;
    padding-left: 22px;
    color: var(--cp-text);
    line-height: 1.8;
}
.cp-books li {
    font-style: italic;
}

/* ---------- Team grid ---------- */
.cp-team {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.cp-member {
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: 14px;
    padding: 26px 18px 22px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cp-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--cp-shadow-hover);
}
.cp-member .cp-avatar,
.cp-member__photo {
    width: 96px;
    height: 96px;
    font-size: 30px;
    margin: 0 auto 14px;
}
.cp-member__photo {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(18, 53, 123, 0.18);
}
.cp-member p.cp-member__role {
    color: #36405a;
    font-weight: 500;
}
.cp-member p.cp-member__desc {
    margin-top: 8px;
    font-size: 13px;
    color: var(--cp-text);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cp-member h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--cp-heading);
    margin: 0 0 8px;
}
.cp-member p {
    font-size: 14px;
    color: var(--cp-text);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* ---------- Jump links ---------- */
.cp-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.cp-jump a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease;
}
.cp-jump a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- CTA band & buttons ---------- */
.cp-cta {
    background: linear-gradient(135deg, var(--cp-navy), var(--cp-blue-2));
    color: #fff;
    border-radius: 20px;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cp-cta h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}
.cp-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: left;
}
.cp-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cp-accent);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--cp-accent);
    transition: background 0.2s ease, transform 0.2s ease;
}
.cp-btn:hover {
    background: var(--cp-accent-dark);
    border-color: var(--cp-accent-dark);
    transform: translateY(-2px);
}
.cp-btn--light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}
.cp-btn--light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .cp-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .cp-grid--3,
    .cp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cp-split,
    .cp-letter--with-photo { grid-template-columns: 1fr; gap: 32px; }
    .cp-split__media img { height: 340px; }
    .cp-letter--with-photo .cp-letter__photo { max-width: 300px; margin: 0 auto; order: -1; }
    .cp-profile { grid-template-columns: 1fr; gap: 24px; }
    .cp-profile__aside .cp-photo { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 767px) {
    .cp-hero { padding: 40px 0 36px; }
    .cp-hero p { font-size: 16px; }
    .cp-section { padding: 44px 0; }
    .cp-grid--2,
    .cp-grid--3,
    .cp-grid--4,
    .cp-values,
    .cp-checklist--2col { grid-template-columns: 1fr; }
    .cp-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .cp-split__media img { height: 260px; }
    .cp-card { padding: 22px; }
    .cp-letter { padding: 28px 22px; }
    .cp-profile { padding: 24px 20px; }
    .cp-quote { padding: 22px 20px 18px 56px; }
    .cp-quote::before { left: 14px; font-size: 60px; }
    .cp-quote p { font-size: 17px; }
    .cp-highlight { padding: 28px 22px; }
    .cp-highlight p { font-size: 16px; }
    .cp-cta { padding: 28px 22px; }
    .cp-feature { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
    .cp-feature .cp-icon { width: 52px; height: 52px; font-size: 22px; }
    /* Justified text leaves wide gaps on narrow screens */
    .cp-prose p,
    .cp-card p { text-align: left; }
    .cp-member { padding: 20px 12px 18px; }
    .cp-member .cp-avatar,
    .cp-member__photo { width: 72px; height: 72px; font-size: 24px; }
    .cp-member h3 { font-size: 15px; }
    .cp-member p { font-size: 13px; }
}

@media (max-width: 340px) {
    .cp-team { grid-template-columns: 1fr; }
}
