/* =====================================================================
   Green Submissions · Submission Manager
   Magazine / journal design system
   ===================================================================== */

:root {
  /* Blue palette */
  --c-ink:        #0d1b2f;   /* deepest navy — body text */
  --c-navy:       #15294a;   /* primary brand blue */
  --c-blue:       #2a4d7a;   /* mid blue — links */
  --c-slate:      #4a6b8a;   /* slate, secondary text */
  --c-sky:        #7da3c6;   /* light blue */
  --c-mist:       #e2ecf6;   /* tinted panels */
  --c-frost:      #f4f8fc;   /* lightest blue wash */

  /* Warm neutrals */
  --c-paper:      #fbf8f1;   /* page background, cream */
  --c-cream:      #f5efe2;   /* darker cream */
  --c-rule:       #d8d4cc;   /* hairline rules */
  --c-faint:      #ece6d9;   /* faint warm tint */

  /* Accents */
  --c-brass:      #b08542;   /* brass — warm contrast */
  --c-brass-deep: #8c6532;   /* deeper brass */
  --c-burgundy:   #8c3a4a;   /* errors */
  --c-moss:       #5a7d4f;   /* success */

  /* Type */
  --serif:  'Iowan Old Style', 'Hoefler Text', 'Apple Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --sans:   -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Iowan Old Style', 'Hoefler Text', Georgia, serif;

  /* Sizing */
  --col-narrow: 660px;
  --col-wide:   980px;
  --radius: 2px;
}

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

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

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --------------------------------------------------------------------- */
/* Links                                                                 */
/* --------------------------------------------------------------------- */
a {
  color: var(--c-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 77, 122, 0.25);
  transition: color .15s ease, border-color .15s ease;
}
a:hover, a:active {
  color: var(--c-navy);
  border-bottom-color: var(--c-brass);
}

/* --------------------------------------------------------------------- */
/* Typography                                                            */
/* --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--c-navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.005em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

small { font-size: 0.85em; color: var(--c-slate); }

/* Editorial accents */
.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--c-brass);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
  margin-bottom: 8px;
}

hr {
  border: 0;
  border-top: 1px solid var(--c-rule);
  margin: 32px 0;
}
hr.ornament {
  text-align: center;
  border: 0;
  margin: 36px 0;
}
hr.ornament::after {
  content: "❦";
  display: inline-block;
  color: var(--c-brass);
  font-size: 18px;
  letter-spacing: .5em;
}

/* --------------------------------------------------------------------- */
/* Site header (masthead)                                                */
/* --------------------------------------------------------------------- */
.site-head {
  background: linear-gradient(180deg, #15294a 0%, #0f1f3c 100%);
  color: #f3eedf;
  border-bottom: 6px double var(--c-brass);   /* journal-style double rule */
  position: relative;
}
.site-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translate(-50%, 50%);
  width: 14px;
  height: 14px;
  background: var(--c-brass);
  border: 3px solid var(--c-paper);
  border-radius: 50%;
  z-index: 2;
}
.site-head__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 36px 24px 28px;
  text-align: center;
}
.masthead__kicker {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--c-sky);
  margin-bottom: 8px;
}
.masthead__title {
  font-family: var(--display);
  font-size: 46px;
  letter-spacing: 0.015em;
  font-weight: 400;
  color: #fbf8f1;
  border: 0;
  display: inline-block;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.masthead__title:hover { color: #fff; border: 0; }
.masthead__sub {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-top: 4px;
}
.masthead__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 8px;
  max-width: 320px;
}
.masthead__rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brass) 30%, var(--c-brass) 70%, transparent);
  opacity: 0.85;
}
.masthead__rule-mark {
  color: var(--c-brass);
  font-size: 14px;
  line-height: 1;
}

