:root {
    --bg-main: #0f1115;
    --bg-elevated: #181b21;
    --bg-elevated-soft: #14171d;
    --accent: #ff8c32;
    --accent-soft: rgba(255, 140, 50, 0.18);
    --text-main: #f5f5f5;
    --text-muted: #a5a9b5;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.45);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease-out;
    --transition-med: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    --header-height: 56px;
}

/* RESET / BASE */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #fdebde;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1.2fr);
    gap: 28px;
    align-items: flex-start;
}

.background-wrapper {
    padding: 32px 0 48px;
    background: radial-gradient(
            circle at top,
            rgba(255, 140, 50, 0.06),
            transparent 60%
    );
}

.content-section h2 {
    font-size: 1.5rem;
    margin: 20px 0 16px 0;
    color: var(--accent);
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--accent);
    margin: 18px 0 12px 0;
}

.content-section p {
    color: var(--text-muted);
    margin: 0 0 12px 0;
}

.content-section img {
    height: auto;
}

.content-section ul {
    margin: 8px 0;
    padding-left: 24px;
}

.content-section li {
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.7;
}

.content-section li::marker {
    color: var(--accent);
}

.content-section strong {
    color: var(--text-main);
    font-weight: 600;
}

.content-section blockquote {
    margin: 40px 0;
    padding: 20px 30px;
    background: var(--bg-elevated-soft);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
}

.content-section blockquote p {
    color: var(--text-main);
}

.content-section table {
    width: 100%;
    margin: 18px 0;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    font-size: 0.95rem;
}


.content-section tbody td {
    padding: 12px 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
}


.content-section tbody tr:last-child td {
    border-bottom: none;
}


.content-section tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}


.content-section th + th,
.content-section td + td {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}


.content-section .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}


.content-section .table-scroll table {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 680px;
}


@media (max-width: 768px) {
    .content-section thead th,
    .content-section tbody td {
        padding: 10px 12px;
        font-size: 0.92rem;
    }
}

.breadcrumbs-container {
    padding: 0 20px 24px 20px !important;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs-item:not(:last-child)::after {
    content: "›";
    margin: 0 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.breadcrumbs-link {
    text-decoration: none;
    color: var(--text-muted);
}

.breadcrumbs-link:hover {
    color: var(--accent);
}

.breadcrumbs-item-current {
    font-weight: 500;
    color: var(--text-main);
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: linear-gradient(
            to bottom,
            rgba(15, 17, 21, 0.92),
            rgba(15, 17, 21, 0.8),
            transparent
    );
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    gap: 24px;
}

.logo img {
    max-height: 60px;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-search-toggle {
    padding: 4px 10px 2px 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
}

.header-search-toggle:hover {
    color: var(--accent);
}

.header-search-icon i {
    font-size: 18px;
}

.header-search-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
}

.header-search-panel.is-open {
    display: flex;
}

.header-search-box {
    position: relative;
    margin-top: 80px;
    width: min(720px, 100% - 32px);
    background: var(--bg-main);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
    padding: 16px 18px 14px;
    z-index: 1;
}

.header-search-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-search-label {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
}

.header-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    padding: 8px 12px 8px 14px;
    font-size: 14px;
    outline: none;
    background: var(--bg-elevated);
    color: #f5f5f5;
}

.header-search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.header-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    cursor: pointer;
    background: url("icon-close.png") no-repeat center center;
    background-size: 14px 14px;
}

.header-search-submit {
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--accent);
    color: #ffffff;
}

.header-search-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

/* NAVIGATION */

.main-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
}

.main-nav a {
    color: var(--text-muted);
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    margin: 15px 0;
}

.compare-link a {
    border: 1px solid var(--accent-soft);
    background: radial-gradient(
            circle at top left,
            rgba(255, 140, 50, 0.22),
            transparent
    );
}

.main-nav a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.has-submenu .submenu {
    display: none;
    flex-direction: column;
    margin-top: 5px;
}

