.description-page-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(255, 214, 132, 0.08), transparent 26%),
        linear-gradient(180deg, #171411 0%, #1c1712 38%, #201a14 100%);
    color: #ddd7ca;
    overflow-x: hidden;
}

/* =========================
   MAIN LAYOUT
========================= */
.description-main {
    position: relative;
    z-index: 5;
    padding: 88px 0 72px;
}

.description-main .container {
    width: min(1520px, calc(100% - 64px));
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

/* =========================
   HERO
========================= */
.description-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 28px;
    padding: 38px 40px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.94), rgba(8, 8, 7, 0.90));
    border: 1px solid rgba(255, 214, 132, 0.16);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 235, 190, 0.04);
}

.description-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 214, 132, 0.08), transparent 20%),
        radial-gradient(circle at 82% 0%, rgba(255, 214, 132, 0.06), transparent 18%);
}

.description-hero__title {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 12px;
    color: #f3ddb0;
    font-size: 46px;
    line-height: 1.03;
    font-family: Philosopher, serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 16px rgba(243, 221, 176, 0.07);
}

.description-hero__subtitle {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    color: #d9d2c4;
    font-size: 17px;
    line-height: 1.75;
    text-align: center;
}

/* =========================
   SHELL
========================= */
.description-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

/* =========================
   SIDEBAR
========================= */
.description-sidebar {
    min-width: 0;
    position: sticky;
    top: 90px;
}

.description-sidebar__inner {
    background: linear-gradient(180deg, rgba(10, 9, 8, 0.94), rgba(14, 12, 10, 0.88));
    border: 1px solid rgba(255, 214, 132, 0.14);
    border-radius: 18px;
    padding: 14px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 235, 190, 0.04);
    backdrop-filter: blur(6px);
}

.description-sidebar__head {
    margin-bottom: 10px;
}

.description-sidebar__label {
    color: #f2dfb0;
    font-size: 22px;
    line-height: 1.1;
    font-family: Philosopher, serif;
    font-weight: 700;
}

.description-sidebar__toggle,
.description-sidebar__toggle-icon {
    display: none !important;
}

.description-sidebar__empty {
    color: #bfb8ab;
    text-align: center;
    padding: 14px 10px;
    font-size: 14px;
    line-height: 1.4;
}

/* =========================
   TABS
========================= */
.description-tab {
    width: 100%;
    display: flex;
    align-items: center;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #d8d4cb;
    padding: 14px 14px;
    cursor: pointer;
    transition: .22s ease;
    font: inherit;
    min-height: 50px;
    border-radius: 12px;
}

.description-tab:last-child {
    border-bottom: 0;
}

.description-tab:hover {
    background: rgba(255,255,255,0.04);
    color: #fff6dc;
    transform: translateX(2px);
}

.description-tab.is-active {
    background: linear-gradient(90deg, rgba(255,215,140,0.14), rgba(255,255,255,0.02));
    color: #fff3cf;
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 140, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.18);
    border-bottom-color: transparent;
}

.description-tab__title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

/* =========================
   CONTENT
========================= */
.description-content {
    min-width: 0;
}

.description-pane {
    display: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 9, 8, 0.94), rgba(14, 12, 10, 0.88));
    border: 1px solid rgba(255, 214, 132, 0.14);
    border-radius: 22px;
    padding: 26px 28px;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 235, 190, 0.04);
    backdrop-filter: blur(6px);
    min-height: 300px;
}

.description-pane::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(255, 214, 132, 0.05), transparent 18%);
}

.description-pane.is-active {
    display: block;
    animation: descriptionFade .28s ease;
}

