:root {
    /* design tokens — single source of truth for the public site */
    --font-base: "Noto Sans", "Segoe UI", "DejaVu Sans", sans-serif;

    /* spacing scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;

    /* type scale */
    --fs-h1: 44px;
    --fs-h2: 22px;
    --fs-h3: 18px;
    --fs-body: 15px;
    --fw-bold: 700;
    --fw-black: 900;

    /* container */
    --page-max: 1180px;
    --page-pad: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    font-synthesis: none;
    background: #f4f7fb;
    color: #172033;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 22px;
}

.logo-text {
    font-size: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a:hover {
    color: #1d4ed8;
}

.hero {
    padding: 72px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
    margin: 0 0 20px;
    color: #0f172a;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary {
    background: #1d4ed8;
    color: #ffffff;
}

.btn-outline {
    border: 1px solid #cbd5e1;
    color: #1e293b;
    background: #ffffff;
}

.hero-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.hero-card h3 {
    margin-top: 0;
    font-size: 24px;
}

.hero-card li {
    margin-bottom: 12px;
    color: #334155;
}

.page-section {
    padding: 52px 0;
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 24px 0;
    margin-top: 60px;
}

.content-page {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.page-heading {
    margin-bottom: 28px;
    border-bottom: 1px solid #e5eaf2;
    padding-bottom: 22px;
}

.page-label {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 800;
    margin: 0 0 14px;
}

.page-heading h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    color: #0f172a;
}

.page-description {
    color: #64748b;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 0;
}

.content-body {
    color: #334155;
    font-size: 17px;
    line-height: 1.8;
}

.content-body p {
    margin-top: 0;
}

.content-body img {
    max-width: 100%;
    border-radius: 18px;
}

.not-found-box {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e5eaf2;
    padding: 42px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.not-found-box h1 {
    font-size: 82px;
    margin: 0;
    color: #1d4ed8;
}

.not-found-box h2 {
    margin: 8px 0;
}

.main-nav {
    position: relative;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: #1d4ed8;
    color: #ffffff;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-item > a:hover {
    color: #1d4ed8;
    background: #eff6ff;
}

.submenu-arrow {
    font-size: 12px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    z-index: 100;
}

.submenu .submenu {
    top: 0;
    left: 100%;
}

.has-submenu:hover > .submenu {
    display: block;
}

.submenu .nav-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 11px 12px;
}

@media (max-width: 820px) {
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background: #ffffff;
        border: 1px solid #e5eaf2;
        border-radius: 18px;
        padding: 10px;
        margin-top: 12px;
    }

    .main-menu.is-open {
        display: flex;
    }

    .nav-item > a {
        width: 100%;
        justify-content: space-between;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border-radius: 12px;
        margin-left: 14px;
        margin-top: 4px;
    }

    .has-submenu:hover > .submenu {
        display: none;
    }

    .has-submenu.is-open > .submenu {
        display: block;
    }
}
.simple-heading {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: clamp(24px, 4vw, 38px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.news-image-link {
    display: block;
    height: 220px;
    background: #e0e7ff;
    overflow: hidden;
}

.news-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
    font-size: 52px;
    font-weight: 900;
}

.news-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta,
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-card h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 12px;
}

.news-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.news-card h2 a:hover {
    color: #1d4ed8;
}

.news-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 18px;
}

.read-more {
    margin-top: auto;
    color: #1d4ed8;
    font-weight: 800;
    text-decoration: none;
}

.news-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 28px;
    border: 1px solid #e5eaf2;
}

.back-link-box {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid #e5eaf2;
}

.empty-public-box {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    padding: 28px;
    color: #64748b;
    font-weight: 700;
}

@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image-link {
        height: 200px;
    }
}
.announcement-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.announcement-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
}

.announcement-important {
    border-color: #fecaca;
    background: #fffafa;
}

.announcement-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 26px;
}

.announcement-important .announcement-icon {
    background: #fee2e2;
    color: #991b1b;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.important-public-badge,
.important-detail-badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 13px;
    font-weight: 900;
}

.important-detail-badge {
    margin-bottom: 12px;
}

.announcement-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
}

.announcement-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.announcement-card h2 a:hover {
    color: #1d4ed8;
}

.announcement-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 14px;
}

.announcement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.announcement-file-link {
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
    background: #f1f5f9;
    padding: 9px 12px;
    border-radius: 12px;
}

.announcement-download-box {
    margin-top: 28px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    padding: 24px;
}

