:root {
    --bg: #d8d8e2;
    --surface: #fcfcfd;
    --surface-soft: #f1f2f6;
    --surface-muted: #e8ebf3;
    --text: #1b2332;
    --text-soft: #5a6477;
    --line: rgba(27, 35, 50, 0.08);
    --line-strong: rgba(27, 35, 50, 0.14);
    --accent: #2d3748;
    --accent-soft: #6b778c;
    --accent-warm: #ff7f73;
    --accent-cool: #7678ff;
    --shadow-xl: 0 30px 80px rgba(41, 48, 73, 0.12);
    --shadow-md: 0 18px 40px rgba(41, 48, 73, 0.08);
    --radius-xl: 42px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 16px;
}

* {
    box-sizing: border-box;
    font-family: 'Yandex Sans Display', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 28%),
        linear-gradient(145deg, #dedde8 0%, #d2d3de 100%);
}

img {
    max-width: 100%;
    display: block;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.site-frame {
    padding: 24px;
}

.wrapper {
    width: 100%;
}

.wrapper .sideMenu {
    position: fixed;
    top: 16px;
    left: 16px;
    bottom: 16px;
    width: min(23rem, calc(100vw - 32px));
    padding: 0;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    z-index: 1002;
}

.wrapper.active .sideMenu {
    transform: translateX(0);
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(15, 23, 42, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.wrapper.active .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    height: auto;
    padding: 1.1rem;
    background: rgba(252, 252, 253, 0.98);
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: visible;
}

.sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.sidebar__eyebrow,
.section-kicker,
.sidebar__caption,
.post-card__detail span,
.reference-metric__label,
.section-caption {
    color: var(--text-soft);
    letter-spacing: 0.04em;
}

.sidebar__eyebrow,
.section-kicker,
.sidebar__caption {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sidebar__title {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.75rem;
    line-height: 1.1;
}

.sidebar__text {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.sidebar__section {
    margin-top: 0.9rem;
}

.sidebar-menu,
.sidebar-shortcuts,
.sidebar-categories,
.site-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-menu .menu-item,
.sidebar-shortcuts .menu-item,
.sidebar-categories .cat-item {
    margin: 0.3rem 0;
}

.sidebar-menu a,
.sidebar-shortcuts a,
.sidebar-categories a {
    display: block;
    padding: 0.58rem 0.85rem;
    border-radius: 999px;
    background: var(--surface-soft);
    font-size: 0.88rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-menu a:hover,
.sidebar-shortcuts a:hover,
.sidebar-categories a:hover {
    background: var(--surface-muted);
    transform: translateX(4px);
}

.sidebar-categories--tree,
.sidebar-categories__children {
    display: grid;
    gap: 0.35rem;
}

.sidebar-category-item {
    margin: 0;
}

.sidebar-category-item__row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-category-item__link {
    flex: 1 1 auto;
    min-width: 0;
}

.sidebar-category-item__toggle {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar-category-item__toggle:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.sidebar-category-item__toggle:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(45, 55, 72, 0.14);
}

.sidebar-category-item__toggle span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    transition: transform 0.2s ease;
}

.sidebar-category-item.is-open .sidebar-category-item__toggle span {
    transform: translateY(1px) rotate(225deg);
}

.sidebar-category-item__panel {
    padding-top: 0.35rem;
}

.sidebar-categories__children {
    margin: 0;
    padding: 0 0 0 0.9rem;
    list-style: none;
}

.sidebar-categories__children .sidebar-category-item__link {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.84rem;
}

.sidebar-category-item.is-current > .sidebar-category-item__row .sidebar-category-item__link {
    background: var(--surface-muted);
    color: var(--text);
}

.content {
    width: 100%;
}

.page-shell {
    min-height: calc(100vh - 48px);
    padding: 28px;
    background: rgba(252, 252, 253, 0.94);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(18px);
}

.page-layout {
    position: relative;
}

.site-topbar,
.header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-topbar {
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.brand-chip,
.mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-chip__logo-wrap,
.mobile-brand__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 180px;
    height: 56px;
    padding: 0.75rem 1rem;
}

.brand-chip__logo,
.mobile-brand__logo {
    display: block;
    width: 100%;
    max-width: 170px;
    max-height: 50px;
    object-fit: contain;
}

.brand-chip__text,
.mobile-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-chip__text strong {
    font-size: 1rem;
    line-height: 1.15;
}

.brand-chip__text--desktop {
    max-width: 180px;
}

.brand-chip__text small {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.4;
}

.mobile-topbar .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 20px rgba(27, 35, 50, 0.08);
}

.mobile-topbar .navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.12);
}

.mobile-topbar .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827,35,50,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 20px 20px;
}

.site-menu-pill {
    flex: 1 1 auto;
    max-width: 780px;
    padding: 0.55rem;
    border-radius: 999px;
    background: var(--surface-soft);
}

.site-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.site-menu .menu-item {
    margin: 0;
}

.site-menu .menu-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-menu .current-menu-item a,
.site-menu .menu-item a:hover {
    background: #ffffff;
    color: var(--text);
    box-shadow: var(--shadow-md);
}

