/* =====================================================================
   Jagan Nath University — Home page styles
   Location: wwwroot/assets/css/home-page.css
   NOTE: this is a plain .css file, so at-rules use a single "@"
   (@media, @keyframes, @supports). The "@@" form is only for .cshtml.
   ===================================================================== */


/* =====================================================================
   1. GENERIC CARDS / SWIPER (legacy)
   ===================================================================== */
.cards {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cards-body {
    padding: 10px;
}

.h6-color {
    color: white;
}

.contentss {
    position: absolute;
    width: 300px;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
}

.cards img {
    width: 280px !important;
    height: 200px !important;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.swiper {
    width: 100%;
    padding: 30px 0;
}

.swiper-slide {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    justify-content: center;
}

.card {
    width: 100%;
    height: 150px !important;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #0B358A;
    box-shadow: 2px 2px 8px #888888;
}

.card-body {
    padding: 20px;
    height: 105px;
    text-align: center;
}

.post-slide-title-size {
    height: 35px;
    text-align: center;
    padding: 20px;
}

.card-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.card-text {
    font-size: 14px;
    color: white;
}


/* =====================================================================
   2. FACULTY & STUDENT RECOGNITION
   Same #CB4C06 palette as the Faculties section.
   ===================================================================== */
.jt-recognition {
    --rec-50:  #FFF7F2;
    --rec-100: #FDEBDF;
    --rec-200: #F8D2B8;
    --rec-500: #CB4C06;
    --rec-600: #A93F05;
    --rec-800: #642503;
    --rec-900: #3D1702;
    --rec-text: #6B5244;
    padding: 72px 16px 80px;
    background: #fff;
    border-top: 1px solid var(--rec-100);
}

.jt-rec-wrap {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------- Header ---------- */
.jt-rec-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: end;
    gap: 20px 56px;
    margin-bottom: 40px;
}

.jt-recognition .jt-rec-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--rec-900);
}

    .jt-recognition .jt-rec-head h2::after {
        content: "";
        display: block;
        width: 56px;
        height: 4px;
        margin-top: 16px;
        border-radius: 2px;
        background: var(--rec-500);
    }

.jt-recognition .jt-rec-head p {
    margin: 0;
    max-width: 56ch;
    padding-left: 20px;
    border-left: 2px solid var(--rec-500);
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--rec-text);
}

/* ---------- Grid ---------- */
.jt-rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: 28px;
}

/* ---------- Card ---------- */
.jt-rec-card {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--rec-100);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(61, 23, 2, .06), 0 16px 36px -18px rgba(61, 23, 2, .30);
    transition: box-shadow .3s ease, border-color .3s ease;
}

    .jt-rec-card:hover {
        border-color: var(--rec-200);
        box-shadow: 0 2px 4px rgba(61, 23, 2, .06), 0 24px 46px -18px rgba(203, 76, 6, .40);
    }

/* Photo */
.jt-rec-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--rec-100);
}

    .jt-rec-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transition: transform .6s ease;
    }

    .jt-rec-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(61, 23, 2, 0) 55%, rgba(61, 23, 2, .45) 100%);
    }

.jt-rec-card:hover .jt-rec-media img {
    transform: scale(1.04);
}

/* Faculty / Student chip */
.jt-rec-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
    color: #fff;
    background: var(--rec-500);
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4);
}

.jt-rec-card--student .jt-rec-chip {
    background: var(--rec-900);
    border: 1px solid rgba(255, 255, 255, .35);
}

/* Body */
.jt-rec-body {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 22px;
    text-align: left;
}

.jt-recognition .jt-rec-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--rec-900);
}

.jt-recognition .jt-rec-role {
    margin: 4px 0 18px;
    font-size: .84rem;
    line-height: 1.5;
    color: var(--rec-text);
}

/* Highlighted achievement */
.jt-rec-feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--rec-50);
    border: 1px solid var(--rec-100);
}

.jt-rec-feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--rec-500);
    color: #fff;
}

    .jt-rec-feat-icon svg,
    .jt-rec-link svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .jt-rec-feat-icon svg {
        width: 20px;
        height: 20px;
    }

