﻿/* ====================================
   HOME PAGE
==================================== */

.home-page{
    max-width:1400px;
    margin:0 auto;
}

/* DATABASE-DRIVEN HOMEPAGE SLIDER */

.hero-section {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: #f8fafc;
}

.hero-slides {
    min-height: 320px;
}

.hero-slide {
    display: none;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 40px;
    min-height: 320px;
    padding: 28px 60px 42px;
    background: var(--slide-background, #f8fafc);
}

.hero-slide.is-active {
    display: grid;
    animation: heroSlideFade 350ms ease;
}

.hero-left {
    min-width: 0;
    z-index: 2;
}

.hero-eyebrow {
    margin: 0 0 8px;
    color: #f97316;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-left h1 {
    margin: 0 0 12px;
    color: var(--slide-heading, #0f3d91);
    font-size: clamp(34px, 3.2vw, 44px);
    line-height: 1.08;
}

.hero-left h1 span {
    display: block;
}

.hero-description {
    max-width: 680px;
    margin: 0 0 20px;
    color: var(--slide-text, #475569);
    font-size: 17px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}

.btn-primary {
    background: #0f3d91;
    color: #fff;
}

.btn-secondary {
    border: 2px solid #0f3d91;
    color: #0f3d91;
}

.hero-right {
    min-width: 0;
    text-align: center;
}

.hero-right picture {
    display: block;
}

.hero-right img {
    display: block;
    width: 100%;
    max-width: 430px;
    height: 245px;
    margin: auto;
    object-fit: contain;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 61, 145, 0.9);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
    background: #f97316;
}

.slider-arrow-previous {
    left: 12px;
}

.slider-arrow-next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #94a3b8;
    cursor: pointer;
}

.slider-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: #f97316;
}

@keyframes heroSlideFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* STATS */

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 24px 40px 12px;
}

.stat-card {
    display: flex;
    min-width: 0;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 16px 22px;
    border: 1px solid #e0e7f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgb(0 0 0 / 8%);
    text-align: left;
}

.stat-card-value {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf3ff;
    color: #0f3d91;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
}

.stat-card-label {
    min-width: 0;
    color: #26364f;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
}

/* CONTENT */

.content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 30px;
    padding: 20px 40px 4px;
}

.main-content {
    width: 100%;
    min-width: 0;
}

/* COURSES */

.courses-section {
    margin-bottom: 0;
}

.courses-section h2 {
    margin-bottom: 20px;
}

/* Compact homepage course cards */

.home-page .courses-section .course-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-page .courses-section .course-list-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgb(24 54 96 / 8%);
    transition: none;
}

.home-page .courses-section .course-list-card:hover {
    border-color: #e1e8f2;
    box-shadow: 0 4px 14px rgb(24 54 96 / 8%);
    transform: none;
}

.home-page .courses-section .course-image {
    align-self: stretch;
    width: 100%;
    height: auto;
    min-height: 150px;
    padding: 8px;
    overflow: hidden;
    border-radius: 9px;
    background: #071d37;
}

.home-page .courses-section .course-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.home-page .courses-section .course-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 2px 0 0 16px;
}

.home-page .courses-section .course-title {
    min-height: 0;
    margin: 0 0 7px;
    font-size: 1.05rem;
    line-height: 1.3;
}

.home-page .courses-section .course-description {
    display: -webkit-box;
    min-height: 0;
    margin: 0 0 10px;
    overflow: hidden;
    color: #5f6b7c;
    font-size: 0.84rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-page .courses-section .course-meta {
    gap: 10px;
    margin: auto 0 10px;
    padding-top: 9px;
    border-top: 1px solid #e6ebf2;
    color: #526075;
    font-size: 0.78rem;
}

.home-page .courses-section .course-action {
    margin-top: 0;
}

.home-page .courses-section .course-action .btn-primary {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    font-size: 0.82rem;
}

@media (max-width: 700px) {
    .home-page .courses-section .course-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .home-page .courses-section .course-list-card {
        grid-template-columns: 1fr;
    }

    .home-page .courses-section .course-image {
        height: 170px;
        min-height: 0;
    }

    .home-page .courses-section .course-content {
        padding: 14px 0 0;
    }
}

/* ====================================
   WHY CHOOSE AAKANSHA
==================================== */

.why-section {
    box-sizing: border-box;
    width: 100%;
    margin: 8px 0 0;
    padding: 16px 40px 4px;
    border-top: 1px solid #edf1f7;
}

.why-section-header {
    margin: 0 0 16px;
    text-align: center;
}

.why-section-header h2 {
    margin: 0;
    color: #17243b;
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 700;
    line-height: 1.2;
}

.why-section-divider {
    display: block;
    width: 58px;
    height: 3px;
    margin: 11px auto 0;
    border-radius: 999px;
    background: #f4660a;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.why-card {
    box-sizing: border-box;
    display: flex;
    min-width: 0;
    min-height: 215px;
    flex-direction: column;
    align-items: center;
    padding: 17px 13px;
    border: 1px solid #e2e8f1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgb(24 54 96 / 8%);
    text-align: center;
}

.why-card-icon {
    display: flex;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 15px;
    background: #f2f6fd;
    color: #16489e;
}

.why-card-icon svg {
    display: block;
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.why-card h3 {
    margin: 0 0 7px;
    color: #17243b;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.why-card p {
    margin: 0;
    color: #5c687a;
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 1180px) {
    .why-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .why-section {
        padding: 14px 16px 4px;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }
}

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

    .why-card {
        min-height: 0;
        padding: 17px;
    }
}

.professional-footer,
.site-footer {
    margin-top: 0;
}

/* ADVERTISEMENT */

.advertisement-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    padding: 18px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
}

