/* Box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Body */
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--nav-height);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-text-heading);
    line-height: 1.2;
}

h1 {
    font-family: var(--font-body);
    font-size: var(--text-3xl);
    letter-spacing: var(--ls-heading-tight);
}

h2 {
    font-size: var(--text-2xl);
    letter-spacing: var(--ls-heading);
}

h3 {
    font-size: var(--text-lg);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Section Label */
.section-label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--ls-label);
    color: var(--color-text-heading);
}

/* Container */
.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

/* Section */
.section {
    padding: var(--space-xl) 0;
}

.section--accent {
    background-color: var(--color-bg-accent);
}

/* Hero sections: full viewport height */
.hero-section {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
}

.hero-section > .container {
    width: 100%;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
    }
}

/* Rich Text (WordPress content) */
.rich-text p {
    margin-bottom: 1em;
}

.rich-text p:last-child {
    margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.rich-text ul li,
.rich-text ol li {
    margin-bottom: 0.5em;
}

.rich-text strong {
    font-weight: 700;
}

.rich-text a {
    color: var(--color-accent-red);
    text-decoration: underline;
}

.rich-text a:hover {
    text-decoration: none;
}

.rich-text blockquote {
    border-left: 3px solid var(--color-accent-red);
    padding-left: var(--space-md);
    margin-bottom: 1em;
    font-style: italic;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}
