/*
 Theme Name: GeneratePress Child
 Template: generatepress
 Version: 1.0
*/

:root {
    --rpe-parchment: #f3ecd9;
    --rpe-forest: #1f3b2e;
    --rpe-midnight: #0e1a24;
    --rpe-gold: #c89d4a;
    --rpe-oxblood: #7a2e2b;
    --rpe-charcoal: #2b2b2b;
    --rpe-paper: #fffaf0;

    --rpe-serif: Georgia, "Times New Roman", serif;
    --rpe-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.rpe-custom-home {
    margin: 0;
    background: var(--rpe-paper);
    color: var(--rpe-charcoal);
    font-family: var(--rpe-sans);
}

.rpe-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.rpe-site-header {
    background: var(--rpe-paper);
    border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.rpe-header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.rpe-logo {
    font-family: var(--rpe-serif);
    font-size: 34px;
    font-weight: 700;
    color: var(--rpe-gold);
    text-decoration: none;
    letter-spacing: -0.04em;
}

.rpe-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.rpe-nav a {
    color: var(--rpe-forest);
    text-decoration: none;
    font-weight: 600;
}

.rpe-nav a:hover {
    color: var(--rpe-gold);
}

.rpe-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(243, 236, 217, 0.92), rgba(243, 236, 217, 0.92)),
        radial-gradient(circle at top left, rgba(200, 157, 74, 0.28), transparent 34%);
}

.rpe-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.rpe-kicker {
    color: var(--rpe-gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
}

.rpe-hero h1 {
    font-family: var(--rpe-serif);
    color: var(--rpe-midnight);
    font-size: clamp(54px, 8vw, 104px);
    line-height: 0.92;
    letter-spacing: -0.06em;
    margin: 0 0 28px;
}

.rpe-hero-text {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(43, 43, 43, 0.82);
}

.rpe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.rpe-button-primary,
.rpe-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 15px 26px;
    font-weight: 800;
    text-decoration: none;
}

.rpe-button-primary {
    background: var(--rpe-forest);
    color: #fff;
}

.rpe-button-secondary {
    border: 1px solid rgba(31, 59, 46, 0.35);
    color: var(--rpe-forest);
}

.rpe-hero-card {
    background: var(--rpe-forest);
    color: var(--rpe-parchment);
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 24px 80px rgba(14, 26, 36, 0.18);
}

.rpe-hero-card h2 {
    font-family: var(--rpe-serif);
    color: var(--rpe-gold);
    font-size: 44px;
    line-height: 1;
    margin: 0 0 20px;
}

.rpe-card-small {
    color: var(--rpe-gold);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rpe-section {
    padding: 100px 0;
}

.rpe-section-heading {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.rpe-section-heading h2 {
    font-family: var(--rpe-serif);
    font-size: clamp(38px, 5vw, 68px);
    color: var(--rpe-midnight);
    margin: 0;
}

.rpe-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rpe-pillar {
    background: #fff;
    border: 1px solid rgba(43, 43, 43, 0.08);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 12px 40px rgba(14, 26, 36, 0.06);
}

.rpe-pillar span {
    color: var(--rpe-gold);
    font-size: 34px;
}

.rpe-pillar h3 {
    font-family: var(--rpe-serif);
    color: var(--rpe-midnight);
    font-size: 28px;
    margin: 18px 0 10px;
}

.rpe-site-footer {
    background: var(--rpe-midnight);
    color: var(--rpe-parchment);
    padding: 32px 0;
}

.rpe-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.rpe-footer-inner p {
    margin: 0;
}

@media (max-width: 900px) {

    .rpe-header-inner,
    .rpe-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .rpe-nav {
        flex-wrap: wrap;
    }

    .rpe-hero {
        min-height: auto;
        padding: 72px 0;
    }

    .rpe-hero-grid,
    .rpe-pillars {
        grid-template-columns: 1fr;
    }
}