.advertisement-sidebar h3 {
    margin: 0 0 14px;
    color: #9a3412;
    font-size: 1.15rem;
}

.ad-card {
    margin-bottom: 11px;
    padding: 14px 15px;
    border: 1px solid #ffedd5;
    border-left: 3px solid #f97316;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 10px rgb(154 52 18 / 7%);
}

.ad-card:last-child {
    margin-bottom: 0;
}

/* RESPONSIVE */

@media(max-width:992px){

    .content-wrapper{
        grid-template-columns:1fr;
    }

    .stats-section{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ====================================
   PUBLIC BATCHES
==================================== */

.batches-page,
.batch-details-page{
    padding:40px;
}

.batch-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:24px;
}

.batch-grid-compact{
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}

.batch-card,
.batch-details-card,
.empty-state{
    background:#ffffff;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.batch-card{
    display:flex;
    flex-direction:column;
    padding:24px;
}

.batch-card-header{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:space-between;
    margin-bottom:18px;
}

.batch-mode,
.batch-status{
    border-radius:999px;
    display:inline-flex;
    font-size:13px;
    font-weight:700;
    padding:7px 12px;
}

.batch-mode{
    background:#e8f0ff;
    color:#0f3d91;
}

.batch-status{
    background:#ecfdf3;
    color:#166534;
}

.batch-card h2,
.batch-card h3,
.batch-details-card h1{
    color:#0f3d91;
    margin-bottom:10px;
}

.batch-course{
    color:#f97316;
    font-weight:700;
    margin-bottom:16px;
}

.batch-facts{
    display:grid;
    gap:12px;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin:20px 0;
}

.batch-facts div{
    background:#f8fafc;
    border-radius:10px;
    padding:12px;
}

.batch-facts dt{
    color:#64748b;
    font-size:12px;
    font-weight:700;
    margin-bottom:4px;
    text-transform:uppercase;
}

.batch-facts dd{
    color:#1e293b;
    font-weight:700;
    margin:0;
}

.batch-card-action{
    display:block;
    margin-top:auto;
    text-align:center;
}

.batch-details-card{
    margin:0 auto;
    max-width:1000px;
    padding:40px;
}

.batch-introduction{
    color:#475569;
    font-size:18px;
    margin:20px 0;
}

.batch-facts-large{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.batch-schedule-section{
    border-top:1px solid #e5e7eb;
    margin-top:30px;
    padding-top:30px;
}

.batch-schedule-section h2,
.course-batches-section h2{
    color:#0f3d91;
    margin-bottom:20px;
}

.schedule-row{
    align-items:center;
    background:#f8fafc;
    border-radius:10px;
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    padding:14px 16px;
}

.batch-notes{
    background:#fff7ed;
    border-left:4px solid #f97316;
    border-radius:8px;
    margin:24px 0;
    padding:18px;
}

.course-batches-section{
    border-top:1px solid #e5e7eb;
    margin-top:30px;
    padding-top:30px;
}

.empty-state{
    grid-column:1 / -1;
    padding:40px;
    text-align:center;
}

.empty-state h2,
.empty-state h3{
    color:#0f3d91;
    margin-bottom:12px;
}

.empty-state p{
    color:#64748b;
    margin-bottom:24px;
}

.pagination-wrap{
    margin-top:30px;
}

@media(max-width:768px){
    .batches-page,
    .batch-details-page{
        padding:24px 16px;
    }

    .batch-details-card{
        padding:24px;
    }

    .batch-facts,
    .batch-facts-large{
        grid-template-columns:1fr;
    }

    .schedule-row{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
}

@media(max-width:768px){

    .hero-section,
    .hero-slides {
        min-height: 450px;
    }

    .hero-slide {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 450px;
        padding: 24px 44px 44px;
        text-align: center;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right img {
        max-width: 320px;
        height: 170px;
    }

    .slider-arrow {
        width: 34px;
        height: 34px;
    }

    .slider-arrow-previous {
        left: 6px;
    }

    .slider-arrow-next {
        right: 6px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.is-active {
        animation: none;
    }
}

/* ====================================
   COURSES PAGE
==================================== */

.courses-page{
    padding:60px 40px;
}

.page-header{
    text-align:center;
    margin-bottom:40px;
}

.page-header h1{
    font-size:42px;
    color:#0f3d91;
    margin-bottom:15px;
}

.page-header p{
    font-size:18px;
    color:#666;
}

.course-list-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:25px;
}

.course-list-card{
    background:#ffffff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 12px rgba(0,0,0,0.08);
}

.course-list-card h3{
    margin-bottom:15px;
}

.course-list-card p{
    margin-bottom:20px;
    color:#666;
}

.course-meta{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    font-size:14px;
    color:#555;
}

/* ====================================
   COURSE DETAILS
==================================== */

.course-details-page{
    padding:60px 40px;
}

.course-details-card{
    background:#ffffff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.course-details-card h1{
    margin-bottom:20px;
    color:#0f3d91;
}

.course-details-meta{
    display:flex;
    gap:30px;
    margin-bottom:25px;
    font-weight:600;
}

.course-description{
    font-size:18px;
    margin-bottom:25px;
}

.course-long-description{
    line-height:1.8;
    color:#555;
    margin-bottom:30px;
}

/* ====================================
   COURSE LISTING
==================================== */

.courses-page{
    padding:40px;
}

.page-header{
    margin-bottom:40px;
}

.page-header h1{
    color:#0f3d91;
    margin-bottom:10px;
}

.page-header p{
    color:#666;
}

.course-list-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(320px,1fr));

    gap:25px;
}

.course-list-card{

    background:#ffffff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.08);

    display:flex;
    flex-direction:column;

    transition:0.3s;
}

.course-list-card:hover{

    transform:translateY(-4px);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.12);
}

.course-image{

    height:220px;

    background:#f5f5f5;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:10px;
}

.course-image img{

    max-width:100%;

    max-height:100%;

    width:auto;

    height:auto;

    object-fit:contain;
}

.course-content{

    padding:20px;

    display:flex;
    flex-direction:column;

    flex:1;
}

.course-title{

    font-size:22px;

    color:#0f3d91;

    margin-bottom:12px;

    min-height:60px;
}

.course-description{

    color:#666;

    line-height:1.6;

    min-height:80px;
}

.course-meta{

    margin-top:auto;

    display:flex;

    justify-content:space-between;

    padding-top:15px;

    border-top:1px solid #e5e7eb;

    font-size:14px;
    font-weight:600;
}

.course-action{

    margin-top:20px;
}

.course-action .btn-primary{

    display:block;

    text-align:center;
}

/* COURSE BANNER */

.course-banner{
    margin-bottom:30px;
}

.course-banner img{
    width:100%;
    max-height:450px;
    object-fit:cover;
    border-radius:15px;
}

/* RELATED COURSES */

.related-courses-section{
    margin-top:50px;
}

.related-courses-section h2{
    margin-bottom:25px;
    color:#0f3d91;
}

.course-header{

    display:grid;
    grid-template-columns:280px 1fr;
    gap:30px;
    margin-bottom:30px;
    align-items:start;
}

.course-header-image img{

    width:100%;
    height:220px;
    object-fit:contain;
    background:#f8fafc;
    border-radius:15px;
    padding:15px;
}

.course-header-info h1{

    color:#0f3d91;
    margin-bottom:20px;
}

.course-header-info .course-description{

    min-height:auto;
    margin-top:20px;
}

@media(max-width:768px){

    .course-header{
        grid-template-columns:1fr;
    }

    .course-header-image img{
        height:220px;
    }
}

/* ====================================
   COURSE DETAILS + SIDEBAR
==================================== */

.course-details-layout{

    display:grid;

    grid-template-columns:1fr 350px;

    gap:30px;

    padding:40px;
}

.course-details-main{

    width:100%;
}

.related-sidebar{

    position:sticky;

    top:120px;

    height:fit-content;

    max-height:75vh;

    overflow-y:auto;

    background:#ffffff;

    padding:20px;

    border-radius:15px;

    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.related-sidebar h3{

    margin-bottom:20px;

    color:#0f3d91;
}

.related-course-card{

    margin-bottom:20px;

    padding-bottom:20px;

    border-bottom:1px solid #e5e7eb;
}

.related-course-card img{

    width:100%;

    height:150px;

    object-fit:contain;

    background:#f8fafc;

    border-radius:10px;

    margin-bottom:10px;
}

.related-course-card h4{

    font-size:16px;

    margin-bottom:10px;

    color:#0f3d91;
}

.related-course-card .btn-primary{

    display:block;

    text-align:center;

    padding:10px;
}

@media(max-width:992px){

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
        gap: 24px;
        padding-right: 48px;
        padding-left: 48px;
    }

    .content-wrapper{
        grid-template-columns:1fr;
    }

    .course-grid,
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-section{
        grid-template-columns:repeat(2,1fr);
    }
}

/* COURSE BROWSING NAVIGATION */

.course-page-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -14px 0 34px;
}

