/* ==========================================================================
   PATHS Joint Master — index3 Extensions
   Loaded via $additional_css on top of jm-paths-theme.css.
   Adds: sticky quick-strip, semester journey, 2-col faculty layout.
   ========================================================================== */

:root {
    --jm3-green-dark: #1a9960;
    --jm3-hero-img: url('../img/px-michaela-st-3448542-19970150_1537-90.jpg');
}

/* ============================================================
   Quick-action strip (sticky below navbar)
   ============================================================ */
.jm3-quick-strip {
    background: var(--jm-secondary);
    padding: 0.65rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    position: sticky;
    top: var(--jm-nav-height);
    z-index: 100;
}
.jm3-strip-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--jm3-green-dark);
    letter-spacing: 0.04em;
}
.jm3-quick-strip .btn-light {
    background: rgba(255,255,255,0.88);
    border: none;
    color: var(--jm-primary);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--jm-radius-pill);
}
.jm3-quick-strip .btn-light:hover {
    background: var(--jm-white);
    color: var(--jm-primary-dark);
}
.jm3-quick-strip .btn-outline-light {
    border-color: rgba(0,0,0,0.25);
    color: var(--jm-primary-dark);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: var(--jm-radius-pill);
}
.jm3-quick-strip .btn-outline-light:hover {
    background: var(--jm-white);
    border-color: transparent;
    color: var(--jm-primary);
}

/* ============================================================
   Semester journey timeline
   ============================================================ */
.jm3-semester-journey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    margin-bottom: 2.5rem;
}
.jm3-semester-journey::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 12.5%;
    width: 75%;
    height: 3px;
    background: linear-gradient(90deg, var(--jm-primary) 0%, var(--jm3-green-dark) 100%);
    z-index: 0;
}
.jm3-semester-block {
    position: relative;
    padding: 0 0.75rem;
    text-align: center;
    z-index: 1;
}
.jm3-semester-dot {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--jm-white);
    margin: 0 auto 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.jm3-dot-s1, .jm3-dot-s3 { background: var(--jm-primary); }
.jm3-dot-s2, .jm3-dot-s4 { background: var(--jm3-green-dark); }
.jm3-semester-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jm-text-muted);
    margin-bottom: 0.3rem;
}
.jm3-semester-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--jm-text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.35;
}
.jm3-semester-detail {
    font-size: 0.78rem;
    color: var(--jm-text-light);
    line-height: 1.55;
    margin: 0;
}
.jm3-semester-badge {
    display: inline-block;
    background: var(--jm-accent-light);
    color: var(--jm3-green-dark);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--jm-radius-pill);
    margin-top: 0.4rem;
}
@media (max-width: 767px) {
    .jm3-semester-journey {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.5rem;
    }
    .jm3-semester-journey::before { display: none; }
}
@media (max-width: 480px) {
    .jm3-semester-journey { grid-template-columns: 1fr; }
}

/* ============================================================
   Faculty — 2-column desktop layout
   Coordinator (col-lg-4, sticky) + grid (col-lg-8)
   ============================================================ */
.jm3-coordinator-portrait {
    background: var(--jm-white);
    border-radius: var(--jm-radius);
    border: 2px solid var(--jm-secondary);
    box-shadow: var(--jm-shadow-md);
    padding: 2rem 1.5rem;
    text-align: center;
    position: sticky;
    top: calc(var(--jm-nav-height) + 1rem);
}
.jm3-coordinator-portrait .jm-faculty-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-width: 4px;
}
.jm3-coordinator-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jm-white);
    background: var(--jm3-green-dark);
    padding: 3px 12px;
    border-radius: var(--jm-radius-pill);
    margin-bottom: 0.75rem;
}
.jm3-coordinator-portrait .jm-faculty-name {
    font-size: 1.05rem;
}
.jm3-coordinator-portrait .jm-faculty-bio {
    font-size: 0.82rem;
    margin-top: 0.5rem;
}
@media (max-width: 991px) {
    .jm3-coordinator-portrait {
        position: static;
        margin-bottom: 1.5rem;
    }
}

/* ============================================================
   Hero — Pexels photo background (discreet, left-anchored)
   Gradient keeps text readable; image bleeds in on the right.
   ============================================================ */
.jm-hero {
    background:
        linear-gradient(105deg,
            rgba(42, 67, 150, 0.95)  0%,
            rgba(42, 67, 150, 0.88) 38%,
            rgba(42, 67, 150, 0.52) 62%,
            rgba(15, 25, 80,  0.15) 100%
        ),
        var(--jm3-hero-img) left center / cover no-repeat;
}

/* ============================================================
   Hero bottom row: EU badge + EQAR badge side by side
   ============================================================ */
.jm3-hero-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.jm3-hero-badges .jm-hero-eu-badge {
    margin-top: 0;
    flex-shrink: 0;
}
.jm3-hero-badges .jm-hero-eu-badge img {
    height: 40px;
}
.jm3-accred-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    text-decoration: none;
}
.jm3-accred-logo {
    height: 28px;
    width: auto;
    display: block;
}
.jm3-accred-label {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--jm3-green-dark);
    line-height: 1.2;
    display: block;
}
.jm3-accred-sub {
    font-size: 0.56rem;
    color: #555;
    line-height: 1.3;
    display: block;
}
