/*
Theme Name: Furman Web Editor Help
Description: Internal knowledge portal for Furman website editors.
Version: 0.1.0
Text Domain: furman-editor-help
*/

:root {
  --purple: #4f2374;
  --purple-dark: #28123f;
  --purple-soft: #f4eff8;
  --gold: #f7bd18;
  --ink: #24222a;
  --muted: #67616f;
  --line: #e3dee7;
  --white: #fff;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(40, 18, 63, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfafc; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; height: auto; }
.weh-wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.weh-site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.weh-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.weh-brand { display: flex; align-items: center; gap: 13px; color: var(--purple-dark); text-decoration: none; }
.weh-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--purple); color: white; font-weight: 800; }
.weh-brand strong { display: block; font-family: Georgia, serif; font-size: 20px; line-height: 1.1; }
.weh-brand span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.weh-menu { display: flex; align-items: center; gap: 22px; }
.weh-menu a { color: var(--ink); font-weight: 650; text-decoration: none; }
.weh-menu .weh-button { color: white; }

.weh-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border: 0; border-radius: 999px; background: var(--purple); color: white; font-weight: 750; text-decoration: none; cursor: pointer; }
.weh-button:hover { background: var(--purple-dark); color: white; }
.weh-button--gold { background: var(--gold); color: var(--purple-dark); }
.weh-button--gold:hover { background: #ffd354; color: var(--purple-dark); }

.weh-hero { padding: 82px 0 72px; color: white; background: radial-gradient(circle at 85% 15%, #8555a7 0, transparent 30%), linear-gradient(135deg, var(--purple-dark), var(--purple)); }
.weh-eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.weh-hero h1 { max-width: 760px; margin: 0; font: clamp(38px, 6vw, 66px)/1.06 Georgia, serif; }
.weh-hero p { max-width: 700px; margin: 20px 0 32px; color: #eee5f4; font-size: 19px; }
.weh-search { display: flex; max-width: 760px; padding: 8px; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.weh-search input { flex: 1; min-width: 0; padding: 13px 14px; border: 0; outline: 0; font-size: 17px; }
.weh-search button { min-width: 120px; }

.weh-section { padding: 64px 0; }
.weh-section--soft { background: var(--purple-soft); }
.weh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.weh-section h2 { margin: 0; color: var(--purple-dark); font: 34px/1.2 Georgia, serif; }
.weh-section-head p { max-width: 560px; margin: 8px 0 0; color: var(--muted); }
.weh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.weh-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 24px rgba(40,18,63,.05); }
.weh-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.weh-card h3 { margin: 8px 0; color: var(--purple-dark); font-size: 20px; }
.weh-card p { margin: 0; color: var(--muted); }
.weh-card a { color: inherit; text-decoration: none; }
.weh-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); font-weight: 800; }
.weh-guide-list { display: grid; gap: 12px; }
.weh-guide { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); text-decoration: none; }
.weh-guide:hover { border-color: #bca5cd; }
.weh-guide strong { display: block; color: var(--purple-dark); }
.weh-guide span { color: var(--muted); font-size: 14px; }
.weh-arrow { color: var(--purple); font-size: 24px; }
.weh-callout { display: grid; grid-template-columns: 1.5fr auto; gap: 28px; align-items: center; padding: 34px; border-radius: var(--radius); background: var(--purple-dark); color: white; }
.weh-callout h2 { color: white; }
.weh-callout p { margin-bottom: 0; color: #e8ddec; }

.weh-content { min-height: 55vh; padding: 56px 0; }
.weh-article { max-width: 840px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.weh-article h1 { margin-top: 0; color: var(--purple-dark); font: 42px/1.15 Georgia, serif; }
.weh-meta { color: var(--muted); font-size: 14px; }
.weh-entry h2, .weh-entry h3 { color: var(--purple-dark); }
.weh-entry pre, .weh-entry code { border-radius: 6px; background: #f3f0f5; }
.weh-entry pre { padding: 18px; overflow: auto; }
.weh-empty { padding: 28px; border: 1px dashed #baaac5; border-radius: 14px; text-align: center; }
.weh-site-footer { padding: 36px 0; background: var(--purple-dark); color: #e9e1ee; }
.weh-footer-row { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 800px) {
  .weh-menu a:not(.weh-button) { display: none; }
  .weh-grid { grid-template-columns: 1fr; }
  .weh-callout { grid-template-columns: 1fr; }
  .weh-hero { padding-top: 60px; }
}
@media (max-width: 520px) {
  .weh-wrap { width: min(calc(100% - 24px), var(--max)); }
  .weh-brand span { display: none; }
  .weh-search { display: block; }
  .weh-search button { width: 100%; }
  .weh-article { padding: 24px; }
  .weh-footer-row { display: block; }
}
