@font-face {
    font-family: 'Barlow';
    src: url('../Fonts/Barlow-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('../Fonts/Barlow-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ================= */

@font-face {
    font-family: 'MyriadPro';
    src: url('../Fonts/MyriadPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../Fonts/MyriadPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MyriadPro';
    src: url('../Fonts/MyriadPro-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

/* ================= */

@font-face {
    font-family: 'PlayfairDisplay';
    src: url('../Fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

:root {
    --ti-red: #8B1A1A;
    --ti-dark: #5a0f0f;
    --ti-light: #f5f0f0;
    --ti-gold: #c9a84c;
    --nav-h: 72px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'MyriadPro', sans-serif;
    font-weight: 700;
}
a{
    text-decoration: none;
}
p {
    font-family: 'MyriadPro', sans-serif;
    font-weight: lighter
}

.utility-bar {
    background: var(--ti-red);
    padding: 6px 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.utility-bar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin: 0 10px;
    transition: color .2s;
}

.utility-bar a:hover {
    color: #fff;
}

.main-navbar {
    background: #fff;
    border-bottom: 3px solid var(--ti-red);
    min-height: var(--nav-h);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Logo block */
.navbar-brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.logo-text {
    line-height: 1.15;
}

.logo-text .inst-name {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--ti-red);
    text-transform: uppercase;
    letter-spacing: .06em;
    display: block;
}

.logo-text .inst-sub {
    font-size: 0.68rem;
    color: #555;
    display: block;
}

/* Nav links */
.main-navbar .navbar-nav .nav-link {
    font-family: 'Barlow';
    font-size: 0.80rem;
    font-weight: 500;
    color: #000;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: var(--ti-red);
    border-bottom-color: var(--ti-red);
}

.main-navbar .navbar-nav .nav-item+.nav-item {
    /* border-left: 1px solid #ddd;s */
}

/* Toggler */
.navbar-toggler {
    border-color: var(--ti-red);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238B1A1A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero {
    position: relative;
    width: 100%;
    /* height: clamp(320px, 52vw, 560px); */
    aspect-ratio: 16/6;
    overflow: hidden;
    background: #111;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
    transform: scale(1.04);
    animation: slowZoom 14s ease-out forwards;
}

@keyframes slowZoom {
    to {
        transform: scale(1);
    }
}

/* Gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, .55) 0%,
            rgba(0, 0, 0, .1) 60%,
            transparent 100%);
}

.hero-badge {
    position: absolute;
    /* left: clamp(24px, 8%, 110px); */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #fff;
    padding: 28px 36px 28px 32px;
    animation: fadeSlide .9s ease both;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 20px));
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.hero-badge h1 {
    font-family: 'PlayfairDisplay';
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #111;
    line-height: 1.1;
    margin: 0;
    letter-spacing: .01em;
}

/* Red accent line left of badge */
/* .hero-badge::before {
     content: '';
     position: absolute;
     left: -4px;
     top: 0;
     bottom: 0;
     width: 4px;
     background: var(--ti-red);
 } */

.quick-bar {
    background: var(--ti-light);
    border-top: 1px solid #e0d5d5;
    border-bottom: 1px solid #e0d5d5;
    padding: 0;
    overflow-x: auto;
}

.quick-bar-inner {
    display: flex;
    white-space: nowrap;
}

.quick-bar a {
    display: inline-block;
    padding: 14px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border-right: 1px solid #ddd;
    transition: background .2s, color .2s;
    letter-spacing: .03em;
}

.quick-bar a:first-child {
    border-left: 1px solid #ddd;
}

.quick-bar a:hover {
    background: var(--ti-red);
    color: #fff;
}

.content-section {
    padding: 64px 0 80px;
}

.section-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ti-red);
    margin-bottom: 8px;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.section-heading span {
    color: var(--ti-red);
}

.section-divider {
    width: 48px;
    height: 3px;
    background: var(--ti-red);
    margin-bottom: 24px;
}

.section-body {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.8;
}

/* Event Cards */
.event-card {
    border: 1px solid #e8e0e0;
    border-top: 3px solid var(--ti-red);
    border-radius: 0;
    transition: box-shadow .25s, transform .25s;
    background: #fff;
    height: 100%;
}

.event-card:hover {
    box-shadow: 0 8px 32px rgba(139, 26, 26, .12);
    transform: translateY(-4px);
}

.event-card .card-date {
    display: inline-block;
    background: var(--ti-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    margin-bottom: 12px;
}

.event-card .card-title {
    font-size: 1.05rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.event-card .card-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
}

.event-card .card-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ti-red);
    text-decoration: none;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.event-card .card-link i {
    transition: transform .2s;
}

.event-card .card-link:hover i {
    transform: translateX(4px);
}

.site-footer {
    background: #1a0808;
    color: rgba(255, 255, 255, .65);
    padding: 48px 0 24px;
    font-size: 0.85rem;
}

.site-footer h6 {
    color: #fff;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-size: 0.78rem;
}

.site-footer a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color .2s;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, .4);
}

.events-section {
    position: relative;
    overflow: hidden;
}

.evt-tab {
    font-family: 'Barlow';
    border: 1.5px solid #ccc;
    background: #fff;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.evt-tab:hover {
    border-color: #e02020;
    color: #e02020;
}

.evt-tab.active {
    background: #e02020;
    border-color: #e02020;
    color: #fff;
}

.tab-close {
    font-size: 0.75rem;
    margin-left: 6px;
    opacity: .8;
}

.evt-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.evt-card:hover {
    background-color: #f1f1f1;
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0);
}

.evt-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 14px;
    margin: 10px;
    width: calc(100% - 20px);
}

.evt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    transition: transform .4s ease;
}