.topbar-cta,
.post-card__link,
.quick-filters__item,
.social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.topbar-cta {
    padding: 1rem 1.7rem;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.header-search {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
}

.header-links {
    gap: 0.75rem;
}

.social-chip {
    width: 50px;
    height: 50px;
    background: var(--surface-soft);
    box-shadow: inset 0 0 0 1px var(--line);
}

.social-chip img {
    width: 20px;
    height: 20px;
}

.mobile-topbar {
    margin: 0 24px;
    padding: 0.9rem 1rem;
}

.mobile-brand__text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.search-form {
    position: relative;
    display: block;
}

.search-form__field {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0;
    width: 100%;
    padding: 0 1.2rem;
    border: 1px solid rgb(0 37 107 / 50%);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(27, 35, 50, 0.03);
}

.search-form__field:focus-within {
    border-color: rgba(27, 35, 50, 0.2);
    box-shadow: 0 0 0 4px rgba(27, 35, 50, 0.05);
}

.search-form__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--text-soft);
    flex: 0 0 22px;
}

.search-form__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.search-form .form-control {
    height: 64px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    box-shadow: none;
}

.search-form .form-control::placeholder {
    color: var(--text-soft);
}

.reference-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.reference-hero__title {
    margin-bottom: 0;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: -0.05em;
}

.reference-hero__title span,
.reference-hero__title strong {
    display: block;
}

.reference-hero__title strong {
    margin-top: 0.35rem;
    font-weight: 700;
}

.reference-hero__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    grid-column: 1 / -1;
}

.reference-hero__visual,
.post-card,
.post,
.cont,
.yagpt,
.file,
.nav-tabs,
.tab-content > .tab-pane,
.empty-state {
    background: #ffffff;
    border: 1px solid var(--line);
}

.reference-hero__visual {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255, 127, 115, 0.9) 0%, rgba(255, 127, 115, 0.25) 28%, transparent 28%),
        linear-gradient(135deg, rgba(118, 120, 255, 0.95) 0%, rgba(118, 120, 255, 0.25) 40%, transparent 40%),
        linear-gradient(145deg, #f6e9e3 0%, #f4edf7 46%, #eef1ff 100%);
}

.reference-hero__play {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    max-width: 290px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.reference-hero__play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
}

.reference-hero__shape {
    position: absolute;
    display: block;
    border-radius: 30px;
}

.reference-hero__shape--one {
    left: 7%;
    bottom: 22%;
    width: 28%;
    height: 34%;
    background: rgba(255, 255, 255, 0.72);
    transform: skew(-18deg);
}

.reference-hero__shape--two {
    left: 33%;
    top: 18%;
    width: 36%;
    height: 42%;
    background: rgba(156, 17, 35, 0.78);
    transform: skew(-28deg);
}

.reference-hero__shape--three {
    right: 12%;
    bottom: 14%;
    width: 24%;
    height: 42%;
    border-radius: 28px 28px 90px 28px;
    background: rgba(255, 255, 255, 0.5);
}

.reference-hero__shape--four {
    left: 52%;
    bottom: -8%;
    width: 22%;
    height: 48%;
    border-radius: 999px;
    background: rgba(86, 64, 215, 0.7);
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.quick-filters__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(27, 35, 50, 0.08);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quick-filters__item:hover {
    border-color: rgba(27, 35, 50, 0.16);
    background: #f7f8fa;
}

.quick-filters__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6b7280;
}

.post-feed__toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(27, 35, 50, 0.08);
    border-radius: 24px;
    background: #f8f9fb;
    box-shadow: none;
}

.post-feed__toolbar .header-search {
    max-width: none;
}

.post-feed__toolbar-label {
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stats-panel {
    display: grid;
    grid-template-columns: minmax(240px, 0.95fr) minmax(0, 3fr);
    gap: 1.75rem 2rem;
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(27, 35, 50, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: none;
}

.stats-panel__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.stats-panel__intro h2 {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    letter-spacing: -0.04em;
}

.stats-panel__intro p {
    margin-bottom: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.stats-panel__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.stats-panel__item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    min-height: 116px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(27, 35, 50, 0.08);
    border-radius: 20px;
    background: #fafbfc;
}

.stats-panel__item strong {
    color: var(--text);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.stats-panel__item span {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 600;
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    letter-spacing: -0.04em;
}

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

.post-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    border-radius: 32px;
}

.post-card__media {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7f2ee 0%, #f6ebf0 45%, #e9eeff 100%);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 1rem;
    min-height: 100%;
    padding: 1.2rem 1.3rem 1.15rem;
}

.post-card__header,
.post-card__person,
.post-card__header-side {
    display: flex;
    align-items: center;
}

.post-card__header {
    justify-content: space-between;
    gap: 1.25rem;
}

.post-card__person {
    gap: 0.8rem;
    min-width: 0;
}

.post-card__person--empty {
    min-height: 1px;
}

.post-card__avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #e6e8ef 0%, #d6dbeb 100%);
    box-shadow: inset 0 0 0 1px rgba(27, 35, 50, 0.08);
}

.post-card__avatar-image,
.post-card__avatar-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.post-card__avatar-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.post-card__avatar-fallback {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
}

.post-card__person-text,
.post-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
    min-width: 0;
}

