@charset "utf-8";

:root {
    --ink: #161a17;
    --ink-soft: #242a25;
    --paper: #ebe8df;
    --paper-deep: #d9d7ce;
    --surface: #f5f2ea;
    --surface-soft: #efebe2;
    --muted: #6f746e;
    --line: #cbc8be;
    --red: #9f241e;
    --red-bright: #bb332a;
    --jade: #4c725c;
    --gold: #ad8b50;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    min-width: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

.home-page button,
.home-page a {
    font: inherit;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
    outline: 2px solid #d44a3f;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 10px 14px;
    color: #fff;
    background: #111;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.home-page #HEAD.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    margin: 0;
    background: rgba(18, 22, 19, .93);
    border-bottom-color: rgba(173, 139, 80, .26);
    backdrop-filter: blur(10px);
}

.home-page .site-header__inner {
    width: min(1200px, calc(100% - 48px));
}

.home-page .main-navigation a {
    min-width: 104px;
}

.home-page .main-navigation a:first-child {
    color: #fff;
}

.home-page .main-navigation a:first-child::after {
    transform: scaleX(1);
}

.language-switcher {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    margin-left: 24px;
    overflow: hidden;
    background: rgba(8, 11, 9, .58);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}

.language-switcher button {
    min-width: 42px;
    height: 32px;
    padding: 0 9px;
    color: #b9bdb8;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    cursor: pointer;
    font: 700 11px/1 Arial, "Microsoft YaHei", sans-serif;
    white-space: nowrap;
}

.language-switcher button:first-child {
    border-left: 0;
}

.language-switcher button[lang="en"] {
    min-width: 58px;
}

.language-switcher button:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.language-switcher button.is-active {
    color: #fff;
    background: var(--red);
}

.home-hero {
    position: relative;
    min-height: 710px;
    overflow: hidden;
    background: #e4e0d6;
    box-shadow: inset 0 -1px 0 rgba(59, 65, 59, .18);
}

.home-hero__art,
.home-hero__veil {
    position: absolute;
    inset: 0;
}

.home-hero__art {
    background-image: url("../img/hero-baihong.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    transform: scale(1.01);
}

.home-hero__veil {
    background:
        linear-gradient(90deg, rgba(239, 236, 227, .99) 0%, rgba(239, 236, 227, .98) 48%, rgba(239, 236, 227, .84) 59%, rgba(239, 236, 227, .12) 80%),
        linear-gradient(0deg, rgba(38, 45, 39, .25) 0%, transparent 25%);
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: end;
    gap: 72px;
    width: min(1200px, calc(100% - 48px));
    min-height: 710px;
    margin: 0 auto;
    padding: 156px 0 86px;
}

.home-hero__copy {
    align-self: center;
    width: min(570px, 100%);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}

.eyebrow span {
    width: 38px;
    height: 2px;
    background: var(--red);
}

.eyebrow span[data-l10n] {
    width: auto;
    height: auto;
    background: transparent;
}

.home-hero h1 {
    margin: 0;
    color: #1b1c19;
    font: 700 76px/1.04 "STKaiti", "KaiTi", serif;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .8);
}

.home-hero__slogan {
    margin: 14px 0 0;
    color: #393b36;
    font: 700 25px/1.45 "STKaiti", "KaiTi", serif;
}

.home-hero__lead {
    max-width: 500px;
    margin: 18px 0 0;
    color: #5e615a;
    font-size: 15px;
    line-height: 1.9;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 164px;
    height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: var(--red);
    border-color: #b53930;
    box-shadow: 0 10px 28px rgba(109, 27, 22, .24);
}

.button--primary:hover {
    color: #fff;
    background: var(--red-bright);
}

.button--ghost {
    color: #292c28;
    background: rgba(247, 244, 237, .66);
    border-color: #9c9b93;
}

.button--ghost:hover {
    color: #111;
    background: #fff;
    border-color: #555952;
}

.home-hero__facts {
    display: flex;
    gap: 0;
    margin-top: 34px;
}

.home-hero__facts li {
    display: flex;
    flex-direction: column;
    min-width: 112px;
    padding: 0 22px;
    border-left: 1px solid #b9b6ad;
}

.home-hero__facts li:first-child {
    padding-left: 0;
    border-left: 0;
}

.home-hero__facts strong {
    color: #282b27;
    font-size: 15px;
}

.home-hero__facts span {
    margin-top: 3px;
    color: #85877f;
    font-size: 11px;
}

.server-glance {
    margin-bottom: 8px;
    padding: 22px 22px 18px;
    color: #d9dcd7;
    background: rgba(16, 20, 17, .91);
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--red);
    border-radius: 3px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
}