.course-nav-link {
    padding: 10px 20px;
    border: 2px solid #0f3d91;
    border-radius: 8px;
    color: #0f3d91;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        color 160ms ease;
}

.course-nav-link:hover,
.course-nav-link:focus-visible,
.course-nav-link.is-active {
    background: #0f3d91;
    color: #ffffff;
}

.course-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    padding: 10px 18px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.course-empty-state {
    grid-column: 1 / -1;
    padding: 36px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(15, 61, 145, 0.08);
    text-align: center;
}

.course-empty-state h3 {
    margin: 0 0 10px;
    color: #0f3d91;
}

.course-empty-state p {
    margin: 0 auto 22px;
    max-width: 620px;
    color: #475569;
}

@media (max-width: 480px) {
    .course-page-navigation {
        display: grid;
        grid-template-columns: 1fr;
    }

    .course-nav-link {
        text-align: center;
    }
}

/* ==========================================
   PROFESSIONAL COURSE CATALOGUE
========================================== */

.professional-courses-page {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 36px 28px 64px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.catalogue-header {
    margin-bottom: 20px;
    text-align: center;
}

.catalogue-header h1 {
    margin: 0 0 8px;
    color: #123d92;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.catalogue-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.5;
}

.professional-courses-page .course-page-navigation {
    margin: 0 0 28px;
}

.professional-courses-page .course-nav-link {
    padding: 9px 18px;
    border-width: 1px;
    border-radius: 7px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 360px));
    justify-content: start;
    gap: 22px;
}

