/*
Theme Name: Casino Blog Uruguay
Theme URI: https://casino-blog.uy
Author: Expert Developer
Version: 1.0.0
Description: Тема на чистом CSS для iGaming блога в Уругвае. Ультра-широкая, адаптивная, легкая.
Text Domain: casino-uruguay
*/

:root {
    --bg-main: #1e293b;
    --bg-card: #334155;
    --bg-dark: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --uy-blue: #0081C6;
    --uy-sun: #FCD116;
    --font-heading: 'Schibsted Grotesk', sans-serif;
    --font-body: 'Albert Sans', sans-serif;
    --max-width: 1600px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--uy-blue);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.85rem);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 60%, var(--uy-sun) 60%, var(--uy-sun) 65%, var(--uy-blue) 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.desktop-nav {
    display: none;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--uy-sun);
    transition: var(--transition);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-nav .current-menu-item a::after {
    width: 100%;
    background-color: var(--uy-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-search {
    display: none;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--uy-blue);
}

.search-field {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    width: 140px;
    transition: var(--transition);
}

.search-field:focus {
    width: 200px;
}

.search-submit {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.search-submit:hover {
    color: var(--uy-sun);
}

.burger-open {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-open span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.burger-open:hover span:nth-child(2) {
    background-color: var(--uy-sun);
}

.mobile-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.98);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.burger-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
}

.burger-close:hover {
    color: var(--uy-sun);
}

.lightbox-content {
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
}

.mobile-nav a:hover {
    color: var(--uy-sun);
}

.mobile-search .search-form {
    width: 100%;
}

.mobile-search .search-field {
    width: 100%;
}

.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.25rem;
    min-height: 70vh;
}

.archive-wrapper {
    width: 100%;
}

.archive-header {
    margin-bottom: 2.5rem;
}

.archive-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 1.6rem + 2vw, 3.5rem);
    letter-spacing: -0.02em;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.post-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 129, 198, 0.4);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.post-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.post-card-title a:hover {
    color: var(--uy-sun);
}

.post-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pagination-wrap {
    margin-top: 3.5rem;
}

.pagination-wrap .nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.pagination-wrap .page-numbers {
    padding: 0.75rem 1.25rem;
    background-color: var(--bg-card);
    border-radius: 6px;
    font-weight: 600;
}

.pagination-wrap .page-numbers.current {
    background-color: var(--uy-blue);
    color: #fff;
}

.pagination-wrap a.page-numbers:hover {
    background-color: var(--uy-sun);
    color: var(--bg-dark);
}

.site-footer {
    background-color: var(--bg-dark);
    padding: 4rem 1.25rem 0 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5rem 0;
    color: var(--uy-blue);
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: var(--text-secondary);
}

.footer-nav a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

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

.contact-list li {
    margin-bottom: 0.75rem;
}

.contact-link {
    color: var(--text-secondary);
}

.contact-link:hover {
    color: var(--uy-sun);
}

.work-hours {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.office-address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-card);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.05);
}

.maps-btn:hover {
    background-color: var(--uy-blue);
    color: #fff;
    border-color: transparent;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
}

.footer-bottom-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

@media (min-width: 640px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
    .header-search {
        display: block;
    }
    .burger-open {
        display: none;
    }
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

@media (min-width: 1440px) {
    .posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.article-header {
    margin-bottom: 3rem;
    max-width: 1000px;
}

.article-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem 0;
}

.entry-content {
    max-width: 1000px;
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
    line-height: 1.75;
    color: rgba(248, 250, 252, 0.9);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
}

.entry-content h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.entry-content h3 {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    line-height: 1.3;
}

.entry-content p {
    margin-top: 0;
    margin-bottom: 1.75rem;
}

.entry-content p:first-of-type {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.75rem;
}

.entry-content li::marker {
    color: var(--uy-sun);
}

.entry-content blockquote {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: 12px;
    border-top: 3px solid var(--uy-sun);
    font-style: italic;
    position: relative;
}

.entry-content blockquote p {
    margin: 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.entry-content th {
    background-color: var(--bg-dark);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--uy-blue);
}

.entry-content td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background-color: rgba(51, 65, 85, 0.3);
}

