/* NJMUG site styles — you normally never need to edit this file. */

:root{
  --bg:#f5f6f8;
  --surface:#ffffff;
  --ink:#1d1d1f;
  --muted:#6b6f76;
  --line:#e3e5e9;
  --accent:#007aff;
  --accent-soft:#e8f1fd;
  /* NJMUG brand palette */
  --brand-blue:#007AFF;
  --brand-cyan:#34C7F0;
  --brand-green:#30D158;
  --brand-amber:#FFB800;
  --brand-orange:#FF9500;
  --brand-ink:#1D1D1F;
  --brand-gradient:linear-gradient(90deg,#007AFF 0%,#34C7F0 28%,#30D158 55%,#FFB800 80%,#FF9500 100%);
  --radius:14px;
  --maxw:920px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none;}
a:hover{text-decoration:underline;}
img{max-width:100%;height:auto;}

/* ---- header / nav ---- */
.site-header{
  position:sticky;top:0;z-index:20;background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--line);
}
.nav{
  max-width:var(--maxw);margin:0 auto;padding:12px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:19px;color:var(--ink);}
.brand-logo{height:42px;width:auto;display:block;}
@media (max-width:680px){ .brand-logo{height:34px;} }
.nav-links{display:flex;gap:22px;font-size:15px;flex-wrap:wrap;}
.nav-links a{color:var(--muted);}
.nav-links a:hover{color:var(--ink);text-decoration:none;}
.nav-toggle{display:none;background:none;border:0;font-size:24px;color:var(--ink);cursor:pointer;}

