:root {
    /* Dark Mode Defaults */
    --bg-base: #0a0a0a;
    --bg-surface: #121212;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-red: #ff3333;
    --glow-red: rgba(255, 50, 50, 0.4);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 50, 50, 0.3);
    --shadow-base: rgba(0, 0, 0, 0.6);
    --shadow-heavy: rgba(0, 0, 0, 0.8);
    --placeholder-bg: rgba(25, 25, 25, 1);
    --footer-grad: rgba(20, 0, 0, 0.5);
    /* Fonts */
    --font-primary: 'Inter', -apple-system, sans-serif;
    --font-title: 'Space Grotesk', sans-serif;
    --font-code: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

body.light-mode {
    /* متغیرهای حالت لایت */
    --bg-base: #ffffff;
    --bg-surface: #f8f9fa;
    --text-main: #1f2328;
    --text-muted: #656d76;
    --accent-red: #d30000;
    --glow-red: rgba(211, 0, 0, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-highlight: rgba(211, 0, 0, 0.2);
    --shadow-base: rgba(0, 0, 0, 0.05);
    --shadow-heavy: rgba(0, 0, 0, 0.1);
    --placeholder-bg: rgba(0, 0, 0, 0.05);
    --footer-grad: rgba(255, 200, 200, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* اسکرول نرم برای فهرست */
    font-size: 100%;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease;
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 60px;
    max-width: 950px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    z-index: 1000;
    box-shadow: 0 20px 40px var(--shadow-heavy);
    transition: all 0.5s ease;
}

.brand-logo {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-red);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: var(--font-title);
}

.nav-links a:hover {
    color: var(--text-main);
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(128, 128, 128, 0.1);
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(128, 128, 128, 0.2);
    color: var(--accent-red);
    transform: scale(1.05);
}

.control-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.sun-icon {
    display: none;
}

body.light-mode .sun-icon {
    display: block;
}

body.light-mode .moon-icon {
    display: none;
}

/* --- Hero Section & Cover --- */
.hero-section {
    max-width: 1200px;
    margin: 100px auto 40px;
    width: 95%;
    height: 50vh;
    min-height: 380px;
    max-height: 500px;
    background: var(--placeholder-bg);
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px var(--shadow-base);
    border: 1px solid var(--glass-border);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Article Layout --- */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: color 0.3s, transform 0.3s;
    align-self: flex-start;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-5px);
}

.article-date {
    color: var(--accent-red);
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.article-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9), 0 2px 10px rgba(0, 0, 0, 0.8);
    margin: 0;
}

/* --- Table of Contents --- */
.toc-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-base);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.toc-sidebar::-webkit-scrollbar {
    display: none;
}

.toc-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-toc-btn {
    display: none;
    /* Only visible on mobile */
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.close-toc-btn:hover {
    color: var(--accent-red);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: 8px;
}

.toc-item.toc-h3 {
    padding-left: 15px;
}

.toc-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.toc-link:hover {
    color: var(--text-main);
}

.toc-link.active {
    color: var(--accent-red);
    font-weight: 600;
    border-left-color: var(--accent-red);
}

/* --- Mobile Floating TOC Button & Overlay --- */
.mobile-toc-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1998;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 10px 25px var(--glow-red);
    cursor: pointer;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.mobile-toc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--glow-red);
}

.toc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 901px) {
    .toc-overlay {
        display: none !important;
    }
}

/* --- Markdown Style --- */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    word-wrap: break-word;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    font-family: var(--font-title);
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.25;
    scroll-margin-top: 100px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

@keyframes flashHeading {

    0%,
    100% {
        color: var(--text-main);
        text-shadow: none;
    }

    20%,
    80% {
        color: var(--accent-red);
        text-shadow: 0 0 15px var(--glow-red);
    }
}

.highlight-flash {
    animation: flashHeading 1.5s ease-out;
}

.article-content h1 {
    font-size: 2em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--glass-border);
}

.article-content h2 {
    font-size: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--glass-border);
}