.jt-rec-feat-label {
    display: block;
    margin-bottom: 2px;
    font-size: .76rem;
    font-weight: 600;
    color: var(--rec-600);
}

.jt-rec-feat strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rec-900);
}

/* Key facts */
.jt-rec-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 16px 0 20px;
}

    .jt-rec-facts dt {
        margin: 0;
        font-size: .74rem;
        font-weight: 600;
        color: var(--rec-text);
    }

    .jt-rec-facts dd {
        margin: 2px 0 0;
        font-size: .92rem;
        font-weight: 700;
        color: var(--rec-900);
        overflow-wrap: anywhere;
    }

/* Link */
.jt-rec-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1.5px solid var(--rec-500);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--rec-500);
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

    .jt-rec-link svg {
        width: 16px;
        height: 16px;
        transition: transform .25s ease;
    }

    .jt-rec-link:hover,
    .jt-rec-link:focus-visible {
        background: var(--rec-500);
        color: #fff;
    }

        .jt-rec-link:hover svg {
            transform: translateX(3px);
        }

    .jt-rec-link:focus-visible {
        outline: 3px solid var(--rec-200);
        outline-offset: 2px;
    }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .jt-recognition {
        padding: 56px 16px 64px;
    }

    .jt-rec-head {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }
}

@media (max-width: 600px) {
    .jt-recognition {
        padding: 44px 14px 52px;
    }

    .jt-recognition .jt-rec-head p {
        padding-left: 14px;
        font-size: .96rem;
    }

    .jt-rec-card {
        grid-template-columns: 1fr;
    }

    .jt-rec-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .jt-rec-body {
        padding: 22px 18px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jt-rec-card,
    .jt-rec-media img,
    .jt-rec-link,
    .jt-rec-link svg {
        transition: none;
    }

    .jt-rec-card:hover .jt-rec-media img,
    .jt-rec-link:hover svg {
        transform: none;
    }
}


/* =====================================================================
   3. BANNER
   ===================================================================== */
.home.banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .home.banner .owl-carousel,
    .home.banner .owl-stage-outer,
    .home.banner .owl-stage,
    .home.banner .owl-item {
        width: 100%;
        height: auto;
    }

    .home.banner .slide {
        width: 100%;
    }

    /* Linked slide: the <a> wraps the whole <picture> */
    .home.banner .slide > a {
        display: block;
    }

    .home.banner picture {
        display: block;
        width: 100%;
    }

        .home.banner picture img,
        .home.banner .owl-item img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

@media (max-width: 767px) {
    .home.banner {
        margin-top: 0;
    }

        .home.banner .owl-nav {
            display: none;
        }

        .home.banner .owl-dots {
            bottom: 8px;
        }
}


/* =====================================================================
   4. NEWS, NOTICES & EVENTS  (+ Faculties theme tokens)
   ===================================================================== */
.jt-home {
    --jt-primary: var(--bs-primary, #CB4C06);
    --jt-primary-dark: color-mix(in srgb, var(--jt-primary) 78%, #000);
    --jt-primary-tint: color-mix(in srgb, var(--jt-primary) 8%, #fff);
    --jt-primary-line: color-mix(in srgb, var(--jt-primary) 18%, #fff);
    --jt-text: #1f2937;
    --jt-muted: #5f6b7a;
    --jt-line: #e5e9f0;
    --jt-accent: #f5a623;
    --t-result: #198754;
    --t-notice: #d9480f;
    --t-exam: #6f42c1;
    --t-event: var(--jt-primary);
    --t-recruitment: #0f766e;
    --t-seminar: #9c3d8f;
    --t-competition: #c2410c;
}

/* Fallback for browsers without color-mix() */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
    .jt-home {
        --jt-primary-dark: var(--jt-primary);
        --jt-primary-tint: #f3f6fb;
        --jt-primary-line: #dbe3ef;
    }
}

/* ---------- Layout ---------- */
.jt-home {
    padding: 40px 16px;
}

.jt-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 992px) {
    .jt-grid {
        grid-template-columns: 1fr;
    }
}

.jt-panel {
    background: #fff;
    border: 1px solid var(--jt-line);
    border-top: 4px solid #CB4C06;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ---------- Panel header ---------- */
.jt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: var(--jt-primary-tint);
    border-bottom: 1px solid var(--jt-primary-line);
}

.jt-head-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jt-head-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #CB4C06;
    color: #fff;
    flex-shrink: 0;
}

.jt-head h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--jt-primary-dark);
}