.entry-content tr:hover td {
    background-color: rgba(51, 65, 85, 0.7);
}

@media (max-width: 768px) {
    .entry-content table,
    .entry-content tbody,
    .entry-content tr,
    .entry-content td,
    .entry-content th {
        display: block;
        width: 100%;
    }
    
    .entry-content th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .entry-content tr {
        margin-bottom: 1.5rem;
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .entry-content td {
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        position: relative;
        padding-left: 45%;
        text-align: right;
    }
    
    .entry-content td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 40%;
        text-align: left;
        font-family: var(--font-heading);
        font-weight: 700;
        color: var(--text-secondary);
    }
    
    .entry-content td:last-child {
        border-bottom: none;
    }
}

.hero-section {
    padding: clamp(3rem, 2rem + 5vw, 6rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 129, 198, 0.15);
    border: 1px solid rgba(0, 129, 198, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--uy-sun);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--uy-sun);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.25rem, 1.5rem + 4vw, 4.85rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
}

.hero-lead {
    font-size: clamp(1.1rem, 1rem + 0.3vw, 1.35rem);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 0 2.5rem 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--uy-sun) 0%, #e0a800 100%);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(253, 209, 22, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 209, 22, 0.5);
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.indicator-icon {
    font-size: 1.5rem;
}

.indicator-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 4 / 5;
}

.frame-ambient-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--uy-blue), var(--uy-sun));
    filter: blur(40px);
    opacity: 0.3;
    pointer-events: none;
    border-radius: 24px;
}

.frame-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: rotate(1deg);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #121824;
}

.frame-overlay-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transform: rotate(-1deg);
}

.overlay-badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--uy-sun);
}

.overlay-badge-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 5rem;
    }
    .hero-image-frame {
        max-width: 100%;
    }
    .frame-inner {
        transform: rotate(3deg);
    }
}

.info-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.info-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.info-text h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.info-text p {
    color: rgba(248, 250, 252, 0.9);
    font-size: clamp(1.05rem, 1rem + 0.1vw, 1.15rem);
    line-height: 1.75;
    margin: 0 0 1.5rem 0;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.info-cta-box {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cta-badge {
    display: inline-block;
    background-color: rgba(253, 209, 22, 0.1);
    border: 1px solid var(--uy-sun);
    color: var(--uy-sun);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.cta-text {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.cta-link-btn {
    display: block;
    width: 100%;
    background-color: var(--uy-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    padding: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 129, 198, 0.2);
}

.cta-link-btn:hover {
    background-color: #0093e2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 129, 198, 0.4);
}

@media (min-width: 1024px) {
    .info-container {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

.evolution-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.evolution-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

.evolution-visual {
    width: 100%;
}

.evolution-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.evolution-content h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-sun);
    padding-left: 1rem;
}

.evolution-content p {
    color: rgba(248, 250, 252, 0.9);
    font-size: clamp(1.05rem, 1rem + 0.1vw, 1.15rem);
    line-height: 1.75;
    margin: 0 0 1.5rem 0;
}

.evolution-content p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .evolution-container {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 5rem;
    }
}

.top-casinos {
  padding: 80px 0;
}

.top-casinos__intro {
  margin-bottom: 40px;
}

.top-casinos__intro h2 {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1.1;
  color: #fff;
}

.top-casinos__intro p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.7;
}

.casino-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.casino-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 32px;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(24,24,24,0.96) 0%,
      rgba(10,10,10,0.98) 100%
    );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 12px 50px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.casino-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255,184,77,0.14),
      transparent 35%
    );
  pointer-events: none;
}

.casino-card.featured {
  border: 1px solid rgba(255,184,77,0.35);
}

.casino-card__top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  height: 100%;
  margin: 0;
}

.casino-card h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  color: #fff;
}