.announcement-download-box h3 {
    margin-top: 0;
}

@media (max-width: 620px) {
    .announcement-card {
        grid-template-columns: 1fr;
    }
}
.home-hero {
    padding: 78px 0 46px;
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 34px;
    align-items: center;
}

.home-hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    margin: 0 0 20px;
    color: #0f172a;
}

.home-hero-content p {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
}

.home-hero-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.home-hero-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
}

.quick-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.quick-link-grid a {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
}

.quick-link-grid a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.home-stats-section {
    padding: 28px 0 10px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-stat-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.home-stat-card strong {
    display: block;
    font-size: 38px;
    color: #1d4ed8;
    margin-bottom: 6px;
}

.home-stat-card span {
    color: #475569;
    font-weight: 800;
}

.home-section {
    padding: 54px 0;
}

.home-light-section {
    background: #eef4ff;
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.home-section-header h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    color: #0f172a;
}

.home-section-header p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
}

.section-label {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 900;
    margin: 0 0 12px;
}

.section-more-link {
    color: #1d4ed8;
    font-weight: 900;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 12px 16px;
    white-space: nowrap;
}

.home-announcement-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-announcement-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.home-announcement-card.is-important {
    border-color: #fecaca;
}

.home-announcement-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.home-announcement-card h3 a {
    color: #0f172a;
    text-decoration: none;
}

.home-announcement-card h3 a:hover {
    color: #1d4ed8;
}

.home-announcement-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 14px;
}

.home-about-section {
    padding-bottom: 76px;
}

.home-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-about-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 28px;
    padding: clamp(26px, 4vw, 42px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.home-about-card h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 0 0 16px;
}

.home-about-card p {
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
}

.dark-card {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.dark-card h2 {
    color: #ffffff;
}

.dark-card p {
    color: #cbd5e1;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    background: transparent;
}

@media (max-width: 1180px) {
    .home-announcement-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-hero-inner,
    .home-about-grid {
        grid-template-columns: 1fr;
    }

    .home-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-announcement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .home-hero {
        padding: 44px 0 28px;
    }

    .quick-link-grid,
    .home-stats-grid,
    .home-announcement-grid {
        grid-template-columns: 1fr;
    }
}
.site-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    padding: 4px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 24px;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
    margin-top: 0;
}

.site-footer p {
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0 0 8px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-links a,
.footer-social-links span {
    color: #cbd5e1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 700;
}

.footer-social-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 16px;
    padding-bottom: 20px;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.faculty-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.faculty-image-link {
    display: block;
    height: 230px;
    background: #dbeafe;
    overflow: hidden;
}

.faculty-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.faculty-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #0f172a);
    color: #ffffff;
    font-size: 54px;
    font-weight: 900;
}

.faculty-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.faculty-card h2 {
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.faculty-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.faculty-card h2 a:hover {
    color: #1d4ed8;
}

.faculty-dean {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 14px;
}

.faculty-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 18px;
}

.faculty-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 28px;
    border: 1px solid #e5eaf2;
}

@media (max-width: 980px) {
    .faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .faculty-grid {
        grid-template-columns: 1fr;
    }

    .faculty-image-link {
        height: 210px;
    }
}
.public-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    padding: 18px;
    margin-top: 24px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.public-filter-form select {
    min-height: 46px;
    min-width: min(340px, 100%);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.department-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.department-image-link {
    display: block;
    height: 220px;
    background: #dcfce7;
    overflow: hidden;
}

.department-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.department-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #0f172a);
    color: #ffffff;
    font-size: 54px;
    font-weight: 900;
}

.department-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.department-faculty {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.department-card h2 {
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 10px;
}

.department-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.department-card h2 a:hover {
    color: #1d4ed8;
}

.department-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 18px;
}

.department-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    margin-bottom: 28px;
    border: 1px solid #e5eaf2;
}

.news-detail-meta a {
    color: #1d4ed8;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .department-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .department-grid {
        grid-template-columns: 1fr;
    }

    .department-image-link {
        height: 210px;
    }

    .public-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .public-filter-form select,
    .public-filter-form .btn {
        width: 100%;
    }
}