/* --------------------------------------------------------------------- */
/* Primary nav                                                           */
/* --------------------------------------------------------------------- */
.site-nav {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-rule);
  box-shadow: 0 6px 18px -16px rgba(13, 27, 47, 0.25);
}
.site-nav__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 28px;
}
.site-nav a, .site-nav .nav-text {
  display: inline-block;
  padding: 14px 0;
  color: var(--c-navy);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--c-brass-deep);
  border-bottom-color: var(--c-brass);
}
.site-nav .nav-logout {
  color: var(--c-burgundy);
}
.site-nav .nav-status {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--c-slate);
  font-weight: 400;
}
.site-nav .nav-status b { color: var(--c-navy); font-weight: 600; }

/* Two-row member nav (poets-menu.php) -------------------------------- */
.site-nav--member { background: transparent; border-bottom: 0; box-shadow: none; }
.site-nav--member .site-nav__row { width: 100%; }
.site-nav--member .site-nav__row--journal {
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-faint);
}
.site-nav--member .site-nav__row--personal {
  background: var(--c-frost);
  border-bottom: 1px solid var(--c-rule);
  box-shadow: 0 6px 18px -16px rgba(13, 27, 47, 0.2);
}
.site-nav--member .site-nav__inner {
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 28px;
}
.site-nav--member .site-nav__label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-brass-deep);
  font-weight: 700;
  padding: 14px 0;
  margin-right: 4px;
}
.site-nav--member .site-nav__closed {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--c-slate);
}

/* --------------------------------------------------------------------- */
/* Main content                                                          */
/* --------------------------------------------------------------------- */
.site-main {
  max-width: var(--col-wide);
  margin: 0 auto;
  padding: 48px 24px 32px;
  min-height: 50vh;
}

/* --------------------------------------------------------------------- */
/* Container / card                                                      */
/* --------------------------------------------------------------------- */
.container {
  max-width: var(--col-narrow);
  margin: 0 auto 32px;
  padding: 44px 48px 40px;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-top: 4px solid var(--c-brass);   /* magazine-spine accent */
  border-radius: 0;
  box-shadow: 0 1px 0 rgba(13, 27, 47, 0.04), 0 24px 48px -32px rgba(13, 27, 47, 0.22);
  text-align: center;                      /* forms + headers re-centered */
  position: relative;
}
.container::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background: var(--c-brass);
  margin: 0 auto 18px;
  opacity: 0.55;
}
.container h1,
.container h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.container > h1:first-of-type,
.container > h2:first-of-type {
  margin-top: 0;
  padding-bottom: 14px;
  position: relative;
  margin-bottom: 28px;
}
.container > h1:first-of-type::after,
.container > h2:first-of-type::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: var(--c-navy);
  margin: 14px auto 0;
}
.container p { text-align: center; }
.container form {
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
}
.container form input[type="submit"],
.container form button { display: inline-block; }
.container .form-actions { text-align: center; margin-top: 22px; }

.card {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-left: 4px solid var(--c-brass);   /* editorial pull-quote feel */
  border-radius: 0;
  padding: 28px 32px;
  margin: 24px auto;
  max-width: var(--col-narrow);
  box-shadow: 0 12px 30px -24px rgba(13, 27, 47, 0.2);
  text-align: left;
}
.card h2, .card h3 { margin-top: 0; }

/* Read-mode page (guidelines, terms, etc.) */
.guidelines-content {
  font-family: var(--serif);
  font-size: 1.04rem;
  line-height: 1.88;
  color: #1c2a40;
  text-align: left;
  word-wrap: break-word;
  counter-reset: gd-section;
}
.guidelines-content p { margin: 0 0 1.15em; }
.guidelines-content em { color: var(--c-navy); font-style: italic; }
.guidelines-content a { color: var(--c-blue); border-bottom: 1px solid rgba(42,77,122,0.18); }
.guidelines-content a:hover { color: var(--c-navy); border-bottom-color: var(--c-brass); }

/* Page title — italic display, soft brass swash */
.guidelines-content h1 {
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 2.15rem;
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: 0.005em;
  color: var(--c-navy);
}
.guidelines-content h1::after {
  content: "❦";
  display: block;
  font-style: normal;
  font-size: 14px;
  color: var(--c-brass);
  letter-spacing: 0.55em;
  text-indent: 0.55em;          /* recenter due to letter-spacing */
  margin: 18px auto 40px;
  opacity: 0.55;
}

