/*
Theme Name: Gladys Malachi
Theme URI: https://gladysmalachi.com
Author: Gladys Malachi Development Team
Description: A custom WordPress theme dedicated to preserving and sharing the prayers, teachings and legacy of Gladys Malachi.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: gladys-malachi
*/


/* =========================================
   GLADYS MALACHI PRAYER BLOG
   Design System
========================================= */

/* 1. Design tokens */

:root {
    /* Brand colours */
    --color-primary: #49313B;
    --color-secondary: #A36B72;
    --color-background: #FAF8F5;
    --color-surface: #FFFFFF;
    --color-text: #292526;
    --color-muted: #777174;

    /* Typography */
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: Arial, Helvetica, sans-serif;

    /* Layout */
    --container-width: 1200px;
    --content-width: 760px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;

    /* Effects */
    --radius-sm: 6px;
    --radius-md: 12px;
    --transition: 250ms ease;
}

/* 2. Global reset */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

/* 3. Basic typography */

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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


/* =========================================
   4. Layout System
========================================= */

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

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

.section {
    padding-block: var(--space-xl);
}

.section-heading {
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 32px, var(--container-width));
    }

    .section {
        padding-block: var(--space-lg);
    }
}