.article-content h3 {
    font-size: 1.25em;
}

.article-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.article-content a {
    color: var(--accent-red);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.article-content ul,
.article-content ol {
    margin-bottom: 16px;
    padding-left: 30px;
    color: var(--text-muted);
}

.article-content li {
    margin-bottom: 5px;
}

.article-content blockquote {
    padding: 0 1em;
    color: var(--text-muted);
    border-left: 0.25em solid var(--glass-border);
    border-right: none;
    margin: 0 0 16px 0;
    background: var(--bg-surface);
    padding: 16px;
    border-radius: 8px;
}

.article-content code {
    padding: 0.2em 0.4em;
    margin: 0;
    font-size: 85%;
    font-family: var(--font-code);
    background-color: var(--glass-bg);
    border-radius: 6px;
    display: inline-block;
    color: var(--text-main);
}

.article-content pre {
    background-color: #161b22;
    border-radius: 10px;
    padding: 16px;
    overflow: auto;
    margin-bottom: 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-mode .article-content pre {
    background-color: #f6f8fa;
    border-color: #d0d7de;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
    font-size: 90%;
    color: #e6edf3;
}

body.light-mode .article-content pre code {
    color: #1f2328;
}

.article-content table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 16px;
}

.article-content table th,
.article-content table td {
    padding: 6px 13px;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.article-content table th {
    font-weight: 600;
    background: var(--bg-surface);
    color: var(--text-main);
}

/* --- Loader --- */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
    color: var(--text-muted);
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: bold;
}

.loader span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 15px var(--accent-red);
    }
}

/* --- Footer --- */
.glass-footer {
    padding: 60px 20px 40px;
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(to top, var(--footer-grad), transparent);
    text-align: center;
}

.footer-brand h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

/* --- Responsive (Mobile TOC Setup) --- */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    nav {
        width: 92%;
        top: 15px;
    }

    .hero-section {
        height: auto;
        min-height: 350px;
        border-radius: 20px;
        margin: 90px auto 30px;
        width: 92%;
    }

    .hero-content {
        padding: 30px 20px;
    }

    /* Show Floating Button if body has class */
    body.has-toc .mobile-toc-btn {
        display: flex;
    }

    /* TOC Sidebar turns into a Bottom Sheet */
    .toc-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 100vh;
        margin-top: 0;
        border-radius: 24px 24px 0 0;
        background: var(--bg-surface);
        border: 1px solid var(--glass-border);
        border-bottom: none;
        z-index: 2000;
        padding: 30px 24px;
        box-shadow: 0 -10px 40px var(--shadow-heavy);
        transform: translateY(120%);
        transition: transform 0.4s cubic-bezier(0.3, 1, 0.3, 1);
    }

    .toc-sidebar.show {
        transform: translateY(0);
    }

    .close-toc-btn {
        display: block;
        /* Show close button in mobile */
    }

    .toc-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}


/* Keep article media inside its container */
.hero-section {
    isolation: isolate;
    contain: paint;
}

.hero-section.no-cover {
    background: radial-gradient(circle at 50% 30%, rgba(255, 51, 51, .16), var(--placeholder-bg) 68%);
}

.hero-section.no-cover .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .92), rgba(0, 0, 0, .35));
}

.hero-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.hero-image[hidden] {
    display: none !important;
}

.article-body,
.article-content {
    min-width: 0;
    max-width: 100%;
}

.article-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(78vh, 900px);
    object-fit: contain;
    margin-inline: auto;
    overflow: clip;
}

.article-content pre,
.article-content table {
    max-width: 100%;
    overflow-x: auto;
}

.article-content iframe,
.article-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

@media (max-width: 600px) {
    .hero-section {
        width: calc(100% - 24px);
        min-height: 330px;
    }

    .hero-content {
        padding: 24px 18px;
    }

    .article-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        overflow-wrap: anywhere;
    }

    .main-container {
        padding-inline: 14px;
    }
}