.casino-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,184,77,0.12);
  border: 1px solid rgba(255,184,77,0.24);
  color: #ffcc73;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.casino-rating {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.casino-rating strong {
  font-size: 42px;
  line-height: 1;
  color: #fff;
}

.casino-rating span {
  margin-bottom: 5px;
  color: rgba(255,255,255,0.45);
}

.casino-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.casino-info li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.casino-info span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.42);
}

.casino-info strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.casino-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.casino-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      #ffbf47 0%,
      #ff8f1f 100%
    );
  color: #111;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform .25s ease,
    box-shadow .25s ease;
  box-shadow:
    0 12px 35px rgba(255,153,0,0.24);
}

.casino-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .casino-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .casino-actions {
    justify-content: flex-start;
  }

  .casino-btn {
    width: auto;
  }
}

@media (max-width: 768px) {
  .casino-card {
    padding: 22px;
    border-radius: 22px;
  }

  .casino-card h3 {
    font-size: 28px;
  }

  .casino-rating strong {
    font-size: 34px;
  }

  .casino-info {
    grid-template-columns: 1fr;
  }
}

.bonuses-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.bonuses-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.bonuses-content-full {
    width: 100%;
    margin-bottom: 3.5rem;
}

.bonuses-content-full h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.bonuses-content-full p {
    color: rgba(248, 250, 252, 0.9);
    font-size: clamp(1.05rem, 1rem + 0.1vw, 1.15rem);
    line-height: 1.75;
    margin: 0 0 1.5rem 0;
}

.bonuses-content-full p:last-child {
    margin-bottom: 0;
}

.mega-bonus-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid var(--uy-blue);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 129, 198, 0.25);
}

