:root {
    --itm-navy: #001b44;
    --itm-dark-blue: #002b67;
    --itm-blue: #0046a8;
    --itm-light-blue: #eef0f4;
    --itm-orange: #f36c21;
    --itm-yellow: #f4e600;
    --itm-white: #ffffff;
    --itm-gray: #e4e7ed;
    --itm-text: #172033;
    --itm-muted: #667085;
    --itm-border: rgba(0, 27, 68, 0.08);
    --itm-shadow: 0 20px 50px rgba(0, 27, 68, 0.12);
}

body {
    font-family: "Noto Sans Thai", sans-serif;
    color: var(--itm-text);
    background: linear-gradient(180deg, #f4f5f8 0%, #e7eaf0 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: "Prompt", sans-serif;
}

.site-header .navbar {
    background: linear-gradient(180deg, #07173f, #0a1e55);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0, 16, 48, 0.22);
}

.site-header .container {
    max-width: 1760px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.brand-logo--nav,
.brand-logo--footer {
    min-width: 102px;
    height: 62px;
    padding: 0.2rem 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.brand-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-image--nav {
    max-width: 92px;
}

.brand-logo-image--footer {
    max-width: 90px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
    min-width: 0;
}

.brand-text small {
    opacity: 0.85;
}

.brand-subheading-line {
    display: block;
}

.brand-heading {
    font-size: 0.98rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-subheading {
    font-size: 0.72rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
}

.navbar-brand {
    flex: 0 1 34rem;
    min-width: 0;
    margin-right: 1rem;
}

.navbar-collapse {
    gap: 0.8rem;
}

.navbar-nav {
    flex-wrap: nowrap;
    align-items: center;
}

.nav-link {
    position: relative;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    font-weight: 500;
    font-size: 0.98rem;
    white-space: nowrap;
}

.nav-dropdown-menu {
    border: 1px solid rgba(0, 27, 68, 0.08);
    border-radius: 16px;
    padding: 0.5rem;
    min-width: 220px;
    box-shadow: 0 18px 40px rgba(7, 23, 63, 0.18);
}

.nav-dropdown-menu .dropdown-item {
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    font-weight: 500;
}

.nav-dropdown-menu .dropdown-item:hover,
.nav-dropdown-menu .dropdown-item:focus {
    background: rgba(17, 71, 173, 0.08);
    color: var(--itm-blue);
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .nav-dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.15rem;
    height: 3px;
    border-radius: 999px;
    background: var(--itm-orange);
}

.nav-actions {
    margin-left: 1rem;
    flex: 0 0 auto;
}

.btn-enroll {
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8d2b, #f36c21);
    border: 0;
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.05rem;
    white-space: nowrap;
}

.nav-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    white-space: nowrap;
}

.lang-switch a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 600;
}

.lang-switch a.active {
    color: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 0 3rem;
    background:
        radial-gradient(circle at top right, rgba(51, 130, 255, 0.18), transparent 22%),
        radial-gradient(circle at bottom left, rgba(243, 108, 33, 0.1), transparent 24%),
        linear-gradient(180deg, #081a48 0%, #092566 55%, #08225f 100%);
    color: var(--itm-white);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 22%, rgba(255, 255, 255, 0.12), transparent 1px),
        radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.14), transparent 1px),
        repeating-radial-gradient(circle at 100% 0%, rgba(77, 141, 255, 0.12) 0 2px, transparent 2px 18px),
        repeating-radial-gradient(circle at 0% 30%, rgba(77, 141, 255, 0.12) 0 2px, transparent 2px 18px);
    opacity: 0.7;
}

.hero-main {
    padding: 1.5rem 0 0.5rem;
}

.hero-kicker {
    color: #ffffff;
    font-family: "Prompt", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
}

.hero-title {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 540px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ff8e2a, #f36c21);
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 26px rgba(243, 108, 33, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    color: #fff;
    font-weight: 500;
}

.hero-illustration {
    position: relative;
    min-height: 420px;
}

.hero-laptop {
    position: absolute;
    right: 8%;
    top: 8%;
    width: min(100%, 520px);
}

.hero-screen {
    background: linear-gradient(180deg, #0f2f78, #081c50);
    border: 2px solid rgba(94, 161, 255, 0.5);
    border-radius: 24px;
    min-height: 280px;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow:
        0 0 0 1px rgba(79, 143, 255, 0.18),
        0 0 42px rgba(45, 124, 255, 0.28);
}

.screen-header {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.screen-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.screen-chart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.chart-donut {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #0c235f 0 32%, transparent 33%),
        conic-gradient(#ff8d2b 0 110deg, #3c8dff 110deg 290deg, rgba(255, 255, 255, 0.1) 290deg 360deg);
    box-shadow: 0 0 24px rgba(60, 141, 255, 0.25);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.7rem;
    flex: 1;
    min-height: 108px;
}

.chart-bars span {
    flex: 1;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, #6faeff, #1e5fe0);
    box-shadow: 0 0 18px rgba(60, 141, 255, 0.22);
}

.chart-bars span:nth-child(1) {
    height: 40%;
}

.chart-bars span:nth-child(2) {
    height: 78%;
}

.chart-bars span:nth-child(3) {
    height: 55%;
}

.chart-bars span:nth-child(4) {
    height: 88%;
}

.screen-lines {
    margin-top: 1rem;
    height: 70px;
    border-radius: 14px;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1) 12%, transparent 12.5%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 2px, transparent 2px, transparent 16px);
}

.hero-base {
    width: 88%;
    height: 18px;
    margin: -4px auto 0;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, #275ebf, #0e2e78);
    box-shadow: 0 10px 28px rgba(21, 89, 219, 0.35);
}

.hero-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(22, 86, 198, 0.75), rgba(9, 37, 102, 0.95));
    border: 1px solid rgba(107, 171, 255, 0.38);
    color: #fff;
    box-shadow: 0 0 28px rgba(52, 123, 255, 0.28);
}

.hero-node--cloud {
    width: 76px;
    height: 56px;
    top: 2%;
    left: 35%;
    font-size: 1.8rem;
}

.hero-node--server-left,
.hero-node--server-right {
    width: 86px;
    height: 110px;
    font-size: 2rem;
}

.hero-node--server-left {
    top: 23%;
    left: 15%;
}

.hero-node--server-right {
    top: 18%;
    right: 0;
}

.hero-node--shield {
    width: 70px;
    height: 70px;
    bottom: 22%;
    right: 8%;
    font-size: 1.6rem;
}

.hero-floating-cards {
    position: absolute;
    left: 9%;
    right: 6%;
    bottom: 2%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-float-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(8, 28, 80, 0.6);
    border: 1px solid rgba(116, 176, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.hero-float-card i {
    color: #ff9d43;
}

.section-block {
    padding: 3rem 0;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-title--light {
    color: #fff;
}

.pill-tag,
.badge-blue {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e6de1, #2f8cff);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

.section-more-link,
.news-panel-link,
.about-link,
.category-link {
    color: var(--itm-blue);
    text-decoration: none;
    font-weight: 600;
}

.news-panel-link {
    color: rgba(255, 255, 255, 0.86);
}

.pinned-news-panel {
    margin-top: 1.75rem;
    background: rgba(6, 19, 56, 0.74);
    border: 1px solid rgba(131, 177, 255, 0.22);
    border-radius: 24px;
    padding: 1rem 1rem 1.35rem;
    box-shadow: 0 16px 36px rgba(0, 13, 45, 0.32);
}

.news-slider .carousel-item {
    padding: 0.25rem;
}

.slider-card {
    border-radius: 28px;
    overflow: hidden;
    min-height: 360px;
    background: transparent;
}

.slider-card .slider-image {
    min-height: 320px;
    background:
        linear-gradient(135deg, rgba(6, 43, 112, 0.3), rgba(7, 32, 86, 0.6)),
        radial-gradient(circle at 25% 30%, rgba(89, 160, 255, 0.5), transparent 10%),
        radial-gradient(circle at 55% 55%, rgba(89, 160, 255, 0.36), transparent 12%),
        linear-gradient(135deg, #0f306f, #081f4f 60%, #0f3277);
    position: relative;
}

.slider-card .slider-image::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 24px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent),
        radial-gradient(circle at 20% 20%, rgba(243, 108, 33, 0.55), transparent 13%),
        radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.28), transparent 12%),
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.05)),
        repeating-linear-gradient(0deg, rgba(94, 155, 255, 0.16), rgba(94, 155, 255, 0.16) 1px, transparent 1px, transparent 24px),
        repeating-linear-gradient(90deg, rgba(94, 155, 255, 0.08), rgba(94, 155, 255, 0.08) 1px, transparent 1px, transparent 24px);
}