.catalogue-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 61, 145, 0.06);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.catalogue-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 61, 145, 0.10);
    transform: translateY(-2px);
}

.catalogue-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.catalogue-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalogue-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.catalogue-card-category {
    margin: 0 0 6px;
    color: #f97316;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

.catalogue-card-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.catalogue-card-title a {
    color: #123d92;
    text-decoration: none;
}

.catalogue-card-title a:hover,
.catalogue-card-title a:focus-visible {
    color: #f97316;
}

.catalogue-card-description {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 14px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalogue-card-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: auto;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
}

.catalogue-card-meta span {
    min-width: 0;
}

.catalogue-card-meta small,
.catalogue-card-meta strong {
    display: block;
}

.catalogue-card-meta small {
    margin-bottom: 2px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.catalogue-card-meta strong {
    overflow: hidden;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalogue-card-action {
    display: block;
    margin-top: 2px;
    padding: 10px 16px;
    border-radius: 7px;
    background: #123d92;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.catalogue-card-action:hover,
.catalogue-card-action:focus-visible {
    background: #0b2f75;
}

@media (max-width: 1050px) {
    .catalogue-grid {
        grid-template-columns: repeat(2, minmax(0, 360px));
    }
}

@media (max-width: 700px) {
    .professional-courses-page {
        padding: 28px 16px 48px;
    }

    .catalogue-header h1 {
        font-size: 28px;
    }

    .catalogue-header p {
        font-size: 15px;
    }

    .catalogue-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .catalogue-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* PROFESSIONAL COURSE CATEGORIES */

.category-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.category-catalogue-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 61, 145, 0.06);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.category-catalogue-card:not(.is-coming-soon):hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 61, 145, 0.10);
    transform: translateY(-2px);
}

.category-catalogue-card.is-coming-soon {
    background: #f8fafc;
}

.category-catalogue-image {
    height: 170px;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
}

.category-catalogue-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-catalogue-card.is-coming-soon
.category-catalogue-image img {
    opacity: 0.72;
}

.category-catalogue-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.category-catalogue-count {
    margin-bottom: 7px;
    color: #f97316;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-catalogue-content h2 {
    margin: 0 0 8px;
    color: #123d92;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.category-catalogue-content p {
    display: -webkit-box;
    min-height: 44px;
    margin: 0 0 16px;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-catalogue-action,
.category-coming-soon {
    display: block;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.category-catalogue-action {
    background: #123d92;
    color: #ffffff;
    text-decoration: none;
}

.category-catalogue-action:hover,
.category-catalogue-action:focus-visible {
    background: #0b2f75;
}

.category-coming-soon {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #c2410c;
}

@media (max-width: 1050px) {
    .category-catalogue-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .category-catalogue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .category-catalogue-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .category-catalogue-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
}

/* ====================================
   PROFESSIONAL COURSE PROFILE
==================================== */

.course-profile-page {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 70px;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
}

.course-profile-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #718096;
    font-size: 13px;
}

.course-profile-breadcrumb a {
    color: #17479e;
    font-weight: 600;
    text-decoration: none;
}

.course-profile-breadcrumb a:hover {
    color: #f26419;
}

.course-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.course-profile-main {
    min-width: 0;
}

.course-profile-hero,
.course-profile-section,
.course-profile-related,
.course-profile-help-card {
    border: 1px solid #dfe6ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 48, 94, 0.06);
}

.course-profile-hero {
    display: grid;
    grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
    gap: 30px;
    padding: 26px;
}

.course-profile-image {
    overflow: hidden;
    min-height: 270px;
    border-radius: 12px;
    background: #edf3f8;
}

.course-profile-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
}

.course-profile-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.course-profile-category {
    margin-bottom: 10px;
    color: #f26419;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.course-profile-summary h1 {
    margin: 0 0 12px;
    color: #17479e;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.15;
}

.course-profile-introduction {
    max-width: 620px;
    margin: 0 0 22px;
    color: #526176;
    font-size: 16px;
    line-height: 1.65;
}

.course-profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 24px;
    border-top: 1px solid #e4e9f0;
    border-left: 1px solid #e4e9f0;
}

.course-profile-facts div {
    min-width: 0;
    padding: 13px 15px;
    border-right: 1px solid #e4e9f0;
    border-bottom: 1px solid #e4e9f0;
}

.course-profile-facts dt,
.course-profile-batch-facts dt {
    margin-bottom: 5px;
    color: #8090a8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.course-profile-facts dd,
.course-profile-batch-facts dd {
    margin: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.course-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.course-profile-primary-action,
.course-profile-secondary-action,
.course-profile-batch-action,
.course-profile-help-card a,
.course-profile-empty-batches a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.course-profile-primary-action,
.course-profile-batch-action,
.course-profile-help-card a {
    border: 1px solid #17479e;
    background: #17479e;
    color: #ffffff;
}

.course-profile-secondary-action,
.course-profile-empty-batches a {
    border: 1px solid #17479e;
    background: #ffffff;
    color: #17479e;
}

.course-profile-primary-action:hover,
.course-profile-batch-action:hover,
.course-profile-help-card a:hover {
    border-color: #103878;
    background: #103878;
    color: #ffffff;
    transform: translateY(-1px);
}

.course-profile-secondary-action:hover,
.course-profile-empty-batches a:hover {
    background: #edf4ff;
    color: #103878;
}

.course-profile-section {
    margin-top: 24px;
    padding: 28px;
}

.course-profile-section-heading,
.course-profile-related-heading {
    margin-bottom: 20px;
}

.course-profile-section-heading span,
.course-profile-related-heading span,
.course-profile-help-card > span,
.course-profile-empty-batches > span {
    display: block;
    margin-bottom: 6px;
    color: #f26419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.course-profile-section-heading h2,
.course-profile-related-heading h2 {
    margin: 0;
    color: #17479e;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.course-profile-description {
    color: #4f5e72;
    font-size: 15px;
    line-height: 1.85;
}

.course-profile-description p {
    margin: 0;
}

.course-profile-batch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.course-profile-batch-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid #dfe6ef;
    border-radius: 12px;
    background: #fbfcfe;
}

.course-profile-batch-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 15px;
}

.course-profile-mode,
.course-profile-status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.course-profile-mode {
    background: #e9f0ff;
    color: #17479e;
}

.course-profile-status {
    background: #eaf8ef;
    color: #247345;
}

.course-profile-batch-card h3 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 18px;
    line-height: 1.3;
}

.course-profile-batch-card > p {
    margin: 0 0 16px;
    color: #68768a;
    font-size: 13px;
    line-height: 1.6;
}

.course-profile-batch-facts {
    display: grid;
    gap: 10px;
    margin: 4px 0 18px;
}

.course-profile-batch-facts div {
    padding-bottom: 10px;
    border-bottom: 1px solid #e4e9f0;
}

.course-profile-batch-action {
    width: 100%;
    margin-top: auto;
}

.course-profile-empty-batches {
    grid-column: 1 / -1;
    padding: 26px;
    border: 1px solid #f4cda9;
    border-radius: 12px;
    background: #fff8f1;
}

.course-profile-empty-batches h3 {
    margin: 0 0 8px;
    color: #17479e;
    font-size: 20px;
}

.course-profile-empty-batches p {
    max-width: 650px;
    margin: 0 0 18px;
    color: #5f6878;
    font-size: 14px;
}

.course-profile-sidebar {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.course-profile-help-card {
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            #0f397f 0%,
            #17479e 70%,
            #2055b0 100%
        );
    color: #ffffff;
}

.course-profile-help-card > span {
    color: #ffb37d;
}

.course-profile-help-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.35;
}