.evt-card:hover .evt-img {
    transform: scale(1.04);
}

.evt-body {
    padding: 14px 18px 20px;
}

.evt-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    margin-bottom: 10px;
}

.evt-date {
    font-size: 0.70rem;
    font-weight: 400;
    letter-spacing: .08em;
    color: #000;
    margin: 0;
    text-transform: uppercase;
}

.evt-card:hover .evt-date {
    color: #000;
}

.evt-card-wrap {
    transition: opacity .3s ease, transform .3s ease;
}

.evt-card-wrap.hidden {
    display: none;
}

.news-card-wrap.hidden {
    display: none;
}

.news-grid-empty {
    display: none;
    width: 100%;
    text-align: center;
    color: #6c757d;
    padding: 2rem 0;
}

.news-grid-empty.is-visible {
    display: block;
}

.deco {
    position: absolute;
    pointer-events: none;
}

.deco-tr {
    top: -10px;
    right: 10px;
}

.deco-bl {
    bottom: 0;
    left: 10px;
}

/* Wrapper card */
.evt-list-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 8px 24px;
    overflow: hidden;
}

/* Each row */
.evt-list-item {
    transition: background .25s ease;
}

.evt-list-item:last-child {
    border-bottom: none;
}

.evt-list-item:hover {
    background: #f3f3f3;
    border-radius: 12px;
}

/* Remove divider on hover for clean look */
.evt-list-item:hover+.evt-list-item {
    border-top: none;
}

.evt-list-inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 16px;
    text-decoration: none;
    color: inherit;
}

/* Image */
.evt-list-img-wrap {
    flex-shrink: 0;
    width: 190px;
    height: 155px;
    border-radius: 12px;
    overflow: hidden;
}

.evt-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform .4s ease;
}

.evt-list-item:hover .evt-list-img {
    transform: scale(1.06);
}

/* Body text */
.evt-list-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 4px;
}

.evt-list-title {
    font-family: 'Barlow';
    font-size: 1.5rem;
    font-weight: 500;
    color: #111;
    line-height: 1.3;
    margin: 0;
    transition: color .2s;
}

.evt-list-item:hover .evt-list-title {
    color: #ec2028;
}

.evt-list-meta {
    font-size: 0.90rem;
    color: #000;
    margin: 0;
    letter-spacing: 2px;
}

.evt-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ec2028;
    transition: letter-spacing .2s, opacity .2s;
    display: inline-block;
}

.evt-list-item:hover .evt-read-more {
    letter-spacing: .03em;
    opacity: .85;
}

/* Past Events */

.past-event-hero-text {
    position: absolute;
    bottom: 10%;
    z-index: 1;
    left: 10%;
}

.past-event-hero-text .sep {
    width: 150px;
    height: 3px;
    background: rgb(255 255 255 / 43%);
    margin: 16px 0;
}

.past-event-hero-text h1 {
    color: #fff;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 600;
}

.past-event-hero-text p {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 12px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 2px;
}

