/* Public subpage content and footer.
   The banner and navigation now come from partials/public-header.blade.php and
   are styled by the approved homepage stylesheet (home.css), so subpages use the
   exact same crest, motto, MIS block, and alignment as the homepage. */

:root {
    --home-cream: #fff8ef;
    --home-ink: #241a18;
    --home-muted: #6b5a55;
    --home-border: #ead7c7;
}

body.home-body {
    margin: 0;
    min-width: 320px;
    background: var(--home-cream);
    color: var(--home-ink);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.home-body a {
    color: inherit;
    text-decoration: none;
}

body.home-body main {
    display: block;
    min-height: 55vh;
}

body.home-body main > .container {
    max-width: 1180px;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

body.home-body .card {
    border-color: var(--home-border);
    box-shadow: 0 6px 18px rgb(86 6 16 / 6%);
}

/* Footer ------------------------------------------------------------------ */
.home-footer {
    margin-top: 48px;
    border-top: 1px solid var(--home-border);
    background: #fffaf4;
}

.home-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 28px;
    align-items: center;
    max-width: 1460px;
    margin: 0 auto;
    padding: 28px 4.5%;
}

.home-footer-col {
    min-width: 0;
}

.home-footer-quote {
    margin: 0;
    color: #5a1a16;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
}

.home-footer-center {
    text-align: center;
}

.home-footer-label {
    color: #940d1b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.home-footer-text {
    margin-top: 5px;
    color: #4a3431;
    font-size: 13px;
}

.home-footer-text.small {
    color: var(--home-muted);
    font-size: 11.5px;
}

.home-footer-right {
    text-align: right;
}

.home-footer-value {
    color: #702b32;
    font-size: 12px;
    letter-spacing: 0.22em;
    line-height: 1.8;
    text-transform: uppercase;
}

.home-footer-strip {
    height: 10px;
    background: linear-gradient(90deg, #720718 0 25%, #9d0c20 25% 45%, #f3a13a 45% 75%, #eca746 75% 100%);
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
    .home-footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .home-footer-center,
    .home-footer-right {
        text-align: left;
    }
}

@media (max-width: 560px) {
    body.home-body main > .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-footer-inner {
        padding: 24px 20px;
    }
}

/* Rich text announcements (admin-authored, sanitised allowlist). */
.rich-text p { margin-bottom: 0.75rem; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text ul,
.rich-text ol { margin-bottom: 0.75rem; padding-left: 1.5rem; }
.rich-text h3 { font-size: 1.15rem; margin: 1rem 0 0.5rem; }
.rich-text h4 { font-size: 1rem; margin: 1rem 0 0.5rem; }
.rich-text a { color: inherit; text-decoration: underline; }
.rich-text blockquote { border-left: 3px solid currentColor; padding-left: 0.75rem; margin: 0.75rem 0; opacity: 0.9; }

