/* Shared header & footer - WLC OJT 2026 */
body.layout-header-footer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.layout-header-footer .site-header { flex-shrink: 0; }
body.layout-header-footer .page-content { flex: 1; display: flex; flex-direction: column; }
body.layout-header-footer .site-footer { flex-shrink: 0; }

:root {
    --bg-dark: #0a0e17;
    --accent: #00d4aa;
    --accent-soft: rgba(0, 212, 170, 0.15);
    --text: #e8edf5;
    --text-muted: #8b9bb3;
    --border: rgba(255, 255, 255, 0.08);
}

.site-header {
    position: relative;
    z-index: 10;
    background: rgba(10, 14, 23, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.header-home {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.header-home:hover {
    text-decoration: underline;
}

.header-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.header-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.header-slogan {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav a {
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.site-footer {
    position: relative;
    z-index: 5;
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: rgba(10, 14, 23, 0.6);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-inner a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--accent);
}

/* Responsive – mobile & tablet */
@media (max-width: 768px) {
    .header-inner {
        padding: 0.65rem 1rem;
        gap: 1rem;
    }
    .header-logo {
        height: 32px;
    }
    .header-title {
        font-size: 0.95rem;
    }
    .header-home {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
    }
    .footer-inner {
        padding: 1rem;
    }
    .footer-slogan {
        font-size: 0.85rem;
    }
    .footer-copy {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0.5rem 0.75rem;
    }
    .header-logo {
        height: 28px;
    }
    .header-title {
        font-size: 0.85rem;
    }
    .header-left {
        gap: 8px;
    }
    .footer-inner {
        padding: 0.75rem;
    }
}