.slider-card--feature {
    background: rgba(6, 20, 60, 0.42);
    border-radius: 20px;
    border: 1px solid rgba(126, 175, 255, 0.12);
}

.slider-copy {
    color: #fff;
}

.slider-title {
    font-size: 1.85rem;
    line-height: 1.25;
}

.slider-text {
    color: rgba(255, 255, 255, 0.78);
}

.slider-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.news-mini-list {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.news-mini-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    padding: 0.45rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.news-mini-thumb {
    border-radius: 12px;
    min-height: 64px;
    background: linear-gradient(135deg, #6ea7ff, #163b87);
}

.news-mini-item h4 {
    font-size: 0.94rem;
    line-height: 1.35;
    margin: 0 0 0.2rem;
}

.news-mini-item p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.72);
}

.stats-card,
.category-card,
.partner-card,
.content-card,
.thesis-card,
.news-card {
    padding: 1.5rem;
}

.content-card,
.stats-card,
.category-card,
.partner-card,
.thesis-card,
.news-card,
.bottom-panel,
.about-strip-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 27, 68, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(0, 27, 68, 0.08);
}

.section-home-panels {
    margin-top: -0.7rem;
}

.about-strip-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    height: 100%;
}

.about-strip-visual {
    width: 150px;
    min-width: 150px;
    height: 110px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(0, 27, 68, 0.15), rgba(0, 70, 168, 0.2)),
        linear-gradient(180deg, #19479a, #08245f);
}

