body.area-public {
    background: #f5f1e8;
    color: #193b2e;
}

body.area-public .container {
    width: 100%;
    max-width: 1320px;
    padding-inline: 15px;
}

.uof-public-header {
    position: sticky;
    top: 0;
    z-index: 1100;
}

.uof-header-topline {
    max-height: 42px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, #07543a, #0a7a52);
    transition: max-height .32s ease, opacity .26s ease, transform .32s ease;
}

.uof-header-topline .container-fluid {
    padding-inline: clamp(16px, 3vw, 48px);
}

.uof-header-topline-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    font-weight: 800;
}

.uof-header-topline a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.uof-header-topline i {
    font-size: 17px;
}

.uof-header-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.uof-header-social a {
    width: 28px;
    height: 28px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    transition: transform .22s ease, background .22s ease;
}

.uof-header-social a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.26);
}

.uof-public-header .rs-header-area {
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 34px rgba(14, 54, 41, .11);
    backdrop-filter: blur(16px);
    transition: background .32s ease, box-shadow .32s ease;
}

.uof-public-header .header-wrapper {
    min-height: 86px;
    padding-inline: clamp(16px, 3vw, 48px);
    display: grid;
    grid-template-columns: minmax(310px, 370px) minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    transition: min-height .32s ease, padding .32s ease;
}

.uof-public-header .header-logo-wrapper,
.uof-public-header .header-menu,
.uof-public-header .header-right {
    position: relative;
    inset: auto;
    transform: none;
    background: transparent !important;
}

.uof-public-header .rs-header-two.has-theme-green-two .header-logo-wrapper {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.uof-public-header .rs-header-two.has-theme-green-two .header-logo-wrapper:before,
.uof-public-header .rs-header-two.has-theme-green-two .header-logo-wrapper:after {
    content: none !important;
}

.uof-public-header .rs-header-two.has-theme-green-two .header-logo {
    width: auto !important;
}

.uof-public-header .header-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.uof-public-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.35vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.uof-public-nav li {
    position: relative;
}

.uof-public-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 32px 0;
    color: #13382b;
    font-weight: 800;
    font-size: 15px;
    white-space: nowrap;
    transition: color .22s ease, transform .22s ease;
}

.uof-public-nav > ul > li > a:after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 24px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0a7a52, #f4d35e);
    opacity: 0;
    transform: scaleX(.25);
    transform-origin: center;
    transition: opacity .22s ease, transform .22s ease;
}

.uof-public-nav a:hover,
.uof-public-header .uof-login-link,
.uof-public-header .lang-switch {
    color: #0a7a52;
}

.uof-public-nav > ul > li:hover > a,
.uof-public-nav > ul > li:focus-within > a,
.uof-public-nav > ul > li.is-open > a {
    transform: translateY(-1px);
}

.uof-public-nav > ul > li > a i {
    font-size: 17px;
    transition: transform .22s ease;
}

.uof-public-nav > ul > li:hover > a i,
.uof-public-nav > ul > li:focus-within > a i,
.uof-public-nav > ul > li.is-open > a i {
    transform: rotate(180deg);
}

.uof-public-nav > ul > li:hover > a:after,
.uof-public-nav > ul > li:focus-within > a:after,
.uof-public-nav > ul > li.is-open > a:after {
    opacity: 1;
    transform: scaleX(1);
}

