:root {
    --rr-color-dark: #111827;
    --rr-color-surface: #ffffff;
    --rr-color-muted: #f3f4f6;
    --rr-color-text: #1f2937;
    --rr-color-accent: #c62828;
    --rr-color-accent-dark: #991b1b;
    --rr-color-border: #d1d5db;
    --rr-content-width: 1200px;
    --rr-radius: 10px;
    --rr-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--rr-color-surface);
    color: var(--rr-color-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: var(--rr-color-accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover,
a:focus {
    color: var(--rr-color-accent-dark);
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    background: #ffffff;
    color: #111827;
    border-radius: 6px;
    box-shadow: var(--rr-shadow);
}

.rr-container {
    width: min(100% - 32px, var(--rr-content-width));
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

.rr-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--rr-color-accent);
    color: #ffffff;
    border: 0;
    border-radius: 7px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rr-button:hover,
.rr-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
    background: var(--rr-color-accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
}
