/*
Theme Name: GDS Hub Theme
Theme URI: https://example.com/
Author: Matt Cotter
Description: Minimal theme for the staff resource hub. Provides menu support, a clean page template, hero banner, and basic typography. Designed to host the [gds_resource_hub] shortcode.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gds-hub-theme
*/

/* Reset / base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

a { color: #066ed0; }
a:hover { color: #054f96; }

img { max-width: 100%; height: auto; }

/* Site header with centered logo
   ---------------------------------------------------------------- */
.site-header {
    background: #ffffff;
    padding: 20px 0 0 0;
}

.site-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-logo .custom-logo {
    max-height: 64px;
    width: auto;
}

.site-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 64px;
    border: 1.5px dashed rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(0, 0, 0, 0.4);
    background: #fafafa;
}

/* Hero banner
   ---------------------------------------------------------------- */
.hero {
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 0 24px;
}

.hero-inner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    /* Placeholder classroom photo — swap with a self-hosted image when ready. */
    background-image: url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #066ed0;
    opacity: 0.78;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 56px 32px;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
}

.hero-title {
    margin: 0 0 14px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    opacity: 0.95;
}

@media (max-width: 700px) {
    .hero-inner { min-height: 220px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 15px; }
    .hero-content { padding: 40px 20px; }
}

/* Main layout
   ---------------------------------------------------------------- */
.site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

.page-title {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 600;
}

/* Site footer
   ---------------------------------------------------------------- */
.site-footer {
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #6b6b6b;
}