/* Drop cap on the very first paragraph */
.guidelines-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-style: italic;
  font-size: 3.8em;
  line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  color: var(--c-navy);
}

/* Section heads — italic with a Roman-numeral mark and a fine hairline */
.guidelines-content h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 3em 0 0.55em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-rule);
  text-align: left;
  color: var(--c-navy);
  letter-spacing: 0.005em;
}
.guidelines-content h2::before {
  content: counter(gd-section, upper-roman) " · ";
  counter-increment: gd-section;
  font-family: var(--display);
  font-style: normal;
  font-size: 0.78em;
  letter-spacing: 0.05em;
  color: var(--c-brass);
  margin-right: 4px;
  opacity: 0.85;
}
.guidelines-content h2.terms-heading {
  color: var(--c-burgundy);
  border-bottom-color: rgba(140,58,74,0.3);
}
.guidelines-content h2.terms-heading::before { color: var(--c-burgundy); opacity: 0.85; }

/* H3 — small italic, slate */
.guidelines-content h3 {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--c-slate);
  margin: 1.7em 0 0.45em;
  letter-spacing: 0.012em;
}

/* Bullet lists — delicate diamond markers */
.guidelines-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}
.guidelines-content ul li {
  position: relative;
  padding: 4px 0 4px 22px;
  margin: 0;
}
.guidelines-content ul li::before {
  content: "◆";
  position: absolute;
  left: 2px;
  top: 4px;
  font-size: 7px;
  line-height: 2.6;
  color: var(--c-brass);
  opacity: 0.55;
}

/* Numbered terms — small italic numerals, dotted dividers */
.guidelines-content ol {
  counter-reset: gd-term;
  list-style: none;
  padding: 0;
  margin: 8px 0 1.6em;
}
.guidelines-content ol li {
  counter-increment: gd-term;
  position: relative;
  padding: 12px 4px 12px 48px;
  border-bottom: 1px dotted rgba(216,212,204,0.85);
  margin: 0;
}
.guidelines-content ol li:last-child { border-bottom: 0; }
.guidelines-content ol li::before {
  content: counter(gd-term);
  position: absolute;
  left: 0;
  top: 13px;
  width: 36px;
  text-align: right;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-brass);
  opacity: 0.75;
  line-height: 1.2;
}

/* Callouts — soft cream wash, no shadow, italic display heading */
.guidelines-content .callout {
  background: rgba(245, 239, 226, 0.45);
  border: 1px solid rgba(216, 212, 204, 0.7);
  border-left: 2px solid var(--c-brass);
  padding: 22px 28px 18px;
  margin: 32px 0;
  border-radius: 0;
}
.guidelines-content .callout h4 {
  margin: 0 0 14px;
  padding: 0 0 9px;
  border-bottom: 1px solid rgba(216, 212, 204, 0.7);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--c-brass-deep);
}
.guidelines-content .callout ul,
.guidelines-content .callout ol { margin-bottom: 0; }
.guidelines-content .callout ul li { padding-left: 18px; }
.guidelines-content .callout ul li::before { left: 0; opacity: 0.45; }

.guidelines-content .callout-warn {
  background: rgba(252, 240, 218, 0.45);
  border-left-color: var(--c-burgundy);
}
.guidelines-content .callout-warn h4 { color: var(--c-burgundy); }
.guidelines-content .callout-warn p { margin: 0; font-size: 1.02rem; line-height: 1.72; }
.guidelines-content .callout-warn strong { color: var(--c-burgundy); }

/* Ornament breaks — fine hairline with a small ❦ floating in space */
.guidelines-content hr.ornament {
  border: 0;
  text-align: center;
  margin: 56px 0 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-rule) 35%, var(--c-rule) 65%, transparent 100%);
  position: relative;
  overflow: visible;
  opacity: 0.85;
}
.guidelines-content hr.ornament::after {
  content: "❦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 0 18px;
  color: var(--c-brass);
  font-size: 12px;
  opacity: 0.55;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------- */
/* Forms                                                                 */
/* --------------------------------------------------------------------- */
label, .form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate);
  font-weight: 600;
  margin: 18px 0 6px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