.stats-card--compact {
    text-align: center;
    padding: 1.35rem 1rem;
}

.stats-card--compact i {
    font-size: 1.5rem;
    color: var(--itm-dark-blue);
}

.stats-card h3 {
    font-size: 2rem;
    color: var(--itm-dark-blue);
    margin: 0.45rem 0 0.15rem;
}

.thesis-card,
.news-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(0, 27, 68, 0.08);
    overflow: hidden;
}

.news-card-cover,
.news-detail-cover {
    display: block;
    background: linear-gradient(135deg, #163675, #8f949e);
}

.news-card-cover {
    aspect-ratio: 16 / 9;
}

.news-card-cover img,
.news-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-detail-cover {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
}

.partner-card {
    text-align: center;
    color: var(--itm-muted);
    font-weight: 600;
}

.program-band-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 1rem;
    align-items: center;
    height: 100%;
    padding: 1.4rem 1.45rem;
    background:
        radial-gradient(circle at right top, rgba(64, 132, 255, 0.18), transparent 34%),
        linear-gradient(135deg, #08215b, #0c327d);
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 18px 34px rgba(0, 27, 68, 0.16);
}

.program-band-card p,
.program-band-card a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.program-band-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--itm-orange);
    font-size: 1.6rem;
}

.category-card--themed {
    padding: 1.2rem;
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--itm-light-blue);
    color: var(--itm-blue);
    margin-bottom: 0.8rem;
}

.ai-search-panel {
    background:
        radial-gradient(circle at right top, rgba(39, 108, 232, 0.1), transparent 30%),
        linear-gradient(180deg, #ffffff, #f4f8ff);
}

.bottom-panel {
    padding: 1.25rem;
    height: 100%;
}

.strength-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 27, 68, 0.08);
    background: #fff;
}

.strength-card+.strength-card {
    margin-top: 0.9rem;
}

.strength-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--itm-light-blue);
    color: var(--itm-dark-blue);
}

.strength-card h3,
.compact-news-item h3,
.faculty-mini-card h3 {
    font-size: 0.98rem;
    margin: 0 0 0.2rem;
}

.strength-card p,
.compact-news-item p,
.faculty-mini-card p {
    margin: 0;
    color: var(--itm-muted);
    font-size: 0.84rem;
}

.compact-news-item {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--itm-text);
}

.compact-news-item+.compact-news-item {
    margin-top: 0.9rem;
}

.compact-news-thumb {
    min-height: 72px;
    border-radius: 14px;
    background: linear-gradient(135deg, #163675, #8f949e);
}

.faculty-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.faculty-mini-card {
    text-align: center;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 27, 68, 0.08);
    padding: 1rem 0.8rem;
}

.faculty-mini-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-mini-card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 23, 63, 0.12);
}