.server-glance__heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid #353b35;
}

.server-glance__heading div {
    display: flex;
    flex-direction: column;
}

.server-glance__heading small {
    color: #777f78;
    font: 9px/1 Arial, sans-serif;
}

.server-glance__heading strong {
    margin-top: 5px;
    color: #fff;
    font-size: 17px;
}

.server-glance ul {
    margin: 12px 0 0;
}

.server-glance li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    color: #c7cac5;
    border-bottom: 1px solid #2b302c;
}

.server-glance li a:hover {
    color: #fff;
}

.server-glance li span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-glance li b {
    flex: 0 0 auto;
    margin-left: 12px;
    color: #db7770;
    font-size: 11px;
    font-weight: 400;
}

.server-glance__more {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    color: #a8aca6;
    font-size: 12px;
}

.server-glance__more:hover {
    color: #fff;
}

.home-shell {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: 22px;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding-bottom: 36px;
}

.home-page .quick-access {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 250px;
    grid-column: 1 / -1;
    width: 100%;
    float: none;
    margin: -42px 0 14px;
    color: #ddd;
    background: #171c18;
    border: 1px solid rgba(173, 139, 80, .22);
    border-radius: 3px;
    box-shadow: 0 16px 38px rgba(22, 25, 22, .18);
    overflow: hidden;
}

.home-page .quick-access__download {
    min-height: 126px;
    padding: 22px 24px;
}

.home-page .quick-access__download strong {
    font-size: 26px;
}

.home-page .quick-access__links {
    grid-template-columns: repeat(3, 1fr);
}

.home-page .quick-access__links a,
.home-page .quick-access__links a:last-child {
    grid-column: auto;
    min-height: 126px;
    border-bottom: 0;
}

.home-page .quick-access__service {
    min-height: 126px;
    padding: 20px;
    border-left: 1px solid #30342f;
}

.home-primary {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.feature-slider {
    position: relative;
    min-width: 0;
    background: #202520;
    border: 1px solid #bdb9ae;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(28, 34, 29, .1);
    overflow: hidden;
}

.feature-slider__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1.95 / 1;
    overflow: hidden;
}

.feature-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
}

.feature-slide:first-child,
.feature-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.feature-slider.is-ready .feature-slide:first-child:not(.is-active) {
    opacity: 0;
    pointer-events: none;
}

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

.feature-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 11, 9, .8), transparent 55%);
}

.feature-slide__caption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.feature-slide__caption small {
    color: #d9a09a;
    font: 10px/1 Arial, sans-serif;
}

.feature-slide__caption strong {
    margin-top: 7px;
    font: 700 23px/1.25 "STKaiti", "KaiTi", serif;
}

.feature-slider__controls {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-arrow {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #fff;
    background: rgba(14, 17, 15, .72);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 2px;
    cursor: pointer;
}

.slider-arrow:hover {
    background: var(--red);
}

.slider-dots {
    display: flex;
    gap: 7px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, .48);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.is-active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(159, 36, 30, .8);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    min-height: 66px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
}

.section-heading > div {
    display: flex;
    flex-direction: column;
}

.section-heading span {
    color: var(--red);
    font: 10px/1 Arial, sans-serif;
}

.section-heading h2 {
    margin: 5px 0 0;
    color: var(--ink);
    font: 700 22px/1.15 "STKaiti", "KaiTi", serif;
}

.section-heading > a {
    color: var(--muted);
    font-size: 12px;
}

.section-heading > a:hover {
    color: var(--red);
}

.news-board,
.compact-panel,
.server-panel,
.knowledge-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(32, 38, 33, .07);
}

.news-tabs {
    display: flex;
    gap: 6px;
    padding: 14px 22px 5px;
}

.news-tab {
    min-width: 62px;
    height: 34px;
    padding: 0 13px;
    color: #63675f;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
}

.news-tab:hover {
    color: var(--ink);
    border-color: var(--line);
}