textarea, select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  margin: 0 0 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
textarea { line-height: 1.55; min-height: 120px; }
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(42, 77, 122, 0.15);
}
input::placeholder, textarea::placeholder { color: #b0aea7; }

.form-group { margin-bottom: 20px; }

/* --------------------------------------------------------------------- */
/* Buttons                                                               */
/* --------------------------------------------------------------------- */
input[type="submit"], button, .button-primary, a.button-primary, a.button-secondary, a.button-brass {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fbf8f1;
  background: var(--c-navy);
  border: 1px solid var(--c-navy) !important;   /* override generic <a> border-bottom */
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  text-decoration: none;
  line-height: 1.4;
  box-shadow: 0 6px 18px -10px rgba(13, 27, 47, 0.45);
}
input[type="submit"]:hover, button:hover, .button-primary:hover, a.button-primary:hover {
  background: var(--c-blue);
  border-color: var(--c-blue) !important;
  color: #fff;
}
input[type="submit"]:active, button:active, .button-primary:active { transform: translateY(1px); box-shadow: 0 2px 8px -4px rgba(13, 27, 47, 0.35); }

.button-secondary, a.button-secondary {
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-navy) !important;
  box-shadow: none;
}
.button-secondary:hover, a.button-secondary:hover {
  background: var(--c-navy);
  color: #fbf8f1;
  border-color: var(--c-navy) !important;
}
.button-brass, a.button-brass {
  background: var(--c-brass);
  border-color: var(--c-brass) !important;
  color: #fff;
}
.button-brass:hover, a.button-brass:hover { background: var(--c-brass-deep); border-color: var(--c-brass-deep) !important; }

/* Form submit buttons should sit on their own line, centered, with breathing room */
form input[type="submit"], form button[type="submit"] {
  display: block;
  margin: 24px auto 0;
}

/* --------------------------------------------------------------------- */
/* Tables                                                                */
/* --------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  overflow: hidden;
}
table th, table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
table th {
  background: var(--c-frost);
  color: var(--c-navy);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-rule);
}
table td {
  border-bottom: 1px solid var(--c-faint);
  color: var(--c-ink);
  font-size: 15px;
}
table tr:last-child td { border-bottom: 0; }
table tr:nth-child(even) td { background: #fafaf6; }

/* --------------------------------------------------------------------- */
/* Pagination                                                            */
/* --------------------------------------------------------------------- */
div.pagination, ul.pagination {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
div.pagination a,
ul.pagination .page-link {
  display: inline-block;
  padding: 6px 12px;
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--c-navy);
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  text-decoration: none;
  min-width: 32px;
  text-align: center;
}
div.pagination a:hover,
ul.pagination a.page-link:hover {
  background: var(--c-frost);
  border-color: var(--c-sky);
  color: var(--c-blue);
}
div.pagination span.current,
ul.pagination .page-item.active .page-link {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fbf8f1;
}
ul.pagination .page-item.disabled .page-link {
  color: #b9b6ac;
  background: var(--c-paper);
}

/* --------------------------------------------------------------------- */
/* Messages                                                              */
/* --------------------------------------------------------------------- */
span.error, .error-msg {
  display: block;
  margin: 8px 0 4px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-burgundy);
  background: #fbeae9;
  border-left: 3px solid var(--c-burgundy);
  border-radius: var(--radius);
}
span.msg, .success-msg {
  display: block;
  margin: 8px 0 4px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-moss);
  background: #ecf2e6;
  border-left: 3px solid var(--c-moss);
  border-radius: var(--radius);
}
/* Hide empty inline error/success spans so blank fields don't show pink/green stripes */
span.error:empty, span.msg:empty,
.error-msg:empty, .success-msg:empty { display: none; }