.jt-head p {
    margin: 2px 0 0;
    font-size: .82rem;
    color: var(--jt-muted);
}

.jt-pause {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--jt-primary-line);
    background: #fff;
    color: var(--jt-primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

    .jt-pause:hover {
        background: var(--jt-primary);
        color: #fff;
    }

    .jt-pause .i-play {
        display: none;
    }

    .jt-pause[aria-pressed="true"] .i-play {
        display: block;
    }

    .jt-pause[aria-pressed="true"] .i-pause {
        display: none;
    }

/* ---------- Scroller ---------- */
.jt-scroll {
    position: relative;
    height: 460px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 20px, #000 calc(100% - 30px), transparent 100%);
}

.jt-track {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    animation: jt-scroll var(--jt-duration, 60s) linear infinite;
}

.jt-scroll:hover .jt-track,
.jt-scroll:focus-within .jt-track,
.jt-panel.is-paused .jt-track {
    animation-play-state: paused;
}

@keyframes jt-scroll {
    to {
        transform: translateY(-50%);
    }
}

/* ---------- Item ---------- */
.jt-item {
    --tag: var(--jt-primary);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 14px 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--jt-line);
    border-left: 4px solid var(--tag);
    border-radius: 8px;
    transition: box-shadow .2s, border-color .2s;
}

    .jt-item:hover {
        box-shadow: 0 6px 18px rgba(15, 23, 42, .1);
        border-color: var(--jt-primary-line);
        border-left-color: var(--tag);
    }

    .jt-item[data-type="result"]      { --tag: var(--t-result); }
    .jt-item[data-type="notice"]      { --tag: var(--t-notice); }
    .jt-item[data-type="exam"]        { --tag: var(--t-exam); }
    .jt-item[data-type="event"]       { --tag: var(--t-event); }
    .jt-item[data-type="recruitment"] { --tag: var(--t-recruitment); }
    .jt-item[data-type="seminar"]     { --tag: var(--t-seminar); }
    .jt-item[data-type="competition"] { --tag: var(--t-competition); }

.jt-date {
    flex-shrink: 0;
    width: 62px;
    text-align: center;
    border: 1px solid var(--jt-primary-line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--jt-primary-tint);
}

    .jt-date .d {
        display: block;
        padding: 8px 2px 6px;
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1;
        color: #CB4C06;
        white-space: nowrap;
    }

        .jt-date .d:has(+ .m) {
            letter-spacing: -.02em;
        }

    .jt-date .m {
        display: block;
        padding: 3px 0;
        font-size: .68rem;
        font-weight: 600;
        color: #fff;
        /* background: var(--jt-primary); */
        background: #CB4C06;
    }

.jt-body {
    flex: 1;
    min-width: 0;
}

.jt-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--tag);
}

    .jt-tag::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--tag);
    }

.jt-new {
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 20px;
    font-size: .66rem;
    font-weight: 700;
    color: #fff;
    background: #dc3545;
}