.open-day-info h3 {
    margin-bottom: 25px;
    color: #000;
    max-width: 70%;
}

.open-day-info p {
    color: #000;
    font-size: 0.95rem;
    margin: 2px 0;
    font-weight: 500;
}

/*magazine css*/
.magazine-section-wrapper {
    width: 100%;
    margin-top: 80px;
    position: relative;
}

.magazine-section-wrapper img.major-ribbon {
    position: absolute;
    left: -10px;
    top: -85px;
}

.section-title {
    font-family: 'Barlow';
    font-size: clamp(1.7rem, 5vw, 2.2rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2.2rem;
    position: relative;
}

/* Card */
.pub-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    aspect-ratio: 3/3;
    background: #111;
}

.pub-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.2) 30%,
            transparent 100%);

    transform: translate(-100%, 100%);
    transition: transform 0.6s ease;
    z-index: 0;
}

.pub-card:hover::after {
    transform: translate(0, 0);
}

.pub-card:hover img {
    transform: scale(1.08);
}

.major-conf-card {
    aspect-ratio: 3 / 4;
}

.magazines-card {
    aspect-ratio: 4 / 3;
}

.pub-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.4),
        filter 0.7s cubic-bezier(0.25, 0.46, 0.45, 0);
}



/* plain black gradient overlay */
/* .pub-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0) 50%, transparent 100%);
    transition: background 0.7s ease;
} */

/* bottom content */
.pub-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 1.1rem 1.2rem 1rem;
    color: #fff;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pub-edition {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.15rem;
    font-weight: 400;
    transition: letter-spacing 0.5s ease;
}

.pub-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.pub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pub-arrow svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.pub-date {
    font-size: 0.80rem;
    color: rgba(255, 255, 255, 1);
    margin-top: 0.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hover */
.pub-card:hover .pub-card-img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.pub-card:hover .pub-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.60) 55%, rgba(0, 0, 0, 0.10) 100%);
}

.pub-card:hover .pub-card-body {
    transform: translateY(-6px);
}

.pub-card:hover .pub-edition {
    letter-spacing: 0.14em;
}

.pub-card:hover .pub-arrow {
    opacity: 1;
    transform: translateX(3px) translateY(-3px);
}

/*stats css*/
.stats-warea {
    margin-top: 80px;
    position: relative;
}

.stats-warea::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 250px;
    height: 184px;
    background: url(../images/blue-ribbon.jpg) no-repeat center center;
    z-index: -1;
}

.stats-warea::after {
    content: "";
    position: absolute;
    bottom: 25px;
    right: 0;
    width: 250px;
    height: 180px;
    background: url(../images/prpl-ribbon.jpg) no-repeat center center;
    z-index: -1;
}

/* ── Grid ── */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(2, 200px); */
    gap: 0;
    border-top: 0px solid #ddd;
    border-left: 0px solid #ddd;
}

.learning-grid .cell {
    justify-content: flex-end;
}

/* ── Cell ── */
.cell {
    position: relative;
    border-right: 0px solid #ddd;
    border-bottom: 0px solid #ddd;
    padding: 35px;
    aspect-ratio: 3/2;
    /* width:340px;
    height: 250px;     */
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-content: flex-start;
    cursor: pointer;
    background: #f7f7f5;
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    text-decoration: none;
}

/* purple tint cells */
.cell.tint {
    background: #ede8f5;
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* empty cells */
.cell.empty {
    cursor: default;
    pointer-events: none;
}

/* ── Arrow ── */
.cell-arrow {
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 1.1rem;
    color: #111;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
    opacity: 0.75;
}

/* ── Hover ── */

.cell:hover .cell-arrow {
    transform: translateX(3px) translateY(-3px);
    opacity: 1;
}

.cell:hover .cell-title {
    color: #3a2070;
}

.cell:hover .cell-sub {
    color: #6b4faa;
}

/* Arrow Animation */
@keyframes arrowCross {
    0% {
        left: 8px;
        top: 50%;
        opacity: 1;
        transform: translateY(-50%) rotate(0deg);
    }

    40% {
        left: 70px;
        top: 20%;
        opacity: 0;
        transform: translateY(-50%) rotate(20deg);
    }

    60% {
        left: -40px;
        top: 80%;
        opacity: 0;
        transform: translateY(-50%) rotate(-20deg);
    }

    100% {
        left: 8px;
        top: 50%;
        opacity: 1;
        transform: translateY(-50%) rotate(0deg);
    }
}

/* ── Decorative SVG lines ── */

.deco {
    position: absolute;
    pointer-events: none;
}

.deco-tl {
    top: -10px;
    left: -10px;
    width: 140px;
}

.deco-br {
    bottom: -20px;
    right: -20px;
    width: 160px;
}

/*Happening in each depart css*/
.hap-depart-warea {
    position: relative;
    margin-top: 80px;
}

.hap-depart-warea::before {
    content: "";
    position: absolute;
    top: -88px;
    right: 14px;
    width: 400px;
    height: 209px;
    background: url(../images/grn-ribbon.jpg) no-repeat center center;
    z-index: -1;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /* border-top: 1px solid #ddd;
    border-left: 1px solid #ddd; */
}

.cell-icon {
    width: 70px;
    height: auto;
    margin-bottom: 18px;
    flex-shrink: 0;
    object-fit: contain;
    z-index: 1;
}

.cell-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.02em;
    margin-bottom: 3px;
    z-index: 1;
}