/* --------------------------------------------------------------------- */
/* Site footer                                                           */
/* --------------------------------------------------------------------- */
.site-foot {
  margin-top: 64px;
  padding: 40px 24px 32px;
  background: linear-gradient(180deg, #0f1f3c 0%, #0a1628 100%);
  color: var(--c-mist);
  text-align: center;
  border-top: 6px double var(--c-brass);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.75;
  position: relative;
}
.site-foot::before {
  content: "❦";
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translate(-50%, -50%);
  background: var(--c-paper);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--c-brass);
  font-size: 16px;
}
.site-foot__inner {
  max-width: var(--col-wide);
  margin: 0 auto;
}
.site-foot a {
  color: var(--c-sky);
  border-bottom-color: rgba(125, 163, 198, 0.35);
}
.site-foot a:hover { color: #fff; border-bottom-color: var(--c-brass); }
.site-foot .foot-meta {
  margin-top: 18px;
  font-size: 12px;
  font-family: var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
  letter-spacing: 0.18em;
}

/* --------------------------------------------------------------------- */
/* Index / landing                                                       */
/* --------------------------------------------------------------------- */
.landing {
  max-width: var(--col-narrow);
  margin: 0 auto;
  text-align: center;
  padding: 40px 16px;
}
.landing h1 {
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.landing .lede {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c-slate);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.landing-features {
  list-style: none;
  padding: 0;
  margin: 32px auto;
  max-width: 480px;
  text-align: left;
  border-top: 1px solid var(--c-rule);
}
.landing-features li {
  padding: 12px 8px 12px 30px;
  border-bottom: 1px solid var(--c-rule);
  position: relative;
  font-size: 15px;
}
.landing-features li::before {
  content: "§";
  position: absolute;
  left: 6px;
  top: 12px;
  color: var(--c-brass);
  font-weight: 600;
}
.landing-cta {
  margin: 32px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.landing-cta .button-primary,
.landing-cta .button-secondary {
  padding: 14px 34px;
  font-size: 13px;
  letter-spacing: 0.22em;
}

/* --------------------------------------------------------------------- */
/* Responsive                                                            */
/* --------------------------------------------------------------------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-main { padding: 32px 16px 24px; }
  .container { padding: 28px 22px; }
  .masthead__title { font-size: 30px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  .site-nav__inner { gap: 4px 18px; }
  .site-nav a, .site-nav .nav-text { padding: 10px 0; font-size: 11px; }
}

/* Print */
@media print {
  .site-head, .site-nav, .site-foot { display: none; }
  body { background: #fff; }
  .container { box-shadow: none; border: 0; }
}

/* =====================================================================
   Editor / admin area
   Wider columns, denser UI, same palette and typography.
   ===================================================================== */

body.editor-body { background: #f6f1e6; }

/* Compact text masthead ------------------------------------------------ */
.editor-head {
  background: linear-gradient(180deg, #15294a 0%, #0f1f3c 100%);
  color: #f3eedf;
  border-bottom: 3px solid var(--c-brass);
}
.editor-head__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.editor-mast { line-height: 1.1; text-align: left; }
.editor-mast__kicker {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 4px;
}
.editor-mast__title {
  font-family: var(--display);
  font-size: 26px;
  color: #fbf8f1;
  border: 0;
  letter-spacing: 0.01em;
  display: inline-block;
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.editor-mast__title:hover { color: #fff; border: 0; }
.editor-mast__user {
  text-align: right;
  font-family: var(--serif);
  font-size: 13px;
  color: #f3eedf;
  line-height: 1.35;
}
.editor-mast__user-name { color: #fff; font-style: italic; font-size: 14px; }
.editor-mast__user-role {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sky);
  display: block;
  margin-top: 2px;
}
.editor-mast__user a {
  color: var(--c-sky);
  border: 0;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 12px;
}
.editor-mast__user a:hover { color: #fff; border-bottom: 1px solid var(--c-brass); }

/* Wide content area --------------------------------------------------- */
.editor-main {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 28px 48px;
  min-height: 65vh;
}

/* Force every wrapper used by editor pages to fill the available width.
   Many legacy pages set max-width inline (800px, 1080px, etc.); this
   overrides them so the editor really does use the full screen. */
.editor-main .container,
.editor-main .editor-card,
.editor-main .content-wrapper,
.editor-main .settings-form,
.editor-main .ag-wrap,
.editor-main .ec-wrap,
.editor-main .es-wrap,
.editor-main .ea-wrap,
.editor-main form.settings-form,
.editor-main > div[class*="container"],
.editor-main > div[class*="wrapper"] {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Restyle the .container class (which is the public-side narrow card)
   when used inside the editor area, so it uses the editor-card look. */
.editor-main .container {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-top: 3px solid var(--c-navy);
  border-radius: 0;
  padding: 28px 36px !important;
  box-shadow: 0 14px 32px -24px rgba(13, 27, 47, 0.2);
  text-align: left;
}
.editor-main .container::before { content: none; }   /* kill the public brass tick */
.editor-main .container h1,
.editor-main .container h2,
.editor-main .container h3 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.editor-main .container > h1:first-of-type::after,
.editor-main .container > h2:first-of-type::after { content: none; }   /* kill centered underline */
.editor-main .container p { text-align: left; }
.editor-main .container form {
  max-width: none !important;
  margin: 0 !important;
}

/* Nav: refined pills with brass-accented hover ------------------------ */
.editor-nav {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-top: 0;
  padding: 0 18px;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  align-items: center;
  box-shadow: 0 6px 18px -16px rgba(13, 27, 47, 0.25);
}
.editor-nav__group {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  align-items: center;
}
.editor-nav__group--admin {
  border-left: 1px solid var(--c-rule);
  padding-left: 22px;
  margin-left: auto;
}
.editor-nav__item {
  display: inline-block;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.editor-nav__item:hover {
  color: var(--c-brass-deep);
  border-bottom-color: var(--c-brass);
}
.editor-nav__item--admin { color: var(--c-blue); }
.editor-nav__item--logout { color: var(--c-burgundy); }

/* Card surface used for individual tools ------------------------------ */
.editor-card {
  background: #fff;
  border: 1px solid var(--c-rule);
  border-top: 3px solid var(--c-navy);
  padding: 32px 38px;
  margin: 0 0 24px;
  box-shadow: 0 14px 32px -24px rgba(13, 27, 47, 0.2);
}
.editor-card h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  color: var(--c-navy);
  letter-spacing: -0.005em;
}
.editor-card .lede {
  color: var(--c-slate);
  font-style: italic;
  font-size: 14px;
  margin: 0 0 22px;
}
.editor-card hr.section { border: 0; border-top: 1px solid var(--c-rule); margin: 26px 0 22px; }

/* Tables tuned for dense editorial use -------------------------------- */
.editor-main table {
  background: #fff;
  font-family: var(--serif);
  font-size: 14px;
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--c-rule);
  border-radius: 0;
}
.editor-main table th {
  background: var(--c-frost);
  color: var(--c-navy);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--c-rule);
  font-weight: 700;
}
.editor-main table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-faint);
}
.editor-main table tr:nth-child(even) td { background: #fafaf6; }
.editor-main table tr:hover td { background: #f4eeda; }
.editor-main table a { color: var(--c-blue); border-bottom: 1px solid rgba(42,77,122,0.18); }
.editor-main table a:hover { color: var(--c-navy); border-bottom-color: var(--c-brass); }

/* Footer for editor area --------------------------------------------- */
.editor-foot {
  background: var(--c-navy);
  color: var(--c-sky);
  padding: 16px 28px;
  border-top: 3px solid var(--c-brass);
  text-align: center;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.editor-foot__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.editor-foot a { color: var(--c-sky); border: 0; }
.editor-foot a:hover { color: #fff; border-bottom: 1px solid var(--c-brass); }

@media (max-width: 720px) {
  .editor-main { padding: 18px 14px 32px; }
  .editor-card { padding: 22px 18px; }
  .editor-nav { padding: 0 12px; }
  .editor-nav__group--admin { margin-left: 0; padding-left: 0; border-left: 0; border-top: 1px solid var(--c-rule); width: 100%; padding-top: 8px; }
}