/* --- Article rendering fixes: anchors, responsive tables and HR --- */
.article-body,
.article-content,
.article-table-scroll,
.table-responsive {
    min-width: 0;
    max-width: 100%;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    scroll-margin-top: 110px;
}

.article-content hr {
    display: block;
    width: 100%;
    height: 1px;
    margin: 2.5rem 0;
    padding: 0;
    border: 0;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--glass-border) 12%,
            var(--text-muted) 50%,
            var(--glass-border) 88%,
            transparent 100%);
    opacity: 0.65;
}

.article-content .article-table-scroll,
.article-content .table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    scrollbar-width: thin;
}

.article-content .article-table-scroll:focus,
.article-content .table-responsive:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 3px;
}

.article-content .article-table-scroll table,
.article-content .table-responsive table,
.article-content table {
    width: max-content;
    min-width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-spacing: 0;
    border-collapse: collapse;
    overflow: visible;
}

.article-content table th,
.article-content table td {
    min-width: 130px;
    max-width: 340px;
    padding: 0.75rem 0.9rem;
    border: 0;
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.article-content table th:last-child,
.article-content table td:last-child {
    border-right: 0;
}

.article-content table tbody tr:last-child td {
    border-bottom: 0;
}

.article-content table th {
    position: relative;
    font-weight: 700;
    background: var(--bg-surface);
    color: var(--text-main);
}

.article-content table td {
    color: var(--text-muted);
    background: var(--bg-base);
}

.article-content table code {
    white-space: nowrap;
}

.article-content .article-image-load-failed {
    min-height: 120px;
    background: var(--placeholder-bg);
    border: 1px dashed var(--accent-red);
}

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

    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        scroll-margin-top: 92px;
    }
}

@media (max-width: 600px) {

    .article-content .article-table-scroll,
    .article-content .table-responsive {
        width: 100%;
        max-width: calc(100vw - 28px);
        margin-inline: 0;
        border-radius: 10px;
    }

    .article-content table {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .article-content table th,
    .article-content table td {
        min-width: 120px;
        max-width: 260px;
        padding: 0.65rem 0.75rem;
    }

    .article-content hr {
        margin: 2rem 0;
    }
}

/* ========================================================================== */
/* Article UX refresh: compact hero, mobile-safe type, hidden sheets, feedback */
/* ========================================================================== */

/* Smaller cover: keeps visual context without dominating the article. */
.hero-section {
    width: min(calc(100% - 40px), 1120px);
    height: clamp(260px, 32vw, 380px);
    min-height: 0;
    max-height: none;
    margin: 92px auto 32px;
    border-radius: 24px;
}

.hero-content {
    padding: clamp(22px, 4vw, 38px);
    gap: 10px;
}

.article-title {
    font-size: clamp(1.4rem, 2.5vw, 2.35rem);
    line-height: 1.18;
    max-width: 22ch;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.article-date {
    font-size: clamp(.78rem, 1.3vw, .92rem);
}

.article-content {
    font-size: clamp(1rem, .35vw + .92rem, 1.075rem);
    line-height: 1.78;
}

.article-content p,
.article-content li,
.article-content blockquote,
.article-content a,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    overflow-wrap: anywhere;
    word-break: normal;
    min-width: 0;
}

.article-content code:not(pre code) {
    display: inline;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-content pre {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.main-container,
.article-body,
.article-content {
    min-width: 0;
}

/* FAQ: compact accordion, intentionally separate from article headings/TOC */
.article-faq {
    margin-top: clamp(44px, 7vw, 72px);
    padding-top: clamp(26px, 4vw, 38px);
    border-top: 1px solid var(--glass-border);
}

.article-faq-heading {
    margin-bottom: 18px;
}

.article-faq-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--accent-red);
    font: 700 .72rem/1 var(--font-title);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.article-faq-heading h2 {
    margin: 0;
    color: var(--text-main);
    font: 800 clamp(1.28rem, 2vw, 1.7rem)/1.25 var(--font-title);
}

.article-faq-list {
    display: grid;
    gap: 10px;
}

.article-faq-item {
    overflow: clip;
    background: color-mix(in srgb, var(--bg-surface) 88%, transparent);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: border-color .2s ease, background-color .2s ease;
}

.article-faq-item[open] {
    border-color: color-mix(in srgb, var(--accent-red) 40%, var(--glass-border));
}

.article-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding: 16px 18px;
    color: var(--text-main);
    font: 700 .98rem/1.5 var(--font-title);
    cursor: pointer;
    user-select: none;
}

.article-faq-item summary::-webkit-details-marker {
    display: none;
}

.article-faq-item summary>span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.article-faq-toggle {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(128, 128, 128, .1);
}

.article-faq-toggle::before,
.article-faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.article-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.article-faq-item[open] .article-faq-toggle {
    color: var(--accent-red);
}

.article-faq-item[open] .article-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.article-faq-answer {
    padding: 0 18px 17px;
    color: var(--text-muted);
    font-size: .96rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.article-faq-answer> :first-child {
    margin-top: 0;
}

.article-faq-answer> :last-child {
    margin-bottom: 0;
}

.article-faq-answer p,
.article-faq-answer ul,
.article-faq-answer ol {
    margin: .65rem 0 0;
}

@media (max-width: 600px) {
    .article-faq {
        margin-top: 38px;
        padding-top: 24px;
    }

    .article-faq-list {
        gap: 8px;
    }

    .article-faq-item {
        border-radius: 14px;
    }

    .article-faq-item summary {
        padding: 14px;
        gap: 12px;
        font-size: .92rem;
    }

    .article-faq-answer {
        padding: 0 14px 14px;
        font-size: .9rem;
        line-height: 1.7;
    }
}

/* Comments + ratings */
.article-feedback {
    margin-top: clamp(52px, 8vw, 88px);
    padding-top: clamp(30px, 5vw, 48px);
    border-top: 1px solid var(--glass-border);
}

.feedback-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.feedback-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--accent-red);
    font: 700 .72rem/1 var(--font-title);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.feedback-heading h2 {
    margin: 0;
    color: var(--text-main);
    font: 800 clamp(1.35rem, 2.2vw, 1.85rem)/1.2 var(--font-title);
}

.feedback-heading p {
    max-width: 560px;
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: .94rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-surface) 86%, transparent);
}