.banner-glow-effect {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(252, 209, 22, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    background-color: var(--uy-blue);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.banner-main-heading {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
    color: #fff;
}

.banner-description-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 540px;
}

.banner-digits-side {
    display: flex;
    flex-direction: column;
}

.digits-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.digits-prefix {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.digits-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
    line-height: 1;
    color: var(--uy-sun);
    letter-spacing: -0.02em;
}

.digits-sub {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.banner-action-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.banner-magnetic-cta {
    display: block;
    width: 100%;
    background-color: var(--uy-sun);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(253, 209, 22, 0.2);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease;
}

.banner-magnetic-cta:hover {
    background-color: #e0a800;
}

.banner-legal-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

@media (min-width: 768px) {
    .banner-grid-layout {
        grid-template-columns: 1.5fr 1fr;
    }
    .banner-action-side {
        grid-column: span 2;
    }
    .banner-legal-note {
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .banner-grid-layout {
        grid-template-columns: 1.8fr 1fr 1.2fr;
        gap: 3rem;
    }
    .banner-action-side {
        grid-column: span 1;
    }
    .banner-digits-side {
        justify-self: center;
    }
}

.games-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.games-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.games-intro {
    margin-bottom: 3rem;
}

.games-intro h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.games-intro p {
    color: rgba(248, 250, 252, 0.9);
    font-size: clamp(1.05rem, 1rem + 0.1vw, 1.15rem);
    line-height: 1.75;
    margin: 0;
    max-width: 1200px;
}

.games-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.game-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(252, 209, 22, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.game-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.game-icon {
    font-size: 2rem;
    line-height: 1;
}

.game-card-header h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    color: #fff;
}

.game-info-row {
    margin-bottom: 1.25rem;
}

.game-info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.info-text {
    color: rgba(248, 250, 252, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-text-highlight {
    color: var(--uy-sun);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.info-text-alert {
    color: #f87171;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.alert-row {
    background-color: rgba(248, 113, 113, 0.05);
    border-left: 3px solid #f87171;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
}

@media (min-width: 768px) {
    .games-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

.security-section, .expert-tips-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.security-container, .tips-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.security-intro h2, .tips-header-block h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.security-intro p, .tips-header-block p {
    color: rgba(248, 250, 252, 0.9);
    font-size: clamp(1.05rem, 1rem + 0.1vw, 1.15rem);
    line-height: 1.75;
    margin: 0 0 3rem 0;
    max-width: 1200px;
}

.security-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 16px;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 129, 198, 0.1);
    color: var(--uy-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0 0 1rem 0;
    color: #fff;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tip-card {
    background-color: rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.tip-number {
    position: absolute;
    top: -10px;
    right: -5px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
}

.tip-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.75rem 0;
    color: var(--uy-sun);
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Изменено под full-width */
.bankroll-full-width {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 4rem;
    width: 100%;
}

.bankroll-full-width h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.65rem;
    margin: 0 0 1.25rem 0;
    color: #fff;
}

.bankroll-full-width p {
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 2rem 0;
    max-width: 1200px;
}

.bankroll-rules {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.bankroll-rules li {
    position: relative;
    padding-left: 1.75rem;
    color: rgba(248, 250, 252, 0.85);
    font-size: 1rem;
    line-height: 1.65;
}

.bankroll-rules li::before {
    content: "•";
    color: var(--uy-blue);
    font-size: 1.75rem;
    position: absolute;
    left: 0;
    top: -5px;
}

@media (min-width: 768px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .tips-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .bankroll-rules {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tips-footer-banner {
    margin-top: 4rem;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--uy-sun);
    border-radius: 4px 16px 16px 4px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-banner-text h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.footer-banner-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.footer-banner-action {
    width: 100%;
}

.banner-inline-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: var(--transition);
}

.banner-inline-btn:hover {
    background-color: var(--uy-blue);
    border-color: var(--uy-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 129, 198, 0.3);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .tips-footer-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
        padding: 2rem 2.5rem;
    }
    
    .footer-banner-action {
        width: auto;
    }
}

.faq-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.faq-container {
    max-width: 800px; /* Сужаем контейнер для FAQ, чтобы текст было удобно читать */
    margin: 0 auto;
    padding: 0 1.25rem;
}

.faq-intro h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 2.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.faq-accordion-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-trigger span:first-child {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.faq-trigger:hover span:first-child {
    color: var(--uy-sun);
}

.faq-arrow-icon {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.faq-trigger:hover .faq-arrow-icon {
    border-color: var(--uy-sun);
}

/* Стили для логики развертывания на чистом JS */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 2rem 1.5rem 2rem;
}

.faq-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

/* Активные состояния */
.faq-item.active {
    border-color: rgba(0, 129, 198, 0.3);
}

.faq-item.active .faq-trigger span:first-child {
    color: var(--uy-sun);
}

.faq-item.active .faq-arrow-icon {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: var(--uy-sun);
}

.faq-closing-note {
    background-color: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.faq-closing-note p {
    color: rgba(248, 250, 252, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

.latest-news-section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.news-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.news-intro h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
    line-height: 1.2;
    margin: 0 0 2.5rem 0;
    color: var(--text-primary);
    border-left: 4px solid var(--uy-blue);
    padding-left: 1rem;
}

.news-grid-system {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Стили большой карточки */
.main-news-card {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.main-news-card:hover {
    border-color: rgba(0, 129, 198, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.main-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: rgba(255,255,255,0.02);
}

.main-card-img, .sub-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-news-card:hover .main-card-img,
.sub-news-card:hover .sub-card-img {
    transform: scale(1.03);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.main-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ссылки категорий, авторов и общая мета */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.meta-category a {
    color: var(--uy-sun);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.main-card-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.main-card-content h3 a,
.sub-news-card h4 a {
    color: #fff;
    transition: color 0.2s ease;
}

.main-card-content h3 a:hover,
.sub-news-card h4 a:hover {
    color: var(--uy-blue);
}

.main-card-excerpt {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.card-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    margin-top: auto;
    font-size: 0.9rem;
}

.meta-author a {
    color: var(--text-primary);
    font-weight: 600;
}

.meta-author a:hover {
    color: var(--uy-sun);
}

.meta-reading-time {
    color: var(--text-secondary);
}

/* Сетка для 4-х нижних карточек */
.sub-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.sub-news-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.sub-news-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.sub-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.sub-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sub-card-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0 0 1.5rem 0;
}

/* Адаптивность для больших экранов */
@media (min-width: 768px) {
    .sub-news-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 на планшетах */
    }
}

@media (min-width: 1024px) {
    .main-news-card {
        grid-template-columns: 1.2fr 0.8fr; /* Картинка слева, текст справа */
    }
    .sub-news-grid {
        grid-template-columns: repeat(4, 1fr); /* Ровно 4 в ряд на десктопе */
    }
}

.article-hero, .page-hero {
    padding: clamp(4rem, 3rem + 5vw, 7rem) 0 3rem 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.article-hero-container, .page-hero-container,
.article-body-container, .page-body-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.article-title, .page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    line-height: 1.15;
    color: #fff;
    margin: 1rem 0 1.5rem 0;
}

.article-meta-top {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.article-category a {
    color: var(--uy-sun);
    font-weight: 700;
    text-transform: uppercase;
}

.article-author-box {
    color: var(--text-secondary);
    font-size: 1rem;
}

.article-author-box a {
    color: #fff;
    font-weight: 600;
}

.article-featured-image {
    margin-top: -2rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-entry-content, .page-entry-content {
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.75;
}

.article-entry-content p, .page-entry-content p {
    margin: 0 0 1.75rem 0;
}

.article-entry-content h2, .page-entry-content h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem 0;
}

.article-entry-content h3, .page-entry-content h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
}

.article-entry-content ul, .page-entry-content ul,
.article-entry-content ol, .page-entry-content ol {
    margin: 0 0 1.75rem 1.5rem;
    padding: 0;
}

.article-entry-content ul {
    list-style-type: disc;
}

.article-entry-content ol {
    list-style-type: decimal;
}

.article-entry-content li, .page-entry-content li {
    margin-bottom: 0.5rem;
}

.article-entry-content a, .page-entry-content a {
    color: var(--uy-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.article-entry-content a:hover, .page-entry-content a:hover {
    color: var(--uy-sun);
}

.article-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.article-tags a {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-tags a:hover {
    border-color: var(--uy-blue);
    color: #fff;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 4rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.article-navigation a {
    color: var(--uy-blue);
    font-weight: 600;
}

.article-navigation a:hover {
    color: var(--uy-sun);
}

.wp-singular .site-main {
	padding: 0;
}

.archive-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(4rem, 3rem + 5vw, 7rem) 1.25rem 5rem 1.25rem;
}

.author-profile-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--uy-blue);
    border-radius: 4px 16px 16px 4px;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.author-profile-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(0, 129, 198, 0.2);
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.author-info {
    flex-grow: 1;
    width: 100%;
}

.author-label {
    color: var(--uy-sun);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.author-info h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
    color: #fff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    max-width: 700px;
}

.author-meta-extra {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.25rem;
}

.author-post-count {
    color: var(--text-secondary);
}

.author-post-count strong {
    color: #fff;
}

.author-website {
    color: var(--uy-blue);
    font-weight: 600;
    transition: color 0.2s ease;
}

.author-website:hover {
    color: var(--uy-sun);
}

.archive-standard-header {
    margin-bottom: 4rem;
    border-left: 4px solid var(--uy-blue);
    padding-left: 1.25rem;
}

.archive-standard-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
    color: #fff;
    margin: 0 0 0.75rem 0;
}

.archive-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.archive-pagination {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.archive-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.archive-pagination .page-numbers.current {
    background: var(--uy-blue);
    border-color: var(--uy-blue);
    color: #fff;
}

.archive-pagination a.page-numbers:hover {
    border-color: var(--uy-sun);
    color: #fff;
}

.archive-empty {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-secondary);
    font-size: 1.15rem;
}

@media (min-width: 768px) {
    .author-profile-main {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.footer-warning-age {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 2rem auto 0 auto;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.warning-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border: 2px solid #ef4444; /* Красный неоновый акцент */
    border-radius: 50%;
    color: #ef4444;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.05em;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.warning-age-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.warning-age-text strong {
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .footer-warning-age {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
}