.course-profile-help-card p {
    margin: 0 0 20px;
    color: #e6edfb;
    font-size: 14px;
    line-height: 1.65;
}

.course-profile-help-card a {
    width: 100%;
    border-color: #ffffff;
    background: #ffffff;
    color: #17479e;
}

.course-profile-help-card a:hover {
    border-color: #f26419;
    background: #f26419;
    color: #ffffff;
}

.course-profile-related {
    padding: 22px;
}

.course-profile-related-heading h2 {
    font-size: 21px;
}

.course-profile-related-list {
    display: grid;
    gap: 0;
}

.course-profile-related-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid #e4e9f0;
}

.course-profile-related-card:first-child {
    padding-top: 0;
    border-top: 0;
}

.course-profile-related-image {
    display: block;
    overflow: hidden;
    height: 72px;
    border-radius: 8px;
    background: #edf3f8;
}

.course-profile-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-profile-related-card span {
    display: block;
    margin-bottom: 4px;
    color: #f26419;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.course-profile-related-card h3 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.35;
}

.course-profile-related-card h3 a {
    color: #17479e;
    text-decoration: none;
}

.course-profile-related-card h3 a:hover {
    color: #f26419;
}

.course-profile-related-action {
    color: #526176;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.course-profile-related-action:hover {
    color: #17479e;
}

/* Course profile tablet */

