:root {
  --ink: #1B2A44;
  --ink-soft: #4B5A72;
  --sage: #3F7268;
  --sage-tint: #EAF1EF;
  --gold: #E0A83E;
  --gold-tint: #FBF1DF;
  --blue: #2A6FB5;
  --line: #DDE3E6;
  --paper: #F6F7F6;
}

/* ===== Buttons ===== */
a.stylizedButton.buttonStyle001 {
  background-color: var(--sage) !important;
  border-color: var(--sage) !important;
  color: #fff !important;
}
a.stylizedButton.buttonStyle002 {
  background-color: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}
a.stylizedButton.buttonStyle003,
a.stylizedButton.buttonStyle003 * {
  background-color: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #fff !important;
}
a.stylizedButton.buttonStyle004 {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
}

/* ===== Gadget box styles (colored numbered boxes) ===== */
.gadgetStyle001,
.gadgetStyle002,
.gadgetStyle003 {
  background: white;
  border-radius: 10px;
  overflow: hidden;
}
.gadgetStyle001 { border: 5px solid var(--sage); }
.gadgetStyle002 { border: 5px solid var(--gold); }
.gadgetStyle003 { border: 5px solid var(--blue); }

.gadgetStyle001 .gadgetStyleTitle { padding: 12px 20px 14px 20px; background: var(--sage); color: #fff; }
.gadgetStyle002 .gadgetStyleTitle { padding: 12px 20px 14px 20px; background: var(--gold); color: #fff; }
.gadgetStyle003 .gadgetStyleTitle { padding: 12px 20px 14px 20px; background: var(--blue); color: #fff; }

/* Catch-all rounding for other native content gadgets (e.g. box style "none") */
.WaGadgetContent,
.WaGadgetFeaturedMember {
  border-radius: 10px;
  overflow: hidden;
}

/* ===== Plain text links ===== */
a:not(.stylizedButton) { color: var(--sage); }
a:not(.stylizedButton):hover { color: var(--gold); }

/* ===== Headings ===== */
h1, h2, h3 { color: var(--ink); }

/* ===== Site navigation ===== */
.WaGadgetMenuHorizontal .menuInner ul.firstLevel { background: var(--ink) !important; }
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a { color: #fff !important; }
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover { background: var(--sage) !important; color: #fff !important; }
.WaGadgetMenuHorizontal .menuInner ul ul { background: var(--ink) !important; }
.WaGadgetMenuHorizontal .menuInner ul ul li > .item > a { color: #fff !important; }
.WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:hover { background: var(--sage) !important; color: #fff !important; }
.WaGadgetMobilePanel .mobilePanel .menuInner ul { background: var(--ink) !important; color: #fff !important; }

/* ===== Committee Members search table ===== */
.membersTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.membersTable thead th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.membersTable tbody tr { cursor: pointer; border-top: 1px solid var(--line); }
.membersTable tbody tr:hover { background: var(--sage-tint); }
.membersTable td { padding: 12px 16px; font-size: 14.5px; color: var(--ink); }
.membersTable h5 { margin: 0; font-size: 14.5px; }
.membersTable h5 a { color: var(--ink); text-decoration: none; font-weight: 700; }
.membersTable h5 a:hover { color: var(--sage); }
.membersTable a[href^="mailto:"] { color: var(--sage); }

/* ===== Chair / Co-Chair / Featured Member contact cards ===== */
/* Single, consolidated rule — no other block in this stylesheet should target
   ul.layoutHorizontal.showPic; if the gap ever needs adjusting again, change it HERE only. */
ul.layoutHorizontal.showPic {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}
ul.layoutHorizontal.showPic li {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 !important;
  flex: 1 1 260px;
}
ul.layoutHorizontal.showPic .img,
ul.layoutHorizontal.showPic .img img {
  width: 100px !important;
  height: 100px !important;
}
ul.layoutHorizontal.showPic .img img {
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid var(--sage-tint);
  display: block;
}
ul.layoutHorizontal.showPic h4 { margin: 0 0 2px !important; font-size: 16px; }
ul.layoutHorizontal.showPic h4 a { color: var(--ink); text-decoration: none; }
ul.layoutHorizontal.showPic .subtitle { font-size: 13.5px; color: var(--sage); margin-bottom: 2px; font-weight: 700; }
ul.layoutHorizontal.showPic .description { font-size: 13px; color: var(--ink-soft); }

/* Gadget title bar sitting above the card (e.g. "PRESIDENT (2025-2027)") */
/* Scoped to Featured Member gadgets only — NOT all .WaGadgetContent boxes,
   since that was stripping padding from unrelated tables/lists elsewhere. */
.WaGadgetFeaturedMember .gadgetStyleTitle {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 6px 0 !important;
}
.WaGadgetFeaturedMember .gadgetStyleTitle .gadgetTitleH4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.WaGadgetFeaturedMember .gadgetStyleBody {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.WaLayoutTable .WaLayoutRow { line-height: 1 !important; }
.WaLayoutItem { padding-bottom: 0 !important; vertical-align: top !important; }

/* ===== Long-form article content (Bylaws, committee descriptions/missions) ===== */
.gadgetContentEditableArea span,
.gadgetContentEditableArea font,
.gadgetContentEditableArea p {
  background-color: transparent !important;
  color: var(--ink-soft) !important;
  font-family: Arial, Helvetica, sans-serif !important;
}
.gadgetContentEditableArea h1 {
  text-align: left !important;
  font-size: 30px !important;
  color: var(--ink) !important;
  border-bottom: 3px solid var(--sage);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.gadgetContentEditableArea h2 {
  font-size: 20px !important;
  color: var(--ink) !important;
  margin-top: 36px;
  padding: 10px 16px;
  background: var(--sage-tint);
  border-left: 4px solid var(--sage);
  border-radius: 4px;
}
.gadgetContentEditableArea h2 span { color: var(--ink) !important; background: transparent !important; }
.gadgetContentEditableArea h3 {
  font-size: 17px !important;
  color: var(--sage) !important;
  margin-top: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.gadgetContentEditableArea h3 span { color: var(--sage) !important; }
.gadgetContentEditableArea p { line-height: 1.7 !important; margin-bottom: 14px !important; }
.gadgetContentEditableArea em { color: var(--ink-soft) !important; }
.gadgetContentEditableArea ul li { line-height: 1.6; margin-bottom: 6px; }