/* ---- hero ---- */
.hero{position:relative;overflow:hidden;color:#fff;
  background:radial-gradient(1200px 500px at 78% -10%, #0f4fb0 0%, rgba(15,79,176,0) 60%),
             linear-gradient(160deg,#0a3a86 0%,#0b2451 52%,#0a1c3f 100%);}
.hero-inner{max-width:var(--maxw);margin:0 auto;padding:66px 20px 104px;position:relative;z-index:2;}
.hero-eyebrow{margin:0 0 14px;font-size:14px;letter-spacing:.08em;text-transform:uppercase;
  color:#9fc0f5;font-weight:600;}
.hero-title{margin:0;font-size:46px;line-height:1.08;font-weight:680;letter-spacing:-.5px;max-width:15ch;}
.hero-accent{width:132px;height:5px;border-radius:5px;margin:20px 0 18px;background:var(--brand-gradient);}
.hero-tagline{margin:0 0 10px;font-size:19px;font-weight:600;color:#e9f1ff;}
.hero-tagline .dot{color:var(--brand-green);}
.hero-sub{margin:0 0 28px;font-size:17px;line-height:1.6;color:#c4d4ee;max-width:52ch;}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;}
.btn-primary,.btn-ghost{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:16px;
  padding:13px 24px;border-radius:999px;text-decoration:none;transition:transform .05s ease;}
.btn-primary{background:#fff;color:var(--brand-blue);}
.btn-primary:hover{text-decoration:none;transform:translateY(-1px);}
.btn-ghost{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.4);}
.btn-ghost:hover{background:rgba(255,255,255,.18);text-decoration:none;}
.hero-nj{position:absolute;right:6%;top:50%;transform:translateY(-50%);height:290px;width:auto;
  opacity:.16;z-index:1;pointer-events:none;}
.hero-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:70px;display:block;z-index:1;}

/* nav variant with no corner logo (home page) */
.nav--nologo{justify-content:flex-end;}

/* hero split layout — text on the left, blended logo top-right beside the title */
.hero-inner--split{display:flex;align-items:flex-start;gap:44px;flex-wrap:wrap;}
.hero-text{flex:1 1 400px;min-width:0;}
.hero-text .hero-title{max-width:none;}
.hero-logo{flex:0 0 auto;display:block;line-height:0;margin-left:auto;margin-top:6px;}
.hero-logo:hover{text-decoration:none;}
/* logo art on a transparent background so it blends into the hero */
.hero-logo img{height:210px;width:auto;display:block;}

@media (max-width:900px){
  .hero-inner--split{gap:30px;}
  .hero-logo img{height:150px;}
}
@media (max-width:680px){
  .hero-inner{padding:44px 20px 76px;}
  .hero-title{font-size:34px;}
  .hero-nj{display:none;}
  .hero-sub{font-size:16px;}
  .hero-inner--split{gap:20px;align-items:center;}
  .hero-logo{margin-left:0;margin-top:0;}
  .hero-logo img{height:120px;}
}

/* ---- layout ---- */
main{max-width:var(--maxw);margin:0 auto;padding:0 20px 80px;}
.section{margin-top:44px;}
.eyebrow{font-size:14px;color:var(--muted);letter-spacing:.02em;margin-bottom:4px;}
h1{font-size:30px;line-height:1.2;margin:0 0 20px;font-weight:650;}
h2{font-size:23px;margin:0 0 16px;font-weight:640;}
h3{font-size:18px;margin:0 0 8px;font-weight:620;}

/* ---- cards ---- */
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px 26px;box-shadow:0 1px 2px rgba(0,0,0,.03);
}
.meeting-badge{
  display:inline-flex;align-items:center;gap:7px;background:var(--accent-soft);
  color:var(--accent);font-size:14px;font-weight:600;padding:6px 13px;border-radius:9px;margin-bottom:14px;
}
.meeting-title{font-size:22px;font-weight:640;line-height:1.3;margin:0 0 14px;}
.meeting-body p{margin:0 0 14px;}
.meeting-body p:last-child{margin-bottom:0;}
.inline-logo{
  display:inline-flex;width:30px;height:30px;border-radius:7px;background:#fff;
  border:1px solid var(--line);align-items:center;justify-content:center;
  vertical-align:-8px;margin-right:8px;overflow:hidden;
}
.inline-logo img{width:22px;height:22px;object-fit:contain;}

/* ---- announcement banners ---- */
.announce{display:flex;gap:15px;align-items:flex-start;border-radius:var(--radius);padding:18px 20px;margin-bottom:26px;}
.announce .ic{font-size:26px;line-height:1;flex:none;margin-top:1px;}
.announce h3{margin:0 0 3px;font-size:18px;}
.announce p{margin:0;font-size:15.5px;line-height:1.55;}
.announce--celebration{background:#e7f6ea;}
.announce--celebration .ic,.announce--celebration h3{color:#1c7a35;}
.announce--celebration p{color:#2f6b3f;}
.announce--info{background:#e8f1fd;}
.announce--info .ic,.announce--info h3{color:#0a5fbf;}
.announce--info p{color:#2a5a8f;}
.announce--cancelled{background:#fdf0da;}
.announce--cancelled .ic,.announce--cancelled h3{color:#8a5a06;}
.announce--cancelled p{color:#6e4a0b;}
.announce--memorial{background:#f1f1f2;border-left:4px solid #9aa0a6;border-top-left-radius:0;border-bottom-left-radius:0;}
.announce--memorial .ic{color:#7d838a;}
.announce--memorial h3{color:#33373c;}
.announce--memorial p{color:#5c6167;}

/* ---- summary header block ---- */
.summary-block{background:var(--accent-soft);border-radius:var(--radius);padding:20px 24px;margin-bottom:26px;}
.meeting-badge.light{background:#fff;}
.summary-title{font-size:20px;font-weight:640;color:#0a4c8f;margin:2px 0 6px;}
.summary-text{margin:0;font-size:16px;line-height:1.55;color:#2a5a8f;}

.meeting-where{margin:14px 0 22px;font-size:15px;line-height:1.6;color:var(--muted);}
.meeting-where a{color:var(--accent);text-decoration:none;font-weight:500;}
.meeting-where a:hover{text-decoration:underline;}
.map-pin{font-size:20px;line-height:1;margin-right:6px;vertical-align:-2px;}
.map-pin:hover{text-decoration:none;}
.where-sep{color:var(--muted);}

/* ---- presentation cards ---- */
.cards-heading{font-size:16px;font-weight:600;color:var(--muted);text-transform:uppercase;
  letter-spacing:.05em;margin:0 0 14px;}
.pres-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;}
.pres-card{display:flex;gap:13px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:16px 18px;box-shadow:0 1px 2px rgba(0,0,0,.03);}
.pres-logo{flex:none;width:38px;height:38px;border-radius:9px;background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:19px;color:var(--muted);}
.pres-logo img{width:26px;height:26px;object-fit:contain;}
.pres-logo--empty{background:var(--accent-soft);color:var(--accent);}
.pres-body{min-width:0;}
.pres-title{font-weight:640;font-size:16.5px;line-height:1.3;}
.pres-by{font-size:13px;color:var(--muted);margin:2px 0 6px;}
.pres-desc{font-size:15px;line-height:1.5;color:#3a3d42;}
.pres-file{display:inline-flex;align-items:center;gap:5px;margin-top:9px;font-size:14px;font-weight:600;
  color:var(--accent);border:1px solid var(--line);padding:5px 12px;border-radius:999px;}
.pres-file:hover{border-color:var(--accent);text-decoration:none;}

/* ---- two-column info row ---- */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.subcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;}
.datelist{columns:2;column-gap:24px;margin:0;padding:0;list-style:none;}
.datelist li{padding:3px 0;font-size:16px;}
.datelist .topic{color:var(--muted);font-size:14px;}
.recentlist{list-style:none;margin:0;padding:0;}
.recentlist li{border-bottom:1px solid var(--line);}
.recentlist li:last-child{border-bottom:0;}
.recentlist a{display:block;padding:11px 0;color:inherit;text-decoration:none;border-radius:8px;}
.recentlist a:hover{text-decoration:none;}
.recentlist a:hover .d{color:var(--accent);}
.recentlist .d{display:block;font-weight:620;font-size:15px;}
.recentlist .t{display:block;color:var(--muted);font-size:14.5px;line-height:1.45;margin-top:2px;}
.archive-link{display:inline-block;margin-top:14px;font-weight:600;font-size:15px;}
.note{color:var(--muted);font-size:15px;}

.pastlist{list-style:none;margin:0;padding:0;}
.pastlist li{padding:12px 0;border-bottom:1px solid var(--line);}
.pastlist li:last-child{border-bottom:0;}
.pastlist .d{font-weight:620;font-size:15px;}
.pastlist .t{color:var(--muted);font-size:15.5px;}

/* ---- generic content blocks ---- */
.linkrow{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;}
.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface);
  border-radius:999px;padding:8px 16px;font-size:15px;color:var(--ink);}
.pill:hover{border-color:var(--accent);text-decoration:none;}

/* ---- archive page ---- */
.year-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 30px;padding-bottom:20px;
  border-bottom:1px solid var(--line);}
.year-nav .yr{display:inline-block;padding:7px 14px;border:1px solid var(--line);border-radius:999px;
  font-size:15px;font-weight:600;color:var(--ink);background:var(--surface);}
.year-nav .yr:hover{border-color:var(--accent);text-decoration:none;}
.year-nav .yr--active{background:var(--accent);border-color:var(--accent);color:#fff;}
.year-nav--bottom{border-bottom:0;border-top:1px solid var(--line);margin:30px 0 6px;padding:22px 0 0;}

.arch-meeting{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px;margin-bottom:20px;scroll-margin-top:80px;}
.arch-meeting h2{margin:2px 0 8px;font-size:21px;}
.arch-date{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:10px;}
.arch-summary{margin:0;font-size:16px;color:#3a3d42;line-height:1.5;}
.arch-cancelled{display:inline-block;background:#fdf0da;color:#8a5a06;font-size:12px;font-weight:600;
  padding:2px 9px;border-radius:999px;}

/* preserved content migrated from the old site */
.arch-body-html{margin-top:14px;font-size:16px;line-height:1.6;color:#33373c;overflow:hidden;}
.arch-body-html p{margin:0 0 12px;}
.arch-body-html h3,.arch-body-html h5{margin:8px 0;font-size:17px;}
.arch-body-html a{color:var(--accent);}
.arch-body-html .pixBox{float:left;margin:4px 18px 12px 0;}
.arch-body-html .pixBox img{max-width:170px;height:auto;border-radius:8px;border:1px solid var(--line);background:#fff;}
.arch-body-html img{max-width:100%;height:auto;}
.arch-body-html ul{margin:0 0 12px;padding-left:26px;}
.arch-body-html li{margin:3px 0;}
.arch-body-html table{border-collapse:collapse;margin:12px 0 16px;font-size:15px;
  width:auto !important;max-width:100%;float:none !important;}
.arch-body-html td{border:1px solid var(--line);padding:7px 11px;vertical-align:top;}
.arch-body-html td img{max-width:none;height:auto;}
.arch-body-html td:first-child:has(img){text-align:center;vertical-align:middle;min-width:104px;}
.arch-body-html div.table{overflow-x:auto;}
.arch-body-html video{max-width:100%;height:auto;border-radius:8px;margin:8px 0;}
.arch-body-html hr{border:0;border-top:1px solid var(--line);margin:14px 0;}

/* ---- homepage community block ---- */
.community{display:flex;gap:26px;align-items:flex-start;flex-wrap:wrap;}
.community-photo{margin:0;flex:0 0 300px;max-width:100%;}
.community-photo img{width:100%;height:auto;border-radius:12px;border:1px solid var(--line);}
.community-photo figcaption{margin-top:10px;font-style:italic;color:var(--muted);font-size:14px;text-align:center;}
.community-text{flex:1 1 300px;min-width:0;}
.community-text>p:first-child{margin-top:0;font-weight:600;}
.benefits{margin:0 0 16px;padding-left:22px;}
.benefits li{margin:6px 0;}
@media(max-width:680px){.community-photo{flex-basis:100%;}}

/* ---- static content pages ---- */
.card p:first-child{margin-top:0;}
.card p:last-child{margin-bottom:0;}
.figure{margin:20px 0;}
.figure img{max-width:100%;height:auto;border-radius:12px;border:1px solid var(--line);}
.figure figcaption{font-size:14px;color:var(--muted);margin-top:8px;}
.figure--left{float:left;margin:4px 22px 14px 0;max-width:270px;}
.address{background:var(--surface-1);border-radius:var(--radius);padding:14px 18px;font-style:normal;
  line-height:1.7;margin:12px 0;}
.officer-row{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  padding:11px 0;border-bottom:1px solid var(--line);}
.officer-row:last-child{border-bottom:0;}
.officer-row .role{font-weight:620;}
.photo-row{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0;}
.photo-row figure{margin:0;flex:1 1 180px;}
.photo-row img{width:100%;height:auto;border-radius:10px;border:1px solid var(--line);}
.photo-row figcaption{font-size:13px;color:var(--muted);margin-top:5px;text-align:center;}

/* ---- footer ---- */
.site-footer{border-top:1px solid var(--line);background:var(--surface);}
.footer-in{max-width:var(--maxw);margin:0 auto;padding:26px 20px;color:var(--muted);font-size:14px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;}

/* ---- mobile ---- */
@media (max-width:680px){
  body{font-size:16px;}
  h1{font-size:26px;}
  .nav-links{
    display:none;width:100%;flex-direction:column;gap:14px;padding-top:12px;
  }
  .nav-links.open{display:flex;}
  .nav{flex-wrap:wrap;}
  .nav-toggle{display:block;}
  .grid2{grid-template-columns:1fr;}
  .datelist{columns:1;}
  .card{padding:20px;}
}