.cell-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    transition: color 0.3s ease;
    z-index: 1;
}

/* Hover */

.cell:hover .cell-title {
    color: #3a2070;
}

.deco-tr {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 130px;
    pointer-events: none;
}

.redis-gray-bg {
    background-color: #f3eeff;
    border: none;
}

.redis-gray-bg::before {
    content: "";
    position: absolute;
    top: 0;
    z-index: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #8b1a1a;
    transition: all 700ms ease;
}

.redis-gray-bg:hover:before {
    width: 100%;
    left: 0;
}

.white-bg {
    background-color: #fff;
    border: none;
}

.redis-gray-bg:hover span.cell-arrow {
    filter: brightness(0) invert(1);
}

.redis-gray-bg:hover img.cell-icon {
    filter: brightness(0) invert(1);
}

.redis-gray-bg:hover span.cell-sub {
    color: #fff;
}

.redis-gray-bg:hover span.cell-title {
    color: #fff;
}


.cell.tint::before {
    content: "";
    position: absolute;
    top: 0;
    z-index: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #8b1a1a;
    transition: all 700ms ease;
}

.cell.tint:hover:before {
    width: 100%;
    left: 0;
}

.cell.tint:hover span.cell-arrow {
    filter: brightness(0) invert(1);
}

.cell.tint:hover .cell-title,
.cell.tint:hover .cell-sub {
    color: #fff;
}

.custom_carousel {
    margin-bottom: 60px;
}

/* ══════════════════════════════════════════════
   OWL CAROUSEL – Event Gallery (Prominent Nav & Dots)
   ══════════════════════════════════════════════ */

.event-gallery-carousel {
    position: relative;
    padding: 0 8px;
}

.event-gallery-carousel .item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.event-gallery-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.event-gallery-carousel .item:hover img {
    transform: scale(1.06);
}

/* ── Nav Arrows ── */
.event-gallery-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
}

.event-gallery-carousel .owl-nav button.owl-prev,
.event-gallery-carousel .owl-nav button.owl-next {
    pointer-events: all;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff !important;
    color: var(--ti-red) !important;
    border: 1.5px solid var(--ti-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
    margin: 0 -12px;
}

.event-gallery-carousel .owl-nav button.owl-prev span,
.event-gallery-carousel .owl-nav button.owl-next span {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}

.event-gallery-carousel .owl-nav button.owl-prev:hover,
.event-gallery-carousel .owl-nav button.owl-next:hover {
    background: var(--ti-red) !important;
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(139, 26, 26, .35);
    transform: scale(1.08);
}

.event-gallery-carousel .owl-nav button.owl-prev {
    margin-left: -26px;
}

.event-gallery-carousel .owl-nav button.owl-next {
    margin-right: -26px;
}

.event-gallery-carousel .owl-nav button.disabled {
    opacity: .35;
    cursor: default;
    box-shadow: none;
}

/* ── Dots ── */
.event-gallery-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.event-gallery-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 0;
    background: #ddd;
    border-radius: 50%;
    display: block;
    transition: all .3s ease;
}

.event-gallery-carousel .owl-dots .owl-dot:hover span {
    background: var(--ti-gold);
}

.event-gallery-carousel .owl-dots .owl-dot.active span {
    width: 28px;
    border-radius: 6px;
    background: var(--ti-red);
}