.news-tab.is-active {
    color: #fff;
    background: var(--ink-soft);
    border-color: var(--ink-soft);
}

.news-panels {
    min-height: 316px;
    padding: 5px 22px 20px;
}

.news-list {
    display: none;
}

.news-list.is-active {
    display: block;
}

.news-list li {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 20px;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px dashed #d6d1c7;
}

.article-kind {
    color: var(--jade);
    font-size: 12px;
}

.news-list a {
    overflow: hidden;
    color: #353934;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list li:hover a,
.news-list li:hover .article-arrow {
    color: var(--red);
}

.article-arrow {
    color: #a6a99f;
    text-align: right;
}

.home-side {
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 22px;
    min-width: 0;
}

.server-panel {
    overflow: hidden;
}

.server-panel__masthead {
    position: relative;
    min-height: 112px;
    padding: 16px 20px;
    color: #fff;
    background:
        linear-gradient(110deg, rgba(71, 17, 14, .97), rgba(145, 37, 30, .76)),
        url("../img/hero-baihong.jpg") 100% 28% / 230% auto no-repeat;
    border-bottom: 4px solid var(--gold);
}

.server-panel__masthead::after {
    content: none;
}

.server-panel__masthead small {
    color: #e6aaa5;
    font: 10px/1 Arial, sans-serif;
}

.server-panel__masthead h2 {
    margin: 10px 0 3px;
    font: 700 27px/1.15 "STKaiti", "KaiTi", serif;
}

.server-panel__masthead p {
    margin: 0;
    color: #e8c9c6;
    font-size: 13px;
    line-height: 1.4;
}

.server-list {
    padding: 8px 20px 14px;
}

.server-list li a {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    color: #3f433e;
    border-bottom: 1px solid #ddd8cd;
}

.server-list li:last-child a {
    border-bottom: 0;
}

.server-list strong {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.server-list em {
    color: var(--red);
    font-size: 11px;
    font-style: normal;
}

.activity-schedule {
    padding: 0 18px 11.5px;
}

.activity-schedule table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.activity-schedule thead th {
    height: 30px;
    color: #888b84;
    border-bottom: 1px solid #cfcac0;
    font-size: 10px;
    font-weight: 600;
    text-align: left;
}

.activity-schedule thead th:first-child,
.activity-schedule tbody th {
    width: 52px;
}

.activity-schedule thead th:last-child,
.activity-schedule tbody td:last-child {
    width: 102px;
    text-align: right;
}

.activity-schedule tbody tr {
    transition: background .2s ease;
}

.activity-schedule tbody tr:hover {
    background: rgba(159, 36, 30, .045);
}

.activity-schedule tbody th,
.activity-schedule tbody td {
    height: 34px;
    padding: 0;
    color: #3e433e;
    border-bottom: 1px solid #ddd8cd;
    font-size: 12px;
    white-space: nowrap;
}

.activity-schedule tbody tr:last-child th,
.activity-schedule tbody tr:last-child td {
    border-bottom: 0;
}

.activity-schedule tbody th {
    color: var(--red);
    font-weight: 700;
    text-align: left;
}

.activity-schedule time {
    color: var(--jade);
    font: 700 11px/1 Arial, sans-serif;
}

.section-heading--compact {
    min-height: 62px;
}

.compact-list {
    padding: 8px 20px 17px;
}

.compact-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    color: #454944;
    border-bottom: 1px dashed #d7d2c8;
}

.compact-list a:hover {
    color: var(--red);
}

.compact-list span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-list b {
    color: #a8aba5;
    font-weight: 400;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    gap: 22px;
    margin-top: 2px;
}

.knowledge-panel {
    overflow: hidden;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    padding: 12px 22px 20px;
}

.knowledge-list li {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: center;
    min-height: 42px;
    border-bottom: 1px dashed #dedbd2;
}

.knowledge-list li > span {
    color: var(--jade);
    font-size: 11px;
}

.knowledge-list a {
    overflow: hidden;
    color: #414540;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.knowledge-list a:hover {
    color: var(--red);
}

.knowledge-panel--dark {
    color: #d5d9d3;
    background: var(--ink-soft);
    border-color: #303630;
}

.knowledge-panel--dark .section-heading {
    border-bottom-color: #3a403a;
}

.knowledge-panel--dark .section-heading span {
    color: #d68780;
}

.knowledge-panel--dark .section-heading h2,
.knowledge-panel--dark .section-heading > a,
.knowledge-panel--dark .knowledge-list a {
    color: #eef0ec;
}

.knowledge-panel--dark .knowledge-list li {
    border-bottom-color: #3a403b;
}

.knowledge-panel--dark .knowledge-list li > span {
    color: #8eb49a;
}

.profession-showcase {
    position: relative;
    padding: 44px 24px 76px;
    overflow: hidden;
    color: var(--ink);
    background: linear-gradient(180deg, #ebe8df 0%, #dfe1db 34%, #252d27 78%, #111411 100%);
}

.profession-showcase__inner {
    position: relative;
    z-index: 1;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.profession-showcase__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.profession-showcase__head small {
    display: block;
    margin-bottom: 12px;
    color: var(--red);
    font: 800 11px/1 Arial, sans-serif;
    letter-spacing: 0;
}

.profession-showcase__head h2 {
    margin: 0;
    color: #20241f;
    font: 700 44px/1.16 "STKaiti", "KaiTi", serif;
    letter-spacing: 0;
}

.profession-showcase__head p {
    margin: 12px 0 0;
    color: #676e68;
    font-size: 14px;
    line-height: 1.8;
}

.profession-counter {
    display: flex;
    align-items: baseline;
    flex: 0 0 auto;
    gap: 10px;
    padding-bottom: 6px;
}

.profession-counter strong {
    color: var(--red);
    font: 700 50px/1 Arial, sans-serif;
}

.profession-counter span {
    color: #727973;
    font: 700 11px/1 Arial, sans-serif;
    letter-spacing: 0;
}

.profession-stage {
    position: relative;
    height: 570px;
    overflow: hidden;
    background: linear-gradient(112deg, #0e120f 0%, #151d18 48%, #182226 100%);
    border: 1px solid #4a554d;
    border-top: 3px solid var(--red);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02), 0 28px 64px rgba(19, 24, 20, .25);
}

.profession-stage::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(7, 11, 9, .99) 0%, rgba(7, 11, 9, .94) 30%, rgba(7, 11, 9, .34) 56%, rgba(7, 11, 9, .04) 100%),
        radial-gradient(circle at 73% 48%, rgba(58, 107, 91, .2), transparent 34%);
    content: "";
    pointer-events: none;
}

.profession-stage::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(4, 7, 5, .93));
    clip-path: polygon(0 76%, 100% 0, 100% 100%, 0 100%);
    content: "";
    pointer-events: none;
}