.uof-mega-menu {
    position: absolute;
    top: calc(100% - 6px);
    inset-inline-start: 50%;
    width: min(860px, calc(100vw - 48px));
    overflow: visible;
    padding: 18px;
    border: 1px solid rgba(10, 122, 82, .14);
    border-radius: 8px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 70px rgba(14, 54, 41, .18);
    backdrop-filter: blur(18px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(18px) scale(.98);
    transform-origin: top center;
    transition: opacity .24s ease, transform .24s ease, visibility 0s linear .24s;
    pointer-events: none;
}

.uof-mega-menu:before {
    content: "";
    position: absolute;
    top: -8px;
    inset-inline-start: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-inline-start: 1px solid rgba(10, 122, 82, .14);
    border-top: 1px solid rgba(10, 122, 82, .14);
    background: rgba(255,255,255,.96);
    transform: rotate(45deg);
}

html[dir="rtl"] .uof-mega-menu {
    transform: translateX(50%) translateY(18px) scale(.98);
}

.uof-has-mega:hover .uof-mega-menu,
.uof-has-mega:focus-within .uof-mega-menu,
.uof-has-mega.is-open .uof-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    transition-delay: 0s;
    pointer-events: auto;
}

html[dir="rtl"] .uof-has-mega:hover .uof-mega-menu,
html[dir="rtl"] .uof-has-mega:focus-within .uof-mega-menu,
html[dir="rtl"] .uof-has-mega.is-open .uof-mega-menu {
    transform: translateX(50%) translateY(0) scale(1);
}

.uof-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding: 4px 4px 14px;
    border-bottom: 1px solid rgba(10, 122, 82, .12);
}

.uof-mega-head strong {
    color: #123d2d;
    font-size: 18px;
}

.uof-mega-head a {
    padding: 0;
    color: #0a7a52;
    font-size: 13px;
}

.uof-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: min(52vh, 510px);
    overflow-y: auto;
    padding-inline-end: 4px;
}

.uof-mega-card {
    min-height: 104px;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 13px !important;
    border-radius: 8px;
    color: #173c30 !important;
    background: #f7fbf8;
    border: 1px solid rgba(10, 122, 82, .08);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.uof-mega-card:hover {
    transform: translateY(-3px);
    background: #fff;
    border-color: rgba(10, 122, 82, .22);
    box-shadow: 0 14px 30px rgba(14, 54, 41, .1);
}

.uof-mega-card:after {
    display: none;
}

.uof-mega-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #0a7a52;
    background: #e8f5ef;
    font-size: 22px;
}

.uof-mega-card strong,
.uof-mega-card small {
    grid-column: 2;
    display: block;
    min-width: 0;
}

.uof-mega-card strong {
    overflow: hidden;
    color: #123d2d;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.uof-mega-card small {
    margin-top: 4px;
    color: #5f756c;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
}

.uof-public-header .uof-login-link,
.uof-public-header .uof-dashboard-link {
    padding: 12px 22px;
    border-radius: 999px;
    color: #fff;
    background: #0a7a52;
    font-weight: 800;
    white-space: nowrap;
    transition: padding .32s ease, transform .22s ease, background .22s ease;
}

.uof-public-header .uof-login-link:hover,
.uof-public-header .uof-dashboard-link:hover {
    transform: translateY(-2px);
    background: #07543a;
}

.uof-public-header .uof-dashboard-link {
    color: #0a7a52;
    background: #eef8f3;
    border: 1px solid rgba(10, 122, 82, .16);
    box-shadow: none;
}

.uof-public-header .uof-dashboard-link:hover {
    color: #fff;
}

.uof-public-header .lang-switch {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(10, 122, 82, .24);
    color: #0a7a52;
    font-weight: 900;
    background: #fff;
}

.uof-template-logo {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 13px;
    color: #173c30;
    min-width: 0;
}

.uof-logo-mark {
    position: relative;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    animation: uofLogoIntro .9s cubic-bezier(.2,.8,.2,1) both, uofLogoFloat 4s ease-in-out 1.1s infinite;
    transition: width .32s ease, height .32s ease, flex-basis .32s ease;
}

.uof-logo-mark:before,
.uof-logo-mark:after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    border: 1px solid rgba(10, 122, 82, .3);
    animation: uofLogoRing 1.9s ease-out .35s both;
}

.uof-logo-mark:after {
    inset: -9px;
    border-color: rgba(244, 211, 94, .46);
    animation-delay: .52s;
}