.jt-body h3 {
    margin: 0 0 4px;
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.35;
}

    .jt-body h3 a {
        color: var(--jt-text);
        text-decoration: none;
    }

        .jt-body h3 a:hover {
            color: var(--jt-primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.jt-body p {
    margin: 0 0 6px;
    font-size: .84rem;
    line-height: 1.55;
    color: var(--jt-muted);
}

    .jt-body p strong {
        color: var(--jt-text);
    }

.jt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.jt-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    font-weight: 600;
    color: #CB4C06;
    text-decoration: none;
}

    .jt-link:hover {
        color: var(--jt-primary-dark);
        text-decoration: underline;
    }

    .jt-link.is-pdf::before {
        content: "PDF";
        padding: 1px 4px;
        border-radius: 3px;
        font-size: .6rem;
        font-weight: 700;
        color: #fff;
        background: #c0392b;
    }

/* ---------- Panel footer ---------- */
.jt-foot {
    margin-top: auto;
    padding: 12px 20px;
    border-top: 1px solid var(--jt-line);
    background: #fafbfc;
    font-size: .76rem;
    color: var(--jt-muted);
}

.jt-viewall {
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    background: #CB4C06;
    text-decoration: none;
    transition: background .2s;
}

    .jt-viewall:hover {
        color: #fff;
        background: #8e3504;
    }

/* ---------- Heading guard (stops older theme CSS hiding panel headings) ---------- */
.jt-home .jt-panel .jt-head {
    position: static !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    transform: none !important;
    z-index: 1;
}

    .jt-home .jt-panel .jt-head h2 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        background: none !important;
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        text-indent: 0 !important;
        color: #CB4C06;
    }

    .jt-home .jt-panel .jt-head p {
        display: block !important;
        margin: 2px 0 0 !important;
        color: var(--jt-muted) !important;
    }


/* =====================================================================
   5. FACULTIES
   Palette: #CB4C06 and its tints/shades only.
   ===================================================================== */
.jt-faculties {
    --fac-50:  #FFF7F2;   /* page wash          */
    --fac-100: #FDEBDF;   /* hairlines          */
    --fac-200: #F8D2B8;   /* soft borders/text  */
    --fac-300: #EFA879;   /* light accent       */
    --fac-500: #CB4C06;   /* brand              */
    --fac-600: #A93F05;   /* hover              */
    --fac-700: #8A3304;
    --fac-800: #642503;   /* band               */
    --fac-900: #3D1702;   /* headings / ink     */
    --fac-text: #6B5244;  /* body text (warm grey) */
    --fac-gap: 16px;
    --fac-overlap: 64px;  /* how far the cards rise into the band */
    position: relative;
    padding: 0 0 44px;
    background: var(--fac-50);
}

.jt-fac-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Header band ---------- */
.jt-fac-band {
    padding: 10px 0 calc(var(--fac-overlap) + 28px);
    color: #fff;
    background:
        radial-gradient(900px 420px at 88% -20%, rgba(203, 76, 6, .60), transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 16px),
        linear-gradient(160deg, var(--fac-800) 0%, var(--fac-900) 100%);
}

.jt-fac-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: end;
    gap: 12px 40px;
}

.jt-faculties .jt-fac-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
}

    .jt-faculties .jt-fac-head h2::after {
        content: "";
        display: block;
        width: 56px;
        height: 4px;
        margin-top: 10px;
        border-radius: 2px;
        background: var(--fac-500);
    }

.jt-faculties .jt-fac-head p {
    margin: 0;
    max-width: 52ch;
    padding-left: 16px;
    border-left: 2px solid var(--fac-500);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--fac-200);
}

/* ---------- Grid: 4 on top, 3 centred below ---------- */
.jt-fac-grid {
    position: relative;
    margin-top: calc(-1 * var(--fac-overlap));
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--fac-gap);
}

.jt-fac-card {
    grid-column: span 2;
}

    .jt-fac-card:nth-child(5) {
        grid-column: 2 / span 2;
    }

/* ---------- Card ---------- */
.jt-fac-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--fac-100);
    border-radius: 14px;
    overflow: hidden;
    color: var(--fac-text);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(61, 23, 2, .06), 0 14px 34px -14px rgba(61, 23, 2, .28);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .jt-fac-card:hover,
    .jt-fac-card:focus-visible {
        transform: translateY(-5px);
        border-color: var(--fac-200);
        color: var(--fac-text);
        box-shadow: 0 2px 4px rgba(61, 23, 2, .06), 0 24px 46px -16px rgba(203, 76, 6, .42);
    }

    .jt-fac-card:focus-visible {
        outline: 3px solid var(--fac-300);
        outline-offset: 3px;
    }

    /* Brand line that draws across the bottom on hover */
    .jt-fac-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: var(--fac-500);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .4s ease;
    }

    .jt-fac-card:hover::after,
    .jt-fac-card:focus-visible::after {
        transform: scaleX(1);
    }