.post-card__person-name {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.post-card__person-role,
.post-card__time,
.post-card__footer-note,
.post-card__meta,
.cat,
.data {
    color: var(--text-soft);
    font-size: 0.72rem;
    line-height: 1.4;
}

.post-card__person-label {
    color: var(--text-soft);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.78;
}

.post-card__header-side {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: flex-end;
    flex: 0 0 auto;
    text-align: right;
}

.post-card__title {
    margin-bottom: 0;
    font-size: 1.22rem;
    line-height: 1.24;
    letter-spacing: -0.03em;
}

.post-card__excerpt,
.p-desc-an,
.ext,
.name,
.sidebar__text,
.ajax-search__excerpt {
    color: var(--text-soft);
}

.post-card__excerpt {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.6;
}

.post-card__content {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.post-card__meta-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
    padding: 0.9rem 1rem;
    border-radius: 22px;
    background: rgb(251 251 252);;
}

.post-card__detail {
    padding: 0;
    min-width: 0;
}

.post-card__detail--wide {
    grid-column: 1 / -1;
}

.post-card__detail span {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.78;
}

.post-card__detail strong {
    display: block;
    font-size: 0.8rem;
    line-height: 1.36;
    font-weight: 500;
    color: rgba(27, 35, 50, 0.9);
}

.post-card__detail:not(.post-card__detail--wide) strong {
    max-width: 28ch;
}

.post-card__detail--wide strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.15rem;
}

.post-card__footer-meta,
.post-card__footer-date {
    display: flex;
    flex-direction: column;
}

.post-card__footer-meta {
    gap: 0.35rem;
    min-width: 0;
}

.post-card__footer-date {
    gap: 0.18rem;
}

.post-card__tags {
    flex: 1 1 auto;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.45;
}

.post-card__tags a {
    display: inline-flex;
    align-items: center;
    margin: 0 0.35rem 0.35rem 0;
    padding: 0.35rem 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(27, 35, 50, 0.06);
}

.post-card__link {
    flex: 0 0 auto;
    padding: 0.58rem 0.92rem;
    background: rgba(243, 246, 251, 0.96);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 600;
}

.post-card__footer-note {
    font-size: 0.7rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.post-card__reactions {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    line-height: 1;
}

.post-card__reaction {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.28rem 0.42rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.post-card__reaction:hover {
    background: rgba(27, 35, 50, 0.06);
    color: var(--text);
    transform: translateY(-1px);
}

.post-card__reaction:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(45, 55, 72, 0.18);
}

.post-card__reaction.is-active {
    background: #ffffff;
    color: var(--text);
}

.post-card__reaction.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.post-card__reaction-icon {
    font-size: 0.95rem;
}

.post-card__reaction-count {
    min-width: 0.8rem;
    font-size: 0.74rem;
    font-weight: 700;
}

.post,
.cont,
.yagpt,
.file,
.tab-content > .tab-pane,
.empty-state {
    border-radius: 30px;
}

.post {
    margin-top: 1rem;
    padding: 1rem;
}

.post-cont {
    padding-right: 0;
    padding-left: 0;
}

.page-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.5rem;
    align-items: start;
}

.page-article {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #ffffff;
}