@keyframes descriptionFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.description-pane__header {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.description-pane__eyebrow {
    margin-bottom: 8px;
    color: #b8ae98;
    font-size: 15px;
    line-height: 1.2;
}

.description-pane__title {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #f3ddb0;
    font-size: 34px;
    line-height: 1.08;
    font-family: Philosopher, serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.description-pane__body {
    position: relative;
    z-index: 1;
    color: #ddd7ca;
    font-size: 16px;
    line-height: 1.78;
}

.description-pane__body h2,
.description-pane__body h3,
.description-pane__body h4 {
    color: #f1deb3;
    line-height: 1.3;
    margin: 24px 0 12px;
    font-family: Philosopher, serif;
    font-weight: 700;
}

.description-pane__body h2:first-child,
.description-pane__body h3:first-child,
.description-pane__body h4:first-child {
    margin-top: 0;
}

.description-pane__body p {
    margin: 0 0 14px;
}

.description-pane__body p:last-child {
    margin-bottom: 0;
}

.description-pane__body ul,
.description-pane__body ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.description-pane__body li {
    margin-bottom: 8px;
}

.description-pane__body img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 214, 132, 0.10);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    margin: 12px 0;
}

.description-pane__body table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 16px 0;
}

.description-pane__body td,
.description-pane__body th {
    border: 1px solid rgba(255, 214, 132, 0.10);
    padding: 10px 12px;
}

.description-pane__body iframe {
    max-width: 100%;
}