/* Image */
.jt-fac-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fac-100);
}

    .jt-fac-media img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

    .jt-fac-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(61, 23, 2, 0) 50%, rgba(61, 23, 2, .40) 100%);
        transition: background .3s ease;
    }

.jt-fac-card:hover .jt-fac-media img {
    transform: scale(1.06);
}

.jt-fac-card:hover .jt-fac-media::after {
    background: linear-gradient(180deg, rgba(203, 76, 6, .10) 0%, rgba(100, 37, 3, .55) 100%);
}

/* Body */
.jt-fac-info {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 18px 14px;
    text-align: left;
}

/* Icon sits on the seam between image and text */
.jt-fac-icon {
    position: absolute;
    top: -24px;
    left: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 14px;
    background: var(--fac-500);
    color: #fff;
    box-shadow: 0 8px 18px -6px rgba(203, 76, 6, .55);
    transition: background .3s ease;
}

.jt-fac-card:hover .jt-fac-icon {
    background: var(--fac-700);
}

.jt-fac-icon svg,
.jt-fac-arrow svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jt-fac-icon svg {
    width: 24px;
    height: 24px;
}

.jt-faculties .jt-fac-info h3 {
    margin: 0 0 6px;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--fac-900);
    transition: color .3s ease;
}

.jt-fac-card:hover .jt-fac-info h3 {
    color: var(--fac-600);
}

.jt-fac-pre {
    display: block;
    margin-bottom: 3px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--fac-500);
}

.jt-faculties .jt-fac-info p {
    /* margin: 0 0 12px; */
    margin: 0 0 0;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--fac-text);
}

/* Footer row: label left, arrow right */
.jt-fac-cta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--fac-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--fac-500);
}

.jt-fac-arrow {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--fac-200);
    border-radius: 50%;
    color: var(--fac-500);
    transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}

    .jt-fac-arrow svg {
        width: 16px;
        height: 16px;
    }

.jt-fac-card:hover .jt-fac-arrow,
.jt-fac-card:focus-visible .jt-fac-arrow {
    background: var(--fac-500);
    border-color: var(--fac-500);
    color: #fff;
    transform: translateX(3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .jt-fac-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .jt-fac-card:nth-child(5) {
        grid-column: span 2;
    }

    .jt-fac-card:nth-child(7) {
        grid-column: 3 / span 2;
    }
}

@media (max-width: 900px) {
    .jt-faculties {
        --fac-overlap: 56px;
        padding-bottom: 36px;
    }

    .jt-fac-band {
        padding-top: 32px;
    }

    .jt-fac-head {
        grid-template-columns: 1fr;
    }

    .jt-fac-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        --fac-gap: 14px;
    }

    .jt-fac-card:nth-child(7) {
        grid-column: 2 / span 2;
    }
}

@media (max-width: 600px) {
    .jt-faculties {
        --fac-overlap: 40px;
        padding-bottom: 28px;
    }

    .jt-fac-band {
        padding-top: 28px;
    }

    .jt-faculties .jt-fac-head p {
        font-size: .98rem;
        padding-left: 14px;
    }

    .jt-fac-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        --fac-gap: 12px;
    }

    .jt-fac-card,
    .jt-fac-card:nth-child(5),
    .jt-fac-card:nth-child(7) {
        grid-column: auto;
    }

    .jt-fac-media {
        aspect-ratio: 16 / 7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jt-fac-card,
    .jt-fac-card::after,
    .jt-fac-media img,
    .jt-fac-media::after,
    .jt-fac-icon,
    .jt-fac-arrow,
    .jt-faculties .jt-fac-info h3 {
        transition: none;
    }

    .jt-fac-card:hover,
    .jt-fac-card:focus-visible,
    .jt-fac-card:hover .jt-fac-media img,
    .jt-fac-card:hover .jt-fac-arrow {
        transform: none;
    }
}


