/* ============================================================
   HERO BANNER SECTION (Full Width Breakout from Container)
   ============================================================ */
.award-ranking-hero,
.award-ranking-hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 15px;
    margin-bottom: 40px;
    padding: 0 4.5rem;
    background: transparent;
    box-sizing: border-box;
}

.award-ranking-hero-wrapper,
.award-ranking-hero-card {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 650px;
    border-radius: 40px;
    overflow: hidden;
    background-color: #0F172A;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: stretch;
}

/* Background Image from HTML */
.award-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 1;
}

/* Gradient Overlay sitting above image */
.award-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0F172A 0%, rgba(15, 23, 42, 0.96) 38%, rgba(15, 23, 42, 0.65) 54%, rgba(15, 23, 42, 0.15) 72%, transparent 85%);
    z-index: 2;
    pointer-events: none;
}

/* Left Vertical Sidebar Tag */
.award-hero-vertical-tag {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    min-width: 60px;
    padding: 0;
    margin-left: 45px;
    margin-right: 10rem;
    background: transparent;
}

.award-hero-vertical-tag span {
    display: block;
    width: max-content;
    transform: rotate(-90deg);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
    color: #0F172A;
    -webkit-text-fill-color: #0F172A;
    paint-order: stroke fill;
    font-family: 'Karla', sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -3.36px;
    text-transform: capitalize;
    white-space: nowrap;
    user-select: none;
}

/* Main Content Area */
.award-hero-main {
    position: relative;
    z-index: 3;
    flex: none;
    width: auto;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px 40px 10px;
}

.award-hero-subheading {
    color: #FFF;
    font-family: Karla;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.4px;
    text-transform: capitalize;
    margin-bottom: 12px;
}

/* Stat Row: 26+ AWARDS */
.award-hero-stat-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.award-hero-stat-num {
    color: #FFC107;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #000;
    font-family: Karla;
    font-size: 100px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -4px;
    text-transform: capitalize;
}

.award-hero-stat-text {
    margin-left: 1rem;
}

.award-hero-stat-text h2 {
    color: #FFF;
    font-family: Karla;
    font-size: 47px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -1.88px;
    text-transform: capitalize;
}

.award-hero-stat-text p {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    ;
}

/* Yellow Badge */
.award-hero-badge {
    display: inline-block;
    background: #FFC107;
    color: #000000;
    font-size: 13.5px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
    margin-bottom: 28px;
    align-self: flex-start;
}

/* Bottom Highlights Row (Matches Image 1 Layout) */
.award-hero-highlights {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 15px;
}

/* Column 1: Ranked TOP 2% UNIVERSITIES in INDIA (Exact Target Layout) */
.award-hl-col-rank,
.award-highlight-card:not(.naac-card) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Top Group: [Ranked Among the + TOP] next to [2%] */
.award-hl-top-group,
.award-hl-top-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.award-hl-rank-top,
.award-hl-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
}

.award-hl-rank-top .hl-small,
.award-hl-left .hl-small {
    color: #FFF;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.28px;
    text-align: left;
    display: block;
    margin-bottom: 2px;
}

.award-hl-rank-top .hl-top,
.award-hl-center .hl-top {
    color: #FFF;
    font-family: 'Karla', sans-serif;
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.72px;
}

.award-hl-top-group .hl-percent,
.award-hl-center .hl-percent {
    color: #FFC107;
    font-family: 'Karla', sans-serif;
    font-size: 96px;
    font-style: normal;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -3px;
    display: inline-flex;
    align-items: flex-start;
}

.award-hl-top-group .hl-percent span,
.award-hl-top-group .hl-percent small,
.award-hl-center .hl-percent span,
.award-hl-center .hl-percent small {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    margin-top: 6px;
    margin-left: 2px;
}

/* UNIVERSITIES & in INDIA */
.award-hl-bottom-row,
.award-hl-bottom {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
}

.award-hl-col-rank .hl-univ,
.award-hl-bottom .hl-univ {
    color: #FFF;
    font-family: 'Karla', sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.award-hl-col-rank .hl-india,
.award-hl-bottom .hl-india {
    color: #FFF;
    font-family: 'Karla', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.4px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.award-hl-col-rank .hl-india strong,
.award-hl-bottom .hl-india strong {
    color: #FFC107;
    font-family: 'Karla', sans-serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -1.6px;
    text-transform: uppercase;
}

/* Vertical Divider */
.award-hl-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 40px;
}

/* Column 2: NAAC (Badge Top, Text Bottom Centered) */
.award-hl-col-naac,
.award-highlight-card.naac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.award-hl-col-naac .naac-badge-icon img,
.naac-card .naac-badge-icon img {
    height: 82px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.award-hl-col-naac .naac-badge-text p,
.naac-card .naac-badge-text p {
    color: #FFF;
    text-align: center;
    font-family: Karla, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.3px;
    margin: 0;
}

.award-hl-col-naac .naac-badge-text strong,
.naac-card .naac-badge-text strong {
    color: #FFFFFF;
    font-weight: 800;
}

/* Fallback for old classes if used */
.award-ranking-content {
    width: 100%;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

.award-card {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 448px;
    min-height: 137px;
    border-radius: 14px 0 14px 14px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
    padding: 2.5rem 1.5rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: #9F2B2C;
}

.award-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-30%, -50%);
    width: 235px;
    height: 31px;
    background: #9F2B2C;
    border-radius: 0 0 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    z-index: 5;
}

.award-year::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 269px;
    height: 15px;
    background: #9F2B2C;
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.award-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.award-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF5F5;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    min-width: 60px;
    flex-shrink: 0;
}