.profession-stage__lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.profession-stage__lines i {
    position: absolute;
    left: 39%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(117, 157, 137, .45), transparent);
    opacity: .65;
    transform-origin: left center;
}

.profession-stage__lines i:nth-child(1) {
    top: 80%;
    width: 70%;
    transform: rotate(-28deg);
}

.profession-stage__lines i:nth-child(2) {
    top: 62%;
    width: 56%;
    transform: rotate(-20deg);
}

.profession-stage__lines i:nth-child(3) {
    top: 12%;
    left: 48%;
    width: 55%;
    background: linear-gradient(90deg, transparent, rgba(193, 143, 62, .32), transparent);
    transform: rotate(17deg);
}

.profession-copy {
    position: absolute;
    top: 72px;
    left: 78px;
    z-index: 4;
    width: 390px;
}

.profession-index {
    color: #82918a;
    font: 800 11px/1 Arial, sans-serif;
    letter-spacing: 0;
}

.profession-index strong {
    color: #d5a24b;
}

.profession-index span {
    display: inline-block;
    width: 40px;
    height: 1px;
    margin: 0 10px 3px;
    background: #c9973e;
}

.profession-en {
    margin-top: 22px;
    color: #d2a14a;
    font: 900 12px/1 Arial, sans-serif;
    letter-spacing: 0;
}

.profession-copy h3 {
    margin: 8px 0 4px;
    color: #f4f4f0;
    font: 700 88px/.96 "STKaiti", "KaiTi", serif;
    letter-spacing: 0;
}

