/* ============================================================
   RUFORUM — ARCAA
   Standalone styles for /arcaa. Self-contained on purpose: this
   page stands on its own and must not depend on the projects
   section, which is not deployed.

   Type comes from style.css: var(--font-body) is DM Sans and
   var(--font-display) is Playfair Display, the same pairing the
   home page uses. Change them there, not here.
============================================================ */

:root {
    --proj-green-deep:  #1b4332;
    --proj-green:       #2d6a4f;
    --proj-green-light: #40916c;
    --proj-gold:        #b8963e;
    --proj-muted:       #718096;
    --proj-rule:        #e2e8f0;
    --proj-bg:          #f5f0e8;
    --proj-ongoing:     #2d6a4f;
    --proj-completed:   #4a5568;
    --proj-upcoming:    #b8963e;
}


.proj-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}
/* ── STATUS PILL ─────────────────────────────────────────── */
.proj-status {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    line-height: 1;
    white-space: nowrap;
    background: var(--proj-ongoing);
}

.proj-status--ongoing   { background: var(--proj-ongoing); }
.proj-status--completed { background: var(--proj-completed); }
.proj-status--upcoming  { background: var(--proj-upcoming); }

.proj-status--hero { margin-bottom: 14px; }
/* ── BUTTONS ─────────────────────────────────────────────── */
.proj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--proj-green);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.proj-btn:hover {
    background: var(--proj-green-deep);
    transform: translateY(-1px);
}

.proj-btn i { font-size: 0.72rem; }

.proj-btn--block {
    display: flex;
    width: 100%;
    margin-top: 10px;
}

.proj-btn--outline {
    background: transparent;
    color: var(--proj-green) !important;
    border: 1px solid var(--proj-green);
}

.proj-btn--outline:hover {
    background: var(--proj-green);
    color: #fff !important;
}

/* ── PAGE ────────────────────────────────────────────────── */
.proj-hero {
    background: var(--proj-green-deep);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 70px 0 60px;
    font-family: var(--font-body);
}

.proj-hero--plain {
    background: linear-gradient(135deg, #0b332a, #2d6a4f);
}

.proj-breadcrumb {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.proj-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.proj-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.proj-breadcrumb span { margin: 0 7px; opacity: 0.6; }
.proj-breadcrumb strong { color: #fff; font-weight: 600; }

.proj-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    max-width: 900px;
}

.proj-hero-tagline {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
    margin: 0 0 18px;
    line-height: 1.65;
}

.proj-hero-period {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.proj-hero-period i { color: var(--proj-gold); }
.proj-hero-sep { opacity: 0.4; margin: 0 6px; }

/* ── DETAIL BODY ─────────────────────────────────────────── */
.proj-detail {
    background: var(--proj-bg);
    padding: 56px 0 70px;
    font-family: var(--font-body);
}

.proj-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: start;
}

.proj-main {
    background: #fff;
    border-radius: 14px;
    padding: 36px 40px 40px;
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.07);
}

.proj-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--proj-green-deep);
    font-weight: 400;
    border-left: 3px solid var(--proj-gold);
    padding-left: 18px;
    margin: 0 0 28px;
}

.proj-h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--proj-green-deep);
    margin: 32px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--proj-rule);
}

.proj-h2:first-child { margin-top: 0; }

.proj-main p {
    font-size: 0.94rem;
    line-height: 1.85;
    color: #4a5568;
    margin: 0 0 16px;
}

/* Inline links inside the project narrative */
.proj-main p a,
.proj-main li a {
    color: var(--proj-green);
    font-weight: 600;
}

.proj-main p a:hover,
.proj-main li a:hover {
    color: var(--proj-gold);
    text-decoration: underline;
}

.proj-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
}

.proj-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 11px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #4a5568;
}

.proj-list li strong { color: var(--proj-green-deep); font-weight: 600; }

.proj-list li::before {
    content: "\f105";               /* chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 6px;
    top: 1px;
    color: var(--proj-gold);
    font-size: 0.85rem;
}

.proj-list--check li::before {
    content: "\f00c";               /* check */
    left: 2px;
    color: var(--proj-green-light);
    font-size: 0.78rem;
}

.proj-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proj-partner {
    background: #f7fafc;
    border: 1px solid var(--proj-rule);
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 0.82rem;
    color: #4a5568;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */
.proj-facts {
    background: #fff;
    border-radius: 14px;
    padding: 26px 26px 28px;
    box-shadow: 0 2px 12px rgba(27, 67, 50, 0.07);
    position: sticky;
    top: 24px;
}

/* Optional partner/programme logo at the top of the sidebar card */
.proj-logo {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px;
}

.proj-facts h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--proj-gold);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--proj-rule);
}

.proj-fact { margin-bottom: 16px; }

.proj-fact-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--proj-muted);
    margin-bottom: 4px;
}

.proj-fact-value {
    display: block;
    font-size: 0.9rem;
    color: var(--proj-green-deep);
    font-weight: 600;
    line-height: 1.5;
}

.proj-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.proj-chip {
    background: #edf7f1;
    color: var(--proj-green);
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 0.74rem;
    font-weight: 600;
}

/* ── BACK LINK ───────────────────────────────────────────── */
.proj-back {
    background: var(--proj-bg);
    text-align: center;
    padding: 0 0 60px;
}

.proj-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--proj-green);
}

.proj-back a:hover { color: var(--proj-gold); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 992px) {
    .proj-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .proj-facts { position: static; }
    .proj-main { padding: 28px 24px 32px; }
}

@media (max-width: 640px) {
    .proj-container { padding: 0 20px; }
    .proj-hero { padding: 48px 0 42px; }
}