/* SPECIALTIES-PUBLIC-STYLES */
.public-filter-form-wide {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr auto auto;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.specialty-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.specialty-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.specialty-code {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.specialty-card h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.28;
}

.specialty-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.specialty-card h2 a:hover {
    color: #1d4ed8;
}

.specialty-degree {
    flex-shrink: 0;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    border-radius: 999px;
    padding: 8px 11px;
}

.specialty-meta,
.specialty-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.specialty-meta span,
.specialty-detail-badges span {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 13px;
    font-weight: 900;
}

.specialty-relations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.specialty-relations a {
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 12px;
    padding: 8px 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
}

.specialty-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 18px;
}

@media (max-width: 1100px) {
    .public-filter-form-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .specialty-top {
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .public-filter-form-wide {
        grid-template-columns: 1fr;
    }
}

/* STAGE12-HOME-ACADEMIC-STYLES */
.home-stats-grid-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.home-academic-section {
    background: #ffffff;
}

.home-faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.home-faculty-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.home-faculty-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #dbeafe;
}

.home-faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-faculty-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #0f172a);
    color: #ffffff;
    font-size: 54px;
    font-weight: 900;
}

.home-faculty-body {
    padding: 22px;
}

.home-faculty-body h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.3;
}

.home-faculty-body h3 a {
    color: #0f172a;
    text-decoration: none;
}

.home-faculty-body h3 a:hover {
    color: #1d4ed8;
}

.home-faculty-dean {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.home-faculty-body p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 16px;
}

.home-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-structure-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 24px;
}

.home-structure-column {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.home-structure-column h3 {
    margin: 0 0 18px;
    font-size: 26px;
    color: #0f172a;
}

.home-department-list,
.home-specialty-list {
    display: grid;
    gap: 14px;
}

.home-department-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 16px;
}

.home-department-item span {
    display: block;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.home-department-item h4,
.home-specialty-item h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.home-department-item h4 a,
.home-specialty-item h4 a {
    color: #0f172a;
    text-decoration: none;
}

.home-department-item h4 a:hover,
.home-specialty-item h4 a:hover {
    color: #1d4ed8;
}

.home-department-item p,
.home-specialty-item p {
    color: #64748b;
    margin: 8px 0 0;
    line-height: 1.6;
}

.mini-link {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
}

.home-specialty-item {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 16px;
}

.home-specialty-code {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.home-specialty-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.home-specialty-meta span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .home-stats-grid-six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-structure-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .home-stats-grid-six,
    .home-faculty-grid {
        grid-template-columns: 1fr;
    }

    .home-section-actions {
        width: 100%;
        flex-direction: column;
    }

    .home-section-actions .section-more-link {
        width: 100%;
        text-align: center;
    }
}

/* STAGE13-DOCUMENTS-PUBLIC-STYLES */
.document-list {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.document-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.document-icon {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    background: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 17px;
}

.document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.document-meta span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.document-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #0f172a;
}

.document-body p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 16px;
}

.document-no-file {
    display: inline-flex;
    color: #991b1b;
    background: #fee2e2;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 800;
}

@media (max-width: 620px) {
    .document-card {
        grid-template-columns: 1fr;
    }

    .document-icon {
        width: 70px;
        height: 70px;
    }
}

/* STAGE14-GALLERY-PUBLIC-STYLES */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.gallery-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.gallery-image-link {
    display: block;
    height: 260px;
    overflow: hidden;
    background: #dbeafe;
}

.gallery-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.gallery-card:hover .gallery-image-link img {
    transform: scale(1.05);
}

.gallery-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #0f172a);
    color: #ffffff;
    font-size: 34px;
    font-weight: 900;
}

.gallery-body {
    padding: 20px;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.gallery-meta span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.gallery-body h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
}

.gallery-body p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image-link,
    .gallery-placeholder {
        height: 230px;
    }
}

/* STAGE15-CONTACT-PUBLIC-STYLES */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.contact-info-card h2,
.contact-form-card h2 {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: 26px;
}

.contact-info-list {
    display: grid;
    gap: 16px;
}

.contact-info-item {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.contact-info-item span {
    color: #475569;
    line-height: 1.6;
}

.contact-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 800;
    line-height: 1.6;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
    color: #0f172a;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.public-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.6;
}

.public-alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.public-alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 900px) {
    .contact-layout,
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
}

/* STAGE17-SEARCH-PUBLIC-STYLES */
.site-search-form {
    display: grid;
    grid-template-columns: 1fr 240px auto;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    margin-bottom: 24px;
}

