/*
 * Скопировано без изменений из wp-content/themes/aclips/assets/styles.css
 * (основная тема). Микросайт не зависит от пути темы WordPress.
 */
/* Dark mode defaults */
:root {
    --background: #293635;
    --surface: #1d2828;
    --textPrimary: #f5f5f5;
    --textSecondary: #bbb;
    --accent: #9cc295;
    --headingColor: #f5f5f5;
    --linkColor: #9cc295;
    --border: #374151;
    --switcherBg: #41503b;
    --switcherText: var(--textPrimary);
    --buttonPrimary: #455641;
    --buttonHover: #769170;
    --buttonActive: #8ba886;
    --glass: rgba(0, 0, 0, 0.1);
    --mobileMenuBg: rgba(0, 0, 0, 0.7);
    --mobileMenuText: #f5f5f5;
    --textLogoEnd: var(--buttonActive);
}

/* Light mode overrides */
.light-mode {
    --background: #f9f9f9;
    --surface: #ffffff;
    --textPrimary: #333333;
    --textSecondary: #555555;
    --accent: #4e6247;
    --headingColor: #333333;
    --linkColor: #48623DFF;
    --border: #d1d5db;
    --switcherBg: var(--buttonPrimary);
    --switcherText: var(--textPrimary);
    --buttonPrimary: #658966;
    --buttonHover: #467931;
    --buttonActive: #2f5221;
    --glass: rgba(255, 255, 255, 0.5);
    --mobileMenuBg: rgba(255, 255, 255, 0.8);
    --mobileMenuText: #333333;
    --textLogoEnd: var(--buttonActive);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--textPrimary);
}

/* Post Content Styles */
.post-content h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #f5f5f5; /* text-heading */
    margin-bottom: 1rem; /* mb-4 */
}

.post-content p {
    margin-bottom: 1rem; /* mb-4 */
}

.post-content code {
    color: #d6336c; /* text-accent */
}

.post-content pre {
    background-color: #1d2828; /* bg-surface */
    padding: 1rem; /* p-4 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #374151; /* border-border */
    font-size: 0.875rem; /* text-sm */
    font-family: monospace;
    overflow-x: auto;
    margin-bottom: 1.5rem; /* mb-6 */
}

.light-mode .post-content h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #333333; /* text-heading */
    margin-bottom: 1rem; /* mb-4 */
}

.light-mode .post-content p {
    margin-bottom: 1rem; /* mb-4 */
}

.light-mode pre.wp-block-code {
    background-color: #e7e7e7;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #bebebe;
    font-size: 0.875rem;
    font-family: monospace;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.light-mode pre.wp-block-code code {
    color: #2b3629;
}

.CodeMirror-simplescroll, .wp-block-codemirror-blocks-code-block {
    padding: 10px;
}

.text-sm .mx-1:last-child {
    display: none;
}

.page-numbers.current button {
    background-color: var(--accent); /* Цвет фона для текущей страницы */
    color: var(--background);        /* Цвет текста для текущей страницы */
}

/* Мобильная версия */
@media (max-width: 768px) {
    .text-2xl {
        padding-right: 50px;
    }
}

/*
* {
    outline: 1px solid red;
}*/