.rating-summary>strong {
    font: 800 1.7rem/1 var(--font-title);
    color: var(--text-main);
}

.rating-summary>div {
    display: grid;
    gap: 2px;
}

.summary-stars,
.comment-rating {
    color: #f6b73c;
    letter-spacing: .06em;
    white-space: nowrap;
}

.rating-summary span {
    color: var(--text-muted);
    font-size: .72rem;
}

.feedback-composer,
.reply-composer {
    border: 1px solid var(--glass-border);
    background: var(--bg-surface);
    background: linear-gradient(145deg, color-mix(in srgb, var(--bg-surface) 94%, transparent), color-mix(in srgb, var(--bg-base) 98%, transparent));
    box-shadow: 0 18px 50px var(--shadow-base);
}

.feedback-composer {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.composer-topline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

.feedback-field,
.rating-field {
    min-width: 0;
}

.feedback-field {
    display: grid;
    gap: 7px;
}

.feedback-field>span,
.rating-field legend {
    color: var(--text-muted);
    font: 650 .78rem/1.2 var(--font-title);
}

.rating-field {
    padding: 0;
    border: 0;
}

.rating-field legend span {
    font-weight: 400;
    opacity: .65;
}

.feedback-field input,
.feedback-field textarea,
.reply-composer input,
.reply-composer textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    outline: 0;
    background: color-mix(in srgb, var(--bg-base) 84%, transparent);
    color: var(--text-main);
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.feedback-field input,
.reply-composer input {
    min-height: 44px;
    padding: 0 13px;
}

.feedback-field textarea,
.reply-composer textarea {
    resize: vertical;
    min-height: 100px;
    padding: 12px 13px;
    line-height: 1.55;
}

.feedback-field input:focus,
.feedback-field textarea:focus,
.reply-composer input:focus,
.reply-composer textarea:focus {
    border-color: color-mix(in srgb, var(--accent-red) 65%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-red) 13%, transparent);
}