.site-search-form input,
.site-search-form select {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.site-search-form input:focus,
.site-search-form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-summary {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
    margin-bottom: 18px;
}

.search-empty-box {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 20px;
    padding: 22px;
    color: #64748b;
    font-weight: 800;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.search-results-list {
    display: grid;
    gap: 16px;
}

.search-result-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.search-result-type {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.search-result-card h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
}

.search-result-card h2 a {
    color: #0f172a;
    text-decoration: none;
}

.search-result-card h2 a:hover {
    color: #1d4ed8;
}

.search-result-card p {
    color: #475569;
    line-height: 1.7;
    margin: 0 0 14px;
}

.search-result-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #64748b;
    font-weight: 800;
}

.search-result-footer a {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 900;
}

@media (max-width: 760px) {
    .site-search-form {
        grid-template-columns: 1fr;
    }

    .search-result-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* STAGE18-PUBLIC-RESPONSIVE-DESIGN */
:root {
    --site-primary: #1d4ed8;
    --site-primary-dark: #1e40af;
    --site-primary-soft: #eff6ff;
    --site-text: #0f172a;
    --site-muted: #64748b;
    --site-border: #e5eaf2;
    --site-bg: #f8fafc;
    --site-white: #ffffff;
    --site-radius: 22px;
    --site-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--site-bg);
    color: var(--site-text);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    transition: 0.2s ease;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.page-section {
    padding: 42px 0 70px;
}

.page-heading {
    margin-bottom: 28px;
}

.simple-heading {
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    border: 1px solid var(--site-border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--site-shadow);
}

.page-label,
.section-label,
.hero-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.page-heading h1,
.home-section-header h2 {
    margin: 0 0 12px;
    color: var(--site-text);
    line-height: 1.15;
}

.page-heading h1 {
    font-size: clamp(32px, 5vw, 54px);
}

.page-description,
.home-section-header p {
    margin: 0;
    color: var(--site-muted);
    font-size: 17px;
    line-height: 1.75;
}

.btn,
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--site-primary);
    color: #ffffff;
    border-color: var(--site-primary);
}

.btn-primary:hover {
    background: var(--site-primary-dark);
    border-color: var(--site-primary-dark);
}

.btn-outline {
    background: #ffffff;
    color: var(--site-primary);
    border-color: #bfdbfe;
}

.btn-outline:hover {
    background: #eff6ff;
}

.empty-public-box {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 24px;
    color: var(--site-muted);
    font-weight: 800;
    box-shadow: var(--site-shadow);
}

.content-page {
    background: transparent;
}

.content-page-body {
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--site-shadow);
    color: #334155;
    font-size: 17px;
    line-height: 1.85;
}

.content-page-body h2,
.content-page-body h3,
.content-page-body h4 {
    color: var(--site-text);
    line-height: 1.25;
    margin-top: 28px;
    margin-bottom: 12px;
}

.content-page-body h2:first-child,
.content-page-body h3:first-child {
    margin-top: 0;
}

.content-page-body p {
    margin: 0 0 16px;
}

.content-page-body ul,
.content-page-body ol {
    padding-left: 24px;
    margin: 0 0 18px;
}

.content-page-body li {
    margin-bottom: 8px;
}

.content-page-body table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    margin: 20px 0;
}

.content-page-body table th,
.content-page-body table td {
    border: 1px solid #e5eaf2;
    padding: 12px;
    vertical-align: top;
}

.content-page-body table th {
    background: #f8fafc;
    color: #0f172a;
}

.public-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--site-border);
    border-radius: 22px;
    padding: 16px;
    box-shadow: var(--site-shadow);
    margin-bottom: 24px;
}

