/*
Theme Name: CLEHS 2026
Theme URI: http://calpolicehistory.com/
Author: Heathe Jones
Description: Navy, ivory and brass theme for the California Law Enforcement Historical Society. Built to WCAG 2.1 AA. The home page design is in front-page.php. Every other page uses page.php and shows the page's own content.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: clehs
*/

:root{
  --night:#0a1628;
  --navy:#12294d;
  --navy-2:#1b3a69;
  --ivory:#f5f0e6;
  --paper:#fbf8f2;
  --ink:#14213a;
  --muted:#5b5f66;
  --brass:#b08a4e;
  --brass-2:#d2b27a;
  --brass-text:#7d5d1f;
  --focus:#1b3a69;
  --line:#e2d9c8;
  --serif:"Libre Caslon Text", Georgia, serif;
  --sans:"Source Sans 3", system-ui, -apple-system, sans-serif;
  --wrap:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:19px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px}
.eyebrow{font-family:var(--sans);font-weight:700;font-size:14px;letter-spacing:.14em;text-transform:uppercase;color:var(--brass-text)}
.site-header,.hero,.museum,.join,.site-footer,.path,.issue,.page-head{--focus:#f2d9a6}
.hero .eyebrow,.museum .eyebrow,.join .eyebrow{color:var(--brass-2)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:#fff;color:var(--navy);font-weight:700;padding:12px 18px;border-radius:2px;text-decoration:none}
.skip:focus{top:12px}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.15;margin:0}
h2{font-size:clamp(30px,3.6vw,44px)}
h3{font-size:24px}
p{margin:0}
.btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:2px;font-weight:700;font-size:17px;text-decoration:none;border:2px solid transparent;transition:background .2s,color .2s,border-color .2s}
.btn-brass{background:var(--brass);color:#111}
.btn-brass:hover{background:var(--brass-2)}
.btn-ghost{border-color:#aab4c4;color:#fff}
.btn-ghost:hover{background:#fff;color:var(--navy)}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--navy-2)}
.link{font-weight:700;text-decoration:none;border-bottom:2px solid var(--brass);padding-bottom:2px}
.link:hover{color:var(--brass-text)}


/* Header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(10,22,40,.94);backdrop-filter:blur(8px);color:#fff;border-bottom:1px solid rgba(176,138,78,.35)}
.nav{display:flex;align-items:center;gap:28px;height:78px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;flex-shrink:0}
.seal{width:50px;height:50px;border-radius:50%;overflow:hidden;border:2px solid var(--brass);background:#0a1628}
.seal img{width:200%;height:100%;object-fit:cover;object-position:100% 50%;max-width:none;transform:translateX(-50%)}
.brand-text{font-family:var(--serif);font-size:17px;line-height:1.15}
.brand-text small{display:block;font-family:var(--sans);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--brass-2);margin-top:3px}
.menu-nav{margin-left:auto}
.menu{display:flex;gap:26px;list-style:none;padding:0;margin:0}
.menu .only-mobile{display:none}
.menu a{text-decoration:none;font-weight:600;font-size:16px;color:#e9e4da;padding:8px 0;display:inline-block}
.menu a:hover{color:var(--brass-2)}
.nav-actions{display:flex;gap:16px;align-items:center}
.nav-actions .login{font-size:15px;font-weight:600;color:#cfc8bb;text-decoration:none}
.nav-actions .btn{padding:10px 18px;font-size:15px}
.burger{display:none;margin-left:auto;background:none;border:2px solid #aab4c4;color:#fff;font:600 16px var(--sans);padding:10px 16px;border-radius:2px;cursor:pointer;min-height:44px}

/* Hero */
.hero{background:radial-gradient(circle at 74% 50%, #050b16 0%, #050b16 20%, #0d2244 58%, #12294d 100%);color:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:40px;min-height:640px;padding-block:56px 64px}
.hero h1{font-size:clamp(44px,6vw,78px);letter-spacing:-.01em;margin:18px 0 22px}
.hero h1 em{font-style:italic;color:var(--brass-2)}
.hero p.lede{font-size:21px;color:#d8d2c6;max-width:30ch}
.hero .ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.hero-figure{position:relative;margin:0}
.hero-figure img{width:100%;max-width:560px;margin-left:auto;filter:drop-shadow(0 30px 60px rgba(0,0,0,.6));-webkit-mask-image:radial-gradient(circle at 50% 48%, #000 58%, transparent 72%);mask-image:radial-gradient(circle at 50% 48%, #000 58%, transparent 72%)}
.hero-figure figcaption{position:absolute;right:0;bottom:-6px;font-size:14px;color:#a9a294;text-align:right;border-top:1px solid rgba(176,138,78,.5);padding-top:8px;max-width:260px}
.hero-figure figcaption b{color:#e9e4da;font-weight:600;display:block}

/* Explore */
.section{padding:96px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:44px}
.section-head p{color:var(--muted);max-width:44ch}
.paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.path{position:relative;display:block;text-decoration:none;color:#fff;border-radius:3px;overflow:hidden;aspect-ratio:4/5;background:var(--night)}
.path img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.path:hover img{transform:scale(1.04)}
.path::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,22,40,0) 25%,rgba(10,22,40,.8) 58%,rgba(10,22,40,.96) 100%)}
.path .txt{position:absolute;left:26px;right:26px;bottom:26px;z-index:1}
.path .txt .eyebrow{color:var(--brass-2)}
.path .txt h3{font-size:30px;margin:6px 0 6px}
.path .txt p{font-size:17px;color:#d8d2c6}
.path .go{display:inline-block;margin-top:14px;font-weight:700;font-size:15px;border-bottom:2px solid var(--brass)}

/* Eras */
.eras{background:var(--ivory);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.era-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:2px solid var(--line);margin-bottom:44px}
.era-tab{background:none;border:0;border-bottom:4px solid transparent;margin-bottom:-2px;padding:16px 8px 14px;text-align:left;font:inherit;cursor:pointer;color:var(--muted)}
.era-tab span{display:block;font-family:var(--serif);font-size:26px;color:var(--ink)}
.era-tab small{font-size:15px}
.era-tab[aria-selected="true"]{border-bottom-color:var(--brass)}
.era-tab[aria-selected="true"] small{color:var(--ink);font-weight:600}
.era-tab:focus-visible{outline-offset:-3px}
.era-panel{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.era-panel[hidden]{display:none}
.era-panel .ph{background:#ddd3c2;border-radius:3px;overflow:hidden;aspect-ratio:4/3}
.era-panel .ph img{width:100%;height:100%;object-fit:cover}
.era-panel .ph.contain img{object-fit:contain;background:#e9e1d2}
.era-panel h3{font-size:36px;margin:10px 0 16px}
.era-panel p{color:#3a3e44;max-width:44ch}
.era-panel .link{display:inline-block;margin-top:24px}

/* Featured artifact */
.feature{display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:center}
.feature .obj{background:var(--ivory);border:1px solid var(--line);border-radius:3px;padding:44px;display:flex;justify-content:center}
.feature .obj img{max-height:520px;width:auto;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.feature h2{margin:12px 0 18px}
.feature p{color:#3a3e44;max-width:46ch}
.facts{display:grid;grid-template-columns:auto 1fr;gap:10px 28px;margin:30px 0 32px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:17px}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:600}


/* Museum */
.museum{position:relative;color:#fff;background:var(--night);overflow:hidden}
.museum .bg{position:absolute;top:0;bottom:0;right:0;width:60%}
.museum .bg img{width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.museum .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,22,40,1) 0%,rgba(10,22,40,.55) 28%,rgba(10,22,40,.1) 60%)}
.museum .inner{position:relative;padding-block:120px}
.museum h2{max-width:14ch;margin:14px 0 20px}
.museum p{color:#d8d2c6;max-width:34ch}
.stats{display:flex;gap:48px;margin:38px 0 40px;flex-wrap:wrap}
.stat b{display:block;font-family:var(--serif);font-size:48px;font-weight:400;color:var(--brass-2);line-height:1}
.stat span{font-size:15px;color:#cfc8bb}

/* Events + archive */
.two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px}
.card-list{display:grid;gap:18px}
.event{display:grid;grid-template-columns:120px minmax(0,1fr);gap:22px;align-items:center;padding:18px;background:#fff;border:1px solid var(--line);border-radius:3px;text-decoration:none}
.event{border-color:#b9ad96}
.event:hover{border-color:var(--brass-text)}
.event img{width:120px;height:96px;object-fit:cover;border-radius:2px}
.event .when{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brass-text)}
.event h3{font-size:22px;margin:4px 0 2px}
.event p{font-size:16px;color:var(--muted)}
.issues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.issue{background:var(--navy);color:#fff;border-radius:3px;padding:22px 18px;aspect-ratio:3/4;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none;border-top:5px solid var(--brass)}
.issue:hover{background:var(--navy-2)}
.issue .t{font-family:var(--serif);font-size:24px;line-height:1.1}
.issue .d{font-size:15px;color:#cfc8bb}
.issue .pdf{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brass-2)}
.issue .lock{display:inline-block;vertical-align:-1px;margin-right:4px}
.col-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:22px}
.col-head h2{font-size:32px}

button.issue{font:inherit;text-align:left;width:100%;cursor:pointer;border-left:0;border-right:0;border-bottom:0}
.pw-help{font-size:16px;color:var(--muted);margin-top:20px}
dialog.gate{border:0;border-radius:4px;padding:0;width:100%;max-width:min(460px,calc(100vw - 32px));background:var(--paper);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.45);border-top:6px solid var(--brass)}
dialog.gate::backdrop{background:rgba(10,22,40,.72)}
.gate-in{padding:28px}
.gate h2{font-size:28px;margin:8px 0 10px}
.gate p{font-size:17px;color:#3a3e44}
.gate label{display:block;font-weight:700;font-size:17px;margin:20px 0 8px}
.gate input{width:100%;font:inherit;padding:11px 14px;min-height:50px;border:2px solid #5b6472;border-radius:2px;background:#fff;color:var(--ink)}
.gate-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.gate-row .btn{min-height:50px;justify-content:center;flex:1 1 150px}
.btn-plain{background:none;border-color:#5b6472;color:var(--ink);cursor:pointer}
.btn-plain:hover{background:var(--ivory)}
.gate .btn-dark{cursor:pointer}
.gate-msg{font-size:16px;font-weight:600;margin-top:14px;min-height:1.6em}
.gate-join{font-size:16px;margin-top:6px}

/* Join */
.join{background:var(--navy);color:#fff}
.join .inner{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:center;padding-block:88px}
.join h2{margin:12px 0 18px}
.join p{color:#d8d2c6;max-width:46ch}
.prices{display:flex;gap:20px;margin:30px 0 34px;flex-wrap:wrap}
.price{border:1px solid #9c8a63;border-radius:3px;padding:16px 22px;min-width:170px}
.price b{font-family:var(--serif);font-size:36px;font-weight:400;color:var(--brass-2);display:block;line-height:1.1}
.price span{font-size:15px;color:#cfc8bb}
.join .ctas{display:flex;gap:14px;flex-wrap:wrap}
.join img{mix-blend-mode:screen;filter:contrast(1.3) brightness(.88)}
.join small{display:block;font-size:14px;color:#a9a294;margin-top:12px}

/* Footer */
.site-footer{background:var(--night);color:#cfc8bb;font-size:16px;padding:64px 0 40px}
.foot{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.site-footer h2{font-family:var(--sans);font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--brass-2);margin:0 0 14px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:#fff}
.foot-base{margin-top:48px;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);font-size:14px;color:#8d877c}

/* Responsive */
@media (max-width:1020px){
  .nav-actions .login{display:none}
  .burger{display:block;order:3;margin-left:0}
  .nav-actions{margin-left:auto}
  .menu-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;background:var(--night);border-bottom:1px solid rgba(176,138,78,.5);padding:8px 28px 20px}
  .site-header.open .menu-nav{display:block}
  .menu{flex-direction:column;gap:0}
  .menu .only-mobile{display:block}
  .menu a{display:block;padding:14px 0;font-size:19px;border-bottom:1px solid rgba(255,255,255,.1)}
}
@media (max-width:860px){
  body{font-size:18px}
  .section{padding:72px 0}
  .hero-grid{grid-template-columns:1fr;min-height:0;padding-block:36px 56px;gap:18px}
  .hero-figure{order:-1}
  .hero-figure img{max-width:360px;margin:0 auto}
  .hero-figure figcaption{position:static;text-align:center;margin:6px auto 0;max-width:none}
  .paths{grid-template-columns:minmax(0,1fr)}
  .path{aspect-ratio:16/11}
  .era-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .era-tab span{font-size:22px}
  .era-panel,.feature,.two,.join .inner{grid-template-columns:minmax(0,1fr);gap:32px}
  .feature .obj{padding:28px}
  .feature .obj img{max-height:380px}
  .museum .bg{width:100%}
  .museum .bg::after{background:linear-gradient(180deg,rgba(10,22,40,.72) 0%,rgba(10,22,40,.94) 55%)}
  .museum .inner{padding-block:96px 72px}
  .section-head{flex-direction:column;align-items:start}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:520px){
  .wrap{padding:0 16px}
  .nav{height:68px;gap:12px}
  .brand-text{font-size:14px}
  .brand-text small{display:none}
  .seal{width:42px;height:42px}
  .nav-actions .btn{display:none}
  .hero h1{font-size:44px}
  .hero p.lede{font-size:19px}
  .hero .ctas .btn{flex:1 1 100%;justify-content:center}
  .issues{gap:10px}
  .issue{padding:14px 10px;aspect-ratio:auto;min-height:170px;gap:14px}
  .issue .t{font-size:17px;overflow-wrap:anywhere}
  .issue .pdf{font-size:12px;letter-spacing:.06em}
  .event{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:14px}
  .event img{width:88px;height:80px}
  .stats{gap:28px}
  .foot{grid-template-columns:1fr}
}
@media (max-width:380px){
  .brand{flex-shrink:1;min-width:0;gap:10px}
  .brand-text{font-size:12.5px}
  .seal{width:36px;height:36px;flex-shrink:0}
  .burger{padding:8px 12px}
  .hero h1{font-size:38px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- WordPress additions ---------- */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}
@media (max-width:600px){body.admin-bar .site-header{top:0}}
.menu a[aria-current="page"]{color:var(--brass-2);border-bottom:2px solid var(--brass-2)}
.museum .ctas{display:flex;gap:14px;flex-wrap:wrap}
.pw-note{margin-top:6px;color:var(--muted);font-size:16px}
a.issue{cursor:pointer}
.foot-brand{color:#fff}
.site-footer p{margin-top:14px}
.site-footer h2{font-weight:700;line-height:1.4}
.foot-search{margin-top:22px}
.foot-search label{display:block;font-size:14px;font-weight:700;margin-bottom:6px;color:#e9e4da}
.foot-search-row{display:flex;gap:8px;max-width:320px}
.foot-search input{flex:1 1 auto;min-width:0;font:inherit;min-height:46px;padding:8px 12px;border:2px solid #aab4c4;border-radius:2px;background:#fff;color:var(--ink)}
.foot-search button{font:700 16px var(--sans);min-height:46px;padding:8px 16px;border:2px solid #aab4c4;border-radius:2px;background:none;color:#fff;cursor:pointer}
.foot-search button:hover{background:#fff;color:var(--navy)}

/* Home page card shown while the Collection page is offline */
.path-soon:hover img{transform:none}
.path .go.soon{border-bottom:0;background:rgba(10,22,40,.85);border:1px solid var(--brass-2);padding:4px 10px;border-radius:2px;letter-spacing:.06em;text-transform:uppercase;font-size:13px}

/* "Donate an item" note (home page and Photo Gallery page) */
.donate-note{display:flex;align-items:center;justify-content:space-between;gap:20px 32px;flex-wrap:wrap;margin-top:64px;padding:26px 30px;background:var(--ivory);border:1px solid var(--line);border-left:6px solid var(--brass);border-radius:3px}
.donate-note > div{flex:1 1 380px;min-width:0}
.donate-note h2,.donate-note h3{font-size:26px;margin:0 0 8px}
.donate-note p{color:#3a3e44;font-size:18px;max-width:62ch}
.donate-note .btn{flex-shrink:0}
.page-body .donate-note{max-width:780px}
@media (max-width:520px){.donate-note{padding:22px 20px;margin-top:48px}.donate-note .btn{width:100%;justify-content:center}}

/* Rotatable challenge coin (home page). Both faces are cut from the society's own coin photo. */
.coin3d{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center}
.coin-stage{position:relative;width:min(300px,70vw);aspect-ratio:1;max-width:100%;perspective:900px;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.coin-stage::after{content:"";position:absolute;left:12%;right:12%;bottom:-16px;height:22px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.5),rgba(0,0,0,0));pointer-events:none}
.coin-stage.dragging{cursor:grabbing}
.coin-body{position:relative;width:100%;height:100%;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transform:rotateY(var(--ry,0deg));transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.coin-stage.dragging .coin-body{transition:none}
.coin-face,.coin-edge{position:absolute;inset:0;border-radius:50%}
.join .coin-face{width:100%;height:100%;max-width:none;object-fit:cover;mix-blend-mode:normal;filter:none;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.coin-face.front{transform:translateZ(7px)}
.coin-face.back{transform:rotateY(180deg) translateZ(7px)}
.coin-edge{background:#a07c3a;box-shadow:inset 0 0 0 2px #6f5422}
.join .coin3d small{margin-top:0}
button.btn{font-family:var(--sans);cursor:pointer}
button.btn-ghost{background:none}
.coin3d{gap:26px}
.coin3d > *{max-width:100%}
.coin3d small{text-wrap:balance}

/* Inner pages */
.page-head{background:radial-gradient(circle at 85% 0%,#1b3a69 0%,#0d2244 45%,var(--night) 100%);color:#fff;padding:56px 0 46px;border-bottom:5px solid var(--brass)}
.page-head h1{font-size:clamp(32px,4.6vw,52px);max-width:24ch;text-wrap:balance}
.page-body{padding-top:56px;padding-bottom:96px}
.about h2{margin:12px 0 28px;max-width:22ch;text-wrap:balance}
.prose{max-width:780px;overflow-wrap:break-word}
.prose::after{content:"";display:block;clear:both}
.prose > :first-child{margin-top:0}
.prose p,.prose ul,.prose ol,.prose table,.prose figure,.prose blockquote,.prose dl{margin:0 0 1.1em}
.prose h1{font-size:34px;margin:1.5em 0 .5em}
.prose h2{font-size:30px;margin:1.6em 0 .5em}
.prose h3{font-size:24px;margin:1.4em 0 .4em}
.prose h4,.prose h5,.prose h6{font:700 19px var(--sans);margin:1.4em 0 .4em}
.prose a:not([class]){color:var(--navy-2);text-decoration:underline;text-decoration-color:var(--brass-text);text-decoration-thickness:2px;text-underline-offset:3px}
.prose a:not([class]):hover{color:var(--brass-text)}
.prose ul,.prose ol{padding-left:1.4em}
.prose li{margin-bottom:.35em}
.prose img{height:auto;border-radius:3px}
.prose a > img{display:inline-block}
.prose .alignleft{float:left;margin:6px 24px 16px 0}
.prose .alignright{float:right;margin:6px 0 16px 24px}
.prose .aligncenter{display:block;margin-left:auto;margin-right:auto}
.prose .wp-caption{max-width:100%}
.prose .wp-caption-text,.prose figcaption{font-size:15px;color:var(--muted);margin-top:6px}
.prose hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.prose blockquote{border-left:4px solid var(--brass);padding-left:18px;color:#3a3e44}
.prose [style*="font-family"]{font-family:inherit!important}
.prose [style*="font-size"]{font-size:inherit!important}
.prose span[style*="background"]{background:none!important}
.prose table{border-collapse:collapse;width:100%;max-width:680px}
.prose td,.prose th{padding:8px 10px 8px 0;vertical-align:top;text-align:left}
.prose td[align],.prose th[align]{text-align:left}
.prose table:has(input),.prose table:has(input) tbody,.prose table:has(input) tr,.prose table:has(input) td{display:block;width:100%;max-width:none}
.prose table:has(input) td{padding:3px 0}
.prose table:has(input) tr{margin-bottom:12px}
.prose table:has(input){margin-bottom:2em;padding-bottom:1.4em;border-bottom:1px solid var(--line)}
.prose input[type=text],.prose input[type=email],.prose input[type=tel],.prose input[type=number],.prose input[type=search],.prose input:not([type]),.prose select,.prose textarea{font:inherit;width:100%;max-width:420px;min-height:48px;padding:10px 12px;border:2px solid #5b6472;border-radius:2px;background:#fff;color:var(--ink)}
.prose input[type=submit],.prose button:not([class]){font:700 17px var(--sans);background:var(--navy);color:#fff;border:0;border-radius:2px;padding:13px 24px;min-height:48px;cursor:pointer}
.prose input[type=submit]:hover,.prose button:not([class]):hover{background:var(--navy-2)}
.prose input[type=image]{max-width:100%;height:auto}
.page-search{margin-top:32px}
.page-search label{display:block;font-weight:700;margin-bottom:8px}
.page-search-row{display:flex;gap:10px;flex-wrap:wrap}
.page-search-row input[type=search]{flex:1 1 220px}
.result-list{list-style:none;padding:0!important}
.result-list li{padding:18px 0;border-bottom:1px solid var(--line)}
.result-list h2{font-size:24px;margin:0 0 6px}
.nav-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Member newsletters (markup comes from the CLEHS Member Newsletters plugin) */
.nl-intro{margin-bottom:1.2em}
.nl-status{background:var(--ivory);border:1px solid var(--line);border-left:5px solid var(--brass);padding:14px 18px;border-radius:3px;margin:0 0 1.4em}
.nl-status.is-open{border-left-color:#2c6e49}
.nl-error{background:#fdecea;border:1px solid #c4544a;border-left:5px solid #a12b20;color:#5c1810;padding:14px 18px;border-radius:3px;margin:0 0 1.4em;font-weight:600}
.nl-year{font-family:var(--serif);font-weight:400;font-size:26px;margin:1.6em 0 .6em;padding-bottom:8px;border-bottom:2px solid var(--line)}
.prose .nl-list{list-style:none;padding:0;margin:0 0 1em;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.prose .nl-list li{margin:0}
.nl-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font:600 17px var(--sans);line-height:1.3;color:var(--ink);background:#fff;border:1px solid #8f8468;border-radius:3px;padding:12px 14px;min-height:54px;cursor:pointer;text-decoration:none}
.nl-item:hover{border-color:var(--navy);background:var(--ivory)}
.nl-item svg{flex-shrink:0;color:var(--brass-text)}
.nl-unlock{background:var(--ivory);border:1px solid var(--line);border-radius:3px;padding:20px;margin:0 0 1.6em;max-width:520px}
.nl-unlock label{display:block;font-weight:700;margin-bottom:8px}
.nl-unlock-row{display:flex;gap:10px;flex-wrap:wrap}
.nl-unlock-row input[type=text]{flex:1 1 200px}
.gate .gate-msg{color:#8a1f15}

@media (max-width:640px){
  .page-head{padding:40px 0 34px}
  .page-body{padding-top:40px;padding-bottom:72px}
  .prose table,.prose tbody,.prose thead,.prose tr,.prose td,.prose th{display:block;width:100%}
  .prose td,.prose th{padding:4px 0}
  .prose .alignleft,.prose .alignright{float:none;margin:0 0 16px}
}
@media print{
  .site-header,.site-footer,.skip,.burger{display:none}
  .page-head{background:none;color:#000;border:0;padding:0 0 12px}
}