.faculty-avatar {
    width: 76px;
    height: 96px;
    border-radius: 8px;
    margin: 0 auto 0.8rem;
    overflow: hidden;
    background: linear-gradient(180deg, #153970, #8e949f);
    box-shadow: 0 10px 20px rgba(12, 61, 148, 0.18);
}

.faculty-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.faculty-profile-card {
    text-align: center;
    overflow: hidden;
}

.faculty-profile-avatar {
    width: 132px;
    height: 168px;
    border-radius: 32px;
    overflow: hidden;
    margin: 0 auto 1rem;
    background: linear-gradient(180deg, #153970, #8e949f);
    box-shadow: 0 16px 30px rgba(12, 61, 148, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.faculty-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.faculty-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.faculty-card-summary {
    min-height: 72px;
    color: #5b6a84;
}

.faculty-card-tags {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1rem 0 1.1rem;
}

.faculty-card-tags span,
.faculty-chip-list span {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(125, 131, 141, 0.16);
    color: #0c3d94;
    font-size: 0.9rem;
    font-weight: 600;
}

.faculty-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: #ff7a1a;
    font-weight: 700;
}

.page-hero--faculty {
    padding-bottom: 3rem;
}

.page-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    color: #d9e6ff;
    text-decoration: none;
    font-weight: 600;
}

.faculty-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.faculty-hero-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #c8cfdb;
}

.faculty-hero-bio {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
}

.faculty-chip-list {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.faculty-chip-list span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.faculty-hero-visual {
    display: flex;
    justify-content: center;
}

.faculty-profile-portrait {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(161, 167, 177, 0.28), transparent 50%),
        linear-gradient(180deg, rgba(14, 44, 110, 0.95), rgba(8, 24, 69, 0.98));
    box-shadow: 0 30px 70px rgba(0, 8, 32, 0.35);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
}

.faculty-profile-portrait img {
    width: 100%;
    height: 100%;
    object-position: center top;
    display: block;
}

.faculty-profile-portrait--contain img {
    object-fit: contain;
}

.faculty-profile-portrait--cover img {
    object-fit: cover;
}

.faculty-detail-card h2,
.faculty-contact-card h2 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #07173f;
}

.faculty-detail-card p {
    margin: 0;
    color: #4f5f7e;
    line-height: 1.8;
}

.faculty-contact-card {
    background: linear-gradient(180deg, #ffffff, #f4f8ff);
}

.faculty-contact-list {
    display: grid;
    gap: 1rem;
}

.faculty-contact-list span {
    display: block;
    margin-bottom: 0.3rem;
    color: #6a7894;
    font-size: 0.92rem;
}

.faculty-contact-list strong,
.faculty-contact-list a {
    color: #07173f;
    text-decoration: none;
}

.faculty-contact-note {
    color: #6a7894;
    font-size: 0.94rem;
}

.contact-map-frame {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    min-height: 320px;
    box-shadow: 0 18px 40px rgba(7, 23, 63, 0.12);
}

.contact-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
}

.program-filter-pills {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.program-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 27, 68, 0.08);
    color: var(--itm-text);
    text-decoration: none;
    font-weight: 600;
}

.program-filter-pill.active {
    background: linear-gradient(135deg, #0c3d94, #245ec8);
    color: #fff;
    border-color: transparent;
}

.program-real-header {
    border: 1px solid rgba(0, 27, 68, 0.08);
}

.program-source-note {
    color: #5f6f8d;
    font-size: 0.95rem;
}

.program-real-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.program-real-card {
    background:
        radial-gradient(circle at top right, rgba(116, 170, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 244, 249, 0.98));
    border: 1px solid rgba(0, 27, 68, 0.08);
    border-radius: 28px;
    padding: 1.15rem 1.15rem 1.75rem;
    box-shadow: 0 20px 45px rgba(7, 23, 63, 0.08);
    overflow: hidden;
}

.program-real-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 252px;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #05204f, #1653b4);
}

.program-real-visual img {
    width: 100%;
    height: 100%;
    min-height: 252px;
    object-fit: cover;
    display: block;
}

.program-real-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 12, 38, 0.05), rgba(0, 18, 56, 0.3));
    pointer-events: none;
}

.program-real-visual__overlay {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 1rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.program-real-card__head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.program-real-badge,
.program-real-code {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
}

.program-real-badge {
    padding: 0.55rem 0.9rem;
    background: rgba(36, 94, 200, 0.1);
    color: #0c3d94;
}

.program-real-code {
    min-width: 64px;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    background: rgba(0, 27, 68, 0.82);
    backdrop-filter: blur(10px);
    color: #fff;
}

.program-real-kicker {
    color: #245ec8;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-real-title {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
}

.program-real-degree {
    color: #315487;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.program-real-summary {
    color: #4f5f7e;
    margin-bottom: 1.2rem;
}

.program-real-spotlight {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(12, 61, 148, 0.08), rgba(255, 138, 38, 0.09));
    color: #173767;
    border: 1px solid rgba(36, 94, 200, 0.08);
    font-weight: 600;
    line-height: 1.65;
}