.profession-rule {
    width: 160px;
    height: 3px;
    margin: 15px 0;
    background: linear-gradient(90deg, #d4a34d, #8c2822, transparent);
}

.profession-copy h4 {
    margin: 0 0 15px;
    color: #d9aa4d;
    font-size: 15px;
}

.profession-copy > p {
    max-width: 375px;
    margin: 0 0 20px;
    color: #a4aea7;
    font-size: 13px;
    line-height: 1.9;
}

.profession-stats {
    display: grid;
    gap: 9px;
    width: 270px;
}

.profession-stats > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
}

.profession-stats span {
    color: #8b9890;
    font-size: 11px;
}

.profession-stats i {
    display: block;
    height: 4px;
    overflow: hidden;
    background: #26332d;
}

.profession-stats b {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #d2a147, #8d2923, #5f8a70);
    box-shadow: 0 0 8px rgba(163, 69, 48, .3);
    transition: width .35s ease;
}

.profession-portrait-wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 68%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.profession-portrait-aura {
    position: absolute;
    right: 8%;
    bottom: 4%;
    width: 64%;
    height: 72%;
    background: radial-gradient(ellipse, rgba(80, 128, 104, .24), transparent 66%);
    filter: blur(18px);
}

.profession-portrait {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 100%;
    height: 96%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .72)) drop-shadow(0 0 22px rgba(94, 139, 115, .18));
    transition: opacity .18s ease, transform .18s ease;
}

.profession-portrait.is-changing {
    opacity: 0;
    transform: translateX(24px) scale(.985);
}

.profession-portrait-floor {
    position: absolute;
    right: 5%;
    bottom: 2px;
    z-index: 1;
    width: 76%;
    height: 70px;
    background: radial-gradient(ellipse, rgba(100, 142, 119, .25), transparent 65%);
    border-top: 1px solid rgba(103, 147, 123, .25);
    transform: perspective(260px) rotateX(60deg);
}

.profession-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: grid;
    place-items: center;
    width: 46px;
    height: 70px;
    padding: 0;
    color: #d6aa58;
    background: rgba(7, 11, 9, .82);
    border: 1px solid #86682f;
    border-radius: 0;
    font: 400 36px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
}

.profession-arrow:hover {
    color: #fff;
    background: var(--red);
    border-color: #c65a52;
}

.profession-arrow--prev {
    left: 16px;
}

.profession-arrow--next {
    right: 16px;
}

.profession-brand-mark {
    position: absolute;
    right: 34px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #77837b;
    font: 700 9px/1 Arial, sans-serif;
    letter-spacing: 0;
}

.profession-brand-mark i {
    width: 38px;
    height: 1px;
    background: #c79742;
}

.profession-brand-mark em {
    color: #b6bdb7;
    font-style: normal;
}

.profession-selector {
    margin-top: 14px;
    padding: 14px 16px 18px;
    background: #171d19;
    border: 1px solid #3a443d;
    box-shadow: 0 18px 42px rgba(9, 12, 10, .18);
}

.profession-selector__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.profession-selector__head strong {
    color: #d9a04b;
    font-size: 13px;
}

.profession-selector__head span {
    color: #748078;
    font: 700 10px/1 Arial, sans-serif;
}

.profession-selector__grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 8px;
}