.has-submenu.open .submenu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.has-submenu > div {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
}

.submenu a {
    margin: 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    height: 2px;
    opacity: 0;
    transform: scaleX(0.6);
    transform-origin: left center;
    inset-inline: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transition: opacity var(--transition-fast), transform var(--transition-med);
}

.main-nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-nav .active a::after {
    opacity: 1;
    transform: scaleX(1);
}

/* SUBMENU */

.has-submenu {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.submenu {
    position: absolute;
    top: 98%;
    left: 0;
    min-width: 220px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-main);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    border: 1px solid var(--border-subtle);
    list-style: none;
}

.submenu li {
    width: 100%;
}

.submenu a {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
}

.submenu-toggle-btn {
    display: none;
    background: none;
    border: 1px solid var(--accent-soft);
    border-radius: 999px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.submenu-toggle-btn::before {
    content: "▾";
    font-size: 1.2rem;
    color: white;
    transform: translate(0px, 2px);
}

/* NAV TOGGLE (MOBILE) */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    position: relative;
}

.nav-toggle-label span::before {
    position: absolute;
    transform: translateY(-6px);
}

.nav-toggle-label span::after {
    position: absolute;
    transform: translateY(6px);
}

.nav-toggle:checked + .nav-toggle-label span {
    transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(-90deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
    opacity: 0;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-med), color var(--transition-med),
    transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #ffb057);
    color: #1b130b;
    box-shadow: 0 12px 30px rgba(255, 140, 50, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(255, 140, 50, 0.32);
}

.btn-outline {
    border-color: var(--accent-soft);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(255, 140, 50, 0.12);
}

/* FAQ */
.faq-section {
    padding: 24px 0 36px;
    border-top: 1px solid var(--border-subtle);
}

.faq-list {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
    transition: border-color var(--transition-fast),
    background var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
    background: #1b1e25;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.faq-item summary h3 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

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

.faq-item summary::after {
    content: "+";
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 8px 0 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FOOTER */

.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    background: radial-gradient(
            circle at top,
            rgba(255, 140, 50, 0.08),
            transparent 60%
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr 2.1fr;
    gap: 24px;
    font-size: 0.88rem;
}

.footer-column h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-column p {
    color: var(--text-muted);
}

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

.footer-links li {
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.86rem;
    color: var(--text-muted);
}

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

.footer-disclaimer {
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.footer-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 18px;
    padding: 10px 0 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom a {
    color: var(--text-muted);
    text-align: center;
}

.footer-bottom a:hover {
    color: var(--text-main);
}

/* META INFO */
.article-meta-info {
    padding-top: 24px;
    gap: 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-size: 0.85rem;
}

.article-meta-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.article-meta-text {
    color: var(--text-muted);
}

/* ==========================
   PAGINACJA
   ========================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn,
.pagination-number {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.pagination-btn:hover:not(:disabled),
.pagination-number:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-number.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-main);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 8px;
}

/* sidebar */

.sidebar-wrapper {
    position: sticky;
    top: 90px;
}

.sidebar-container {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    max-width: 320px;
    margin-bottom: 20px;
}

.sidebar-container:last-child {
    margin: 0;
}

.sidebar-widget {
    display: flex;
    flex-direction: column;
}

.sidebar-widget .widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0 0 12px 0;
}

.sidebar-widget .tradingview-widget-container {
    height: 600px;
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-post-item {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
    position: relative;
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-item:hover {
    transform: translateX(3px);
    opacity: 0.9;
}

.popular-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-elevated-soft);
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-item-cup {
    position: absolute;
    top: -13px;
    left: 51px;
    font-size: 34px;
}

.popular-post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: 8px;
}

.popular-post-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: var(--text-main);
    line-height: 1.4;
}

.sidebar-item-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.sidebar-item-button {
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 12px;
    max-width: 220px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff8c32, #ffb057);
    color: var(--bg-main);
    box-shadow: 0 6px 18px rgba(255, 140, 50, 0.25);
    transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.sidebar-item-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 140, 50, 0.35);
}

.sidebar-item-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(255, 140, 50, 0.25);
}