.feedback-message-field {
    margin-top: 14px;
}

.star-input {
    display: flex;
    gap: 2px;
    min-height: 44px;
    align-items: center;
}

.star-choice {
    width: 34px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: color-mix(in srgb, var(--text-muted) 48%, transparent);
    font-size: 1.42rem;
    cursor: pointer;
    transition: transform .15s ease, color .15s ease;
}

.star-choice:hover,
.star-choice.selected {
    color: #f6b73c;
    transform: translateY(-1px);
}

.composer-actions,
.reply-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.feedback-status {
    margin-right: auto;
    color: var(--text-muted);
    font-size: .78rem;
}

.feedback-status[data-state="success"] {
    color: #49b675;
}

.feedback-status[data-state="error"] {
    color: var(--accent-red);
}

.feedback-submit,
.reply-submit,
.reply-cancel,
.comment-reply {
    border: 0;
    font-family: var(--font-title);
    cursor: pointer;
}

.feedback-submit,
.reply-submit {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 11px;
    background: var(--accent-red);
    color: #fff;
    font-weight: 750;
}

.feedback-submit:disabled,
.reply-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.feedback-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

.comments-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}

.comments-toolbar h3 {
    margin: 0;
    color: var(--text-main);
    font: 750 1rem/1.2 var(--font-title);
}

.comment-tree {
    display: grid;
    gap: 14px;
}

.comment-node {
    position: relative;
    min-width: 0;
}

.comment-card {
    position: relative;
    min-width: 0;
    padding: 16px 17px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-surface) 84%, transparent);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.comment-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid color-mix(in srgb, var(--accent-red) 36%, var(--glass-border));
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-red) 12%, var(--bg-base));
    color: var(--text-main);
    font: 800 .78rem/1 var(--font-title);
}