.uof-logo-seal {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #0a7a52;
    border: 5px solid #f4d35e;
    font-weight: 900;
}

.uof-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 14px rgba(7, 84, 58, .16));
    transition: width .32s ease, height .32s ease, filter .32s ease;
}

.uof-logo-copy strong,
.uof-logo-copy small {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
}

.uof-logo-copy {
    flex: 0 0 auto;
    min-width: max-content;
}

.uof-logo-copy strong {
    color: #123d2d;
    font-size: 19px;
    font-weight: 900;
    transition: font-size .32s ease;
}

.uof-logo-copy small {
    max-width: none;
    color: #0a7a52;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    transition: font-size .32s ease;
}

.uof-public-header.is-scrolled .uof-header-topline {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
}

.uof-public-header.is-scrolled .rs-header-area {
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 30px rgba(14, 54, 41, .16);
}

.uof-public-header.is-scrolled .header-wrapper {
    min-height: 64px;
}

.uof-public-header.is-scrolled .uof-logo-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
}

.uof-public-header.is-scrolled .uof-logo-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 5px 10px rgba(7, 84, 58, .14));
}

.uof-public-header.is-scrolled .uof-logo-copy strong {
    font-size: 16px;
}

.uof-public-header.is-scrolled .uof-logo-copy small {
    font-size: 11px;
}

.uof-public-header.is-scrolled .uof-login-link,
.uof-public-header.is-scrolled .uof-dashboard-link {
    padding: 9px 18px;
}

.uof-template-banner .rs-banner-bg-thumb {
    background-size: cover;
    background-position: center;
}

.uof-template-banner .rs-banner-bg-thumb:before {
    background: linear-gradient(90deg, rgba(7, 49, 36, .94), rgba(7, 92, 62, .72));
}

.uof-template-banner .rs-banner-wrapper {
    min-height: 720px;
    display: flex;
    align-items: center;
}

.uof-template-banner .rs-banner-title {
    max-width: 850px;
    font-family: var(--font);
    font-weight: 900;
}

.uof-template-banner .rs-banner-desc {
    font-size: 19px;
}

.uof-template-banner .rs-banner-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.uof-hero-second {
    border: 1px solid rgba(255,255,255,.55);
    color: #fff !important;
}

.uof-about-section {
    background: #f5f1e8 !important;
}

.uof-about-image-stack {
    position: relative;
    min-height: 520px;
}

.uof-about-main {
    width: min(520px, 100%);
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 30px 70px rgba(17, 62, 45, .16);
}

.uof-about-count {
    position: absolute;
    inset-inline-end: 16px;
    bottom: 28px;
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    background: #0a7a52;
    border: 8px solid #f4d35e;
}

.uof-about-count strong {
    display: block;
    font-size: 44px;
    line-height: 1;
}

.uof-lead {
    margin: 22px 0;
    color: #5d7067;
    font-size: 18px;
}

.uof-about-section .section-title {
    display: -webkit-box;
    overflow: hidden;
    color: #123d2d;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.uof-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.uof-stat-row div {
    padding: 22px;
    border-radius: 8px;
    background: #fff;
}

.uof-stat-row strong {
    display: block;
    color: #0a7a52;
    font-size: 34px;
}

.uof-program-section,
.uof-news-section {
    background: #f5f1e8 !important;
}

.uof-program-card,
.uof-news-card,
.uof-service-card {
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 61, 44, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.uof-program-card:hover,
.uof-news-card:hover,
.uof-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(21, 61, 44, .16);
}

.uof-program-thumb img,
.uof-news-thumb img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    transition: transform .45s ease;
}

.uof-program-thumb,
.uof-news-thumb {
    display: block;
    overflow: hidden;
}

.uof-program-card:hover .uof-program-thumb img,
.uof-news-card:hover .uof-news-thumb img {
    transform: scale(1.07);
}

