/*
Theme Name: Fantastic University
Description: Same look as the original hand-built fantasticuniversity.org, made editable in WordPress. Home page = the card with Monte's message; other pages = the simple reading layout used by About Us and the legal pages.
Version: 1.0
Author: Fantastic University webmaster
Text Domain: fantastic-university
*/

/* ---------- Home page (copied from the original index.html) ---------- */
:root {
  --navy: #0c2f6d;
  --blue: #174eaa;
  --gold: #d8a126;
  --gold-soft: #f3d17b;
  --cream: #fffaf0;
  --text: #1c2b45;
  --muted: #5c6d8b;
  --card: rgba(255,255,255,0.9);
  --shadow: 0 25px 60px rgba(12, 47, 109, 0.18);
}
* { box-sizing: border-box; }

body.fu-home {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(243, 209, 123, 0.18), transparent 22%),
    radial-gradient(circle at 80% 0%, rgba(23, 78, 170, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 45%, #fdfaf3 100%);
  min-height: 100vh;
}
.fu-home .page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
.fu-home .hero {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(244,248,255,0.94));
  box-shadow: var(--shadow); border: 1px solid rgba(23, 78, 170, 0.08);
}
.fu-home .hero::before, .fu-home .hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fu-home .hero::before {
  background:
    repeating-radial-gradient(circle at 85% 12%, rgba(23, 78, 170, 0.06) 0 2px, transparent 2px 22px),
    repeating-radial-gradient(circle at 12% 88%, rgba(216, 161, 38, 0.07) 0 2px, transparent 2px 24px);
  opacity: 0.75;
}
.fu-home .hero::after { background: linear-gradient(135deg, rgba(255,255,255,0.14), transparent 42%, rgba(255,255,255,0.08)); }
.fu-home .hero-inner { position: relative; z-index: 1; padding: 42px 42px 36px; display: grid; gap: 30px; }
.fu-home .ask-row { text-align: right; margin-bottom: 12px; }
.fu-home .ask-btn {
  display: inline-block; background: #d8a126; color: #0c2f6d; font-weight: 800; border-radius: 999px;
  padding: 10px 20px; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
.fu-home .logo-wrap { text-align: center; padding-top: 6px; }
.fu-home .logo-wrap img { width: min(100%, 560px); height: auto; display: inline-block; filter: drop-shadow(0 14px 28px rgba(12, 47, 109, 0.18)); }
.fu-home .content { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch; }
.fu-home .main-copy, .fu-home .side-card {
  background: var(--card); border-radius: 24px; padding: 30px;
  border: 1px solid rgba(23, 78, 170, 0.08); backdrop-filter: blur(4px);
}
.fu-home .eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 7px 14px; border-radius: 999px;
  background: rgba(23, 78, 170, 0.08); color: var(--blue); font-size: 0.88rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.fu-home h1 { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; color: var(--navy); }
.fu-home .lead { font-size: 1.14rem; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.fu-home .lead strong { color: var(--navy); }
.fu-home .divider { width: 90px; height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--gold), var(--blue)); margin: 22px 0 24px; }
.fu-home .message { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.fu-home .message p { margin: 0 0 18px; }
.fu-home .side-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(180deg, rgba(12,47,109,0.98), rgba(23,78,170,0.96));
  color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.fu-home .side-card h2 { margin: 0 0 16px; font-size: 1.35rem; color: #fff6dd; }
.fu-home .feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.fu-home .feature-list li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.09); line-height: 1.55; }
.fu-home .cta-box {
  margin-top: 24px; padding: 18px 18px 20px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
}
.fu-home .cta-title { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.fu-home .cta-box p { margin: 0; line-height: 1.65; color: rgba(255,255,255,0.92); }
.fu-home .cta-box p:not(.cta-title) + p { margin-top: 14px; }
.fu-home .cta-box a { color: var(--gold-soft); font-weight: 700; }
.fu-home .signature { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(28, 43, 69, 0.12); color: var(--navy); font-size: 1rem; line-height: 1.7; }
.fu-home .signature strong { display: block; font-size: 1.05rem; }
/* Block editor wrappers stay invisible inside the card */
.fu-home .main-copy > *:last-child { margin-bottom: 0; }
.fu-home .side-card .widget, .fu-home .side-card .wp-block-group { margin: 0; }
/* The widget wrappers sit between .side-card and its two parts; pass the column layout through
   so "Join the movement" stays at the bottom of the blue box, as on the original. */
.fu-home .side-card > .widget:only-child,
.fu-home .side-card > .widget:only-child > .custom-html-widget { display: flex; flex-direction: column; justify-content: space-between; flex: 1 1 auto; }

@media (max-width: 900px) {
  .fu-home .content { grid-template-columns: 1fr; }
  .fu-home .hero-inner { padding: 30px 18px 24px; }
  .fu-home .main-copy, .fu-home .side-card { padding: 24px; }
}
@media (max-width: 560px) {
  .fu-home h1 { font-size: 2rem; }
  .fu-home .lead, .fu-home .message { font-size: 1rem; }
  .fu-home .logo-wrap img { width: 100%; }
}

/* ---------- Other pages (copied from the original About Us / legal pages) ---------- */
body.fu-page { margin: 0; font: 18px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1b1b1b; background: #fff; color-scheme: light; }
/* content-box like the original pages: 780px of text plus the padding (1060px for About Us) */
.fu-page .wrap { box-sizing: content-box; max-width: 780px; margin: 0 auto; padding: 24px 20px 60px; }
.fu-page .wrap.wide { max-width: 1060px; }
.fu-page header.top { background: #0b3857; color: #fff; padding: 14px 20px; }
.fu-page header.top a { color: #fff; font-weight: 700; text-decoration: none; }
.fu-page h1 { font-size: 2rem; line-height: 1.2; margin: .8em 0 .4em; color: #0b3857; }
.fu-page h2 { font-size: 1.25rem; margin: 1.6em 0 .4em; color: #0b3857; }
.fu-page a { color: #0b57d0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 8px; z-index: 9; }
a:focus-visible, button:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