.page-article__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.page-article__title {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.page-article__lead {
    max-width: 58ch;
    margin: 1.25rem 0 0;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.75;
}

.page-article__media {
    margin: 0 0 2rem;
    overflow: hidden;
    border-radius: 24px;
}

.page-article__image {
    display: block;
    width: 100%;
    height: auto;
}

.page-article__body { 
    font-size: 1.04rem;
    line-height: 1.85;
}

.page-article__footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.page-article__views {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-article__body > *:first-child {
    margin-top: 0;
}

.page-article__body > *:last-child {
    margin-bottom: 0;
}

.page-article__body p,
.page-article__body ul,
.page-article__body ol,
.page-article__body blockquote,
.page-article__body figure,
.page-article__body table,
.page-article__body .wp-block-image,
.page-article__body .wp-block-quote,
.page-article__body .wp-block-table,
.page-article__body .wp-block-columns {
    margin: 1.2rem 0;
}

.page-article__body h2,
.page-article__body h3,
.page-article__body h4,
.page-article__body h5,
.page-article__body h6 {
    margin: 2.2rem 0 0.8rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    scroll-margin-top: 1.5rem;
}

.page-article__body h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.page-article__body h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.page-article__body ul,
.page-article__body ol {
    padding-left: 1.35rem;
}

.page-article__body li + li {
    margin-top: 0.45rem;
}

.page-article__body a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

.page-article__body strong {
    font-weight: 700;
}

.page-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.page-article__body blockquote,
.page-article__body .wp-block-quote {
    margin-left: 0;
    padding: 0.2rem 0 0.2rem 1.25rem;
    border-left: 2px solid var(--line-strong);
    color: var(--text-soft);
}

.page-article__body table {
    width: 100%;
}

.page-article__body .wp-block-file,
.wp-block-file {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin: 1.4rem 0;
    padding: 1rem 1rem 1rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(41, 48, 73, 0.05);
}

.page-article__body .wp-block-file::before,
.wp-block-file::before {
    content: "\f497";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--surface-soft);
    color: var(--accent);
    font: normal 24px/1 dashicons;
    line-height: 1;
}

.page-article__body .wp-block-file > a:first-of-type,
.wp-block-file > a:first-of-type {
    min-width: 0;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}

.page-article__body .wp-block-file > a:first-of-type:hover,
.wp-block-file > a:first-of-type:hover {
    color: var(--accent);
    text-decoration: none;
}

.page-article__body .wp-block-file .wp-block-file__button,
.wp-block-file .wp-block-file__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.page-article__body .wp-block-file .wp-block-file__button::before,
.wp-block-file .wp-block-file__button::before {
    content: "\f316";
    font: normal 18px/1 dashicons;
    line-height: 1;
}

.page-article__body .wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.page-toc {
    position: sticky;
    top: 1.5rem;
}

.page-toc__inner {
    padding: 1.1rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(41, 48, 73, 0.04);
}

.page-toc__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-toc__title {
    margin-bottom: 1rem;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-toc__nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.page-toc__link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 14px;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.4;
    border-left: 2px solid transparent;
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.page-toc__link--level-3 {
    margin-left: 0.65rem;
    padding-left: 0.8rem;
    font-size: 0.83rem;
}

.page-toc__link--level-4 {
    margin-left: 1.2rem;
    padding-left: 0.8rem;
    font-size: 0.8rem;
}

.page-toc__link:hover {
    color: var(--text);
    background: rgba(241, 242, 246, 0.8);
    border-left-color: var(--line-strong);
    transform: translateX(2px);
}

.archive-library {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.archive-library__hero,
.archive-library__controls {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.archive-library__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.archive-library__title {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.archive-library__lead {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.archive-library__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.archive-library__stat {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: var(--surface-soft);
}

.archive-library__stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.archive-library__stat-label {
    display: block;
    margin-top: 0.35rem;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.35;
}

.archive-library__intro {
    max-width: 72ch;
    margin-top: 1.25rem;
    color: var(--text-soft);
}

.archive-library__controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.archive-library__search,
.archive-library__filter {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    min-width: 0;
}

.archive-library__control-label {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.archive-library__search-input,
.archive-library__filter select {
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.archive-library__search-input:focus,
.archive-library__filter select:focus {
    outline: none;
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.08);
}

.archive-library__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 0.9rem;
    align-items: end;
}

.archive-library__reset {
    min-height: 52px;
    padding: 0 1rem;
    border: 0;
    border-radius: 18px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.archive-library__summary {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.45;
}

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

.archive-library__more {
    display: flex;
    justify-content: center;
}

.archive-library__more-button {
    min-height: 52px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
}

.archive-entry {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
}

.archive-entry__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.archive-entry__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
}

.archive-entry__chip--soft {
    background: var(--surface-soft);
    color: var(--text-soft);
}

.archive-entry__title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.archive-entry__title a {
    color: inherit;
    text-decoration: none;
}

.archive-entry__title a:hover {
    color: var(--accent);
}

.archive-entry__author {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.archive-entry__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 1rem;
    margin: 0;
}

.archive-entry__detail {
    min-width: 0;
}

.archive-entry__detail--wide {
    grid-column: 1 / -1;
}

.archive-entry__detail dt {
    margin: 0 0 0.18rem;
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.archive-entry__detail dd {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.84rem;
    line-height: 1.5;
}

.archive-entry__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
    padding-top: 0.2rem;
}

.archive-entry__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.archive-entry__link--secondary {
    background: var(--surface-soft);
    color: var(--text);
}

.archive-entry__link:hover {
    color: #ffffff;
    text-decoration: none;
}

.archive-entry__link--secondary:hover {
    color: var(--text);
}

.archive-library__empty {
    padding: 2rem 1.4rem;
    border: 1px dashed var(--line-strong);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.archive-library__empty h2 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    line-height: 1.1;
}

.archive-library__empty p {
    margin: 0;
    color: var(--text-soft);
}

.material-form-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.material-form-page__hero,
.material-form-shell,
.material-form-denied {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.material-form-page__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.material-form-page__title {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.material-form-page__lead {
    max-width: 72ch;
    margin-top: 1rem;
    color: var(--text-soft);
}

.material-form-page__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.material-form-page__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.material-form-note {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
}

.material-form-note--soft {
    background: var(--surface-soft);
}

.material-form-note__title {
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.material-form-note__list {
    margin: 0;
    padding-left: 1rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.material-form-note__text {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.material-form__group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface-soft);
}

.material-form__group-head {
    margin-bottom: 1rem;
}

.material-form__group-title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    line-height: 1.2;
}

.material-form__group-text {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
}

.material-form__taxonomy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
}

.material-form__taxonomy-field {
    min-width: 0;
}

.material-form__field-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.material-form__category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.material-form__category-option {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.material-form__category-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.material-form__category-option span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.84rem;
    line-height: 1.2;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.material-form__category-option input:checked + span {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.material-form__text-input {
    width: 100%;
    min-height: 52px;
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.4;
}

.material-form__field-help {
    margin: 0.45rem 0 0;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}

.material-form__acf .acf-fields,
.material-wizard__acf .acf-fields {
    border: 0;
    background: transparent;
}

.material-form__acf .acf-field,
.material-wizard__acf .acf-field {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.material-form__acf .acf-field:first-child,
.material-wizard__acf .acf-field:first-child {
    border-top: 0;
    padding-top: 0;
}

.material-form__acf .acf-label label,
.material-form__acf .acf-label,
.material-wizard__acf .acf-label label,
.material-wizard__acf .acf-label {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.material-form__acf .acf-label p.description,
.material-form__acf .description,
.material-wizard__acf .acf-label p.description,
.material-wizard__acf .description {
    margin-top: 0.3rem;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.5;
}

.material-form__acf input[type="text"],
.material-form__acf input[type="password"],
.material-form__acf input[type="date"],
.material-form__acf input[type="datetime"],
.material-form__acf input[type="datetime-local"],
.material-form__acf input[type="email"],
.material-form__acf input[type="month"],
.material-form__acf input[type="number"],
.material-form__acf input[type="search"],
.material-form__acf input[type="tel"],
.material-form__acf input[type="time"],
.material-form__acf input[type="url"],
.material-form__acf input[type="week"],
.material-wizard__acf input[type="text"],
.material-wizard__acf input[type="password"],
.material-wizard__acf input[type="date"],
.material-wizard__acf input[type="datetime"],
.material-wizard__acf input[type="datetime-local"],
.material-wizard__acf input[type="email"],
.material-wizard__acf input[type="month"],
.material-wizard__acf input[type="number"],
.material-wizard__acf input[type="search"],
.material-wizard__acf input[type="tel"],
.material-wizard__acf input[type="time"],
.material-wizard__acf input[type="url"],
.material-wizard__acf input[type="week"],
.material-form__acf textarea,
.material-form__acf select,
.material-wizard__acf textarea,
.material-wizard__acf select {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: none;
}

.material-form__acf textarea {
    min-height: 160px;
}

.material-wizard__acf textarea {
    min-height: 180px;
}

.material-form__acf input:focus,
.material-form__acf textarea:focus,
.material-form__acf select:focus,
.material-wizard__acf input:focus,
.material-wizard__acf textarea:focus,
.material-wizard__acf select:focus,
.material-form__text-input:focus {
    outline: none;
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.08);
}

.material-form__acf .acf-postbox,
.material-form__acf .acf-repeater.-table > table,
.material-form__acf .acf-gallery,
.material-wizard__acf .acf-postbox,
.material-wizard__acf .acf-repeater.-table > table,
.material-wizard__acf .acf-gallery {
    border-color: var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.material-form__acf .acf-button,
.material-form__acf .button,
.material-form__acf .acf-icon.-cancel,
.material-wizard__acf .acf-button,
.material-wizard__acf .button,
.material-wizard__acf .acf-icon.-cancel {
    border-radius: 999px;
}

.material-form__acf .acf-button,
.material-form__acf .button,
.material-wizard__acf .acf-button,
.material-wizard__acf .button {
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 0;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 600;
}

.material-form__acf .acf-form-submit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.material-wizard__acf .acf-input-wrap,
.material-wizard__acf .acf-input,
.material-form__acf .acf-input-wrap,
.material-form__acf .acf-input {
    width: 100%;
}

.material-wizard__acf .acf-required,
.material-form__acf .acf-required {
    color: #d13f3f;
}

.material-form__submit {
    min-height: 54px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.material-form-success {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(45, 55, 72, 0.06);
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.material-form-denied {
    text-align: center;
}

.material-form-denied h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    line-height: 1.1;
}

.material-form-denied p {
    margin: 0;
    color: var(--text-soft);
}

.material-wizard-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.material-wizard-page__hero,
.material-wizard__shell {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.material-wizard-page__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.material-wizard-page__title {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.material-wizard-page__lead {
    max-width: 72ch;
    margin-top: 1rem;
    color: var(--text-soft);
}

.material-wizard {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.material-wizard__sidebar {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.material-wizard__sidebar-card {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
}

.material-wizard__sidebar-eyebrow {
    margin-bottom: 0.45rem;
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.material-wizard__sidebar-title {
    margin-bottom: 0.45rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.material-wizard__sidebar-text {
    color: var(--text-soft);
    font-size: 0.86rem;
    line-height: 1.6;
}

.material-wizard__steps {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.material-wizard__step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.material-wizard__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
}

.material-wizard__step-label {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.material-wizard__step.is-active {
    border-color: var(--line-strong);
    background: rgba(241, 242, 246, 0.7);
}

.material-wizard__step.is-active .material-wizard__step-number,
.material-wizard__step.is-complete .material-wizard__step-number {
    background: var(--accent);
    color: #ffffff;
}

.material-wizard__header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.material-wizard__counter {
    margin-bottom: 0.45rem;
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.material-wizard__heading {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.material-wizard__description {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.material-wizard__panels {
    display: block;
}

.material-wizard__panel {
    min-width: 0;
    padding: 0.2rem 0;
}

.material-wizard__acf .acf-fields {
    border: 0;
    background: transparent;
}

.material-wizard__acf .acf-field {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
}

.material-wizard__acf .acf-field:first-child {
    border-top: 0;
    padding-top: 0;
}

.material-wizard__acf .acf-form-submit {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.material-wizard__submit-wrap[hidden] {
    display: none !important;
}

.material-wizard__footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.material-wizard__nav {
    min-height: 52px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.material-wizard__nav--secondary {
    background: var(--surface-soft);
    color: var(--text);
}

.material-wizard__nav:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.material-wizard__publish {
    width: 100%;
}

.archive-modal {
    padding-right: 0 !important;
}

.archive-modal .modal-dialog {
    max-width: min(1200px, calc(100vw - 32px));
    margin: 4vh auto;
}

.archive-modal__dialog {
    min-height: 0;
}

.archive-modal__content {
    display: flex;
    flex-direction: column;
    height: min(88vh, 900px);
    border: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17, 24, 39, 0.22);
}

.archive-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.9rem;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
}

.archive-modal__title-wrap {
    min-width: 0;
}

.archive-modal__eyebrow {
    margin-bottom: 0.4rem;
    color: var(--text-soft);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.archive-modal__title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.archive-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
}

.archive-modal__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    background: #f7f8fb;
    overflow: hidden;
}

.archive-modal__frame {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.single-hero {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.single-hero__grid {
    display: block;
}

.single-hero__main,
.single-hero__content,
.single-hero__author {
    min-width: 0;
}

.single-hero__intro {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.single-hero__intro--simple {
    gap: 1rem;
}

.single-hero__media,
.single-hero__author,
.single-hero__content {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.single-hero__media {
    display: block;
    margin-bottom: 1.25rem;
}

.single-hero__media .post-photo {
    min-height: 320px;
}

.single-hero__author {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 2;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.single-hero__author-head {
    padding-bottom: 0.2rem;
    border-bottom: 0;
}

.single-hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.single-hero__fact {
    min-width: 0;
}

.single-hero__fact--wide,
.single-hero__fact--institution {
    grid-column: 1 / -1;
}

.single-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 1;
}

.single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-bottom: 0.15rem;
}

.single-hero__meta-item {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.single-hero__meta-item .cat:before,
.single-hero__meta-item .data:before {
    display: none;
}

.single-hero__title h1 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.single-hero__keywords {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.single-hero__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.single-hero__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 0.78rem;
    line-height: 1.2;
}

.p-disc {
    margin-bottom: 0.25rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.name {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

.etc {
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: var(--surface-soft);
}

.cat:before,
.data:before {
    margin-right: 10px;
    color: var(--accent-soft);
    font-family: FontAwesome;
}

.cat:before {
    content: "\f0b1";
}

.data:before {
    content: "\f073";
}

.cont,
.yagpt,
.tab-content > .tab-pane {
    padding: 1.5rem;
}

.yagpt {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.yagpt h1,h2,h3,h4,h5,h6 {
    font-size: 1rem;
    font-weight: 800;
}

.yagpt img {
    display: inline-block;
    height: 1.3rem;
    margin-right: 0.5rem;
}

/* YandexGPT Accordion */
.yagpt-accordion {
    margin-top: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.yagpt-accordion__button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.yagpt-accordion__button:hover {
    background-color: #f8f9fb;
}

.yagpt-accordion__button:focus {
    outline: 0;
    background-color: #f8f9fb;
}

.yagpt-accordion__icon {
    display: inline-block;
    height: 1.3rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.yagpt-accordion__title {
    flex: 1;
    text-align: left;
}

.yagpt-accordion__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.yagpt-accordion__toggle::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--accent-soft);
    border-bottom: 2px solid var(--accent-soft);
    transform: rotate(-45deg);
}

.yagpt-accordion__button[aria-expanded="true"] .yagpt-accordion__toggle {
    transform: rotate(180deg);
}

.yagpt-accordion__content {
    border-top: 1px solid var(--line);
}

.yagpt-accordion__body {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.yagpt-accordion__body h1,
.yagpt-accordion__body h2,
.yagpt-accordion__body h3,
.yagpt-accordion__body h4,
.yagpt-accordion__body h5,
.yagpt-accordion__body h6 {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.yagpt-accordion__body h1:first-child,
.yagpt-accordion__body h2:first-child,
.yagpt-accordion__body h3:first-child,
.yagpt-accordion__body h4:first-child,
.yagpt-accordion__body h5:first-child,
.yagpt-accordion__body h6:first-child {
    margin-top: 0;
}

.yagpt-accordion__body p {
    margin-bottom: 1rem;
}

.yagpt-accordion__body p:last-child {
    margin-bottom: 0;
}


.nav-tabs {
    margin: 1rem 0 0 0;
    padding: 1rem;
    border: 0;
    border-radius: 30px;
    background: #fafafb;
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    color: var(--text-soft);
    font-weight: 600;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background: var(--accent);
}

.tab-content > .tab-pane {
    border: 0;
    padding: 1rem 0;
}

.file {
    display: flow-root;
    width: 100%;
    margin: 0 0 1rem;
    padding: 1.25rem;
}

.file-ico {
    float: left;
    width: 64px;
    height: 64px;
    margin: 0 1rem 0 0;
}

.file a {
    color: var(--accent);
    font-weight: 600;
}

.jpg,
.png {
    border-color: rgba(107, 193, 191, 0.5);
}

.doc,
.docx {
    border-color: rgba(75, 123, 171, 0.45);
}

.post-photo {
    min-height: 220px;
    width: 100%;
    border-radius: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video {
    padding: 0;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 30px;
}

.video iframe {
    display: block;
}

.paginations {
    margin-top: 1.5rem;
}

.pagination,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 1rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    font-size: 0.95rem;
    font-weight: 600;
}

.page-numbers.current {
    background: var(--accent);
    color: #ffffff;
}

.ajax-search {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    margin: 0;
    padding: 0.5rem;
    max-height: 420px;
    overflow-y: auto;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xl);
    list-style: none;
}

.ajax-search__item {
    list-style: none;
    padding: 0.9rem 1rem;
    border-radius: 18px;
}

.ajax-search__item + .ajax-search__item {
    margin-top: 0.35rem;
}

.ajax-search__item:hover {
    background: var(--surface-soft);
}

.ajax-search__link {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 600;
}

.ajax-search__meta,
.ajax-search__status,
.ajax-search__not-found {
    color: var(--text-soft);
    font-size: 0.78rem;
    line-height: 1.45;
}

.ajax-search__meta {
    margin-bottom: 0.3rem;
}

.ajax-search__matches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.ajax-search__matches-label {
    color: var(--text-soft);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ajax-search__match-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(45, 55, 72, 0.08);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.ajax-search__excerpt {
    font-size: 0.82rem;
    line-height: 1.5;
}

.ajax-search__excerpt-source {
    color: var(--text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ajax-search__highlight {
    padding: 0 0.12rem;
    border-radius: 0.28rem;
    background: rgba(45, 55, 72, 0.12);
    color: var(--text);
}

.empty-state {
    padding: 2rem;
    text-align: center;
}

.search-results-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-results-page__hero,
.search-result-card {
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #ffffff;
}

.search-results-page__hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-results-page__eyebrow,
.search-result-card__type,
.search-result-card__date,
.search-result-card__meta,
.search-results-page__summary {
    color: var(--text-soft);
}

.search-results-page__eyebrow,
.search-result-card__type {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.search-results-page__title {
    margin: 0;
    max-width: 14ch;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.search-results-page__summary {
    margin: 0;
    max-width: 760px;
    font-size: 0.98rem;
    line-height: 1.65;
}

.search-results-page__summary span,
.search-results-page__summary strong {
    color: var(--text);
}

.search-results-page__summary strong {
    font-weight: 700;
}

.search-results-page__form {
    max-width: 820px;
}

.search-results-page__form .search-form {
    width: 100%;
}

.search-results-page__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.search-results-page__empty {
    border-radius: 30px;
}

.search-result-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.search-result-card__top,
.search-result-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.search-result-card__date,
.search-result-card__meta,
.search-result-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
}

.search-result-card__title {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.search-result-card__title a {
    color: var(--text);
}

.search-result-card__meta {
    margin-top: -0.1rem;
}

.search-result-card__matches {
    margin-bottom: 0;
}

.search-result-card__excerpt {
    color: var(--text-soft);
}

.search-result-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.15rem;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.search-results-page__pagination .page-numbers {
    box-shadow: none;
}

@media (max-width: 1199px) {
    .stats-panel {
        grid-template-columns: 1fr;
    }

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

    .stats-panel__item:nth-child(2)::after {
        display: none;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .single-hero__media .post-photo {
        min-height: 280px;
    }
}

@media (max-width: 991px) {
    body.sidebar-open {
        overflow: hidden;
    }

    .mobile-topbar {
        margin: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding-top: 12px;
    }

    .mobile-brand {
        min-width: 0;
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .wrapper .sideMenu {
        top: 0;
        left: 0;
        bottom: 0;
        width: 100vw;
        height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
        background: rgba(252, 252, 253, 0.98);
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        touch-action: pan-y;
    }

    .sidebar {
        min-height: 100dvh;
        height: auto;
        padding: 1rem 1rem 1.5rem;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .site-frame {
        padding: 0;
    }

    .page-shell {
        min-height: auto;
        margin-top: 12px;
        padding: 20px;
        border-radius: 28px;
    }

    .site-topbar {
        display: none;
    }

    .page-layout {
        display: block;
    }

    .content {
        width: 100%;
    }

    .page-article-layout {
        grid-template-columns: 1fr;
    }

    .page-article {
        padding: 1.15rem;
        border-radius: 26px;
    }

    .page-article__header {
        margin-bottom: 1.4rem;
        padding-bottom: 1rem;
    }

    .page-article__title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .page-article__lead,
    .page-article__body {
        max-width: none;
    }

    .archive-library__hero,
    .archive-library__controls {
        padding: 1rem;
        border-radius: 26px;
    }

    .material-form-page__hero,
    .material-form-shell,
    .material-form-denied {
        padding: 1rem;
        border-radius: 26px;
    }

    .material-form-page__layout,
    .material-form__taxonomy-grid {
        grid-template-columns: 1fr;
    }

    .material-form-page__title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .material-wizard-page__hero,
    .material-wizard__shell {
        padding: 1rem;
        border-radius: 26px;
    }

    .material-wizard,
    .material-form-page__layout,
    .material-form__taxonomy-grid {
        grid-template-columns: 1fr;
    }

    .material-wizard-page__title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .material-wizard__sidebar {
        position: static;
    }

    .material-wizard__footer {
        flex-direction: column;
    }

    .material-wizard__nav {
        width: 100%;
    }

    .archive-library__stats,
    .archive-library__filters,
    .archive-library__list,
    .archive-entry__details {
        grid-template-columns: 1fr;
    }

    .archive-library__title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .archive-library__reset,
    .archive-entry__link {
        width: 100%;
    }

    .archive-library__more-button {
        width: 100%;
    }

    .archive-modal__dialog {
        min-height: 0;
    }

    .archive-modal .modal-dialog {
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .archive-modal__content {
        height: 92vh;
        border-radius: 24px;
    }

    .archive-modal__header {
        padding: 0.9rem 0.9rem 0.8rem;
    }

    .page-article__body .wp-block-file,
    .wp-block-file {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 0.9rem;
    }

    .page-article__body .wp-block-file::before,
    .wp-block-file::before {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 1.1rem;
    }

    .page-article__body .wp-block-file .wp-block-file__button,
    .wp-block-file .wp-block-file__button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .page-toc {
        position: static;
        order: 2;
    }

    .single-hero {
        padding: 1rem;
        border-radius: 26px;
    }

    .single-hero__facts {
        grid-template-columns: 1fr;
    }

    .single-hero__meta {
        gap: 0.75rem;
    }

    .single-hero__meta-item {
        min-width: 0;
    }

    .single-hero__title h1 {
        font-size: 1.55rem;
        line-height: 1.12;
    }

    .single-hero__tag {
        font-size: 0.78rem;
    }

    .search-results-page__hero,
    .search-result-card,
    .search-results-page__empty {
        padding: 1rem;
        border-radius: 26px;
    }

    .search-results-page__title {
        max-width: none;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .brand-chip__logo-wrap,
    .mobile-brand__logo-wrap {
        min-width: 0;
        width: auto;
        max-width: 220px;
        height: 50px;
        padding: 0.6rem 0.85rem;
    }

    .mobile-brand__logo {
        max-width: 150px;
        max-height: 50px;
    }

    .section-heading,
    .reference-hero {
        display: block;
    }

    .sidebar-category-item__toggle {
        display: none;
    }

    .sidebar-category-item__panel[hidden] {
        display: block;
    }
}

@media (max-width: 767px) {
    .stats-panel {
        padding: 1.2rem;
    }

    .stats-panel__grid {
        grid-template-columns: 1fr;
    }

    .stats-panel__item {
        min-height: auto;
        padding: 1rem 1.1rem;
    }

    .stats-panel__item::after {
        display: none;
    }

    .quick-filters__item {
        width: 100%;
        justify-content: flex-start;
    }

    .search-form .form-control {
        height: 56px;
        font-size: 0.95rem;
    }

    .reference-hero__title {
        font-size: 2.35rem;
    }

    .reference-hero__visual {
        min-height: 240px;
    }

    .post-card__header,
    .post-card__header-side,
    .post-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .post-card__header-side {
        text-align: left;
    }

    .post-card__footer-meta {
        gap: 0.45rem;
    }

    .post-card__meta-panel {
        grid-template-columns: 1fr;
        padding: 0.85rem 0.9rem;
    }

    .post-card__reactions,
    .post-card__link {
        width: 100%;
        justify-content: center;
    }

    .search-result-card__top,
    .search-result-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-result-card__link {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .sidebar-backdrop {
        display: none;
    }

    .wrapper .sideMenu {
        position: relative;
        top: 0;
        bottom: auto;
        left: auto;
        display: block;
        flex: 0 0 300px;
        width: 300px;
        padding: 0;
        transform: none;
        z-index: 3;
    }

    .page-layout {
        display: flex;
        align-items: flex-start;
        gap: 24px;
    }

    .content {
        min-width: 0;
        flex: 1 1 auto;
    }

    .sidebar {
        max-height: none;
    }
}