@media (max-width: 767px) {  

    .event-gallery-carousel .owl-nav button.owl-prev,
    .event-gallery-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .event-gallery-carousel .owl-nav button.owl-prev {
        margin-left: -8px;
    }

    .event-gallery-carousel .owl-nav button.owl-next {
        margin-right: -8px;
    }
}

/* social sharing icons */

.social-share .btn {
    width: 46px;
    height: 46px;
    font-weight: 600;
    transition: .3s;
}

.social-share .btn:hover {
    transform: translateY(-2px);
}

.copy-link-btn.copied {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
}

.evt-body h6 {
    color: #d61b16;
}

.social_icon ul {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social_icon ul li {
    list-style: none;
}

.social_icon ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease;
}

/* Social icon buttons */
.social_icon ul li:not(:last-child) a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    justify-content: center;
    color: #fff;
}

/* Facebook */
.social_icon ul li:nth-child(1) a {
    background: #1877F2;
}

/* WhatsApp */
.social_icon ul li:nth-child(2) a {
    background: #25D366;
}

/* X (Twitter) */
.social_icon ul li:nth-child(3) a {
    background: #000;
}

/* LinkedIn */
.social_icon ul li:nth-child(4) a {
    background: #0A66C2;
}

/* Instagram */
.social_icon ul li:nth-child(5) a {
    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

/* Hover */
.social_icon ul li:not(:last-child) a:hover {
    transform: translateY(-3px);
}

/* Icons */
.social_icon ul li i {
    font-size: 18px;
}

/* Copy Link */
.social_icon ul li:last-child a {
    color: #000;
    font-size: 15px;
}

.social_icon ul li:last-child a:hover {
    color: #0d6efd;
}

/* After copying */
.social_icon ul li:last-child a.copied {
    color: #198754;
    font-weight: 600;
}

.social_icon ul li:last-child i {
    font-size: 25px;
}
.evt-category{
    background-color:#d61b16;
    color:#fff;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius:20px;
    display:inline-block;
    margin-bottom: 8px;
}
.magazine-section-wrapper h6{
     background-color:#d61b16;
    color:#fff;
    padding: 10px 30px 8px;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius:5px;
    margin: 30px auto 0;
    text-align: center;
    width: fit-content;
}
.magazine-section-wrapper h6 a{
    color:#fff;
    text-decoration:underline;
}
.magazine-section-wrapper h6 a:hover{
    text-decoration:none;
}

/* News category filter select — no hover/focus highlight */
.news-filter-select,
.news-filter-select:hover,
.news-filter-select:focus,
.news-filter-select:focus-visible,
.news-filter-select:active {
    border-color: #dee2e6;
    outline: none;
    box-shadow: none;
    background-color: #fff;
    color: #000;
}

/* ── News category search-style selector (light grey panel) ── */
.news-filter-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 40px;
}