.uof-program-content,
.uof-news-content,
.uof-service-card {
    padding: 26px;
}

.uof-program-content span,
.uof-news-content span {
    color: #0a7a52;
    font-weight: 900;
    text-transform: uppercase;
}

.uof-program-content h3,
.uof-news-content h3,
.uof-service-card h3 {
    margin: 10px 0;
    font-size: 24px;
}

.uof-program-content a,
.uof-news-content a,
.uof-service-card a {
    color: #173c30;
}

.uof-campus-section {
    padding: 72px 0 78px !important;
    background: #f5f1e8 !important;
}

.uof-campus-section .rs-campus-life-shape {
    display: none;
}

.uof-service-card {
    min-height: 290px;
    position: relative;
}

.uof-service-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #0a7a52;
    background: #e8f5ef;
    font-size: 32px;
    transition: transform .28s ease, color .28s ease, background .28s ease;
}

.uof-service-card:hover .uof-service-icon {
    color: #fff;
    background: #0a7a52;
    transform: rotate(-8deg) scale(1.08);
}

.uof-read-link {
    color: #0a7a52 !important;
    font-weight: 900;
}

.uof-single-section-title {
    margin-bottom: 8px;
    color: #123d2d !important;
    font-size: clamp(1.9rem, 3vw, 2.55rem) !important;
    line-height: 1.25 !important;
}

.uof-page-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background: #113b2c;
}

.uof-unit-hero {
    min-height: 520px;
}

.uof-hero-slider,
.uof-hero-slide,
.uof-page-hero-shade {
    position: absolute;
    inset: 0;
}

.uof-hero-slide {
    opacity: 0;
    background-position: center;
    background-size: cover;
    animation: uofHeroFade var(--slide-duration, 15s) infinite;
}

.uof-hero-slide.is-static {
    opacity: 1;
    animation: none;
}

.uof-page-hero-shade {
    background: linear-gradient(90deg, rgba(6, 43, 31, .94), rgba(6, 84, 55, .66), rgba(6, 43, 31, .2));
}

.uof-page-hero-content {
    position: relative;
    z-index: 2;
    padding-block: 120px 70px;
}

.uof-page-hero-content h1 {
    max-width: 860px;
    margin: 14px 0;
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.05;
}

.uof-page-hero-content p {
    max-width: 760px;
    color: rgba(255,255,255,.9);
    font-size: 18px;
}

.uof-unit-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 50%;
    padding: 6px;
    background: #fff;
}

.uof-page-body {
    background: #f5f1e8;
}

.uof-content-panel {
    padding: clamp(26px, 4vw, 46px);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 61, 44, .08);
}

.uof-content-panel h2,
.uof-unit-grid h2,
.uof-unit-detail-grid h2 {
    margin-top: 0;
    color: #173c30;
}

.uof-about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 28px;
    align-items: stretch;
}

.uof-about-logo-stage {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    align-content: center;
    overflow: hidden;
    padding: 34px;
    text-align: center;
    border-radius: 8px;
    color: #123d2d;
    background:
        radial-gradient(circle at 50% 40%, rgba(244, 211, 94, .34), transparent 28%),
        linear-gradient(145deg, #ffffff, #e9f5ef);
    box-shadow: 0 24px 65px rgba(21, 61, 44, .12);
}

.uof-about-logo-stage img {
    position: relative;
    z-index: 2;
    width: min(210px, 74%);
    filter: drop-shadow(0 22px 34px rgba(11, 77, 55, .2));
    animation: uofAboutLogoFloat 4.8s ease-in-out infinite;
}

.uof-about-logo-stage strong,
.uof-about-logo-stage small {
    position: relative;
    z-index: 2;
    display: block;
}

.uof-about-logo-stage strong {
    margin-top: 20px;
    font-size: 28px;
    font-weight: 900;
}

.uof-about-logo-stage small {
    color: #0a7a52;
    font-weight: 900;
}

.uof-about-orbit {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px dashed rgba(10, 122, 82, .32);
    animation: uofOrbit 18s linear infinite;
}

.uof-about-orbit:before,
.uof-about-orbit:after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f4d35e;
    box-shadow: 0 0 0 8px rgba(244, 211, 94, .18);
}