@media (max-width: 1000px) {

    .course-profile-layout {
        grid-template-columns: 1fr;
    }

    .course-profile-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Course profile mobile */

@media (max-width: 720px) {

    .course-profile-page {
        width: min(100% - 28px, 1240px);
        padding-top: 20px;
    }

    .course-profile-hero {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 18px;
    }

    .course-profile-image,
    .course-profile-image img {
        min-height: 0;
        height: 210px;
    }

    .course-profile-summary h1 {
        font-size: 28px;
    }

    .course-profile-facts,
    .course-profile-batch-grid {
        grid-template-columns: 1fr;
    }

    .course-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .course-profile-primary-action,
    .course-profile-secondary-action {
        width: 100%;
    }

    .course-profile-section {
        padding: 20px;
    }

    .course-profile-section-heading h2 {
        font-size: 21px;
    }

    .course-profile-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {

    .course-profile-related-card {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .course-profile-related-image {
        height: 64px;
    }
}

/* Compact desktop course summary */

@media (min-width: 721px) {

    .course-profile-page {
        padding-top: 20px;
    }

    .course-profile-breadcrumb {
        margin-bottom: 14px;
    }

    .course-profile-hero {
        align-items: center;
        gap: 24px;
        padding: 20px;
    }

    .course-profile-image {
        min-height: 0;
        height: 300px;
    }

    .course-profile-image img {
        min-height: 0;
        height: 300px;
    }

    .course-profile-category {
        margin-bottom: 7px;
    }

    .course-profile-summary h1 {
        margin-bottom: 8px;
        font-size: clamp(27px, 2.5vw, 36px);
    }

    .course-profile-introduction {
        margin-bottom: 14px;
        font-size: 15px;
    }

    .course-profile-facts {
        margin-bottom: 16px;
    }

    .course-profile-facts div {
        padding: 9px 14px;
    }

    .course-profile-primary-action,
    .course-profile-secondary-action {
        min-height: 40px;
        padding: 8px 18px;
    }

    .course-profile-section {
        margin-top: 18px;
        padding: 24px 28px;
    }
}

/* ====================================
   PROFESSIONAL BATCH CATALOGUE
==================================== */

.batch-catalogue-page {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 42px 0 70px;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
}

.batch-catalogue-header {
    max-width: 760px;
    margin: 0 auto 32px;
    text-align: center;
}

.batch-catalogue-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #f26419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.batch-catalogue-header h1 {
    margin: 0 0 10px;
    color: #17479e;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
}

.batch-catalogue-header p {
    margin: 0 auto;
    color: #617089;
    font-size: 15px;
    line-height: 1.65;
}

.batch-catalogue-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.batch-navigation-primary,
.batch-navigation-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.batch-navigation-primary {
    border: 1px solid #17479e;
    background: #17479e;
    color: #ffffff;
}

.batch-navigation-secondary {
    border: 1px solid #17479e;
    background: #ffffff;
    color: #17479e;
}

.batch-navigation-primary:hover {
    border-color: #103878;
    background: #103878;
    color: #ffffff;
}

.batch-navigation-secondary:hover {
    background: #edf4ff;
    color: #103878;
}

.batch-catalogue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.batch-catalogue-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 48, 94, 0.06);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.batch-catalogue-card:hover {
    transform: translateY(-2px);
    border-color: #c9d7ea;
    box-shadow: 0 12px 30px rgba(20, 48, 94, 0.1);
}

.batch-catalogue-image {
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #edf3f8;
}

.batch-catalogue-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.batch-catalogue-card:hover .batch-catalogue-image img {
    transform: scale(1.025);
}

.batch-catalogue-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 21px;
}

.batch-catalogue-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
}

.batch-catalogue-mode,
.batch-catalogue-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.batch-catalogue-mode {
    background: #e9f0ff;
    color: #17479e;
}

.batch-catalogue-status {
    background: #eaf8ef;
    color: #247345;
}

.batch-catalogue-course {
    display: block;
    margin-bottom: 6px;
    color: #f26419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.batch-catalogue-content h2 {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.28;
}

.batch-catalogue-content h2 a {
    color: #17479e;
    text-decoration: none;
}

.batch-catalogue-content h2 a:hover {
    color: #f26419;
}

.batch-catalogue-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 16px;
    color: #5d6a7e;
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.batch-catalogue-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: auto 0 17px;
    border-top: 1px solid #e3e9f1;
    border-left: 1px solid #e3e9f1;
}

.batch-catalogue-facts div {
    min-width: 0;
    padding: 10px 11px;
    border-right: 1px solid #e3e9f1;
    border-bottom: 1px solid #e3e9f1;
    background: #fbfcfe;
}

