/*
Theme Name: AAA
Theme URI: https://aaa.sorrroka.com
Author: AAA Team
Author URI: https://aaa.sorrroka.com
Description: Простая и чистая тема AAA для WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aaa
*/

/* CSS Variables - Default Light Gold */
:root {
    --color-primary: #FFD700;
    --color-secondary: #FFA500;
    --color-bg: #FFF8DC;
    --color-text: #333;
    --color-card: #FFFFFF;
    --color-border: #E5E5E5;
    --color-accent: #F5F3F0;
}

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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    background-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Wrapper for Sidebar Layout */
.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.widget-area.sidebar {
    width: 120px;
    flex-shrink: 0;
}

.widget-area .widget {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-card);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-area .widget-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

/* Sidebar specific styles */
.sidebar {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
}

.sidebar .widget {
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.sidebar .widget-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* H2 Navigation Widget */
.h2-nav-widget {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.content-top-widgets {
    margin-bottom: 20px;
}

.content-top-widgets .widget {
    margin-bottom: 15px;
    padding: 15px 20px;
    background: #1a1a1a;
    border-radius: 8px;
    color: #FFFFFF;
}

.h2-nav-menu {
    margin: 0;
    padding: 0;
}

.h2-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h2-nav-item {
    margin: 0;
    padding: 0;
}

.h2-nav-link {
    display: block;
    padding: 8px 12px;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
    line-height: 1.4;
    border-left: 3px solid transparent;
}

.h2-nav-link:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    padding-left: 15px;
}

.h2-nav-link.active {
    background: rgba(255, 215, 0, 0.15);
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 600;
}

/* Banners Widget */
.banners-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banners-widget .banner-item {
    width: 100%;
}

.banners-widget .banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Horizontal Banners in Content */
.horizontal-banner-in-content {
    width: 100%;
    margin: 20px 0;
    text-align: center;
}

.horizontal-banner-link {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.horizontal-banner-link:hover {
    opacity: 0.9;
}

.horizontal-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.horizontal-banner-link:hover .horizontal-banner-image {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-item {
    width: 100%;
    margin-bottom: 0;
}

.banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.banner-link:hover {
    opacity: 0.9;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.banner-link:hover .banner-image {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.banner-item img.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section Styles */
.faq-section {
    margin: 40px 0;
}

.faq-title {
    margin: 0 0 20px 0;
    padding: 20px 25px;
    background: #3a3a3a;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.faq-before-text,
.faq-after-text {
    padding: 20px 25px;
    color: #FFFFFF;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.faq-before-text {
    margin-bottom: 20px;
}

.faq-after-text {
    margin-top: 20px;
}

.faq-before-text p,
.faq-after-text p {
    margin-bottom: 12px;
}

.faq-before-text p:last-child,
.faq-after-text p:last-child {
    margin-bottom: 0;
}

/* Standalone FAQ Item - Each item is a separate block */
.faq-item-standalone {
    margin-bottom: 20px;
    border: 1px solid var(--color-border, #E5E5E5);
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease, border-width 0.3s ease;
}

.faq-item-standalone.active {
    border: 2px solid #3a3a3a;
}

.faq-item-standalone:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 18px 25px;
    background: #2a2a2a;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
    user-select: none;
}

.faq-question:hover {
    background: #3a3a3a;
    color: #fff;
}

.faq-question.active {
    background: #3a3a3a;
    color: #fff;
}

.faq-question-text {
    flex: 1;
    padding-right: 15px;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #1a1a1a;
}

.faq-item-standalone .faq-answer {
    background: #1a1a1a;
}

.faq-answer.active {
    max-height: 2000px;
}

.faq-answer-content {
    padding: 20px 25px;
    color: #FFFFFF;
    line-height: 1.7;
    font-size: 15px;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

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

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 12px 0;
    padding-left: 25px;
}

.faq-answer-content li {
    margin-bottom: 6px;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .widget-area.sidebar,
    .sidebar,
    #secondary {
        width: 100%;
        display: none !important;
    }
    
    .faq-title {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .faq-item-standalone {
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-before-text,
    .faq-after-text {
        padding: 15px 20px;
    }
}

/* Partners Top Section */
.partners-top-section {
    width: 100vw !important;
    background: #151515 !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.partners-top-section .container {
    display: none !important;
}

.partners-top-section .widget {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.partners-top-section .widget-title {
    display: none !important;
}

.partners-widget-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-grid {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.partner-card {
    background: var(--color-card);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
    width: 100%;
}

.partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.partner-logo {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.partner-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 0 0 200px;
    min-width: 150px;
}

.partner-offers {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: fit-content;
}

.partner-offer-separator {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;
}

.partner-offer {
    font-size: 15px;
    color: var(--color-text);
    font-weight: 500;
    width: fit-content;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.05);
    animation: offerBorderRadius 3s ease-in-out infinite;
}

/* Специальный дизайн для бонуса - с зелеными тонами (светлые) */
.partner-offer.partner-bonus {
    background: rgba(129, 199, 132, 0.2);
    border: 2px solid rgba(102, 187, 106, 0.6);
    box-shadow: 0 2px 8px rgba(129, 199, 132, 0.25);
    font-weight: 600;
    color: #66BB6A;
    padding: 10px 16px;
    position: relative;
    transition: all 0.3s ease;
}

.partner-offer.partner-bonus:hover {
    box-shadow: 0 4px 16px rgba(129, 199, 132, 0.5);
    border-color: rgba(102, 187, 106, 1);
    background: rgba(129, 199, 132, 0.35);
    transform: translateY(-2px);
}

.partner-bonus-icon {
    width: 24px !important;
    height: 24px !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.partner-bonus-icon svg {
    width: 100%;
    height: 100%;
}

.partner-offer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    z-index: -1;
    opacity: 1;
    animation: offerBorderRadius 3s ease-in-out infinite, gradientMove 2s ease infinite;
}

.partner-offer:hover::before {
    opacity: 1;
    animation: offerBorderRadius 3s ease-in-out infinite, gradientMove 1s ease infinite;
}

.partner-offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    animation: iconPulse 2s ease-in-out infinite;
}

.partner-offer-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.partner-offer-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

@keyframes offerBorderRadius {
    0%, 100% {
        border-radius: 8px;
    }
    25% {
        border-radius: 12px;
    }
    50% {
        border-radius: 15px;
    }
    75% {
        border-radius: 12px;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.partner-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
}

.partner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Header */
.site-header {
    background-color: #111111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-bottom: 0;
    border-bottom: 3px solid var(--color-primary);
}

.site-header .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
}

.main-navigation {
    display: none !important;
}

.site-title {
    font-size: 32px;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    padding: 0;
}

.site-title a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title a:hover {
    opacity: 0.9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-description {
    color: #FFFFFF;
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

/* Navigation - Hidden */
.main-navigation,
#site-navigation,
nav.main-navigation,
nav#site-navigation,
.site-header .main-navigation,
.site-header #site-navigation {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.main-navigation ul,
.main-navigation a {
    display: none !important;
}

/* Main Content */
.site-main {
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
    border-radius: 0;
}

.site-main > .container {
    padding: 0;
    padding-top: 40px;
    box-shadow: none;
    margin-bottom: 30px;
    border-radius: 0;
    background-color: transparent;
}

.front-page-content {
    font-size: 16px;
    line-height: 1.8;
    color: #FFFFFF;
}

.front-page-content h1,
.front-page-content h2,
.front-page-content h3 {
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 15px;
}

.front-page-content h1 {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.front-page-content h2 {
    font-size: 28px;
}

.front-page-content h3 {
    font-size: 22px;
}

.front-page-content table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #1a1a1a;
    border: 2px solid #3a3a3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    color: #FFFFFF;
}

.front-page-content table th,
.front-page-content table td,
.entry-content table th,
.entry-content table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #3a3a3a;
    color: #FFFFFF;
}

.front-page-content table th,
.entry-content table th {
    background: #2a2a2a !important;
    color: #fff;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    border: 2px solid #3a3a3a;
    position: relative;
}

.front-page-content table thead th,
.entry-content table thead th {
    background: #2a2a2a !important;
    border-bottom: 3px solid #3a3a3a;
}

/* First row as header */
.front-page-content table tr:first-child th,
.front-page-content table tr:first-child td,
.entry-content table tr:first-child th,
.entry-content table tr:first-child td {
    background: #2a2a2a !important;
    font-weight: 600;
    border-bottom: 3px solid #3a3a3a;
    border-top: 2px solid #3a3a3a;
}

.front-page-content table tr:first-child,
.entry-content table tr:first-child {
    background: #2a2a2a !important;
}

.front-page-content table tr:not(:first-child):hover,
.entry-content table tr:not(:first-child):hover {
    background: #2a2a2a;
    transition: background 0.2s ease;
}

.front-page-content table tr:last-child td,
.entry-content table tr:last-child td {
    border-bottom: 1px solid #3a3a3a;
}

/* Alternate column colors - exclude first row */
.front-page-content table tr:not(:first-child) td:nth-child(even),
.entry-content table tr:not(:first-child) td:nth-child(even) {
    background: rgba(42, 42, 42, 0.3);
}

.front-page-content table tr:not(:first-child) td:nth-child(odd),
.entry-content table tr:not(:first-child) td:nth-child(odd) {
    background: rgba(26, 26, 26, 0.5);
}

.front-page-content table tr:not(:first-child):hover td,
.entry-content table tr:not(:first-child):hover td {
    background: #2a2a2a !important;
}

.front-page-content ul,
.front-page-content ol,
.entry-content ul,
.entry-content ol {
    margin: 15px 0;
    padding-left: 30px;
    color: #FFFFFF;
}

.front-page-content li,
.entry-content li {
    margin-bottom: 8px;
    color: #FFFFFF;
    line-height: 1.6;
}

.front-page-content ul li::marker,
.entry-content ul li::marker {
    color: var(--color-primary);
}

.front-page-content ol li::marker,
.entry-content ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

.post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

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

.entry-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.entry-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: var(--color-primary);
}

.entry-meta {
    color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #FFFFFF;
}

.entry-content p {
    margin-bottom: 15px;
    color: #FFFFFF;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.entry-content a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: scale(1.05);
    color: #fff;
    text-decoration: none;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #1a1a1a;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--color-primary);
    color: #fff;
}

.pagination .current {
    background: var(--color-primary);
    color: #fff;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.site-footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-header {
        padding: 15px 0;
    }
    
    .site-header .container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .site-main {
        padding: 0;
    }
    
    .site-main > .container {
        padding: 0 15px;
        padding-top: 20px;
    }
    
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-content {
        width: 100%;
    }
    
    .widget-area.sidebar,
    .sidebar,
    #secondary {
        width: 100%;
        display: none !important;
    }
    
    .h2-nav-widget {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .h2-nav-link {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .partners-top-section {
        padding: 15px 0 !important;
    }
    
    .partners-widget-title {
        font-size: 24px;
        padding: 0 15px;
        margin-bottom: 15px;
    }
    
    .partners-grid {
        padding: 0 15px !important;
    }
    
    .partner-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }
    
    .partner-logo {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 auto;
    }
    
    .partner-logo img {
        max-height: 80px;
        width: auto;
    }
    
    .partner-title {
        flex: none;
        width: 100%;
        font-size: 18px;
    }
    
    .partner-offers {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .partner-offer {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .partner-offer-separator {
        font-size: 20px;
        display: none;
    }
    
    .partner-button {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        padding: 12px 20px;
    }
    
    .horizontal-banner-in-content {
        margin: 15px 0;
        padding: 0 15px;
    }
    
    .horizontal-banner-image {
        border-radius: 4px;
    }
    
    .banners-widget {
        padding: 0 15px;
    }
    
    .entry-content {
        padding: 0;
        font-size: 15px;
    }
    
    .entry-title {
        font-size: 24px;
    }
    
    .front-page-content {
        font-size: 15px;
    }
    
    .front-page-content h1 {
        font-size: 26px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .front-page-content h2 {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    
    .front-page-content h3 {
        font-size: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .front-page-content table,
    .entry-content table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 15px 0;
        border: 1px solid #3a3a3a;
    }
    
    .front-page-content table th,
    .front-page-content table td,
    .entry-content table th,
    .entry-content table td {
        padding: 8px 6px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .front-page-content ul,
    .front-page-content ol,
    .entry-content ul,
    .entry-content ol {
        padding-left: 20px;
        margin: 12px 0;
    }
    
    .faq-title {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .faq-answer-content {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-before-text,
    .faq-after-text {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .pagination .nav-links {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .site-header {
        padding: 12px 0;
    }
    
    .site-title {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
    
    .site-main > .container {
        padding: 0 10px;
        padding-top: 15px;
    }
    
    .partners-top-section {
        padding: 15px 0 !important;
    }
    
    .partners-widget-title {
        font-size: 20px;
        padding: 0 10px;
        margin-bottom: 12px;
    }
    
    .partners-grid {
        padding: 0 10px !important;
        gap: 12px;
    }
    
    .partner-card {
        padding: 12px;
        gap: 12px;
    }
    
    .partner-logo {
        max-width: 150px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .partner-title {
        font-size: 16px;
    }
    
    .partner-offer {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .partner-bonus-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .partner-button {
        padding: 10px 15px;
        font-size: 11px;
    }
    
    .horizontal-banner-in-content {
        margin: 12px 0;
        padding: 0 10px;
    }
    
    .h2-nav-widget {
        padding: 12px;
    }
    
    .h2-nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .front-page-content h1 {
        font-size: 22px;
    }
    
    .front-page-content h2 {
        font-size: 20px;
    }
    
    .front-page-content h3 {
        font-size: 16px;
    }
    
    .front-page-content table,
    .entry-content table {
        font-size: 11px;
    }
    
    .front-page-content table th,
    .front-page-content table td,
    .entry-content table th,
    .entry-content table td {
        padding: 6px 4px;
        font-size: 11px;
    }
    
    .faq-title {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .faq-before-text,
    .faq-after-text {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .entry-title {
        font-size: 20px;
    }
    
    .entry-content {
        font-size: 14px;
    }
    
    .front-page-content {
        font-size: 14px;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 12px;
    }
}