.public-filter-form select,
.public-filter-form input {
    min-height: 46px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 0 14px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.public-filter-form select:focus,
.public-filter-form input:focus {
    border-color: var(--site-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.news-card,
.home-faculty-card,
.home-structure-column,
.document-card,
.gallery-card,
.search-result-card,
.contact-info-card,
.contact-form-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover,
.home-faculty-card:hover,
.document-card:hover,
.gallery-card:hover,
.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
}

.site-back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 16px;
    background: var(--site-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 35px rgba(29, 78, 216, 0.25);
    z-index: 900;
}

.site-back-top.is-visible {
    display: flex;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #ffffff;
    color: var(--site-text);
    font-size: 22px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 900px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .page-section {
        padding: 28px 0 50px;
    }

    .simple-heading,
    .content-page-body {
        padding: 22px;
        border-radius: 22px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .site-header nav,
    header nav,
    .main-nav,
    .site-nav {
        display: none;
    }

    body.mobile-menu-open .site-header nav,
    body.mobile-menu-open header nav,
    body.mobile-menu-open .main-nav,
    body.mobile-menu-open .site-nav {
        display: grid;
        position: absolute;
        left: 12px;
        right: 12px;
        top: 72px;
        background: #ffffff;
        border: 1px solid var(--site-border);
        border-radius: 20px;
        padding: 16px;
        box-shadow: var(--site-shadow);
        z-index: 999;
    }

    body.mobile-menu-open .site-header nav a,
    body.mobile-menu-open header nav a,
    body.mobile-menu-open .main-nav a,
    body.mobile-menu-open .site-nav a {
        display: block;
        padding: 12px;
        border-radius: 12px;
    }

    .public-filter-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .public-filter-form .btn,
    .public-filter-form button,
    .public-filter-form a {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .page-heading h1 {
        font-size: 30px;
    }

    .page-description {
        font-size: 15px;
    }

    .btn,
    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .content-page-body {
        font-size: 16px;
        line-height: 1.75;
    }
}
/* LANGUAGE_SWITCHER_V1 */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: 14px;
}

.language-switcher-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid #e5eaf2;
}

.language-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.language-link.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

@media (max-width: 760px) {
    .language-switcher {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }

    .language-link {
        flex: 1;
    }
}
/* HEADER_LANGUAGE_CLEAN_DESIGN_V1 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e5eaf2;
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 900;
}

.site-logo:hover {
    color: #1d4ed8;
}

.site-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
}

.site-logo-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 20px;
    font-weight: 900;
}

.site-logo-text {
    display: block;
    max-width: 310px;
    font-size: 16px;
    line-height: 1.35;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 12px;
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.site-nav a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 6px;
    border: 1px solid #e5eaf2;
    border-radius: 999px;
    background: #f8fafc;
    margin-left: auto;
}

.language-switcher-label {
    display: none;
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid transparent;
}

.language-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

.language-link.active {
    background: #1d4ed8;
    color: #ffffff;
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-logo {
        min-width: 0;
        flex: 1;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 6px;
    }

    .site-nav a {
        flex-shrink: 0;
    }

    .language-switcher {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .site-logo-text {
        max-width: 230px;
        font-size: 14px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav a {
        font-size: 13px;
        padding: 7px 9px;
    }

    .language-link {
        min-width: 34px;
        padding: 5px 8px;
        font-size: 12px;
    }
}
/* PUBLIC_GALLERY_DOCUMENTS_MULTILANG_V1 */
.gallery-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-public-card,
.document-public-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.gallery-public-image {
    height: 240px;
    background: #dbeafe;
    overflow: hidden;
}

.gallery-public-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
}

.gallery-public-body {
    padding: 20px;
}

.gallery-public-meta,
.document-public-meta,
.document-public-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.gallery-public-meta span,
.document-public-meta span,
.document-public-info span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.gallery-public-body h2,
.document-public-content h2 {
    margin: 0 0 10px;
    color: #0f172a;
    line-height: 1.3;
}

.gallery-public-body p,
.document-public-content p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.documents-public-list {
    display: grid;
    gap: 16px;
}

.document-public-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
}

.document-public-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #dbeafe;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.document-public-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1000px) {
    .gallery-public-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-public-card {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .document-public-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 650px) {
    .gallery-public-grid {
        grid-template-columns: 1fr;
    }

    .document-public-card {
        grid-template-columns: 1fr;
    }
}
/* PUBLIC_CONTACT_MULTILANG_V1 */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.contact-info-card h2,
.contact-form-card h2,
.contact-social-box h3 {
    margin: 0 0 16px;
    color: #0f172a;
}

.contact-info-list {
    display: grid;
    gap: 12px;
}

.contact-info-list div {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 18px;
    padding: 16px;
}

.contact-info-list span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.contact-info-list strong {
    color: #0f172a;
    font-size: 16px;
    line-height: 1.5;
}

.contact-social-box {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5eaf2;
}

.contact-social-box p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    outline: none;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.alert {
    border-radius: 16px;
    padding: 14px 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 900px) {
    .contact-layout,
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* PUBLIC_HEADER_DESIGN_V2 */
.public-header-v2 {
    background: #ffffff;
    border-bottom: 1px solid #d9dee7;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.public-topbar {
    background: #f7f8f6;
    border-bottom: 1px solid #d9dee7;
}

.public-topbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #1f2d36;
    text-decoration: none;
    min-width: 0;
}