.comment-meta {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.comment-meta strong {
    overflow: hidden;
    color: var(--text-main);
    font: 700 .88rem/1.2 var(--font-title);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-meta time {
    color: var(--text-muted);
    font-size: .7rem;
}

.comment-rating {
    margin-left: auto;
    font-size: .82rem;
}

.comment-message {
    margin: 12px 0 0 44px;
    color: var(--text-muted);
    font-size: .93rem;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.comment-reply,
.reply-cancel {
    padding: 6px 9px;
    background: transparent;
    color: var(--text-muted);
    font-size: .76rem;
}

.comment-reply:hover,
.reply-cancel:hover {
    color: var(--accent-red);
}

.comment-children {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 12px 0 0 26px;
    padding-left: 24px;
    border-left: 1px solid color-mix(in srgb, var(--accent-red) 28%, var(--glass-border));
}

.comment-children::before {
    content: '';
    position: absolute;
    top: 23px;
    left: -1px;
    width: 16px;
    height: 1px;
    background: color-mix(in srgb, var(--accent-red) 28%, var(--glass-border));
}

.reply-composer {
    margin: 10px 0 2px 26px;
    padding: 14px;
    border-radius: 14px;
}

.reply-context {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: .76rem;
}

.reply-context strong {
    color: var(--text-main);
}

.reply-grid {
    display: grid;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr);
    gap: 10px;
}

.reply-grid textarea {
    min-height: 76px;
}

.comments-empty,
.feedback-unavailable {
    padding: 22px;
    border: 1px dashed var(--glass-border);
    border-radius: 14px;
    color: var(--text-muted);
    text-align: center;
    font-size: .88rem;
}

@media (max-width: 900px) {
    .main-container {
        padding: 0 18px 64px;
        gap: 0;
    }

    .hero-section {
        width: calc(100% - 28px);
        height: clamp(235px, 55vw, 290px);
        min-height: 0;
        margin: 82px auto 24px;
        border-radius: 18px;
    }

    .hero-content {
        padding: 20px;
    }

    .article-title {
        font-size: clamp(1.35rem, 6vw, 1.82rem);
        max-width: 100%;
    }

    .back-link {
        margin-bottom: 8px;
        font-size: .82rem;
    }

    .article-content {
        font-size: .96rem;
        line-height: 1.72;
    }

    .article-content h1 {
        font-size: 1.55rem;
    }

    .article-content h2 {
        font-size: 1.28rem;
    }

    .article-content h3 {
        font-size: 1.12rem;
    }

    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4 {
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .mobile-toc-btn {
        right: 14px;
        bottom: 16px;
        padding: 11px 15px;
        font-size: .82rem;
        box-shadow: 0 8px 24px var(--glow-red);
    }

    /* Critical: neither mobile sheet may peek above the viewport when closed. */
    #bottom-sheet {
        transform: translate3d(0, calc(100% + 40px), 0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #bottom-sheet.active {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    #mobile-overlay {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #mobile-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .toc-sidebar {
        display: block;
        max-height: min(78vh, 620px);
        transform: translate3d(0, calc(100% + 40px), 0);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        padding: 22px 18px max(22px, env(safe-area-inset-bottom));
    }

    .toc-sidebar.show {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.mobile-layer-open,
    body.toc-open {
        overflow: hidden;
        touch-action: none;
    }

    .feedback-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .rating-summary {
        align-self: flex-start;
    }

    .composer-topline,
    .reply-grid {
        grid-template-columns: 1fr;
    }

    .comment-children {
        margin-left: 12px;
        padding-left: 14px;
    }

    .reply-composer {
        margin-left: 12px;
    }
}

@media (max-width: 600px) {
    .main-container {
        padding-inline: 12px;
    }

    .hero-section {
        width: calc(100% - 20px);
        height: clamp(220px, 58vw, 260px);
    }

    .hero-content {
        padding: 17px 16px;
    }

    .article-title {
        font-size: clamp(1.25rem, 6.2vw, 1.62rem);
        line-height: 1.22;
    }

    .article-content {
        font-size: .93rem;
        line-height: 1.68;
    }

    .article-content ul,
    .article-content ol {
        padding-left: 22px;
    }

    .article-content .article-table-scroll,
    .article-content .table-responsive {
        max-width: calc(100vw - 24px);
    }

    .article-feedback {
        margin-top: 44px;
        padding-top: 28px;
    }

    .feedback-composer {
        padding: 15px;
        border-radius: 16px;
    }

    .rating-summary>strong {
        font-size: 1.45rem;
    }

    .star-input {
        gap: 0;
    }

    .star-choice {
        width: 32px;
        font-size: 1.3rem;
    }

    .composer-actions,
    .reply-actions {
        flex-wrap: wrap;
    }

    .feedback-status {
        width: 100%;
        margin: 0;
        order: 3;
    }

    .feedback-submit,
    .reply-submit {
        min-height: 40px;
    }

    .comment-card {
        padding: 14px 13px 10px;
        border-radius: 14px;
    }

    .comment-message {
        margin-left: 0;
        font-size: .89rem;
    }

    .comment-rating {
        font-size: .74rem;
    }

    /* Deep threads stay readable instead of consuming the whole screen width. */
    .comment-node[data-depth="3"] .comment-children,
    .comment-node[data-depth="4"] .comment-children,
    .comment-node[data-depth="5"] .comment-children {
        margin-left: 4px;
        padding-left: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .toc-sidebar,
    #bottom-sheet,
    .star-choice,
    .feedback-field input,
    .feedback-field textarea,
    .reply-composer input,
    .reply-composer textarea {
        transition: none !important;
    }
}


@media (max-width: 600px) {
    .comment-node.is-deep-thread>.comment-children {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .comment-node.is-deep-thread>.comment-children::before {
        display: none;
    }
}

.article-feedback {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {

    html,
    body {
        overflow-x: clip;
    }
}

/* ========================================================================== */
/* Final TOC layout: viewport-only, no JS device detection                    */
/* ========================================================================== */

/* Desktop/laptop: the TOC is a real sticky sidebar and follows the reader. */
@media (min-width: 901px) {
    .main-container {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 280px !important;
        gap: 60px !important;
        align-items: start !important;
        overflow: visible !important;
    }

    .article-body,
    .article-content {
        min-width: 0 !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .toc-sidebar {
        display: block !important;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 280px !important;
        height: max-content !important;
        max-height: calc(100vh - 120px) !important;
        margin: 0 !important;
        padding: 24px !important;
        align-self: start !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        border-radius: 20px !important;
        z-index: 20 !important;
    }

    .toc-title {
        position: static !important;
        top: auto !important;
        margin: 0 0 15px !important;
        padding: 0 0 10px !important;
        background: transparent !important;
    }

    .close-toc-btn,
    .mobile-toc-btn,
    .toc-overlay {
        display: none !important;
    }

    body.toc-open,
    body.mobile-layer-open {
        overflow: visible !important;
        touch-action: auto !important;
    }
}

/* Mobile/tablet: one content column. TOC exists only as a closed bottom sheet. */
@media (max-width: 900px) {
    .main-container {
        display: block !important;
        grid-template-columns: none !important;
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 18px 64px !important;
        overflow: visible !important;
    }

    .article-body,
    .article-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.has-toc .mobile-toc-btn {
        display: inline-flex !important;
    }

    .toc-sidebar {
        display: block !important;
        position: fixed !important;
        top: auto !important;
        right: 10px !important;
        bottom: max(10px, env(safe-area-inset-bottom)) !important;
        left: 10px !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: min(76dvh, 620px) !important;
        margin: 0 !important;
        padding: 18px 16px max(18px, env(safe-area-inset-bottom)) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        border-radius: 20px !important;
        z-index: 2000 !important;
        transform: translate3d(0, calc(100% + 48px), 0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform .22s ease, opacity .16s ease, visibility 0s linear .22s !important;
    }

    .toc-sidebar.show {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: transform .22s ease, opacity .16s ease !important;
    }

    .toc-title {
        position: sticky !important;
        top: -18px !important;
        z-index: 3 !important;
        margin: 0 0 10px !important;
        padding: 14px 0 12px !important;
        background: var(--bg-surface) !important;
    }

    .close-toc-btn {
        display: block !important;
    }

    .toc-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .toc-overlay.show {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.toc-open,
    body.mobile-layer-open {
        overflow: hidden !important;
        touch-action: none !important;
    }

    .toc-list,
    .toc-item,
    .toc-link {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .toc-link {
        font-size: .86rem !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .toc-item.toc-h3 {
        padding-left: 10px !important;
    }
}

@media (max-width: 600px) {
    .main-container {
        padding-inline: 12px !important;
    }
}

/* Desktop TOC scroll-follow fallback. This only affects desktop/laptop. */
@media (min-width: 901px) {
    .toc-sidebar.toc-scroll-following {
        position: fixed !important;
        top: var(--toc-follow-top, 100px) !important;
        left: var(--toc-follow-left) !important;
        right: auto !important;
        bottom: auto !important;
        width: var(--toc-follow-width, 280px) !important;
        max-width: 280px !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 20 !important;
    }
}
/* Bilingual article hotfix 1.0.6 */
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.article-language-switcher {
    width: min(1120px, calc(100% - 40px));
    margin: 18px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}
.article-language-switcher a {
    appearance: none;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 0.86rem/1.2 var(--font-primary);
    cursor: pointer;
    text-decoration: none;
    transition: .2s ease;
}
.article-language-switcher a:hover,
.article-language-switcher a.active {
    color: var(--text-main);
    border-color: var(--accent-red);
    background: var(--glow-red);
}
.article-language-switcher[dir="rtl"] { justify-content: flex-start; }
body.article-persian .article-language-switcher a { font-family: 'YekanBakhFaNum', Tahoma, sans-serif; }
/* Persian TOC: keep the sidebar on its natural left grid column while scrolling,
   and move the active marker to the right edge for RTL reading. */
body.article-persian .toc-sidebar { direction: rtl; text-align: right; }
body.article-persian .toc-item.toc-h3 { padding-left: 0; padding-right: 15px; }
body.article-persian .toc-link {
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    padding-left: 10px;
    padding-right: 10px;
} 
body.article-persian .toc-link.active {
    border-left-color: transparent;
    border-right-color: var(--accent-red);
}

/* Bilingual article content RTL fix 1.0.8
   Keep the shared page shell, hero, navbar and main grid LTR.
   Only the reader-facing article content becomes RTL in Persian mode. */
body.article-persian .article-content {
    direction: rtl;
    text-align: right;
    font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
}

body.article-persian .article-content h1,
body.article-persian .article-content h2,
body.article-persian .article-content h3,
body.article-persian .article-content h4,
body.article-persian .article-content h5,
body.article-persian .article-content h6,
body.article-persian .article-content p,
body.article-persian .article-content li,
body.article-persian .article-content blockquote,
body.article-persian .article-content table,
body.article-persian .article-content th,
body.article-persian .article-content td {
    direction: rtl;
    text-align: right;
    font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
}

/* The Persian article starts with its own H1, so its title naturally appears
   at the right side of the article reader instead of changing the hero. */
body.article-persian .article-content > h1:first-child {
    text-align: right;
}

body.article-persian .article-content ul,
body.article-persian .article-content ol {
    direction: rtl;
    text-align: right;
    padding-left: 0;
    padding-right: 30px;
}

body.article-persian .article-content blockquote {
    border-left: 0;
    border-right: 0.25em solid var(--glass-border);
}

body.article-persian .article-content code {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

body.article-persian .article-content pre,
body.article-persian .article-content pre code {
    direction: ltr;
    text-align: left;
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
}

body.article-persian .article-content img,
body.article-persian .article-content iframe,
body.article-persian .article-content video {
    direction: ltr;
}

/* Keep the page shell and hero exactly as the English version. */
body.article-persian #main-content,
body.article-persian .article-body,
body.article-persian .article-title,
body.article-persian .article-date,
body.article-persian .hero-section,
body.article-persian .article-language-switcher {
    direction: ltr;
}

body.article-persian .article-title {
    font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
    font-weight: 700;
}

body.article-persian .article-date {
    font-family: 'YekanBakhFaNum', Tahoma, sans-serif;
}

/* The TOC is a separate navigation component. Its RTL text/marker rules are
   retained, while its desktop position remains in the same left grid slot. */
body.article-persian .toc-sidebar {
    direction: rtl;
    text-align: right;
}

/* Hotfix 1.1.0: Persian desktop layout
   The TOC is intentionally on the left in Persian, so the article reader
   must occupy the right grid column instead of sharing the English slot. */
@media (min-width: 901px) {
    body.article-persian .main-container {
        direction: ltr;
        grid-template-columns: 280px minmax(0, 1fr) !important;
        gap: 60px !important;
    }

    body.article-persian .toc-sidebar {
        grid-column: 1;
        grid-row: 1;
        justify-self: stretch;
    }

    body.article-persian .article-body {
        grid-column: 2;
        grid-row: 1;
    }
}


/* Hotfix 1.1.3 — show the complete article cover and keep reader scrolling native */
.hero-section {
    background: #080808;
}

.hero-image {
    object-fit: contain !important;
    object-position: center center !important;
    background: #080808;
}

/* Desktop reader-follow TOC: JS supplies the measured viewport coordinates. */
@media (min-width: 901px) {
    .toc-sidebar.toc-scroll-following {
        position: fixed !important;
        top: var(--toc-follow-top, 100px) !important;
        left: var(--toc-follow-left) !important;
        right: auto !important;
        bottom: auto !important;
        width: var(--toc-follow-width, 280px) !important;
        max-width: 280px !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 20 !important;
    }
}