/* ---------- News/Events: accessibility & mobile ---------- */
.jt-home a:focus-visible,
.jt-pause:focus-visible {
    outline: 3px solid var(--jt-accent);
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .jt-scroll {
        height: 380px;
    }

    .jt-item {
        margin: 0 10px 8px;
        padding: 10px;
        gap: 10px;
    }

    .jt-date {
        width: 54px;
    }

        .jt-date .d {
            font-size: 1.05rem;
        }

    .jt-head {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jt-track {
        animation: none;
    }

    .jt-scroll {
        overflow-y: auto;
    }

    .jt-pause, .jt-hint {
        display: none;
    }
}


/* =====================================================================
   6. BLOGS  (scoped to .ju-blogs)
   ===================================================================== */
.ju-blogs {
    --brand: #CB4C06;
    --brand-dark: #A33D05;
    --brand-tint: #FDF1E9;
    --ink: #1F2937;
    --text: #374151;
    --muted: #6B7280;
    --line: #E5E7EB;
    --paper: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    text-align: left;
    color: var(--text);
}

    .ju-blogs .ju-blogs__head {
        position: static;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 0 .6rem;
        margin: 0 0 1rem;
        background: transparent;
        border-bottom: 1px solid var(--line);
        box-shadow: none;
    }

.ju-blogs__title {
    position: relative;
    margin: 0;
    padding-left: .9rem;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.01em;
    color: var(--ink);
}

    .ju-blogs__title::before {
        content: "";
        position: absolute;
        left: 0;
        top: .12em;
        bottom: .12em;
        width: 5px;
        border-radius: 3px;
        background: var(--brand);
    }

    .ju-blogs__title a {
        color: inherit;
        text-decoration: none;
    }

        .ju-blogs__title a:hover,
        .ju-blogs__title a:focus-visible {
            color: var(--brand);
        }

.ju-blogs__all {
    flex-shrink: 0;
    padding: .55rem 1.25rem;
    border: 1.5px solid var(--brand);
    border-radius: 6px;
    background: var(--paper);
    color: var(--brand);
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}

    .ju-blogs__all:hover,
    .ju-blogs__all:focus-visible {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }

    .ju-blogs__all:focus-visible {
        outline: 3px solid var(--brand-tint);
        outline-offset: 2px;
    }

.ju-blogs__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.ju-blogs__list {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.ju-post {
    position: relative;
    background: var(--paper);
}

.ju-post__media {
    overflow: hidden;
    border-radius: 8px;
    background: var(--brand-tint);
}

.ju-post img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .35s ease;
}

.ju-post:hover img {
    transform: scale(1.03);
}

.ju-post__title {
    margin: 0;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
}

    /* One link covers the whole card */
    .ju-post__title a {
        color: var(--ink);
        text-decoration: none;
        transition: color .2s;
    }

        .ju-post__title a::after {
            content: "";
            position: absolute;
            inset: 0;
        }

.ju-post:hover .ju-post__title a {
    color: var(--brand);
}

.ju-post__title a:focus-visible {
    outline: none;
}

.ju-post:focus-within {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 10px;
}

.ju-post__date {
    margin: 0;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 500;
}

.ju-post__more {
    align-self: flex-start;
    color: var(--brand);
    font-weight: 600;
    font-size: .88rem;
    background-image: linear-gradient(var(--brand), var(--brand));
    background-size: 0 1.5px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size .25s ease;
}

.ju-post:hover .ju-post__more {
    background-size: 100% 1.5px;
}

/* Featured post */
.ju-post--featured {
    padding: .6rem;
    border: 1px solid var(--line);
    border-top: 4px solid var(--brand);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(31, 41, 55, .06);
}

    .ju-post--featured img {
        aspect-ratio: 16 / 9;
    }

    .ju-post--featured .ju-post__body {
        display: flex;
        flex-direction: column;
        gap: .35rem;
        padding: .6rem .15rem .1rem;
    }

    .ju-post--featured .ju-post__title {
        font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    }

/* Compact posts */
.ju-post--compact {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: .75rem;
    align-items: center;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s, background .2s;
}

    .ju-post--compact:hover {
        border-color: var(--brand);
        background: var(--brand-tint);
    }

    .ju-post--compact img {
        aspect-ratio: 4 / 3;
        border-radius: 6px;
    }

    .ju-post--compact .ju-post__media {
        border-radius: 6px;
    }

    .ju-post--compact .ju-post__body {
        display: flex;
        flex-direction: column;
        gap: .2rem;
    }

    .ju-post--compact .ju-post__title {
        font-size: 1rem;
    }

@media (max-width: 900px) {
    .ju-blogs__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ju-post--featured {
        max-width: 680px;
    }
}

@media (max-width: 480px) {
    .ju-blogs {
        padding: 1rem .6rem;
    }

        .ju-blogs .ju-blogs__head {
            flex-direction: column;
            align-items: flex-start;
        }

    .ju-post--compact {
        grid-template-columns: 100px 1fr;
        gap: .6rem;
        padding: .4rem;
    }

        .ju-post--compact .ju-post__more {
            display: none;
        }
}

@media (prefers-reduced-motion: reduce) {
    .ju-blogs__all,
    .ju-post img,
    .ju-post__title a,
    .ju-post__more,
    .ju-post--compact {
        transition: none;
    }

    .ju-post:hover img {
        transform: none;
    }
}


/* =====================================================================
   7. RECRUITERS  (scoped to .ju-recruiters)
   ===================================================================== */
.ju-recruiters {
    --brand: #CB4C06;
    --ink: #1F2933;
    --muted: #6B7280;
    --border: #ECE3DD;
    --paper: #FFFFFF;
    --bg: #FAF7F5;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.ju-recruiters__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.ju-recruiters__title {
    position: relative;
    margin: 0;
    padding-bottom: .6rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
}

    .ju-recruiters__title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 70px;
        height: 3px;
        border-radius: 3px;
        background: var(--brand);
    }