.public-brand-logo {
    width: 58px;
    height: 46px;
    border: 2px solid #52616b;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #8b6f3d;
    font-size: 30px;
    font-weight: 900;
    flex: 0 0 auto;
}

.public-brand-text {
    display: grid;
    gap: 3px;
    line-height: 1.2;
}

.public-brand-text strong {
    max-width: 520px;
    color: #24323a;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.public-brand-text small {
    color: #60717c;
    font-size: 13px;
    font-weight: 700;
}

.public-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid #d3d8df;
    background: #ffffff;
    flex: 0 0 auto;
}

.public-lang-switcher a {
    padding: 9px 11px;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    border-right: 1px solid #e5e7eb;
}

.public-lang-switcher a:last-child {
    border-right: 0;
}

.public-lang-switcher a.active {
    background: #8a6d3b;
    color: #ffffff;
}

.public-main-nav {
    background: #eef1f2;
}

.public-main-nav-inner {
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.public-main-nav a {
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    color: #1f2933;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    border-left: 1px solid rgba(148, 163, 184, 0.28);
    transition: 0.2s ease;
}

.public-main-nav a:last-child {
    border-right: 1px solid rgba(148, 163, 184, 0.28);
}

.public-main-nav a:hover {
    background: #ffffff;
    color: #8a6d3b;
}

.public-menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    border: 1px solid #d3d8df;
    border-radius: 10px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.public-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #1f2933;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .public-topbar-inner {
        min-height: 72px;
    }

    .public-brand-text strong {
        font-size: 16px;
        max-width: 360px;
    }

    .public-brand-logo {
        width: 48px;
        height: 40px;
    }

    .public-main-nav-inner {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .public-main-nav a {
        padding: 0 18px;
        white-space: nowrap;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .public-brand-text small {
        display: none;
    }

    .public-brand-text strong {
        font-size: 13px;
        max-width: 210px;
    }

    .public-lang-switcher a {
        padding: 7px 8px;
        font-size: 11px;
    }
}
/* PUBLIC_FOOTER_DESIGN_V2 */
.public-footer-v2 {
    background: #1f2d36;
    color: #dbe4e7;
    margin-top: 0;
}

.public-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr 0.9fr;
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 38px;
}

.public-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.public-footer-logo {
    width: 64px;
    height: 64px;
    border: 2px solid rgba(219, 228, 231, 0.65);
    border-radius: 50%;
    background: #ffffff;
    color: #2558a8;
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 950;
    flex: 0 0 auto;
    overflow: hidden;
    box-shadow: 0 0 0 3px rgba(37, 88, 168, 0.12);
}

.public-footer-logo.has-image {
    width: 64px;
    height: 64px;
    padding: 6px;
}

.public-footer-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.public-footer-brand h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 950;
}

.public-footer-brand p {
    margin: 0;
    color: #b9c7ce;
    line-height: 1.7;
    max-width: 360px;
}

.public-footer-column h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 950;
    text-transform: uppercase;
}

.public-footer-links {
    display: grid;
    gap: 10px;
}

.public-footer-links a {
    color: #dbe4e7;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s ease;
}

.public-footer-links a:hover {
    color: #d4c39d;
    transform: translateX(3px);
}

.public-footer-contact-list {
    display: grid;
    gap: 12px;
}

.public-footer-contact-list p {
    margin: 0;
    color: #b9c7ce;
    line-height: 1.55;
}

.public-footer-contact-list strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

.public-footer-social,
.public-footer-social-empty {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 14px 16px;
    color: #dbe4e7;
    line-height: 1.7;
    font-weight: 800;
}

.public-footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.public-footer-social a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 800;
    transition: color .2s ease;
}

.public-footer-social a:hover {
    color: #8eb7ff !important;
}

.public-footer-social-empty {
    color: #b9c7ce;
}

.public-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: #b9c7ce;
    padding: 16px 0;
    font-size: 14px;
}

.public-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.public-footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.public-footer-legal a {
    color: #d7e3ea;
    text-decoration: none;
    font-weight: 700;
}

.public-footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.public-footer-legal span {
    opacity: 0.55;
}

@media (max-width: 1000px) {
    .public-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .public-footer-grid {
        grid-template-columns: 1fr;
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .public-footer-brand {
        flex-direction: column;
    }

    .public-footer-brand h2 {
        font-size: 19px;
    }
}