:root {
    --theme-bg: #f4f6f4;
    --theme-primary: #1b5e20;
    --theme-primary-hover: #4caf50;
    --theme-badge-bg: #4caf50;
    --theme-badge-fg: #ffffff;
    --theme-btn-bg: #2e7d32;
    --theme-btn-bg-hover: #1b5e20;
    --theme-btn-fg: #ffffff;
    --theme-promo-border: #2e7d32;
    --theme-promo-bg: #e8f5e9;
    --theme-card-bg: #ffffff;
    --theme-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --theme-spacer-sm: 0.5rem;
    --theme-spacer-md: 1rem;
    --theme-spacer-lg: 1.5rem;
}

body {
    background-color: var(--theme-bg);
    font-family: var(--theme-font-family);
}

.bg-theme {
    background-color: var(--theme-primary) !important;
}

.text-theme {
    color: var(--theme-primary) !important;
}

.border-theme {
    border-color: var(--theme-primary) !important;
}

.bg-theme-badge {
    background-color: var(--theme-badge-bg) !important;
    color: var(--theme-badge-fg);
}

.link-theme:hover {
    color: var(--theme-primary-hover) !important;
}

.btn-theme {
    background-color: var(--theme-btn-bg);
    color: var(--theme-btn-fg);
    border: none;
}

.btn-theme:hover, .btn-theme:focus {
    background-color: var(--theme-btn-bg-hover);
    color: var(--theme-btn-fg);
}

.promo-card {
    background-color: var(--theme-promo-bg) !important;
    border: none !important;
    border-radius: 12px !important;
    position: relative;
    overflow: hidden;
}

.promo-card::before, .promo-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background-color: var(--theme-card-bg);
    border-radius: 50%;
    transform: translateY(-50%);
}

.promo-card::before { left: -12px; }
.promo-card::after { right: -12px; }

.promo-code-box {
    border: 2px dashed var(--theme-promo-border);
    background-color: transparent;
    letter-spacing: 2px;
    font-family: monospace;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    border-radius: 8px;
    padding: var(--theme-spacer-sm) var(--theme-spacer-md);
}

.card-post {
    background-color: var(--theme-card-bg);
    transition: box-shadow 0.2s;
}

.card-post:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    :root {
        --theme-spacer-md: 0.75rem;
        --theme-spacer-lg: 1rem;
    }
    body {
        font-size: 14px;
    }
    .entry-content img {
        max-width: 100% !important;
        height: auto !important;
    }
    .promo-code-box {
        padding: 0.5rem;
    }
}