.ju-recruiters__sub {
    margin: .5rem 0 0;
    color: var(--muted);
    font-size: .95rem;
}

.ju-recruiters__link {
    flex-shrink: 0;
    padding: .45rem 1rem;
    border: 1px solid var(--brand);
    border-radius: 6px;
    color: var(--brand);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}

    .ju-recruiters__link:hover,
    .ju-recruiters__link:focus-visible {
        background: var(--brand);
        color: #fff;
    }

.ju-recruiters .ju-logo {
    padding: 4px;
}

.ju-recruiters .ju-logo__box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    padding: 1rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color .25s, box-shadow .25s;
}

    .ju-recruiters .ju-logo__box:hover {
        border-color: rgba(203, 76, 6, .45);
        box-shadow: 0 6px 16px -8px rgba(203, 76, 6, .35);
    }

    /* Owl sets img width to 100%; keep logos at a consistent size instead */
    .ju-recruiters .owl-carousel .owl-item .ju-logo__box img,
    .ju-recruiters .ju-logo__box img {
        width: auto;
        max-width: 100%;
        max-height: 56px;
        object-fit: contain;
    }

@media (max-width: 576px) {
    .ju-recruiters {
        padding: 1.5rem 0;
    }

    .ju-recruiters__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ju-recruiters .ju-logo__box {
        height: 80px;
        padding: .75rem;
    }

        .ju-recruiters .owl-carousel .owl-item .ju-logo__box img,
        .ju-recruiters .ju-logo__box img {
            max-height: 44px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .ju-recruiters * {
        transition: none !important;
    }
}


/* =====================================================================
   8. ABOUT US
   ===================================================================== */
.about-us {
    --au-brand: #cb4c06;
    --au-brand-dark: #a33d05;
    --au-tint: #fdf1e9;
    --au-tint-deep: #f9dcc8;
    --au-white: #ffffff;
    --au-ink: #1f2937;
    --au-text: #4b5563;
    --au-line: #f1d5c2;
    --au-font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    position: relative;
    padding: clamp(1.25rem, 2.5vw, 2rem) 0;
    background: radial-gradient(circle at 92% 8%, rgba(203, 76, 6, 0.08) 0 18%, transparent 18.2%), linear-gradient(135deg, #fffaf6 0%, var(--au-tint) 55%, #fbe6d7 100%);
    color: var(--au-text);
    font-family: var(--au-font);
    overflow: hidden;
    isolation: isolate;
}

/* Image collage */
.about-us__media {
    position: relative;
    padding: 0 8% 10% 0;
}

    .about-us__media::before {
        content: "";
        position: absolute;
        top: 1.25rem;
        left: -1.25rem;
        width: 70%;
        height: 75%;
        background: var(--au-tint-deep);
        border-radius: 12px;
        z-index: -1;
    }

.about-us__img {
    margin: 0;
    overflow: hidden;
    background: var(--au-tint-deep);
}

    .about-us__img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.about-us__img--main {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
}

.about-us__img--inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    border: 6px solid var(--au-white);
    box-shadow: 0 24px 48px -20px rgba(143, 51, 3, 0.35);
}

/* Accreditation seal */
.about-us__seal {
    position: absolute;
    top: 1rem;
    right: 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    padding: 0.7rem;
    border-radius: 50%;
    background: var(--au-white);
    border: 2px solid var(--au-tint-deep);
    color: var(--au-brand);
    text-align: center;
    box-shadow: 0 14px 28px -12px rgba(143, 51, 3, 0.35);
    transform: rotate(-8deg);
}

.about-us__seal-grade {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1;
}

.about-us__seal-text {
    margin-top: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--au-brand-dark);
}