.program-real-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.program-real-fact {
    padding: 1rem 0.9rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 27, 68, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.program-real-fact strong,
.program-real-fact span {
    display: block;
}

.program-real-fact strong {
    color: #001b44;
    font-size: 1.45rem;
    line-height: 1.1;
    margin-bottom: 0.28rem;
}

.program-real-fact span {
    color: #5f6f8d;
    font-size: 0.92rem;
    font-weight: 600;
}

.program-real-section,
.program-real-meta__item {
    margin-top: 1.2rem;
}

.program-real-section h3,
.program-real-meta__item h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #001b44;
}

.program-real-section ul,
.program-real-meta__item ul {
    margin: 0;
    padding-left: 1.15rem;
    color: #44516b;
}

.program-real-section li,
.program-real-meta__item li {
    margin-bottom: 0.45rem;
}

.program-real-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.program-real-meta__item,
.program-real-section {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 27, 68, 0.06);
    border-radius: 20px;
    padding: 1rem 1rem 0.95rem;
}

.program-real-meta__item p {
    margin: 0;
    color: #44516b;
}

.program-real-tags,
.program-real-course-list,
.program-real-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.program-real-tags span,
.program-real-course-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #eef2f8;
    color: #173767;
    font-weight: 600;
}

.program-real-course-list span {
    border-radius: 16px;
    line-height: 1.4;
}

.program-real-actions {
    margin-top: 1.25rem;
}

.program-real-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 27, 68, 0.12);
    color: #0c3d94;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
}

.program-real-link--primary {
    background: linear-gradient(135deg, #ff7f23, #ff9e36);
    border-color: transparent;
    color: #fff;
}

.program-system-section {
    margin-top: 2rem;
}

.student-directory-table thead th {
    color: #4f5f7e;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom-width: 1px;
}

.student-directory-table tbody td {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    border-color: rgba(0, 27, 68, 0.08);
}

.student-search-form {
    margin-bottom: 1.5rem;
}

.cohort-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.cohort-directory-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 27, 68, 0.08);
    background: #fff;
    box-shadow: 0 18px 40px rgba(7, 23, 63, 0.08);
}

.cohort-directory-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cohort-directory-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.cohort-directory-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cohort-directory-body {
    padding: 1.2rem 1.25rem 1.3rem;
}

.cohort-directory-body h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #0c3d94;
}

.cohort-directory-body span {
    color: #5b6a84;
    font-size: 0.92rem;
    font-weight: 600;
}

.cohort-directory-subtitle {
    margin-bottom: 0.6rem;
    color: #153970;
    font-weight: 600;
}

.cohort-directory-description {
    color: #5b6a84;
    margin-bottom: 1rem;
}

.cohort-directory-members {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.cohort-directory-members span {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(125, 131, 141, 0.12);
    color: #14366f;
    font-size: 0.85rem;
}

.page-hero--cohort {
    padding-bottom: 3rem;
}

.cohort-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 2rem;
    align-items: center;
}

.cohort-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c8cfdb;
}

.cohort-hero-description {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.03rem;
}

.cohort-group-photo {
    width: min(100%, 520px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 8, 32, 0.35);
}

.cohort-group-photo img {
    width: 100%;
    height: 100%;
    display: block;
}

.cohort-detail-card p {
    color: #4f5f7e;
    line-height: 1.85;
}

.cohort-summary-card h2,
.cohort-detail-card h2 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #07173f;
}

.cohort-summary-list {
    display: grid;
    gap: 1rem;
}

.cohort-summary-list span {
    display: block;
    color: #6a7894;
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.cohort-summary-list strong {
    color: #07173f;
}

.cohort-member-card {
    height: 100%;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff, #f4f6fa);
    border: 1px solid rgba(0, 27, 68, 0.08);
    padding: 1rem;
    text-align: center;
}

.cohort-member-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #163675, #8f949e);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.cohort-member-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.cohort-member-card p {
    margin-bottom: 0.2rem;
    color: #5b6a84;
}

.cohort-member-card small {
    color: #8a93a6;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.partner-logo-card {
    border-radius: 16px;
    border: 1px solid rgba(0, 27, 68, 0.08);
    background: #fff;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b6a84;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-footer {
    padding: 2.4rem 0 1.6rem;
    background: linear-gradient(180deg, #07173f, #091a45);
    color: rgba(255, 255, 255, 0.84);
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #001b44, #0046a8);
    color: white;
}

.filter-card,
.admin-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--itm-border);
    box-shadow: 0 14px 30px rgba(0, 27, 68, 0.08);
}
