:root {
    --color-bg: #fafafa;
    --color-bg-alt: #ffffff;
    --color-text: #1a1a2e;
    --color-text-muted: #64648c;
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-accent: #f59e0b;
    --color-accent-light: #fbbf24;
    --color-border: #e5e7eb;
    --color-card-shadow: rgba(99, 102, 241, 0.08);
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;

    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

    --size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --size-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --size-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --size-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --size-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
    --size-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    --max-width: 75rem;
    --content-width: 52rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #0f0f1a;
        --color-bg-alt: #1a1a2e;
        --color-text: #f1f1f4;
        --color-text-muted: #9ca3af;
        --color-border: #2d2d44;
        --color-card-shadow: rgba(0, 0, 0, 0.3);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--size-base);
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 100vh;
}

::selection {
    background: var(--color-primary);
    color: white;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--space-lg);
}

.content-width {
    max-width: var(--content-width);
}

.site-header {
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.logo {
    font-size: var(--size-xl);
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-md);
}

.site-nav ul {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}

.site-nav a {
    color: var(--color-text-muted);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.site-nav a:hover {
    color: var(--color-text);
    text-decoration: none;
}

.site-nav a:hover::after {
    width: 100%;
}

main {
    padding: var(--space-3xl) 0;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

@media (min-width: 64rem) {
    .article-grid {
        grid-template-columns: 1fr 18rem;
    }
}

.article-header {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--size-sm);
    color: var(--color-text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    font-size: var(--size-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    font-size: var(--size-4xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-lg);

}

.article-intro {
    font-size: var(--size-lg);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.toc {

}

.toc-title {
    font-size: var(--size-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.toc ol {
    list-style: none;
    counter-reset: toc-counter;
}

.toc li {
    counter-increment: toc-counter;
    margin-bottom: var(--space-sm);
}

.toc a {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    padding: var(--space-xs) 0;
    transition: all var(--transition-fast);
}

.toc a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: var(--size-xs);
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-mono);
}

.toc a:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateX(4px);
}

section {
    margin-bottom: var(--space-3xl);
}

h2 {
    font-size: var(--size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

h3 {
    font-size: var(--size-xl);
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

p {
    margin-bottom: var(--space-lg);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(245, 158, 11, 0.08));
    border-left: 4px solid var(--color-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.provider-grid {
    display: grid;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

@media (min-width: 40rem) {
    .provider-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.provider-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.provider-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.provider-name {
    font-size: var(--size-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.provider-year {
    font-size: var(--size-xs);
    color: var(--color-text-muted);
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.provider-desc {
    color: var(--color-text-muted);
    font-size: var(--size-sm);
    margin-bottom: var(--space-md);
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.feature-tag {
    font-size: var(--size-xs);
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.pros-cons {
    display: grid;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

@media (min-width: 40rem) {
    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }
}

.pros,
.cons {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.pros {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cons {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.pros h3,
.cons h3 {
    margin-top: 0;
    font-size: var(--size-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pros h3 {
    color: var(--color-success);
}

.cons h3 {
    color: var(--color-danger);
}

.pros ul,
.cons ul {
    list-style: none;
    margin: 0;
}

.pros li,
.cons li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    font-size: var(--size-sm);
}

.pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.cons li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--color-danger);
    font-weight: 700;
}

.steps {
    margin: var(--space-2xl) 0;
    counter-reset: step-counter;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    counter-increment: step-counter;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--size-lg);
    flex-shrink: 0;
}

.step-number::before {
    content: counter(step-counter);
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.step-content p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.faq {
    margin: var(--space-2xl) 0;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item summary {
    padding: var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    background: var(--color-bg-alt);
    transition: background var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: var(--size-xl);
    color: var(--color-primary);
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-answer {
    padding: var(--space-lg);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

aside {
    position: sticky;
    top: calc(var(--space-3xl) + 60px);
    height: fit-content;
}

.sidebar-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.sidebar-title {
    font-size: var(--size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.author-info {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: var(--size-lg);
}

.author-name {
    font-weight: 600;
}

.author-role {
    font-size: var(--size-sm);
    color: var(--color-text-muted);
}

.quick-facts dt {
    font-size: var(--size-sm);
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.quick-facts dd {
    font-weight: 600;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.quick-facts dd:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.warning-title {
    font-weight: 700;
    color: var(--color-warning);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.warning-box p {
    margin-bottom: 0;
    font-size: var(--size-sm);
}

.site-footer {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0;
    margin-top: var(--space-3xl);
}

.footer-content {
    display: grid;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

@media (min-width: 48rem) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: var(--size-sm);
    margin-top: var(--space-md);
}

.footer-title {
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: var(--size-sm);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: var(--size-sm);
    color: var(--color-text-muted);
}

.responsible-gaming {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-3xl);
}

.responsible-gaming h3 {
    color: var(--color-danger);
    margin-top: 0;
    font-size: var(--size-base);
}

.responsible-gaming p {
    font-size: var(--size-sm);
    margin-bottom: 0;
}

@media (max-width: 48rem) {
    .site-nav {
        display: none;
    }

    aside {
        position: static;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}

@media print {

    .site-header,
    .site-nav,
    aside,
    .site-footer {
        display: none;
    }

    main {
        padding: 0;
    }

    .article-grid {
        display: block;
    }
}

@media (max-width: 48rem) {
    .site-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 20rem;
        height: 100vh;
        background: var(--color-bg-alt);
        backdrop-filter: blur(10px);
        padding: var(--space-3xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: 1000;
        overflow-y: auto;
    }

    .site-nav.active {
        right: 0;
    }

    .site-nav ul {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .site-nav a {
        display: block;
        font-size: var(--size-lg);
        padding: var(--space-sm) 0;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        z-index: 99;
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    .menu-overlay.active {
        display: block;
        opacity: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 2rem;
        height: 1.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        position: relative;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background: var(--color-text);
        border-radius: var(--radius-sm);
        transition: all var(--transition-base);
        transform-origin: left;
    }

    .mobile-menu-toggle.active .hamburger-line:first-child {
        transform: rotate(45deg) translate(2px, -2px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle.active .hamburger-line:last-child {
        transform: rotate(-45deg) translate(2px, 2px);
    }
}

@media (min-width: 48.0625rem) {
    .mobile-menu-toggle {
        display: none;
    }
}

.logo-text.hidden {
    display: none;
}

.article-image {
    margin: var(--space-2xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-base);
}

.article-image--hero {
    margin: 0 0 var(--space-2xl) 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.article-image--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 60%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.article-image--hero img {
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.article-image:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.article-image:hover img {
    transform: scale(1.02);
}

.article-image--hero:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.article-image--hero:hover img {
    transform: scale(1.01);
}

.article-image figcaption {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--size-sm);
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.article-image img {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-image img[loading="lazy"] {
    background: linear-gradient(90deg,
            var(--color-bg-alt) 0%,
            var(--color-border) 50%,
            var(--color-bg-alt) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.article-image img[loading="lazy"][src] {
    animation: fadeIn 0.5s ease-out;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.article-image:focus-within {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
    .article-image {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3),
            0 2px 4px -1px rgba(0, 0, 0, 0.2);
    }

    .article-image:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4),
            0 4px 6px -2px rgba(0, 0, 0, 0.3);
    }

    .article-image--hero {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4),
            0 10px 10px -5px rgba(0, 0, 0, 0.3);
    }

    .article-image--hero::before {
        background: linear-gradient(180deg,
                transparent 0%,
                transparent 50%,
                rgba(0, 0, 0, 0.3) 100%);
    }

    .article-image img {
        filter: brightness(0.95);
    }

    .article-image:hover img {
        filter: brightness(1);
    }
}

@media (max-width: 480px) {
    .article-image {
        margin: var(--space-lg) calc(-1 * var(--space-lg));
        border-radius: 0;
    }

    .article-image--hero {
        margin: 0 calc(-1 * var(--space-lg)) var(--space-lg);
        border-radius: 0;
    }

    .article-image figcaption {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--size-xs);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .article-image {
        margin: var(--space-xl) 0;
    }

    .article-image--hero {
        border-radius: var(--radius-lg);
    }
}

@media (min-width: 769px) {
    .article-image {
        margin: var(--space-2xl) 0;
    }

    .article-image--hero img {
        max-height: 500px;
    }
}

@media (min-width: 1200px) {
    .article-image {
        margin: var(--space-3xl) 0;
    }

    .article-image--hero img {
        max-height: 550px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .article-image,
    .article-image img {
        transition: none;
        animation: none;
    }

    .article-image:hover img {
        transform: none;
    }

    .article-image img[loading="lazy"] {
        animation: none;
        background: var(--color-bg-alt);
    }
}

@media print {
    .article-image {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
        margin: 1rem 0;
    }

    .article-image--hero {
        max-width: 100%;
    }

    .article-image img {
        max-height: 300px;
        object-fit: contain;
    }
}

.article-image img:not([src]),
.article-image img[src=""] {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
}

.article-image--accent {
    border-left: 4px solid var(--color-primary);
}

.article-image--full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    border-radius: 0;
}

@media (min-width: 769px) {
    .article-image--full {
        margin-left: calc(-25vw + 50%);
        margin-right: calc(-25vw + 50%);
        max-width: 150%;
    }
}


article{
    display:block !important;
}
.articles-sitemap {
    padding: 40px 0;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sitemap-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sitemap-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: unset !important;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.0) 100%);
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: #fff;
    padding: 1rem;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.article-link {
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.article-link:hover {
    color: #64b5f6;
}

.article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    opacity: 0.9;
}

.article-children {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.children-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.child-item {
    margin: 0;
}

.child-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.child-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateX(5px);
}

.child-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.child-title {
    font-size: 0.95rem;
    font-weight: 500;
}

.grandchildren-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 52px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.grandchild-item {
    margin: 0;
}

.grandchild-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    display: block;
}

.grandchild-item a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.article-card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-date {
    font-style: italic;
}

.has-thumbnail {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-thumbnail svg {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.has-thumbnail:hover svg {
    opacity: 1;
}

.sitemap-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.articles-count,
.last-updated {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #64b5f6;
}

.no-articles {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    margin: 40px 0;
}

.no-articles p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .articles-sitemap {
        padding: 30px 0;
    }
    
    .sitemap-header h1 {
        font-size: 2.2rem;
    }
    
    .sitemap-header p {
        font-size: 1.1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        min-height: 350px;
    }
    
    .article-card-content {
        padding: 25px;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .sitemap-header h1 {
        font-size: 1.8rem;
    }
    
    .article-card {
        min-height: 320px;
    }
    
    .article-card-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .child-link {
        padding: 6px 10px;
    }
    
    .child-thumbnail {
        width: 35px;
        height: 35px;
    }
}

.article-card:not([style*="background-image"]) {
    background: linear-gradient(135deg, #ffffff 0%, #000000 100%);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(n+6) { animation-delay: 0.6s; }

.article-card {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .article-card {
        background-attachment: scroll;
    }
}



.simple-sitemap {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sitemap-header {
    text-align: center;
    margin-bottom: 40px;
}

.sitemap-header h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.sitemap-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.simple-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.simple-page-link {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.simple-page-link:hover {
    background: #e3f2fd;
    color: #3498db;
    transform: translateX(5px);
}

.sitemap-stats {
    text-align: center;
    padding: 20px 0;
    color: #666;
    font-size: 0.95rem;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.sitemap-footer {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.no-pages {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .simple-sitemap {
        padding: 30px 15px;
    }
    
    .sitemap-header h1 {
        font-size: 1.8rem;
    }
    
    .simple-page-link {
        padding: 10px 15px;
        font-size: 1rem;
    }
}


.f-title {font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  scroll-margin-top: 2rem;}