.uof-about-orbit:before {
    top: 18px;
    inset-inline-start: 34px;
}

.uof-about-orbit:after {
    bottom: 22px;
    inset-inline-end: 42px;
    background: #0a7a52;
}

.uof-about-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.uof-about-info-grid article,
.uof-unit-detail-grid section {
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 61, 44, .08);
}

.uof-about-info-grid span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #0a7a52;
    background: #e8f5ef;
    font-size: 28px;
}

.uof-about-info-grid h2 {
    margin: 0 0 10px;
    color: #173c30;
    font-size: 24px;
}

.uof-page-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.uof-page-gallery figure {
    overflow: hidden;
    margin: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(21, 61, 44, .08);
}

.uof-page-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.uof-page-gallery figcaption {
    padding: 12px 14px;
    color: #5f756c;
    font-size: 14px;
}

.uof-unit-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.uof-unit-grid,
.uof-unit-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.uof-unit-grid section {
    padding: 26px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 61, 44, .08);
}

.uof-staff-avatar {
    width: 86px;
    height: 86px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #e8f5ef;
    color: #0a7a52;
    font-size: 42px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.uof-staff-avatar:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(10, 122, 82, .18);
}

.uof-staff-avatar img,
.uof-staff-card img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
}

.uof-staff-card h3 a {
    color: #173c30;
}

.uof-staff-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.uof-staff-profile-card {
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    box-shadow: 0 18px 45px rgba(21, 61, 44, .08);
}

.uof-staff-profile-card img,
.uof-profile-fallback {
    width: 170px;
    height: 170px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
}

.uof-staff-profile-card img {
    object-fit: cover;
}

.uof-profile-fallback {
    color: #0a7a52;
    background: #e8f5ef;
    font-size: 82px;
}

.uof-research-list {
    display: grid;
    gap: 10px;
    padding-inline-start: 22px;
}

@keyframes uofHeroFade {
    0%,
    26% {
        opacity: 1;
    }
    34%,
    100% {
        opacity: 0;
    }
}

@keyframes uofLogoIntro {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(.86) rotate(-8deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

@keyframes uofLogoRing {
    0% {
        opacity: 0;
        transform: scale(.7);
    }
    45% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1.24);
    }
}

@keyframes uofLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes uofAboutLogoFloat {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1.8deg);
    }
}

@keyframes uofOrbit {
    to {
        transform: rotate(360deg);
    }
}

.uof-apply-band {
    padding: 86px 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 49, 36, .94), rgba(10, 122, 82, .84)),
        url("../univet/campus-life-thumb-14.webp") center / cover no-repeat;
}

.uof-apply-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.uof-apply-content span {
    color: #f4d35e;
    font-weight: 900;
}

.uof-apply-content h2 {
    max-width: 760px;
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.uof-univet-footer {
    padding: 72px 0 24px;
    color: rgba(255,255,255,.82);
    background: #103526;
}

.uof-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
}

.uof-univet-footer .uof-template-logo,
.uof-univet-footer h4,
.uof-univet-footer a {
    color: #fff;
}

.uof-univet-footer .uof-logo-copy strong {
    color: #fff;
}

.uof-univet-footer .uof-logo-copy small {
    color: rgba(255,255,255,.75);
}

.uof-univet-footer a,
.uof-univet-footer span {
    display: block;
    margin: 8px 0;
}

.uof-footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.62);
}

.uof-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.uof-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html[dir="rtl"] .uof-public-nav ul {
    padding-right: 0;
}

