/****************************************
chem.science.cmu public stylesheet
****************************************/

@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&display=swap");

:root {
    --chem-maroon: #600F1A;
    --chem-maroon-dark: #3d0911;
    --chem-maroon-soft: #8f2a35;
    --chem-green: #1b673a;
    --chem-blue: #3a7cbc;
    --chem-gold: #ffc200;
    --chem-ink: #241617;
    --chem-muted: #6f6263;
    --chem-line: #eadede;
    --chem-bg: #ffffff;
    --chem-bg-soft: #f8f8f9;
    --chem-font: "Prompt", Arial, sans-serif;
    --chem-radius: 8px;
    --chem-shadow: 0 14px 34px rgba(76, 8, 10, .08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    overflow-x: clip;
    background: #0D152E;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: clip;
    background: var(--chem-bg);
    color: var(--chem-ink);
    font-family: var(--chem-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.lang-en {
    font-family: var(--chem-font);
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--chem-maroon);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

a:hover,
a:focus {
    color: var(--chem-maroon-dark);
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--chem-ink);
    font-family: var(--chem-font);
    font-weight:600;
    line-height: 1.2;
    letter-spacing: 0;
}

p {
    margin-top: 0;
}

.container {
    max-width: 1320px !important;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.section {
    padding: 64px 0;
}

.section-soft {
    background: var(--chem-bg-soft);
}

.section-title {
    margin-bottom: 18px;
    color: var(--chem-maroon-dark);
    font-size: clamp(28px, 3vw, 44px);
}

.text-muted-mju {
    color: var(--chem-muted);
}

.btn-mju {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid var(--chem-maroon);
    border-radius: var(--chem-radius);
    background: var(--chem-maroon);
    color: #fff;
    font-weight: 700;
}

.btn-mju:hover,
.btn-mju:focus {
    background: var(--chem-maroon-dark);
    border-color: var(--chem-maroon-dark);
    color: #fff;
}

.btn-mju-outline {
    background: #fff;
    color: var(--chem-maroon);
}

.btn-mju-outline:hover,
.btn-mju-outline:focus {
    background: var(--chem-maroon);
    color: #fff;
}

/* Header */
.chem-site-header {
    position: relative;
    z-index: 50;
    background: #fff;
}

.chem-topbar .container,
.chem-brandbar .container,
.chem-mainnav .container {
    max-width: 1320px !important;
}

.chem-topbar {
    min-height: 72px;
    background: #fff;
}

.chem-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.chem-wordmark {
    display: inline-flex;
    flex-direction: column;
    color: var(--chem-muted);
}

.chem-wordmark strong {
    color: #8a6b6c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.chem-wordmark span {
    margin-top: 2px;
    color: #8a6b6c;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
}

.chem-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--chem-maroon-dark);
    white-space: nowrap;
}

.chem-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--chem-maroon-dark);
    font-size: 16px;
    font-weight: 600;
}

.chem-phone i {
    font-size: 16px;
}

.chem-lang-switch,
.chem-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: var(--chem-maroon);
    color: #fff;
    font-size: 12px;
    font-weight:600;
}

.chem-lang-switch:hover,
.chem-lang-switch:focus,
.chem-mobile-toggle:hover,
.chem-mobile-toggle:focus {
    background: var(--chem-maroon-dark);
    color: #fff;
}

.chem-mainnav {
    min-height: 92px;
    background: var(--chem-maroon);
    color: #fff;
    box-shadow: 0 10px 26px rgba(76, 8, 10, .14);
}

@media (min-width: 992px) {
    .chem-site-header.is-mainnav-fixed {
        padding-bottom: 92px;
    }

    .chem-mainnav.is-fixed {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 900;
    }
}

.chem-mainnav-inner {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 92px;
}

.chem-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1/_px;
    height: 108px;
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.chem-nav-logo img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.chem-desktop-menu,
.chem-desktop-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chem-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

.chem-desktop-menu > li {
    position: relative;
}

.chem-desktop-menu > li + li::before {
    content: "/";
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
}

.chem-desktop-menu a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    padding: 0 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.chem-desktop-menu a > i {
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

.chem-desktop-menu a:hover,
.chem-desktop-menu a:focus {
    color: #ffe1e1;
}

body.lang-en .chem-desktop-menu a {
    font-size: 14px;
}

.chem-desktop-menu .has-submenu > a::after {
    content: "\f0d7";
    margin-left: 5px;
    font-family: "Font Awesome 6 Free";
    font-size: 9px;
    font-weight:600;
    transition: transform .22s ease;
}

.chem-desktop-menu .has-submenu:hover > a::after,
.chem-desktop-menu .has-submenu:focus-within > a::after {
    transform: rotate(180deg);
}

.chem-desktop-menu > li > ul {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 30;
    width: 304px;
    padding: 10px;
    border: 1px solid rgba(123, 17, 19, .1);
    border-radius: 10px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 46px rgba(76, 8, 10, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(14px) scale(.98);
    transform-origin: top center;
    transition: opacity .24s ease, transform .24s cubic-bezier(.16, 1, .3, 1), visibility .24s ease;
}

.chem-desktop-menu > li > ul::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 1px solid rgba(123, 17, 19, .1);
    border-left: 1px solid rgba(123, 17, 19, .1);
    background: rgba(255, 255, 255, .98);
    transform: translateX(-50%) rotate(45deg);
}

.chem-desktop-menu > li > ul::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 12px;
}

.chem-desktop-menu > li:hover > ul,
.chem-desktop-menu > li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.chem-desktop-menu > li > ul a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 11px 13px;
    border-radius: 7px;
    color: var(--chem-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.chem-desktop-menu > li > ul a::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(123, 17, 19, .28);
    transition: background-color .18s ease, transform .18s ease;
}

.chem-desktop-menu > li > ul a:hover,
.chem-desktop-menu > li > ul a:focus {
    background: var(--chem-maroon);
    color: #fff;
    transform: translateX(2px);
}

.chem-desktop-menu > li > ul a:hover::before,
.chem-desktop-menu > li > ul a:focus::before {
    background: #fff;
    transform: scale(1.18);
}

.chem-mobile-toggle {
    min-width: 40px;
    height: 32px;
}

.chem-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    overflow-y: auto;
    background: rgba(0, 0, 0, .45);
    -webkit-overflow-scrolling: touch;
}

.chem-mobile-menu.is-open {
    display: block;
}

.chem-mobile-menu-panel {
    width: min(340px, 86vw);
    min-height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 18px;
    background: #fff;
    box-shadow: 16px 0 40px rgba(0, 0, 0, .18);
    -webkit-overflow-scrolling: touch;
}

.chem-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--chem-line);
}

.chem-mobile-menu-head img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.chem-mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--chem-maroon);
    color: #fff;
}

.chem-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chem-mobile-menu-panel > ul {
    padding-top: 12px;
}

.chem-mobile-menu a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid #f1e5e5;
    color: var(--chem-ink);
    font-weight: 700;
}

.chem-mobile-menu ul ul {
    padding: 0 0 4px 14px;
}

.chem-mobile-menu ul ul a {
    color: var(--chem-muted);
    font-size: 14px;
    font-weight: 500;
}

.mju-anchor-target {
    display: block;
    position: relative;
    top: -96px;
    visibility: hidden;
}

.chem-menu-open {
    overflow: hidden;
}

/* Hero */
.chem-hero-slider {
    position: relative;
    overflow: hidden;
    background: #111;
}

.chem-hero-slider .owl-carousel,
.chem-hero-slider .owl-stage-outer,
.chem-hero-slider .owl-stage,
.chem-hero-slider .owl-item,
.chem-hero-item,
.chem-hero-item .chem-home-banner {
    height: min(560px, 58vw);
    min-height: 360px;
}

.chem-hero-slider .owl-dots {
    position: absolute;
    right: 24px;
    bottom: 18px;
    left: 24px;
    z-index: 5;
}

.chem-hero-slider .owl-theme .owl-dots .owl-dot span,
.chem-hero-slider .owl-dot span {
    background: rgba(255, 255, 255, .58);
}

.chem-hero-slider .owl-theme .owl-dots .owl-dot.active span,
.chem-hero-slider .owl-dot.active span {
    background: #fff;
}

/* Cards And Lists */
.news-container {
    background: var(--chem-bg-soft);
}

.news-card,
.news-card-slide,
.island-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--chem-radius);
    background: #fff;
    color: var(--chem-ink);
    box-shadow: var(--chem-shadow);
}

.news-img-box {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-content {
    padding: 16px;
}

.news-title {
    margin-bottom: 8px;
    font-size: 20px;
}

.news-desc {
    color: var(--chem-muted);
    font-size: 14px;
}

.news-readmore {
    color: var(--chem-maroon);
    font-weight: 700;
}

.bg-zoom-effect {
    cursor: pointer;
    transition: transform .35s ease, box-shadow .25s ease;
    will-change: transform;
}

.bg-zoom-effect:hover,
.bg-zoom-effect:focus,
.bg-zoom-effect:active {
    transform: scale(1.04);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}

.img-effect {
    overflow: hidden;
}

.chem-search-container {
    width: min(calc(100% - 24px), 1320px);
    margin-right: auto;
    margin-left: auto;
}

.chem-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.chem-home-search-section {
    position: relative;
    z-index: 5;
    padding: 28px 0 36px;
    background: #F4F7FC;
}

.chem-home-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px 28px;
    align-items: end;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 8%, rgba(246, 197, 68, .2), transparent 23%),
        linear-gradient(135deg, #101B3E 0%, #0D152E 100%);
    box-shadow: 0 20px 44px rgba(13, 21, 46, .2);
}

.chem-home-search-intro {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chem-home-search-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: rgba(246, 197, 68, .14);
    color: var(--chem-accent);
    font-size: 20px;
}

.chem-home-search-kicker,
.chem-search-form-head > div > span {
    display: block;
    margin-bottom: 5px;
    color: var(--chem-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.chem-home-search-intro h2 {
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

.chem-home-search-intro p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.55;
}

.chem-search-scope {
    display: inline-flex;
    gap: 5px;
    margin: 0;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
}

.chem-search-scope label {
    margin: 0;
    cursor: pointer;
}

.chem-search-scope input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chem-search-scope span {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.chem-search-scope input:focus-visible + span {
    outline: 2px solid var(--chem-accent);
    outline-offset: 2px;
}

.chem-search-scope input:checked + span {
    background: var(--chem-accent);
    box-shadow: 0 4px 12px rgba(3, 10, 31, .22);
    color: var(--chem-primary-dark);
}

.chem-search-control {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.chem-search-control:focus-within {
    border-color: var(--chem-accent);
    box-shadow: 0 0 0 4px rgba(246, 197, 68, .17);
}

.chem-search-control > i {
    color: var(--chem-primary);
    font-size: 17px;
    text-align: center;
}

.chem-search-input-wrap {
    min-width: 0;
    position: relative;
}

.chem-search-control input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-right: 56px;
    border: 0;
    outline: none;
    color: var(--chem-primary-dark);
    font-size: 16px;
    font-weight: 500;
}

.chem-search-control input::-webkit-search-cancel-button {
    display: none;
}

.chem-search-control input::placeholder {
    color: #7B879C;
    font-weight: 400;
}

.chem-search-control .chem-search-submit {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 24px;
    border: 0;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.chem-search-control .chem-search-submit:hover,
.chem-search-control .chem-search-submit:focus-visible {
    background: #fff;
    color: var(--chem-primary-dark);
    outline: none;
}

.chem-search-clear {
    position: absolute;
    top: 50%;
    right: 18px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #E8EDF5;
    color: #53627C;
    cursor: pointer;
    font-size: 15px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.chem-search-clear[hidden] {
    display: none;
}

.chem-search-clear:hover,
.chem-search-clear:focus-visible {
    background: var(--chem-primary);
    color: #fff;
    outline: none;
}

.chem-search-clear:focus-visible {
    box-shadow: 0 0 0 3px rgba(246, 197, 68, .42);
}

.chem-search-clear:active {
    transform: translateY(-50%) scale(.92);
}

/* Chemistry home courses */
.chem-home-courses-section {
    position: relative;
    overflow: hidden;
    padding: 66px 0 64px;
    background:
        radial-gradient(circle at 50% 115%, rgba(58, 80, 117, .28), transparent 34%),
        linear-gradient(135deg, #101B3E 0%, #0D1C40 56%, #0D152E 100%);
}

.chem-home-courses-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 72%, transparent);
}

.chem-home-courses-container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 24px), 1320px);
    margin-right: auto;
    margin-left: auto;
}

.chem-home-courses-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.chem-home-courses-head h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.2vw, 31px);
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.3;
}

.chem-home-courses-head h2 i {
    color: var(--chem-accent);
    font-size: .86em;
}

.chem-home-courses-head p {
    max-width: 640px;
    margin: 13px auto 0;
    color: rgba(226, 233, 247, .64);
    font-size: 15px;
    line-height: 1.7;
}

.chem-home-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(160px, .9fr);
    gap: 14px;
    max-width: 1000px;
    margin: 36px auto 0;
}

.chem-home-courses-grid.is-empty {
    grid-template-columns: minmax(180px, 230px);
    justify-content: center;
}

.chem-home-course-card,
.chem-home-courses-apply {
    display: flex;
    min-width: 0;
    min-height: 102px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    transition:
        transform .24s ease,
        border-color .24s ease,
        background-color .24s ease,
        box-shadow .24s ease;
}

.chem-home-course-card {
    flex-direction: column;
    gap: 11px;
    padding: 16px 12px;
    border: 1px solid rgba(162, 181, 218, .11);
    background: rgba(39, 59, 105, .55);
    color: #fff;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.chem-home-course-card:hover,
.chem-home-course-card:focus-visible {
    border-color: rgba(246, 197, 68, .5);
    background: rgba(48, 71, 122, .78);
    color: #fff;
    outline: none;
    box-shadow: 0 14px 28px rgba(3, 10, 31, .24);
    transform: translateY(-4px);
}

.chem-home-course-icon {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 9px;
    border-radius: 11px;
    background: rgba(246, 197, 68, .13);
    box-shadow: inset 0 0 0 1px rgba(246, 197, 68, .04);
}

.chem-home-course-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chem-home-course-icon > i {
    color: var(--chem-accent);
    font-size: 21px;
}

.chem-home-course-card strong {
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.chem-home-courses-apply {
    gap: 11px;
    padding: 18px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    box-shadow: 0 15px 28px rgba(246, 197, 68, .2);
    font-size: 18px;
    font-weight:600;
    line-height: 1.25;
    text-align: center;
}

.chem-home-courses-apply span {
    max-width: 78px;
}

.chem-home-courses-apply i {
    font-size: 14px;
    transition: transform .2s ease;
}

.chem-home-courses-apply:hover,
.chem-home-courses-apply:focus-visible {
    background: #FFD15C;
    color: var(--chem-primary-dark);
    outline: none;
    box-shadow: 0 18px 34px rgba(246, 197, 68, .3);
    transform: translateY(-4px);
}

.chem-home-courses-apply:hover i,
.chem-home-courses-apply:focus-visible i {
    transform: translateX(4px);
}

@media (max-width: 1199.98px) {
    .chem-home-courses-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 820px;
    }
}

@media (max-width: 767.98px) {
    .chem-home-courses-section {
        padding: 48px 0;
    }

    .chem-home-courses-head {
        max-width: 560px;
    }

    .chem-home-courses-head p {
        font-size: 14px;
    }

    .chem-home-courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
    }

    .chem-home-course-card,
    .chem-home-courses-apply {
        min-height: 112px;
    }

    .chem-home-courses-apply span {
        max-width: none;
    }
}

@media (max-width: 479.98px) {
    .chem-home-courses-head h2 {
        gap: 10px;
        font-size: 23px;
    }

    .chem-home-courses-grid,
    .chem-home-courses-grid.is-empty {
        grid-template-columns: 1fr;
    }

    .chem-home-course-card,
    .chem-home-courses-apply {
        min-height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chem-home-course-card,
    .chem-home-courses-apply,
    .chem-home-courses-apply i {
        transition: none;
    }
}

/* Chemistry home news */
.chem-home-news-section {
    padding: 76px 0 84px;
    background: #fff;
}

.chem-home-news-container {
    width: min(calc(100% - 24px), 1320px);
    margin-right: auto;
    margin-left: auto;
}

.chem-home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: stretch;
}

.chem-home-news-content {
    min-width: 0;
}

.chem-home-news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 98px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E8EDF5;
}

.chem-home-news-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--chem-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.chem-home-news-head h2 {
    position: relative;
    margin: 0;
    padding-bottom: 13px;
    color: var(--chem-primary-dark);
    font-size: clamp(32px, 3vw, 42px);
    font-weight:600;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.chem-home-news-head h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 3px;
    content: "";
    background: var(--chem-accent);
}

.chem-home-news-view-all,
.chem-home-facebook-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.chem-home-news-view-all i,
.chem-home-facebook-all i {
    font-size: 12px;
    transition: transform .2s ease;
}

.chem-home-news-view-all:hover,
.chem-home-news-view-all:focus-visible,
.chem-home-facebook-all:hover,
.chem-home-facebook-all:focus-visible {
    border-color: var(--chem-primary);
    color: var(--chem-primary);
    outline: none;
}

.chem-home-news-view-all:hover i,
.chem-home-news-view-all:focus-visible i,
.chem-home-facebook-all:hover i,
.chem-home-facebook-all:focus-visible i {
    transform: translateX(4px);
}

.chem-home-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.chem-home-news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E5EAF2;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(13, 21, 46, .035);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.chem-home-news-card > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.chem-home-news-card:hover,
.chem-home-news-card:focus-within {
    border-color: rgba(246, 197, 68, .72);
    box-shadow: 0 15px 30px rgba(13, 21, 46, .12);
    transform: translateY(-4px);
}

.chem-home-news-image {
    position: relative;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background-color: #D8E0EC;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.chem-home-news-image.is-placeholder {
    background-color: #D9E3F3;
    background-position: center;
    background-size: 110px auto;
}

.chem-home-news-category {
    position: absolute;
    top: 13px;
    left: 13px;
    max-width: calc(100% - 26px);
    overflow: hidden;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(13, 21, 46, .16);
}

.chem-home-news-body {
    display: flex;
    min-height: 172px;
    flex-direction: column;
    padding: 19px 18px 17px;
}

.chem-home-news-latest {
    display: block;
    margin-bottom: 8px;
    color: #DBA91D;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.chem-home-news-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.chem-home-news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    color: #263B66;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.chem-home-news-read-more i {
    font-size: 11px;
    transition: transform .2s ease;
}

.chem-home-news-card:hover .chem-home-news-read-more i,
.chem-home-news-card:focus-within .chem-home-news-read-more i {
    transform: translateX(4px);
}

.chem-home-news-empty {
    display: flex;
    min-height: 238px;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border: 1px dashed #D5DDEA;
    border-radius: 13px;
    background: #F8FAFD;
    color: #71809A;
    text-align: center;
}

.chem-home-news-empty i {
    color: var(--chem-accent);
    font-size: 28px;
}

.chem-home-news-empty p {
    margin: 0;
    font-size: 14px;
}

.chem-home-facebook {
    display: flex;
    min-height: 0;
    flex-direction: column;
    min-width: 0;
}

.chem-home-facebook-all {
    align-self: flex-end;
    margin-top: 42px;
    margin-bottom: 27px;
}

.chem-home-facebook-card {
    clear: both;
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E2E8F1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 21, 46, .11);
}

.chem-home-facebook-head {
    display: flex;
    min-height: 53px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    background: var(--chem-primary-dark);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.chem-home-facebook-head i {
    color: var(--chem-accent);
    font-size: 15px;
}

.chem-home-facebook-card iframe {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 1 1 auto;
    max-width: 340px;
    border: 0;
    background: #fff;
}

@media (max-width: 1199.98px) {
    .chem-home-news-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 28px;
    }

    .chem-home-facebook-card iframe {
        max-width: 320px;
    }
}

@media (max-width: 991.98px) {
    .chem-home-news-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .chem-home-facebook {
        width: min(100%, 340px);
        margin: 0 auto;
    }

    .chem-home-facebook-all {
        align-self: flex-end;
        margin-top: 0;
    }

    .chem-home-facebook-card iframe {
        height: 560px;
        flex: 0 0 560px;
        max-width: 340px;
    }
}

@media (max-width: 767.98px) {
    .chem-home-news-section {
        padding: 52px 0 58px;
    }

    .chem-home-news-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        margin-bottom: 22px;
    }

    .chem-home-news-view-all {
        padding-bottom: 7px;
    }

    .chem-home-news-grid {
        grid-template-columns: 1fr;
    }

    .chem-home-news-image {
        aspect-ratio: 16 / 8;
    }

    .chem-home-news-body {
        min-height: 154px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chem-home-news-card,
    .chem-home-news-view-all,
    .chem-home-facebook-all,
    .chem-home-news-view-all i,
    .chem-home-facebook-all i,
    .chem-home-news-read-more i {
        transition: none;
    }
}

/* Chemistry home research highlights */
.chem-home-research-section {
    padding: 76px 0 82px;
    background: #F5F7FB;
}

.chem-home-research-container {
    width: min(calc(100% - 24px), 1320px);
    margin-right: auto;
    margin-left: auto;
}

.chem-home-research-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 29px;
}

.chem-home-research-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--chem-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.chem-home-research-head h2 {
    position: relative;
    margin: 0;
    padding-bottom: 13px;
    color: var(--chem-primary-dark);
    font-size: clamp(32px, 3vw, 42px);
    font-weight:600;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.chem-home-research-head h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    content: "";
    background: var(--chem-accent);
}

.chem-home-research-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-bottom: 8px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
}

.chem-home-research-view-all i,
.chem-home-research-link i {
    font-size: 12px;
    transition: transform .2s ease;
}

.chem-home-research-view-all:hover,
.chem-home-research-view-all:focus-visible {
    border-color: var(--chem-primary);
    color: var(--chem-primary);
    outline: none;
}

.chem-home-research-view-all:hover i,
.chem-home-research-view-all:focus-visible i,
.chem-home-research-link:hover i,
.chem-home-research-link:focus-visible i {
    transform: translateX(4px);
}

.chem-home-research-carousel {
    position: relative;
}

.chem-home-research-carousel .owl-stage {
    display: flex;
}

.chem-home-research-carousel .owl-item {
    display: flex;
    height: auto;
}

.chem-home-research-carousel .owl-item > .chem-home-research-card {
    width: 100%;
    height: 100%;
}

.chem-home-research-card {
    position: relative;
    display: grid;
    min-height: 300px;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.12fr);
    overflow: hidden;
    border: 1px solid rgba(13, 21, 46, .08);
    border-radius: 8px;
    background: var(--chem-primary-dark);
    box-shadow: 0 16px 30px rgba(13, 21, 46, .12);
}

.chem-home-research-card::before,
.chem-home-research-card::after {
    position: absolute;
    z-index: 0;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(246, 197, 68, .11);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.chem-home-research-card::before {
    top: -78px;
    left: 29%;
    box-shadow:
        68px 64px 0 -76px rgba(246, 197, 68, .28),
        21px 135px 0 -76px rgba(246, 197, 68, .22),
        147px 127px 0 -76px rgba(246, 197, 68, .18);
}

.chem-home-research-card::after {
    right: -88px;
    bottom: -104px;
    border-color: rgba(255, 255, 255, .06);
}

.chem-home-research-copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 34px 44px 34px 52px;
    color: rgba(255, 255, 255, .78);
}

.chem-home-research-field,
.chem-home-research-interest-label {
    display: block;
    color: var(--chem-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.chem-home-research-copy h3 {
    display: -webkit-box;
    margin: 10px 0 7px;
    overflow: hidden;
    color: #fff;
    font-size: clamp(21px, 2.1vw, 29px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chem-home-research-copy p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .77);
    font-size: 14px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.chem-home-research-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid var(--chem-accent);
    border-radius: 8px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.chem-home-research-link:hover,
.chem-home-research-link:focus-visible {
    border-color: #FFD568;
    background: #FFD568;
    color: var(--chem-primary-dark);
    outline: none;
}

.chem-home-research-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-self: stretch;
    min-width: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chem-home-research-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #fff;
    object-fit: cover;
    object-position: center;
}

.chem-home-research-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(246, 197, 68, .35);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
    text-align: center;
}

.chem-home-research-image-placeholder i {
    color: var(--chem-accent);
    font-size: 33px;
}

.chem-home-research-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: -13px;
    left: -13px;
    display: flex;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

.chem-home-research-carousel .owl-nav button.owl-prev,
.chem-home-research-carousel .owl-nav button.owl-next {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 13px;
    pointer-events: auto;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.chem-home-research-carousel .owl-nav button.owl-prev:hover,
.chem-home-research-carousel .owl-nav button.owl-next:hover,
.chem-home-research-carousel .owl-nav button.owl-prev:focus-visible,
.chem-home-research-carousel .owl-nav button.owl-next:focus-visible {
    background: #FFD568;
    color: var(--chem-primary-dark);
    outline: none;
    box-shadow: 0 8px 16px rgba(13, 21, 46, .22);
    transform: scale(1.08);
}

.chem-home-research-carousel .owl-dots {
    margin-top: 22px;
    text-align: center;
}

.chem-home-research-carousel .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 5px;
    background: #C5CEE0;
}

.chem-home-research-carousel .owl-dots .owl-dot.active span {
    width: 20px;
    border-radius: 999px;
    background: var(--chem-accent);
}

.chem-home-research-pagination {
    margin-top: 3px;
    color: #6C7A93;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-align: center;
}

.chem-home-research-counter {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.chem-home-research-counter [data-chem-research-current] {
    color: var(--chem-primary);
}

@media (max-width: 767.98px) {
    .chem-home-research-section {
        padding: 52px 0 58px;
    }

    .chem-home-research-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 22px;
    }

    .chem-home-research-view-all {
        margin-bottom: 0;
        padding-bottom: 7px;
    }

    .chem-home-research-card {
        grid-template-columns: 1fr;
    }

    .chem-home-research-copy {
        min-height: 256px;
        padding: 31px 31px 27px;
    }

    .chem-home-research-image {
        min-height: 210px;
    }

    .chem-home-research-image img,
    .chem-home-research-image-placeholder {
        min-height: 210px;
    }

    .chem-home-research-carousel .owl-nav {
        right: 8px;
        left: 8px;
    }

    .chem-home-research-card::before {
        left: 52%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chem-home-research-view-all,
    .chem-home-research-view-all i,
    .chem-home-research-link i,
    .chem-home-research-carousel .owl-nav button.owl-prev,
    .chem-home-research-carousel .owl-nav button.owl-next {
        transition: none;
    }
}

/* News Listing Page */
.mju-news-page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(96, 15, 26, .96), rgba(61, 9, 17, .96)),
        var(--chem-maroon);
    color: #fff;
}

.mju-news-page-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.mju-news-page-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 300px;
    padding: 54px 0;
}

.mju-news-page-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
}

.mju-news-page-kicker a {
    color: #fff;
}

.mju-news-page-kicker i {
    font-size: 10px;
    opacity: .72;
}

.mju-news-page-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.15;
}

.mju-news-page-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    line-height: 1.7;
}

.mju-news-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.mju-news-page-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mju-news-page {
    background: #f7f4f4;
}

/* Legacy standalone Contact Page styles removed: contact now lives on the homepage. */

.mju-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(76, 8, 10, .06);
}

.mju-news-toolbar span {
    display: block;
    color: var(--chem-muted);
    font-size: 13px;
    font-weight: 600;
}

.mju-news-toolbar strong {
    display: block;
    margin-top: 3px;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight:600;
}

.mju-news-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid rgba(96, 15, 26, .18);
    border-radius: 8px;
    background: var(--chem-maroon);
    color: #fff;
    font-size: 14px;
    font-weight:600;
}

.mju-news-filter-btn:hover,
.mju-news-filter-btn:focus {
    background: var(--chem-maroon-dark);
    color: #fff;
}

.mju-news-filter-menu {
    min-width: 260px;
    padding: 8px;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(76, 8, 10, .14);
}

.mju-news-filter-menu .dropdown-item {
    border-radius: 7px;
    color: var(--chem-ink);
    font-size: 14px;
    font-weight: 600;
}

.mju-news-filter-menu .dropdown-item:hover,
.mju-news-filter-menu .dropdown-item:focus,
.mju-news-filter-menu .dropdown-item.active {
    background: var(--chem-maroon);
    color: #fff;
}

.mju-category-links-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 34px;
    padding: 30px;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 16%, rgba(187, 41, 27, .12), transparent 30%),
        linear-gradient(135deg, #fff, #fbf7f7);
    box-shadow: 0 24px 54px rgba(76, 8, 10, .1);
}

.mju-category-links-panel::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -90px;
    width: 230px;
    height: 230px;
    border: 34px solid rgba(96, 15, 26, .05);
    border-radius: 50%;
    pointer-events: none;
}

.mju-category-links-head {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.mju-category-links-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #bb291b;
    font-size: 13px;
    font-weight:600;
}

.mju-category-links-head h2 {
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.25;
}

.mju-category-links-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--chem-muted);
    font-size: 16px;
    line-height: 1.75;
}

.mju-category-links-count {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--chem-maroon-dark);
    box-shadow: 0 12px 24px rgba(76, 8, 10, .08);
}

.mju-category-links-count strong {
    color: #bb291b;
    font-size: 24px;
    line-height: 1;
}

.mju-category-links-count span {
    color: var(--chem-muted);
    font-size: 13px;
    font-weight:600;
}

.mju-category-links-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mju-category-link-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 16px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--chem-ink);
    box-shadow: 0 14px 28px rgba(76, 8, 10, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.mju-category-link-card:hover,
.mju-category-link-card:focus {
    border-color: rgba(187, 41, 27, .35);
    background: #fff;
    color: var(--chem-ink);
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(76, 8, 10, .13);
}

.mju-category-link-card.is-disabled {
    cursor: default;
    opacity: .78;
}

.mju-category-link-card.is-disabled:hover,
.mju-category-link-card.is-disabled:focus {
    border-color: rgba(96, 15, 26, .1);
    transform: none;
    box-shadow: 0 14px 28px rgba(76, 8, 10, .07);
}

.mju-category-link-icon,
.mju-category-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.mju-category-link-icon {
    width: 52px;
    height: 52px;
    background: #78111c;
    color: #fff;
    font-size: 20px;
}

.mju-category-link-text {
    min-width: 0;
}

.mju-category-link-text strong {
    display: block;
    color: var(--chem-maroon-dark);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;
}

.mju-category-link-text small {
    display: block;
    margin-top: 5px;
    color: var(--chem-muted);
    font-size: 12px;
    font-weight: 700;
}

.mju-category-link-arrow {
    width: 34px;
    height: 34px;
    background: #f8eeee;
    color: #bb291b;
    font-size: 13px;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.mju-category-link-card:hover .mju-category-link-arrow,
.mju-category-link-card:focus .mju-category-link-arrow {
    background: #bb291b;
    color: #fff;
    transform: translate(2px, -2px);
}

.mju-category-link-card.is-disabled .mju-category-link-arrow,
.mju-category-link-card.is-disabled:hover .mju-category-link-arrow,
.mju-category-link-card.is-disabled:focus .mju-category-link-arrow {
    background: #f3eeee;
    color: var(--chem-muted);
    transform: none;
}

.mju-news-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 8px 0 22px;
}

.mju-news-content-head span {
    display: block;
    color: #bb291b;
    font-size: 13px;
    font-weight:600;
}

.mju-news-content-head h2 {
    margin: 5px 0 0;
    color: var(--chem-maroon-dark);
    font-size: clamp(25px, 2.6vw, 36px);
    font-weight: 500;
}

.mju-news-content-head p {
    margin: 0;
    padding: 9px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--chem-muted);
    font-size: 13px;
    font-weight:600;
    box-shadow: 0 10px 22px rgba(76, 8, 10, .06);
}

.mju-news-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mju-news-page-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 10px;
    background: #fff;
    color: var(--chem-ink);
    box-shadow: 0 14px 30px rgba(76, 8, 10, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mju-news-page-card > a:hover,
.mju-news-page-card > a:focus {
    border-color: rgba(96, 15, 26, .28);
    color: var(--chem-ink);
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(76, 8, 10, .13);
}

.mju-news-page-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee;
}

.mju-news-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.mju-news-page-image.is-placeholder {
    padding: 24px;
    background: #fbf8f8;
}

.mju-news-page-image.is-placeholder img {
    object-fit: contain;
}

.mju-news-page-card > a:hover .mju-news-page-image img,
.mju-news-page-card > a:focus .mju-news-page-image img {
    transform: scale(1.05);
}

.mju-news-page-card > a:hover .mju-news-page-image.is-placeholder img,
.mju-news-page-card > a:focus .mju-news-page-image.is-placeholder img {
    transform: none;
}

.mju-news-page-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.mju-news-page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--chem-muted);
    font-size: 18px;
    font-weight: 700;
}

.mju-news-page-meta span,
.mju-news-page-meta time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mju-news-page-meta i {
    color: var(--chem-maroon);
}

.mju-news-page-card h2 {
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.38;
}

.mju-news-page-card p {
    margin: 12px 0 0;
    color: var(--chem-muted);
    font-size: 14px;
    line-height: 1.7;
}

.mju-news-page-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--chem-maroon);
    font-size: 14px;
    font-weight:600;
}

.mju-news-empty {
    padding: 54px 24px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .06);
}

.mju-news-empty i {
    color: var(--chem-maroon);
    font-size: 42px;
}

.mju-news-empty h2 {
    margin: 18px 0 8px;
    color: var(--chem-maroon-dark);
    font-size: 28px;
}

.mju-news-empty p {
    margin: 0;
    color: var(--chem-muted);
}

.mju-news-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.mju-news-pagination a,
.mju-news-pagination-pages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mju-news-pagination a {
    min-width: 42px;
    min-height: 42px;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(96, 15, 26, .14);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-maroon);
    font-size: 14px;
    font-weight:600;
    box-shadow: 0 10px 22px rgba(76, 8, 10, .06);
}

.mju-news-pagination a:hover,
.mju-news-pagination a:focus,
.mju-news-pagination a.is-active {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
}

.mju-news-pagination a.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.mju-news-pagination-pages {
    gap: 8px;
}

/* Chemistry news and activities page */
.chem-news-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    overflow: hidden;
    background: var(--chem-primary-dark);
    color: #fff;
}

.chem-news-hero-media,
.chem-news-hero-overlay {
    position: absolute;
    inset: 0;
}

.chem-news-hero-media {
    z-index: -2;
    background: url("../images/news/chem-news-cover.jpg") center / cover no-repeat;
    transform: scale(1.01);
}

.chem-news-hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 13, 36, .98) 0%, rgba(8, 19, 48, .88) 43%, rgba(13, 21, 46, .34) 76%, rgba(13, 21, 46, .52) 100%),
        linear-gradient(0deg, rgba(13, 21, 46, .58), transparent 60%);
}

.chem-news-hero--type-4 .chem-news-hero-overlay {
    background: linear-gradient(90deg, rgba(5, 13, 36, .98), rgba(16, 27, 62, .84) 48%, rgba(35, 27, 60, .38));
}

.chem-news-hero--type-5 .chem-news-hero-overlay {
    background: linear-gradient(90deg, rgba(5, 13, 36, .98), rgba(13, 36, 60, .84) 48%, rgba(13, 21, 46, .4));
}

.chem-news-hero-inner {
    display: flex;
    min-height: 390px;
    align-items: center;
    padding: 60px 0;
}

.chem-news-hero-copy {
    width: min(680px, 100%);
}

.chem-news-hero-label,
.chem-news-breadcrumb {
    display: inline-flex;
    align-items: center;
}

.chem-news-hero-label {
    gap: 9px;
    margin-bottom: 17px;
    color: var(--chem-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
}

.chem-news-hero-label i {
    font-size: 17px;
}

.chem-news-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    font-weight:600;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.chem-news-hero-copy > p {
    max-width: 620px;
    margin: 20px 0 0;
    color: rgba(232, 237, 248, .84);
    font-size: 17px;
    line-height: 1.8;
}

.chem-news-breadcrumb {
    gap: 10px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    font-weight: 500;
}

.chem-news-breadcrumb a {
    color: #fff;
    font-weight: 700;
}

.chem-news-breadcrumb a:hover,
.chem-news-breadcrumb a:focus {
    color: var(--chem-accent);
}

.chem-news-breadcrumb i {
    color: var(--chem-accent);
    font-size: 8px;
}

.chem-news-page {
    padding: 58px 0 82px;
    background: #F5F7FB;
}

.chem-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding: 18px 20px 18px 24px;
    border: 1px solid rgba(16, 27, 62, .11);
    border-left: 4px solid var(--chem-accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 21, 46, .065);
}

.chem-news-toolbar span {
    display: block;
    color: #748096;
    font-size: 12px;
    font-weight: 600;
}

.chem-news-toolbar strong {
    display: block;
    margin-top: 3px;
    color: var(--chem-primary-dark);
    font-size: 20px;
    font-weight:600;
}

.chem-news-filter-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--chem-primary);
    border-radius: 8px;
    background: var(--chem-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.chem-news-filter-btn:hover,
.chem-news-filter-btn:focus {
    border-color: #9878B0;
    background: #9878B0;
    color: #fff;
}

.chem-news-filter-menu {
    min-width: 270px;
    padding: 8px;
    border: 1px solid rgba(16, 27, 62, .12);
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(13, 21, 46, .16);
}

.chem-news-filter-menu .dropdown-item {
    padding: 9px 11px;
    border-radius: 7px;
    color: var(--chem-primary-dark);
    font-size: 13px;
    font-weight: 600;
}

.chem-news-filter-menu .dropdown-item:hover,
.chem-news-filter-menu .dropdown-item:focus,
.chem-news-filter-menu .dropdown-item.active {
    background: var(--chem-primary);
    color: #fff;
}

.chem-news-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px auto auto;
    gap: 10px;
    align-items: center;
    margin: -10px 0 34px;
    padding: 14px;
    border: 1px solid rgba(16, 27, 62, .1);
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 28px rgba(13, 21, 46, .045);
}

.chem-news-search-input {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(16, 27, 62, .15);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-primary);
}

.chem-news-search-input:focus-within {
    border-color: var(--chem-accent);
    box-shadow: 0 0 0 3px rgba(246, 197, 68, .18);
}

.chem-news-search-input input,
.chem-news-year-select {
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--chem-primary-dark);
    font-size: 13px;
}

.chem-news-search-input input {
    width: 100%;
}

.chem-news-search-input input::placeholder {
    color: #8B95A8;
}

.chem-news-year-select {
    min-height: 44px;
    padding: 0 30px 0 12px;
    border: 1px solid rgba(16, 27, 62, .15);
    border-radius: 8px;
    background-color: #fff;
    font-weight: 700;
}

.chem-news-search-submit,
.chem-news-search-reset {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight:600;
    white-space: nowrap;
}

.chem-news-search-submit {
    border: 1px solid var(--chem-primary);
    background: var(--chem-primary);
    color: #fff;
}

.chem-news-search-submit:hover,
.chem-news-search-submit:focus {
    border-color: #9878B0;
    background: #9878B0;
    color: #fff;
}

.chem-news-search-reset {
    border: 1px solid rgba(16, 27, 62, .14);
    background: #fff;
    color: #65728A;
}

.chem-news-search-reset:hover,
.chem-news-search-reset:focus {
    border-color: var(--chem-accent);
    color: var(--chem-primary-dark);
}


.chem-news-links-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 38px;
    padding: 30px;
    border: 1px solid rgba(16, 27, 62, .12);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(152, 120, 176, .16), transparent 28%),
        #fff;
    box-shadow: 0 20px 44px rgba(13, 21, 46, .09);
}

.chem-news-links-panel::after {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 230px;
    height: 230px;
    border: 32px solid rgba(246, 197, 68, .08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.chem-news-links-head,
.chem-news-links-grid {
    position: relative;
    z-index: 1;
}

.chem-news-links-head {
    margin-bottom: 22px;
}

.chem-news-links-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: #A87817;
    font-size: 12px;
    font-weight:600;
}

.chem-news-links-head h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: clamp(27px, 3vw, 40px);
    font-weight:600;
    line-height: 1.25;
}

.chem-news-links-head p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #69768D;
    font-size: 15px;
    line-height: 1.75;
}

.chem-news-links-count {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(16, 27, 62, .12);
    border-radius: 999px;
    background: #fff;
    color: var(--chem-primary-dark);
}

.chem-news-links-count strong {
    color: #A87817;
    font-size: 23px;
    line-height: 1;
}

.chem-news-links-count span {
    color: #718097;
    font-size: 12px;
    font-weight: 700;
}

.chem-news-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.chem-news-link-card {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 34px;
    min-height: 102px;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(16, 27, 62, .1);
    border-radius: 13px;
    background: #F8FAFD;
    color: var(--chem-primary-dark);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.chem-news-link-card:hover,
.chem-news-link-card:focus {
    border-color: rgba(152, 120, 176, .5);
    color: var(--chem-primary-dark);
    box-shadow: 0 15px 28px rgba(13, 21, 46, .1);
    transform: translateY(-3px);
}

.chem-news-link-card.is-disabled {
    cursor: default;
    opacity: .72;
}

.chem-news-link-card.is-disabled:hover {
    box-shadow: none;
    transform: none;
}

.chem-news-link-icon,
.chem-news-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chem-news-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--chem-primary);
    color: var(--chem-accent);
    font-size: 18px;
}

.chem-news-link-text {
    min-width: 0;
}

.chem-news-link-text strong,
.chem-news-link-text small {
    display: block;
}

.chem-news-link-text strong {
    color: var(--chem-primary-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.chem-news-link-text small {
    margin-top: 4px;
    color: #768299;
    font-size: 11px;
    font-weight: 600;
}

.chem-news-link-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(246, 197, 68, .18);
    color: #A87817;
    font-size: 12px;
}

.chem-news-content-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 6px 0 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(16, 27, 62, .12);
}

.chem-news-content-head span {
    display: block;
    color: #A87817;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}

.chem-news-content-head h2 {
    margin: 5px 0 0;
    color: var(--chem-primary-dark);
    font-size: clamp(27px, 3vw, 40px);
    font-weight:600;
}

.chem-news-content-head p {
    margin: 0;
    padding: 8px 13px;
    border-radius: 999px;
    background: #fff;
    color: #6D7890;
    font-size: 12px;
    font-weight: 700;
}

.chem-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.chem-news-card > a {
    display: flex;
    height: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(16, 27, 62, .1);
    border-radius: 14px;
    background: #fff;
    color: var(--chem-primary-dark);
    box-shadow: 0 12px 28px rgba(13, 21, 46, .065);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.chem-news-card > a:hover,
.chem-news-card > a:focus {
    border-color: rgba(152, 120, 176, .48);
    color: var(--chem-primary-dark);
    box-shadow: 0 20px 40px rgba(13, 21, 46, .12);
    transform: translateY(-5px);
}

.chem-news-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E9EDF5;
}

.chem-news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.chem-news-card-image.is-placeholder {
    padding: 28px;
    background: #F0F3F8;
}

.chem-news-card-image.is-placeholder img {
    object-fit: contain;
}

.chem-news-card > a:hover .chem-news-card-image:not(.is-placeholder) img,
.chem-news-card > a:focus .chem-news-card-image:not(.is-placeholder) img {
    transform: scale(1.045);
}

.chem-news-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 11px;
    font-weight:600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(13, 21, 46, .16);
}

.chem-news-card-body {
    display: flex;
    min-height: 260px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 20px;
}

.chem-news-card-meta {
    min-height: 24px;
    color: #A87817;
    font-size: 12px;
    font-weight: 700;
}

.chem-news-card-meta time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.chem-news-card h2 {
    display: -webkit-box;
    min-height: 58px;
    margin: 11px 0 0;
    overflow: hidden;
    color: var(--chem-primary-dark);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chem-news-card p {
    display: -webkit-box;
    margin: 11px 0 0;
    overflow: hidden;
    color: #68758B;
    font-size: 13px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.chem-news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    color: var(--chem-primary);
    font-size: 13px;
    font-weight:600;
}

.chem-news-card-readmore i {
    transition: transform .2s ease;
}

.chem-news-card > a:hover .chem-news-card-readmore i {
    transform: translateX(4px);
}

.chem-news-empty {
    padding: 60px 24px;
    border: 1px dashed rgba(16, 27, 62, .2);
    border-radius: 16px;
    background: #fff;
    color: #6D7990;
    text-align: center;
}

.chem-news-empty > span {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--chem-primary);
    color: var(--chem-accent);
    font-size: 25px;
}

.chem-news-empty h2 {
    margin: 18px 0 0;
    color: var(--chem-primary-dark);
    font-size: 25px;
}

.chem-news-empty p {
    margin: 8px 0 0;
}

.chem-news-pagination,
.chem-news-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chem-news-pagination {
    flex-wrap: wrap;
    margin-top: 38px;
}

.chem-news-pagination a {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(16, 27, 62, .14);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-primary);
    font-size: 13px;
    font-weight: 700;
}

.chem-news-pagination a:hover,
.chem-news-pagination a:focus,
.chem-news-pagination a.is-active {
    border-color: var(--chem-primary);
    background: var(--chem-primary);
    color: #fff;
}

.chem-news-pagination a.is-disabled {
    pointer-events: none;
    opacity: .42;
}

@media (max-width: 991.98px) {
    .chem-news-links-grid,
    .chem-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .chem-news-hero,
    .chem-news-hero-inner {
        min-height: 330px;
    }

    .chem-news-hero-inner {
        padding: 46px 0;
    }

    .chem-news-hero-copy > p {
        font-size: 15px;
    }

    .chem-news-page {
        padding: 42px 0 58px;
    }

    .chem-news-toolbar,
    .chem-news-content-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .chem-news-toolbar .dropdown,
    .chem-news-filter-btn,
    .chem-news-search-submit,
    .chem-news-search-reset {
        width: 100%;
    }

    .chem-news-filter-btn {
        justify-content: center;
    }

    .chem-news-search-form {
        grid-template-columns: 1fr;
        margin-bottom: 28px;
    }

    .chem-news-links-panel {
        padding: 22px;
    }

    .chem-news-links-grid,
    .chem-news-grid {
        grid-template-columns: 1fr;
    }


    .chem-news-card-body {
        min-height: 235px;
    }

    .chem-news-pagination-direction span {
        display: none;
    }
}

/* Video */
.chem-home-video-section {
    position: relative;
    isolation: isolate;
    padding: 76px 0 82px;
    background: #F5F7FB;
}

.chem-home-video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
}

.chem-home-video-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.chem-home-video-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(246, 197, 68, .36);
    border-radius: 12px;
    background: var(--chem-primary);
    color: var(--chem-accent);
    box-shadow: 0 12px 24px rgba(13, 21, 46, .16);
    font-size: 25px;
}

.chem-home-video-title h2 {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    color: var(--chem-primary-dark);
    font-size: clamp(30px, 3vw, 42px);
    font-weight:600;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.chem-home-video-title h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    content: "";
    background: var(--chem-accent);
}

.chem-home-video-title p {
    margin: 8px 0 0;
    color: #6C7A93;
    font-size: 15px;
    line-height: 1.6;
}

.chem-home-video-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-bottom: 8px;
    padding: 0 0 9px;
    border-bottom: 2px solid var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.chem-home-video-all:hover,
.chem-home-video-all:focus-visible {
    border-color: var(--chem-primary);
    color: var(--chem-primary);
    outline: none;
}

.chem-home-video-all i {
    font-size: 12px;
    transition: transform .2s ease;
}

.chem-home-video-all:hover i,
.chem-home-video-all:focus-visible i {
    transform: translateX(4px);
}

.chem-home-video-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(13, 21, 46, .1);
    border-radius: 8px;
    background: var(--chem-primary-dark);
    box-shadow: 0 18px 36px rgba(13, 21, 46, .14);
}

.chem-home-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.chem-home-video-frame {
    width: 100%;
    min-width: 0;
}

.chem-home-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.chem-home-video-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: clamp(30px, 3.5vw, 50px);
    border-left: 1px solid rgba(246, 197, 68, .16);
    background:
        radial-gradient(circle at 92% 10%, rgba(246, 197, 68, .16), transparent 24%),
        linear-gradient(145deg, #101B3E 0%, #0D152E 100%);
}

.chem-home-video-content::before,
.chem-home-video-content::after {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(246, 197, 68, .16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.chem-home-video-content::before {
    top: -88px;
    right: -70px;
    width: 214px;
    height: 214px;
    box-shadow: -44px 152px 0 -97px rgba(246, 197, 68, .28);
}

.chem-home-video-content::after {
    bottom: -124px;
    left: -104px;
    width: 230px;
    height: 230px;
    border-color: rgba(255, 255, 255, .07);
}

.chem-home-video-content > * {
    position: relative;
    z-index: 1;
}

.chem-home-video-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.chem-home-video-content h3 {
    margin: 0;
    margin-top: 18px;
    color: #fff;
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.28;
}

.chem-home-video-content time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(226, 233, 247, .72);
    font-size: 14px;
    font-weight: 600;
}

.chem-home-video-content time i {
    color: var(--chem-accent);
}

/* Video library page */
.chem-video-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    overflow: hidden;
    background: var(--chem-primary-dark);
}

.chem-video-hero-media,
.chem-video-hero-overlay {
    position: absolute;
    inset: 0;
}

.chem-video-hero-media {
    z-index: -2;
    background: url("../images/video/chem-video-cover.jpg") center / cover no-repeat;
    transform: scale(1.01);
}

.chem-video-hero-overlay {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 13, 36, .98) 0%, rgba(8, 19, 48, .87) 42%, rgba(13, 21, 46, .28) 74%, rgba(13, 21, 46, .48) 100%),
        linear-gradient(0deg, rgba(13, 21, 46, .58), transparent 58%);
}

.chem-video-hero-inner {
    display: flex;
    min-height: 390px;
    align-items: center;
    padding: 62px 0;
}

.chem-video-hero-copy {
    width: min(650px, 100%);
}

.chem-video-hero-label,
.chem-video-breadcrumb {
    display: inline-flex;
    align-items: center;
}

.chem-video-hero-label {
    gap: 9px;
    margin-bottom: 17px;
    color: var(--chem-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
}

.chem-video-hero-label i {
    font-size: 17px;
}

.chem-video-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 5vw, 72px);
    font-weight:600;
    letter-spacing: -.04em;
    line-height: 1.06;
}

.chem-video-hero-copy > p {
    max-width: 600px;
    margin: 20px 0 0;
    color: rgba(232, 237, 248, .82);
    font-size: 17px;
    line-height: 1.8;
}

.chem-video-breadcrumb {
    gap: 10px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .64);
    font-size: 13px;
    font-weight: 500;
}

.chem-video-breadcrumb a {
    color: #fff;
    font-weight: 700;
}

.chem-video-breadcrumb a:hover,
.chem-video-breadcrumb a:focus {
    color: var(--chem-accent);
}

.chem-video-breadcrumb i {
    color: var(--chem-accent);
    font-size: 8px;
}

.chem-video-page {
    background: #F5F7FB;
}

.chem-video-featured-section {
    padding: 72px 0 34px;
}

.chem-video-section-head,
.chem-video-library-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.chem-video-section-head {
    margin-bottom: 24px;
}

.chem-video-section-head > div > span,
.chem-video-library-head > div > span {
    display: block;
    margin-bottom: 7px;
    color: #B9861D;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.chem-video-section-head h2,
.chem-video-library-head h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: clamp(28px, 3vw, 42px);
    font-weight:600;
    letter-spacing: -.03em;
    line-height: 1.22;
}

.chem-video-section-head h2 {
    max-width: 900px;
}

.chem-video-featured-mark {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--chem-primary);
    color: var(--chem-accent);
    box-shadow: 0 12px 24px rgba(13, 21, 46, .16);
    font-size: 23px;
}

.chem-video-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.52fr) minmax(340px, .78fr);
    overflow: hidden;
    border: 1px solid rgba(16, 27, 62, .12);
    border-radius: 18px;
    background: var(--chem-primary-dark);
    box-shadow: 0 24px 50px rgba(13, 21, 46, .15);
}

.chem-video-featured-frame,
.chem-video-card-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #050A17;
}

.chem-video-featured-frame iframe,
.chem-video-card-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.chem-video-featured-content {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: clamp(30px, 3.6vw, 52px);
    border-left: 1px solid rgba(246, 197, 68, .18);
    background:
        radial-gradient(circle at 100% 0, rgba(152, 120, 176, .25), transparent 34%),
        linear-gradient(145deg, #16254F, #0D152E 72%);
}

.chem-video-featured-content::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(246, 197, 68, .12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.chem-video-featured-content > * {
    position: relative;
    z-index: 1;
}

.chem-video-featured-badge {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 12px;
    font-weight:600;
}

.chem-video-featured-content h3 {
    margin: 20px 0 0;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.35;
}

.chem-video-featured-content p {
    margin: 14px 0 0;
    color: rgba(225, 232, 246, .74);
    font-size: 14px;
    line-height: 1.75;
}

.chem-video-featured-content time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(225, 232, 246, .72);
    font-size: 13px;
    font-weight: 600;
}

.chem-video-featured-content time i {
    color: var(--chem-accent);
}

.chem-video-youtube-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.chem-video-youtube-link:hover,
.chem-video-youtube-link:focus {
    border-color: var(--chem-accent);
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
}

.chem-video-library {
    padding: 54px 0 82px;
}

.chem-video-library-head {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(16, 27, 62, .12);
}

.chem-video-library-head > p {
    max-width: 490px;
    margin: 0;
    color: #66738B;
    font-size: 14px;
    line-height: 1.7;
    text-align: right;
}

.chem-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.chem-video-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(16, 27, 62, .11);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 21, 46, .065);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.chem-video-card:hover {
    border-color: rgba(152, 120, 176, .46);
    box-shadow: 0 20px 38px rgba(13, 21, 46, .12);
    transform: translateY(-5px);
}

.chem-video-card-body {
    display: flex;
    min-height: 205px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 20px;
}

.chem-video-card-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    color: #A87817;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
}

.chem-video-card-label i {
    display: inline-flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(246, 197, 68, .18);
    font-size: 8px;
}

.chem-video-card h3 {
    display: -webkit-box;
    min-height: 61px;
    margin: 15px 0 0;
    overflow: hidden;
    color: var(--chem-primary-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.chem-video-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.chem-video-card-meta time,
.chem-video-card-meta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
}

.chem-video-card-meta time {
    color: #77839A;
}

.chem-video-card-meta a {
    color: var(--chem-primary);
}

.chem-video-card-meta a:hover,
.chem-video-card-meta a:focus {
    color: #9878B0;
}

.chem-video-empty {
    padding: 60px 24px;
    border: 1px dashed rgba(16, 27, 62, .2);
    border-radius: 16px;
    background: #fff;
    color: #68758D;
    text-align: center;
}

.chem-video-empty > span {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--chem-primary);
    color: var(--chem-accent);
    font-size: 26px;
}

.chem-video-empty h2 {
    margin: 18px 0 0;
    color: var(--chem-primary-dark);
    font-size: 24px;
}

.chem-video-empty p {
    margin: 8px 0 0;
}

.chem-video-pagination,
.chem-video-pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chem-video-pagination {
    margin-top: 38px;
}

.chem-video-pagination a {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(16, 27, 62, .14);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-primary);
    font-size: 13px;
    font-weight: 700;
}

.chem-video-pagination a:hover,
.chem-video-pagination a:focus,
.chem-video-pagination a.is-active {
    border-color: var(--chem-primary);
    background: var(--chem-primary);
    color: #fff;
}

.chem-video-pagination a.is-disabled {
    pointer-events: none;
    opacity: .42;
}

.chem-video-pagination-direction {
    gap: 8px;
}

.chem-download-hero { position:relative; overflow:hidden; background:linear-gradient(118deg,#0D152E 0%,#101B3E 58%,#3A5075 100%); color:#fff; }
.chem-download-hero::before { position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,13,36,.86),rgba(13,21,46,.26)); content:""; }
.chem-download-hero-pattern { position:absolute; inset:0; opacity:.5; background-image:linear-gradient(rgba(246,197,68,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(246,197,68,.11) 1px,transparent 1px); background-size:48px 48px; mask-image:linear-gradient(90deg,#000,transparent 88%); }
.chem-download-hero-inner { position:relative; display:flex; min-height:310px; align-items:center; gap:22px; padding:58px 0; }
.chem-download-hero-icon { display:inline-flex; width:76px; height:76px; align-items:center; justify-content:center; flex:0 0 auto; border:1px solid rgba(246,197,68,.52); border-radius:21px; background:rgba(246,197,68,.13); color:var(--chem-accent); font-size:30px; box-shadow:0 16px 32px rgba(0,0,0,.2); }
.chem-download-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 15px; color:rgba(255,255,255,.68); font-size:13px; font-weight:700; }
.chem-download-breadcrumb a { color:var(--chem-accent); text-decoration:none; }
.chem-download-breadcrumb a:hover,.chem-download-breadcrumb a:focus-visible { color:#fff; outline:0; }
.chem-download-breadcrumb i { color:rgba(255,255,255,.44); font-size:9px; }
.chem-download-hero h1 { max-width:860px; margin:0; color:#fff; font-size:clamp(34px,4vw,54px); font-weight:600; letter-spacing:-.035em; line-height:1.18; }
.chem-download-hero p { max-width:760px; margin:14px 0 0; color:rgba(255,255,255,.78); font-size:16px; line-height:1.75; }
.chem-download-page { min-height:480px; padding:74px 0 84px; background:#F5F7FB; }
.chem-download-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:0 0 25px; }
.chem-download-section-head:not(:first-child) { margin-top:46px; }
.chem-download-section-head > div > span { display:block; margin-bottom:7px; color:#B98210; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.chem-download-section-head h2 { margin:0; color:var(--chem-primary-dark); font-size:clamp(27px,3vw,38px); font-weight:600; letter-spacing:-.03em; line-height:1.2; }
.chem-download-section-head small { display:inline-flex; align-items:center; min-height:34px; padding:7px 12px; border:1px solid rgba(152,120,176,.19); border-radius:999px; background:rgba(152,120,176,.09); color:#6F5A83; font-size:13px; font-weight:600; white-space:nowrap; }
.chem-download-folder-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.chem-download-folder-card { position:relative; display:grid; grid-template-columns:58px minmax(0,1fr) 22px; gap:16px; align-items:center; min-height:134px; padding:23px; overflow:hidden; border:1px solid rgba(16,27,62,.11); border-radius:16px; background:#fff; color:var(--chem-primary-dark); box-shadow:0 13px 30px rgba(13,21,46,.06); text-decoration:none; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.chem-download-folder-card::after { position:absolute; right:-34px; bottom:-42px; width:130px; height:130px; border:1px solid rgba(152,120,176,.17); border-radius:50%; content:""; }
.chem-download-folder-card:hover,.chem-download-folder-card:focus-visible { border-color:rgba(246,197,68,.82); color:var(--chem-primary-dark); box-shadow:0 21px 40px rgba(13,21,46,.14); outline:0; text-decoration:none; transform:translateY(-5px); }
.chem-download-folder-icon { position:relative; z-index:1; display:inline-flex; width:58px; height:58px; align-items:center; justify-content:center; border-radius:16px; background:linear-gradient(135deg,rgba(246,197,68,.25),rgba(152,120,176,.16)); color:#B98210; font-size:25px; }
.chem-download-folder-copy { position:relative; z-index:1; display:block; min-width:0; }
.chem-download-folder-card strong { display:-webkit-box; overflow:hidden; color:var(--chem-primary-dark); font-size:18px; font-weight:600; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.chem-download-folder-card small { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; color:#66758E; font-size:12px; font-weight:700; }
.chem-download-folder-card small span { display:inline-flex; align-items:center; padding:4px 8px; border-radius:999px; background:#F1F4F9; color:#56647D; white-space:nowrap; }
.chem-download-folder-arrow { position:relative; z-index:1; color:var(--chem-primary); font-size:14px; transition:transform .2s ease; }
.chem-download-folder-card:hover .chem-download-folder-arrow { transform:translateX(4px); }
.chem-download-file-list { display:grid; gap:12px; }
.chem-download-file-item { display:grid; grid-template-columns:58px minmax(0,1fr) auto; gap:17px; align-items:center; padding:17px 19px; border:1px solid rgba(16,27,62,.1); border-radius:15px; background:#fff; box-shadow:0 10px 24px rgba(13,21,46,.05); transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.chem-download-file-item:hover { border-color:rgba(152,120,176,.32); box-shadow:0 16px 31px rgba(13,21,46,.1); transform:translateX(3px); }
.chem-download-file-icon { display:inline-flex; width:58px; height:58px; align-items:center; justify-content:center; border-radius:16px; background:#EDF2FA; color:#385281; font-size:25px; }
.chem-download-file-icon.is-pdf { background:rgba(193,55,55,.1); color:#B53A3A; }
.chem-download-file-icon.is-doc,.chem-download-file-icon.is-docx { background:rgba(45,104,178,.1); color:#2764A9; }
.chem-download-file-icon.is-xls,.chem-download-file-icon.is-xlsx,.chem-download-file-icon.is-csv { background:rgba(35,128,85,.1); color:#208056; }
.chem-download-file-item h2 { margin:0; color:var(--chem-primary-dark); font-size:18px; font-weight:600; line-height:1.42; }
.chem-download-file-item p { display:flex; flex-wrap:wrap; gap:9px; margin:7px 0 0; color:#68758B; font-size:13px; font-weight:600; line-height:1.45; }
.chem-download-file-item p span { display:inline-flex; align-items:center; gap:6px; }
.chem-download-file-type { padding:2px 7px; border-radius:5px; background:#F1F4F9; color:#58657D; font-size:11px; font-weight:600; letter-spacing:.04em; }
.chem-download-search { display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center; gap:12px; margin:0 0 30px; padding:13px 14px 13px 18px; border:1px solid rgba(16,27,62,.12); border-radius:14px; background:#fff; box-shadow:0 12px 28px rgba(13,21,46,.06); }
.chem-download-search > i { color:#B98210; font-size:17px; }
.chem-download-search input { width:100%; min-width:0; border:0; background:transparent; color:var(--chem-primary-dark); font-family:inherit; font-size:15px; font-weight:600; outline:0; }
.chem-download-search input::placeholder { color:#8792A7; }
.chem-download-search a { display:inline-flex; width:30px; height:30px; align-items:center; justify-content:center; border-radius:50%; background:#EEF2F8; color:#5D6A80; font-size:13px; text-decoration:none; }
.chem-download-search a:hover,.chem-download-search a:focus-visible { background:#E3B337; color:var(--chem-primary-dark); outline:0; }
.chem-download-search button { min-height:42px; padding:9px 18px; border:0; border-radius:9px; background:var(--chem-primary); color:#fff; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; transition:background-color .2s ease,transform .2s ease; }
.chem-download-search button:hover,.chem-download-search button:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; transform:translateY(-1px); }
.chem-download-search-summary { margin:-9px 0 22px; color:#65738B; font-size:14px; }
.chem-download-search-summary strong { color:var(--chem-primary-dark); }
.chem-download-file-btn { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:10px; background:var(--chem-primary); color:#fff; font-size:13px; font-weight:600; text-decoration:none; transition:background-color .2s ease,transform .2s ease; white-space:nowrap; }
.chem-download-file-btn:hover,.chem-download-file-btn:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; text-decoration:none; transform:translateY(-2px); }
.chem-download-file-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.chem-download-file-preview { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:7px; padding:10px 13px; border:1px solid rgba(16,27,62,.18); border-radius:10px; background:#fff; color:var(--chem-primary); font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; transition:border-color .2s ease,background-color .2s ease; }
.chem-download-file-preview:hover,.chem-download-file-preview:focus-visible { border-color:var(--chem-accent); background:#FFF8E4; color:var(--chem-primary-dark); outline:0; text-decoration:none; }
.chem-download-file-missing { display:inline-flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid rgba(182,65,65,.22); border-radius:9px; background:#FFF3F2; color:#A53C3C; font-size:12px; font-weight:600; }
.chem-download-empty { max-width:650px; margin:0 auto; padding:72px 25px; border:1px dashed rgba(16,27,62,.21); border-radius:16px; background:#fff; color:#68758B; text-align:center; }
.chem-download-search-empty { margin-top:46px; }
.chem-download-empty > i { display:inline-flex; width:62px; height:62px; align-items:center; justify-content:center; margin-bottom:17px; border-radius:50%; background:rgba(246,197,68,.18); color:#B98210; font-size:27px; }
.chem-download-empty h2 { margin:0; color:var(--chem-primary-dark); font-size:26px; font-weight:600; }
.chem-download-empty p { margin:9px auto 21px; font-size:15px; line-height:1.65; }
.chem-download-empty a { display:inline-flex; align-items:center; gap:8px; padding:11px 15px; border-radius:9px; background:var(--chem-primary); color:#fff; font-size:13px; font-weight:600; text-decoration:none; }
.chem-download-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; margin-top:38px; }
.chem-download-pagination > a,.chem-download-pagination-pages a { display:inline-flex; min-width:40px; height:40px; align-items:center; justify-content:center; gap:7px; padding:0 12px; border:1px solid rgba(16,27,62,.14); border-radius:9px; background:#fff; color:var(--chem-primary-dark); font-size:13px; font-weight:600; text-decoration:none; }
.chem-download-pagination > a:hover,.chem-download-pagination > a:focus-visible,.chem-download-pagination-pages a:hover,.chem-download-pagination-pages a:focus-visible,.chem-download-pagination-pages a.is-active { border-color:var(--chem-primary); background:var(--chem-primary); color:#fff; outline:0; }
.chem-download-pagination .is-disabled { pointer-events:none; opacity:.38; }
.chem-download-pagination-pages { display:flex; flex-wrap:wrap; gap:7px; }

/* Department resources */
.chem-resource-hero { position:relative; overflow:hidden; background:linear-gradient(118deg,#0D152E 0%,#101B3E 58%,#3A5075 100%); color:#fff; }
.chem-resource-hero::before { position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,13,36,.87),rgba(13,21,46,.22)); content:""; }
.chem-resource-hero-pattern { position:absolute; inset:0; opacity:.52; background-image:linear-gradient(rgba(246,197,68,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(246,197,68,.1) 1px,transparent 1px); background-size:46px 46px; mask-image:linear-gradient(90deg,#000,transparent 90%); }
.chem-resource-hero-copy { position:relative; display:flex; min-height:308px; align-items:center; gap:22px; padding:58px 0; }
.chem-resource-hero-icon { display:inline-flex; width:76px; height:76px; align-items:center; justify-content:center; flex:0 0 auto; border:1px solid rgba(246,197,68,.52); border-radius:21px; background:rgba(246,197,68,.12); color:var(--chem-accent); font-size:29px; box-shadow:0 16px 32px rgba(0,0,0,.2); }
.chem-resource-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:0 0 15px; color:rgba(255,255,255,.68); font-size:13px; font-weight:700; }
.chem-resource-breadcrumb a { color:var(--chem-accent); text-decoration:none; }
.chem-resource-breadcrumb a:hover,.chem-resource-breadcrumb a:focus-visible { color:#fff; outline:0; }
.chem-resource-breadcrumb i { color:rgba(255,255,255,.44); font-size:9px; }
.chem-resource-hero h1 { max-width:860px; margin:0; color:#fff; font-size:clamp(34px,4vw,54px); font-weight:600; letter-spacing:-.035em; line-height:1.18; }
.chem-resource-hero p { max-width:760px; margin:14px 0 0; color:rgba(255,255,255,.78); font-size:16px; line-height:1.75; }
.chem-resource-page { min-height:510px; padding:72px 0 88px; background:linear-gradient(180deg,#F5F7FB 0%,#EEF2F8 100%); }
.chem-resource-directory { position:relative; padding:34px; border:1px solid rgba(16,27,62,.08); border-radius:24px; background:rgba(255,255,255,.72); box-shadow:0 22px 60px rgba(13,21,46,.07); }
.chem-resource-directory::before { position:absolute; top:0; right:34px; left:34px; height:3px; border-radius:0 0 999px 999px; background:linear-gradient(90deg,var(--chem-accent),#9878B0,var(--chem-primary)); content:""; }
.chem-resource-page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:26px; }
.chem-resource-page-heading { max-width:760px; }
.chem-resource-page-head > div > span { display:block; margin-bottom:8px; color:#B98210; font-size:11px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }
.chem-resource-page-head h2 { margin:0; color:var(--chem-primary-dark); font-size:clamp(27px,3vw,38px); font-weight:600; letter-spacing:-.03em; line-height:1.2; }
.chem-resource-page-heading p { max-width:660px; margin:11px 0 0; color:#68758B; font-size:15px; line-height:1.7; }
.chem-resource-count { display:flex; min-width:128px; align-items:center; justify-content:center; gap:9px; padding:12px 16px; border:1px solid rgba(16,27,62,.09); border-radius:13px; background:#fff; color:var(--chem-primary-dark); box-shadow:0 10px 22px rgba(13,21,46,.05); }
.chem-resource-count > i { color:#9878B0; font-size:18px; }
.chem-resource-count-value { color:var(--chem-primary-dark); font-size:19px; font-weight:600; line-height:1; }
.chem-resource-count-label { margin-left:2px; color:#77839A; font-size:10px; font-weight:600; letter-spacing:.04em; line-height:1; text-transform:uppercase; }
.chem-resource-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:28px; padding:13px; border:1px solid rgba(16,27,62,.08); border-radius:16px; background:#F7F9FC; }
.chem-resource-search { display:grid; grid-template-columns:auto minmax(180px,1fr) auto; width:min(100%,590px); align-items:center; gap:10px; overflow:hidden; padding-left:16px; border:1px solid rgba(16,27,62,.12); border-radius:11px; background:#fff; box-shadow:0 8px 20px rgba(13,21,46,.045); }
.chem-resource-search.has-clear-button { grid-template-columns:auto minmax(180px,1fr) auto auto; }
.chem-resource-search > i { color:#B98210; font-size:15px; }
.chem-resource-search input { width:100%; min-width:0; min-height:48px; border:0; background:transparent; color:var(--chem-primary-dark); font-family:inherit; font-size:14px; font-weight:600; outline:0; }
.chem-resource-search input::placeholder { color:#8792A7; }
.chem-resource-search a { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:50%; background:#EEF2F8; color:#5D6A80; font-size:12px; text-decoration:none; }
.chem-resource-search a:hover,.chem-resource-search a:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; }
.chem-resource-search button { display:inline-flex; width:auto; min-height:50px; align-self:stretch; align-items:center; justify-content:center; gap:8px; margin:-1px -1px -1px 0; padding:8px 19px; border:0; border-radius:0 11px 11px 0; -webkit-appearance:none; appearance:none; background:var(--chem-primary); color:#fff; font-family:inherit; font-size:12px; font-weight:600; cursor:pointer; transition:background-color .2s ease,color .2s ease; }
.chem-resource-search button:hover,.chem-resource-search button:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; }
.chem-resource-trust-note { display:inline-flex; align-items:center; gap:8px; padding-right:8px; color:#68758B; font-size:12px; font-weight:700; white-space:nowrap; }
.chem-resource-trust-note i { color:#9878B0; }
.chem-resource-groups { display:grid; gap:34px; }
.chem-resource-group { padding-top:2px; }
.chem-resource-group-head { display:flex; align-items:center; gap:13px; margin-bottom:17px; padding:14px 16px; border:1px solid rgba(16,27,62,.08); border-left:4px solid var(--chem-accent); border-radius:13px; background:linear-gradient(90deg,#fff,#F7F9FC); }
.chem-resource-group-icon { display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:11px; background:rgba(246,197,68,.17); color:#B98210; font-size:17px; }
.chem-resource-group-head h2 { margin:0; color:var(--chem-primary-dark); font-size:19px; font-weight:600; line-height:1.25; }
.chem-resource-group-head p { margin:3px 0 0; color:#738097; font-size:12px; line-height:1.5; }
.chem-resource-group-count { margin-left:auto; padding:6px 10px; border-radius:999px; background:#EEF2F8; color:#5D6A80; font-size:11px; font-weight:600; white-space:nowrap; }
.chem-resource-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; }
.chem-resource-card { position:relative; display:flex; min-width:0; flex-direction:column; overflow:hidden; border:1px solid rgba(16,27,62,.09); border-radius:16px; background:#fff; box-shadow:0 9px 24px rgba(13,21,46,.055); transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease; }
.chem-resource-card::after { position:absolute; right:0; bottom:0; left:0; height:3px; background:linear-gradient(90deg,var(--chem-accent),#9878B0); content:""; opacity:0; transform:scaleX(.5); transition:opacity .25s ease,transform .25s ease; }
.chem-resource-card:hover { border-color:rgba(58,80,117,.28); box-shadow:0 18px 38px rgba(13,21,46,.11); transform:translateY(-4px); }
.chem-resource-card:hover::after { opacity:1; transform:scaleX(1); }
.chem-resource-image { position:relative; padding:0; background:#fff; }
.chem-resource-image-frame { position:relative; display:flex; aspect-ratio:4 / 3; align-items:center; justify-content:center; overflow:hidden; border:0; border-radius:0; background:#fff; }
.chem-resource-image img { display:block; width:100%; height:100%; padding:0; object-fit:cover; object-position:center; transition:transform .35s ease; }
.chem-resource-image.is-cover .chem-resource-image-frame,.chem-resource-image.is-wide .chem-resource-image-frame { background:transparent; }
.chem-resource-image.is-wide img { object-fit:cover; object-position:center; }
.chem-resource-image.is-logo .chem-resource-image-frame { background:#fff; }
.chem-resource-image.is-logo img,.chem-resource-image.is-default img { padding:10px; object-fit:contain; object-position:center; }
.chem-resource-card:hover .chem-resource-image img { transform:scale(1.035); }
.chem-resource-card-copy { display:flex; min-height:168px; flex:1 1 auto; flex-direction:column; padding:16px 17px 17px; }
.chem-resource-card-kicker { display:inline-flex; align-items:center; gap:6px; color:#B27B08; font-size:9px; font-weight:600; letter-spacing:.035em; text-transform:uppercase; }
.chem-resource-card-kicker i { color:#9878B0; }
.chem-resource-card h2 { display:-webkit-box; overflow:hidden; margin:8px 0 8px; color:var(--chem-primary-dark); font-size:16px; font-weight:600; letter-spacing:-.015em; line-height:1.4; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.chem-resource-card p { display:flex; align-items:center; gap:7px; min-width:0; margin:0; overflow:hidden; color:#738097; font-size:11px; font-weight:600; white-space:nowrap; }
.chem-resource-card p span { overflow:hidden; text-overflow:ellipsis; }
.chem-resource-card p i { color:#9878B0; }
.chem-resource-card-link,.chem-resource-card-disabled { display:flex; min-height:38px; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding:10px 12px; border-radius:9px; background:#F1F4F9; color:var(--chem-primary); font-size:12px; font-weight:600; text-decoration:none; }
.chem-resource-card-link:hover,.chem-resource-card-link:focus-visible { background:var(--chem-primary); color:#fff; outline:0; text-decoration:none; }
.chem-resource-card-link i { color:#B98210; transition:color .2s ease,transform .2s ease; }
.chem-resource-card-link:hover i { color:var(--chem-accent); transform:translate(2px,-2px); }
.chem-resource-card-disabled { color:#8994A7; }
.chem-resource-empty { max-width:650px; margin:42px auto 0; padding:72px 25px; border:1px dashed rgba(16,27,62,.21); border-radius:16px; background:#fff; color:#68758B; text-align:center; }
.chem-resource-empty > i { display:inline-flex; width:62px; height:62px; align-items:center; justify-content:center; margin-bottom:17px; border-radius:50%; background:rgba(246,197,68,.18); color:#B98210; font-size:27px; }
.chem-resource-empty h2 { margin:0; color:var(--chem-primary-dark); font-size:26px; font-weight:600; }
.chem-resource-empty p { margin:9px auto 21px; font-size:15px; line-height:1.65; }
.chem-resource-empty a { display:inline-flex; align-items:center; gap:8px; padding:11px 15px; border-radius:9px; background:var(--chem-primary); color:#fff; font-size:13px; font-weight:600; text-decoration:none; }

.mju-home-safety-column {
    display: grid;
    gap: 18px;
}

.mju-home-safety-card {
    padding: 22px 26px 24px;
    background: var(--chem-maroon);
}

.mju-home-safety-head {
    margin-bottom: 18px;
    text-align: center;
}

.mju-home-safety-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.mju-home-safety-action {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 132px;
    padding: 13px 10px 10px;
    border-radius: 10px;
    background: #fff;
    color: var(--chem-maroon-dark);
    text-align: center;
}

.mju-home-safety-action img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.mju-home-safety-action strong {
    display: block;
    min-height: 34px;
    margin-top: 8px;
    color: var(--chem-maroon-dark);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.mju-home-safety-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    margin-top: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #35cfa3;
    color: #fff;
    font-size: 11px;
    font-weight:600;
}

.mju-home-safety-action:hover,
.mju-home-safety-action:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.mju-home-emergency-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: center;
    min-height: 190px;
    padding: 10px 20px 0 0;
    border: 1px solid rgba(96, 15, 26, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .11);
}

.mju-home-emergency-card img {
    position: relative;
    z-index: 2;
    align-self: end;
    width: 345px;
    max-height: 205px;
    object-fit: contain;
    transform: translateX(34px);
}

.mju-home-emergency-card > div {
    position: relative;
    z-index: 1;
    padding-top: 4px;
    transform: translateX(-20%);
}

.mju-home-emergency-card p {
    margin: 0;
    max-width: 300px;
    margin-left: auto;
    color: var(--chem-maroon);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.45;
    text-align: right;
}

.mju-home-emergency-call {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 14px 0 0 -54px;
    min-height: 54px;
    padding: 8px 22px 3px 64px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(90deg, rgba(187, 41, 27, 0) 0%, rgba(187, 41, 27, .9) 22%, #BB291B 42%, #BB291B 100%);
    color: #fff;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight:600;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .16);
}

.mju-home-emergency-call:hover,
.mju-home-emergency-call:focus {
    color: #fff;
    text-decoration: none;
}

.mju-home-emergency-card span {
    display: block;
    margin-left: -54px;
    padding: 0 22px 8px 64px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, rgba(187, 41, 27, 0) 0%, rgba(187, 41, 27, .9) 22%, #BB291B 42%, #BB291B 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    text-align: right;
}

/* Information Systems */
.mju-information-section {
    padding: 42px 0 28px;
    background: #fff;
}

.mju-information-head {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.mju-information-head span {
    color: var(--chem-maroon);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.mju-information-carousel {
    position: relative;
    padding: 0 34px 28px;
    /* border-bottom: 4px solid var(--chem-maroon); */
}

.mju-information-carousel.owl-theme .owl-nav {
    position: absolute;
    inset: 22px 0 auto;
    display: flex;
    justify-content: space-between;
    margin: 0;
    pointer-events: none;
}

.mju-information-carousel.owl-theme .owl-nav [class*="owl-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    border: 1px solid rgba(96, 15, 26, .18);
    border-radius: 50%;
    background: #fff;
    color: var(--chem-maroon);
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(76, 8, 10, .12);
    pointer-events: auto;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mju-information-carousel.owl-theme .owl-nav [class*="owl-"]:hover,
.mju-information-carousel.owl-theme .owl-nav [class*="owl-"]:focus {
    background: var(--chem-maroon);
    color: #fff;
    transform: translateY(-2px);
}

.mju-information-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
}

.mju-information-item a,
.mju-information-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 82px;
}

.mju-information-item img {
    display: block;
    width: auto !important;
    max-width: 150px;
    max-height: 64px;
    object-fit: contain;
    filter: saturate(1.03);
    transition: transform .2s ease, filter .2s ease;
}

.mju-information-item a:hover img,
.mju-information-item a:focus img {
    transform: translateY(-3px);
    filter: saturate(1.1) contrast(1.04);
}

/* Detail Blog */
.mju-detail-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: var(--chem-maroon-dark);
}

.mju-detail-hero-bg,
.mju-detail-hero-overlay {
    position: absolute;
    inset: 0;
}

.mju-detail-hero-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: none;
}

.mju-detail-hero-overlay {
    background:
        linear-gradient(90deg, rgba(55, 5, 12, .9) 0%, rgba(96, 15, 26, .68) 42%, rgba(96, 15, 26, .18) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .08));
}

.mju-detail-hero .container {
    position: relative;
    z-index: 2;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.mju-detail-hero-content {
    max-width: 920px;
    padding: 0 0 58px;
    color: #fff;
}

.mju-detail-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 700;
}

.mju-detail-kicker a {
    color: #fff;
}

.mju-detail-kicker i {
    font-size: 10px;
    opacity: .7;
}

.mju-detail-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.16;
}

.mju-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mju-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.mju-detail-page {
    background: #f7f4f4;
}

.mju-detail-card,
.mju-detail-side-box,
.mju-detail-empty {
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(76, 8, 10, .08);
}

.mju-detail-card {
    overflow: hidden;
}

.mju-detail-cover {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #fbf8f8;
}

.mju-detail-cover-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background: #fbf8f8;
    border: 0;
    cursor: zoom-in;
}

.mju-detail-cover-preview::after {
    content: "\f00e";
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: rgba(96, 15, 26, .9);
    border-radius: 999px;
    font-family: "Font Awesome 6 Free";
    font-weight:600;
    box-shadow: 0 12px 24px rgba(76, 8, 10, .22);
}

.chem-detail-cover-modal .modal-content {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 16px;
}

.chem-detail-cover-modal .btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 999px;
}

.chem-detail-cover-modal img {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.mju-detail-lead {
    margin: 0;
    padding: 28px 32px 0;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.75;
}

.mju-detail-content {
    padding: 30px 32px 36px;
    color: #2b2223;
    font-size: 16px;
    line-height: 1.9;
}

.mju-detail-content h1,
.mju-detail-content h2,
.mju-detail-content h3,
.mju-detail-content h4 {
    margin: 1.5em 0 .7em;
    color: var(--chem-maroon-dark);
}

.mju-detail-content p,
.mju-detail-content ul,
.mju-detail-content ol,
.mju-detail-content table {
    margin-bottom: 1.1em;
}

.mju-detail-content a {
    color: var(--chem-maroon);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mju-detail-content img {
    height: auto;
    margin: 14px 0;
    border-radius: 8px;
}

.mju-detail-embed {
    margin: 22px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.mju-detail-gallery {
    padding: 0 32px 34px;
}

.mju-detail-documents {
    margin: 0 32px 34px;
}

.mju-detail-gallery h2,
.mju-detail-side-box h2 {
    margin: 0 0 18px;
    color: var(--chem-maroon-dark);
    font-size: 22px;
    font-weight:600;
}

.mju-detail-gallery h2 {
    padding-top: 26px;
    border-top: 1px solid var(--chem-line);
}

.mju-detail-gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #eee;
}

.mju-detail-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.mju-detail-gallery-item:hover img,
.mju-detail-gallery-item:focus img {
    transform: scale(1.06);
}

.mju-detail-list-grid {
    padding: 0 32px 36px;
}

.mju-detail-list-grid h2 {
    margin: 0 0 18px;
    padding-top: 26px;
    border-top: 1px solid var(--chem-line);
    color: var(--chem-maroon-dark);
    font-size: 22px;
    font-weight:600;
}

.mju-detail-category-empty {
    margin: 0 32px 36px;
    padding: 38px 26px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 10px;
    background: #fff8f8;
    text-align: center;
}

.mju-detail-category-empty > i {
    color: var(--chem-maroon);
    font-size: 38px;
}

.mju-detail-category-empty h2 {
    margin: 16px 0 8px;
    color: var(--chem-maroon-dark);
    font-size: 24px;
    font-weight:600;
}

.mju-detail-category-empty p {
    max-width: 520px;
    margin: 0 auto 20px;
    color: var(--chem-muted);
    font-size: 15px;
    line-height: 1.7;
}

.mju-detail-category-empty .mju-detail-btn i {
    color: #fff;
    font-size: 12px;
}

.mju-detail-list-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    height: 100%;
    padding: 12px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-ink);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.mju-detail-list-card:hover,
.mju-detail-list-card:focus {
    border-color: rgba(96, 15, 26, .26);
    background: #fff7f7;
    color: var(--chem-maroon-dark);
    box-shadow: 0 14px 26px rgba(76, 8, 10, .08);
    transform: translateY(-3px);
}

.mju-detail-list-card img {
    width: 132px;
    height: 98px;
    border-radius: 7px;
    object-fit: cover;
}

.mju-detail-list-card strong {
    display: block;
    color: inherit;
    font-size: 16px;
    font-weight:600;
    line-height: 1.45;
}

.mju-detail-list-card small {
    display: block;
    margin-top: 8px;
    color: var(--chem-muted);
    font-size: 13px;
    line-height: 1.55;
}

.mju-detail-side {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 18px;
}

.mju-detail-side-box {
    padding: 24px;
}

.mju-detail-info-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--chem-line);
}

.mju-detail-info-row span {
    color: var(--chem-muted);
    font-size: 13px;
}

.mju-detail-info-row strong {
    color: var(--chem-maroon-dark);
    font-size: 13px;
    text-align: right;
}

.mju-detail-action-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.mju-detail-action-list a,
.mju-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--chem-maroon);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.mju-detail-action-list a:hover,
.mju-detail-action-list a:focus,
.mju-detail-btn:hover,
.mju-detail-btn:focus {
    background: var(--chem-maroon-dark);
    color: #fff;
}

.mju-detail-related-list {
    display: grid;
    gap: 12px;
}

.mju-detail-related {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 8px;
    color: var(--chem-ink);
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.mju-detail-related:hover,
.mju-detail-related:focus {
    border-color: rgba(96, 15, 26, .26);
    background: #fff7f7;
    color: var(--chem-maroon-dark);
    transform: translateY(-2px);
}

.mju-detail-related img {
    width: 86px;
    height: 64px;
    border-radius: 7px;
    object-fit: contain;
    background: #fbf8f8;
}

.mju-detail-related strong {
    display: block;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.mju-detail-related small {
    display: block;
    margin-top: 4px;
    color: var(--chem-muted);
    font-size: 12px;
}

.mju-detail-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 28px;
    text-align: center;
}

.mju-detail-empty i {
    color: var(--chem-maroon);
    font-size: 42px;
}

.mju-detail-empty .mju-detail-btn i {
    color: #fff;
    font-size: 12px;
}

.mju-detail-empty h1 {
    margin: 18px 0 8px;
    color: var(--chem-maroon-dark);
    font-size: 32px;
}

.mju-detail-empty p {
    margin-bottom: 22px;
    color: var(--chem-muted);
}

/* Detail-blog: Department of Chemistry visual system. */
.chem-detail-hero { position:relative; isolation:isolate; min-height:440px; overflow:hidden; background:radial-gradient(circle at 82% 18%,rgba(152,120,176,.36),transparent 28%),linear-gradient(135deg,#0D152E,#101B3E 65%,#1D2F62); color:#fff; }
.chem-detail-hero-bg,.chem-detail-hero-overlay { position:absolute; inset:0; }
.chem-detail-hero-bg { z-index:-2; background-position:center; background-repeat:no-repeat; background-size:cover; transform:scale(1.015); }
.chem-detail-hero-overlay { z-index:-1; background:linear-gradient(90deg,rgba(5,13,36,.97) 0%,rgba(13,21,46,.89) 46%,rgba(13,21,46,.4) 100%),linear-gradient(0deg,rgba(5,13,36,.6),transparent 58%); }
.chem-detail-hero .container { display:flex; min-height:440px; align-items:flex-end; }
.chem-detail-hero-content { max-width:960px; padding:64px 0 62px; }
.chem-detail-kicker { display:inline-flex; flex-wrap:wrap; align-items:center; gap:9px; margin-bottom:20px; color:rgba(255,255,255,.74); font-size:13px; font-weight:600; }
.chem-detail-kicker a { color:var(--chem-accent); font-weight:600; }
.chem-detail-kicker a:hover,.chem-detail-kicker a:focus { color:#fff; }
.chem-detail-kicker i { color:var(--chem-accent); font-size:9px; }
.chem-detail-hero h1 { margin:0; color:#fff; font-size:clamp(32px,3.4vw,50px); font-weight:600; letter-spacing:-.03em; line-height:1.2; }
.chem-detail-meta { display:flex; flex-wrap:wrap; gap:10px; margin-top:25px; }
.chem-detail-meta span { display:inline-flex; min-height:34px; align-items:center; gap:8px; padding:7px 13px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.1); color:#fff; font-size:12px; font-weight:700; backdrop-filter:blur(8px); }
.chem-detail-page { background:linear-gradient(rgba(16,27,62,.026) 1px,transparent 1px),linear-gradient(90deg,rgba(16,27,62,.026) 1px,transparent 1px),#F5F7FB; background-size:32px 32px,32px 32px,auto; }
.chem-detail-page > .container { padding-top:70px !important; padding-bottom:82px !important; }
.chem-detail-card,.chem-detail-side-box,.chem-detail-empty { border:1px solid rgba(16,27,62,.1); border-radius:16px; background:#fff; box-shadow:0 18px 38px rgba(13,21,46,.075); }
.chem-detail-card { overflow:hidden; }
.chem-detail-cover-preview { position:relative; display:block; width:100%; max-height:620px; padding:0; overflow:hidden; border:0; background:#EAF0F9; cursor:zoom-in; }
.chem-detail-cover-preview::before { position:absolute; z-index:1; inset:0; background:linear-gradient(0deg,rgba(5,13,36,.26),transparent 42%); content:""; pointer-events:none; }
.chem-detail-cover-preview::after { position:absolute; z-index:2; right:18px; bottom:18px; display:inline-flex; min-height:40px; align-items:center; padding:8px 14px; border:1px solid rgba(246,197,68,.64); border-radius:999px; background:rgba(13,21,46,.92); color:#fff; content:"ดูภาพขนาดจริง"; font-size:12px; font-weight:700; box-shadow:0 9px 24px rgba(5,13,36,.24); }
.chem-detail-cover { display:block; width:100%; max-height:620px; object-fit:contain; background:#EAF0F9; transition:transform .35s ease; }
.chem-detail-cover-preview:hover .chem-detail-cover,.chem-detail-cover-preview:focus .chem-detail-cover { transform:scale(1.018); }
.chem-detail-lead { margin:0; padding:32px 38px 0; color:var(--chem-primary-dark); font-size:20px; font-weight:600; line-height:1.78; }
.chem-detail-content { padding:34px 38px 42px; color:#26324A; font-size:16px; line-height:1.95; }
.chem-detail-content h1,.chem-detail-content h2,.chem-detail-content h3,.chem-detail-content h4 { margin:1.55em 0 .7em; color:var(--chem-primary-dark); font-weight:600; line-height:1.35; }
.chem-detail-content h2 { position:relative; padding-left:17px; font-size:clamp(24px,2.5vw,31px); }
.chem-detail-content h2::before { position:absolute; top:.18em; bottom:.18em; left:0; width:4px; border-radius:4px; background:var(--chem-accent); content:""; }
.chem-detail-content h3 { color:#263B66; font-size:21px; }
.chem-detail-content p,.chem-detail-content ul,.chem-detail-content ol,.chem-detail-content table { margin-bottom:1.25em; }
.chem-detail-content a { color:#234E9B; font-weight:700; text-decoration-color:rgba(246,197,68,.9); text-decoration-thickness:2px; text-underline-offset:4px; }
.chem-detail-content a:hover,.chem-detail-content a:focus { color:#9878B0; }
.chem-detail-content img { max-width:100%; height:auto; margin:20px 0; border:1px solid rgba(16,27,62,.1); border-radius:12px; box-shadow:0 14px 30px rgba(13,21,46,.09); }
.chem-detail-content .table { overflow:hidden; border-color:rgba(16,27,62,.13); border-radius:10px; }
.chem-detail-content .table > :not(caption) > * > * { padding:12px 14px; }
.chem-detail-embed { margin:24px 0; overflow:hidden; border-radius:12px; background:#0D152E; box-shadow:0 14px 28px rgba(13,21,46,.13); }
.chem-detail-documents,.chem-detail-gallery,.chem-detail-list-grid { margin-top:0; padding:0 38px 38px; }
.chem-detail-documents { margin-right:0; margin-left:0; }
.chem-detail-gallery h2,.chem-detail-list-grid h2,.chem-detail-side-box h2 { margin:0 0 20px; color:var(--chem-primary-dark); font-size:22px; font-weight:600; }
.chem-detail-gallery h2,.chem-detail-list-grid h2 { padding-top:30px; border-top:1px solid rgba(16,27,62,.12); }
.chem-detail-gallery-item { display:block; overflow:hidden; aspect-ratio:4 / 3; border:1px solid rgba(16,27,62,.1); border-radius:11px; background:#EAF0F9; box-shadow:0 9px 18px rgba(13,21,46,.06); }
.chem-detail-gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.chem-detail-gallery-item:hover img,.chem-detail-gallery-item:focus img { transform:scale(1.07); }
.chem-detail-list-card { display:grid; grid-template-columns:118px minmax(0,1fr); gap:15px; height:100%; padding:11px; border:1px solid rgba(16,27,62,.1); border-radius:11px; background:#fff; color:var(--chem-primary-dark); transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.chem-detail-list-card:hover,.chem-detail-list-card:focus { border-color:rgba(152,120,176,.58); color:var(--chem-primary-dark); box-shadow:0 14px 25px rgba(13,21,46,.1); transform:translateY(-3px); }
.chem-detail-list-card img { width:118px; height:88px; border-radius:8px; object-fit:cover; }
.chem-detail-list-card strong { display:block; font-size:15px; font-weight:600; line-height:1.48; }
.chem-detail-list-card small { display:-webkit-box; margin-top:6px; overflow:hidden; color:#718096; font-size:12px; line-height:1.5; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.chem-detail-side { position:sticky; top:112px; display:grid; gap:18px; }
.chem-detail-side-box { padding:25px; }
.chem-detail-side-box h2 { padding-bottom:14px; border-bottom:2px solid var(--chem-accent); }
.chem-detail-info-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid rgba(16,27,62,.1); }
.chem-detail-info-row span { color:#748198; font-size:13px; font-weight:600; }
.chem-detail-info-row strong { color:var(--chem-primary-dark); font-size:13px; font-weight:600; text-align:right; }
.chem-detail-action-list { display:grid; gap:10px; margin-top:20px; }
.chem-detail-action-list a,.chem-detail-btn { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:9px; padding:10px 15px; border:1px solid var(--chem-primary); border-radius:9px; background:var(--chem-primary); color:#fff; font-size:13px; font-weight:600; }
.chem-detail-action-list a:hover,.chem-detail-action-list a:focus,.chem-detail-btn:hover,.chem-detail-btn:focus { border-color:#9878B0; background:#9878B0; color:#fff; }
.chem-detail-share { margin-top:22px; padding-top:20px; border-top:1px solid rgba(16,27,62,.1); }
.chem-detail-share > span { display:block; margin-bottom:11px; color:var(--chem-primary-dark); font-size:13px; font-weight:600; }
.chem-detail-share > div { display:flex; gap:9px; }
.chem-detail-share a,.chem-detail-share button { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border:1px solid rgba(16,27,62,.14); border-radius:50%; background:#fff; color:var(--chem-primary); font-size:15px; transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease; }
.chem-detail-share a:hover,.chem-detail-share a:focus,.chem-detail-share button:hover,.chem-detail-share button:focus,.chem-detail-share button.is-copied { border-color:var(--chem-accent); background:var(--chem-accent); color:var(--chem-primary-dark); transform:translateY(-2px); }
.chem-site-tooltip { --bs-tooltip-bg:var(--chem-primary-dark); --bs-tooltip-color:#fff; font-family:inherit; font-size:13px; font-weight:600; }
.chem-detail-related-list { display:grid; gap:12px; }
.chem-detail-related { display:grid; grid-template-columns:82px minmax(0,1fr); gap:12px; align-items:center; padding:8px; border:1px solid transparent; border-radius:10px; color:var(--chem-primary-dark); transition:background-color .2s ease,border-color .2s ease; }
.chem-detail-related:hover,.chem-detail-related:focus { border-color:rgba(152,120,176,.4); background:#F7F8FC; color:var(--chem-primary-dark); }
.chem-detail-related img { width:82px; height:64px; border-radius:7px; object-fit:cover; }
.chem-detail-related strong { display:-webkit-box; overflow:hidden; font-size:13px; font-weight:600; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.chem-detail-related small { display:block; margin-top:5px; color:#A87817; font-size:11px; font-weight:700; }
.chem-detail-category-empty,.chem-detail-empty { padding:54px 28px; text-align:center; }
.chem-detail-category-empty { margin:0 38px 40px; border:1px dashed rgba(16,27,62,.2); border-radius:13px; background:#F8FAFD; }
.chem-detail-category-empty > i,.chem-detail-empty > i { display:inline-flex; width:62px; height:62px; align-items:center; justify-content:center; border-radius:50%; background:var(--chem-primary); color:var(--chem-accent); font-size:24px; }
.chem-detail-category-empty h2,.chem-detail-empty h1 { margin:18px 0 8px; color:var(--chem-primary-dark); font-size:25px; font-weight:600; }
.chem-detail-category-empty p,.chem-detail-empty p { max-width:540px; margin:0 auto 21px; color:#718096; font-size:14px; line-height:1.75; }
.chem-detail-cover-modal .modal-content { position:relative; overflow:hidden; border:0; border-radius:16px; background:#0D152E; }
.chem-detail-cover-modal .btn-close { position:absolute; z-index:2; top:14px; right:14px; width:40px; height:40px; border-radius:50%; background-color:rgba(255,255,255,.94); }
.chem-detail-cover-modal img { display:block; width:100%; max-height:88vh; object-fit:contain; }
@media (max-width:991.98px) { .chem-detail-hero,.chem-detail-hero .container { min-height:370px; } .chem-detail-hero-content { padding:58px 0; } .chem-detail-side { position:static; } }
@media (max-width:767.98px) { .chem-detail-hero,.chem-detail-hero .container { min-height:330px; } .chem-detail-hero-content { padding:48px 0; } .chem-detail-page > .container { padding-top:42px !important; padding-bottom:56px !important; } .chem-detail-card,.chem-detail-side-box,.chem-detail-empty { border-radius:12px; } .chem-detail-lead,.chem-detail-content,.chem-detail-documents,.chem-detail-gallery,.chem-detail-list-grid { padding-right:22px; padding-left:22px; } .chem-detail-lead { padding-top:25px; font-size:17px; } .chem-detail-content { padding-top:25px; padding-bottom:30px; font-size:15px; } .chem-detail-category-empty { margin-right:22px; margin-left:22px; } .chem-detail-cover-preview::after { right:12px; bottom:12px; min-height:34px; padding:6px 11px; font-size:11px; } .chem-detail-list-card { grid-template-columns:90px minmax(0,1fr); } .chem-detail-list-card img { width:90px; height:72px; } }

/* Slide Banner Caption */
.chem-home-banner-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.chem-home-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #111;
}

.chem-home-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chem-home-banner.has-caption-yes::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.chem-home-banner.caption-left::before {
    background: linear-gradient(90deg, rgba(5, 15, 41, .92) 0%, rgba(12, 24, 56, .76) 38%, rgba(13, 21, 46, .28) 66%, rgba(13, 21, 46, .1) 100%);
}

.chem-home-banner.caption-center::before {
    background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .46), rgba(0, 0, 0, .16));
}

.chem-home-banner.caption-right::before {
    background: linear-gradient(270deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .34) 34%, rgba(0, 0, 0, 0) 66%);
}

.chem-home-banner.text-dark::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .36), rgba(255, 255, 255, 0));
}

.chem-home-banner.text-dark.caption-center::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .72), rgba(255, 255, 255, .22));
}

.chem-home-banner.text-dark.caption-right::before {
    background: linear-gradient(270deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .36), rgba(255, 255, 255, 0));
}


.chem-home-banner .chem-slide-vector {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    width: min(280px, 20vw);
    height: auto;
    max-width: none;
    object-fit: contain;
    opacity: .38;
    pointer-events: none;
    transform: translateY(-50%);
}

.chem-home-banner.caption-left .chem-home-banner-caption {
    left: var(--chem-content-left);
}

.chem-home-banner.caption-center .chem-slide-vector,
.chem-home-banner.caption-right .chem-slide-vector {
    display: none;
}

.chem-home-banner-caption {
    position: absolute;
    top: 50%;
    left: var(--chem-content-left);
    z-index: 2;
    width: min(520px, 48%);
    color: #fff;
    text-align: left;
    transform: translateY(-50%);
}

.chem-home-banner.caption-center .chem-home-banner-caption {
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.chem-home-banner.caption-right .chem-home-banner-caption {
    right: var(--chem-content-left);
    left: auto;
    text-align: right;
}

.chem-home-banner.text-dark .chem-home-banner-caption {
    color: var(--chem-ink);
}

.chem-home-banner-caption h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(28px, 4vw, 56px);
    font-weight:600;
    line-height: 1.08;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .22);
}

.chem-home-banner.text-dark .chem-home-banner-caption h2 {
    text-shadow: none;
}

.chem-home-banner-caption p {
    max-width: 430px;
    margin: 14px 0 0;
    color: inherit;
    font-size: clamp(13px, 1.25vw, 17px);
    font-weight: 600;
    line-height: 1.55;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .24);
}

.chem-home-banner.caption-center .chem-home-banner-caption p,
.chem-home-banner.caption-right .chem-home-banner-caption p {
    margin-left: auto;
}

.chem-home-banner.text-dark .chem-home-banner-caption p {
    text-shadow: none;
}

/* Footer Foundation */
footer {
    background: var(--chem-maroon-dark);
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover,
footer a:focus {
    color: #ffe1e1;
}

/* Responsive Foundation */
@media (max-width: 991px) {
    .chem-topbar {
        min-height: 74px;
    }

    .chem-topbar-inner {
        min-height: 74px;
    }

    .chem-wordmark strong {
        font-size: 14px;
    }

    .chem-wordmark span {
        font-size: 9px;
        line-height: 1.35;
    }

    .chem-mainnav {
        display: none;
    }

    .chem-topbar-actions {
        gap: 8px;
    }

    .chem-phone {
        display: none;
    }

    .chem-hero-slider .owl-carousel,
    .chem-hero-slider .owl-stage-outer,
    .chem-hero-slider .owl-stage,
    .chem-hero-slider .owl-item,
    .chem-hero-item,
    .chem-hero-item .chem-home-banner {
        height: 430px;
        min-height: 430px;
    }

    .mju-news-page-grid,
    .mju-category-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mju-facilities-layout {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .mju-facilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mju-facilities-intro h2,
    .mju-facilities-intro p {
        max-width: 620px;
    }

    .chem-home-video-panel {
        grid-template-columns: 1fr;
    }

    .chem-home-video-content {
        border-top: 1px solid rgba(246, 197, 68, .16);
        border-left: 0;
    }

    .chem-download-folder-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chem-resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .chem-resource-group-head {
        align-items:flex-start;
    }

    .chem-resource-directory {
        padding: 28px;
    }

    .chem-resource-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .chem-resource-search {
        width: 100%;
    }

    .chem-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chem-video-featured-card {
        grid-template-columns: 1fr;
    }

    .chem-video-featured-content {
        border-top: 1px solid rgba(246, 197, 68, .18);
        border-left: 0;
    }

    .chem-video-library-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .chem-video-library-head > p {
        max-width: 660px;
        text-align: left;
    }

    .mju-success-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mju-detail-hero,
    .mju-detail-hero .container {
        min-height: 360px;
    }

    .mju-detail-hero-content {
        padding-bottom: 38px;
    }

    .mju-detail-side {
        position: static;
    }

    .mju-news-page-hero-inner {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 42px 0;
    }

    .chem-topbar-inner {
        gap: 12px;
    }

    .chem-wordmark {
        min-width: 0;
    }

    .mju-detail-hero,
    .mju-detail-hero .container {
        min-height: 320px;
    }

    .mju-detail-lead,
    .mju-detail-content,
    .mju-detail-gallery,
    .mju-detail-list-grid {
        padding-left: 20px;
        padding-right: 20px;
    }

    .mju-detail-lead {
        font-size: 18px;
    }

    .mju-detail-list-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .mju-detail-list-card img {
        width: 96px;
        height: 82px;
    }

    .mju-news-page-hero-inner {
        align-items: flex-start;
        min-height: 0;
        padding: 40px 0;
    }

    .mju-news-page-icon {
        display: none;
    }

    .mju-news-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .mju-category-links-panel {
        padding: 22px 16px;
        border-radius: 14px;
    }

    .mju-category-links-count {
        width: 100%;
        justify-content: center;
    }

    .mju-news-content-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .mju-news-content-head p {
        align-self: flex-start;
    }

    .mju-news-page-grid,
    .mju-category-links-grid {
        grid-template-columns: 1fr;
    }

    .mju-category-link-card {
        grid-template-columns: 46px minmax(0, 1fr) 32px;
        min-height: 92px;
        padding: 14px;
    }

    .mju-category-link-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .mju-facilities-grid {
        grid-template-columns: 1fr;
    }

    .chem-home-video-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .chem-home-video-section {
        padding: 52px 0 58px;
    }

    .chem-home-video-title {
        align-items: flex-start;
    }

    .chem-home-video-title-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .chem-home-video-content {
        padding: 28px 24px 32px;
    }

    .chem-home-video-all {
        margin-bottom: 0;
    }

    .chem-download-folder-grid {
        grid-template-columns: 1fr;
    }

    .chem-resource-hero-copy {
        min-height: 260px;
        padding: 45px 0;
    }

    .chem-resource-hero-icon {
        display: none;
    }

    .chem-resource-page {
        padding: 48px 0 58px;
    }

    .chem-resource-page-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .chem-resource-directory {
        padding: 22px 16px;
        border-radius: 17px;
    }

    .chem-resource-directory::before {
        right: 16px;
        left: 16px;
    }

    .chem-resource-count {
        min-width: 0;
    }

    .chem-resource-group-head {
        flex-wrap:wrap;
        padding:13px;
    }

    .chem-resource-group-count {
        margin-left:55px;
    }

    .chem-resource-toolbar {
        padding: 10px;
    }

    .chem-resource-trust-note {
        padding: 0 4px 2px;
        white-space: normal;
    }

    .chem-resource-search {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .chem-resource-search.has-clear-button {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .chem-resource-search button {
        grid-column: 1 / -1;
        width: 100%;
        margin: 0 -1px -1px;
        border-radius: 0 0 11px 11px;
    }

    .chem-resource-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .chem-resource-card-copy {
        min-height: 170px;
        padding: 19px 20px;
    }

    .chem-resource-card h2 {
        font-size: 19px;
    }

    .chem-download-folder-card {
        grid-template-columns: 48px minmax(0, 1fr) 24px;
        min-height: 104px;
        padding: 16px;
    }

    .chem-download-folder-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .chem-download-folder-card strong {
        font-size: 16px;
    }

    .chem-download-section-head h2 {
        font-size: 21px;
    }

    .chem-download-file-item {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 15px;
    }

    .chem-download-file-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .chem-download-file-item h2 {
        font-size: 16px;
    }

    .chem-download-file-btn {
        width: 100%;
    }

    .chem-download-search {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 9px;
        padding: 10px 11px 10px 14px;
    }

    .chem-download-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .chem-download-file-actions,
    .chem-download-file-missing {
        grid-column: 1 / -1;
    }

    .chem-download-file-actions {
        justify-content: stretch;
    }

    .chem-download-file-preview,
    .chem-download-file-btn {
        flex: 1 1 0;
    }

    .mju-home-safety-actions {
        grid-template-columns: 1fr;
    }

    .mju-home-safety-action {
        min-height: 0;
    }

    .mju-home-emergency-card {
        grid-template-columns: 148px minmax(0, 1fr);
        min-height: 142px;
        padding: 8px 14px 0 0;
    }

    .mju-home-emergency-card img {
        width: 170px;
        max-height: 148px;
        transform: translateX(4px);
    }

    .mju-home-emergency-card > div {
        transform: translateX(-5%);
    }

    .mju-home-emergency-card p {
        font-size: 13px;
    }

    .mju-home-emergency-call {
        min-height: 42px;
        margin-left: -20px;
        padding: 6px 10px 6px 26px;
        font-size: 22px;
    }

    .mju-home-emergency-card span {
        margin-left: -20px;
        padding: 3px 8px 5px 26px;
        font-size: 11px;
    }

    .mju-information-section {
        padding: 34px 0 22px;
    }

    .mju-information-carousel {
        padding: 0 12px 22px;
    }

    .mju-information-item img {
        max-width: 118px;
        max-height: 52px;
    }

    .chem-video-grid {
        grid-template-columns: 1fr;
    }

    .chem-video-hero,
    .chem-video-hero-inner {
        min-height: 330px;
    }

    .chem-video-hero-inner {
        padding: 48px 0;
    }

    .chem-video-hero-copy > p {
        font-size: 15px;
    }

    .chem-video-featured-section {
        padding-top: 48px;
    }

    .chem-video-section-head {
        align-items: flex-start;
    }

    .chem-video-featured-mark {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .chem-video-featured-content {
        padding: 28px 22px 32px;
    }

    .chem-video-library {
        padding: 42px 0 58px;
    }

    .chem-video-card-body {
        min-height: 190px;
    }

    .chem-video-pagination-direction span {
        display: none;
    }

    .chem-wordmark strong,
    .chem-wordmark span {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
    }

    .chem-wordmark strong {
        -webkit-line-clamp: 2;
    }

    .chem-wordmark span {
        -webkit-line-clamp: 1;
    }

    .chem-lang-switch {
        min-width: 38px;
    }

    .chem-hero-slider .owl-carousel,
    .chem-hero-slider .owl-stage-outer,
    .chem-hero-slider .owl-stage,
    .chem-hero-slider .owl-item,
    .chem-hero-item,
    .chem-hero-item .chem-home-banner {
        height: 360px;
        min-height: 360px;
    }

    .chem-home-banner.has-caption-yes::before,
    .chem-home-banner.text-dark::before,
    .chem-home-banner.text-dark.caption-center::before,
    .chem-home-banner.text-dark.caption-right::before {
        background: linear-gradient(180deg, rgba(5, 15, 41, .08), rgba(13, 21, 46, .82));
    }

    .chem-home-banner .chem-slide-vector {
        display: none;
    }

    .chem-home-banner-caption,
    .chem-home-banner.caption-center .chem-home-banner-caption,
    .chem-home-banner.caption-right .chem-home-banner-caption {
        top: auto;
        right: 18px;
        bottom: 18px;
        left: 18px;
        width: auto;
        color: #fff;
        text-align: left;
        transform: none;
    }

    .chem-home-banner-caption h2 {
        font-size: 24px;
    }

    .chem-home-banner-caption p {
        max-width: none;
        margin-top: 8px;
        font-size: 13px;
    }

    .mju-success-section {
        padding: 30px 0;
    }

    .mju-success-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .mju-success-head {
        padding: 0 16px;
    }

    .mju-success-number span {
        font-size: 30px;
    }
}
/* Scroll To Top Button */
.chem-scroll-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background:
        linear-gradient(135deg, var(--chem-primary), var(--chem-primary-dark));
    color: #fff;
    box-shadow: 0 14px 32px rgba(61, 9, 17, .28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.92);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.chem-scroll-top::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    pointer-events: none;
}

.chem-scroll-top i {
    position: relative;
    z-index: 1;
    font-size: 17px;
    line-height: 1;
}

.chem-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chem-scroll-top:hover,
.chem-scroll-top:focus {
    background:
        linear-gradient(135deg, var(--chem-primary), var(--chem-primary));
    color: #fff;
    box-shadow: 0 18px 38px rgba(61, 9, 17, .34);
    transform: translateY(-3px) scale(1.03);
    outline: none;
}

@media (max-width: 767px) {
    .chem-scroll-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }

    .chem-scroll-top i {
        font-size: 16px;
    }
}
/* Mobile menu accordion */
@media (max-width: 991px) {
    .chem-mobile-menu-panel > ul > li.has-submenu > a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .chem-mobile-menu-panel > ul > li.has-submenu > a::after {
        content: "\f107";
        flex: 0 0 auto;
        color: var(--chem-maroon);
        font-family: "Font Awesome 6 Free";
        font-size: 13px;
        font-weight:600;
        transition: transform .22s ease;
    }

    .chem-mobile-menu-panel > ul > li.has-submenu.is-open > a::after {
        transform: rotate(180deg);
    }

    .chem-mobile-menu-panel > ul > li > ul {
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 14px;
        opacity: 0;
        transition: max-height .28s ease, opacity .22s ease, padding .22s ease;
    }

    .chem-mobile-menu-panel > ul > li.is-open > ul {
        max-height: 680px;
        padding: 4px 0 8px 14px;
        opacity: 1;
    }

    .chem-mobile-menu-panel > ul > li > ul a {
        padding: 8px 0;
        color: var(--chem-muted);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
    }
}
/* Mobile menu header: cleaner logo + phone layout */
.chem-mobile-menu-head {
    align-items: flex-start;
}

.chem-mobile-head-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
    padding-right: 10px;
}

.chem-mobile-head-brand img {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.mju-mobile-head-phone {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 6px;
    row-gap: 1px;
    min-width: 0;
    color: var(--chem-maroon-dark);
    line-height: 1.25;
}

.mju-mobile-head-phone i {
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 3px;
    color: var(--chem-maroon);
    font-size: 12px;
}

.mju-mobile-head-phone .phone-label {
    color: var(--chem-muted);
    font-size: 12px;
    font-weight: 300;
}

.mju-mobile-head-phone strong {
    display: block;
    max-width: 145px;
    color: var(--chem-maroon-dark);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.35;
    white-space: normal;
}

.chem-mobile-close {
    flex: 0 0 auto;
}

/* =========================================================
   About Detail Page
   Moved from pages/detail-about.php inline style
========================================================= */
.chem-about-page {
    --about-maroon: #600F1A;
    --about-maroon-dark: #420811;
    --about-gold: #C9A24D;
    --about-soft: #F8F4F1;
    --about-line: rgba(96, 15, 26, .12);
    --about-text: #263238;
    background: linear-gradient(180deg, #fff 0%, #fbf8f6 100%);
    color: var(--about-text);
}
.chem-about-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background: url("../images/cover-about.png");
    background-position: center 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.chem-about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .36) 0%, rgba(0, 0, 0, .16) 48%, rgba(0, 0, 0, .04) 100%);
    z-index: 1;
}
.chem-about-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .08);
    z-index: 1;
}
.chem-about-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    padding: 62px 0 54px;
}
.chem-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(8px);
}
.chem-about-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.02em;
}
.chem-about-breadcrumb {
    margin-top: 18px;
    color: rgba(255,255,255,.78);
    font-size: 14px;
}
.chem-about-breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.chem-about-main {
    padding: 56px 0 72px;
}
.chem-about-layout {
    align-items: flex-start;
}
.chem-about-card {
    overflow: hidden;
    border: 1px solid var(--about-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(96, 15, 26, .09);
}
.chem-about-feature-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #fbf8f8;
    display: block;
}
.chem-about-feature-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background: #fbf8f8;
    border: 0;
    cursor: zoom-in;
}
.chem-about-feature-preview::after {
    content: "\f00e";
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: rgba(96, 15, 26, .9);
    border-radius: 999px;
    font-family: "Font Awesome 6 Free";
    font-weight:600;
    box-shadow: 0 12px 24px rgba(76, 8, 10, .22);
}
.chem-about-cover-modal .modal-content {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 16px;
}
.chem-about-cover-modal .btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 999px;
}
.chem-about-cover-modal img {
    display: block;
    width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.chem-image-preview-content {
    position: relative;
}

.chem-image-original-link {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(244, 194, 71, .42);
    color: #fff;
    background: rgba(16, 27, 62, .94);
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 12px 28px rgba(13, 21, 46, .30);
    backdrop-filter: blur(8px);
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.chem-image-original-link:hover,
.chem-image-original-link:focus {
    border-color: #F4C247;
    color: #0D152E;
    background: #F4C247;
    transform: translateY(-1px);
}

.chem-image-original-link:focus-visible {
    outline: 3px solid rgba(152, 120, 176, .52);
    outline-offset: 3px;
}

.mfp-figure.chem-image-preview-content {
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

.mfp-figure .mfp-img {
    width: auto;
    max-width: 94vw;
    max-height: 86vh !important;
    object-fit: contain;
}

.mfp-bg.chem-gallery-popup {
    opacity: 0;
    transition: opacity .22s ease;
}

.mfp-bg.chem-gallery-popup.mfp-ready {
    opacity: .9;
}

.mfp-bg.chem-gallery-popup.mfp-removing {
    opacity: 0;
}

.mfp-wrap.chem-gallery-popup .mfp-content {
    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: opacity .22s ease, transform .22s ease;
}

.mfp-wrap.chem-gallery-popup.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mfp-wrap.chem-gallery-popup.mfp-removing .mfp-content {
    opacity: 0;
    transform: translateY(8px) scale(.985);
}

@media (max-width: 767.98px) {
    .chem-image-original-link {
        left: 12px;
        right: 12px;
        bottom: 12px;
        justify-content: center;
        padding: 11px 14px;
    }
}
.chem-about-article {
    padding: clamp(24px, 4vw, 46px);
}
.chem-about-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.chem-about-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--about-soft);
    color: var(--about-maroon);
    font-size: 13px;
    font-weight: 700;
}
.chem-about-content {
    color: #333;
    font-size: 16px;
    line-height: 1.9;
    word-break: break-word;
}
.chem-about-content h1,
.chem-about-content h2,
.chem-about-content h3,
.chem-about-content h4 {
    color: var(--about-maroon-dark);
    font-weight:600;
    line-height: 1.35;
    margin-top: 1.25em;
    margin-bottom: .6em;
}
.chem-about-content h2 {
    position: relative;
    padding-bottom: 12px;
    font-size: clamp(26px, 3vw, 36px);
}
.chem-about-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--about-maroon), var(--about-gold));
}
.chem-about-content p { margin-bottom: 1rem; }
.chem-about-content a { color: var(--about-maroon); font-weight: 700; }
.chem-about-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.chem-about-content iframe {
    max-width: 100%;
    border-radius: 18px;
}
.chem-about-content table {
    width: 100% !important;
    margin: 22px 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(96,15,26,.08);
}
.chem-about-content table th,
.chem-about-content table td {
    padding: 12px 14px;
    border: 1px solid rgba(96, 15, 26, .12);
    vertical-align: top;
}
.chem-about-content table th {
    background: var(--about-maroon);
    color: #fff;
}
.chem-about-sidebar {
    position: sticky;
    top: 110px;
}
.chem-about-side-card {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--about-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(96, 15, 26, .08);
}
.chem-about-side-head {
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--about-maroon-dark), var(--about-maroon));
    color: #fff;
}
.chem-about-side-head span {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.chem-about-side-head strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight:600;
}
.chem-about-menu-list {
    padding: 10px;
}
.chem-about-menu-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #3d2a2d;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.45;
    transition: all .18s ease;
}
.chem-about-menu-list a + a { margin-top: 4px; }
.chem-about-menu-list a i {
    color: var(--about-maroon);
    font-size: 12px;
    opacity: .72;
}
.chem-about-menu-list a:hover,
.chem-about-menu-list a.active {
    background: var(--about-soft);
    color: var(--about-maroon);
    transform: translateX(3px);
}
.chem-about-quick {
    padding: 22px;
}
.chem-about-quick h3 {
    margin: 0 0 8px;
    color: var(--about-maroon-dark);
    font-size: 19px;
    font-weight:600;
}
.chem-about-quick p {
    margin: 0 0 16px;
    color: #6d6264;
    font-size: 14px;
    line-height: 1.7;
}
.chem-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--about-maroon);
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight:600;
    box-shadow: 0 12px 28px rgba(96,15,26,.20);
}
.chem-about-gallery {
    margin-top: 26px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--about-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(96, 15, 26, .06);
}
.chem-about-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--about-maroon-dark);
    font-size: 24px;
    font-weight: 400;
}
.chem-about-section-title::before {
    content: "";
    width: 8px;
    height: 28px;
    border-radius: 999px;
    background: var(--about-maroon);
}
.chem-about-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #eee;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.chem-about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .32s ease;
}
.chem-about-gallery-item:hover img { transform: scale(1.05); }
.chem-about-documents {
    margin-top: 26px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--about-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(96, 15, 26, .06);
}
.chem-about-document-list {
    display: grid;
    gap: 14px;
}
.chem-about-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(96, 15, 26, .10);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fcf9f7);
}
.chem-about-document-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.chem-about-document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--about-soft);
    color: var(--about-maroon);
    font-size: 22px;
}
.chem-about-document-text {
    min-width: 0;
}
.chem-about-document-text strong {
    display: block;
    overflow: hidden;
    color: var(--about-maroon-dark);
    font-size: 15px;
    font-weight:600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.chem-about-document-text span {
    display: block;
    margin-top: 3px;
    color: #7a6d70;
    font-size: 13px;
}
.chem-about-document-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.chem-about-document-actions .chem-about-document-download {
    min-width: 132px;
}

.chem-about-document-view,
.chem-about-document-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight:600;
}
.chem-about-document-view {
    border: 1px solid rgba(96, 15, 26, .18);
    background: #fff;
    color: var(--about-maroon) !important;
}
.chem-about-document-view:hover {
    background: var(--about-soft);
    color: var(--about-maroon-dark) !important;
}
.chem-about-document-download {
    background: #600F1A;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(96, 15, 26, .18);
}
.chem-about-document-download i,
.chem-about-document-download span {
    color: inherit !important;
}
.chem-about-document-download:hover,
.chem-about-document-download:focus {
    background: #3d0911;
    color: #fff !important;
}
.chem-about-document-preview {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 22px;
    background: #f7f2ef;
}
.chem-about-document-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(96, 15, 26, .10);
    background: #fff;
    color: var(--about-maroon-dark);
    font-size: 13px;
    font-weight:600;
}
.chem-about-document-preview-body {
    background: #fff;
}
.chem-about-document-preview iframe {
    display: block;
    width: 100%;
    height: min(76vh, 780px);
    min-height: 520px;
    border: 0;
    background: #fff;
}
.chem-about-document-preview img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 780px;
    object-fit: contain;
    background: #fff;
}
.chem-about-document-preview-empty {
    padding: 24px;
    color: #77686b;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}
.chem-about-empty {
    padding: 54px 28px;
    border: 1px solid var(--about-line);
    border-radius: 26px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 44px rgba(96,15,26,.08);
}
.chem-about-empty-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--about-soft);
    color: var(--about-maroon);
    font-size: 26px;
}
@media (max-width: 575px) {
    .chem-about-document-item { align-items: flex-start; flex-direction: column; }
    .chem-about-document-actions { width: 100%; }
    .chem-about-document-view,
    .chem-about-document-download { flex: 1 1 0; }
    .chem-about-document-text strong { white-space: normal; }
    .chem-about-document-preview iframe { min-height: 420px; height: 62vh; }
}
@media (max-width: 991px) {
    .chem-about-sidebar { position: static; margin-top: 24px; }
    .chem-about-hero, .chem-about-hero-inner { min-height: 280px; }
}
@media (max-width: 575px) {
    .chem-about-main { padding: 34px 0 48px; }
    .chem-about-article { padding: 22px; }
    .chem-about-hero-inner { padding: 44px 0 38px; }
}
/* =========================================================
   Chemistry About Us Detail
   The content, gallery and document markup remain compatible
   with the existing administration system.
========================================================= */
.chem-about-page {
    --chem-about-navy: #101B3E;
    --chem-about-navy-deep: #0D152E;
    --chem-about-purple: #9878B0;
    --chem-about-gold: #F4C247;
    --chem-about-soft: #F4F6FB;
    --chem-about-line: rgba(16, 27, 62, .12);
    /* Compatibility variables used by the original About components. */
    --about-maroon: var(--chem-about-navy);
    --about-maroon-dark: var(--chem-about-navy-deep);
    --about-gold: var(--chem-about-gold);
    --about-soft: var(--chem-about-soft);
    --about-line: var(--chem-about-line);
    --about-text: #26344F;
    color: var(--chem-about-navy-deep);
    background: linear-gradient(180deg, #fff 0%, #f5f7fc 100%);
}

.chem-about-hero {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: url("../images/about/chem-about-cover.png") center / cover no-repeat;
}

.chem-about-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(13, 21, 46, .92) 0%, rgba(16, 27, 62, .77) 44%, rgba(16, 27, 62, .27) 100%);
}

.chem-about-hero::after {
    position: absolute;
    top: -150px;
    right: 8%;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(152, 120, 176, .46);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(152, 120, 176, .10), 0 0 0 86px rgba(244, 194, 71, .06);
    content: "";
}

.chem-about-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    padding: 68px 0 54px;
}

.chem-about-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(244, 194, 71, .52);
    border-radius: 999px;
    color: #F4C247 !important;
    background: rgba(13, 21, 46, .62);
    font-size: 13px;
    font-weight:600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chem-about-kicker i,
.chem-about-kicker span {
    color: inherit !important;
}

.chem-about-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4.7vw, 58px);
    font-weight:600;
    line-height: 1.18;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}

.chem-about-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}

.chem-about-breadcrumb a {
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.chem-about-breadcrumb a:hover,
.chem-about-breadcrumb a:focus {
    color: var(--chem-about-gold) !important;
}

.chem-about-breadcrumb > span:last-child {
    color: rgba(255, 255, 255, .92);
}

.chem-about-main {
    padding: 58px 0 82px;
}

.chem-about-layout {
    width: 100%;
}

.chem-about-page .chem-about-card,
.chem-about-page .chem-about-gallery,
.chem-about-page .chem-about-documents {
    border-color: var(--chem-about-line);
    box-shadow: 0 18px 46px rgba(16, 27, 62, .08);
}

.chem-about-page .chem-about-feature-img,
.chem-about-page .chem-about-feature-preview {
    background: var(--chem-about-soft);
}

/* Editorial media frame for institutional content. */
.chem-about-feature-shell {
    position: relative;
    z-index: 1;
    width: calc(100% - clamp(32px, 6vw, 96px));
    max-width: 1120px;
    margin: clamp(24px, 4vw, 48px) auto 0;
    padding: 9px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--chem-about-navy) 0 72%, var(--chem-about-purple) 100%);
    box-shadow: 0 26px 60px rgba(13, 21, 46, .20);
}

.chem-about-feature-shell::before {
    position: absolute;
    top: -7px;
    left: 38px;
    width: 112px;
    height: 4px;
    border-radius: 999px;
    background: var(--chem-about-gold);
    content: "";
}

.chem-about-feature-shell::after {
    position: absolute;
    right: -15px;
    bottom: -15px;
    z-index: -1;
    width: 42%;
    height: 42%;
    border-right: 2px solid rgba(152, 120, 176, .56);
    border-bottom: 2px solid rgba(152, 120, 176, .56);
    border-radius: 0 0 30px;
    content: "";
}

.chem-about-page .chem-about-feature-preview {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: clamp(360px, 39vw, 590px);
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: var(--chem-about-navy-deep);
    isolation: isolate;
}

.chem-about-page .chem-about-feature-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.chem-about-page .chem-about-feature-preview:hover .chem-about-feature-img,
.chem-about-page .chem-about-feature-preview:focus-visible .chem-about-feature-img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.025);
}

.chem-about-page .chem-about-feature-preview::after {
    display: none;
}

.chem-about-feature-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 48%, rgba(13, 21, 46, .82) 100%);
    pointer-events: none;
}

.chem-about-feature-caption {
    position: absolute;
    right: 190px;
    bottom: 25px;
    left: 28px;
    z-index: 2;
    color: #fff;
    text-align: left;
    pointer-events: none;
}

.chem-about-feature-caption small {
    display: block;
    margin-bottom: 5px;
    color: var(--chem-about-gold);
    font-size: 11px;
    font-weight:600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chem-about-feature-caption strong {
    display: block;
    overflow: hidden;
    font-size: clamp(17px, 1.7vw, 23px);
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chem-about-feature-action {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 999px;
    color: #fff;
    background: rgba(16, 27, 62, .78);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.chem-about-page .chem-about-feature-preview:hover .chem-about-feature-action,
.chem-about-page .chem-about-feature-preview:focus-visible .chem-about-feature-action {
    color: var(--chem-about-navy-deep);
    background: var(--chem-about-gold);
    transform: translateY(-2px);
}

.chem-about-page .chem-about-feature-preview::after {
    background: rgba(16, 27, 62, .92);
    box-shadow: 0 12px 24px rgba(13, 21, 46, .24);
}

.chem-about-page .chem-about-content {
    color: #34405b;
}

.chem-about-page .chem-about-content h1,
.chem-about-page .chem-about-content h2,
.chem-about-page .chem-about-content h3,
.chem-about-page .chem-about-content h4,
.chem-about-page .chem-about-section-title {
    color: var(--chem-about-navy);
}

.chem-about-page .chem-about-content h2::after,
.chem-about-page .chem-about-section-title::before {
    background: linear-gradient(90deg, var(--chem-about-gold), var(--chem-about-purple));
}

.chem-about-page .chem-about-content a {
    color: #556ca8;
}

.chem-about-page .chem-about-content table {
    box-shadow: 0 8px 26px rgba(16, 27, 62, .08);
}

.chem-about-page .chem-about-content table th {
    background: var(--chem-about-navy);
}

.chem-about-page .chem-about-content table th,
.chem-about-page .chem-about-content table td {
    border-color: var(--chem-about-line);
}

.chem-about-page .chem-about-document-item {
    border-color: var(--chem-about-line);
    background: linear-gradient(180deg, #fff, #f8f9fd);
}

.chem-about-page .chem-about-document-icon,
.chem-about-page .chem-about-empty-icon {
    color: var(--chem-about-purple);
    background: rgba(152, 120, 176, .12);
}

.chem-about-page .chem-about-document-download {
    background: var(--chem-about-navy);
    box-shadow: 0 10px 24px rgba(16, 27, 62, .20);
}

.chem-about-page .chem-about-document-download:hover,
.chem-about-page .chem-about-document-download:focus {
    background: #1a2d62;
}

.chem-about-page .chem-about-document-preview {
    border-color: var(--chem-about-line);
    background: var(--chem-about-soft);
}

.chem-about-page .chem-about-document-preview-head {
    border-color: var(--chem-about-line);
    color: var(--chem-about-navy);
}

@media (max-width: 991.98px) {
    .chem-about-hero,
    .chem-about-hero-inner {
        min-height: 290px;
    }

    .chem-about-hero-inner {
        padding: 54px 0 44px;
    }
}

@media (max-width: 575.98px) {
    .chem-about-hero,
    .chem-about-hero-inner {
        min-height: 265px;
    }

    .chem-about-hero {
        background-position: 61% center;
    }

    .chem-about-hero-inner {
        padding: 42px 0 34px;
    }

    .chem-about-kicker {
        font-size: 11px;
    }

    .chem-about-breadcrumb {
        font-size: 12px;
    }

    .chem-about-main {
        padding: 36px 0 54px;
    }

    .chem-about-page .chem-about-feature-preview {
        height: clamp(230px, 61vw, 340px);
    }

    .chem-about-page .chem-about-feature-img {
        max-height: none;
    }

    .chem-about-feature-shell {
        width: calc(100% - 28px);
        margin-top: 22px;
        padding: 6px;
        border-radius: 20px;
    }

    .chem-about-feature-shell::before {
        left: 24px;
        width: 76px;
    }

    .chem-about-page .chem-about-feature-preview {
        border-radius: 15px;
    }

    .chem-about-feature-caption {
        right: 70px;
        bottom: 17px;
        left: 18px;
    }

    .chem-about-feature-caption strong {
        white-space: normal;
    }

    .chem-about-feature-action {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
    }

    .chem-about-feature-action span {
        display: none;
    }
}


/* Chemistry home contact */
.chem-contact-section {
    position: relative;
    overflow: hidden;
    padding: 76px 0 82px;
    background:
        radial-gradient(circle at 12% 18%, rgba(246, 197, 68, .12), transparent 25%),
        linear-gradient(135deg, #101B3E 0%, #0D152E 100%);
}

.chem-contact-section::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 48px 48px;
}

.chem-contact-section .container {
    position: relative;
    z-index: 1;
}

.chem-contact-heading {
    max-width: 850px;
    margin-bottom: 34px;
}

.chem-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--chem-accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.chem-contact-title {
    margin: 0;
    color: #fff;
    font-weight:600;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.chem-contact-title-main,
.chem-contact-title-sub {
    display: block;
}

.chem-contact-title-main {
    font-size: clamp(36px, 3vw, 46px);
}

.chem-contact-title-sub {
    margin-top: 6px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 600;
    letter-spacing: -.01em;
}

.chem-contact-heading p {
    max-width: 800px;
    margin: 14px 0 0;
    color: rgba(229, 235, 247, .76);
    font-size: 17px;
    line-height: 1.75;
}

.chem-contact-info-card,
.chem-contact-map-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 44px rgba(3, 10, 31, .24);
}

.chem-contact-info-card {
    padding: 28px;
}

.chem-contact-address {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 22px;
    border-bottom: 1px solid #E8EDF5;
}

.chem-contact-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(246, 197, 68, .17);
    color: #B27E08;
    font-size: 18px;
}

.chem-contact-address strong {
    display: block;
    margin-bottom: 5px;
    color: var(--chem-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.chem-contact-address p {
    margin: 0;
    color: #62708A;
    font-size: 16px;
    line-height: 1.7;
}

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

.chem-contact-main-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid #E5EAF2;
    border-radius: 11px;
    background: #F8FAFD;
    color: var(--chem-primary-dark);
    text-decoration: none;
}

.chem-contact-main-item > i {
    width: 30px;
    flex: 0 0 30px;
    color: #B27E08;
    font-size: 16px;
    text-align: center;
}

.chem-contact-main-item span {
    min-width: 0;
}

.chem-contact-main-item small {
    display: block;
    margin-bottom: 2px;
    color: #7B879C;
    font-size: 13px;
    font-weight: 600;
}

.chem-contact-main-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--chem-primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.chem-contact-main-item:hover,
.chem-contact-main-item:focus-visible {
    border-color: rgba(246, 197, 68, .65);
    color: var(--chem-primary-dark);
    outline: none;
}

.chem-contact-office-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.chem-contact-office-item {
    padding: 15px 16px;
    border: 1px solid #E5EAF2;
    border-radius: 11px;
    background: #fff;
}

.chem-contact-office-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--chem-primary-dark);
}

.chem-contact-office-title i {
    color: #B27E08;
    font-size: 14px;
}

.chem-contact-office-title strong {
    font-size: 16px;
    font-weight: 700;
}

.chem-contact-office-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 16px;
    margin-top: 9px;
}

.chem-contact-office-meta span,
.chem-contact-office-meta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #62708A;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.chem-contact-office-meta a:hover,
.chem-contact-office-meta a:focus-visible {
    color: var(--chem-primary);
    outline: none;
}

.chem-contact-social {
    display: flex;
    gap: 9px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #E8EDF5;
}

.chem-contact-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--chem-primary-dark);
    color: #fff;
    font-size: 14px;
    transition: transform .2s ease, background-color .2s ease;
}

.chem-contact-social a:hover,
.chem-contact-social a:focus-visible {
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    outline: none;
    transform: translateY(-2px);
}

.chem-contact-map-card {
    position: relative;
    min-height: 100%;
    background: #DCE3EE;
}

.chem-contact-map-card iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;
    border: 0;
}

.chem-contact-map-empty {
    display: flex;
    min-height: 620px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 30px;
    color: #66748D;
    text-align: center;
}

.chem-contact-map-empty i {
    color: #B27E08;
    font-size: 34px;
}

.chem-contact-map-empty p {
    margin: 0;
    font-size: 14px;
}

.chem-contact-map-link {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 10px;
    background: var(--chem-primary-dark);
    box-shadow: 0 8px 20px rgba(13, 21, 46, .22);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.chem-contact-map-link:hover,
.chem-contact-map-link:focus-visible {
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    outline: none;
}

@media (max-width: 991.98px) {
    .chem-contact-kicker {
        font-size: 14px;
    }

    .chem-contact-title-main {
        font-size: 34px;
    }

    .chem-contact-title-sub {
        font-size: 22px;
    }

    .chem-contact-facilities strong,
    .chem-contact-address strong {
        font-size: 17px;
    }

    .chem-contact-facilities p,
    .chem-contact-address p {
        font-size: 15px;
    }

    .chem-contact-main-item strong {
        font-size: 15px;
    }

    .chem-contact-office-title strong {
        font-size: 16px;
    }

    .chem-contact-office-meta span,
    .chem-contact-office-meta a {
        font-size: 14px;
    }

    .chem-contact-map-card iframe,
    .chem-contact-map-empty {
        min-height: 460px;
    }
}

@media (max-width: 575.98px) {
    .chem-contact-section {
        padding: 52px 0 58px;
    }

    .chem-contact-heading {
        margin-bottom: 24px;
    }

    .chem-contact-kicker {
        font-size: 14px;
        letter-spacing: .08em;
    }

    .chem-contact-title-main {
        font-size: 30px;
    }

    .chem-contact-title-sub {
        margin-top: 5px;
        font-size: 19px;
        line-height: 1.35;
    }

    .chem-contact-facilities strong,
    .chem-contact-address strong {
        font-size: 17px;
    }

    .chem-contact-facilities p,
    .chem-contact-address p {
        font-size: 15px;
    }

    .chem-contact-main-item small {
        font-size: 13px;
    }

    .chem-contact-main-item strong {
        font-size: 15px;
    }

    .chem-contact-office-title strong {
        font-size: 16px;
    }

    .chem-contact-office-meta span,
    .chem-contact-office-meta a {
        font-size: 14px;
    }

    .chem-contact-info-card {
        padding: 20px;
    }

    .chem-contact-main-grid {
        grid-template-columns: 1fr;
    }

    .chem-contact-map-card iframe,
    .chem-contact-map-empty {
        min-height: 360px;
    }

    .chem-contact-map-link {
        right: 12px;
        bottom: 12px;
    }
}

/* Chemistry Footer */
.chem-footer-main {
    background: #fff;
    color: var(--chem-primary-dark);
    border-top: 1px solid #E7EBF1;
}

.chem-footer-container {
    padding-top: 54px;
    padding-bottom: 54px;
}

.chem-footer-grid {
    display: grid;
    grid-template-columns: .78fr 1.18fr .9fr 1.05fr 1.12fr;
    gap: 36px;
    align-items: start;
}

.chem-footer-column {
    min-width: 0;
}

.chem-footer-column h2 {
    margin: 0 0 18px;
    color: var(--chem-primary-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.chem-footer-column p,
.chem-footer-column a,
.chem-footer-column dt,
.chem-footer-column dd {
    font-size: 14px;
    line-height: 1.55;
}

.chem-footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.chem-footer-social a {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform .2s ease, opacity .2s ease;
}

.chem-footer-social a:hover,
.chem-footer-social a:focus-visible {
    opacity: .78;
    outline: none;
    transform: translateY(-2px);
}

.chem-footer-social img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.chem-footer-department {
    margin: 0 0 10px;
    color: #5F6674;
    font-weight: 500;
}

.chem-footer-address {
    margin: 0 0 20px;
    color: #737A86;
}

.chem-footer-contact-list {
    display: grid;
    gap: 9px;
    margin: 0;
}

.chem-footer-contact-list > div {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: baseline;
}

.chem-footer-contact-list dt {
    margin: 0;
    color: var(--chem-primary-dark);
    font-weight: 700;
}

.chem-footer-contact-list dd {
    margin: 0;
    color: #D69B20;
}

.chem-footer-contact-list a {
    color: #D69B20;
    text-decoration: none;
}

.chem-footer-contact-list a:hover,
.chem-footer-contact-list a:focus-visible {
    color: var(--chem-primary-dark);
    outline: none;
}

.chem-footer-links {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chem-footer-links li {
    margin: 0;
    padding: 0;
}

.chem-footer-links a {
    display: inline-block;
    color: #D69B20;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.chem-footer-links a:hover,
.chem-footer-links a:focus-visible {
    color: var(--chem-primary-dark);
    outline: none;
    transform: translateX(3px);
}

.chem-footer-support p {
    margin: 0 0 20px;
    color: #858A94;
}

.chem-footer-donate {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid #07143A;
    border-radius: 8px;
    background: #0B1A46;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.chem-footer-donate:hover,
.chem-footer-donate:focus-visible {
    background: #13275F;
    color: #fff !important;
    outline: none;
    box-shadow: 0 10px 22px rgba(11, 26, 70, .16);
    transform: translateY(-2px);
}

.chem-footer-brandbar {
    border-top: 1px solid #E2E6EC;
    background: #fff;
}

.chem-footer-brandbar-inner {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 28px;
    padding-bottom: 28px;
}

.chem-footer-logos {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 30px;
}

.chem-footer-logos img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.chem-footer-logo-department {
    max-height: 82px;
}

.chem-footer-logo-faculty {
    max-height: 72px;
}

.chem-footer-brandbar p {
    max-width: 600px;
    margin: 0;
    color: #737A86;
    font-size: 14px;
    line-height: 1.6;
    text-align: right;
}

.chem-footer-copyright {
    background: #0B1A46;
    color: #fff;
}

.chem-footer-copyright p {
    margin: 0;
    padding: 12px 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .chem-footer-container {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .chem-footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 38px 30px;
    }

    .chem-footer-support {
        grid-column: span 2;
    }

    .chem-footer-column h2 {
        font-size: 17px;
    }

    .chem-footer-column p,
    .chem-footer-column a,
    .chem-footer-column dt,
    .chem-footer-column dd {
        font-size: 15px;
    }
}

@media (max-width: 991.98px) {
    .chem-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chem-footer-support {
        grid-column: auto;
    }

    .chem-footer-brandbar-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .chem-footer-brandbar p {
        max-width: none;
        font-size: 15px;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .chem-footer-container {
        padding-top: 38px;
        padding-bottom: 40px;
    }

    .chem-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .chem-footer-column h2 {
        margin-bottom: 14px;
        font-size: 18px;
    }

    .chem-footer-column p,
    .chem-footer-column a,
    .chem-footer-column dt,
    .chem-footer-column dd {
        font-size: 16px;
        line-height: 1.6;
    }

    .chem-footer-social a {
        width: 50px;
        height: 50px;
    }

    .chem-footer-social img {
        width: 46px;
        height: 46px;
    }

    .chem-footer-donate {
        min-height: 52px;
        font-size: 16px !important;
    }

    .chem-footer-brandbar-inner {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .chem-footer-logos {
        width: 100%;
        gap: 20px;
        align-items: center;
        flex-wrap: wrap;
    }

    .chem-footer-logo-department {
        max-height: 72px;
    }

    .chem-footer-logo-faculty {
        max-width: min(100%, 255px) !important;
        max-height: 62px;
    }

    .chem-footer-brandbar p {
        font-size: 15px;
    }

    .chem-footer-copyright p {
        padding: 13px 0;
        font-size: 12px;
        line-height: 1.55;
    }
}


/* =========================================================
   Personnel Directory Page
========================================================= */
.mju-personnel-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, var(--chem-maroon), var(--chem-maroon-dark));
    color: #fff;
}

.mju-personnel-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 290px;
    display: flex;
    align-items: center;
    padding: 54px 0;
}

.mju-personnel-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
}

.mju-personnel-breadcrumb a {
    color: #fff;
}

.mju-personnel-breadcrumb i {
    font-size: 10px;
    opacity: .72;
}

.mju-personnel-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #fff;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 500;
    line-height: 1.15;
}

.mju-personnel-hero p {
    max-width: 720px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.7;
}

.mju-personnel-page {
    background:
        linear-gradient(180deg, #f7f3f4 0%, #fff 100%);
}

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

.mju-personnel-sidebar {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .08);
}

.mju-personnel-sidebar-head {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(96, 15, 26, .1);
    background: linear-gradient(135deg, rgba(96, 15, 26, .06), rgba(96, 15, 26, .02));
}

.mju-personnel-sidebar-head span {
    display: block;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight: 700;
}

.mju-personnel-department-list {
    display: grid;
    gap: 6px;
    padding: 12px;
}

.mju-personnel-department-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 12px;
    color: var(--chem-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.mju-personnel-department-list a:hover,
.mju-personnel-department-list a:focus,
.mju-personnel-department-list a.is-active {
    background: var(--chem-maroon);
    color: #fff;
}

.mju-personnel-content {
    min-width: 0;
}

.mju-personnel-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 22px 24px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .06);
}

.mju-personnel-section-head span {
    display: block;
    margin-bottom: 5px;
    color: var(--chem-maroon);
    font-size: 12px;
    font-weight:600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mju-personnel-section-head h2 {
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 500;
}

.mju-personnel-section-head p {
    margin: 0;
    min-width: 96px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(96, 15, 26, .08);
    color: var(--chem-maroon);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.mju-personnel-subtabs {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    margin-bottom: 22px;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
}

.mju-personnel-subtabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 17px;
    border: 1px solid rgba(96, 15, 26, .14);
    border-radius: 999px;
    background: #fff;
    color: var(--chem-maroon-dark);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(76, 8, 10, .05);
}

.mju-personnel-subtabs a:hover,
.mju-personnel-subtabs a:focus,
.mju-personnel-subtabs a.is-active {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
}

.mju-personnel-featured-grid,
.mju-personnel-second-grid,
.mju-personnel-normal-grid {
    display: grid;
    gap: 20px;
}

.mju-personnel-featured-grid {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    margin-bottom: 22px;
}

.mju-personnel-second-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 22px;
}

.mju-personnel-normal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mju-person-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mju-person-card:hover {
    border-color: rgba(96, 15, 26, .22);
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(76, 8, 10, .13);
}

.mju-person-card-featured {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: center;
    min-height: 250px;
}

.mju-person-card-second,
.mju-person-card-normal {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.mju-person-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 22px 12px;
}

.mju-person-card-featured .mju-person-photo-wrap {
    padding: 26px;
}

.mju-person-photo {
    width: 132px;
    height: 132px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #f2eeee;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(76, 8, 10, .14);
}

.mju-person-card-featured .mju-person-photo {
    width: 174px;
    height: 174px;
}

.mju-person-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 22px 22px;
    text-align: center;
}

.mju-person-card-featured .mju-person-card-body {
    padding: 28px 30px 28px 0;
    text-align: left;
}

.mju-person-card h3 {
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.38;
}

.mju-person-card-featured h3 {
    font-size: 28px;
}

.mju-person-position {
    margin: 8px 0 0;
    color: var(--chem-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.mju-person-card-featured .mju-person-position {
    color: #604448;
    font-size: 16px;
}

.mju-person-contact-list {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}

.mju-person-contact-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    color: var(--chem-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.mju-person-card-featured .mju-person-contact-list a {
    justify-content: flex-start;
}

.mju-person-contact-list i {
    flex: 0 0 auto;
    color: var(--chem-maroon);
    font-size: 12px;
}

.mju-person-contact-list span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.mju-person-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    min-height: 32px;
    margin: auto auto 0;
    padding: 6px 12px;
    border: 1px solid rgba(96, 15, 26, .16);
    border-radius: 999px;
    background: rgba(96, 15, 26, .06);
    color: var(--chem-maroon);
    font-size: 12px;
    font-weight:600;
}

.mju-person-card-featured .mju-person-more {
    margin-left: 0;
}

.mju-person-more:hover,
.mju-person-more:focus {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
}

.mju-person-more i {
    font-size: 10px;
}

.mju-personnel-empty {
    padding: 54px 24px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .06);
}

.mju-personnel-empty i {
    color: var(--chem-maroon);
    font-size: 42px;
}

.mju-personnel-empty h2 {
    margin: 18px 0 0;
    color: var(--chem-maroon-dark);
    font-size: 24px;
    font-weight: 600;
}

.mju-person-detail-card {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(76, 8, 10, .09);
}

.mju-person-detail-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mju-person-detail-photo img {
    width: 260px;
    height: 260px;
    border: 8px solid #fff;
    border-radius: 50%;
    background: #f2eeee;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .16);
}

.mju-person-detail-content h2 {
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.25;
}

.mju-person-detail-info {
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.mju-person-detail-info div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(96, 15, 26, .15);
}

.mju-person-detail-info strong {
    color: var(--chem-maroon-dark);
    font-size: 14px;
}

.mju-person-detail-info span,
.mju-person-detail-info a {
    color: var(--chem-muted);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.mju-person-scopus-card {
    align-items: center;
    display: grid;
    gap: 20px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    max-width: 980px;
    margin: 24px auto 0;
    padding: 24px 28px;
    border: 1px solid rgba(28, 73, 143, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, #f6f9ff 0%, #fff 72%);
    box-shadow: 0 14px 32px rgba(28, 73, 143, .08);
}

.mju-person-scopus-icon {
    align-items: center;
    display: flex;
    width: 56px;
    height: 56px;
    justify-content: center;
    border-radius: 16px;
    background: #1c498f;
    color: #fff;
    font-size: 23px;
}

.mju-person-scopus-content span {
    color: #1c498f;
    font-size: 12px;
    font-weight:600;
    letter-spacing: .1em;
}

.mju-person-scopus-content h2 {
    margin: 2px 0 5px;
    color: var(--chem-maroon-dark);
    font-size: 21px;
    font-weight: 700;
}

.mju-person-scopus-content p,
.mju-person-scopus-content small {
    margin: 0;
    color: var(--chem-muted);
    font-size: 14px;
}

.mju-person-scopus-content small {
    display: block;
    margin-top: 4px;
}

.mju-person-scopus-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    background: #1c498f;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mju-person-scopus-link:hover,
.mju-person-scopus-link:focus {
    background: var(--chem-maroon);
    color: #fff;
}

.mju-person-research-section {
    max-width: 980px;
    margin: 24px auto 0;
    padding: 26px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(76, 8, 10, .07);
}

.mju-person-research-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.mju-person-research-head span {
    color: #1c498f;
    font-size: 12px;
    font-weight:600;
    letter-spacing: .1em;
}

.mju-person-research-head h2 {
    margin: 2px 0 0;
    color: var(--chem-maroon-dark);
    font-size: 24px;
    font-weight: 700;
}

.mju-person-research-head small {
    color: var(--chem-muted);
}

.mju-person-research-table-wrap {
    overflow-x: auto;
}

.mju-person-research-feature-image {
    display: block;
    width: 100%;
    max-height: 360px;
    margin: 0 0 20px;
    border-radius: 12px;
    object-fit: cover;
}

.mju-person-research-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.mju-person-research-table th,
.mju-person-research-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #e6eaf2;
    text-align: left;
    vertical-align: top;
}

.mju-person-research-table th {
    background: #f5f7fc;
    color: var(--chem-maroon-dark);
    font-size: 13px;
    font-weight: 700;
}

.mju-person-research-table td {
    color: var(--chem-muted);
    font-size: 14px;
    line-height: 1.55;
}

.mju-person-research-table th:first-child,
.mju-person-research-table td:first-child {
    width: 90px;
}

.mju-person-research-table th:nth-child(3),
.mju-person-research-table td:nth-child(3) {
    width: 190px;
}

.mju-person-research-table th:last-child,
.mju-person-research-table td:last-child {
    width: 130px;
}

.mju-person-research-table a {
    color: #1c498f;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mju-person-research-table a:hover,
.mju-person-research-table a:focus {
    color: var(--chem-maroon);
}

@media (max-width: 1199px) {
    .mju-personnel-layout {
        grid-template-columns: 270px minmax(0, 1fr);
    }
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mju-personnel-layout {
        grid-template-columns: 1fr;
    }
    .mju-personnel-sidebar {
        position: static;
    }
    .mju-personnel-department-list {
        display: flex;
        overflow-x: auto;
        padding-bottom: 14px;
        -webkit-overflow-scrolling: touch;
    }
    .mju-personnel-department-list a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .mju-person-card-featured,
    .mju-person-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .mju-person-scopus-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .mju-person-scopus-icon,
    .mju-person-scopus-link {
        margin: 0 auto;
    }
    .mju-person-card-featured .mju-person-card-body {
        padding: 0 24px 26px;
        text-align: center;
    }
    .mju-person-card-featured .mju-person-contact-list a {
        justify-content: center;
    }
    .mju-person-card-featured .mju-person-more {
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .mju-personnel-hero-inner {
        min-height: 240px;
        padding: 42px 0;
    }
    .mju-personnel-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        grid-template-columns: 1fr;
    }
    .mju-person-photo,
    .mju-person-card-featured .mju-person-photo {
        width: 138px;
        height: 138px;
    }
    .mju-person-detail-card {
        padding: 22px;
    }
    .mju-person-detail-photo img {
        width: 190px;
        height: 190px;
    }
    .mju-person-detail-info div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* =========================================================
   Personnel Directory Page - refined layout v2
   Match the approved mockup: horizontal department tabs,
   wide rounded board, clean staff cards.
========================================================= */
.mju-personnel-hero {
    min-height: 250px;
    background:
        linear-gradient(90deg, rgba(80, 7, 17, .96) 0%, rgba(96, 15, 26, .78) 42%, rgba(96, 15, 26, .18) 100%),
        linear-gradient(135deg, #6e101d 0%, #f4f0ef 100%);
}

.mju-personnel-hero::after {
    display: none;
}

.mju-personnel-hero-inner {
    min-height: 250px;
    padding: 46px 0;
}

.mju-personnel-breadcrumb {
    display: none;
}

.mju-personnel-hero h1 {
    position: relative;
    display: inline-block;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.5vw, 64px);
    font-weight: 600;
    line-height: 1.1;
}

.mju-personnel-hero h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
}

.mju-personnel-hero p {
    max-width: 620px;
    margin-top: 18px;
    color: rgba(255,255,255,.92);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.65;
}

.mju-personnel-page {
    padding: 34px 0 64px;
    background: linear-gradient(180deg, #f8f5f5 0%, #fff 42%, #fbf8f8 100%);
}

.mju-personnel-layout,
.mju-personnel-sidebar,
.mju-personnel-content,
.mju-personnel-section-head {
    display: initial;
    position: static;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.mju-personnel-picker {
    margin-bottom: 28px;
}

.mju-personnel-picker h2 {
    margin: 0 0 14px;
    color: var(--chem-maroon-dark);
    font-size: 24px;
    font-weight: 700;
}

.mju-personnel-department-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.mju-personnel-department-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid rgba(96,15,26,.14);
    border-radius: 8px;
    background: #fff;
    color: #3f2b2d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 10px 20px rgba(76,8,10,.04);
}

.mju-personnel-department-tabs a:hover,
.mju-personnel-department-tabs a:focus,
.mju-personnel-department-tabs a.is-active {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
    box-shadow: 0 16px 28px rgba(96,15,26,.20);
}

.mju-personnel-board {
    overflow: hidden;
    padding: 28px 30px 34px;
    border: 1px solid rgba(96,15,26,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 38px rgba(76,8,10,.08);
}

.mju-personnel-board + .mju-personnel-board {
    margin-top: 26px;
}

.mju-personnel-board-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.mju-personnel-board-head h2 {
    margin: 0;
    color: var(--chem-maroon);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.25;
}

.mju-personnel-board-head p {
    margin: 6px 0 0;
    color: var(--chem-muted);
    font-size: 16px;
    font-weight: 500;
}

.mju-personnel-subtabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    margin: 6px 0 26px;
    padding: 0;
}

.mju-personnel-subtabs a {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid rgba(96,15,26,.14);
    border-radius: 7px;
    background: #fff;
    color: #4b393b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    box-shadow: none;
}

.mju-personnel-subtabs a:hover,
.mju-personnel-subtabs a:focus,
.mju-personnel-subtabs a.is-active {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
}

.mju-personnel-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
    margin: 4px 0 32px;
    padding-bottom: 26px;
    border-bottom: 1px dashed rgba(96,15,26,.18);
}

.mju-personnel-second-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 32px;
}

.mju-personnel-normal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.mju-person-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .2s ease;
}

.mju-person-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-3px);
}

.mju-person-card-featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.mju-person-card-second {
    min-height: 0;
}

.mju-person-card-normal {
    min-height: 100%;
    padding: 22px 18px 20px;
    border: 1px solid rgba(96,15,26,.10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(76,8,10,.05);
}

.mju-person-card-normal:hover {
    border-color: rgba(96,15,26,.22);
    box-shadow: 0 16px 32px rgba(76,8,10,.10);
}

.mju-person-photo-wrap,
.mju-person-card-featured .mju-person-photo-wrap {
    padding: 0 0 12px;
}

.mju-person-photo {
    width: 128px;
    height: 128px;
    border: 0;
    border-radius: 50%;
    background: #dde9ee;
    object-fit: cover;
    box-shadow: none;
}

.mju-person-card-featured .mju-person-photo {
    width: 152px;
    height: 152px;
}

.mju-person-card-body,
.mju-person-card-featured .mju-person-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
    text-align: center;
}

.mju-person-card h3,
.mju-person-card-featured h3 {
    margin: 0;
    color: #7b1320;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.38;
}

.mju-person-card-featured h3 {
    font-size: 18px;
}

.mju-person-position,
.mju-person-card-featured .mju-person-position {
    margin: 7px 0 0;
    color: #302427;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.mju-person-contact-list {
    display: grid;
    gap: 4px;
    width: 100%;
    margin-top: 8px;
}

.mju-person-contact-list a,
.mju-person-card-featured .mju-person-contact-list a {
    justify-content: center;
    color: #6f6263;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

.mju-person-contact-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(96, 15, 26, .08);
    color: var(--chem-maroon);
    font-size: 9px;
}

.mju-person-more,
.mju-person-card-featured .mju-person-more {
    min-height: 30px;
    margin: 20px auto 0;
    padding: 5px 12px;
    border: 1px solid rgba(96,15,26,.45);
    border-radius: 5px;
    background: #fff;
    color: var(--chem-maroon);
    font-size: 12px;
    font-weight: 500;
}

.mju-person-more:hover,
.mju-person-more:focus {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
}

.mju-person-more i {
    display: inline-block;
    margin-left: 2px;
    color: inherit;
    font-size: 10px;
}

@media (max-width: 1199px) {
    .mju-personnel-department-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mju-personnel-department-tabs,
    .mju-personnel-subtabs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .mju-personnel-department-tabs a,
    .mju-personnel-subtabs a {
        flex: 0 0 auto;
        min-width: 190px;
        white-space: nowrap;
    }
    .mju-personnel-board {
        padding: 24px 20px 28px;
    }
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mju-personnel-hero-inner {
        min-height: 220px;
        padding: 38px 0;
    }
    .mju-personnel-page {
        padding-top: 26px;
    }
    .mju-personnel-board-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mju-person-card-normal {
        padding: 20px 16px;
    }
}


/* =========================================================
   Personnel Directory Page - layout correction v3
   - keep old hero wording
   - remove divider under top person
   - center row 2 and normal rows, 4 items per row on desktop
   - normal rows use the same visual layout as row 2
========================================================= */
.mju-personnel-featured-grid {
    margin: 4px 0 34px;
    padding-bottom: 0;
    border-bottom: 0 !important;
}

.mju-personnel-second-grid,
.mju-personnel-normal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px 26px;
    margin: 0 0 32px;
}

.mju-personnel-second-grid .mju-person-card,
.mju-personnel-normal-grid .mju-person-card {
    flex: 0 1 calc((100% - 78px) / 4);
    max-width: calc((100% - 78px) / 4);
    min-width: 0;
}

.mju-person-card-second,
.mju-person-card-normal {
    min-height: 0;
    padding: 0 10px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
}

.mju-person-card-second:hover,
.mju-person-card-normal:hover {
    border-color: transparent !important;
    box-shadow: none !important;
}

.mju-personnel-normal-grid {
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: calc((100% - 52px) / 3);
        max-width: calc((100% - 52px) / 3);
    }
}

@media (max-width: 991px) {
    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }
}

@media (max-width: 767px) {
    .mju-personnel-second-grid,
    .mju-personnel-normal-grid {
        gap: 24px;
    }

    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: 100%;
        max-width: 320px;
    }
}

/* =========================================================
   Personnel cards - 3 columns and stable button alignment
========================================================= */
.mju-personnel-second-grid,
.mju-personnel-normal-grid {
    align-items: stretch;
    gap: 38px 34px;
}

.mju-personnel-second-grid .mju-person-card,
.mju-personnel-normal-grid .mju-person-card {
    display: flex;
    flex: 0 1 calc((100% - 68px) / 3);
    flex-direction: column;
    max-width: calc((100% - 68px) / 3);
    min-height: 100%;
}

.mju-person-card-body,
.mju-person-card-featured .mju-person-card-body {
    flex: 1 1 auto;
}

.mju-person-academic {
    display: block;
    margin: 0 0 4px;
    color: #7b1320;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

.mju-person-card-featured .mju-person-academic {
    font-size: 19px;
}

.mju-person-card h3,
.mju-person-card-featured h3 {
    min-height: 2.7em;
}

.mju-person-card-featured h3 {
    min-height: 0;
}

.mju-person-card .mju-person-photo {
    width: 200px;
    height: 200px;
    object-position: center top;
    transform: translateY(8px);
}

.mju-person-card-featured .mju-person-photo {
    width: 228px;
    height: 228px;
}

.mju-person-contact-list {
    min-height: 45px;
    margin-bottom: 14px;
}

.mju-person-more,
.mju-person-card-featured .mju-person-more {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: calc((100% - 52px) / 3);
        max-width: calc((100% - 52px) / 3);
    }
}

@media (max-width: 991px) {
    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }
}

@media (max-width: 767px) {
    .mju-personnel-second-grid .mju-person-card,
    .mju-personnel-normal-grid .mju-person-card {
        flex-basis: 100%;
        max-width: 340px;
    }

    .mju-person-card .mju-person-photo {
        width: 178px;
        height: 178px;
    }

    .mju-person-card-featured .mju-person-photo {
        width: 198px;
        height: 198px;
    }

    .mju-person-card h3,
    .mju-person-contact-list {
        min-height: 0;
    }
}

/* Keep long personnel sub-department names inside their tabs. */
.mju-personnel-subtabs {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
}

.mju-personnel-subtabs a {
    display: flex;
    flex: 0 1 calc((100% - 24px) / 4);
    min-width: 0;
    max-width: calc((100% - 24px) / 4);
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 991px) {
    .mju-personnel-subtabs a {
        flex-basis: calc((100% - 16px) / 3);
        max-width: calc((100% - 16px) / 3);
    }
}

@media (max-width: 767px) {
    .mju-personnel-subtabs a {
        flex-basis: calc((100% - 8px) / 2);
        max-width: calc((100% - 8px) / 2);
    }
}

@media (max-width: 480px) {
    .mju-personnel-subtabs a {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   Personnel profile cards - rectangular image style
========================================================= */
.mju-person-card-second,
.mju-person-card-normal {
    overflow: hidden;
    padding: 10px 10px 14px;
    border: 1px solid rgba(96, 15, 26, .12) !important;
    border-radius: 12px;
    background: #fff !important;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .08) !important;
}

.mju-person-card-second:hover,
.mju-person-card-normal:hover {
    border-color: rgba(96, 15, 26, .22) !important;
    box-shadow: 0 22px 44px rgba(76, 8, 10, .13) !important;
}

.mju-person-card-featured {
    overflow: hidden;
    width: min(100%, 360px);
    padding: 12px 12px 16px;
    border: 1px solid rgba(96, 15, 26, .12) !important;
    border-radius: 12px;
    background: #fff !important;
    box-shadow: 0 18px 38px rgba(76, 8, 10, .1) !important;
}

.mju-person-card-featured:hover {
    border-color: rgba(96, 15, 26, .22) !important;
    box-shadow: 0 24px 48px rgba(76, 8, 10, .14) !important;
}

.mju-person-card-second .mju-person-photo-wrap,
.mju-person-card-normal .mju-person-photo-wrap,
.mju-person-card-featured .mju-person-photo-wrap {
    width: 100%;
    padding: 0;
    margin: 0 0 12px;
}

.mju-person-card-second .mju-person-photo,
.mju-person-card-normal .mju-person-photo,
.mju-person-card-featured .mju-person-photo {
    display: block;
    width: min(100%, 205px);
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    background: #f3eeee;
    object-fit: cover;
    object-position: center top;
    transform: none;
}

.mju-person-card-featured .mju-person-photo {
    width: min(100%, 225px);
    aspect-ratio: 4 / 5;
    height: auto;
}

.mju-person-card-second .mju-person-card-body,
.mju-person-card-normal .mju-person-card-body,
.mju-person-card-featured .mju-person-card-body {
    padding: 0 8px 2px;
}

.mju-person-card-second .mju-person-academic,
.mju-person-card-normal .mju-person-academic {
    font-size: 15px;
}

.mju-person-card-second h3,
.mju-person-card-normal h3 {
    font-size: 17px;
    font-weight: 700;
}

.mju-person-card-featured h3 {
    font-size: 20px;
    font-weight: 400;
}

.mju-person-actions-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
}

.mju-person-card .mju-person-contact-list,
.mju-person-card-featured .mju-person-contact-list {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    text-align: left;
}

.mju-person-card .mju-person-contact-list a,
.mju-person-card-featured .mju-person-contact-list a {
    justify-content: flex-start;
}

.mju-person-card .mju-person-more,
.mju-person-card-featured .mju-person-more {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    min-height: 38px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 15px;
}

.mju-person-card .mju-person-more i,
.mju-person-card-featured .mju-person-more i {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 767px) {
    .mju-person-card-featured,
    .mju-person-card-second,
    .mju-person-card-normal {
        padding: 10px 10px 14px;
    }

    .mju-person-card-second .mju-person-photo,
    .mju-person-card-normal .mju-person-photo,
    .mju-person-card-featured .mju-person-photo {
        width: min(100%, 205px);
        aspect-ratio: 4 / 5;
        height: auto;
    }
}

/* =========================================================
   Personnel Hero - premium visual tuning v4
========================================================= */
.mju-personnel-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 26%, rgba(255, 255, 255, .34) 0 0.12rem, transparent .13rem 100%),
        radial-gradient(circle at 22% 72%, rgba(255, 255, 255, .16) 0 0.12rem, transparent .13rem 100%),
        linear-gradient(105deg, rgba(61, 9, 17, .98) 0%, rgba(96, 15, 26, .94) 38%, rgba(96, 15, 26, .62) 64%, rgba(255, 255, 255, .18) 100%),
        linear-gradient(135deg, #600F1A 0%, #8b2632 50%, #efe6e6 100%);
    background-size:
        28px 28px,
        34px 34px,
        auto,
        auto;
}

.mju-personnel-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.10) 46%, rgba(255,255,255,0) 62%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 74px);
    opacity: .7;
}

.mju-personnel-hero::after {
    content: "";
    position: absolute;
    top: 34px;
    right: clamp(34px, 8vw, 150px);
    display: block;
    width: clamp(250px, 28vw, 430px);
    height: clamp(170px, 19vw, 270px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 28px;
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(255,255,255,.18) 12% 13%, transparent 13% 26%, rgba(255,255,255,.14) 26% 27%, transparent 27% 40%, rgba(255,255,255,.12) 40% 41%, transparent 41% 100%),
        linear-gradient(0deg, rgba(255,255,255,.15) 0 1px, transparent 1px 34px),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 22px 48px rgba(0,0,0,.12);
    opacity: .46;
    transform: rotate(-2deg);
}

.mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 310px;
    padding: 58px 0 62px;
}

.mju-personnel-hero h1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 5vw, 72px);
    font-weight:600;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow: 0 12px 34px rgba(0, 0, 0, .24);
}

.mju-personnel-hero h1::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 92px;
    height: 5px;
    margin: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.62) 64%, rgba(255,255,255,0) 100%);
    box-shadow: 0 8px 20px rgba(255,255,255,.14);
}

.mju-personnel-hero p {
    max-width: 660px;
    margin: 42px 0 0;
    color: rgba(255,255,255,.92);
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

@media (max-width: 991px) {
    .mju-personnel-hero,
    .mju-personnel-hero-inner {
        min-height: 280px;
    }

    .mju-personnel-hero::after {
        right: -80px;
        opacity: .26;
    }
}

@media (max-width: 575px) {
    .mju-personnel-hero,
    .mju-personnel-hero-inner {
        min-height: 245px;
    }

    .mju-personnel-hero-inner {
        padding: 44px 0 48px;
    }

    .mju-personnel-hero h1 {
        font-size: 42px;
    }

    .mju-personnel-hero p {
        margin-top: 34px;
        font-size: 16px;
    }

    .mju-personnel-hero::after {
        display: none;
    }
}

/* =========================================================
   Personnel Hero - match News & Activities hero style v5
========================================================= */
.mju-personnel-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 82%, rgba(255, 255, 255, .12) 0 0, transparent 320px),
        linear-gradient(135deg, rgba(96, 15, 26, .98), rgba(42, 4, 11, .98)),
        var(--chem-maroon);
    color: #fff;
}

.mju-personnel-hero::before {
    content: "";
    position: absolute;
    top: -110px;
    right: -105px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: transparent;
    opacity: .7;
    pointer-events: none;
}

.mju-personnel-hero::after {
    content: "";
    position: absolute;
    right: 12%;
    bottom: -190px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    background: transparent;
    opacity: .55;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}

.mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 330px;
    padding: 62px 0 66px;
}

.mju-personnel-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight:600;
    line-height: 1.4;
}

.mju-personnel-breadcrumb a,
.mju-personnel-breadcrumb span {
    color: rgba(255, 255, 255, .92);
}

.mju-personnel-breadcrumb i {
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
}

.mju-personnel-hero h1 {
    position: relative;
    display: block;
    width: auto;
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 4.6vw, 68px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -.02em;
    text-shadow: none;
}

.mju-personnel-hero h1::after {
    content: none;
}

.mju-personnel-hero p {
    max-width: 820px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.75;
    text-shadow: none;
}

@media (max-width: 991px) {
    .mju-personnel-hero,
    .mju-personnel-hero-inner {
        min-height: 300px;
    }

    .mju-personnel-hero::before {
        right: -170px;
        opacity: .45;
    }

    .mju-personnel-hero::after {
        display: none;
    }
}

@media (max-width: 575px) {
    .mju-personnel-hero,
    .mju-personnel-hero-inner {
        min-height: 260px;
    }

    .mju-personnel-hero-inner {
        padding: 44px 0 48px;
    }

    .mju-personnel-breadcrumb {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .mju-personnel-hero h1 {
        font-size: 40px;
    }

    .mju-personnel-hero p {
        margin-top: 18px;
        font-size: 15px;
    }
}

/* Personnel hero final tuning: text left, circle decoration right */
.mju-personnel-hero {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #4b0710 0%, #660d19 48%, #3d0710 100%) !important;
}

.mju-personnel-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 88% 58%, rgba(255, 255, 255, .08) 0 0, rgba(255, 255, 255, .08) 185px, transparent 186px),
        radial-gradient(circle at 88% 58%, transparent 0 235px, rgba(255, 255, 255, .12) 236px, rgba(255, 255, 255, .12) 237px, transparent 238px),
        linear-gradient(90deg, rgba(30, 0, 6, .08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.mju-personnel-hero::after {
    content: "";
    position: absolute;
    right: -115px;
    top: 42px;
    z-index: 0;
    display: block !important;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 300px;
    padding: 54px 0;
    text-align: left !important;
}

.mju-personnel-hero-inner > div {
    width: 100%;
    max-width: 760px;
    margin-right: auto;
    margin-left: 0;
    text-align: left !important;
}

.mju-personnel-breadcrumb {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
}

.mju-personnel-breadcrumb a {
    color: #fff;
}

.mju-personnel-breadcrumb i {
    font-size: 10px;
    opacity: .72;
}

.mju-personnel-hero h1 {
    display: block;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.5vw, 62px);
    font-weight: 600;
    line-height: 1.12;
    text-align: left !important;
}

.mju-personnel-hero h1::after {
    display: none !important;
}

.mju-personnel-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    text-align: left !important;
}

@media (max-width: 767px) {
    .mju-personnel-hero,
    .mju-personnel-hero-inner {
        min-height: 250px;
    }

    .mju-personnel-hero-inner {
        padding: 42px 0;
    }

    .mju-personnel-hero::after {
        right: -180px;
        top: 60px;
        width: 340px;
        height: 340px;
    }

    .mju-personnel-hero p {
        font-size: 15px;
    }
}

/* Personnel hero: use the same background style as news page hero */
.mju-personnel-hero {
    position: relative;
    min-height: auto;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(96, 15, 26, .96), rgba(61, 9, 17, .96)),
        var(--chem-maroon) !important;
    color: #fff;
}

.mju-personnel-hero::before {
    display: none !important;
}

.mju-personnel-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    top: auto;
    z-index: 0;
    display: block !important;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 300px;
    padding: 54px 0;
    text-align: left !important;
}

.mju-personnel-hero-inner > div {
    width: auto;
    max-width: 860px;
    margin: 0;
    text-align: left !important;
}

.mju-personnel-breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
}

.mju-personnel-breadcrumb a {
    color: #fff;
}

.mju-personnel-breadcrumb i {
    font-size: 10px;
    opacity: .72;
}

.mju-personnel-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.15;
    text-align: left !important;
}

.mju-personnel-hero h1::after {
    display: none !important;
}

.mju-personnel-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    text-align: left !important;
}

@media (max-width: 991px) {
    .mju-personnel-hero-inner {
        min-height: 260px;
    }
}

@media (max-width: 767px) {
    .mju-personnel-hero-inner {
        align-items: flex-start;
        min-height: 0;
        padding: 40px 0;
    }

    .mju-personnel-hero::after {
        display: none !important;
    }
}

/* =========================================================
   Personnel Directory - final premium treatment
========================================================= */
.mju-personnel-hero-modern {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(61, 9, 17, .54) 0%, rgba(96, 15, 26, .46) 48%, rgba(126, 16, 24, .36) 100%),
        url("../images/contact/bg-contact.png") center / 100% auto no-repeat !important;
}

.mju-personnel-hero-modern::before {
    content: "";
    position: absolute;
    inset: auto -90px -150px auto;
    display: block !important;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.mju-personnel-hero-modern::after {
    content: "";
    position: absolute;
    inset: 0;
    display: block !important;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .08;
    pointer-events: none;
}

.mju-personnel-hero-modern .mju-personnel-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
    min-height: 320px;
    padding: 62px 0;
}

.mju-personnel-hero-modern .mju-personnel-breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 700;
}

.mju-personnel-hero-modern .mju-personnel-breadcrumb a {
    color: #fff;
}

.mju-personnel-hero-modern h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4.5vw, 70px);
    font-weight: 400;
    line-height: 1.08;
}

.mju-personnel-hero-modern h1::after {
    content: "";
    display: block !important;
    width: 82px;
    height: 4px;
    margin-top: 20px;
    border-radius: 999px;
    background: #fff;
}

.mju-personnel-hero-modern p {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 18px;
    line-height: 1.75;
}

.mju-personnel-hero-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    box-shadow: 0 24px 56px rgba(29, 0, 6, .24);
    backdrop-filter: blur(10px);
}

.mju-personnel-hero-card span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight:600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mju-personnel-hero-card strong {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.mju-personnel-hero-card p {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 9px 13px;
    border-radius: 999px;
    background: #fff;
    color: var(--chem-maroon);
    font-size: 13px;
    font-weight: 700;
}

.mju-personnel-hero-card b {
    font-size: 18px;
    line-height: 1;
}

.mju-personnel-page {
    padding: 46px 0 76px;
    background:
        linear-gradient(180deg, #f8f3f3 0%, #fff 38%, #fbf7f7 100%) !important;
}

.mju-personnel-picker {
    margin-bottom: 26px;
}

.mju-personnel-department-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.mju-personnel-department-tabs a {
    flex: 0 1 205px;
    min-height: 58px;
    padding: 12px 18px;
    border: 1px solid rgba(96, 15, 26, .13);
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    color: #3b2c2e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .06);
}

.mju-personnel-department-tabs a:hover,
.mju-personnel-department-tabs a:focus,
.mju-personnel-department-tabs a.is-active {
    border-color: var(--chem-maroon);
    background: var(--chem-maroon);
    color: #fff;
    box-shadow: 0 18px 34px rgba(96, 15, 26, .22);
}

.mju-personnel-board {
    overflow: visible;
    padding: 34px;
    border: 1px solid rgba(96, 15, 26, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 54px rgba(76, 8, 10, .08);
}

.mju-personnel-board-head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(96, 15, 26, .1);
}

.mju-personnel-board-head h2 {
    color: var(--chem-maroon-dark);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
}

.mju-personnel-board-head p {
    max-width: 780px;
    color: #6b5b5d;
    font-size: 16px;
}

.mju-personnel-search {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 0 0 26px;
    padding: 16px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(96, 15, 26, .045), rgba(255, 255, 255, 0)),
        #fff;
    box-shadow: 0 14px 30px rgba(76, 8, 10, .06);
}

.mju-personnel-search label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--chem-maroon-dark);
    font-size: 16px;
    font-weight:600;
}

.mju-personnel-search label i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(96, 15, 26, .08);
    color: var(--chem-maroon);
}

.mju-personnel-search-control {
    position: relative;
}

.mju-personnel-search-control input {
    width: 100%;
    min-height: 48px;
    padding: 11px 48px 11px 18px;
    border: 1px solid rgba(96, 15, 26, .14);
    border-radius: 999px;
    background: #fff;
    color: #2e2022;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.mju-personnel-search-control input:focus {
    border-color: var(--chem-maroon);
    box-shadow: 0 0 0 4px rgba(96, 15, 26, .09);
}

.mju-personnel-search-control button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(96, 15, 26, .08);
    color: var(--chem-maroon);
    transform: translateY(-50%);
}

.mju-personnel-search-control button:hover,
.mju-personnel-search-control button:focus {
    background: var(--chem-maroon);
    color: #fff;
}

.mju-personnel-search-empty {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 34px 18px;
    border: 1px dashed rgba(96, 15, 26, .18);
    border-radius: 14px;
    background: #fff;
    color: #5f5254;
    text-align: center;
}

.mju-personnel-search-empty i {
    display: block;
    margin-bottom: 12px;
    color: var(--chem-maroon);
    font-size: 32px;
}

.mju-personnel-search-empty strong {
    display: block;
    margin-bottom: 6px;
    color: var(--chem-maroon-dark);
    font-size: 20px;
    font-weight:600;
}

.mju-personnel-search-empty span {
    color: #6b5b5d;
    font-size: 14px;
}

/* Site Search styles are defined with chem-* classes near the end of this file. */

/* Rich text table from CKEditor */
.mju-editor-table-wrap {
    overflow: hidden;
    margin: 28px 0;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(76, 8, 10, .08);
}

.mju-editor-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
}

.mju-about-content .mju-editor-table {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.mju-editor-table thead th {
    padding: 18px 20px;
    color: #fff;
    background:
        linear-gradient(135deg, #760b16 0%, #4e0610 100%);
    border: 0;
    font-size: 16px;
    font-weight:600;
    line-height: 1.4;
}

.mju-editor-table tbody td {
    padding: 18px 20px;
    color: #4f4143;
    border: 0;
    border-bottom: 1px solid rgba(96, 15, 26, .08);
    font-size: 15px;
    line-height: 1.65;
    vertical-align: top;
}

.mju-editor-table tbody tr:nth-child(even) td {
    background: #fcf8f8;
}

.mju-editor-table tbody tr:hover td {
    background: #f7eeee;
}

.mju-editor-table tbody tr:last-child td {
    border-bottom: 0;
}

.mju-editor-table tbody td:first-child {
    color: var(--chem-maroon);
    font-weight:600;
}

.mju-editor-table tbody td:last-child {
    color: #341d20;
    font-weight:600;
}

@media (max-width: 767px) {
    .mju-editor-table-wrap {
        overflow-x: auto;
        border-radius: 16px;
    }

    .mju-editor-table {
        min-width: 680px;
    }

    .mju-editor-table thead th,
    .mju-editor-table tbody td {
        padding: 14px 16px;
        font-size: 14px;
    }
}

.mju-personnel-subtabs {
    gap: 12px;
    margin-bottom: 34px;
}

.mju-personnel-subtabs a {
    min-height: 58px;
    padding: 11px 16px;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(76, 8, 10, .04);
}

.mju-personnel-subtabs a:hover,
.mju-personnel-subtabs a:focus,
.mju-personnel-subtabs a.is-active {
    box-shadow: 0 16px 30px rgba(96, 15, 26, .18);
}

.mju-person-card-featured,
.mju-person-card-second,
.mju-person-card-normal {
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(96, 15, 26, .045), rgba(255, 255, 255, 0) 120px),
        #fff !important;
}

.mju-person-card-featured::before,
.mju-person-card-second::before,
.mju-person-card-normal::before {
    content: "";
    display: block;
    height: 4px;
    margin: -16px -16px 14px;
    background: linear-gradient(90deg, var(--chem-maroon), #b3525b);
}

.mju-person-card-second::before,
.mju-person-card-normal::before {
    margin: -14px -14px 14px;
}

.mju-person-card-second .mju-person-photo,
.mju-person-card-normal .mju-person-photo,
.mju-person-card-featured .mju-person-photo {
    border: 1px solid rgba(96, 15, 26, .08);
    box-shadow: 0 12px 28px rgba(76, 8, 10, .1);
}

.mju-person-photo-placeholder,
.mju-person-detail-photo-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(96, 15, 26, .08), rgba(96, 15, 26, .025)),
        #f6eeee;
    color: rgba(96, 15, 26, .42);
}

.mju-person-photo-placeholder i {
    font-size: clamp(58px, 8vw, 96px);
}

.mju-person-detail-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.mju-person-detail-photo-placeholder i {
    font-size: clamp(86px, 12vw, 140px);
}

.mju-person-academic {
    color: var(--chem-maroon);
    font-weight:600;
}

.mju-person-card h3,
.mju-person-card-featured h3 {
    color: #2e2022;
}

.mju-person-position {
    color: #5f5254;
}

.mju-person-actions-row {
    margin-top: auto;
    border-top: 1px solid rgba(96, 15, 26, .1);
}

/* Personnel directory: Department of Chemistry */
.chem-personnel-hero { position:relative; overflow:hidden; background:linear-gradient(118deg,#0D152E 0%,#101B3E 58%,#3A5075 100%); color:#fff; }
.chem-personnel-hero::before { position:absolute; inset:0; background:radial-gradient(circle at 86% 18%,rgba(152,120,176,.28),transparent 30%),linear-gradient(90deg,rgba(5,13,36,.72),rgba(13,21,46,.08)); content:""; }
.chem-personnel-hero-pattern { position:absolute; inset:0; opacity:.35; background-image:radial-gradient(circle,rgba(246,197,68,.42) 1px,transparent 1.5px),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.08) 49%,transparent 50%); background-size:32px 32px,90px 90px; mask-image:linear-gradient(90deg,#000,transparent); }
.chem-personnel-hero-inner { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:42px; min-height:332px; align-items:center; padding:56px 0; }
.chem-personnel-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0 0 17px; color:rgba(255,255,255,.7); font-size:13px; font-weight:700; }
.chem-personnel-breadcrumb a { color:var(--chem-accent); text-decoration:none; }
.chem-personnel-breadcrumb i { font-size:9px; opacity:.7; }
.chem-personnel-eyebrow { display:inline-flex; align-items:center; gap:8px; margin-bottom:13px; color:var(--chem-accent); font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.chem-personnel-hero h1 { margin:0; color:#fff; font-size:clamp(38px,4.3vw,62px); font-weight:600; letter-spacing:-.04em; line-height:1.1; }
.chem-personnel-hero p { max-width:770px; margin:17px 0 0; color:rgba(255,255,255,.8); font-size:16px; line-height:1.75; }
.chem-personnel-summary { padding:23px; border:1px solid rgba(255,255,255,.16); border-radius:18px; background:rgba(255,255,255,.09); box-shadow:0 20px 46px rgba(0,0,0,.18); backdrop-filter:blur(10px); }
.chem-personnel-summary > span { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.72); font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
.chem-personnel-summary > span i { color:var(--chem-accent); }
.chem-personnel-summary strong { display:block; margin:15px 0 18px; color:#fff; font-size:22px; font-weight:600; line-height:1.35; }
.chem-personnel-summary b { display:inline-flex; align-items:center; padding:8px 11px; border-radius:999px; background:var(--chem-accent); color:var(--chem-primary-dark); font-size:13px; }
.chem-personnel-page { padding:62px 0 84px; background:linear-gradient(180deg,#F6F8FC 0%,#fff 52%,#F6F8FC 100%); }
.chem-personnel-department-tabs { display:flex; flex-wrap:wrap; justify-content:center; gap:11px; margin-bottom:28px; }
.chem-personnel-department-tabs a { display:inline-flex; min-height:48px; align-items:center; justify-content:center; gap:8px; padding:10px 17px; border:1px solid rgba(16,27,62,.12); border-radius:10px; background:#fff; color:#526077; font-size:14px; font-weight:600; line-height:1.35; text-align:center; text-decoration:none; box-shadow:0 9px 22px rgba(13,21,46,.045); transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease; }
.chem-personnel-department-tabs a i { color:#9878B0; }
.chem-personnel-department-tabs a:hover,.chem-personnel-department-tabs a:focus-visible,.chem-personnel-department-tabs a.is-active { border-color:var(--chem-primary); background:var(--chem-primary); color:#fff; outline:0; transform:translateY(-2px); }
.chem-personnel-department-tabs a.is-active i { color:var(--chem-accent); }
.chem-personnel-directory { padding:34px; border:1px solid rgba(16,27,62,.08); border-radius:22px; background:rgba(255,255,255,.9); box-shadow:0 24px 60px rgba(13,21,46,.08); }
.chem-personnel-directory-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:23px; padding-bottom:21px; border-bottom:1px solid rgba(16,27,62,.1); }
.chem-personnel-directory-head > div > span { display:block; margin-bottom:7px; color:#B98210; font-size:11px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; }
.chem-personnel-directory-head h2 { margin:0; color:var(--chem-primary-dark); font-size:clamp(28px,3.2vw,40px); font-weight:600; letter-spacing:-.03em; line-height:1.2; }
.chem-personnel-directory-head p { margin:8px 0 0; color:#6D7A90; font-size:15px; font-weight:600; }
.chem-personnel-count { display:flex; align-items:center; gap:8px; padding:10px 13px; border-radius:11px; background:#F1F4F9; color:#5D6A80; white-space:nowrap; }
.chem-personnel-count i { color:#9878B0; }
.chem-personnel-count strong { color:var(--chem-primary-dark); font-size:20px; line-height:1; }
.chem-personnel-count span { font-size:11px; font-weight:600; }
.chem-personnel-field-tabs { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 23px; }
.chem-personnel-field-tabs a { display:inline-flex; align-items:center; min-height:39px; padding:8px 13px; border:1px solid rgba(16,27,62,.12); border-radius:999px; background:#fff; color:#5D6A80; font-size:13px; font-weight:700; text-decoration:none; transition:background-color .2s ease,border-color .2s ease,color .2s ease; }
.chem-personnel-field-tabs a:hover,.chem-personnel-field-tabs a:focus-visible,.chem-personnel-field-tabs a.is-active { border-color:#9878B0; background:#F4F0F8; color:#664C78; outline:0; }
.chem-personnel-search { display:grid; grid-template-columns:210px minmax(0,1fr); align-items:center; gap:16px; margin:0 0 29px; padding:13px; border:1px solid rgba(16,27,62,.09); border-radius:14px; background:#F7F9FC; }
.chem-personnel-search label { display:inline-flex; align-items:center; gap:9px; margin:0; color:var(--chem-primary-dark); font-size:14px; font-weight:600; }
.chem-personnel-search label i { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:9px; background:rgba(246,197,68,.2); color:#B98210; }
.chem-personnel-search-control { position:relative; }
.chem-personnel-search-control input { width:100%; min-height:46px; padding:10px 46px 10px 15px; border:1px solid rgba(16,27,62,.12); border-radius:10px; background:#fff; color:var(--chem-primary-dark); font-family:inherit; font-size:14px; font-weight:600; outline:0; }
.chem-personnel-search-control input:focus { border-color:#9878B0; box-shadow:0 0 0 4px rgba(152,120,176,.12); }
.chem-personnel-search-control button { position:absolute; top:50%; right:7px; display:inline-flex; width:31px; height:31px; align-items:center; justify-content:center; border:0; border-radius:50%; background:#EDF1F7; color:#66738A; cursor:pointer; transform:translateY(-50%); }
.chem-personnel-search-control button:hover,.chem-personnel-search-control button:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; }
.chem-personnel-grid { display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center; gap:23px; }
.chem-personnel-grid + .chem-personnel-grid { margin-top:27px; }
.chem-person-card { display:flex; width:calc((100% - 69px) / 4); min-width:0; flex:0 1 calc((100% - 69px) / 4); flex-direction:column; overflow:hidden; border:1px solid rgba(16,27,62,.09); border-radius:16px; background:#fff; box-shadow:0 12px 30px rgba(13,21,46,.055); transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease; }
.chem-person-card:hover { border-color:rgba(58,80,117,.28); box-shadow:0 22px 42px rgba(13,21,46,.13); transform:translateY(-4px); }
.chem-person-photo-wrap { position:relative; display:flex; width:100%; justify-content:center; overflow:hidden; padding:0; background:linear-gradient(145deg,#E9EEF7,#F5F1F8); }
.chem-person-photo-link { position:relative; display:block; width:100%; overflow:hidden; color:inherit; text-decoration:none; }
.chem-person-photo-link::before { position:absolute; z-index:2; inset:42% 0 0; background:linear-gradient(180deg,transparent,rgba(13,21,46,.54)); content:""; opacity:.78; pointer-events:none; transition:opacity .3s ease; }
.chem-person-photo-link::after { position:absolute; z-index:3; right:0; bottom:0; left:0; height:4px; background:linear-gradient(90deg,#9878B0 0%,#3A5075 58%,#F6C544 100%); content:""; pointer-events:none; }
.chem-person-photo { position:relative; z-index:1; display:block; width:100%; max-width:none; aspect-ratio:1 / 1; border-radius:0; background:#E9EEF6; object-fit:cover; object-position:center top; transition:filter .35s ease,transform .45s cubic-bezier(.2,.65,.3,1); }
.chem-person-photo-placeholder { display:flex; align-items:center; justify-content:center; color:#8290A7; font-size:58px; }
.chem-person-photo-mark { position:absolute; z-index:4; right:15px; bottom:15px; display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.42); border-radius:50%; background:rgba(16,27,62,.76); color:#fff; font-size:17px; box-shadow:0 9px 24px rgba(13,21,46,.24); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:background-color .25s ease,color .25s ease,transform .25s ease; }
.chem-person-photo-link:hover .chem-person-photo,.chem-person-photo-link:focus-visible .chem-person-photo { filter:saturate(1.05) contrast(1.02); transform:scale(1.045); }
.chem-person-photo-link:hover::before,.chem-person-photo-link:focus-visible::before { opacity:.94; }
.chem-person-photo-link:hover .chem-person-photo-mark,.chem-person-photo-link:focus-visible .chem-person-photo-mark { background:#9878B0; color:#fff; transform:translateY(-3px) rotate(12deg); }
.chem-person-photo-link:focus-visible { outline:3px solid var(--chem-accent); outline-offset:-3px; }
.chem-person-card-body { display:flex; flex:1 1 auto; flex-direction:column; gap:12px; padding:16px 17px 17px; }
.chem-person-card h3 { margin:0; color:var(--chem-primary-dark); font-size:21px; font-weight:600; letter-spacing:-.02em; line-height:1.32; }
.chem-person-info-list { display:grid; gap:7px; margin:0; }
.chem-person-info-list div { padding-bottom:7px; border-bottom:1px dashed rgba(16,27,62,.13); }
.chem-person-info-list dt { margin:0 0 3px; color:#76839A; font-size:11px; font-weight:600; letter-spacing:.035em; text-transform:uppercase; }
.chem-person-info-list dt i { margin-right:5px; color:#9878B0; }
.chem-person-info-list dd { margin:0; color:#293650; font-size:14px; font-weight:700; line-height:1.48; }
.chem-person-info-list .is-field dd { color:#76568A; }
.chem-person-contact-list { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.chem-person-contact-list li { display:flex; min-width:0; align-items:center; gap:8px; color:#647188; font-size:13px; font-weight:600; }
.chem-person-contact-list li > i { display:inline-flex; width:23px; height:23px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:7px; background:#F0F3F8; color:#9878B0; font-size:10px; }
.chem-person-contact-list a,.chem-person-contact-list span { overflow:hidden; color:inherit; text-decoration:none; text-overflow:ellipsis; white-space:nowrap; }
.chem-person-contact-list a:hover { color:var(--chem-primary); text-decoration:underline; }
.chem-person-profile-link { display:flex; min-height:42px; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding:10px 13px; border-radius:9px; background:var(--chem-primary); color:#fff; font-size:13px; font-weight:600; text-decoration:none; transition:background-color .2s ease,color .2s ease; }
.chem-person-profile-link i { color:var(--chem-accent); transition:transform .2s ease; }
.chem-person-profile-link:hover,.chem-person-profile-link:focus-visible { background:var(--chem-accent); color:var(--chem-primary-dark); outline:0; text-decoration:none; }
.chem-person-profile-link:hover i { color:var(--chem-primary-dark); transform:translateX(3px); }
.chem-personnel-empty,.chem-personnel-search-empty { padding:54px 22px; border:1px dashed rgba(16,27,62,.2); border-radius:15px; background:#fff; color:#68758B; text-align:center; }
.chem-personnel-empty > i,.chem-personnel-search-empty > i { display:block; margin-bottom:13px; color:#9878B0; font-size:34px; }
.chem-personnel-empty h2,.chem-personnel-search-empty strong { display:block; margin:0; color:var(--chem-primary-dark); font-size:21px; font-weight:600; }
.chem-personnel-search-empty span { display:block; margin-top:6px; color:#738097; font-size:14px; }

@media (max-width:1199px) { .chem-person-card { width:calc((100% - 23px) / 2); flex-basis:calc((100% - 23px) / 2); } }
@media (max-width:991px) { .chem-personnel-hero-inner { grid-template-columns:1fr; min-height:0; padding:48px 0; } .chem-personnel-summary { max-width:430px; } .chem-personnel-search { grid-template-columns:1fr; } }
@media (max-width:767px) { .chem-personnel-page { padding:42px 0 60px; } .chem-personnel-department-tabs { justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; padding-bottom:7px; } .chem-personnel-department-tabs a { flex:0 0 auto; } .chem-personnel-directory { padding:21px 16px; border-radius:16px; } .chem-personnel-directory-head { align-items:flex-start; flex-direction:column; gap:15px; } .chem-personnel-field-tabs { flex-wrap:nowrap; overflow-x:auto; padding-bottom:7px; } .chem-personnel-field-tabs a { flex:0 0 auto; white-space:nowrap; } .chem-person-card { width:min(100%,380px); flex-basis:380px; } .chem-personnel-grid { gap:18px; } .chem-personnel-hero h1 { font-size:42px; } }

/* Personnel profile: Department of Chemistry */
.chem-person-detail-hero { position:relative; overflow:hidden; background:linear-gradient(118deg,#0D152E 0%,#101B3E 58%,#3A5075 100%); color:#fff; }
.chem-person-detail-hero::before { position:absolute; inset:0; background:radial-gradient(circle at 84% 20%,rgba(152,120,176,.3),transparent 30%),linear-gradient(90deg,rgba(5,13,36,.76),rgba(13,21,46,.08)); content:""; }
.chem-person-detail-hero-pattern { position:absolute; inset:0; opacity:.32; background-image:radial-gradient(circle,rgba(246,197,68,.44) 1px,transparent 1.5px),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.08) 49%,transparent 50%); background-size:32px 32px,90px 90px; -webkit-mask-image:linear-gradient(90deg,#000,transparent); mask-image:linear-gradient(90deg,#000,transparent); }
.chem-person-detail-hero-inner { position:relative; z-index:1; display:flex; min-height:310px; justify-content:center; flex-direction:column; padding:54px 0; }
.chem-person-detail-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin:0 0 21px; color:rgba(255,255,255,.68); font-size:13px; font-weight:700; }
.chem-person-detail-breadcrumb a { color:var(--chem-accent); text-decoration:none; }
.chem-person-detail-breadcrumb a:hover,.chem-person-detail-breadcrumb a:focus-visible { color:#fff; outline:0; }
.chem-person-detail-breadcrumb i { font-size:9px; opacity:.7; }
.chem-person-detail-eyebrow { display:inline-flex; align-items:center; gap:8px; width:max-content; margin-bottom:12px; color:var(--chem-accent); font-size:11px; font-weight:600; letter-spacing:.13em; text-transform:uppercase; }
.chem-person-detail-hero h1 { max-width:920px; margin:0; color:#fff; font-size:clamp(38px,4.2vw,60px); font-weight:600; letter-spacing:-.04em; line-height:1.12; }
.chem-person-detail-hero p { max-width:780px; margin:15px 0 0; color:rgba(255,255,255,.8); font-size:17px; font-weight:600; line-height:1.65; }
.chem-person-detail-page { background:linear-gradient(180deg,#F4F7FC 0%,#fff 48%,#F5F7FB 100%); }
.chem-person-profile-card { display:grid; grid-template-columns:370px minmax(0,1fr); overflow:hidden; border:1px solid rgba(16,27,62,.09); border-radius:24px; background:#fff; box-shadow:0 28px 70px rgba(13,21,46,.1); }
.chem-person-profile-visual { position:relative; min-height:500px; overflow:hidden; background:linear-gradient(145deg,#DDE5F1,#F2EDF6); }
.chem-person-profile-visual::after { position:absolute; z-index:2; inset:48% 0 0; background:linear-gradient(180deg,transparent,rgba(13,21,46,.52)); content:""; pointer-events:none; }
.chem-person-profile-visual > img,.chem-person-profile-placeholder { display:block; width:100%; height:100%; min-height:500px; object-fit:cover; object-position:center top; }
.chem-person-profile-placeholder { display:flex; align-items:center; justify-content:center; color:#8795AB; font-size:110px; }
.chem-person-profile-atom { position:absolute; z-index:3; right:24px; bottom:24px; display:inline-flex; width:58px; height:58px; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.4); border-radius:50%; background:rgba(16,27,62,.76); color:#fff; font-size:24px; box-shadow:0 14px 30px rgba(13,21,46,.24); -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px); }
.chem-person-profile-content { display:flex; min-width:0; justify-content:center; flex-direction:column; padding:42px 46px; }
.chem-person-section-label { display:block; margin-bottom:8px; color:#B17C0C; font-size:11px; font-weight:600; letter-spacing:.11em; text-transform:uppercase; }
.chem-person-profile-content > h2 { margin:0; color:#0D152E; font-size:clamp(30px,3.2vw,44px); font-weight:600; letter-spacing:-.035em; line-height:1.2; }
.chem-person-position-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:24px; }
.chem-person-position-list > div { display:flex; min-width:0; align-items:flex-start; gap:11px; padding:14px; border:1px solid rgba(16,27,62,.08); border-radius:12px; background:#F7F9FC; }
.chem-person-position-list > div > i { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:9px; background:#EEE9F3; color:#9878B0; font-size:13px; }
.chem-person-position-list span { display:grid; min-width:0; gap:3px; }
.chem-person-position-list small { color:#68768E; font-size:13px; font-weight:600; letter-spacing:.02em; text-transform:uppercase; }
.chem-person-position-list strong { color:#283550; font-size:14px; line-height:1.48; }
.chem-person-affiliation-summary { display:flex; align-items:center; gap:11px; margin-top:18px; padding:13px 15px; border:1px solid rgba(152,120,176,.18); border-radius:12px; background:#F5F1F8; }
.chem-person-affiliation-summary > i { display:inline-flex; width:35px; height:35px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:9px; background:#9878B0; color:#fff; font-size:13px; }
.chem-person-affiliation-summary > span { display:grid; min-width:0; gap:2px; }
.chem-person-affiliation-summary small { color:#745785; font-size:13px; font-weight:600; }
.chem-person-affiliation-summary strong { color:#293650; font-size:15px; font-weight:600; line-height:1.45; }
.chem-person-contact-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:24px; }
.chem-person-contact-grid > a,.chem-person-contact-grid > div { display:flex; min-width:0; align-items:center; gap:10px; padding:12px; border:1px solid rgba(16,27,62,.09); border-radius:11px; background:#fff; color:inherit; text-decoration:none; transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.chem-person-contact-grid > a:hover,.chem-person-contact-grid > a:focus-visible { border-color:#9878B0; box-shadow:0 10px 22px rgba(13,21,46,.08); outline:0; transform:translateY(-2px); }
.chem-person-contact-grid > a > i,.chem-person-contact-grid > div > i { display:inline-flex; width:32px; height:32px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:9px; background:#101B3E; color:var(--chem-accent); font-size:12px; }
.chem-person-contact-grid span { display:grid; min-width:0; gap:2px; }
.chem-person-contact-grid small { color:#68768E; font-size:13px; font-weight:600; text-transform:uppercase; }
.chem-person-contact-grid strong { overflow:hidden; color:#344159; font-size:12px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.chem-person-related-link { display:inline-flex; width:max-content; align-items:center; gap:8px; margin-top:20px; padding:10px 14px; border-radius:9px; background:#101B3E; color:#fff; font-size:13px; font-weight:600; text-decoration:none; }
.chem-person-related-link i { color:var(--chem-accent); }
.chem-person-related-link:hover,.chem-person-related-link:focus-visible { background:#9878B0; color:#fff; outline:0; }
.chem-person-biography-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(360px,1fr)); gap:22px; margin-top:26px; }
.chem-person-content-card { position:relative; overflow:hidden; padding:28px; border:1px solid rgba(16,27,62,.09); border-radius:19px; background:#fff; box-shadow:0 17px 40px rgba(13,21,46,.065); }
.chem-person-content-card::after { position:absolute; top:-62px; right:-62px; width:150px; height:150px; border:24px solid rgba(152,120,176,.07); border-radius:50%; content:""; pointer-events:none; }
.chem-person-content-head { position:relative; z-index:1; display:flex; align-items:center; gap:13px; margin-bottom:20px; }
.chem-person-content-head > span { display:inline-flex; width:46px; height:46px; align-items:center; justify-content:center; flex:0 0 auto; border-radius:13px; background:#101B3E; color:var(--chem-accent); font-size:17px; }
.chem-person-content-head small { display:block; margin-bottom:3px; color:#76568A; font-size:13px; font-weight:600; letter-spacing:.055em; text-transform:uppercase; }
.chem-person-content-head h2 { margin:0; color:#0D152E; font-size:24px; font-weight:600; letter-spacing:-.025em; }
.chem-person-interest-card > p { position:relative; z-index:1; margin:0; color:#536077; font-size:15px; line-height:1.85; }
.chem-person-education-card ol { position:relative; z-index:1; display:grid; gap:0; margin:0; padding:0; list-style:none; counter-reset:education; }
.chem-person-education-card li { position:relative; padding:2px 0 17px 36px; color:#536077; font-size:14px; line-height:1.68; counter-increment:education; }
.chem-person-education-card li:not(:last-child)::after { position:absolute; top:24px; bottom:0; left:12px; width:1px; background:rgba(152,120,176,.24); content:""; }
.chem-person-education-card li::before { position:absolute; top:0; left:0; z-index:1; display:inline-flex; width:25px; height:25px; align-items:center; justify-content:center; border-radius:50%; background:#EEE9F3; color:#76568A; content:counter(education); font-size:10px; font-weight:600; }
.chem-person-research-panel { margin-top:26px; padding:30px; border:1px solid rgba(16,27,62,.09); border-radius:20px; background:#fff; box-shadow:0 20px 48px rgba(13,21,46,.075); }
.chem-person-research-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
.chem-person-research-heading span { display:block; margin-bottom:4px; color:#B17C0C; font-size:10px; font-weight:600; letter-spacing:.11em; text-transform:uppercase; }
.chem-person-research-heading h2 { margin:0; color:#0D152E; font-size:clamp(25px,3vw,34px); font-weight:600; letter-spacing:-.03em; }
.chem-person-research-heading small { color:#718097; font-size:12px; font-weight:700; }
.chem-person-research-image { overflow:hidden; margin:0 0 22px; border:1px solid rgba(16,27,62,.1); border-radius:15px; background:#F5F7FB; }
.chem-person-research-image img { display:block; width:100%; max-height:560px; object-fit:contain; }
.chem-person-scopus-summary { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:15px; margin-bottom:22px; padding:18px; border:1px solid rgba(58,80,117,.16); border-radius:14px; background:linear-gradient(135deg,#EEF3FA,#F8F5FA); }
.chem-person-scopus-icon { display:inline-flex; width:48px; height:48px; align-items:center; justify-content:center; border-radius:13px; background:#3A5075; color:#fff; font-size:19px; }
.chem-person-scopus-summary > div { display:grid; gap:2px; }
.chem-person-scopus-summary small { color:#9878B0; font-size:10px; font-weight:600; letter-spacing:.1em; }
.chem-person-scopus-summary strong { color:#24324B; font-size:14px; }
.chem-person-scopus-summary em { color:#77849A; font-size:11px; font-style:normal; }
.chem-person-scopus-summary > a { display:inline-flex; align-items:center; gap:8px; padding:10px 13px; border-radius:9px; background:#101B3E; color:#fff; font-size:12px; font-weight:600; text-decoration:none; white-space:nowrap; }
.chem-person-scopus-summary > a i { color:var(--chem-accent); }
.chem-person-scopus-summary > a:hover,.chem-person-scopus-summary > a:focus-visible { background:#9878B0; outline:0; }
.chem-person-publication-table-wrap { overflow-x:auto; border:1px solid rgba(16,27,62,.09); border-radius:13px; }
.chem-person-publication-table { width:100%; min-width:780px; border-collapse:collapse; }
.chem-person-publication-table th,.chem-person-publication-table td { padding:14px 13px; border-bottom:1px solid #E6EAF1; text-align:left; vertical-align:top; }
.chem-person-publication-table th { background:#101B3E; color:#fff; font-size:12px; font-weight:600; }
.chem-person-publication-table td { color:#536077; font-size:13px; line-height:1.58; }
.chem-person-publication-table tbody tr:last-child td { border-bottom:0; }
.chem-person-publication-table tbody tr:hover { background:#F8F9FC; }
.chem-person-publication-table tbody tr.is-highlighted { background:#FFF4CF; box-shadow:inset 4px 0 0 #D69A14; transition:background-color .35s ease, box-shadow .35s ease; }
.chem-person-publication-table th:first-child,.chem-person-publication-table td:first-child { width:90px; }
.chem-person-publication-table th:nth-child(3),.chem-person-publication-table td:nth-child(3) { width:210px; }
.chem-person-publication-table th:last-child,.chem-person-publication-table td:last-child { width:130px; }
.chem-person-publication-table a { display:inline-flex; align-items:center; gap:6px; color:#76568A; font-weight:600; text-decoration:none; white-space:nowrap; }
.chem-person-publication-table a:hover,.chem-person-publication-table a:focus-visible { color:#101B3E; outline:0; }
.chem-person-detail-back { display:flex; justify-content:center; margin-top:28px; }
.chem-person-detail-back a { display:inline-flex; min-height:44px; align-items:center; gap:9px; padding:10px 16px; border:1px solid rgba(16,27,62,.13); border-radius:10px; background:#fff; color:#101B3E; font-size:13px; font-weight:600; text-decoration:none; }
.chem-person-detail-back a:hover,.chem-person-detail-back a:focus-visible { border-color:#9878B0; color:#76568A; outline:0; }
.chem-person-detail-empty { min-height:520px; background:#F5F7FB; }
.chem-person-detail-empty-card { max-width:620px; margin:40px auto; padding:52px 30px; border:1px solid rgba(16,27,62,.09); border-radius:22px; background:#fff; box-shadow:0 24px 60px rgba(13,21,46,.09); text-align:center; }
.chem-person-detail-empty-card > span { display:inline-flex; width:72px; height:72px; align-items:center; justify-content:center; border-radius:20px; background:#EEE9F3; color:#9878B0; font-size:28px; }
.chem-person-detail-empty-card h1 { margin:20px 0 8px; color:#0D152E; font-size:30px; font-weight:600; }
.chem-person-detail-empty-card p { margin:0; color:#718097; font-size:14px; }
.chem-person-detail-empty-card a { display:inline-flex; align-items:center; gap:8px; margin-top:22px; padding:11px 15px; border-radius:9px; background:#101B3E; color:#fff; font-size:13px; font-weight:600; text-decoration:none; }
@media (max-width:1199px) { .chem-person-profile-card { grid-template-columns:320px minmax(0,1fr); } .chem-person-profile-content { padding:34px; } .chem-person-contact-grid { grid-template-columns:1fr; } }
@media (max-width:991px) { .chem-person-profile-card { grid-template-columns:1fr; } .chem-person-profile-visual { min-height:0; } .chem-person-profile-visual > img,.chem-person-profile-placeholder { height:auto; min-height:0; aspect-ratio:4 / 3; } .chem-person-profile-content { padding:32px; } .chem-person-contact-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767px) { .chem-person-detail-hero-inner { min-height:270px; padding:44px 0; } .chem-person-detail-hero h1 { font-size:38px; } .chem-person-profile-content { padding:25px 20px; } .chem-person-position-list,.chem-person-contact-grid { grid-template-columns:1fr; } .chem-person-biography-grid { grid-template-columns:1fr; } .chem-person-content-card,.chem-person-research-panel { padding:22px 18px; border-radius:16px; } .chem-person-research-heading { align-items:flex-start; flex-direction:column; } .chem-person-scopus-summary { grid-template-columns:1fr; text-align:center; } .chem-person-scopus-icon,.chem-person-scopus-summary > a { margin:0 auto; } }
@media (max-width:575px) { .chem-person-detail-page { padding-top:38px; } .chem-person-profile-card { border-radius:17px; } .chem-person-profile-visual > img,.chem-person-profile-placeholder { aspect-ratio:1 / 1; } .chem-person-profile-atom { right:16px; bottom:16px; width:48px; height:48px; font-size:20px; } .chem-person-biography-grid { grid-template-columns:minmax(0,1fr); } }

@media (max-width: 991px) {
    .mju-personnel-hero-modern .mju-personnel-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mju-personnel-hero-card {
        max-width: 520px;
    }

    .mju-personnel-board {
        padding: 26px 20px;
    }

    .mju-personnel-search {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .mju-personnel-hero-modern {
        background:
            linear-gradient(90deg, rgba(61, 9, 17, .54) 0%, rgba(96, 15, 26, .46) 48%, rgba(126, 16, 24, .36) 100%),
            url("../images/contact/bg-contact.png") center / cover no-repeat !important;
    }

    .mju-personnel-hero-modern .mju-personnel-hero-inner {
        padding: 42px 0;
    }

    .mju-personnel-hero-card {
        padding: 20px;
    }

    .mju-personnel-department-tabs a {
        flex-basis: 100%;
    }
}
/* ประวัติความเป็นมา - Modern structured layout */
.mju-about-history-detail {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    color: #2a1d1f;
    font-size: 16px;
    line-height: 1.9;
}

.mju-about-history-detail::before {
    content: "";
    position: absolute;
    top: 18px;
    right: -72px;
    width: 220px;
    height: 220px;
    border: 34px solid rgba(96, 15, 26, .045);
    border-radius: 50%;
    pointer-events: none;
}

.mju-about-history-detail .mju-about-content-block {
    position: relative;
    z-index: 1;
}

.mju-about-history-detail .mju-about-content-block h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 58px 0 22px;
    color: var(--chem-maroon-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.22;
}

.mju-about-history-detail .mju-about-content-block h2:first-child {
    margin-top: 0;
}

.mju-about-history-detail .mju-about-content-block h2::before {
    content: "";
    display: inline-flex;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 70% 18%, rgba(255, 255, 255, .28), transparent 28px),
        linear-gradient(135deg, var(--chem-maroon), #8f1723);
    box-shadow: 0 12px 26px rgba(96, 15, 26, .2);
}

.mju-about-history-detail .mju-about-content-block h2::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    min-width: 42px;
    background: linear-gradient(90deg, rgba(96, 15, 26, .22), transparent);
}

.mju-about-history-detail .mju-about-content-block h3 {
    position: relative;
    margin: 36px 0 18px;
    padding-left: 18px;
    color: var(--chem-maroon);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.35;
}

.mju-about-history-detail .mju-about-content-block h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .28em;
    width: 5px;
    height: 1.05em;
    border-radius: 999px;
    background: #b58b2a;
}

.mju-about-history-detail .mju-about-content-block h4 {
    margin: 0 0 10px;
    color: var(--chem-maroon-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.mju-about-history-detail .mju-about-content-block p {
    max-width: 980px;
    margin: 0 0 18px;
    color: #4c4143;
    font-size: 16px;
    line-height: 1.92;
}

.mju-about-history-detail .mju-about-highlight {
    position: relative;
    display: grid;
    gap: 10px;
    overflow: hidden;
    margin: 32px 0 38px;
    padding: 30px 34px 30px 110px;
    border: 1px solid rgba(96, 15, 26, .12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(181, 139, 42, .16), transparent 34%),
        linear-gradient(135deg, #fff, #fbf6f6);
    box-shadow: 0 20px 46px rgba(76, 8, 10, .1);
}

.mju-about-history-detail .mju-about-highlight::before {
    content: "\f19d";
    position: absolute;
    left: 30px;
    top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--chem-maroon);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight:600;
    box-shadow: 0 14px 26px rgba(96, 15, 26, .22);
}

.mju-about-history-detail .mju-about-highlight strong {
    color: var(--chem-maroon-dark);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 400;
    line-height: 1.35;
}

.mju-about-history-detail .mju-about-highlight span {
    max-width: 860px;
    color: #5f5556;
    font-size: 15px;
    line-height: 1.75;
}

.mju-about-history-detail .mju-about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 40px;
}

.mju-about-history-detail .mju-about-card {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    padding: 28px 24px 26px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .075);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mju-about-history-detail .mju-about-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--chem-maroon), #b58b2a);
}

.mju-about-history-detail .mju-about-card:hover {
    border-color: rgba(96, 15, 26, .2);
    box-shadow: 0 24px 48px rgba(76, 8, 10, .12);
    transform: translateY(-4px);
}

.mju-about-history-detail .mju-about-card p {
    margin-bottom: 0;
    color: #5a4f51;
    font-size: 14px;
    line-height: 1.78;
}

.mju-about-history-detail .mju-about-program-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 28px 0 42px;
}

.mju-about-history-detail .mju-about-program-list div {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 14px 18px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(251, 247, 247, .96)),
        #fff;
    color: var(--chem-maroon-dark);
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 12px 26px rgba(76, 8, 10, .055);
}

.mju-about-history-detail .mju-about-program-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--chem-maroon);
    color: #fff;
    font-size: 14px;
    font-weight:600;
    box-shadow: 0 10px 20px rgba(96, 15, 26, .18);
}

.mju-about-history-detail .mju-about-content-block blockquote {
    position: relative;
    overflow: hidden;
    margin: 30px 0 42px;
    padding: 40px 44px 40px 116px;
    border: 0;
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .18), transparent 34%),
        linear-gradient(135deg, #600f1a, #8b1722);
    color: #fff;
    font-size: clamp(22px, 2vw, 30px);

    font-weight: 400;
    line-height: 1.65;
    box-shadow: 0 26px 58px rgba(76, 8, 10, .24);
}

.mju-about-history-detail .mju-about-content-block blockquote::before {
    content: "\f06e";
    position: absolute;
    left: 34px;
    top: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight:600;
}

.mju-about-history-detail .mju-about-mission-list {
    counter-reset: mission-counter;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 42px;
    padding: 0;
    list-style: none;
}

.mju-about-history-detail .mju-about-mission-list li {
    counter-increment: mission-counter;
    position: relative;
    min-height: 132px;
    padding: 22px 24px 22px 82px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 20px;
    background: #fff;
    color: #4c4143;
    font-size: 15px;
    line-height: 1.78;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .07);
}

.mju-about-history-detail .mju-about-mission-list li::before {
    content: counter(mission-counter);
    position: absolute;
    left: 24px;
    top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--chem-maroon), #8b1722);
    color: #fff;
    font-weight:600;
    box-shadow: 0 12px 24px rgba(96, 15, 26, .18);
}

.mju-about-history-detail .mju-about-identity {
    position: relative;
    overflow: hidden;
    margin: 26px 0 42px;
    padding: 34px 38px 34px 116px;
    border: 1px solid rgba(181, 139, 42, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(181, 139, 42, .18), transparent 35%),
        linear-gradient(135deg, rgba(181, 139, 42, .12), rgba(96, 15, 26, .06)),
        #fff;
    color: var(--chem-maroon-dark);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 400;
    line-height: 1.55;
    box-shadow: 0 20px 46px rgba(76, 8, 10, .09);
}

.mju-about-history-detail .mju-about-identity::before {
    content: "\f0eb";
    position: absolute;
    left: 34px;
    top: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #b58b2a;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-size: 24px;
    font-weight:600;
    box-shadow: 0 14px 26px rgba(181, 139, 42, .24);
}

.mju-about-history-detail .mju-about-values {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 50px 0 10px;
}

.mju-about-history-detail .mju-about-values div {
    position: relative;
    min-height: 218px;
    padding: 54px 18px 22px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 16px 34px rgba(76, 8, 10, .075);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mju-about-history-detail .mju-about-values div:hover {
    border-color: rgba(96, 15, 26, .2);
    box-shadow: 0 24px 48px rgba(76, 8, 10, .12);
    transform: translateY(-4px);
}

.mju-about-history-detail .mju-about-values strong {
    position: absolute;
    top: -25px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--chem-maroon), #8b1722);
    color: #fff;
    font-size: 24px;
    font-weight:600;
    transform: translateX(-50%);
    box-shadow: 0 12px 26px rgba(76, 8, 10, .22);
}

.mju-about-history-detail .mju-about-values h4 {
    margin-bottom: 10px;
    color: var(--chem-maroon);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.mju-about-history-detail .mju-about-values p {
    margin: 0;
    color: #5f5556;
    font-size: 13px;
    line-height: 1.68;
}

@media (max-width: 1199px) {
    .mju-about-history-detail .mju-about-card-grid,
    .mju-about-history-detail .mju-about-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .mju-about-history-detail::before {
        display: none;
    }

    .mju-about-history-detail .mju-about-card-grid,
    .mju-about-history-detail .mju-about-program-list,
    .mju-about-history-detail .mju-about-mission-list,
    .mju-about-history-detail .mju-about-values {
        grid-template-columns: 1fr;
    }

    .mju-about-history-detail .mju-about-mission-list li {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .mju-about-history-detail {
        font-size: 15px;
        line-height: 1.82;
    }

    .mju-about-history-detail .mju-about-content-block h2 {
        gap: 10px;
        margin-top: 42px;
        font-size: 26px;
    }

    .mju-about-history-detail .mju-about-content-block h2::before {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .mju-about-history-detail .mju-about-content-block h2::after {
        min-width: 22px;
    }

    .mju-about-history-detail .mju-about-highlight,
    .mju-about-history-detail .mju-about-content-block blockquote,
    .mju-about-history-detail .mju-about-identity {
        padding: 86px 22px 24px;
        border-radius: 20px;
    }

    .mju-about-history-detail .mju-about-highlight::before,
    .mju-about-history-detail .mju-about-content-block blockquote::before,
    .mju-about-history-detail .mju-about-identity::before {
        left: 22px;
        top: 22px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 20px;
    }

    .mju-about-history-detail .mju-about-card,
    .mju-about-history-detail .mju-about-mission-list li {
        padding: 22px;
    }

    .mju-about-history-detail .mju-about-mission-list li {
        padding-left: 72px;
    }

    .mju-about-history-detail .mju-about-mission-list li::before {
        left: 20px;
        top: 22px;
    }

    .mju-about-history-detail .mju-about-program-list div {
        align-items: flex-start;
        border-radius: 16px;
    }
}

/* =========================================================
   Chemistry Programs Page
   Scope: .chem-programs-*
   ========================================================= */

.chem-programs-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 430px;
    align-items: center;
    overflow: hidden;
    background: #101b3e;
    color: #fff;
}

.chem-programs-hero-cover {
    position: absolute;
    z-index: -3;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.chem-programs-hero-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 17, 48, .86) 0%,
        rgba(13, 27, 65, .58) 48%,
        rgba(13, 21, 46, .12) 100%
    );
    pointer-events: none;
}

.chem-programs-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 52%, transparent 80%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 52%, transparent 80%);
}

.chem-programs-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: clamp(30px, 9vw, 170px);
    bottom: -165px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(246, 197, 68, .24);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(246, 197, 68, .04),
        0 0 0 96px rgba(255, 255, 255, .025);
}

.chem-programs-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 76px;
    padding-bottom: 104px;
}

.chem-programs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
}

.chem-programs-breadcrumb a {
    color: #fff;
}

.chem-programs-breadcrumb a:hover,
.chem-programs-breadcrumb a:focus {
    color: #f6c544;
}

.chem-programs-breadcrumb i {
    color: #f6c544;
    font-size: 9px;
}

.chem-programs-kicker {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.chem-programs-kicker i {
    color: #f6c544;
}

.chem-programs-hero h1 {
    max-width: 820px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(36px, 4.4vw, 56px);
    font-weight: 600;
    line-height: 1.18;
}

.chem-programs-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
    line-height: 1.8;
}

.chem-programs-page {
    --program-primary: #101b3e;
    --program-primary-dark: #0d152e;
    --program-accent: #f6c544;
    --program-text: #26344f;
    --program-muted: #6c7890;
    --program-line: #e4e9f1;
    --program-soft: #f6f8fb;
    padding-bottom: 72px;
    background: #f7f6f5;
    color: var(--program-text);
}

.chem-programs-category-nav {
    position: relative;
    z-index: 5;
    margin: 0 auto 72px;
    transform: translateY(-56px);
}

.chem-programs-category-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(16, 27, 62, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(13, 21, 46, .12);
}

.chem-programs-category-link {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 14px;
    align-items: center;
    min-height: 108px;
    padding: 20px 24px;
    color: var(--program-primary-dark);
    transition: background .2s ease, color .2s ease;
}

.chem-programs-category-link + .chem-programs-category-link {
    border-left: 1px solid rgba(16, 27, 62, .08);
}

.chem-programs-category-link::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    height: 3px;
    background: transparent;
}

.chem-programs-category-link:hover,
.chem-programs-category-link:focus-visible {
    color: var(--program-primary-dark);
    background: #f8f9fc;
}

.chem-programs-category-link.is-active {
    color: #fff;
    background: linear-gradient(135deg, #162b63, #101b3e);
}

.chem-programs-category-link.is-active::after {
    background: var(--program-accent);
}

.chem-programs-category-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #f7f5fb;
    color: #d29f12;
}

.chem-programs-category-icon img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.chem-programs-default-icon {
    color: inherit;
}

.chem-programs-category-link.is-active .chem-programs-category-icon {
    background: rgba(255, 255, 255, .12);
    color: var(--program-accent);
}

.chem-programs-category-copy {
    min-width: 0;
}

.chem-programs-category-copy strong,
.chem-programs-category-copy small {
    display: block;
}

.chem-programs-category-copy strong {
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.chem-programs-category-copy small {
    margin-top: 4px;
    color: #7a859b;
    font-size: 12px;
}

.chem-programs-category-link.is-active .chem-programs-category-copy small {
    color: rgba(255, 255, 255, .7);
}

.chem-programs-category-arrow {
    color: #9a75b2;
    font-size: 12px;
    transition: transform .2s ease;
}

.chem-programs-category-link.is-active .chem-programs-category-arrow {
    color: var(--program-accent);
}

.chem-programs-category-link:hover .chem-programs-category-arrow,
.chem-programs-category-link:focus-visible .chem-programs-category-arrow {
    transform: translateX(3px);
}

.chem-programs-intro {
    position: relative;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 120px;
    gap: 24px;
    align-items: center;
    margin-bottom: 64px;
    padding: 40px 44px;
    overflow: hidden;
    border: 1px solid var(--program-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(13, 21, 46, .07);
}

.chem-programs-intro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--program-accent), #9b7bb0 52%, var(--program-primary));
}

.chem-programs-intro-icon {
    display: flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #fbf8ed;
    color: #d7a816;
    font-size: 30px;
}

.chem-programs-intro-icon img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.chem-programs-intro-copy {
    min-width: 0;
    text-align: center;
}

.chem-programs-intro-copy > span,
.chem-programs-list-head span {
    display: block;
    color: #b47d00;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
}

.chem-programs-intro-copy h2,
.chem-programs-list-head h2 {
    color: var(--program-primary-dark);
    font-weight: 600;
}

.chem-programs-intro-copy h2 {
    margin: 6px 0 8px;
    font-size: 26px;
}

.chem-programs-richtext,
.chem-programs-intro-copy p {
    margin: 0;
    color: var(--program-muted);
    font-size: 15px;
    line-height: 1.8;
}

.chem-programs-richtext > :last-child {
    margin-bottom: 0;
}

.chem-programs-richtext img,
.chem-programs-richtext iframe,
.chem-programs-richtext table {
    max-width: 100%;
}

.chem-programs-intro-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(16, 27, 62, .05);
    font-size: 88px;
}

.chem-programs-list-head {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
}

.chem-programs-list-head h2 {
    margin: 5px 0 0;
    font-size: 30px;
}

.chem-programs-list-head > strong {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid var(--program-line);
    border-radius: 999px;
    background: #fff;
    color: var(--program-primary);
    font-size: 13px;
    font-weight: 500;
}

.chem-programs-list-head > strong b {
    color: #b47d00;
}

.chem-programs-card {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 286px;
    flex-direction: column;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--program-line);
    border-radius: 20px;
    background: #fff;
    color: var(--program-text);
    box-shadow: 0 12px 28px rgba(13, 21, 46, .055);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.chem-programs-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--program-accent), var(--program-primary));
}

.chem-programs-card:hover,
.chem-programs-card:focus-visible {
    color: var(--program-text);
    border-color: rgba(16, 27, 62, .18);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(13, 21, 46, .10);
}

.chem-programs-card-top {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.chem-programs-card-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #f8f7fb;
    color: #b78800;
}

.chem-programs-card-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.chem-programs-card-top > small {
    color: #7d8798;
    font-size: 11px;
}

.chem-programs-card-body {
    display: block;
    flex: 1;
    padding: 26px 0 22px;
}

.chem-programs-card-body strong,
.chem-programs-card-body > span {
    display: block;
}

.chem-programs-card-body strong {
    color: var(--program-primary-dark);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.chem-programs-card-body > span {
    margin-top: 8px;
    color: var(--program-muted);
    font-size: 13px;
    line-height: 1.7;
}

.chem-programs-card-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--program-line);
    color: var(--program-primary);
    font-size: 12px;
    font-weight: 600;
}

.chem-programs-card-footer i {
    color: #b78800;
    transition: transform .2s ease;
}

.chem-programs-card:hover .chem-programs-card-footer i,
.chem-programs-card:focus-visible .chem-programs-card-footer i {
    transform: translateX(4px);
}

.chem-programs-empty {
    padding: 54px 28px;
    border: 1px solid var(--program-line);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.chem-programs-empty.is-compact {
    padding-top: 42px;
    padding-bottom: 42px;
}

.chem-programs-empty-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: #f8f7fb;
    color: #b78800;
    font-size: 22px;
}

.chem-programs-empty h1,
.chem-programs-empty h3 {
    color: var(--program-primary-dark);
}

.chem-programs-empty p {
    color: var(--program-muted);
}

.chem-programs-empty-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--program-primary);
}

.chem-programs-empty-link:hover,
.chem-programs-empty-link:focus {
    color: #b78800;
}

@media (max-width: 991px) {
    .chem-programs-category-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .chem-programs-category-link {
        min-width: 300px;
        flex: 1 0 300px;
        scroll-snap-align: start;
    }

    .chem-programs-intro {
        grid-template-columns: 72px minmax(0, 1fr);
        padding: 32px;
    }

    .chem-programs-intro-mark {
        display: none;
    }
}

@media (max-width: 767px) {
    .chem-programs-category-track {
        display: grid;
        grid-template-columns: 1fr;
        overflow: hidden;
        scroll-snap-type: none;
    }

    .chem-programs-category-link {
        min-width: 0;
        min-height: 86px;
        flex: initial;
    }

    .chem-programs-category-link + .chem-programs-category-link {
        border-top: 1px solid rgba(16, 27, 62, .09);
        border-left: 0;
    }
}

@media (max-width: 575px) {
    .chem-programs-hero {
        min-height: 340px;
    }

    .chem-programs-hero-cover {
        object-position: 62% center;
    }

    .chem-programs-hero-overlay {
        background: linear-gradient(90deg, rgba(7, 17, 48, .92), rgba(13, 27, 65, .65));
    }

    .chem-programs-hero-inner {
        padding-top: 54px;
        padding-bottom: 82px;
    }

    .chem-programs-hero h1 {
        font-size: 34px;
    }

    .chem-programs-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .chem-programs-intro {
        display: block;
        margin-bottom: 48px;
        padding: 27px 24px;
    }

    .chem-programs-intro-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
        border-radius: 18px;
    }

    .chem-programs-list-head {
        display: block;
    }

    .chem-programs-list-head > strong {
        margin-top: 14px;
    }
}

/* =========================================================
   Chemistry Program Detail Page
   Scope: .chem-program-detail-* / .chem-program-*
   ========================================================= */

.chem-program-detail-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 360px;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.chem-program-detail-hero-fixed {
    background:
        radial-gradient(circle at 84% 16%, rgba(246, 197, 68, .12), transparent 22%),
        radial-gradient(circle at 14% 80%, rgba(255, 255, 255, .06), transparent 26%),
        linear-gradient(115deg, #0d152e 0%, #14295d 52%, #101b3e 100%);
}

.chem-program-detail-hero-fixed::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .3;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 78%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .7), transparent 78%);
}

.chem-program-detail-hero .container {
    position: relative;
    z-index: 1;
}

.chem-program-detail-hero h1 {
    max-width: 860px;
    margin: 16px 0 12px;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 600;
    line-height: 1.18;
}

.chem-program-detail-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
    line-height: 1.8;
}

.chem-programs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
}

.chem-programs-breadcrumb a {
    color: #fff;
}

.chem-programs-breadcrumb a:hover,
.chem-programs-breadcrumb a:focus,
.chem-programs-breadcrumb i {
    color: #f6c544;
}

.chem-programs-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.chem-programs-kicker i {
    color: #f6c544;
}

.chem-program-detail-page {
    --detail-primary: #101b3e;
    --detail-primary-dark: #0d152e;
    --detail-accent: #f6c544;
    --detail-accent-dark: #b68300;
    --detail-text: #26344f;
    --detail-muted: #68758b;
    --detail-line: #e3e8f0;
    --detail-soft: #f6f8fb;
    padding: 56px 0 76px;
    background: #f5f7fa;
    color: var(--detail-text);
}

.chem-program-detail-page a {
    color: var(--detail-primary);
}

.chem-program-detail-page a:hover,
.chem-program-detail-page a:focus {
    color: var(--detail-accent-dark);
}

.chem-program-detail-card,
.chem-program-side-card {
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid var(--detail-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(13, 21, 46, .06);
}

.chem-program-detail-card h2,
.chem-program-side-card h2 {
    margin: 0 0 20px;
    color: var(--detail-primary-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.chem-program-detail-card h2 i,
.chem-program-side-card h2 i {
    margin-right: 8px;
    color: var(--detail-accent-dark);
}

.chem-program-detail-cover-card {
    overflow: hidden;
    padding: 0;
}

.chem-program-detail-cover-card > .row {
    margin: 0;
}

.chem-program-detail-main-image {
    position: relative;
    height: 100%;
    min-height: 360px;
    background: #e9edf3;
}

.chem-program-detail-main-image a {
    position: absolute;
    inset: 0;
    display: block;
}

.chem-program-detail-main-image img,
.chem-program-detail-overview img:not(.chem-program-detail-icon) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chem-program-detail-main-image a > span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(13, 21, 46, .82);
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.chem-program-detail-main-image a:hover > span,
.chem-program-detail-main-image a:focus > span {
    opacity: 1;
    transform: translateY(0);
}

.chem-program-detail-cover-copy {
    display: flex;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.chem-program-detail-cover-copy > span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff8de;
    color: var(--detail-accent-dark);
    font-size: 12px;
    font-weight: 600;
}

.chem-program-detail-cover-copy > h2 {
    margin-bottom: 10px;
    color: var(--detail-primary-dark);
    font-size: clamp(25px, 3vw, 34px);
}

.chem-program-detail-cover-copy > p {
    margin: 0 0 22px;
    color: var(--detail-muted);
    line-height: 1.8;
}

.chem-program-degree-inline {
    margin-top: 8px;
}

.chem-program-degree-inline > h3 {
    margin: 0 0 14px;
    color: var(--detail-primary);
    font-size: 16px;
    font-weight: 600;
}

.chem-program-degree-inline > h3 i {
    color: var(--detail-accent-dark);
}

.chem-program-degree-item {
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--detail-line);
    border-radius: 14px;
    background: var(--detail-soft);
}

.chem-program-degree-item small,
.chem-program-degree-item strong {
    display: block;
}

.chem-program-degree-item small {
    margin-bottom: 6px;
    color: var(--detail-muted);
    font-size: 11px;
}

.chem-program-degree-item strong {
    color: var(--detail-primary-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.chem-program-detail-content,
.chem-program-detail-content p,
.chem-program-curriculum-box,
.chem-program-accordion .accordion-body {
    color: var(--detail-text);
    font-size: 15px;
    line-height: 1.85;
}

.chem-program-detail-content p:last-child,
.chem-program-accordion .accordion-body > :last-child {
    margin-bottom: 0;
}

.chem-program-detail-content :where(ul, ol),
.chem-program-curriculum-box :where(ul, ol),
.chem-program-accordion .accordion-body :where(ul, ol) {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.chem-program-detail-content :where(li),
.chem-program-curriculum-box :where(li),
.chem-program-accordion .accordion-body :where(li) {
    position: relative;
    margin-bottom: 8px;
    padding: 9px 12px 9px 44px;
    border: 1px solid var(--detail-line);
    border-radius: 12px;
    background: #fbfcfe;
}

.chem-program-detail-content ul > li::before,
.chem-program-curriculum-box ul > li::before,
.chem-program-accordion .accordion-body ul > li::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--detail-accent);
    box-shadow: 0 0 0 4px rgba(246, 197, 68, .15);
}

.chem-program-detail-content ol,
.chem-program-curriculum-box ol,
.chem-program-accordion .accordion-body ol {
    counter-reset: chem-program-list;
}

.chem-program-detail-content ol > li,
.chem-program-curriculum-box ol > li,
.chem-program-accordion .accordion-body ol > li {
    counter-increment: chem-program-list;
}

.chem-program-detail-content ol > li::before,
.chem-program-curriculum-box ol > li::before,
.chem-program-accordion .accordion-body ol > li::before {
    content: counter(chem-program-list);
    position: absolute;
    top: 8px;
    left: 12px;
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--detail-primary);
    color: #fff;
    font-size: 12px;
}

.chem-program-detail-section-img {
    width: 100%;
    max-height: 360px;
    border-radius: 16px;
    object-fit: cover;
}

.chem-program-career-card .chem-program-detail-section-img {
    aspect-ratio: 4 / 3;
}

.chem-program-objective-card,
.chem-program-graduation-card {
    position: relative;
    overflow: hidden;
}

.chem-program-objective-card {
    background:
        radial-gradient(circle at 92% 20%, rgba(246, 197, 68, .10), transparent 28%),
        #fff;
}

.chem-program-objective-bg,
.chem-program-graduation-icon {
    position: absolute;
    right: 28px;
    bottom: -18px;
    color: rgba(16, 27, 62, .045);
    font-size: 118px;
    line-height: 1;
}

.chem-program-objective-card > *:not(.chem-program-objective-bg),
.chem-program-graduation-card > *:not(.chem-program-graduation-icon) {
    position: relative;
    z-index: 1;
}

.chem-program-curriculum-box {
    height: 100%;
    padding: 20px;
    border: 1px solid var(--detail-line);
    border-radius: 16px;
    background: #f8fafc;
}

.chem-program-curriculum-box.is-style-1 {
    background: #fffaf0;
}

.chem-program-curriculum-box.is-style-2 {
    background: #f3f8fb;
}

.chem-program-curriculum-box.is-style-3 {
    background: #f6f5fb;
}

.chem-program-curriculum-box > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--detail-primary);
    font-size: 16px;
    font-weight: 600;
}

.chem-program-accordion .accordion-item {
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--detail-line);
    border-radius: 14px;
    background: #fff;
}

.chem-program-accordion .accordion-button,
.chem-program-accordion-static {
    color: var(--detail-primary-dark);
    font-weight: 600;
    box-shadow: none;
}

.chem-program-accordion .accordion-button:not(.collapsed) {
    background: #f7f9fc;
    color: var(--detail-primary);
}

.chem-program-accordion .accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
}

.chem-program-accordion .accordion-button::after {
    filter: none;
}

.chem-program-accordion-static {
    padding: 16px 20px;
    background: #fff;
    font-size: 15px;
}

.chem-program-graduation-card {
    border-color: rgba(246, 197, 68, .30);
    background: linear-gradient(135deg, #fff, #fffdf6);
}

.chem-program-album-card {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(16, 27, 62, .10);
    border-radius: 18px;
    background: var(--detail-primary-dark);
    color: #fff;
    box-shadow: 0 16px 34px rgba(13, 21, 46, .12);
}

.chem-program-album-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    transition: transform .3s ease;
}

.chem-program-album-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 21, 46, .02), rgba(13, 21, 46, .72));
    pointer-events: none;
}

.chem-program-album-card > div {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
}

.chem-program-album-card strong,
.chem-program-album-card small {
    display: block;
}

.chem-program-album-card strong {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.chem-program-album-card small {
    margin-top: 6px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
}

.chem-program-album-count {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--detail-primary-dark);
    font-size: 13px;
}

.chem-program-album-card:hover,
.chem-program-album-card:focus {
    color: #fff;
}

.chem-program-album-card:hover img,
.chem-program-album-card:focus img {
    transform: scale(1.04);
}

.chem-program-detail-side {
    position: sticky;
    top: 110px;
}

.chem-program-side-card a,
.chem-program-side-card span {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--detail-line);
    color: var(--detail-text);
    font-size: 13px;
    line-height: 1.5;
}

.chem-program-side-card a:last-child,
.chem-program-side-card span:last-child {
    border-bottom: 0;
}

.chem-program-side-card a:hover,
.chem-program-side-card a:focus {
    color: var(--detail-primary);
}

.chem-program-side-card a span {
    display: block;
    padding: 0;
    border-bottom: 0;
}

.chem-program-side-card i {
    flex: 0 0 auto;
    color: var(--detail-accent-dark);
}

.chem-program-side-card small {
    display: block;
    color: var(--detail-muted);
    font-size: 12px;
}

.chem-program-side-more {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 9px 12px;
    border: 1px solid var(--detail-line);
    border-radius: 999px;
    background: var(--detail-soft);
    color: var(--detail-primary);
    font-size: 13px;
}

.chem-program-side-more i {
    transition: transform .2s ease;
}

.chem-program-side-more[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.chem-program-download-link em {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 50%;
    background: var(--detail-primary);
    color: #fff;
    font-style: normal;
}

.chem-program-download-link em i {
    color: #fff;
    font-size: 12px;
}

.chem-detail-page {
    padding: 60px 0;
    background: #f5f7fa;
}

.chem-detail-empty {
    padding: 50px 28px;
    border: 1px solid #e3e8f0;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.chem-detail-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: #101b3e;
    color: #fff;
}

.chem-detail-btn:hover,
.chem-detail-btn:focus {
    background: #0d152e;
    color: #f6c544;
}

@media (max-width: 991px) {
    .chem-program-detail-hero {
        min-height: 310px;
    }

    .chem-program-detail-main-image {
        min-height: 300px;
    }

    .chem-program-detail-cover-copy {
        min-height: 0;
        padding: 30px;
    }

    .chem-program-detail-side {
        position: static;
    }
}

@media (max-width: 575px) {
    .chem-program-detail-hero {
        min-height: 285px;
    }

    .chem-program-detail-hero h1 {
        font-size: 30px;
    }

    .chem-program-detail-card,
    .chem-program-side-card {
        padding: 22px;
        border-radius: 16px;
    }

    .chem-program-detail-cover-card {
        padding: 0;
    }

    .chem-program-detail-main-image {
        min-height: 240px;
    }

    .chem-program-detail-cover-copy {
        padding: 24px;
    }
}


/* =========================================================
   About History Page - Heading refinement
   Remove large block before headings and use clean underline
   ========================================================= */
.mju-about-history-detail .mju-about-content-block h2 {
    position: relative;
    display: block;
    margin: 58px 0 24px;
    padding-left: 0;
    padding-bottom: 0;
    color: var(--chem-maroon-dark);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.25;
}

.mju-about-history-detail .mju-about-content-block h2:first-child {
    margin-top: 0;
}

.mju-about-history-detail .mju-about-content-block h2::before {
    content: none;
    display: none;
}

.mju-about-history-detail .mju-about-content-block h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    min-width: 0;
    margin-top: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--chem-maroon), #b58b2a);
}

@media (max-width: 767px) {
    .mju-about-history-detail .mju-about-content-block h2 {
        margin: 40px 0 20px;
        font-size: 28px;
    }
}
/* ==================================================
   Organization Chart - Clean No Background / No Lines
   ================================================== */

.mju-organization-chart {
    max-width: 1320px;
    margin: 0 auto;
    padding: 30px 0 40px;
    overflow: visible;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* remove decorative background */
.mju-organization-chart::before,
.mju-organization-chart::after {
    display: none !important;
}

/* top hierarchy */
.mju-organization-top {
    position: relative;
    z-index: 2;
    display: grid;
    justify-content: center;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto 34px;
}

/* remove vertical line below dean */
.mju-organization-top::after {
    display: none !important;
}

.mju-organization-node {
    min-width: 260px;
    padding: 14px 22px;
    border: 1px solid rgba(96, 15, 26, .15);
    border-radius: 10px;
    background: #fff;
    color: var(--chem-maroon-dark);
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    box-shadow: 0 10px 24px rgba(76, 8, 10, .08);
}

.mju-organization-node.is-top,
.mju-organization-node.is-main {
    border-color: rgba(96, 15, 26, .35);
    background: linear-gradient(135deg, #8c1020, var(--chem-maroon-dark));
    color: #fff;
}

.mju-organization-node.is-main {
    font-size: 22px;
}

/* committee pill */
.mju-organization-committee {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: 0 auto 28px;
    padding: 10px 22px;
    border: 1px dashed rgba(96, 15, 26, .28);
    border-radius: 999px;
    background: #fff;
    color: var(--chem-maroon-dark);
    font-size: 15px;
    font-weight: 400;
    box-shadow: 0 8px 18px rgba(76, 8, 10, .05);
}

/* main grid */
.mju-organization-main-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 1.2fr .9fr 1.55fr .9fr;
    gap: 18px;
    align-items: start;
}

/* remove horizontal connector line */
.mju-organization-main-grid::before {
    display: none !important;
}

.mju-organization-column {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* remove vertical connector line above each column */
.mju-organization-column::before,
.mju-organization-column::after {
    display: none !important;
}

/* column headings */
.mju-organization-heading {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8c1020, var(--chem-maroon-dark));
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    box-shadow: 0 12px 26px rgba(76, 8, 10, .14);
}

/* list cards */
.mju-organization-list {
    display: grid;
    gap: 10px;
}

.mju-organization-list div,
.mju-organization-program-card {
    position: relative;
    padding: 14px 16px;
    border: 1px solid rgba(96, 15, 26, .1);
    border-radius: 12px;
    background: #fff;
    color: #332527;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    box-shadow: 0 8px 20px rgba(76, 8, 10, .06);
}

/* remove white circle dots before sub items */
.mju-organization-list div::before,
.mju-organization-program-card::before {
    display: none !important;
}

/* program card */
.mju-organization-program-card {
    padding: 18px 20px;
}

.mju-organization-program-card h3 {
    margin: 0 0 10px;
    color: var(--chem-maroon-dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.mju-organization-program-card ul {
    margin: 0;
    padding-left: 18px;
}

.mju-organization-program-card li {
    margin-bottom: 6px;
    color: #4c4143;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.mju-organization-program-card li:last-child {
    margin-bottom: 0;
}

/* empty columns should not show fake background area */
.mju-organization-column.is-simple {
    min-height: auto !important;
}

.mju-organization-column.is-simple::after {
    display: none !important;
}

/* responsive */
@media (max-width: 1199px) {
    .mju-organization-main-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mju-organization-column.is-program {
        grid-column: span 2;
    }

    .mju-organization-committee {
        margin: 0 auto 28px;
    }
}

@media (max-width: 767px) {
    .mju-organization-chart {
        padding: 24px 0 34px;
    }

    .mju-organization-node {
        min-width: 0;
        width: 100%;
        font-size: 17px;
    }

    .mju-organization-node.is-main {
        font-size: 20px;
    }

    .mju-organization-main-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mju-organization-column.is-program {
        grid-column: auto;
    }

    .mju-organization-heading {
        min-height: auto;
        justify-content: flex-start;
        text-align: left;
        font-size: 16px;
    }

    .mju-organization-list div,
    .mju-organization-program-card {
        font-size: 14px;
    }
}
@media (min-width: 992px) and (max-width: 1233px) {
    .chem-mainnav,
    .chem-mainnav-inner {
        min-height: 78px;
    }

    .chem-site-header.is-mainnav-fixed {
        padding-bottom: 78px;
    }

    .chem-mainnav-inner {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    .chem-nav-logo {
        height: 84px;
    }

    .chem-nav-logo img {
        width: 82px;
        height: 82px;
    }

    .chem-desktop-menu {
        justify-content: space-between;
    }

    .chem-desktop-menu a {
        min-height: 40px;
        padding: 0 5px;
        gap: 4px;
        font-size: 13px;
        line-height: 1.18;
        white-space: nowrap;
    }

    .chem-desktop-menu a > i {
        font-size: 10px;
    }

    .chem-desktop-menu .has-submenu > a::after {
        margin-left: 3px;
        font-size: 8px;
    }

    .chem-desktop-menu > li + li::before {
        font-size: 9px;
    }
}

/* Chemistry public header, navigation and hero */
:root {
    --chem-primary: #101B3E;
    --chem-primary-dark: #0D152E;
    --chem-accent: #F6C544;
    --chem-text-soft: #C7D0E2;
    --chem-content-width: 1320px;
    --chem-content-gutter: 12px;
    --chem-content-left: max(
        var(--chem-content-gutter),
        calc((100% - var(--chem-content-width)) / 2 + var(--chem-content-gutter))
    );
}

.chem-site-header {
    position: relative;
    z-index: 100;
    background: var(--chem-primary-dark);
}

.chem-topbar {
    min-height: 40px;
    background: var(--chem-primary-dark);
}

.chem-topbar-inner {
    min-height: 40px;
    justify-content: space-between;
    gap: 16px;
}

.chem-topbar-contact,
.chem-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chem-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chem-phone {
    color: #AEBBD3;
    font-size: 14px;
    font-weight: 400;
}

.chem-phone:hover,
.chem-phone:focus {
    color: #fff;
}

.chem-lang-switch {
    min-width: 40px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, .36);
    background: transparent;
    color: #fff;
    font-size: 13px;
}

.chem-lang-switch:hover,
.chem-lang-switch:focus {
    border-color: var(--chem-accent);
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
}

.chem-lang-switch.is-active {
    border-color: var(--chem-accent);
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
}

.chem-brandbar {
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    background: var(--chem-primary);
}

.chem-brandbar .container {
    display: flex;
    align-items: center;
    min-height: 78px;
}

.chem-wordmark {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    color: #fff;
}

.chem-wordmark img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.chem-wordmark-copy {
    display: flex;
    flex-direction: column;
}

.chem-wordmark strong {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .015em;
}

.chem-wordmark small {
    margin-top: 4px;
    color: var(--chem-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.chem-mainnav {
    min-height: 48px;
    background: var(--chem-primary-dark);
    box-shadow: none;
}

@media (min-width: 992px) {
    .chem-site-header.is-mainnav-fixed {
        padding-bottom: 48px;
    }
}

.chem-mainnav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding-left: 0;
}

.chem-desktop-menu {
    width: auto;
    justify-content: center;
    gap: 0;
}

.chem-desktop-menu > li + li::before {
    display: none;
}

.chem-desktop-menu a {
    min-height: 48px;
    padding: 0 14px;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    font-weight: 500;
}

.chem-desktop-menu a:hover,
.chem-desktop-menu a:focus {
    color: var(--chem-accent);
}

.chem-desktop-menu > li.is-active > a,
.chem-desktop-menu > li.is-active > a:hover,
.chem-desktop-menu > li.is-active > a:focus {
    color: var(--chem-accent);
}

.chem-mobile-menu-panel > ul > li.is-active > a {
    color: var(--chem-accent);
}

.chem-desktop-menu .has-submenu > a::after {
    margin-left: 7px;
    font-size: 8px;
}

.chem-desktop-menu > li > ul {
    top: calc(100% + 4px);
    width: min(304px, 82vw);
    border-color: rgba(16, 27, 62, .14);
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(4, 12, 34, .2);
}

.chem-desktop-menu > li > ul::before {
    border-color: rgba(16, 27, 62, .14);
}

.chem-desktop-menu > li > ul a {
    min-height: 0;
    padding: 10px 12px;
    color: var(--chem-primary-dark);
}

.chem-desktop-menu > li > ul a::before {
    background: rgba(16, 27, 62, .28);
}

.chem-desktop-menu > li > ul a:hover,
.chem-desktop-menu > li > ul a:focus {
    background: var(--chem-primary);
    color: #fff;
}

.chem-desktop-menu > li > .chem-program-menu {
    width: min(360px, 82vw);
    padding: 12px 10px;
}

.chem-program-menu-group + .chem-program-menu-group {
    margin-top: 8px;
}

.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-group-link {
    padding: 6px 12px;
    border-radius: 0;
    color: #C69024;
    font-size: 13px;
    font-weight: 700;
}

.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-group-link:hover,
.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-group-link:focus {
    background: transparent;
    color: #A97512;
}

.chem-program-menu-list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-list a {
    padding: 8px 12px 8px 24px;
    color: #0D152E;
    font-size: 14px;
    font-weight: 500;
}

.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-list a:hover,
.chem-desktop-menu > li > .chem-program-menu .chem-program-menu-list a:focus {
    background: rgba(16, 27, 62, .07);
    color: #0D152E;
}

.chem-mobile-toggle {
    border-radius: 6px;
    background: transparent;
    color: #fff;
}

.chem-mobile-contact-email {
    display: none;
}

.chem-mobile-menu {
    background: rgba(4, 10, 27, .7);
}

.chem-mobile-menu-panel {
    background: var(--chem-primary-dark);
    box-shadow: 16px 0 40px rgba(0, 0, 0, .32);
}

.chem-mobile-menu-head {
    border-bottom-color: rgba(255, 255, 255, .14);
}

.chem-mobile-menu-head img {
    width: 70px;
    height: 70px;
}

.chem-mobile-close {
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
}

.chem-mobile-menu a {
    border-bottom-color: rgba(255, 255, 255, .1);
    color: #fff;
}

.chem-mobile-menu ul ul a {
    color: var(--chem-text-soft);
}

.chem-mobile-program-menu-group > a {
    color: var(--chem-accent) !important;
    font-weight: 700;
}

.chem-mobile-program-menu-group .chem-mobile-program-link {
    padding-left: 34px;
    color: var(--chem-text-soft) !important;
    font-weight: 400;
}

.chem-hero-slider,
.chem-hero-slider .owl-carousel,
.chem-hero-slider .owl-stage-outer,
.chem-hero-slider .owl-stage,
.chem-hero-slider .owl-item,
.chem-hero-item,
.chem-hero-item .chem-home-banner {
    height: min(585px, 58vw);
    min-height: 440px;
}

.chem-home-banner {
    isolation: isolate;
    background: var(--chem-primary-dark);
}

.chem-home-banner::before,
.chem-home-banner.has-caption-yes::before,
.chem-home-banner.caption-left::before,
.chem-home-banner.caption-center::before,
.chem-home-banner.caption-right::before,
.chem-home-banner.text-dark::before,
.chem-home-banner.text-dark.caption-center::before,
.chem-home-banner.text-dark.caption-right::before {
    display: block;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 15, 41, .92) 0%, rgba(12, 24, 56, .76) 38%, rgba(13, 21, 46, .28) 66%, rgba(13, 21, 46, .1) 100%);
}

.chem-home-banner .chem-slide-vector {
    display: none !important;
}

.chem-home-banner-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.chem-home-banner-caption {
    z-index: 3;
    left: var(--chem-content-left);
    width: min(620px, 52%);
}

.chem-home-banner-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--chem-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
}

.chem-home-banner-caption h2 {
    font-size: clamp(42px, 4.5vw, 66px);
    letter-spacing: -.025em;
    text-shadow: none;
}

.chem-home-banner-caption p {
    max-width: 560px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 400;
    text-shadow: none;
}

.chem-home-banner-actions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.chem-home-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}

.chem-home-banner-button.is-primary {
    border-color: var(--chem-accent);
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
}

.chem-home-banner-button.is-primary:hover,
.chem-home-banner-button.is-primary:focus {
    border-color: #fff;
    background: #fff;
    color: var(--chem-primary-dark);
}

.chem-home-banner-button.is-outline {
    border-color: rgba(255, 255, 255, .64);
    background: rgba(16, 27, 62, .18);
    color: #fff;
}

.chem-home-banner-button.is-outline:hover,
.chem-home-banner-button.is-outline:focus {
    border-color: #fff;
    background: #fff;
    color: var(--chem-primary-dark);
}

.chem-home-banner-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
    margin-top: 26px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.chem-home-banner-highlights span {
    display: inline-flex;
    align-items: center;
}

.chem-home-banner-highlights span + span::before {
    width: 5px;
    height: 5px;
    margin: 0 15px;
    border-radius: 50%;
    background: var(--chem-accent);
    content: "";
}

.chem-hero-slider .owl-dots {
    right: auto;
    bottom: 24px;
    left: var(--chem-content-left);
}

.chem-hero-slider .owl-theme .owl-dots .owl-dot span,
.chem-hero-slider .owl-dot span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .42);
}

.chem-hero-slider .owl-theme .owl-dots .owl-dot.active span,
.chem-hero-slider .owl-dot.active span {
    width: 24px;
    border-radius: 999px;
    background: var(--chem-accent);
}

@media (max-width: 991px) {
    .chem-brandbar .container {
        min-height: 72px;
    }

    .chem-topbar,
    .chem-topbar-inner {
        min-height: 40px;
    }

    .chem-phone {
        display: none;
    }

    .chem-hero-slider,
    .chem-hero-slider .owl-carousel,
    .chem-hero-slider .owl-stage-outer,
    .chem-hero-slider .owl-stage,
    .chem-hero-slider .owl-item,
    .chem-hero-item,
    .chem-hero-item .chem-home-banner {
        height: 520px;
        min-height: 520px;
    }

    .chem-home-banner-caption {
        width: min(650px, calc(100% - 48px));
    }

    .chem-home-banner::before,
    .chem-home-banner.has-caption-yes::before {
        background: linear-gradient(90deg, rgba(5, 15, 41, .9), rgba(13, 21, 46, .62));
    }
}

@media (max-width: 575px) {
    .chem-topbar-contact {
        display: none;
    }

    .chem-topbar-inner {
        justify-content: flex-end;
    }

    .chem-wordmark img {
        width: 48px;
        height: 48px;
    }

    .chem-wordmark strong {
        font-size: 18px;
    }

    .chem-wordmark small {
        font-size: 8px;
    }


    .chem-hero-slider,
    .chem-hero-slider .owl-carousel,
    .chem-hero-slider .owl-stage-outer,
    .chem-hero-slider .owl-stage,
    .chem-hero-slider .owl-item,
    .chem-hero-item,
    .chem-hero-item .chem-home-banner {
        height: 500px;
        min-height: 500px;
    }

    .chem-home-banner-caption,
    .chem-home-banner.caption-left .chem-home-banner-caption,
    .chem-home-banner.caption-center .chem-home-banner-caption,
    .chem-home-banner.caption-right .chem-home-banner-caption {
        top: 48%;
        right: 24px;
        left: 24px;
        width: calc(100% - 48px);
        text-align: left;
        transform: translateY(-50%);
    }

    .chem-home-banner-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .chem-home-banner-caption h2 {
        font-size: 38px;
    }

    .chem-home-banner-caption p {
        font-size: 14px;
    }

    .chem-home-banner-actions {
        margin-top: 20px;
    }

    .chem-home-banner-button {
        min-height: 45px;
        padding: 9px 17px;
        font-size: 13px;
    }

    .chem-home-banner-highlights {
        margin-top: 20px;
        font-size: 12px;
    }

    .chem-home-banner-highlights span + span::before {
        margin: 0 9px;
    }
}

/* Responsive header and navigation: tablet and mobile only */
@media (max-width: 1199.98px) {
    .chem-site-header {
        position: sticky;
        top: 0;
        z-index: 950;
        transition: box-shadow .24s ease, background-color .24s ease;
    }

    .chem-site-header.is-responsive-scrolled {
        box-shadow: 0 10px 28px rgba(3, 10, 31, .24);
    }

    .chem-mainnav {
        display: none;
    }

    .chem-topbar,
    .chem-topbar-inner {
        min-height: 48px;
    }

    .chem-topbar-inner {
        gap: 12px;
    }

    .chem-topbar-contact {
        min-width: 0;
    }

    .chem-topbar-contact .chem-phone:not(:first-child) {
        display: none !important;
    }

    .chem-topbar-actions {
        gap: 10px;
    }

    .chem-lang-switch {
        min-width: 38px;
        height: 28px;
        font-size: 12px;
    }

    .chem-mobile-toggle {
        display: inline-flex;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(246, 197, 68, .7);
        border-radius: 12px;
        background: rgba(246, 197, 68, .1);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 8px 18px rgba(3, 10, 31, .2);
        color: #fff;
        transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    }

    .chem-mobile-toggle:hover,
    .chem-mobile-toggle:focus-visible {
        border-color: var(--chem-accent);
        background: var(--chem-accent);
        box-shadow: 0 10px 22px rgba(3, 10, 31, .28);
        color: var(--chem-primary-dark);
        outline: none;
        transform: translateY(-1px);
    }

    .chem-mobile-toggle:active {
        transform: translateY(0) scale(.96);
    }

    .chem-mobile-toggle-icon {
        display: grid;
        gap: 5px;
        width: 20px;
    }

    .chem-mobile-toggle-icon span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .chem-brandbar .container {
        min-height: 74px;
        transition: min-height .24s ease;
    }

    .chem-site-header.is-responsive-scrolled .chem-brandbar .container {
        min-height: 62px;
    }

    .chem-site-header.is-responsive-scrolled .chem-wordmark img {
        width: 46px;
        height: 46px;
    }

    .chem-site-header.is-responsive-scrolled .chem-wordmark strong {
        font-size: 18px;
    }

    .chem-site-header.is-responsive-scrolled .chem-wordmark small {
        font-size: 12px;
    }

    .chem-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: block;
        overflow: hidden;
        visibility: hidden;
        background: rgba(3, 10, 31, .62);
        opacity: 0;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s step-end;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

    .chem-mobile-menu.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transition: opacity .28s ease, visibility 0s;
    }

    .chem-mobile-menu-panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(420px, 92vw);
        min-height: 100%;
        max-height: 100dvh;
        padding: 0 20px 28px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: linear-gradient(180deg, #101B3E 0%, #0D152E 100%);
        box-shadow: -20px 0 46px rgba(3, 10, 31, .3);
        transform: translateX(100%);
        transition: transform .34s cubic-bezier(.16, 1, .3, 1);
        -webkit-overflow-scrolling: touch;
    }

    .chem-mobile-menu.is-open .chem-mobile-menu-panel {
        transform: translateX(0);
    }

    .chem-mobile-menu-head {
        position: sticky;
        top: 0;
        z-index: 2;
        align-items: center;
        min-height: 98px;
        padding: 18px 0;
        border-bottom-color: rgba(255, 255, 255, .14);
        background: #101B3E;
    }

    .chem-mobile-head-brand {
        align-items: center;
        gap: 12px;
        padding-right: 0;
    }

    .chem-mobile-head-brand img {
        width: 56px;
        height: 56px;
    }

    .chem-mobile-head-copy {
        display: flex;
        min-width: 0;
        flex-direction: column;
    }

    .chem-mobile-head-copy strong {
        overflow: hidden;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.3;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .chem-mobile-head-copy small {
        margin-top: 4px;
        color: var(--chem-accent);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .chem-mobile-close {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(246, 197, 68, .74);
        border-radius: 12px;
        background: rgba(246, 197, 68, .1);
        color: var(--chem-accent);
        transition: color .2s ease, background-color .2s ease, transform .2s ease;
    }

    .chem-mobile-close:hover,
    .chem-mobile-close:focus-visible {
        background: var(--chem-accent);
        color: var(--chem-primary-dark);
        outline: none;
        transform: rotate(90deg);
    }

    .chem-mobile-menu-panel > ul {
        padding-top: 12px;
    }

    .chem-mobile-menu-panel > ul > li > a {
        display: flex;
        align-items: center;
        min-height: 54px;
        padding: 14px 4px;
        border-bottom-color: rgba(255, 255, 255, .11);
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.35;
    }

    .chem-mobile-menu-panel > ul > li > a:hover,
    .chem-mobile-menu-panel > ul > li > a:focus-visible {
        color: var(--chem-accent);
        outline: none;
    }

    .chem-mobile-menu-panel > ul > li.has-submenu > a::after {
        width: 30px;
        height: 30px;
        border: 1px solid rgba(255, 255, 255, .17);
        border-radius: 9px;
        color: var(--chem-accent);
        font-size: 12px;
        line-height: 28px;
        text-align: center;
        transition: transform .24s ease, background-color .24s ease, color .24s ease;
    }

    .chem-mobile-menu-panel > ul > li.has-submenu.is-open > a::after {
        background: var(--chem-accent);
        color: var(--chem-primary-dark);
        transform: rotate(180deg);
    }

    .chem-mobile-menu-panel > ul > li > ul {
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 14px;
        border-bottom: 0;
        opacity: 0;
        transition: max-height .3s ease, padding .24s ease, opacity .2s ease;
    }

    .chem-mobile-menu-panel > ul > li.is-open > ul {
        padding: 6px 0 10px 14px;
        opacity: 1;
    }

    .chem-mobile-menu-panel > ul > li > ul a {
        min-height: 42px;
        padding: 10px 6px;
        border-bottom-color: rgba(255, 255, 255, .08);
        color: var(--chem-text-soft);
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
    }

    .chem-mobile-menu-panel > ul > li > ul a:hover,
    .chem-mobile-menu-panel > ul > li > ul a:focus-visible {
        color: #fff;
        outline: none;
    }

    .chem-mobile-menu-panel .chem-mobile-program-menu-group > a {
        color: var(--chem-accent) !important;
        font-weight: 700;
    }

    .chem-mobile-menu-panel .chem-mobile-program-menu-group .chem-mobile-program-link {
        padding-left: 18px;
        color: var(--chem-text-soft) !important;
        font-weight: 500;
    }
}

@media (max-width: 575.98px) {
    .chem-topbar-contact {
        display: none;
    }

    .chem-mobile-contact-email {
        display: inline-flex;
        min-width: 0;
        max-width: calc(100% - 164px);
        align-items: center;
        gap: 6px;
        overflow: hidden;
        color: #C7D0E2;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .chem-mobile-contact-email i {
        flex: 0 0 auto;
        color: var(--chem-accent);
        font-size: 11px;
    }

    .chem-mobile-contact-email:hover,
    .chem-mobile-contact-email:focus-visible {
        color: #fff;
        outline: none;
    }

    .chem-topbar-inner {
        justify-content: space-between;
    }

    .chem-brandbar .container {
        min-height: 68px;
    }

    .chem-wordmark img {
        width: 46px;
        height: 46px;
    }

    .chem-wordmark strong {
        font-size: 18px;
    }

    .chem-wordmark small {
        font-size: 10px;
        letter-spacing: .06em;
    }

    .chem-mobile-menu-panel {
        width: min(390px, 92vw);
        padding-right: 16px;
        padding-left: 16px;
    }

    .chem-mobile-menu-head {
        min-height: 88px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .chem-mobile-head-brand img {
        width: 50px;
        height: 50px;
    }

    .chem-mobile-head-copy strong {
        font-size: 15px;
    }

    .chem-mobile-head-copy small {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chem-site-header,
    .chem-brandbar .container,
    .chem-mobile-toggle,
    .chem-mobile-menu,
    .chem-mobile-menu-panel,
    .chem-mobile-close,
    .chem-mobile-menu-panel > ul > li > ul,
    .chem-mobile-menu-panel > ul > li.has-submenu > a::after {
        transition-duration: .01ms !important;
    }
}

/* Chemistry search experience */
.chem-search-hero {
    padding: 54px 0 112px;
    background:
        radial-gradient(circle at 85% 20%, rgba(246, 197, 68, .16), transparent 23%),
        linear-gradient(135deg, #101B3E 0%, #0D152E 100%);
}

.chem-search-hero-inner {
    color: #fff;
}

.chem-search-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .68);
    font-size: 13px;
}

.chem-search-breadcrumb a {
    color: var(--chem-accent);
    font-weight: 600;
}

.chem-search-breadcrumb i {
    font-size: 10px;
}

.chem-search-hero-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.chem-search-hero-icon,
.chem-search-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 16px;
}

.chem-search-hero-icon {
    width: 58px;
    height: 58px;
    background: rgba(246, 197, 68, .14);
    color: var(--chem-accent);
    font-size: 23px;
}

.chem-search-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3.6vw, 46px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.chem-search-hero p {
    max-width: 680px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .74);
    font-size: 16px;
    line-height: 1.65;
}

.chem-search-page {
    min-height: 540px;
    padding: 28px 0 82px;
    background: linear-gradient(180deg, #F4F7FC 0%, #fff 38%, #F8FAFD 100%);
}

.chem-search-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
    margin-top: 0;
    padding: 26px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 8%, rgba(246, 197, 68, .2), transparent 23%),
        linear-gradient(135deg, #101B3E 0%, #0D152E 100%);
    box-shadow: 0 20px 44px rgba(13, 21, 46, .2);
}

.chem-search-form-head {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.chem-search-form-head > div > span {
    color: var(--chem-accent);
}

.chem-search-form-head > div > strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.chem-search-form .chem-search-scope {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
}

.chem-search-form .chem-search-scope span {
    color: rgba(255, 255, 255, .78);
}

.chem-search-form .chem-search-scope input:checked + span {
    color: var(--chem-primary-dark);
}

.chem-search-summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 20px;
    color: #5E708A;
    font-size: 15px;
}

.chem-search-summary > i {
    color: var(--chem-primary);
    font-size: 18px;
}

.chem-search-summary > i + span {
    margin-left: -4px;
}

.chem-search-summary > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: baseline;
}

.chem-search-summary strong {
    color: var(--chem-primary-dark);
    font-size: 17px;
    font-weight: 700;
}

.chem-search-count {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(246, 197, 68, .24);
    color: var(--chem-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.chem-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.chem-search-result-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 38px;
    gap: 15px;
    align-items: start;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(16, 27, 62, .11);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(13, 21, 46, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.chem-search-result-card:hover {
    border-color: rgba(16, 27, 62, .28);
    box-shadow: 0 17px 32px rgba(13, 21, 46, .12);
    transform: translateY(-3px);
}

.chem-search-result-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #EEF2FA;
    color: var(--chem-primary);
    font-size: 20px;
}

.chem-search-result-body {
    min-width: 0;
}

.chem-search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 9px;
}

.chem-search-result-meta span {
    padding: 3px 8px;
    border-radius: 999px;
    background: #F2F5FA;
    color: #5B6D86;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
}

.chem-search-result-meta span:first-child {
    background: rgba(246, 197, 68, .2);
    color: #75520A;
}

.chem-search-result-card h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.38;
}

.chem-search-result-card h2 a {
    color: var(--chem-primary-dark);
}

.chem-search-result-card h2 a:hover,
.chem-search-result-card h2 a:focus-visible {
    color: #355C93;
    outline: none;
}

.chem-search-result-card p {
    display: -webkit-box;
    margin: 9px 0 0;
    overflow: hidden;
    color: #65758C;
    font-size: 14px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.chem-search-result-link {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 27, 62, .15);
    border-radius: 11px;
    color: var(--chem-primary);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.chem-search-result-link:hover,
.chem-search-result-link:focus-visible,
.chem-search-result-card:hover .chem-search-result-link {
    background: var(--chem-primary);
    color: #fff;
    outline: none;
    transform: translateX(2px);
}

.chem-search-empty {
    padding: 58px 24px;
    border: 1px dashed rgba(16, 27, 62, .22);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.chem-search-empty-icon {
    width: 66px;
    height: 66px;
    background: #EEF2FA;
    color: var(--chem-primary);
    font-size: 28px;
}

.chem-search-empty h2 {
    margin: 18px 0 8px;
    color: var(--chem-primary-dark);
    font-size: 24px;
    font-weight: 700;
}

.chem-search-empty p {
    margin: 0;
    color: #64748B;
}

.chem-search-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
}

.chem-search-pagination-pages {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.chem-search-pagination a,
.chem-search-pagination-ellipsis {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--chem-primary);
    font-size: 14px;
    font-weight: 700;
}

.chem-search-pagination-pages a {
    border: 1px solid rgba(16, 27, 62, .14);
    background: #fff;
}

.chem-search-pagination-pages a:hover,
.chem-search-pagination-pages a:focus-visible,
.chem-search-pagination-pages a.is-active {
    border-color: var(--chem-primary);
    background: var(--chem-primary);
    color: #fff;
    outline: none;
}

.chem-search-pagination-prev,
.chem-search-pagination-next {
    gap: 8px;
    min-width: auto !important;
    padding: 0 13px;
    border: 1px solid rgba(16, 27, 62, .14);
    background: #fff;
}

.chem-search-pagination-prev:hover,
.chem-search-pagination-prev:focus-visible,
.chem-search-pagination-next:hover,
.chem-search-pagination-next:focus-visible {
    border-color: var(--chem-accent);
    background: rgba(246, 197, 68, .2);
    color: var(--chem-primary-dark);
    outline: none;
}

@media (max-width: 991.98px) {
    .chem-home-search-panel {
        grid-template-columns: 1fr;
    }

    .chem-search-scope {
        justify-self: start;
    }

    .chem-search-results {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .chem-home-search-section {
        padding: 20px 0 28px;
    }

    .chem-home-search-panel {
        gap: 18px;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .chem-home-search-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 18px;
    }

    .chem-home-search-intro {
        gap: 12px;
    }

    .chem-home-search-intro h2 {
        font-size: 22px;
    }

    .chem-home-search-intro p {
        font-size: 13px;
    }

    .chem-search-scope {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chem-search-scope span {
        width: 100%;
        padding: 8px 6px;
        font-size: 12px;
    }

    .chem-search-control {
        grid-template-columns: 46px minmax(0, 1fr);
        border-radius: 12px;
    }

    .chem-search-control input {
        min-height: 54px;
        font-size: 14px;
    }

    .chem-search-control .chem-search-submit {
        grid-column: 1 / -1;
        min-height: 50px;
    }

    .chem-search-clear {
        right: 12px;
    }

    .chem-search-hero {
        padding: 36px 0 86px;
    }

    .chem-search-breadcrumb {
        margin-bottom: 20px;
    }

    .chem-search-hero-content {
        gap: 13px;
    }

    .chem-search-hero-icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 18px;
    }

    .chem-search-hero p {
        font-size: 14px;
    }

    .chem-search-page {
        padding-top: 20px;
    }

    .chem-search-form {
        gap: 18px;
        margin-top: 0;
        padding: 20px 16px;
        border-radius: 16px;
    }

    .chem-search-form-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .chem-search-form-head > div > strong {
        font-size: 16px;
    }

    .chem-search-summary {
        align-items: flex-start;
        flex-direction: column;
        margin: 24px 0 16px;
    }

    .chem-search-result-card {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 13px;
        padding: 16px;
        border-radius: 14px;
    }

    .chem-search-result-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 18px;
    }

    .chem-search-result-card h2 {
        font-size: 17px;
    }

    .chem-search-result-link {
        grid-column: 2;
        justify-self: start;
    }

    .chem-search-pagination {
        gap: 8px;
    }

    .chem-search-pagination-prev span,
    .chem-search-pagination-next span {
        display: none;
    }

    .chem-search-pagination-prev,
    .chem-search-pagination-next {
        min-width: 40px !important;
        padding: 0;
    }
}

/* Chemistry contact: facilities description inside the left column */
.chem-contact-facilities {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid rgba(16, 27, 62, .08);
    border-radius: 12px;
    background: #F8FAFD;
}

.chem-contact-facilities > div {
    min-width: 0;
}

.chem-contact-facilities strong {
    display: block;
    margin-bottom: 6px;
    color: var(--chem-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.chem-contact-facilities p {
    margin: 0;
    color: #64728A;
    font-size: 16px;
    line-height: 1.75;
}
/* =========================================================
   CMU-CHEM-HISTORY-START
   Department of Chemistry : History Page
========================================================= */

.chem-history-page {
    --history-primary: #101B3E;
    --history-primary-dark: #0D152E;
    --history-accent: #F6C544;
    --history-text: #26344F;
    --history-muted: #6C7890;
    --history-border: #E5EAF2;
    --history-soft: #F5F7FB;

    position: relative;
    width: 100%;
    color: var(--history-text);
    font-family: "Prompt", Arial, sans-serif;
}

.chem-history-page *,
.chem-history-page *::before,
.chem-history-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   COMMON
========================================================= */

.chem-history-page .chem-history-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 15px;
    color: #8A6913;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .13em;
}

.chem-history-page .chem-history-kicker-line {
    display: block;
    width: 34px;
    height: 3px;
    flex: 0 0 34px;
    border-radius: 99px;
    background: var(--history-accent);
}

.chem-history-page p {
    margin: 0 0 18px;
    padding: 0;
    color: var(--history-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
}

.chem-history-page .chem-history-lead {
    color: #35425C;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}


/* =========================================================
   TITLE
========================================================= */

.chem-history-page .chem-history-title {
    margin: 0 0 24px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--history-primary-dark) !important;
    font-size: clamp(34px, 4.4vw, 50px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em;
    text-align: left !important;
}

.chem-history-page .chem-history-title::before,
.chem-history-page .chem-history-title::after {
    display: none !important;
    content: none !important;
}

.chem-history-page .chem-history-title > span {
    display: block;
    margin: 8px 0 0;
    color: #50617D;
    font-size: clamp(18px, 2vw, 23px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
}

.chem-history-page .chem-history-section-title {
    margin: 0 0 26px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--history-primary-dark) !important;
    font-size: clamp(30px, 3.4vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -.02em;
    text-align: left !important;
}

.chem-history-page .chem-history-section-title::before,
.chem-history-page .chem-history-section-title::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   IMAGES : FIXED 4:3
========================================================= */

.chem-history-page .chem-history-image {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 20px;
    background: #E8EDF5;
}

.chem-history-page .chem-history-image img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center;
    box-shadow: none !important;
}

.chem-history-page .chem-history-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: inherit;
}


/* =========================================================
   SECTION : INTRO
========================================================= */

.chem-history-page .chem-history-intro {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(300px, .92fr);
    gap: clamp(34px, 5vw, 64px);
    align-items: center;
    width: 100%;
    padding: 10px 0 62px;
}

.chem-history-page .chem-history-intro-content {
    min-width: 0;
}

.chem-history-page .chem-history-intro-visual {
    position: relative;
    min-width: 0;
    padding: 0 14px 22px 0;
}

.chem-history-page .chem-history-intro-visual::before {
    content: "";
    position: absolute;
    top: 28px;
    right: 0;
    bottom: 0;
    left: 28px;
    border-radius: 22px;
    background: var(--history-primary);
}

.chem-history-page .chem-history-image-intro {
    z-index: 2;
    border-radius: 20px;
    box-shadow: 0 24px 44px rgba(13, 21, 46, .16);
}

.chem-history-page .chem-history-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    min-width: 245px;
    padding: 14px 19px;
    border-left: 4px solid var(--history-accent);
    border-radius: 8px 0 8px 0;
    background: var(--history-primary-dark);
    box-shadow: 0 12px 26px rgba(13, 21, 46, .24);
}

.chem-history-page .chem-history-image-caption span,
.chem-history-page .chem-history-image-caption strong {
    display: block;
    margin: 0;
}

.chem-history-page .chem-history-image-caption span {
    color: var(--history-accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.chem-history-page .chem-history-image-caption strong {
    margin-top: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}


/* INTRO SMALL HIGHLIGHT */

.chem-history-page .chem-history-intro-highlight {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 8px;
    padding: 12px 17px;
    border: 1px solid var(--history-border);
    border-radius: 12px;
    background: var(--history-soft);
}

.chem-history-page .chem-history-highlight-icon {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    border-radius: 10px;
    background: var(--history-primary);
    color: var(--history-accent);
    font-size: 16px;
}

.chem-history-page .chem-history-intro-highlight strong,
.chem-history-page .chem-history-intro-highlight > div > span {
    display: block;
}

.chem-history-page .chem-history-intro-highlight strong {
    color: var(--history-primary-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.chem-history-page .chem-history-intro-highlight > div > span {
    margin-top: 2px;
    color: var(--history-muted);
    font-size: 11px;
    line-height: 1.4;
}


/* =========================================================
   SECTION : HISTORY STORY
========================================================= */

.chem-history-page .chem-history-story {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(280px, .9fr)
        minmax(0, 1.1fr);
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
    width: calc(100% + 56px);
    margin: 0 -28px;
    padding: 58px 28px;
    overflow: hidden;
    border-top: 1px solid var(--history-border);
    border-bottom: 1px solid var(--history-border);
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(246, 197, 68, .12),
            transparent 27%
        ),
        #F7F9FC;
}

.chem-history-page .chem-history-story::after {
    content: "";
    position: absolute;
    top: -85px;
    right: -85px;
    width: 200px;
    height: 200px;
    border: 36px solid rgba(16, 27, 62, .035);
    border-radius: 50%;
    pointer-events: none;
}

.chem-history-page .chem-history-story-visual {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 26px 0 0 20px;
}

.chem-history-page .chem-history-image-story {
    border-radius: 20px;
    box-shadow: 0 22px 42px rgba(13, 21, 46, .14);
}

.chem-history-page .chem-history-year {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    display: flex;
    width: 104px;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    padding: 13px 15px;
    border-bottom: 4px solid var(--history-accent);
    border-radius: 14px;
    background: var(--history-primary);
    box-shadow: 0 14px 28px rgba(13, 21, 46, .25);
}

.chem-history-page .chem-history-year span {
    color: rgba(255, 255, 255, .62);
    font-size: 8px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .12em;
}

.chem-history-page .chem-history-year strong {
    display: block;
    margin: 2px 0 0;
    color: #fff;
    font-size: 29px;
    font-weight: 600;
    line-height: 1.1;
}

.chem-history-page .chem-history-year small {
    display: block;
    margin-top: 2px;
    color: var(--history-accent);
    font-size: 12px;
    font-weight: 600;
}

.chem-history-page .chem-history-story-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}


/* FOUNDING INFO */

.chem-history-page .chem-history-founding {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 0 0 25px;
    padding: 16px 19px;
    border: 1px solid var(--history-border);
    border-left: 4px solid var(--history-accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(13, 21, 46, .055);
}

.chem-history-page .chem-history-founding-year {
    flex: 0 0 auto;
    color: var(--history-primary);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.chem-history-page .chem-history-founding-copy {
    min-width: 0;
    padding-left: 17px;
    border-left: 1px solid var(--history-border);
}

.chem-history-page .chem-history-founding-copy strong,
.chem-history-page .chem-history-founding-copy span {
    display: block;
}

.chem-history-page .chem-history-founding-copy strong {
    color: var(--history-primary-dark);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.chem-history-page .chem-history-founding-copy span {
    margin-top: 2px;
    color: var(--history-muted);
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   SECTION : MISSIONS
========================================================= */

.chem-history-page .chem-history-missions {
    width: 100%;
    padding: 64px 0 8px;
}

.chem-history-page .chem-history-missions-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr);
    gap: 35px;
    align-items: end;
    margin: 0 0 32px;
}

.chem-history-page .chem-history-missions-heading
.chem-history-section-title {
    margin-bottom: 0 !important;
}

.chem-history-page .chem-history-missions-heading > p {
    margin: 0;
    padding: 2px 0 2px 19px;
    border-left: 3px solid var(--history-accent);
    color: var(--history-muted);
    font-size: 13px;
    line-height: 1.75;
}


/* GRID */

.chem-history-page .chem-history-mission-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.chem-history-page .chem-history-mission {
    position: relative;
    min-width: 0;
    min-height: 228px;
    padding: 23px 20px 21px;
    overflow: hidden;
    border: 1px solid var(--history-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 21, 46, .055);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.chem-history-page .chem-history-mission::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(246, 197, 68, .08);
    pointer-events: none;
}

.chem-history-page .chem-history-mission:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 27, 62, .20);
    box-shadow: 0 18px 36px rgba(13, 21, 46, .10);
}

.chem-history-page .chem-history-mission-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 19px;
}

.chem-history-page .chem-history-mission-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--history-primary);
    color: var(--history-accent);
    font-size: 17px;
}

.chem-history-page .chem-history-mission-number {
    color: #DCE2ED;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.chem-history-page .chem-history-mission h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 9px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--history-primary-dark) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.chem-history-page .chem-history-mission h3::before,
.chem-history-page .chem-history-mission h3::after {
    display: none !important;
    content: none !important;
}

.chem-history-page .chem-history-mission > p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--history-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   SUMMERNOTE PREVIEW
========================================================= */

.note-editable .chem-history-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
}

.note-editable .chem-history-page img {
    cursor: default;
}


/* =========================================================
   RESPONSIVE : <= 1199px
========================================================= */

@media (max-width: 1199.98px) {

    .chem-history-page .chem-history-mission-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE : <= 991px
========================================================= */

@media (max-width: 991.98px) {

    .chem-history-page .chem-history-intro,
    .chem-history-page .chem-history-story {
        grid-template-columns: 1fr;
    }

    .chem-history-page .chem-history-intro {
        gap: 36px;
    }

    .chem-history-page .chem-history-intro-visual,
    .chem-history-page .chem-history-story-visual {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
    }

    .chem-history-page .chem-history-story {
        gap: 42px;
    }

}


/* =========================================================
   RESPONSIVE : <= 767px
========================================================= */

@media (max-width: 767.98px) {

    .chem-history-page .chem-history-intro {
        padding-bottom: 48px;
    }

    .chem-history-page .chem-history-story {
        width: calc(100% + 36px);
        margin-right: -18px;
        margin-left: -18px;
        padding: 46px 18px;
    }

    .chem-history-page .chem-history-missions {
        padding-top: 52px;
    }

    .chem-history-page .chem-history-missions-heading {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .chem-history-page .chem-history-missions-heading > p {
        max-width: 600px;
    }

}


/* =========================================================
   RESPONSIVE : <= 575px
========================================================= */

@media (max-width: 575.98px) {

    .chem-history-page .chem-history-title {
        font-size: 32px !important;
    }

    .chem-history-page .chem-history-title > span {
        font-size: 17px;
    }

    .chem-history-page .chem-history-section-title {
        font-size: 28px !important;
    }

    .chem-history-page .chem-history-lead {
        font-size: 15px;
    }

    .chem-history-page .chem-history-intro-visual {
        padding: 0 9px 19px 0;
    }

    .chem-history-page .chem-history-intro-visual::before {
        top: 18px;
        left: 18px;
    }

    .chem-history-page .chem-history-image,
    .chem-history-page .chem-history-image-intro,
    .chem-history-page .chem-history-image-story {
        border-radius: 15px;
    }

    .chem-history-page .chem-history-image-caption {
        right: 0;
        min-width: 0;
        max-width: calc(100% - 28px);
        padding: 11px 14px;
    }

    .chem-history-page .chem-history-story-visual {
        padding: 22px 0 0 12px;
    }

    .chem-history-page .chem-history-year {
        width: 87px;
        min-height: 94px;
        padding: 11px 12px;
        border-radius: 12px;
    }

    .chem-history-page .chem-history-year strong {
        font-size: 24px;
    }

    .chem-history-page .chem-history-founding {
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }

    .chem-history-page .chem-history-founding-year {
        font-size: 25px;
    }

    .chem-history-page .chem-history-founding-copy {
        padding-left: 12px;
    }

    .chem-history-page .chem-history-mission-grid {
        grid-template-columns: 1fr;
    }

    .chem-history-page .chem-history-mission {
        min-height: 0;
    }

    .note-editable .chem-history-page {
        padding: 18px;
    }

}


/* =========================================================
   CMU-CHEM-HISTORY-END
========================================================= */
/* =========================================================
   CMU-CHEM-VM-START
   CMU Chemistry : Vision & Mission
========================================================= */

.chem-vm-page {
    --vm-primary: #101B3E;
    --vm-primary-dark: #0D152E;
    --vm-accent: #F6C544;
    --vm-text: #26344F;
    --vm-muted: #6C7890;
    --vm-border: #E5EAF2;
    --vm-soft: #F5F7FB;

    position: relative;
    width: 100%;
    color: var(--vm-text);
    font-family: "Prompt", Arial, sans-serif;
}

.chem-vm-page *,
.chem-vm-page *::before,
.chem-vm-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   SHARED
========================================================= */

.chem-vm-page .chem-vm-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 14px;
    color: #8A6913;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .13em;
}

.chem-vm-page .chem-vm-kicker-line {
    display: block;
    width: 34px;
    height: 3px;
    flex: 0 0 34px;
    border-radius: 99px;
    background: var(--vm-accent);
}


/* =========================================================
   TITLE
========================================================= */

.chem-vm-page .chem-vm-title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--vm-primary-dark) !important;
    font-size: clamp(34px, 4vw, 48px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em;
    text-align: left !important;
}

.chem-vm-page .chem-vm-title::before,
.chem-vm-page .chem-vm-title::after {
    display: none !important;
    content: none !important;
}

.chem-vm-page .chem-vm-title > span {
    display: inline-block;
    margin-left: 10px;
    color: #71809A;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0;
}


/* =========================================================
   VISION
========================================================= */

.chem-vm-page .chem-vm-vision {
    padding: 10px 0 62px;
}

.chem-vm-page .chem-vm-vision-head {
    margin-bottom: 28px;
}

.chem-vm-page .chem-vm-vision-box {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 25px;
    align-items: center;
    overflow: hidden;
    padding: 38px 42px;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0,
            rgba(246, 197, 68, .16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--vm-primary-dark) 0%,
            var(--vm-primary) 100%
        );
    box-shadow: 0 20px 42px rgba(13, 21, 46, .15);
}

.chem-vm-page .chem-vm-vision-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--vm-accent);
}


/* VISION ICON */

.chem-vm-page .chem-vm-vision-icon {
    position: relative;
    z-index: 2;
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    color: var(--vm-accent);
    font-size: 28px;
}


/* VISION CONTENT */

.chem-vm-page .chem-vm-vision-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.chem-vm-page .chem-vm-vision-label {
    display: block;
    margin-bottom: 8px;
    color: var(--vm-accent);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .14em;
}

.chem-vm-page .chem-vm-vision-content p {
    max-width: 920px;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
}


/* DECORATIVE ICON */

.chem-vm-page .chem-vm-vision-decoration {
    position: absolute;
    right: -15px;
    bottom: -43px;
    color: rgba(255, 255, 255, .035);
    font-size: 175px;
    line-height: 1;
    transform: rotate(-10deg);
    pointer-events: none;
}


/* =========================================================
   MISSION
========================================================= */

.chem-vm-page .chem-vm-mission {
    padding: 0 0 10px;
}

.chem-vm-page .chem-vm-mission-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 30px;
}


/* MISSION TITLE */

.chem-vm-page .chem-vm-section-title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--vm-primary-dark) !important;
    font-size: clamp(30px, 3.4vw, 40px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em;
    text-align: left !important;
}

.chem-vm-page .chem-vm-section-title::before,
.chem-vm-page .chem-vm-section-title::after {
    display: none !important;
    content: none !important;
}

.chem-vm-page .chem-vm-section-title > span {
    display: inline-block;
    margin-left: 8px;
    color: #7B879D;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.chem-vm-page .chem-vm-mission-heading > p {
    margin: 0;
    padding: 2px 0 2px 19px;
    border-left: 3px solid var(--vm-accent);
    color: var(--vm-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   MISSION GRID
========================================================= */

.chem-vm-page .chem-vm-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}


/* CARD */

.chem-vm-page .chem-vm-mission-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 250px;
    padding: 26px 24px 23px;
    border: 1px solid var(--vm-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 21, 46, .055);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.chem-vm-page .chem-vm-mission-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--vm-primary) 0%,
            var(--vm-accent) 100%
        );
}

.chem-vm-page .chem-vm-mission-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: rgba(246, 197, 68, .07);
    pointer-events: none;
}

.chem-vm-page .chem-vm-mission-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 27, 62, .18);
    box-shadow: 0 18px 38px rgba(13, 21, 46, .10);
}


/* CARD HEADER */

.chem-vm-page .chem-vm-card-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 21px;
}

.chem-vm-page .chem-vm-card-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--vm-primary);
    color: var(--vm-accent);
    font-size: 18px;
}

.chem-vm-page .chem-vm-card-number {
    color: #DCE2ED;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}


/* CARD CONTENT */

.chem-vm-page .chem-vm-mission-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 9px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--vm-primary-dark) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.chem-vm-page .chem-vm-mission-card h3::before,
.chem-vm-page .chem-vm-mission-card h3::after {
    display: none !important;
    content: none !important;
}

.chem-vm-page .chem-vm-mission-card p {
    position: relative;
    z-index: 2;
    margin: 0 0 20px;
    padding: 0;
    color: var(--vm-muted);
    font-size: 13px;
    line-height: 1.8;
}

.chem-vm-page .chem-vm-card-en {
    position: absolute;
    bottom: 21px;
    left: 24px;
    z-index: 2;
    color: #9AA5B8;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .12em;
}


/* =========================================================
   SUMMERNOTE
========================================================= */

.note-editable .chem-vm-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .chem-vm-page .chem-vm-mission-grid {
        grid-template-columns: 1fr;
    }

    .chem-vm-page .chem-vm-mission-card {
        min-height: 220px;
    }

}


@media (max-width: 767.98px) {

    .chem-vm-page .chem-vm-vision {
        padding-bottom: 48px;
    }

    .chem-vm-page .chem-vm-vision-box {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 27px;
    }

    .chem-vm-page .chem-vm-vision-icon {
        width: 58px;
        height: 58px;
        font-size: 23px;
    }

    .chem-vm-page .chem-vm-vision-content p {
        font-size: 15px;
    }

    .chem-vm-page .chem-vm-mission-heading {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .chem-vm-page .chem-vm-mission-heading > p {
        max-width: 600px;
    }

}


@media (max-width: 575.98px) {

    .chem-vm-page .chem-vm-title {
        font-size: 32px !important;
    }

    .chem-vm-page .chem-vm-title > span {
        display: block;
        margin: 5px 0 0;
        font-size: 16px;
    }

    .chem-vm-page .chem-vm-section-title {
        font-size: 28px !important;
    }

    .chem-vm-page .chem-vm-section-title > span {
        font-size: 14px;
    }

    .chem-vm-page .chem-vm-vision-box {
        padding: 26px 22px;
        border-radius: 16px;
    }

    .chem-vm-page .chem-vm-vision-content p {
        font-size: 14px;
        line-height: 1.85;
    }

    .chem-vm-page .chem-vm-vision-decoration {
        font-size: 125px;
    }

    .chem-vm-page .chem-vm-mission-card {
        min-height: 0;
        padding-bottom: 55px;
    }

    .note-editable .chem-vm-page {
        padding: 18px;
    }

}


/* =========================================================
   CMU-CHEM-VM-END
========================================================= */

/* =========================================================
   Scientific Facilities & Services
========================================================= */

.chem-service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(120deg,#0D152E 0%,#101B3E 58%,#22396F 100%);
    color: #fff;
}

.chem-service-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,rgba(5,13,36,.85),rgba(13,21,46,.35));
    content: "";
}

.chem-service-hero-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    opacity: .65;
    background-image: linear-gradient(rgba(246,197,68,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(246,197,68,.10) 1px,transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg,#000,transparent 85%);
}

.chem-service-hero-copy {
    display: flex;
    min-height: 340px;
    align-items: center;
    gap: 22px;
    padding: 58px 0;
}

.chem-service-hero-icon {
    display: inline-flex;
    width: 74px;
    height: 74px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(246,197,68,.55);
    border-radius: 20px;
    background: rgba(246,197,68,.13);
    color: var(--chem-accent);
    font-size: 30px;
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.chem-service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 600;
}

.chem-service-breadcrumb a {
    color: var(--chem-accent);
    text-decoration: none;
}

.chem-service-breadcrumb a:hover,
.chem-service-breadcrumb a:focus-visible {
    color: #fff;
    outline: none;
}

.chem-service-breadcrumb i {
    color: rgba(255,255,255,.45);
    font-size: 9px;
}

.chem-service-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(34px,4vw,56px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.chem-service-hero p {
    max-width: 760px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.75;
}

.chem-services-page,
.chem-service-detail-page {
    min-height: 440px;
    background: #F5F7FB;
}

.chem-services-overview,
.chem-services-featured,
.chem-services-list-section {
    padding: 76px 0 82px;
}

.chem-services-featured {
    border-top: 1px solid rgba(16,27,62,.08);
    background: #fff;
}

.chem-services-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.chem-services-section-head > div > span,
.chem-services-card-body small {
    display: block;
    margin-bottom: 8px;
    color: #C58E12;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.chem-services-section-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: clamp(28px,3vw,40px);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.chem-services-booking-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 13px 16px;
    border: 1px solid var(--chem-accent);
    border-radius: 10px;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(246,197,68,.22);
    transition: background-color .2s ease,transform .2s ease;
}

.chem-services-booking-link:hover,
.chem-services-booking-link:focus-visible {
    background: #FFD568;
    color: var(--chem-primary-dark);
    outline: none;
    transform: translateY(-2px);
}

.chem-services-type-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
}

.chem-services-type-card {
    position: relative;
    display: flex;
    min-height: 178px;
    flex-direction: column;
    justify-content: space-between;
    padding: 21px;
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.11);
    border-radius: 14px;
    background: #fff;
    color: var(--chem-primary-dark);
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(13,21,46,.05);
    transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.chem-services-type-card::after {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 112px;
    height: 112px;
    border: 1px solid rgba(152,120,176,.16);
    border-radius: 50%;
    content: "";
}

.chem-services-type-card:hover,
.chem-services-type-card:focus-visible {
    border-color: rgba(246,197,68,.85);
    color: var(--chem-primary-dark);
    outline: none;
    box-shadow: 0 18px 35px rgba(13,21,46,.12);
    transform: translateY(-5px);
}

.chem-services-type-icon {
    display: inline-flex;
    width: 47px;
    height: 47px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(246,197,68,.16);
    color: #BD8915;
    font-size: 20px;
}

.chem-services-type-copy {
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 19px;
}

.chem-services-type-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.chem-services-type-copy small {
    display: block;
    margin-top: 7px;
    color: #6C7A93;
    font-size: 12px;
    font-weight: 600;
}

.chem-services-type-arrow {
    position: absolute;
    right: 20px;
    bottom: 21px;
    color: var(--chem-primary);
    font-size: 13px;
    transition: transform .2s ease;
}

.chem-services-type-card:hover .chem-services-type-arrow {
    transform: translateX(4px);
}

.chem-services-card-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: start;
    gap: 22px;
}

.chem-services-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(13,21,46,.07);
    transition: border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.chem-services-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg,var(--chem-accent),#9878B0,var(--chem-primary));
    content: "";
}

.chem-services-card:hover {
    border-color: rgba(58,80,117,.28);
    box-shadow: 0 24px 46px rgba(13,21,46,.15);
    transform: translateY(-6px);
}

.chem-services-card > a {
    display: flex;
    flex-direction: column;
    color: var(--chem-primary-dark);
    text-decoration: none;
}

.chem-services-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #EAF0F9;
}

.chem-services-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.chem-services-card:hover .chem-services-card-image img {
    transform: scale(1.05);
}

.chem-services-card-category,
.chem-services-card-gallery {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 28px);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

.chem-services-card-category {
    left: 14px;
    bottom: 14px;
    overflow: hidden;
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chem-services-card-gallery {
    top: 15px;
    right: 14px;
    background: rgba(13,21,46,.92);
    color: #fff;
    backdrop-filter: blur(7px);
}

.chem-services-card-body {
    display: flex;
    flex-direction: column;
    padding: 23px 23px 20px;
}

.chem-services-card-body h2,
.chem-services-card-body h3 {
    display: -webkit-box;
    min-height: 58px;
    margin: 0;
    overflow: hidden;
    color: var(--chem-primary-dark);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chem-services-card-facts {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin: 17px 0 0;
}

.chem-services-card-facts div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(16,27,62,.07);
    border-radius: 10px;
    background: #F7F9FC;
}

.chem-services-card-facts div:only-child,
.chem-services-card-facts div:nth-child(3) {
    grid-column: 1/-1;
}

.chem-services-card-facts dt {
    margin: 0 0 3px;
    color: #907022;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.3;
}

.chem-services-card-facts dd {
    margin: 0;
    overflow: hidden;
    color: #33415A;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chem-services-card-contact {
    display: grid;
    grid-template-columns: 35px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    margin-top: 13px;
    padding: 10px 12px;
    border-left: 3px solid #9878B0;
    border-radius: 8px;
    background: rgba(152,120,176,.09);
}

.chem-services-card-contact > i {
    display: inline-flex;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    color: #76568E;
    font-size: 14px;
}

.chem-services-card-contact > span {
    min-width: 0;
}

.chem-services-card-contact small,
.chem-services-card-contact strong,
.chem-services-card-contact em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chem-services-card-contact small {
    margin: 0 0 2px;
    color: #76568E;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
}

.chem-services-card-contact strong {
    color: var(--chem-primary-dark);
    font-size: 14px;
    font-weight: 600;
}

.chem-services-card-contact em {
    margin-top: 2px;
    color: #68758B;
    font-size: 12px;
    font-style: normal;
}

.chem-services-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid rgba(16,27,62,.08);
    color: var(--chem-primary);
    font-size: 14px;
    font-weight: 600;
}

.chem-services-card-footer::before {
    width: 28px;
    height: 2px;
    margin-right: auto;
    background: var(--chem-accent);
    content: "";
}

.chem-services-card-footer i {
    font-size: 11px;
    transition: transform .2s ease;
}

.chem-services-card:hover .chem-services-card-footer i {
    transform: translateX(4px);
}

.chem-services-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.chem-services-list-toolbar > span {
    color: #66758E;
    font-size: 14px;
    font-weight: 700;
}

.chem-services-search {
    display: flex;
    width: min(100%,420px);
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.16);
    border-radius: 10px;
    background: #fff;
}

.chem-services-search input {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--chem-primary-dark);
    font: inherit;
}

.chem-services-search button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border: 0;
    background: var(--chem-primary);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}

.chem-services-search button:hover,
.chem-services-search button:focus-visible {
    background: #3A5075;
    outline: none;
}

.chem-services-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 70px 25px;
    border: 1px dashed rgba(16,27,62,.22);
    border-radius: 16px;
    background: #fff;
    color: #66758E;
    text-align: center;
}

.chem-services-empty > i {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: rgba(246,197,68,.18);
    color: #B98210;
    font-size: 25px;
}

.chem-services-empty h1,
.chem-services-empty h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: 25px;
    font-weight: 600;
}

.chem-services-empty p {
    margin: 9px auto 20px;
    font-size: 15px;
    line-height: 1.65;
}

.chem-services-empty a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--chem-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.chem-services-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 38px;
}

.chem-services-pagination a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16,27,62,.15);
    border-radius: 8px;
    background: #fff;
    color: var(--chem-primary-dark);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.chem-services-pagination a:hover,
.chem-services-pagination a:focus-visible,
.chem-services-pagination a[aria-current="page"] {
    border-color: var(--chem-primary);
    background: var(--chem-primary);
    color: #fff;
    outline: none;
}

.chem-service-detail-hero {
    min-height: 380px;
}

.chem-service-detail-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .52;
}

.chem-service-detail-page {
    padding: 68px 0 82px;
}

.chem-service-detail-card,
.chem-service-contact-card {
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.11);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(13,21,46,.08);
}

.chem-service-detail-media {
    position: relative;
    margin: 0;
    padding: 20px 20px 0;
    background: linear-gradient(145deg,#101B3E 0%,#172A57 70%,#3A5075 100%);
}

.chem-service-detail-cover-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: #EAF0F9;
    box-shadow: 0 18px 38px rgba(2,8,25,.28);
}

.chem-service-detail-cover {
    display: block;
    width: 100%;
    height: 100%;
    background: #EAF0F9;
    object-fit: cover;
    transition: transform .45s ease,filter .45s ease;
}

.chem-service-detail-cover-link:not(.is-placeholder):hover .chem-service-detail-cover,
.chem-service-detail-cover-link:not(.is-placeholder):focus-visible .chem-service-detail-cover {
    filter: brightness(.8);
    transform: scale(1.035);
}

.chem-service-detail-cover-link:focus-visible {
    outline: 3px solid var(--chem-accent);
    outline-offset: 3px;
}

.chem-service-detail-zoom {
    position: absolute;
    right: 17px;
    bottom: 17px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(246,197,68,.5);
    border-radius: 999px;
    background: rgba(13,21,46,.88);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
    backdrop-filter: blur(8px);
    transition: background-color .2s ease,color .2s ease,transform .2s ease;
}

.chem-service-detail-cover-link:hover .chem-service-detail-zoom {
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    transform: translateY(-2px);
}

.chem-service-detail-media figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 3px 17px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.45;
}

.chem-service-detail-media figcaption > i {
    color: var(--chem-accent);
    font-size: 17px;
}

.chem-service-detail-media figcaption span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chem-service-detail-media figcaption strong {
    color: #fff;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.chem-service-detail-content {
    padding: 34px 38px 40px;
    color: #26324A;
    font-size: 16px;
    line-height: 1.95;
}

.chem-service-detail-content h1,
.chem-service-detail-content h2,
.chem-service-detail-content h3 {
    color: var(--chem-primary-dark);
    font-weight: 600;
}

.chem-service-detail-content img {
    max-width: 100%;
    height: auto;
}

.chem-service-detail-content table {
    width: 100%;
    margin-bottom: 1rem;
}

.chem-service-gallery {
    padding: 0 38px 40px;
}

.chem-service-gallery-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-top: 25px;
    border-top: 1px solid rgba(16,27,62,.1);
}

.chem-service-gallery h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: 22px;
    font-weight: 600;
}

.chem-service-gallery-head > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(152,120,176,.11);
    color: #76568E;
    font-size: 12px;
    font-weight: 600;
}

.chem-service-gallery > div:last-child {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.chem-service-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.09);
    border-radius: 12px;
    background: #EAF0F9;
    box-shadow: 0 9px 20px rgba(13,21,46,.08);
}

.chem-service-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.chem-service-gallery-item > span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,21,46,0);
    color: transparent;
    font-size: 24px;
    transition: background-color .25s ease,color .25s ease;
}

.chem-service-gallery-item:hover img,
.chem-service-gallery-item:focus-visible img {
    transform: scale(1.06);
}

.chem-service-gallery-item:hover > span,
.chem-service-gallery-item:focus-visible > span {
    background: rgba(13,21,46,.48);
    color: #fff;
}

.chem-service-gallery-item:focus-visible {
    outline: 3px solid var(--chem-accent);
    outline-offset: 3px;
}

.chem-service-contact-card {
    padding: 26px;
}

.chem-service-contact-card > span {
    display: block;
    margin-bottom: 19px;
    color: var(--chem-primary-dark);
    font-size: 17px;
    font-weight: 600;
}

.chem-service-contact-card > span i {
    margin-right: 7px;
    color: var(--chem-accent);
}

.chem-service-contact-card p {
    display: grid;
    grid-template-columns: 20px minmax(0,1fr);
    gap: 8px;
    margin: 0 0 14px;
    color: #66758E;
    font-size: 14px;
    line-height: 1.5;
}

.chem-service-contact-card p i {
    grid-row: span 2;
    color: #B98210;
}

.chem-service-contact-card p strong {
    color: var(--chem-primary-dark);
    font-size: 13px;
}

.chem-service-contact-card hr {
    margin: 21px 0;
    border-color: rgba(16,27,62,.1);
}

.chem-service-contact-card h2 {
    margin: 0 0 15px;
    color: var(--chem-primary-dark);
    font-size: 18px;
    font-weight: 600;
}

.chem-service-contact-card > a:not(.chem-service-external-link) {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 11px;
    color: var(--chem-primary);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.chem-service-contact-card > a:not(.chem-service-external-link) i {
    color: #B98210;
}

.chem-service-contact-actions {
    margin-top: 23px;
    padding: 16px;
    border: 1px solid rgba(152,120,176,.22);
    border-radius: 12px;
    background: linear-gradient(135deg,rgba(152,120,176,.11),rgba(246,197,68,.08));
}

.chem-service-contact-actions > strong {
    display: block;
    margin-bottom: 12px;
    color: var(--chem-primary-dark);
    font-size: 14px;
    font-weight: 600;
}

.chem-service-contact-actions > div {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

.chem-service-contact-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease,color .2s ease,transform .2s ease;
}

.chem-service-contact-action.is-phone {
    background: var(--chem-primary);
    color: #fff;
}

.chem-service-contact-action.is-email {
    border: 1px solid rgba(16,27,62,.16);
    background: #fff;
    color: var(--chem-primary-dark);
}

.chem-service-contact-action:hover,
.chem-service-contact-action:focus-visible {
    background: var(--chem-accent);
    color: var(--chem-primary-dark);
    outline: none;
    transform: translateY(-2px);
}

.chem-service-external-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--chem-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.chem-service-external-link:hover,
.chem-service-external-link:focus-visible {
    background: #3A5075;
    color: #fff;
    outline: none;
}

@media (max-width:1199.98px) {
    .chem-services-type-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .chem-services-card-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:767.98px) {
    .chem-service-hero-copy {
        min-height: 285px;
        align-items: flex-start;
        padding: 45px 0;
    }

    .chem-service-hero-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 21px;
    }

    .chem-service-hero h1 {
        font-size: 34px;
    }

    .chem-service-hero p {
        font-size: 15px;
    }

    .chem-services-overview,
    .chem-services-featured,
    .chem-services-list-section {
        padding: 52px 0 58px;
    }

    .chem-services-section-head,
    .chem-services-list-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 22px;
    }

    .chem-services-booking-link,
    .chem-services-search {
        width: 100%;
    }

    .chem-services-booking-link {
        justify-content: center;
    }

    .chem-services-type-grid,
    .chem-services-card-grid {
        grid-template-columns: 1fr;
    }

    .chem-services-type-card {
        min-height: 146px;
    }

    .chem-services-card-body {
        padding: 20px;
    }

    .chem-services-card-body h2,
    .chem-services-card-body h3 {
        min-height: 0;
        font-size: 20px;
    }

    .chem-service-detail-page {
        padding: 45px 0 58px;
    }

    .chem-service-detail-media {
        padding: 12px 12px 0;
    }

    .chem-service-detail-cover-link {
        border-radius: 10px;
    }

    .chem-service-detail-zoom {
        right: 10px;
        bottom: 10px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .chem-service-detail-content,
    .chem-service-gallery {
        padding-right: 22px;
        padding-left: 22px;
    }

    .chem-service-detail-content {
        padding-top: 25px;
        padding-bottom: 28px;
        font-size: 15px;
    }

    .chem-service-gallery {
        padding-bottom: 28px;
    }

    .chem-service-gallery > div:last-child {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .chem-service-contact-card {
        padding: 22px;
    }

    .chem-service-contact-actions > div {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion:reduce) {
    .chem-services-booking-link,
    .chem-services-type-card,
    .chem-services-card,
    .chem-services-card-image img,
    .chem-services-type-arrow,
    .chem-services-card-footer i,
    .chem-service-gallery img {
        transition: none;
    }
}

@media (max-width:991.98px) {
    .chem-resource-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:767.98px) {
    .chem-resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Research areas */

.chem-research-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#0D152E 0%,#101B3E 58%,#3A5075 160%);
}

.chem-research-hero::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 20%,rgba(152,120,176,.28),transparent 27%),radial-gradient(circle at 72% 125%,rgba(246,197,68,.16),transparent 38%);
    content: "";
    pointer-events: none;
}

.chem-research-hero-pattern {
    position: absolute;
    z-index: 1;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg,transparent,black 42%,black);
}

.chem-research-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 330px;
    justify-content: center;
    flex-direction: column;
    padding: 58px 0;
}

.chem-research-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    font-weight: 700;
}

.chem-research-breadcrumb a {
    color: var(--chem-accent);
    text-decoration: none;
}

.chem-research-breadcrumb a:hover,
.chem-research-breadcrumb a:focus-visible {
    color: #fff;
    outline: 0;
}

.chem-research-breadcrumb i {
    font-size: 9px;
    opacity: .72;
}

.chem-research-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-bottom: 12px;
    color: var(--chem-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.chem-research-hero h1 {
    max-width: 830px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px,4.6vw,64px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.chem-research-hero p {
    max-width: 720px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.chem-research-page {
    min-height: 580px;
    padding: 68px 0 84px;
    background: linear-gradient(180deg,#F4F7FC 0%,#fff 48%,#F5F7FB 100%);
}

.chem-research-section-head,
.chem-research-people-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 30px;
}

.chem-research-section-head>div>span,
.chem-research-people-head>div>span,
.chem-research-intro-card>div>span {
    display: block;
    margin-bottom: 7px;
    color: #B98210;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.chem-research-section-head h2,
.chem-research-people-head h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: clamp(29px,3.1vw,42px);
    font-weight: 600;
    letter-spacing: -.035em;
}

.chem-research-section-head p {
    max-width: 500px;
    margin: 0;
    color: #68758B;
    font-size: 15px;
    line-height: 1.7;
}

.chem-research-area-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.chem-research-area-card {
    position: relative;
    display: flex;
    min-height: 238px;
    flex-direction: column;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(13,21,46,.065);
    color: var(--chem-primary-dark);
    text-decoration: none;
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.chem-research-area-card::after {
    position: absolute;
    right: -52px;
    bottom: -64px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(152,120,176,.19);
    border-radius: 50%;
    content: "";
    transition: transform .3s ease,background-color .3s ease;
}

.chem-research-area-card:hover,
.chem-research-area-card:focus-visible {
    border-color: rgba(152,120,176,.48);
    box-shadow: 0 23px 46px rgba(13,21,46,.13);
    color: var(--chem-primary-dark);
    outline: 0;
    transform: translateY(-6px);
}

.chem-research-area-card:hover::after,
.chem-research-area-card:focus-visible::after {
    background: rgba(152,120,176,.06);
    transform: scale(1.18);
}

.chem-research-area-index {
    position: absolute;
    top: 19px;
    right: 22px;
    color: rgba(16,27,62,.13);
    font-size: 35px;
    font-weight: 600;
    line-height: 1;
}

.chem-research-area-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg,rgba(246,197,68,.27),rgba(152,120,176,.16));
    color: #B98210;
    font-size: 20px;
}

.chem-research-area-copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.chem-research-area-copy strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.chem-research-area-copy small {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: #738199;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chem-research-area-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    color: #52627C;
    font-size: 12px;
    font-weight: 600;
}

.chem-research-area-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.chem-research-area-meta span i {
    color: #9878B0;
}

.chem-research-area-meta>i {
    color: #B98210;
    transition: transform .2s ease;
}

.chem-research-area-card:hover .chem-research-area-meta>i {
    transform: translateX(5px);
}

.chem-research-area-watermark {
    position: absolute;
    right: 5px;
    bottom: 3px;
    z-index: 0;
    display: flex;
    width: 86px;
    height: 86px;
    align-items: center;
    justify-content: center;
    color: #9878B0;
    font-size: 47px;
    opacity: .1;
    transform: rotate(-9deg);
    transition: opacity .3s ease,transform .3s ease;
}

.chem-research-area-card:hover .chem-research-area-watermark,
.chem-research-area-card:focus-visible .chem-research-area-watermark {
    opacity: .2;
    transform: rotate(0) scale(1.08);
}

.chem-research-intro-card {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 54px;
    padding: 31px 34px;
    border: 1px solid rgba(16,27,62,.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(13,21,46,.075);
}

.chem-research-intro-icon {
    display: inline-flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg,#101B3E,#3A5075);
    color: var(--chem-accent);
    font-size: 25px;
}

.chem-research-intro-card h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.chem-research-intro-card p {
    margin: 10px 0 0;
    color: #64728A;
    font-size: 15px;
    line-height: 1.8;
}

.chem-research-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 14px;
    border: 1px solid rgba(16,27,62,.14);
    border-radius: 9px;
    color: var(--chem-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.chem-research-back-link:hover,
.chem-research-back-link:focus-visible {
    border-color: #9878B0;
    background: #EEE9F3;
    color: #76568A;
    outline: 0;
}

.chem-research-people-head {
    margin-bottom: 25px;
}

.chem-research-people-head p {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    margin: 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #EEE9F3;
    color: #76568A;
    font-size: 13px;
    font-weight: 600;
}

.chem-research-area-switcher {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin: -27px 0 42px;
    padding: 18px 20px;
    border: 1px solid rgba(16,27,62,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 28px rgba(13,21,46,.04);
}

.chem-research-area-switcher>span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    color: #63718A;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.chem-research-area-switcher>span i {
    color: #B98210;
}

.chem-research-area-switcher>div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chem-research-area-switcher a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(16,27,62,.11);
    border-radius: 999px;
    background: #fff;
    color: #50617C;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: background-color .2s ease,border-color .2s ease,color .2s ease;
}

.chem-research-area-switcher a:hover,
.chem-research-area-switcher a:focus-visible {
    border-color: #9878B0;
    background: #EEE9F3;
    color: #76568A;
    outline: 0;
}

.chem-research-area-switcher a[aria-current="page"] {
    border-color: #101B3E;
    background: #101B3E;
    color: #fff;
    pointer-events: none;
}

.chem-research-people-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}

.chem-research-person-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(16,27,62,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 34px rgba(13,21,46,.06);
    color: var(--chem-primary-dark);
    text-decoration: none;
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.chem-research-person-card:hover,
.chem-research-person-card:focus-visible {
    border-color: rgba(152,120,176,.45);
    box-shadow: 0 23px 46px rgba(13,21,46,.13);
    color: var(--chem-primary-dark);
    outline: 0;
    transform: translateY(-5px);
}

.chem-research-person-visual {
    position: relative;
    display: flex;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg,#E9EEF7,#F5F1F8);
    color: #9878B0;
    font-size: 47px;
}

.chem-research-person-visual::before {
    position: absolute;
    z-index: 2;
    inset: 42% 0 0;
    background: linear-gradient(180deg,transparent,rgba(13,21,46,.54));
    content: "";
    opacity: .78;
    pointer-events: none;
}

.chem-research-person-visual::after {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg,#9878B0 0%,#3A5075 58%,#F6C544 100%);
    content: "";
    pointer-events: none;
}

.chem-research-person-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: filter .35s ease,transform .45s cubic-bezier(.2,.65,.3,1);
}

.chem-research-person-card:hover .chem-research-person-visual img {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.045);
}

.chem-research-person-image-status {
    position: absolute;
    z-index: 4;
    right: 15px;
    bottom: 15px;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    background: rgba(16,27,62,.76);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 9px 24px rgba(13,21,46,.24);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.chem-research-person-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 18px;
}

.chem-research-person-copy>small {
    color: #B98210;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .07em;
    line-height: 1.5;
}

.chem-research-person-copy>strong {
    margin-top: 7px;
    color: var(--chem-primary-dark);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.35;
}

.chem-research-person-copy>em {
    margin-top: 7px;
    color: #63718A;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
}

.chem-research-person-interest {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 16px;
    color: #596A85;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.chem-research-person-interest i {
    flex: 0 0 auto;
    margin-top: 3px;
    color: #9878B0;
}

.chem-research-person-interest>span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chem-research-person-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 22px 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(16,27,62,.1);
    color: var(--chem-primary);
    font-size: 13px;
    font-weight: 600;
}

.chem-research-person-action i {
    color: #B98210;
    transition: transform .2s ease;
}

.chem-research-person-card:hover .chem-research-person-action i {
    transform: translateX(5px);
}

.chem-research-empty {
    max-width: 660px;
    margin: 36px auto;
    padding: 64px 28px;
    border: 1px dashed rgba(16,27,62,.22);
    border-radius: 18px;
    background: #fff;
    color: #718097;
    text-align: center;
}

.chem-research-empty>span {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 18px;
    background: #EEE9F3;
    color: #9878B0;
    font-size: 26px;
}

.chem-research-empty h2 {
    margin: 0;
    color: var(--chem-primary-dark);
    font-size: 24px;
    font-weight: 600;
}

.chem-research-empty p {
    margin: 9px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.chem-person-research-anchor {
    scroll-margin-top: 135px;
}

@media (max-width:991.98px) {
    .chem-research-area-grid,
    .chem-research-people-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .chem-research-intro-card {
        grid-template-columns: auto minmax(0,1fr);
    }

    .chem-research-back-link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width:767.98px) {
    .chem-research-hero-inner {
        min-height: 274px;
        padding: 44px 0;
    }

    .chem-research-hero h1 {
        font-size: 38px;
    }

    .chem-research-hero p {
        font-size: 15px;
    }

    .chem-research-page {
        padding: 46px 0 60px;
    }

    .chem-research-section-head,
    .chem-research-people-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 23px;
    }

    .chem-research-area-grid,
    .chem-research-people-grid {
        grid-template-columns: 1fr;
    }

    .chem-research-area-card {
        min-height: 210px;
    }

    .chem-research-intro-card {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 24px 20px;
    }

    .chem-research-intro-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
        font-size: 22px;
    }

    .chem-research-back-link {
        grid-column: auto;
    }

    .chem-research-intro-card h2 {
        font-size: 24px;
    }

    .chem-research-area-switcher {
        flex-direction: column;
        gap: 9px;
        margin-top: -17px;
        margin-bottom: 32px;
        padding: 16px;
    }

    .chem-research-person-copy {
        padding: 20px 19px 17px;
    }

    .chem-research-person-action {
        margin-right: 19px;
        margin-left: 19px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .chem-research-area-card,
    .chem-research-area-card::after,
    .chem-research-area-watermark,
    .chem-research-area-meta>i,
    .chem-research-person-card,
    .chem-research-person-visual img,
    .chem-research-person-action i {
        transition: none;
    }
}

/* Keep incomplete research-area rows visually balanced. */

.chem-research-area-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.chem-research-area-card {
    width: calc((100% - 36px)/3);
    flex: 0 1 calc((100% - 36px)/3);
}

@media (max-width:991.98px) {
    .chem-research-area-card {
        width: calc((100% - 18px)/2);
        flex-basis: calc((100% - 18px)/2);
    }
}

@media (max-width:767.98px) {
    .chem-research-area-card {
        width: 100%;
        flex-basis: 100%;
    }
}

/* Research personnel cards: compact horizontal layout. */

.chem-research-people-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.chem-research-person-card {
    width: calc((100% - 40px)/3);
    min-height: 226px;
    flex: 0 1 calc((100% - 40px)/3);
    flex-direction: row;
}

.chem-research-person-visual {
    width: 39%;
    min-height: 226px;
    flex: 0 0 39%;
    aspect-ratio: auto;
}

.chem-research-person-copy {
    min-width: 0;
    padding: 19px 17px 13px;
}

.chem-research-person-copy>small {
    font-size: 10px;
    line-height: 1.45;
}

.chem-research-person-copy>strong {
    font-size: 18px;
    line-height: 1.3;
}

.chem-research-person-copy>em {
    font-size: 12px;
}

.chem-research-person-interest {
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
}

.chem-research-person-action {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: calc(39% + 17px);
    margin: 0;
    padding-top: 10px;
    font-size: 12px;
}

.chem-research-person-card {
    position: relative;
    padding-bottom: 42px;
}

.chem-research-person-image-status {
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    font-size: 13px;
}

@media (max-width:991.98px) {
    .chem-research-person-card {
        width: calc((100% - 20px)/2);
        flex-basis: calc((100% - 20px)/2);
    }
}

@media (max-width:767.98px) {
    .chem-research-person-card {
        width: 100%;
        max-width: 500px;
        flex-basis: 100%;
    }

    .chem-research-person-visual {
        min-height: 210px;
    }

    .chem-research-person-action {
        left: calc(39% + 17px);
    }
}

@media (max-width:460px) {
    .chem-research-person-card {
        min-height: 0;
        flex-direction: column;
        padding-bottom: 0;
    }

    .chem-research-person-visual {
        width: 100%;
        min-height: 0;
        flex-basis: auto;
        aspect-ratio: 4/3;
    }

    .chem-research-person-copy {
        padding: 19px 18px;
    }

    .chem-research-person-action {
        position: static;
        margin: 0 18px 17px;
        padding-top: 13px;
    }
}

/* Improve readability for research personnel cards. */

.chem-research-person-card {
    min-height: 244px;
    padding-bottom: 46px;
}

.chem-research-person-visual {
    min-height: 244px;
}

.chem-research-person-copy {
    padding: 21px 18px 15px;
}

.chem-research-person-copy>small {
    font-size: 12px;
    line-height: 1.5;
}

.chem-research-person-copy>strong {
    font-size: 22px;
    line-height: 1.3;
}

.chem-research-person-copy>em {
    font-size: 14px;
    line-height: 1.55;
}

.chem-research-person-interest {
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
}

.chem-research-person-interest i {
    margin-top: 4px;
}

.chem-research-person-action {
    bottom: 15px;
    left: calc(39% + 18px);
    font-size: 14px;
}

@media (max-width:767.98px) {
    .chem-research-person-card,
    .chem-research-person-visual {
        min-height: 232px;
    }

    .chem-research-person-copy>strong {
        font-size: 21px;
    }

    .chem-research-person-interest {
        font-size: 13px;
    }
}

@media (max-width:460px) {
    .chem-research-person-card {
        min-height: 0;
    }

    .chem-research-person-copy>strong {
        font-size: 21px;
    }

    .chem-research-person-action {
        font-size: 14px;
    }
}
