/*
Theme Name: Mögeldorf Advent
Theme URI: https://example.org/
Author: Mathias Monse
Description: Klassisches, barrierearmes WordPress-Theme für das Adventskalender-Portal Mögeldorf.
Version: 1.1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: moegeldorf-advent-theme
*/

/* Theme-specific styles using the Adventskalender color palette */
:root {
    --ma-color-night: #181547;
    --ma-color-night-deep: #100996;
    --ma-color-night-pale: #10099692;
    --ma-color-violet: #452f92;
    --ma-color-blue: #224ba0;
    --ma-color-cream: #fef2c987;
    --ma-color-yellow: #fdde7a;
    --ma-color-coral: #ed1c29;
    --ma-color-darkcoral: #ad0410;
    --ma-color-ink: #181547;
    --ma-color-white: #fffdf7;
    --ma-color-primary: var(--ma-color-darkcoral);
    --ma-color-accent: var(--ma-color-yellow);
    --ma-color-bg: var(--ma-color-cream);
    --ma-color-surface: var(--ma-color-white);
    --ma-color-text: var(--ma-color-night);
    --ma-color-muted: var(--ma-color-night-pale);
    --ma-color-border: var(--ma-color-violet);
    --ma-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ma-space: 1rem;
}

body {
    background-color: var(--ma-color-bg);
    color: var(--ma-color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

.site-header {
    background-color: var(--ma-color-primary);
    color: var(--ma-color-surface);
    padding: 1rem;
}

.site-title {
    color: var(--ma-color-surface);
    margin: 0;
}

.site-description {
    color: var(--ma-color-surface);
    opacity: 0.9;
}

.site-content {
    max-width: 70%;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.site-footer {
    background-color: var(--ma-color-secondary);
    color: var(--ma-color-surface);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

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

.entry-content {
    background-color: var(--ma-color-surface);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.wp-block-calendar {
    background-color: var(--ma-color-surface);
    padding: 1rem;
    border-radius: 8px;
}

.wp-block-calendar table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-calendar th,
.wp-block-calendar td {
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--ma-color-secondary);
}

.wp-block-calendar caption {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--ma-color-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .site-content {
        max-width: 90%;
        padding: 0 0.5rem;
    }
}
