/*
 * Main Design System for Attic Magic Theme
 * Breaks out of Blocksy defaults and provides the `am-` CSS framework.
 */

:root {
    --am-primary: #0b2e59;
    --am-secondary: #f15a24;
    --am-dark: #1f2937;
    --am-light: #f9fafb;
    --am-white: #ffffff;
    --am-body: 'Inter', sans-serif;
    --am-heading: 'Outfit', sans-serif;
    --am-radius-md: 12px;
    --am-radius-lg: 24px;
    --am-transition: all 0.3s ease;
}

/* Base resets & Blocksy overrides */
.am-page .entry-content { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
.am-page .page-header { display: none !important; }
.am-page .site-main { padding: 0 !important; }

/* Typography */
.am-page {
    font-family: var(--am-body);
    color: var(--am-dark);
    line-height: 1.6;
}
.am-heading-xl { font-family: var(--am-heading); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.am-heading-lg { font-family: var(--am-heading); font-weight: 700; font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }
.am-heading-md { font-family: var(--am-heading); font-weight: 700; font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--am-primary); }

.am-body-lg { font-size: 1.25rem; font-weight: 500; margin-bottom: 2rem; opacity: 0.9; }

/* Layout Utilities */
.am-main { width: 100%; max-width: none; padding: 0; margin: 0; }
.am-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.am-section { padding: 6rem 0; }
.am-text-center { text-align: center; }

/* Colors */
.am-bg-primary { background-color: var(--am-primary); color: white; }
.am-bg-light { background-color: var(--am-light); }

/* Buttons */
.am-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.5rem; font-family: var(--am-heading); font-weight: 600; font-size: 1.1rem;
    border-radius: 50px; transition: var(--am-transition); cursor: pointer; text-decoration: none;
    border: none;
}
.am-btn--accent { background: var(--am-secondary); color: white; }
.am-btn--accent:hover { background: #d84817; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(241, 90, 36, 0.3); }
.am-btn--outline { background: transparent; color: white; border: 2px solid white; }
.am-btn--outline:hover { background: white; color: var(--am-primary); transform: translateY(-2px); }

/* Cards */
.am-card {
    background: white; border-radius: var(--am-radius-lg); box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    overflow: hidden; transition: var(--am-transition);
}
.am-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.am-card__img { width: 100%; height: 250px; object-fit: cover; }
.am-card__body { padding: 2.5rem; }
