/* =============================================
   CSS Custom Properties — edit these to brand the site
   ============================================= */
:root {
    --color-bg:   #ffffff;
    --color-text: #333333;
    --color-brand: #7ab800;
    --color-brand-dark: #5e6a71;

    --font-sans: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --font-size-xs:   0.6875rem;
    --font-size-sm:   0.875rem;
    --font-size-base: 1rem;
    --font-size-lg:   1.25rem;

    --spacing-xs:  0.25rem;
    --spacing-sm:  0.5rem;
    --spacing-md:  1rem;
    --spacing-lg:  2rem;
    --spacing-xl:  5rem;
    --spacing-2xl: 8rem;
    --spacing-20px: 20px;

    --max-width: 1200px;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato/lato-v17-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato/lato-v17-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

img, video { max-width: 100%; width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* =============================================
   Container
   ============================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container { padding: 0 var(--spacing-md); }
}

/* =============================================
   Category archive
   ============================================= */
.category-archive__title {
    color: #7ab800;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

@media (max-width: 768px) {
    .category-archive__title {
        font-size: 24px;
    }
}