.author-box {
    position: relative;
}

.author-photo {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    margin: 0 auto;
    position: absolute;
    top: -40px;
    right: 0;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-role {
    margin: 0;
    font-size: 14px;
}

.author-desc {
    margin: 10px 0 0 0;
}

.author-name {
    font-size: 1.2rem;
}

.review-toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-mobile-slot {
    display: none;
}

.review-toc-link {
    display: block;
    padding: 5px 8px;
    border-radius: var(--radius-pill, 999px);
    font-size: 0.84rem;
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid transparent;
    transition: background var(--transition-fast, 0.15s ease),
    color var(--transition-fast, 0.15s ease),
    border-color var(--transition-fast, 0.15s ease);
}

.review-toc-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
}

.review-toc .review-toc-link.is-active {
    border-color: var(--accent-soft);
    background: rgba(255, 140, 50, 0.16);
    color: var(--accent);
}

@media (max-width: 1024px) {
    .sidebar-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: static;
        gap: 30px;
    }

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

    .sidebar-container {
        max-width: 100%;
    }

    .review-toc.toc-mobile-slot {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 10px 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: sticky;
        top: 70px;
        z-index: 5;
        overflow-x: auto;
        overflow-y: visible;
        white-space: nowrap;
        backdrop-filter: blur(12px);
    }

    .review-toc.toc-mobile-slot::-webkit-scrollbar {
        display: none;
    }

    .toc-mobile-slot .review-toc-link {
        white-space: nowrap;
        padding: 4px 14px;
        border-radius: 100px;
        font-size: 0.88rem;
        background: rgba(255, 255, 255, 0.08);
        color: var(--text-muted);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(4px);
        transition: 0.25s ease;
        scroll-snap-align: start;
    }

    .review-side-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .background-wrapper {
        padding: 24px 0 32px;
    }

    .main-nav a {
        width: 100%;
        padding: 8px 4px;
        margin: 0;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background);
        flex-direction: column;
        display: none;
    }

    .nav-toggle:checked ~ .main-nav ul {
        max-height: 590px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > ul {
        z-index: 10;
        flex-direction: column;
        gap: 0;
        position: absolute;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(11, 13, 17, 0.98);
        padding: 10px 20px 14px;
        border-bottom: 1px solid var(--border-subtle);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-med);
    }

    .main-nav li {
        width: 100%;
    }

    .has-submenu .submenu {
        padding-left: 20px;
    }

    .nav-toggle-label {
        display: block;
    }

    .btn-full {
        width: 100%;
    }

    .submenu {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 0 18px;
        margin-top: 4px;
    }

    .submenu a {
        padding: 5px 0;
        font-size: 0.86rem;
    }

    .submenu-toggle-btn {
        display: inline-flex;
    }

    .has-submenu.open .submenu-toggle-btn::before {
        transform: rotate(180deg);
        color: var(--accent);
    }

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

    .pagination-btn,
    .pagination-number {
        padding: 8px;
        min-width: 38px;
    }

    .breadcrumbs-container {
        padding-inline: 16px !important;
    }

    .breadcrumbs-list {
        font-size: 12px;
    }

    .header-search-box {
        margin-top: 70px;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 12px 14px 10px;
    }

    .header-search-row {
        gap: 6px;
    }

    .header-search-input {
        font-size: 13px;
        padding: 8px 10px;
    }

    .header-search-submit {
        padding-inline: 12px;
        font-size: 12px;
    }

    .article-meta-info {
        gap: 16px;
    }

    .article-meta-item {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .has-submenu:hover > .submenu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 520px) {
    .sidebar-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 320px) {
    .sidebar-item-button {
        font-size: 10px;
        padding: 8px 12px;
    }
}
