/* --- Global Container Setup --- */
.mi-container {
    max-width: 1140px; /* Standard large container width */
    margin-left: auto;
    margin-right: auto;
}

/* --- Page Layout (Applied to all pages using page.php) --- */

.mi-page-layout {
    height: 100%;
    /*background-color: #f5f5f4; *//* bg-stone-50: Light, off-white background */
}

/* Header Banner (Style applied to the top of every page) */
.mi-page-header {
    /* Gradient: bg-gradient-to-r from-amber-700 to-amber-600 */
    background: linear-gradient(to right, #b45309, #d97706);
    color: #fff;
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem; /* py-16 */
    text-align: center;
}

.mi-page-header .mi-page-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem; /* mb-4 */
    color: #fff; /* text-white */
}

.mi-page-header .mi-page-title {
    color: #fff; /* text-white */
    margin-bottom: 1rem; /* mb-4 */
    font-size: 2rem; 
    line-height: 1.1;
}

.mi-page-header .mi-page-meta {
    color: #fce7b8; /* text-amber-50: Very light amber/yellow */
    font-size: 1.125rem;
}

/* Content Card (The white box containing the page content) */
.mi-page-content-card {
    max-width: 64rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
    background-color: #fff; /* bg-white */
    border-radius: 1rem; /* rounded-2xl */
    padding: 2rem; /* p-8 */
   /* box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);*/ /* shadow-sm */
}
@media (min-width: 768px) {
    .mi-page-content-card {
        padding: 3rem; /* md:p-12 */
    }
}

/* Prose Styling for WP Content (This dictates the font sizes, margins, and links inside the content) */
.mi-page-prose {
    max-width: 100%; /* max-w-none */
}

.mi-page-prose h2 {
    font-size: 1.3rem;
    line-height: 2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #3b3327; /* Dark stone color */
    padding-bottom: 0.5rem;
}

.mi-page-prose h3 {
    font-size: 1.2rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #44403c; /* Stone color */
}

.mi-page-prose p {
    margin-bottom: 1.25em;
    line-height: 1.75;
}

.mi-page-prose ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.mi-page-prose ul li {
    margin-bottom: 0.5rem;
}

/* Link Styling */
.mi-page-prose a {
    color: #b45309; /* text-amber-700 */
    text-decoration: underline;
    transition: color 0.2s;
}

.mi-page-prose a:hover {
    color: #92400e; /* hover:text-amber-800 */
}

@media (max-width: 768px) {
    .mi-page-content-card {
        padding: 0.2rem;
    }
    .mi-page-header .mi-page-title {
        font-size: 1.5rem;
    }
    .mi-page-prose h2 {
        font-size: 1.3rem;
    }
    .mi-page-prose h3 {
        font-size: 1.2rem;
    }
}