.news-filter-search .nfs-box {
    background-color: #f4f4f5;
    border: 1px solid #e6e6e8;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.news-filter-search .nfs-field {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #dcdcdf;
    border-radius: 30px;
    padding: 0 6px 0 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.news-filter-search.is-open .nfs-field {
    border-color: #c4c4c8;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.news-filter-search .nfs-input {
    flex: 1 1 auto;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #1a1a1a;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .01em;
    padding: 9px 0;
}

.news-filter-search .nfs-input::placeholder {
    color: #8b8b90;
    font-weight: 400;
    opacity: 1;
}

.news-filter-search .nfs-search-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7a7a80;
    font-size: .95rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.news-filter-search .nfs-search-btn:hover {
    background-color: #ededef;
    color: #d61b16;
}

.news-filter-search .nfs-list {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    list-style: none;
    margin: 12px 0 2px;
    padding: 10px 0 0;
    border-top: 1px solid #e3e3e6;
}

.news-filter-search.is-open .nfs-list {
    display: grid;
}

.news-filter-search .nfs-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #3a3a3e;
    text-align: left;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.3;
    padding: 9px 10px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.news-filter-search .nfs-item i {
    flex: 0 0 16px;
    font-size: .95rem;
    color: #9a9aa0;
    transition: color .2s ease;
}

.news-filter-search .nfs-item:hover,
.news-filter-search .nfs-item:focus-visible {
    background-color: #eaeaec;
    color: #1a1a1a;
    outline: none;
}

.news-filter-search .nfs-item:hover i {
    color: #6b6b70;
}

.news-filter-search .nfs-item.is-selected {
    background-color: #fff;
    color: #d61b16;
    box-shadow: inset 0 0 0 1px #e6c9c8;
}

.news-filter-search .nfs-item.is-selected i {
    color: #d61b16;
}

.news-filter-search .nfs-list li.is-hidden {
    display: none;
}

.news-filter-search .nfs-empty {
    display: none;
    color: #7a7a80;
    margin: 12px 0 2px;
    padding: 10px 10px 0;
    border-top: 1px solid #e3e3e6;
    font-size: .85rem;
}

.news-filter-search.is-open .nfs-empty.is-visible {
    display: block;
}

@media (max-width: 575.98px) {
    .news-filter-search .nfs-list {
        grid-template-columns: 1fr;
    }
}

/* ── TIET Patiala in the News — editorial card style ── */
.news-section .row > [class*="col-"] > a {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-section .evt-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transform: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-section .evt-card:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.news-section .evt-img-wrap {
    width: 100%;
    margin: 0 0 18px;
    aspect-ratio: 3 / 2;
    border-radius: 0;
    overflow: hidden;
}

.news-section .evt-img {
    border-radius: 0;
}

.news-section .evt-card:hover .evt-img {
    transform: scale(1.03);
}

.news-section .evt-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.news-section .evt-category {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 12px;
    color: #d61b16;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.news-section .evt-category::after {
    content: "";
    flex: 0 0 38px;
    height: 1px;
    background-color: #c9c9c9;
}

/* .news-section .evt-title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 22px;
    transition: color .25s ease;
} */

.news-section .evt-title {
    font: 600 1.35rem/1.3 system-ui, sans-serif;
    color: #1a1a1a;
    margin: 0 0 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-section .evt-title:has(+ .evt-author) {
    margin-bottom: 8px;
}

.news-section .evt-author {
    margin: 0 0 8px;
    color: #333333;
    font-size: .85rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0;
    text-transform: none;
}

.news-section .evt-date {
    margin: auto 0 0;
    padding: 0 0 8px;
    color: #5a5a5a;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: color .25s ease;
}

.news-section .evt-read {
    margin: 0;
    padding-top: 8px;
    border-top: 1px solid #ddd;
    color: #7a7a7a;
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: color .25s ease, border-color .25s ease;
}

/* 
.news-section .evt-card:hover .evt-title {
    color: #d61b16;
}
.news-section .evt-card:hover .evt-date,
.news-section .evt-card:hover .evt-read {
    color: #d61b16;
}

.news-section .evt-card:hover .evt-read {
    border-top-color: #d61b16;
} */

@media (max-width: 991.98px) {
    .news-section .row > [class*="col-"] {
        margin-bottom: 36px;
    }

    .news-section .evt-title {
        font-size: 1.35rem;
    }
}

/* ── Media Relations section ── */
.media-relations-section {
    padding: 10px 0 0;
}

.media-relations-box {
    background-color: #fff;
    border: 1px solid #e3e3e6;
    border-radius: 6px;
    padding: 34px 38px 38px;
}

.media-relations-box .mr-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.media-relations-box .mr-note {
    font-size: .95rem;
    font-style: italic;
    line-height: 1.6;
    color: #3a3a3e;
    max-width: 640px;
    margin: 0 0 26px;
}

.media-relations-box .mr-note a {
    color: #3a3a3e;
    text-decoration: underline;
}

.media-relations-box .mr-note a:hover {
    color: #d61b16;
}

.media-relations-box .mr-person p {
    margin: 0 0 4px;
    font-size: .95rem;
    line-height: 1.55;
    color: #3a3a3e;
}

.media-relations-box .mr-name {
    font-weight: 700;
    color: #1a1a1a;
}

.media-relations-box .mr-contact a {
    color: #1a1a1a;
    text-decoration: underline;
}

.media-relations-box .mr-contact a:hover {
    color: #d61b16;
}

.media-relations-box .mr-social {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.media-relations-box .mr-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color .25s ease, transform .25s ease;
}

.media-relations-box .mr-social a:hover {
    background-color: #d61b16;
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .media-relations-box {
        padding: 26px 22px 30px;
    }
}

section.hero.tiet-patiala-banner {
    background: transparent !important;
}
section.hero.tiet-patiala-banner::after{
  background:none !important
}