.description-pane__body blockquote {
    margin: 16px 0;
    padding: 14px 16px;
    border-left: 3px solid rgba(255, 214, 132, 0.45);
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

/* =========================
   FOOTER
========================= */
.footer {
    margin-top: 50px;
}

/* =========================
   SOCIALS
========================= */
.description-page-body .header-scl-box {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
}

.description-page-body .header-scl-box .scl__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.description-page-body .header-scl-box .scl__item {
    position: relative;
    width: 54px;
    height: 54px;
    color: #f2dfb0;
    filter: drop-shadow(0 0 10px rgba(242, 223, 176, 0.14));
}

.description-page-body .header-scl-box .scl__item:before {
    opacity: 1;
    transform: none;
    filter: brightness(1.12) contrast(1.05);
}

.description-page-body .header-scl-box .scl__item i {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: #f2dfb0;
    text-shadow: 0 0 12px rgba(242, 223, 176, 0.18);
}

.description-page-body .header-scl-box .scl__item:hover:before {
    transform: scale(1.06);
    filter: brightness(1.22) contrast(1.08);
}

.description-page-body .header-scl-box .scl__item:hover i {
    color: #fff2cf;
    text-shadow: 0 0 16px rgba(255, 242, 207, 0.26);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1366px) {
    .description-main .container {
        width: min(1400px, calc(100% - 48px));
    }

    .description-hero,
    .description-shell {
        width: 100%;
    }

    .description-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .description-hero__title {
        font-size: 40px;
    }

    .description-pane__title {
        font-size: 31px;
    }
}

@media (max-width: 1024px) {
    .description-main {
        padding: 78px 0 56px;
    }

    .description-main .container {
        width: calc(100% - 28px);
    }

    .description-hero {
        padding: 28px 20px 24px;
        margin-bottom: 18px;
    }

    .description-hero__title {
        font-size: 32px;
    }

    .description-hero__subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .description-shell {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .description-sidebar {
        position: relative;
        top: auto;
    }

    .description-sidebar__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .description-tab {
        min-height: 44px;
        border-bottom: 0;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    }

    .description-tab__title {
        font-size: 15px;
    }

    .description-pane {
        min-height: unset;
        padding: 22px 20px;
    }
}

@media (max-width: 768px) {
    .description-main {
        padding: 70px 0 44px;
    }

    .description-main .container {
        width: calc(100% - 20px);
    }

    .description-hero {
        padding: 22px 14px 18px;
        border-radius: 18px;
    }

    .description-hero__title {
        font-size: 27px;
        margin-bottom: 8px;
    }

    .description-hero__subtitle {
        font-size: 13px;
        line-height: 1.55;
    }

    .description-sidebar__inner {
        grid-template-columns: 1fr;
        border-radius: 14px;
        padding: 10px;
    }

    .description-sidebar__label {
        font-size: 20px;
    }

    .description-tab {
        padding: 10px 10px;
        min-height: 40px;
        border-radius: 8px;
    }

    .description-tab__title {
        font-size: 13px;
    }

    .description-pane {
        padding: 16px;
        border-radius: 16px;
    }

    .description-pane__eyebrow {
        font-size: 13px;
    }

    .description-pane__title {
        font-size: 24px;
    }

    .description-pane__body {
        font-size: 13px;
        line-height: 1.6;
    }

    .description-page-body .header-scl-box {
        display: none;
    }
}

@media (max-width: 480px) {
    .description-main {
        padding-top: 66px;
    }

    .description-hero__title {
        font-size: 24px;
    }

    .description-pane__title {
        font-size: 21px;
    }
}
/* ===== MASTER WIDTH FIX ===== */
.description-main .container {
    width: 100%;
    max-width: 1300px; /* единая ширина */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* ===== MASTER WIDTH FIX ===== */
.description-main .container {
    width: 100%;
    max-width: 1300px; /* единая ширина */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.description-shell {
    display: grid;
    grid-template-columns: 240px 1fr; /* чуть уже меню */
    gap: 14px;
    align-items: start;
}

.description-pane {
    padding: 20px 22px;
    border-radius: 16px;
}

.description-hero {
    padding: 22px 24px 20px;
    margin-bottom: 16px;
    border-radius: 18px;
}

.description-sidebar__inner {
    padding: 10px;
    border-radius: 14px;
}

/* ===== FONT FOR DESCRIPTION PAGE ===== */
.description-page-body {
    font-family: 'Philosopher', serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    text-shadow: 0 0 1px rgba(255,255,255,0.03);
}

.description-page-body h1,
.description-page-body h2,
.description-page-body h3 {
    font-family: 'Philosopher', serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

/* ===== FINAL WIDTH FIX ===== */

.description-main .container {
    width: 100% !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
}

.description-hero,
.description-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

.description-shell {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

.description-sidebar {
    width: 100% !important;
    min-width: 0 !important;
}

.description-content {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.description-pane {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .description-shell {
        grid-template-columns: 1fr !important;
    }

    .description-content,
    .description-pane {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.description-tab {
    display: flex;
    align-items: center;
    gap: 12px;
}

.description-tab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
}

.description-tab__icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: #c7ab74;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
    transition: stroke 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.description-tab__icon svg path,
.description-tab__icon svg circle,
.description-tab__icon svg ellipse,
.description-tab__icon svg line,
.description-tab__icon svg polyline,
.description-tab__icon svg polygon,
.description-tab__icon svg rect {
    fill: none;
    stroke: inherit;
}

.description-tab:hover .description-tab__icon svg {
    stroke: #e6c98f;
    opacity: 1;
    transform: translateY(-1px);
}

.description-tab.is-active .description-tab__icon svg {
    stroke: #f3ddb0;
    opacity: 1;
}

.description-tab.is-active {
    background: linear-gradient(90deg, rgba(255,215,140,0.12), rgba(255,255,255,0.02));
    color: #fff3cf;
    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 140, 0.10),
        0 6px 14px rgba(0, 0, 0, 0.14);
}

.description-tab__title {
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .description-tab {
        gap: 10px;
    }

    .description-tab__icon {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .description-tab__icon svg {
        width: 18px;
        height: 18px;
    }
}

.description-pane__body {
    position: relative;
    z-index: 1;
    color: #ddd7ca;
    font-size: 15px;
    line-height: 1.72;
}

.description-pane__body > *:first-child {
    margin-top: 0 !important;
}

.description-pane__body > *:last-child {
    margin-bottom: 0 !important;
}

/* Абзацы */
.description-pane__body p {
    margin: 0 0 14px;
}

/* Подзаголовки */
.description-pane__body h2,
.description-pane__body h3,
.description-pane__body h4 {
    margin: 24px 0 12px;
    color: #e3d2a3;
    font-family: 'Philosopher', serif;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0.02em;
}

.description-pane__body h2 {
    font-size: 28px;
}

.description-pane__body h3 {
    font-size: 22px;
}

.description-pane__body h4 {
    font-size: 18px;
}

/* Жирный текст */
.description-pane__body strong,
.description-pane__body b {
    color: #e8d7a8;
    font-weight: 700;
}

/* Курсив */
.description-pane__body em,
.description-pane__body i {
    color: #d9c79a;
    font-style: italic;
}

/* Ссылки */
.description-pane__body a {
    color: #cfc7b5;
    text-decoration: none;
    border-bottom: 1px solid rgba(227, 196, 124, 0.35);
    transition: color .2s ease, border-color .2s ease;
}

.description-pane__body a:hover {
    color: #f5ddb0;
    border-bottom-color: rgba(245, 221, 176, 0.7);
}

/* Списки */
.description-pane__body ul,
.description-pane__body ol {
    margin: 0 0 16px 0;
    padding: 0;
    list-style: none;
}

.description-pane__body ul li,
.description-pane__body ol li {
    position: relative;
    margin: 0 0 10px;
    padding-left: 22px;
}

.description-pane__body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e3c47c, #a9874a);
    box-shadow: 0 0 0 3px rgba(227, 196, 124, 0.08);
}

.description-pane__body ol {
    counter-reset: desc-counter;
}

.description-pane__body ol li {
    counter-increment: desc-counter;
}

.description-pane__body ol li::before {
    content: counter(desc-counter);
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #f5ddb0;
    background: rgba(255, 214, 132, 0.12);
    border: 1px solid rgba(255, 214, 132, 0.16);
}

/* Разделительная линия */
.description-pane__body hr {
    border: 0;
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(90deg, transparent, rgba(255,214,132,0.22), transparent);
}

/* Цитата / выделенный блок */
.description-pane__body blockquote {
    margin: 18px 0;
    padding: 16px 18px;
    border-left: 3px solid rgba(255, 214, 132, 0.55);
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.015));
    border-radius: 12px;
    color: #eee2c3;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.description-pane__body blockquote p:last-child {
    margin-bottom: 0;
}

/* Таблицы */
.description-pane__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255, 214, 132, 0.10);
}

.description-pane__body table th,
.description-pane__body table td {
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 214, 132, 0.07);
}

.description-pane__body table th {
    color: #f3ddb0;
    font-weight: 700;
    background: rgba(255, 214, 132, 0.05);
}

.description-pane__body table tr:last-child td {
    border-bottom: 0;
}

/* Картинки */
.description-pane__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 14px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 214, 132, 0.10);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* Код/моно */
.description-pane__body code {
    padding: 2px 6px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: #f3ddb0;
    font-size: 0.95em;
}

/* Универсальные красивые блоки */
.description-pane__body .desc-box,
.description-pane__body .desc-note,
.description-pane__body .desc-warning,
.description-pane__body .desc-grid-item {
    border-radius: 14px;
    padding: 16px 18px;
    margin: 18px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid rgba(255, 214, 132, 0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.description-pane__body .desc-box-title,
.description-pane__body .desc-note-title,
.description-pane__body .desc-warning-title {
    margin: 0 0 8px;
    color: #f3ddb0;
    font-family: 'Philosopher', serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.description-pane__body .desc-note {
    border-left: 3px solid rgba(255, 214, 132, 0.55);
}

.description-pane__body .desc-warning {
    border-left: 3px solid rgba(214, 120, 90, 0.7);
}

.description-pane__body .desc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.description-pane__body .desc-grid-item strong {
    display: block;
    margin-bottom: 6px;
    color: #f3ddb0;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .description-pane__body {
        font-size: 14px;
        line-height: 1.65;
    }

    .description-pane__body h2 {
        font-size: 24px;
    }

    .description-pane__body h3 {
        font-size: 20px;
    }

    .description-pane__body h4 {
        font-size: 17px;
    }

    .description-pane__body .desc-grid {
        grid-template-columns: 1fr;
    }

    .description-pane__body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}