.batch-catalogue-facts dt {
    margin-bottom: 4px;
    color: #8290a5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.batch-catalogue-facts dd {
    margin: 0;
    color: #172033;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.batch-catalogue-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.batch-catalogue-view-action,
.batch-catalogue-enquiry-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.batch-catalogue-view-action {
    border: 1px solid #17479e;
    background: #17479e;
    color: #ffffff;
}

.batch-catalogue-enquiry-action {
    border: 1px solid #17479e;
    background: #ffffff;
    color: #17479e;
}

.batch-catalogue-view-action:hover {
    border-color: #103878;
    background: #103878;
    color: #ffffff;
}

.batch-catalogue-enquiry-action:hover {
    background: #edf4ff;
    color: #103878;
}

.batch-catalogue-empty {
    grid-column: 1 / -1;
    padding: 42px 28px;
    border: 1px solid #dfe6ef;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 48, 94, 0.06);
    text-align: center;
}

.batch-catalogue-empty > span {
    display: block;
    margin-bottom: 7px;
    color: #f26419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.batch-catalogue-empty h2 {
    margin: 0 0 10px;
    color: #17479e;
    font-size: 25px;
}

.batch-catalogue-empty p {
    max-width: 620px;
    margin: 0 auto;
    color: #617089;
    font-size: 14px;
}

.batch-catalogue-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.batch-catalogue-pagination {
    margin-top: 28px;
}

/* Batch catalogue tablet */

@media (max-width: 1100px) {

    .batch-catalogue-grid {
        grid-template-columns: 1fr;
    }

    .batch-catalogue-card {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .batch-catalogue-image img {
        min-height: 300px;
    }
}

/* Batch catalogue mobile */

@media (max-width: 680px) {

    .batch-catalogue-page {
        width: min(100% - 28px, 1240px);
        padding: 30px 0 55px;
    }

    .batch-catalogue-header {
        margin-bottom: 25px;
    }

    .batch-catalogue-header h1 {
        font-size: 30px;
    }

    .batch-catalogue-navigation {
        display: grid;
        grid-template-columns: 1fr;
    }

    .batch-navigation-primary,
    .batch-navigation-secondary {
        width: 100%;
    }

    .batch-catalogue-card {
        grid-template-columns: 1fr;
    }

    .batch-catalogue-image {
        height: 190px;
        min-height: 0;
    }

    .batch-catalogue-image img {
        height: 190px;
        min-height: 0;
    }

    .batch-catalogue-content {
        padding: 18px;
    }

    .batch-catalogue-content h2 {
        font-size: 20px;
    }

    .batch-catalogue-actions {
        grid-template-columns: 1fr;
    }

    .batch-catalogue-empty {
        padding: 30px 20px;
    }

    .batch-catalogue-empty-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 390px) {

    .batch-catalogue-facts {
        grid-template-columns: 1fr;
    }
}

/* Preserve complete course artwork inside batch cards */

.batch-catalogue-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #061b35;
}

.batch-catalogue-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

.batch-catalogue-card:hover .batch-catalogue-image img {
    transform: scale(1.015);
}

@media (max-width: 680px) {

    .batch-catalogue-image {
        height: 210px;
    }

    .batch-catalogue-image img {
        height: 100%;
        object-fit: contain;
    }
}

/* Compact information-focused batch cards */

.batch-catalogue-card {
    display: block;
}

.batch-catalogue-content {
    height: 100%;
    padding: 24px;
}

.batch-catalogue-description {
    min-height: 40px;
    -webkit-line-clamp: 2;
}

.batch-catalogue-facts {
    margin-top: 8px;
}

@media (min-width: 1101px) {

    .batch-catalogue-grid {
        max-width: 1040px;
        margin-right: auto;
        margin-left: auto;
    }
}

/* ====================================
   PROFESSIONAL BATCH PROFILE
==================================== */

.batch-profile-page {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 70px;
    color: #172033;
    font-family: "Segoe UI", Arial, sans-serif;
}

.batch-profile-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #718096;
    font-size: 13px;
}

.batch-profile-breadcrumb a {
    color: #17479e;
    font-weight: 600;
    text-decoration: none;
}

.batch-profile-breadcrumb a:hover {
    color: #f26419;
}

.batch-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 26px;
    align-items: start;
}

.batch-profile-main {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.batch-profile-summary,
.batch-profile-section,
.batch-profile-enquiry-card,
.batch-profile-course-card {
    border: 1px solid #dfe6ef;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(20, 48, 94, 0.06);
}

.batch-profile-summary {
    padding: 26px;
}

.batch-profile-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 13px;
}

.batch-profile-mode,
.batch-profile-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

.batch-profile-mode {
    background: #e9f0ff;
    color: #17479e;
}

.batch-profile-status {
    background: #eaf8ef;
    color: #247345;
}

.batch-profile-course {
    display: block;
    margin-bottom: 7px;
    color: #f26419;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.batch-profile-course span {
    padding: 0 5px;
    color: #9aa7b8;
}

.batch-profile-summary h1 {
    margin: 0 0 10px;
    color: #17479e;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.18;
}

.batch-profile-introduction {
    max-width: 760px;
    margin: 0 0 20px;
    color: #59677b;
    font-size: 15px;
    line-height: 1.65;
}

.batch-profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid #e3e9f1;
    border-left: 1px solid #e3e9f1;
}

.batch-profile-facts div {
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid #e3e9f1;
    border-bottom: 1px solid #e3e9f1;
    background: #fbfcfe;
}

