/*
Theme Name: Ministries
Theme URI: https://draesministries.org/
Author: Satterwhite Ministries Global
Author URI: https://draesministries.org/
Description: A ministry-focused WordPress theme with modular apps (blog, sermons, events, admin tools).
Version: 1.0.0
Text Domain: ministries
*/

/* =========================
   BASE44 CORE FOUNDATION
========================= */
:root {
    --b44-bg: #f5f6f8;
    --b44-surface: #ffffff;
    --b44-surface-alt: #f9fafc;
    --b44-border: #e0e3ea;
    --b44-text: #1a1a1a;
    --b44-muted: #6b6b6b;
    --b44-accent: #4b0082;   /* primary accent */
    --b44-accent-soft: #ede7f6;
    --b44-radius-lg: 16px;
    --b44-radius-md: 12px;
    --b44-radius-sm: 8px;
    --b44-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.08);
    --b44-shadow-subtle: 0 1px 4px rgba(15, 23, 42, 0.06);
    --b44-spacing-xs: 6px;
    --b44-spacing-sm: 10px;
    --b44-spacing-md: 16px;
    --b44-spacing-lg: 24px;
    --b44-spacing-xl: 32px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--b44-bg);
    color: var(--b44-text);
    line-height: 1.6;
}

a {
    color: var(--b44-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    margin: 0 0 0.4em;
    font-weight: 700;
    letter-spacing: -0.03em;
}

p {
    margin: 0 0 0.75em;
    color: var(--b44-muted);
}

/* Generic container */
.b44-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--b44-spacing-md);
}

/* Generic card */
.b44-card {
    background: var(--b44-surface);
    border-radius: var(--b44-radius-lg);
    box-shadow: var(--b44-shadow-soft);
    padding: var(--b44-spacing-lg);
}

/* Generic grid */
.b44-grid {
    display: grid;
    gap: var(--b44-spacing-lg);
}

@media (min-width: 768px) {
    .b44-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .b44-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
