/* =========================================================
   AIMT — COURSE PAGE DESIGN (sab course pages ke liye ek hi file)
   Sirf un pages par asar jinke <article> par class "cr-body" hai.
   ========================================================= */
.page-inner .content-body.cr-body p {
    text-align: justify;
    hyphens: auto;
}

/* Quick facts */
.cr-body .cr-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.cr-body .cr-fact {
    padding: 16px 12px;
    text-align: center;
    border-radius: var(--radius);
    background: var(--green-50);
    border: 1px solid var(--border);
}

.cr-body .cr-fact i {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--green-600);
}

.cr-body .cr-fact span {
    display: block;
    font-size: 11.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-500);
}

.cr-body .cr-fact strong {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--green-900);
}

.cr-body .cr-fact.is-gold {
    background: var(--gold-100);
    border-color: #f3e2a9;
}

.cr-body .cr-fact.is-gold i {
    color: var(--gold-600);
}

/* Lead */
.cr-body .cr-lead {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink-900);
    font-weight: 500;
    padding: 4px 0 4px 16px;
    border-left: 4px solid var(--gold-500);
    margin: 0 0 18px;
}

.cr-body .cr-h3 {
    margin: 26px 0 8px;
}

/* Boxes */
.cr-body .cr-box {
    padding: 20px 22px;
    margin: 0 0 18px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold-500);
    box-shadow: var(--shadow-sm);
}

.cr-body .cr-box.is-soft {
    background: var(--green-50);
    border-top-color: var(--green-600);
}

.cr-body .cr-box h4 {
    margin: 0 0 8px;
    font-size: 16.5px;
    color: var(--green-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cr-body .cr-box h4 i {
    color: var(--gold-600);
}

.cr-body .cr-box p {
    margin: 0 0 12px;
    font-size: 14.5px;
    line-height: 1.7;
}

.cr-body .cr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-body .cr-tags span {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    background: #fff;
    color: var(--green-700);
    border: 1px solid var(--border);
}

/* Roles */
.cr-body .cr-ico {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 19px;
    color: #fff;
    background: linear-gradient(145deg, var(--green-600), var(--green-900));
}

.cr-body .cr-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 16px;
}

.cr-body .cr-role {
    padding: 20px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.cr-body .cr-role:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.cr-body .cr-role h4 {
    margin: 12px 0 6px;
    font-size: 15.5px;
    color: var(--green-800);
}

.cr-body .cr-role p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

/* Highlight */
.cr-body .cr-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    margin: 0 0 26px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: rgba(255, 255, 255, .9);
}

.cr-body .cr-highlight>i {
    font-size: 26px;
    color: var(--gold-400);
    margin-top: 2px;
}

.cr-body .cr-highlight p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
}

/* Eligibility + Duration */
.cr-body .cr-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 10px;
}

.cr-body .cr-info {
    padding: 20px 22px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green-600);
}

.cr-body .cr-info h2 {
    margin-top: 0;
    font-size: 22px;
}

.cr-body .cr-info p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
}

/* Semesters */
.cr-body .cr-sems {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 10px;
}

.cr-body .cr-sem {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.cr-body .cr-sem h4 {
    margin: 0;
    padding: 14px 18px;
    font-size: 16px;
    color: #fff;
    background: var(--green-800);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid var(--gold-500);
}

.cr-body .cr-sem h4 span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--green-900);
    font-size: 12.5px;
    font-weight: 800;
}

.cr-body .cr-sem ol {
    margin: 0;
    padding: 8px 18px 12px;
    counter-reset: crsub;
}

.cr-body .cr-sem ol li {
    list-style: none;
    counter-increment: crsub;
    position: relative;
    margin: 0;
    padding: 10px 0 10px 36px;
    border-bottom: 1px dashed var(--border);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-900);
}

.cr-body .cr-sem ol li:last-child {
    border-bottom: 0;
}

.cr-body .cr-sem ol li::before {
    content: counter(crsub);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 12px;
    font-weight: 700;
}

/* Fees */
.cr-body .cr-fees {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 14px;
}

.cr-body .cr-fee-rows {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
}

.cr-body .cr-fee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
}

.cr-body .cr-fee:last-child {
    border-bottom: 0;
}

.cr-body .cr-fee:nth-child(even) {
    background: var(--green-50);
}

.cr-body .cr-fee span i {
    width: 22px;
    color: var(--green-600);
}

.cr-body .cr-fee strong {
    color: var(--green-900);
    white-space: nowrap;
}

.cr-body .cr-fee-total {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: #fff;
}

.cr-body .cr-fee-total span {
    font-size: 13px;
    letter-spacing: .05em;
    text-transform: uppercase;
    opacity: .85;
}

.cr-body .cr-fee-total strong {
    font-family: var(--font-head);
    font-size: 32px;
    line-height: 1.1;
    color: var(--gold-400);
}

.cr-body .cr-fee-total small {
    font-size: 12px;
    opacity: .75;
}

/* Responsive */
@media (max-width: 1199px) {
    .cr-body .cr-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .cr-body .cr-roles,
    .cr-body .cr-pair,
    .cr-body .cr-sems,
    .cr-body .cr-fees {
        grid-template-columns: minmax(0, 1fr);
    }

    .cr-body .cr-highlight {
        flex-direction: column;
    }
}

/* List 2 columns me (jaise BBA Lateral Entry) */
.cr-body ul.cr-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
    margin: 0;
}

@media (max-width: 767px) {
    .cr-body ul.cr-2col {
        grid-template-columns: minmax(0, 1fr);
    }
}

.cr-body ul.cr-2col,
.cr-body ol.cr-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
}

@media (max-width: 767px) {

    .cr-body ul.cr-2col,
    .cr-body ol.cr-2col {
        grid-template-columns: minmax(0, 1fr);
    }
}