.award-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.award-info {
    flex: 1;
}

.award-info h3 {
    font-size: 19px;
    color: #000;
    margin: 0 0 5px 0;
    font-weight: 600;
    line-height: 1.2;
}

.award-info p {
    font-size: 16px;
    color: #9F2B2C;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .award-ranking-hero,
    .award-ranking-hero-section {
        padding: 0 2rem;
    }

    .award-ranking-hero-wrapper,
    .award-ranking-hero-card {
        min-height: 560px;
        height: 560px;
    }

    .award-hero-vertical-tag {
        margin-left: 20px;
        margin-right: 2rem;
    }

    .award-year {
        left: 45%;
    }
}

@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .award-ranking-hero,
    .award-ranking-hero-section {
        padding: 0 1.5rem;
    }

    .award-ranking-hero-wrapper,
    .award-ranking-hero-card {
        min-height: 500px;
        height: auto;
    }

    .award-hero-vertical-tag {
        margin-left: 15px;
        margin-right: 1.5rem;
    }

    .award-hero-vertical-tag span {
        font-size: 42px;
    }

    .award-hero-main {
        padding: 30px 20px;
        max-width: 580px;
    }

    .award-hero-stat-num {
        font-size: 72px;
    }

    .award-hero-stat-text h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .award-card {
        max-width: 100%;
    }

    .award-year {
        left: 65%;
    }

    .award-ranking-hero,
    .award-ranking-hero-section {
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0 1rem !important;
        margin-top: 10px;
        margin-bottom: 25px;
    }

    .award-ranking-hero-wrapper,
    .award-ranking-hero-card {
        border-radius: 24px;
        min-height: auto !important;
        height: auto !important;
        flex-direction: column;
    }

    .award-hero-bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .award-hero-overlay {
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.90) 60%, rgba(15, 23, 42, 0.80) 100%) !important;
    }

    .award-hero-vertical-tag {
        display: none !important;
    }

    .award-hero-main {
        padding: 28px 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        z-index: 10 !important;
    }

    .award-hero-main * {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .award-hero-subheading {
        font-size: 14px !important;
        margin-bottom: 10px !important;
        color: #FFF !important;
        display: block !important;
    }

    .award-hero-stat-row {
        gap: 10px;
        margin-bottom: 14px;
        flex-wrap: wrap;
        align-items: center;
    }

    .award-hero-stat-num {
        font-size: 58px !important;
        line-height: 1 !important;
    }

    .award-hero-stat-text {
        margin-left: 0.5rem !important;
    }

    .award-hero-stat-text h2 {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .award-hero-stat-text p {
        font-size: 11px !important;
    }

    .award-hero-badge {
        font-size: 12px !important;
        padding: 6px 12px !important;
        margin-bottom: 22px !important;
        white-space: normal !important;
        display: inline-block !important;
    }

    .award-hero-highlights {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        width: 100%;
    }

    .award-hl-col-rank {
        width: 100%;
    }

    .award-hl-top-group {
        gap: 6px;
    }

    .award-hl-rank-top .hl-small {
        font-size: 11.5px !important;
        line-height: 13px !important;
    }

    .award-hl-rank-top .hl-top {
        font-size: 24px !important;
    }

    .award-hl-top-group .hl-percent {
        font-size: 60px !important;
    }

    .award-hl-top-group .hl-percent span {
        font-size: 32px !important;
    }

    .award-hl-col-rank .hl-univ {
        font-size: 15px !important;
        letter-spacing: 2px !important;
    }

    .award-hl-col-rank .hl-india {
        font-size: 16px !important;
    }

    .award-hl-col-rank .hl-india strong {
        font-size: 28px !important;
    }

    .award-hl-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 5px 0;
    }

    .award-hl-col-naac {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 14px;
        width: 100%;
    }

    .award-hl-col-naac .naac-badge-icon img {
        height: 54px !important;
    }

    .award-hl-col-naac .naac-badge-text p {
        font-size: 13px !important;
        text-align: left !important;
    }
}

@media (max-width: 567px) {
    .award-year::before {
        width: 165px;
    }

    .award-year {
        left: 60%;
        width: 145px;
    }

    .award-info h3 {
        font-size: 18px;
    }

    .award-info p {
        font-size: 12px;
    }

    .award-hero-stat-num {
        font-size: 48px !important;
    }

    .award-hero-stat-text h2 {
        font-size: 24px !important;
    }

    .award-hl-top-group .hl-percent {
        font-size: 52px !important;
    }
}