html[dir="rtl"] .uof-template-banner .rs-banner-info-content {
    margin-inline-start: 0;
    margin-inline-end: 90px;
}

@media (max-width: 1199px) {
    .uof-public-header .header-wrapper {
        min-height: 86px;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .uof-public-header .header-menu {
        position: static;
    }

    .uof-public-nav {
        display: none;
    }

    .uof-public-nav.open {
        position: absolute;
        inset-inline: 16px;
        top: calc(100% + 8px);
        display: block;
        padding: 18px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(17, 62, 45, .18);
    }

    .uof-public-nav.open ul {
        display: grid;
        gap: 12px;
    }

    .uof-public-nav.open a {
        padding: 8px 0;
    }

    .uof-public-nav.open a:after {
        bottom: 2px;
    }

    .uof-mega-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-top: 0;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        pointer-events: auto;
        background: transparent;
        transition: max-height .28s ease, margin .28s ease;
    }

    .uof-has-mega:hover .uof-mega-menu,
    .uof-has-mega:focus-within .uof-mega-menu,
    .uof-has-mega.is-open .uof-mega-menu {
        max-height: 720px;
        margin-top: 8px;
    }

    .uof-mega-menu:before {
        display: none;
    }

    .uof-mega-head {
        display: none;
    }

    .uof-mega-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        max-height: none;
        overflow: visible;
        padding-inline-end: 0;
    }

    .uof-mega-card {
        min-height: auto;
        padding: 10px !important;
    }

    .uof-mobile-toggle {
        display: inline-grid;
        place-items: center;
    }
}

@media (max-width: 991px) {
    .uof-template-banner .rs-banner-wrapper {
        min-height: 620px;
    }

    html[dir="rtl"] .uof-template-banner .rs-banner-info-content,
    .uof-template-banner .rs-banner-info-content {
        margin-inline: 0;
    }

    .uof-about-image-stack,
    .uof-about-main {
        min-height: 360px;
        height: 360px;
    }

    .uof-apply-content,
    .uof-footer-grid {
        grid-template-columns: 1fr;
        align-items: flex-start;
        flex-direction: column;
    }

    .uof-unit-overview,
    .uof-page-gallery,
    .uof-about-intro-grid,
    .uof-staff-profile-grid {
        grid-template-columns: 1fr;
    }

    .uof-about-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .uof-header-topline-inner {
        min-height: 36px;
        font-size: 12px;
    }

    .uof-header-topline {
        max-height: 36px;
    }

    .uof-header-social a {
        width: 25px;
        height: 25px;
    }

    .uof-public-header .header-wrapper {
        min-height: 78px;
        padding-inline: 12px;
        gap: 10px;
    }

    .uof-logo-mark {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .uof-logo-img {
        width: 48px;
        height: 48px;
    }

    .uof-public-header.is-scrolled .header-wrapper {
        min-height: 60px;
    }

    .uof-public-header.is-scrolled .uof-logo-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .uof-public-header.is-scrolled .uof-logo-img {
        width: 44px;
        height: 44px;
    }

    .uof-logo-copy strong {
        font-size: 14px;
    }

    .uof-logo-copy small {
        max-width: 150px;
        font-size: 10px;
    }

    .uof-public-header .uof-login-link {
        padding: 10px 13px;
        font-size: 13px;
    }

    .uof-public-header .lang-switch {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .uof-template-banner .rs-banner-title {
        font-size: 40px;
    }

    .uof-page-hero,
    .uof-unit-hero {
        min-height: 420px;
    }

    .uof-page-hero-content {
        padding-block: 90px 48px;
    }

    .uof-page-hero-content h1 {
        font-size: 38px;
    }

    .uof-unit-grid,
    .uof-unit-detail-grid,
    .uof-about-info-grid {
        grid-template-columns: 1fr;
    }

    .uof-stat-row {
        grid-template-columns: 1fr;
    }
}