/* Content */
.about-us__content {
    max-width: 37rem;
}

.about-us__lead-in {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(203, 76, 6, 0.1);
    color: var(--au-brand-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.about-us__title {
    margin: 0 0 0.65rem;
    font-family: var(--au-font);
    font-weight: 800;
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--au-ink);
}

.about-us__text {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    color: var(--au-text);
}

    .about-us__text strong {
        font-weight: 700;
        color: var(--au-ink);
    }

/* Recognition facts */
.about-us__facts {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.9rem 0 1.1rem;
    padding: 0;
}

    .about-us__facts li {
        padding: 0.5rem 0.7rem;
        border: 1px solid var(--au-line);
        border-left: 3px solid var(--au-brand);
        border-radius: 8px;
        background: var(--au-white);
        font-size: 0.85rem;
        line-height: 1.35;
        color: var(--au-text);
    }

    .about-us__facts span {
        display: block;
        margin-bottom: 0.05rem;
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--au-brand-dark);
    }

/* Button (extra specificity so theme .btn styles can't hide the text) */
.about-us a.about-us__btn {
    --bs-btn-color: var(--au-white);
    --bs-btn-bg: var(--au-brand);
    --bs-btn-border-color: var(--au-brand);
    --bs-btn-hover-color: var(--au-brand);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: var(--au-brand);
    --bs-btn-active-color: var(--au-brand);
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: var(--au-brand);
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.3rem;
    border: 2px solid var(--au-brand);
    border-radius: 999px;
    background: var(--au-brand);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .about-us a.about-us__btn:hover,
    .about-us a.about-us__btn:active {
        background: transparent;
        color: #cb4c06 !important;
        border-color: var(--au-brand);
    }

    .about-us a.about-us__btn:focus-visible {
        outline: 3px solid var(--au-tint-deep);
        outline-offset: 3px;
        box-shadow: none;
    }

    .about-us a.about-us__btn .bi {
        color: inherit;
        transition: transform 0.2s ease;
    }

    .about-us a.about-us__btn:hover .bi {
        transform: translateX(4px);
    }

@media (max-width: 991.98px) {
    .about-us__media {
        max-width: 500px;
        margin: 0 auto 0.5rem;
    }

        .about-us__media::before {
            left: -0.75rem;
        }

    .about-us__content {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .about-us__facts {
        grid-template-columns: 1fr;
    }

    .about-us a.about-us__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-us a.about-us__btn,
    .about-us a.about-us__btn .bi {
        transition: none;
    }
}
