/* San Marco Knights - public website
   Initial visual baseline based on the current site.
   We will tune exact fonts/colors/spacing after first upload comparison. */

:root {
    --navy: #18316d;
    --navy-dark: #10234f;
    --blue: #24478f;
    --gold: #c9a23a;
    --ink: #262626;
    --muted: #6f6f6f;
    --line: #e4e4e4;
    --paper: #ffffff;
    --soft: #f6f6f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background:#fff; border-bottom:1px solid #efefef; font-size:12px; }
.topbar-inner { min-height:36px; display:flex; justify-content:flex-end; align-items:center; gap:24px; color:#525252; }
.topbar a { color:#525252; }

.site-header { background:#fff; }
.brand-row { min-height:118px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.brand { display:flex; align-items:center; gap:14px; color:#1b1b1b; }
.brand:hover { text-decoration:none; }
.brand-mark {
    width:62px; height:62px; border-radius:8px; display:grid; place-items:center;
    background:var(--navy); color:white; border:3px solid var(--gold);
    font-weight:800; font-size:18px; box-shadow:inset 0 0 0 2px white;
}
.brand-mark span { font-size:10px; margin:0 1px; }
.brand-text { display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong { font-family:Georgia, 'Times New Roman', serif; font-size:28px; color:#303030; }
.brand-text small { margin-top:8px; font-size:13px; color:#666; }
.header-tools { font-size:12px; }

.main-nav { background:var(--navy); border-top:4px solid var(--navy-dark); }
.nav-inner { display:flex; justify-content:center; }
.main-nav a {
    color:white; padding:15px 44px; display:block; font-size:15px; font-weight:700;
    border-left:1px solid rgba(255,255,255,.09);
}
.main-nav a:last-child { border-right:1px solid rgba(255,255,255,.09); }
.main-nav a:hover { background:rgba(255,255,255,.08); text-decoration:none; }

.hero {
    min-height:310px;
    display:flex;
    align-items:center;
    color:white;
    background:
        linear-gradient(rgba(14,31,72,.58),rgba(14,31,72,.58)),
        radial-gradient(circle at 20% 30%, #c88940 0, #253f6a 35%, #0f214e 100%);
}
.hero-inner { padding:50px 0; }
.hero h1 { font-family:Georgia, 'Times New Roman', serif; font-size:52px; margin:0 0 4px; }
.hero p { font-size:20px; margin:0; }

.page-banner { background:linear-gradient(135deg,var(--navy-dark),var(--blue)); color:white; padding:42px 0; }
.page-banner h1 { margin:0; font-family:Georgia, 'Times New Roman', serif; font-size:40px; }

.content-section { padding:58px 0 72px; }
.section-title {
    text-align:center; font-family:Georgia, 'Times New Roman', serif;
    font-size:36px; font-weight:500; margin:0 0 36px; color:#333;
}

.event-list { max-width:930px; margin:0 auto; }
.event-card {
    display:grid; grid-template-columns:260px 1fr; gap:30px;
    padding:30px 0; border-bottom:1px solid var(--line);
}
.event-card:first-child { padding-top:0; }
.event-image img { width:260px; height:175px; object-fit:cover; }
.event-body h3 {
    font-family:Georgia, 'Times New Roman', serif; margin:0 0 12px; font-size:27px; line-height:1.25;
}
.event-body h3 a { color:#2c2c2c; }
.event-body p { margin:0 0 12px; color:#444; }
.read-more { font-weight:700; font-size:14px; }
.event-meta { margin-top:18px; color:var(--muted); font-size:13px; }
.event-date { margin:0 0 12px; color:var(--navy); font-weight:700; }
.event-date.prominent { font-size:17px; }

.article-wrap { max-width:900px; }
.article-image { width:100%; max-height:520px; object-fit:cover; margin-bottom:28px; }
.article-content { font-size:17px; }
.article-content h2, .article-content h3 { font-family:Georgia, 'Times New Roman', serif; }
.button {
    display:inline-block; border:0; border-radius:3px; padding:12px 20px;
    background:var(--navy); color:white; font-weight:700;
}
.button:hover { background:var(--navy-dark); text-decoration:none; }

.leadership-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
.leadership-group { border-top:5px solid var(--navy); background:var(--soft); padding:28px; }
.leadership-group h2 { margin:0 0 20px; font-family:Georgia,'Times New Roman',serif; }
.leader { padding:16px 0; border-top:1px solid #ddd; display:flex; flex-direction:column; }
.leader:first-of-type { border-top:0; }
.leader strong { color:var(--navy); }
.leader span { font-size:17px; margin:2px 0; }

.empty-state { text-align:center; background:var(--soft); padding:36px; border:1px solid var(--line); }

.site-footer { background:#141414; color:#cfcfcf; font-size:12px; text-transform:uppercase; }
.footer-inner { min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.site-footer a { color:white; }

@media (max-width: 800px) {
    .container { width:min(100% - 28px, 1180px); }
    .brand-row { min-height:95px; }
    .brand-text strong { font-size:21px; }
    .main-nav .container { width:100%; }
    .nav-inner { flex-wrap:wrap; }
    .main-nav a { flex:1 1 50%; text-align:center; padding:12px 10px; }
    .hero { min-height:240px; }
    .hero h1 { font-size:38px; }
    .event-card { grid-template-columns:1fr; }
    .event-image img { width:100%; height:auto; max-height:320px; }
    .leadership-grid { grid-template-columns:1fr; }
    .footer-inner { flex-direction:column; justify-content:center; text-align:center; padding:24px 0; }
}
