/* ========================================================= */
/*  FHP Homepage – Full Consistent Styling (Dark Theme)     */
/*  Copy this into a new file: /page/homepage/css or similar */
/* ========================================================= */

:root {
    --color-primary: #ffcc00;      /* FHP Gold */
    --color-bg: #0d0d0d;
    --color-bg-alt: #1a1a1a;
    --color-border: #333;
    --color-text: #eee;
}

/* Base page container */
#fhp-homepage,
main.responsive > .flex.flex-col.gap-4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: var(--font-body, "Inter", system-ui, sans-serif);
    color: var(--color-text);
}

/* Header / Banner */
.fhp-header {
    position: relative;
    height: 380px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}
.fhp-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.45);
    z-index: 1;
}
.fhp-header h1,
.fhp-header h2 {
    position: relative;
    z-index: 2;
    margin: 0;
}
.fhp-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.fhp-header h2 {
    font-size: 1.5rem;
    opacity: 0.95;
}

/* Description */
.fhp-description {
    padding: 45px 30px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    line-height: 1.8;
    font-size: 1.1rem;
    border: 1px solid var(--color-border);
}

/* Core Values Section Title */
.fhp-coreHeader,
.fhp-values + .fhp-coreHeader,
section > h2:first-child {
    text-align: center;
    padding: 50px 20px 15px;
    margin: 0;
}
.fhp-coreHeader h2,
section > h2:first-child {
    color: var(--color-primary);
    font-size: 2.2rem;
    font-weight: 700;
}

/* Values Grid – Perfect 4-column on desktop, responsive */
.fhp-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    padding: 20px 0 60px;
    justify-content: center;
}
.fhp-value-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: all 0.25s ease;
}
.fhp-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.fhp-value-photo {
    height: 190px;
    background-size: cover;
    background-position: center;
}
.fhp-value-card h3 {
    margin: 18px 0 10px;
    color: var(--color-primary);
    font-size: 1.35rem;
}
.fhp-value-card p {
    padding: 0 18px 22px;
    font-size: 0.98rem;
    opacity: 0.95;
}

/* Duties / Responsibilities */
.fhp-duties {
    padding: 50px 30px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin: 30px 0;
}
.fhp-duties h2 {
    text-align: center;
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 35px;
}
.fhp-duties ul {
    max-width: 860px;
    margin: 0 auto;
    line-height: 2.1;
    font-size: 1.05rem;
}
.fhp-duties li {
    margin-bottom: 8px;
}

/* Bottom 3-column grid (the one that was empty before) */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.grid-12 > .col-4 {
    grid-column: span 4;
}
.grid-12 article,
.grid-12 .rich-text {
    background: var(--color-bg-alt);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    min-height: 120px;
}
.grid-12 .btn-primary {
    display: block;
    text-align: center;
    padding: 16px 24px;
    background: var(--color-primary);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.grid-12 .btn-primary:hover {
    background: #ffd633;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .fhp-values {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .grid-12 {
        grid-template-columns: 1fr;
    }
    .grid-12 > .col-4 {
        grid-column: span 12;
    }
    .fhp-header {
        height: 300px;
    }
    .fhp-header h1 {
        font-size: 2.6rem;
    }
}
@media (max-width: 540px) {
    .fhp-values {
        grid-template-columns: 1fr;
    }
    .fhp-header {
        height: 240px;
    }
    .fhp-header h1 {
        font-size: 2.2rem;
    }
}