.batch-profile-facts dt,
.batch-profile-enquiry-card dt,
.batch-profile-course-card dt {
    margin-bottom: 5px;
    color: #8290a5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.batch-profile-facts dd,
.batch-profile-enquiry-card dd,
.batch-profile-course-card dd {
    margin: 0;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.batch-profile-section {
    padding: 25px 26px;
}

.batch-profile-section-heading {
    margin-bottom: 18px;
}

.batch-profile-section-heading > span,
.batch-profile-enquiry-card > span,
.batch-profile-course-card > span {
    display: block;
    margin-bottom: 6px;
    color: #f26419;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.batch-profile-section-heading h2 {
    margin: 0;
    color: #17479e;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.batch-profile-schedule-list {
    display: grid;
    gap: 10px;
}

.batch-profile-schedule-row {
    display: grid;
    grid-template-columns:
        minmax(130px, 0.8fr)
        minmax(180px, 1fr)
        minmax(150px, 1fr);
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.batch-profile-schedule-row div {
    min-width: 0;
}

.batch-profile-schedule-row span {
    display: block;
    margin-bottom: 3px;
    color: #8390a4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.batch-profile-schedule-row strong {
    display: block;
    color: #172033;
    font-size: 13px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.batch-profile-schedule-empty {
    padding: 24px;
    border: 1px solid #f4cda9;
    border-radius: 10px;
    background: #fff8f1;
}

.batch-profile-schedule-empty h3 {
    margin: 0 0 7px;
    color: #17479e;
    font-size: 18px;
}

.batch-profile-schedule-empty p {
    margin: 0;
    color: #647084;
    font-size: 13px;
}

.batch-profile-notes {
    padding: 18px 20px;
    border-left: 4px solid #f26419;
    border-radius: 8px;
    background: #fff8f1;
    color: #566276;
    font-size: 14px;
    line-height: 1.75;
}

.batch-profile-sidebar {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.batch-profile-enquiry-card,
.batch-profile-course-card {
    padding: 23px;
}

.batch-profile-enquiry-card {
    background:
        linear-gradient(
            145deg,
            #0f397f 0%,
            #17479e 70%,
            #2055b0 100%
        );
    color: #ffffff;
}

.batch-profile-enquiry-card > span {
    color: #ffb37d;
}

.batch-profile-enquiry-card h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
}

.batch-profile-enquiry-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
}

.batch-profile-enquiry-card dl div {
    min-width: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.batch-profile-enquiry-card dt {
    color: #dbe7fc;
}

.batch-profile-enquiry-card dd {
    color: #ffffff;
}

.batch-profile-primary-action,
.batch-profile-secondary-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 43px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.batch-profile-primary-action {
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #17479e;
}

.batch-profile-secondary-action {
    margin-top: 9px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #ffffff;
}

.batch-profile-primary-action:hover {
    border-color: #f26419;
    background: #f26419;
    color: #ffffff;
}

.batch-profile-secondary-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.batch-profile-course-card h2 {
    margin: 0 0 9px;
    color: #17479e;
    font-size: 21px;
    line-height: 1.3;
}

.batch-profile-course-card > p {
    margin: 0 0 17px;
    color: #617089;
    font-size: 13px;
    line-height: 1.65;
}

.batch-profile-course-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 17px;
    border-top: 1px solid #e3e9f1;
    border-left: 1px solid #e3e9f1;
}

.batch-profile-course-card dl div {
    min-width: 0;
    padding: 11px;
    border-right: 1px solid #e3e9f1;
    border-bottom: 1px solid #e3e9f1;
    background: #fbfcfe;
}

.batch-profile-course-card > a {
    display: inline-flex;
    align-items: center;
    color: #17479e;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.batch-profile-course-card > a:hover {
    color: #f26419;
}

/* Batch profile tablet */

@media (max-width: 980px) {

    .batch-profile-layout {
        grid-template-columns: 1fr;
    }

    .batch-profile-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Batch profile mobile */

@media (max-width: 680px) {

    .batch-profile-page {
        width: min(100% - 28px, 1240px);
        padding-top: 18px;
    }

    .batch-profile-summary,
    .batch-profile-section {
        padding: 20px;
    }

    .batch-profile-summary h1 {
        font-size: 28px;
    }

    .batch-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .batch-profile-schedule-row {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .batch-profile-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {

    .batch-profile-facts {
        grid-template-columns: 1fr;
    }

    .batch-profile-enquiry-card dl,
    .batch-profile-course-card dl {
        grid-template-columns: 1fr;
    }
}

/* Compact course visual inside batch cards */

.batch-catalogue-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 18px;
    align-items: start;
    margin-bottom: 8px;
}

.batch-catalogue-heading-content {
    min-width: 0;
}

.batch-catalogue-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 82px;
    padding: 7px;
    border-radius: 9px;
    background: #061b35;
}

.batch-catalogue-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.batch-catalogue-thumbnail:hover img {
    transform: scale(1.035);
}

@media (max-width: 680px) {

    .batch-catalogue-heading-row {
        grid-template-columns: minmax(0, 1fr) 100px;
        gap: 12px;
    }

    .batch-catalogue-thumbnail {
        height: 68px;
        padding: 5px;
    }
}

@media (max-width: 430px) {

    .batch-catalogue-heading-row {
        grid-template-columns: 1fr;
    }

    .batch-catalogue-thumbnail {
        grid-row: 1;
        width: 130px;
        height: 78px;
    }
}

/* Course visual inside batch profile */

.batch-profile-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: center;
    margin-bottom: 20px;
}

.batch-profile-heading-content {
    min-width: 0;
}

.batch-profile-heading-row .batch-profile-introduction {
    margin-bottom: 0;
}

.batch-profile-course-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 135px;
    padding: 9px;
    border-radius: 11px;
    background: #061b35;
}

.batch-profile-course-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.batch-profile-course-image:hover img {
    transform: scale(1.025);
}

@media (max-width: 680px) {

    .batch-profile-heading-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .batch-profile-course-image {
        grid-row: 1;
        width: min(220px, 100%);
        height: 125px;
    }
}

/* ============================================
   ACTI COURSE DETAIL BANNER PRESERVATION
   Preserve the complete approved banner artwork and its overlaid title.
============================================ */

.course-profile-image {
    display: grid;
    min-height: 0;
    height: auto;
    aspect-ratio: 12 / 5;
    place-items: center;
    background: #edf4ff;
}

.course-profile-image img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 720px) {
    .course-profile-image,
    .course-profile-image img {
        height: auto;
        min-height: 0;
    }

    .course-profile-image {
        aspect-ratio: 12 / 5;
    }
}