.profession-selector__item {
    position: relative;
    min-width: 0;
    min-height: 52px;
    padding: 8px 6px;
    color: #b8beb9;
    background: linear-gradient(145deg, #222923, #171c18);
    border: 1px solid #354039;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.profession-selector__item:hover {
    color: #fff;
    border-color: #ad8b50;
}

.profession-selector__item.is-active {
    color: #fff;
    background: linear-gradient(135deg, #b73129, #861c18);
    border-color: #cf5f56;
    box-shadow: 0 0 22px rgba(159, 36, 30, .22);
}

.profession-selector__item em {
    position: absolute;
    right: 7px;
    bottom: 4px;
    color: #e5ae42;
    font-size: 8px;
    font-style: normal;
}

.profession-selector__item.is-active em {
    color: #f1cf8a;
}

.home-page .site-footer {
    margin-top: 0;
    background: #111411;
    border-top-color: rgba(173, 139, 80, .28);
}

html[lang="en"] .home-hero__copy {
    width: min(640px, 100%);
}

html[lang="en"] .home-hero h1 {
    max-width: 640px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    line-height: 1.08;
}

html[lang="en"] .home-hero__slogan {
    max-width: 630px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.35;
}

html[lang="en"] .home-hero__lead {
    max-width: 620px;
    line-height: 1.7;
}

html[lang="en"] .section-heading h2,
html[lang="en"] .server-panel__masthead h2,
html[lang="en"] .profession-showcase__head h2,
html[lang="en"] .site-footer__brand strong,
html[lang="en"] .register-dialog h2 {
    font-family: Georgia, "Times New Roman", serif;
}

html[lang="en"] .activity-schedule tbody th,
html[lang="en"] .activity-schedule tbody td {
    font-size: 11px;
}

html[lang="en"] .profession-showcase__head h2 {
    max-width: 760px;
    font-size: 38px;
}

html[lang="en"] .profession-copy h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    line-height: 1.04;
}

html[lang="en"] .profession-selector__item {
    font-size: 11px;
}

@media (max-width: 1020px) {
    .home-page .main-navigation a {
        min-width: 86px;
        padding: 0 8px;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 30px;
    }

    .home-hero h1 {
        font-size: 62px;
    }

    .home-page .quick-access {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .home-page .quick-access__service {
        display: none;
    }
}

@media (max-width: 900px) {
    .home-hero {
        min-height: 760px;
    }

    .home-hero__art {
        background-position: 62% top;
    }

    .home-hero__veil {
        background: linear-gradient(90deg, rgba(241, 238, 230, .99) 0%, rgba(241, 238, 230, .96) 56%, rgba(241, 238, 230, .58) 100%);
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
        min-height: 760px;
        padding-bottom: 72px;
    }

    .home-hero__copy {
        width: min(560px, 100%);
    }

    .server-glance {
        display: none;
    }

    .home-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-primary,
    .home-side,
    .knowledge-grid {
        grid-column: 1;
    }

    .home-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .profession-showcase {
        padding: 44px 18px 60px;
    }

    .profession-stage {
        height: 690px;
    }

    .profession-copy {
        top: 56px;
        left: 56px;
        width: 47%;
    }

    .profession-copy h3 {
        font-size: 72px;
    }

    .profession-portrait-wrap {
        top: auto;
        right: -2%;
        bottom: 0;
        width: 76%;
        height: 66%;
    }

    .profession-portrait {
        height: 100%;
    }

    .profession-selector__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .home-page #HEAD.site-header {
        height: 72px;
    }

    .home-page .site-header__inner,
    .home-hero__inner,
    .home-shell {
        width: calc(100% - 28px);
    }

    .home-page .main-navigation {
        top: 71px;
    }

    .language-switcher {
        height: 32px;
        margin-left: auto;
    }

    .language-switcher button {
        height: 30px;
    }

    .home-page .nav-toggle {
        margin-left: 8px;
    }

    .home-hero {
        min-height: 690px;
    }

    .home-hero__art {
        background-position: 65% top;
        opacity: .68;
    }

    .home-hero__veil {
        background: linear-gradient(90deg, rgba(241, 238, 230, .99) 0%, rgba(241, 238, 230, .87) 65%, rgba(241, 238, 230, .48) 100%);
    }

    .home-hero__inner {
        min-height: 690px;
        padding: 118px 0 68px;
    }

    .home-hero__copy {
        align-self: end;
    }

    .home-hero h1 {
        font-size: 50px;
    }

    .home-hero__slogan {
        font-size: 21px;
    }

    .home-hero__lead {
        max-width: 440px;
        color: #4f524c;
        font-size: 14px;
    }

    .home-page .quick-access {
        grid-template-columns: 1fr;
        margin-top: -34px;
    }

    .home-page .quick-access__download {
        min-height: 110px;
    }

    .home-page .quick-access__links a,
    .home-page .quick-access__links a:last-child {
        min-height: 92px;
    }

    .feature-slider__viewport {
        aspect-ratio: 1.6 / 1;
    }

    .feature-slide__caption {
        right: 18px;
        bottom: 20px;
        left: 18px;
    }

    .feature-slider__controls {
        right: 14px;
        bottom: 14px;
    }

    .slider-dots {
        display: none;
    }

    .news-tabs {
        overflow-x: auto;
    }

    .news-tab {
        flex: 0 0 auto;
    }

    .home-side,
    .knowledge-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profession-showcase__head {
        align-items: flex-start;
    }

    .profession-showcase__head h2 {
        font-size: 36px;
    }

    .profession-counter {
        display: none;
    }
}

@media (max-width: 520px) {
    .language-switcher button {
        min-width: 36px;
        padding: 0 6px;
        font-size: 10px;
    }

    .language-switcher button[lang="en"] {
        min-width: 50px;
    }

    html[lang="en"] .site-brand__text {
        width: 96px;
    }

    html[lang="en"] .site-brand__text strong {
        font-size: 13px;
        line-height: 1.05;
        white-space: normal;
    }

    html[lang="en"] .site-brand__text small {
        display: none;
    }

    .site-brand__seal {
        width: 36px;
        height: 36px;
    }

    .site-brand__text strong {
        font-size: 18px;
    }

    .home-hero {
        min-height: 650px;
    }

    .home-hero__art {
        background-position: 68% top;
        opacity: .5;
    }

    .home-hero__inner {
        min-height: 650px;
        padding-bottom: 58px;
    }

    .eyebrow {
        margin-bottom: 12px;
        font-size: 11px;
    }

    .home-hero h1 {
        font-size: 43px;
    }

    html[lang="en"] .home-hero h1 {
        max-width: 310px;
        font-size: 36px;
    }

    .home-hero__slogan {
        font-size: 19px;
    }

    html[lang="en"] .home-hero__slogan {
        font-size: 17px;
    }

    .home-hero__lead {
        margin-top: 12px;
        line-height: 1.75;
    }

    .home-hero__actions {
        margin-top: 22px;
    }

    .button {
        min-width: 0;
        height: 48px;
        padding: 0 16px;
    }

    .home-hero__facts {
        margin-top: 26px;
    }

    .home-hero__facts li {
        min-width: 0;
        padding: 0 15px;
    }

    .home-page .quick-access__links {
        grid-template-columns: 1fr;
    }

    .home-page .quick-access__links a,
    .home-page .quick-access__links a:last-child {
        min-height: 70px;
        border-right: 0;
        border-bottom: 1px solid #2a2e2b;
    }

    .section-heading {
        min-height: 62px;
        padding: 14px 16px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .feature-slider__viewport {
        aspect-ratio: 1.35 / 1;
    }

    .feature-slide__caption strong {
        max-width: 60%;
        font-size: 19px;
    }

    .news-tabs,
    .news-panels {
        padding-right: 16px;
        padding-left: 16px;
    }

    .news-list li {
        grid-template-columns: 50px minmax(0, 1fr) 15px;
    }

    .news-panels {
        min-height: 310px;
    }

    .knowledge-list {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 16px;
        padding-left: 16px;
    }

    .profession-showcase {
        padding: 38px 14px 50px;
    }

    .profession-showcase__head {
        margin-bottom: 20px;
    }

    .profession-showcase__head h2 {
        font-size: 31px;
        line-height: 1.25;
    }

    .profession-showcase__head p {
        font-size: 12px;
    }

    .profession-stage {
        height: 790px;
    }

    .profession-stage::before {
        background: linear-gradient(180deg, rgba(7, 11, 9, .98) 0%, rgba(7, 11, 9, .9) 44%, rgba(7, 11, 9, .2) 72%, rgba(7, 11, 9, .04) 100%);
    }

    .profession-copy {
        top: 38px;
        left: 28px;
        width: calc(100% - 56px);
    }

    .profession-copy h3 {
        font-size: 58px;
    }

    html[lang="en"] .profession-copy h3 {
        max-width: 280px;
        font-size: 38px;
    }

    .profession-copy > p {
        max-width: 340px;
        font-size: 12px;
    }

    .profession-stats {
        width: min(250px, 78%);
    }

    .profession-portrait-wrap {
        right: -13%;
        width: 118%;
        height: 48%;
    }

    .profession-arrow {
        top: 63%;
        width: 38px;
        height: 56px;
    }

    .profession-arrow--prev {
        left: 8px;
    }

    .profession-arrow--next {
        right: 8px;
    }

    .profession-brand-mark {
        right: 18px;
        bottom: 13px;
    }

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

    .profession-selector__item {
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .feature-slide,
    .button,
    .main-navigation a::after {
        transition: none;
    }
}
