/* Glen Cove Chamber of Commerce — Wild Apricot CSS overrides (DEPLOY 2026-12-02)
   File: deploy-2026-12-02/chamber-overrides.css. Paste into Website > CSS
   ABOVE/AFTER whatever is already there (back it up first).
   Theme verified on the public site (Nov 28, 2026): Kaleidoscope Overcast v3.0
   (bonaPage_ThemeId = "kaleidoscope_overcast.v3.0").

   WHERE THIS GOES (Cliff approved deploy on Dec 2, 2026, 11:09 PM ET):
   Wild Apricot admin > Website > CSS. That box is one site-wide field and
   takes effect immediately. Colors and fonts also live under
   Website > Colors and styles (the public file customStyles.css). This file
   is written as an APPEND to Website > CSS, not as a replacement for
   Colors and styles.

   HOW TO APPLY ON THE LIVE SITE (see report.md for the full live-work protocol):
   1. Back up whatever is already in the Website > CSS box (it may be empty).
   2. Paste one commented block at a time, save, then hard-refresh desktop
      and mobile (or use a private window — WA pages cache).
   3. Work at a quiet time. Roll back by pasting the backup.

   SCOPE:
   Every rule is under body.publicContentView so admin, the page editor,
   and member-admin chrome are left alone. Do not drop that qualifier.

   THIS CSS CANNOT: add or replace the logo image, rebuild or rename menu
   items / dropdowns, or change footer text (Copyright 2024, the leftover
   x.com/wildapricot link, the 30 vs 30a address). Those are content or
   gadget edits.

   Selectors were taken from the live Kaleidoscope Overcast markup, not
   copied blindly from the IAC Cornucopia overrides. The class names are
   the same family, but Chamber-specific IDs and inline colors differ:
   - Menu paint lives on .WaGadgetMenuHorizontal .menuInner and
     ul.firstLevel (customStyles.css currently sets background:#EEEEEE).
   - Footer inline color is #2E3192 on #id_Footer1 (not IAC's #414A53).
   - Homepage slideshow sits inside #id_Header1 .WaLayoutContainerOnly,
     which also has inline background-color:#F26522. This file does NOT
     flood that container with a fill, or the slideshow area would change.

   Mobile menu uses different markup (.WaGadgetMobilePanel) — see Block 6.
*/

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap");

/* =====================================================================
   Block 0 — Brand tokens
   Chamber email / flyer colors, plus colors already in the logo.
   Email (holiday market blast): blue #2979FF, dark blue #1A5BC4,
   sky #0091EA / #80D8FF, orange buttons #FF6D01, green #00C852,
   holiday red #B22222 / #EB3323. Font in that blast: Arial, Helvetica.
   Logo samples: navy #102060, sky #00A8E8, warm gold-orange #F8A040.
   Existing site: footer #2E3192, accent bar #F26522, links #3498DB,
   hover #2ECC71. Tokens below prefer the email + logo values so the
   site and the mailings match, while keeping the familiar footer navy.
   ===================================================================== */
:root {
  --gcc-navy: #102060;
  --gcc-footer: #2E3192;
  --gcc-blue: #2979FF;
  --gcc-blue-dark: #1A5BC4;
  --gcc-sky: #00A8E8;
  --gcc-sky-soft: #80D8FF;
  --gcc-orange: #FF6D01;
  --gcc-orange-site: #F26522; /* existing header accent bar; keep as a secondary */
  --gcc-green: #00C852;
  --gcc-ink: #1B1F24;
  --gcc-muted: #5C6570;
  --gcc-rule: #E4E8EE;
  --gcc-bg: #F7F9FC;
  --gcc-white: #FFFFFF;
  --gcc-holiday-red: #B22222;
  --gcc-holiday-gold: #F8A040;
  --gcc-font: "Source Sans 3", Arial, Helvetica, sans-serif;
}


/* =====================================================================
   Block 1 — Page background and typography (quick win)
   Removes the dated Bg-pattern-192.png linen tile, swaps Ubuntu /
   Ubuntu Condensed for Source Sans 3 (Arial/Helvetica fallback, same
   family the Chamber emails already use), and recasts gray uppercase
   H1s (#69777F) in logo navy.
   ===================================================================== */
body.publicContentView {
  font-family: var(--gcc-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gcc-ink);
  background-color: var(--gcc-bg) !important;
  background-image: none !important;
}

body.publicContentView #idPrimaryContentBlock1Content,
body.publicContentView .WaPlaceHolderContent,
body.publicContentView .gadgetStyleNone,
body.publicContentView .gadgetStyle001 {
  font-family: var(--gcc-font);
  color: var(--gcc-ink);
}

body.publicContentView h1,
body.publicContentView h1:not(.promo),
body.publicContentView .gadgetStyleNone h1:not(.promo),
body.publicContentView .gadgetStyle001 h1:not(.promo),
body.publicContentView .gadgetStyleTitle h4,
body.publicContentView h2,
body.publicContentView h3,
body.publicContentView h4:not(.gadgetTitleH4) {
  font-family: var(--gcc-font);
  color: var(--gcc-navy);
  letter-spacing: 0.01em;
}

body.publicContentView h1,
body.publicContentView h1:not(.promo),
body.publicContentView .gadgetStyleNone h1:not(.promo),
body.publicContentView .gadgetStyle001 h1:not(.promo),
body.publicContentView .gadgetStyleTitle h4 {
  font-weight: 700;
  text-transform: none;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--gcc-navy);
}

body.publicContentView h2 {
  font-weight: 700;
  text-transform: none;
  font-size: 1.5rem;
  line-height: 1.25;
}

/* gadgetStyle002 is the dark “Why join” band (white type on a photo).
   Keep type white; only swap the font. */
body.publicContentView .gadgetStyle002,
body.publicContentView .gadgetStyle002 h1,
body.publicContentView .gadgetStyle002 h1:not(.promo),
body.publicContentView .gadgetStyle002 h2,
body.publicContentView .gadgetStyle002 h3,
body.publicContentView .gadgetStyle002 p {
  font-family: var(--gcc-font);
  color: var(--gcc-white);
}


/* =====================================================================
   Block 2 — Links (quick win)
   Replaces theme / customStyles #3498DB with email blue #2979FF, and
   the bright #2ECC71 hover (a very “stock Wild Apricot 2014” look)
   with the darker Chamber blue. Visit color matches link color so
   purple/visited does not appear.
   ===================================================================== */
body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent, .gadgetStyleNone, .gadgetStyle001) a:not(.stylizedButton):not(.buttonStyle001):not(.buttonStyle002):not(.buttonStyle003):not(.buttonStyle004):not(.buttonStyle005),
body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent, .gadgetStyleNone, .gadgetStyle001) a:link:not(.stylizedButton),
body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent, .gadgetStyleNone, .gadgetStyle001) a:visited:not(.stylizedButton) {
  color: var(--gcc-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent, .gadgetStyleNone, .gadgetStyle001) a:hover:not(.stylizedButton) {
  color: var(--gcc-blue-dark);
}


/* =====================================================================
   Block 3 — Buttons (quick win)
   Map the four theme button styles onto the Chamber email palette:
   001 (Register, currently #414141 gray) → orange
   002 (Subscribe newsletter, currently teal #3EB7AB) → green
   003 (Become a member, currently raspberry #C8435F) → orange
   004 (theme blue) → #2979FF
   Membership application and event Register buttons use these classes,
   so this is the main “make the forms and events feel on-brand” change.
   ===================================================================== */
body.publicContentView a.stylizedButton,
body.publicContentView a.buttonStyle001,
body.publicContentView a.buttonStyle002,
body.publicContentView a.buttonStyle003,
body.publicContentView a.buttonStyle004,
body.publicContentView a.buttonStyle005,
body.publicContentView input[type="submit"],
body.publicContentView input[type="button"],
body.publicContentView button[type="submit"] {
  font-family: var(--gcc-font) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}

body.publicContentView a.buttonStyle001,
body.publicContentView a:link.buttonStyle001,
body.publicContentView a.stylizedButton.buttonStyle003,
body.publicContentView a:link.buttonStyle003 {
  background: var(--gcc-orange) !important;
  background-color: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
  border: 0 !important;
}

body.publicContentView a.buttonStyle001:hover,
body.publicContentView a.buttonStyle001:hover,
body.publicContentView a.stylizedButton.buttonStyle003:hover,
body.publicContentView a:link.buttonStyle003:hover {
  background: #e05e00 !important;
  background-color: #e05e00 !important;
  color: var(--gcc-white) !important;
}

body.publicContentView a.buttonStyle002,
body.publicContentView a:link.buttonStyle002,
body.publicContentView a.stylizedButton.buttonStyle002 {
  background: var(--gcc-green) !important;
  background-color: var(--gcc-green) !important;
  color: var(--gcc-white) !important;
  border: 0 !important;
}

body.publicContentView a.buttonStyle002:hover,
body.publicContentView a.stylizedButton.buttonStyle002:hover {
  background: #00b248 !important;
  background-color: #00b248 !important;
  color: var(--gcc-white) !important;
}

body.publicContentView a.buttonStyle004,
body.publicContentView a:link.buttonStyle004 {
  background: var(--gcc-blue) !important;
  background-color: var(--gcc-blue) !important;
  color: var(--gcc-white) !important;
  border: 0 !important;
}

body.publicContentView a.buttonStyle004:hover {
  background: var(--gcc-blue-dark) !important;
  background-color: var(--gcc-blue-dark) !important;
  color: var(--gcc-white) !important;
}

/* Public membership application / wizard primary actions */
body.publicContentView .WaGadgetMembershipApplication input[type="submit"],
body.publicContentView .WaGadgetPublicWizard input[type="submit"],
body.publicContentView .WaGadgetEvents input[type="submit"] {
  background: var(--gcc-orange) !important;
  background-color: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
  border: 0 !important;
  font-family: var(--gcc-font) !important;
}

/* Events list “Register” is an <input class="typeButton registerButton">,
   not a.buttonStyle001. Verified on /events (Nov 28, 2026). */
body.publicContentView input.registerButton,
body.publicContentView input.typeButton.registerButton,
body.publicContentView .WaGadgetEvents input.registerButton,
body.publicContentView .WaGadgetEvents a[id*="RegistrationLink"] {
  background: var(--gcc-orange) !important;
  background-color: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
  border: 0 !important;
  font-family: var(--gcc-font) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  border-radius: 4px !important;
  cursor: pointer;
}


/* =====================================================================
   Block 4 — Header chrome (quick win, light touch)
   Tightens the top search / social / login row. Does not replace the
   Logo-Wide.png headline graphic (CSS cannot add a logo) and does not
   recolor #id_Header1 .WaLayoutContainerOnly, because on the homepage
   that container wraps the slideshow and already has an inline orange
   #F26522 bar. Leave that accent; it already matches the Chamber orange.
   ===================================================================== */
body.publicContentView #idHeaderContentHolder,
body.publicContentView .WaPlaceHolderHeader {
  background: var(--gcc-white);
}

body.publicContentView #idHeaderContentHolder .WaGadgetSiteSearch,
body.publicContentView #idHeaderContentHolder .WaGadgetSocialProfile,
body.publicContentView #idHeaderContentHolder .WaGadgetLoginForm {
  font-family: var(--gcc-font);
}

/* Keep the existing orange accent if it shows as a thin rule, but do
   not paint the whole Header1 layout container (slideshow lives here
   on the home page). */
body.publicContentView #id_Header1 {
  background-color: transparent !important;
}


/* =====================================================================
   Block 5 — Horizontal menu (quick win; needs !important)
   customStyles.css sets .menuInner / ul.firstLevel to #EEEEEE and the
   first-level links to Arial 11pt bold. The theme still applies
   uppercase, large vertical padding (26px/27px), and a JS “•••”
   overflow item. At 1280px, Join us, Contact, Why Join, and Dr. Glenn
   Scholarship are hidden behind that overflow.

   These rules paint a navy bar, white links, orange hover and current
   page, and shrink padding so more items can fit on one row. CSS
   cannot add, rename, or nest menu items — consolidating the 10
   top-level links has to be done in the Wild Apricot menu editor.

   Test the Membership dropdown after this block; second-level markup
   is different from the first level. Test the ••• overflow too.
   ===================================================================== */
body.publicContentView .WaGadgetMenuHorizontal .menuInner,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel {
  background: var(--gcc-navy) !important;
  background-color: var(--gcc-navy) !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a > span {
  color: var(--gcc-white) !important;
  background: transparent !important;
  background-color: transparent !important;
  font-family: var(--gcc-font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  height: auto !important;
  padding: 14px 11px !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a > span {
  padding: 0 !important;
  height: auto !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a > span {
  color: var(--gcc-white) !important;
  background: var(--gcc-orange) !important;
  background-color: var(--gcc-orange) !important;
}

/* Dropdown panels (Membership > Members / Board of Directors) */
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.secondLevel,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:link {
  background: #0c184c !important;
  background-color: #0c184c !important;
  color: var(--gcc-white) !important;
  font-family: var(--gcc-font) !important;
  font-size: 14px !important;
  text-transform: none !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel:hover > .item > a {
  background: var(--gcc-orange) !important;
  background-color: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
}

/* Overflow “•••” control — keep it usable on the navy bar */
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.phantom > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.phantom > .item > a span {
  color: var(--gcc-white) !important;
  background: transparent !important;
}


/* =====================================================================
   Block 6 — Mobile menu (quick win; different markup)
   Desktop rules above do not style the 50px .mobilePanel bar or the
   slide-out firstLevel list inside .WaGadgetMobilePanel. Test this
   block at 390px with the menu opened, including Membership children
   and the login / search controls that live in the same panel.
   ===================================================================== */
body.publicContentView .WaGadgetMobilePanel .mobilePanel {
  background: var(--gcc-navy) !important;
  color: var(--gcc-white) !important;
}

body.publicContentView .WaGadgetMobilePanel .mobilePanel .mobilePanelButton,
body.publicContentView .WaGadgetMobilePanel .mobilePanel .mobilePanelButton:before {
  color: var(--gcc-white) !important;
}

body.publicContentView .WaGadgetMobilePanel .mobilePanel .mobilePanelButton:hover,
body.publicContentView .WaGadgetMobilePanel .mobilePanel .mobilePanelButton:hover:before,
body.publicContentView .WaGadgetMobilePanel .mobilePanel .mobilePanelButton:active,
body.publicContentView .WaGadgetMobilePanel .mobilePanel .buttonMenu:hover:before {
  color: var(--gcc-holiday-gold) !important;
  background: transparent !important;
}

body.publicContentView .WaGadgetMobilePanel .menuInner,
body.publicContentView .WaGadgetMobilePanel .menuInner ul,
body.publicContentView .WaGadgetMobilePanel .menuInner ul li > .item > a {
  background: var(--gcc-navy) !important;
  background-color: var(--gcc-navy) !important;
  color: var(--gcc-white) !important;
  font-family: var(--gcc-font) !important;
  text-transform: none !important;
}

body.publicContentView .WaGadgetMobilePanel .menuInner ul li > .item:hover > a,
body.publicContentView .WaGadgetMobilePanel .menuInner ul li.sel > .item > a {
  background: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
}


/* =====================================================================
   Block 7 — Footer (quick win; needs !important)
   #id_Footer1 has inline style="background-color:#2E3192". Keep that
   Chamber navy (it already reads as the brand) and only improve type,
   link contrast, and social-icon contrast. CSS cannot update
   “Copyright 2024”, the @ImageKrafters line, or the social gadget’s
   leftover https://x.com/wildapricot URL — those are gadget edits.
   ===================================================================== */
body.publicContentView .zoneFooter2,
body.publicContentView #id_Footer1,
body.publicContentView #id_Footer1 .WaLayoutContainerOnly,
body.publicContentView .WaPlaceHolderFooter1 {
  background: var(--gcc-footer) !important;
  background-color: var(--gcc-footer) !important;
  color: var(--gcc-white) !important;
  font-family: var(--gcc-font);
}

body.publicContentView #id_Footer1 a,
body.publicContentView #id_Footer1 a:link,
body.publicContentView #id_Footer1 a:visited,
body.publicContentView #id_Footer1 .gadgetStyle002 a,
body.publicContentView #id_Footer1 .gadgetStyle002 a:link,
body.publicContentView #id_Footer1 .gadgetStyle002 a:visited {
  color: var(--gcc-sky-soft) !important;
}

body.publicContentView #id_Footer1 a:hover,
body.publicContentView #id_Footer1 .gadgetStyle002 a:hover {
  color: var(--gcc-holiday-gold) !important;
}

body.publicContentView #id_Footer1 h1,
body.publicContentView #id_Footer1 h2,
body.publicContentView #id_Footer1 h3,
body.publicContentView #id_Footer1 h4,
body.publicContentView #id_Footer1 h5,
body.publicContentView #id_Footer1 h6,
body.publicContentView #id_Footer1 .gadgetStyle002 h1,
body.publicContentView #id_Footer1 .gadgetStyle002 h2,
body.publicContentView #id_Footer1 .gadgetStyle002 h3,
body.publicContentView #id_Footer1 .gadgetStyle002 h4,
body.publicContentView #id_Footer1 .gadgetStyle002 h5,
body.publicContentView #id_Footer1 .gadgetStyle002 h6 {
  color: var(--gcc-white) !important;
  font-family: var(--gcc-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.publicContentView #id_Footer1 .WaGadgetSocialProfile li a {
  background: rgba(255, 255, 255, 0.14) !important;
  color: var(--gcc-white) !important;
}

body.publicContentView #id_Footer1 .WaGadgetSocialProfile li a:hover {
  background: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
}


/* =====================================================================
   Block 8 — New photo banner, plug-in slideshow, and the gray gap
   (added 2026-12-02 for deploy)

   - .gcc-banner is the new site-wide header banner (banner.html in a
     Custom HTML gadget in the header zone, replacing the old wide
     Logo-Wide.png Headline gadget #id_vfCoeDV).
   - .gcc-ss is the plug-in slideshow (slideshow.html in a Custom HTML
     gadget on Home, replacing WA Slideshow gadget #id_Z1FDjKa).
   - GRAY GAP: the band under the old desktop slideshow is the Camera
     gadget's thumbnail filmstrip (.camera_thumbs_wrap, ~140px of tiny
     thumbs on gray). The new slideshow has no filmstrip, so the gap
     goes away. The rule below also removes it if the old gadget is
     ever shown again.
   - The Header1 row on Home has inline background-color:#F26522 and a
     10px table height; zero the gadget spacing so the slideshow sits
     flush on the orange rule with no light/gray strip.
   ===================================================================== */
body.publicContentView .gcc-banner {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
  background: var(--gcc-navy);
}
body.publicContentView .gcc-banner img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  border: 0;
}
body.publicContentView .gcc-banner__join {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 20%;
  z-index: 2;
}
@media (max-width: 767px) {
  body.publicContentView .gcc-banner__join { left: 0; width: 100%; height: 24%; }
}
body.publicContentView .gcc-banner__join:focus-visible {
  outline: 3px solid var(--gcc-white);
  outline-offset: -3px;
}

/* Custom HTML gadgets holding the banner/slideshow: no extra padding */
body.publicContentView .WaGadgetCustomHTML:has(.gcc-banner),
body.publicContentView .WaGadgetCustomHTML:has(.gcc-ss),
body.publicContentView .WaGadgetCustomHTML:has(.gcc-banner) .gadgetStyleBody,
body.publicContentView .WaGadgetCustomHTML:has(.gcc-ss) .gadgetStyleBody {
  margin: 0 !important;
  padding: 0 !important;
}

/* Gray gap fallback: old Camera filmstrip */
body.publicContentView .WaGadgetSlideshow .camera_thumbs_wrap,
body.publicContentView .WaGadgetSlideshow .camera_thumbs_cont,
body.publicContentView .WaGadgetSlideshow .camera_command_wrap {
  display: none !important;
}

/* Header1 row on Home: keep the orange rule thin and flush */
body.publicContentView #id_Header1 .WaLayoutPlaceHolder > div > .WaGadgetFirst {
  margin-bottom: 0 !important;
}
body.publicContentView #id_Header1 .gcc-ss {
  margin-bottom: 0 !important;
}
/* The Header1 layout table carries height="10px". On phones WA renders
   it as display:block, so the slideshow would overflow it and the page
   body would draw on top. Let the table grow to fit its content. */
body.publicContentView #id_Header1 .WaLayoutTable,
body.publicContentView #id_Header1 .WaLayoutContainerOnly {
  height: auto !important;
}

/* =====================================================================
   Block 9 — Oversized content images (quick win)
   Keeps any flyer or photo inside its column. (The past Nov 15
   Shop Glen Cove Showcase flyer is replaced by the upcoming-events
   cards in home-upcoming-events.html — a content edit, see
   DEPLOY-STEPS.md.)
   ===================================================================== */
body.publicContentView #idPrimaryContentBlock1Content img,
body.publicContentView .WaPlaceHolderContent img,
body.publicContentView .WaGadgetContent img {
  max-width: 100% !important;
  height: auto !important;
}


/* =====================================================================
   Block 10 — Events list, directory, and contact (medium)
   Light typography and button carry-over only. Do not restyle form
   internals (membership application, login, event registration fields)
   beyond the shared submit-button rule in Block 3 — those layouts
   break easily.
   ===================================================================== */
body.publicContentView .WaGadgetEvents .boxHeaderTitle,
body.publicContentView .WaGadgetEvents h1,
body.publicContentView .WaGadgetUpcomingEvents h2,
body.publicContentView .WaGadgetUpcomingEvents h3,
body.publicContentView .WaGadgetMemberDirectory h1 {
  font-family: var(--gcc-font);
  color: var(--gcc-navy);
  text-transform: none;
}

body.publicContentView .WaGadgetEvents a.buttonStyle001,
body.publicContentView .WaGadgetEvents a.stylizedButton {
  background: var(--gcc-orange) !important;
  color: var(--gcc-white) !important;
}

/* Directory title band is currently an inline orange #F26522 heading.
   Leave that gadget’s inline color; just inherit the new font. */
body.publicContentView .WaGadgetMemberDirectory,
body.publicContentView .WaGadgetMemberDirectoryStateList {
  font-family: var(--gcc-font);
}


/* =====================================================================
   Block 11 — Optional later (commented out on purpose)
   Do not uncomment for the first live paste. These need a content or
   menu-editor change in addition to CSS, or they are a theme switch.

   A) Two-line wrapping menu — may fight the theme’s JS “•••” overflow.
      Test thoroughly before using.

   body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel {
     display: flex !important;
     flex-wrap: wrap !important;
     width: 100% !important;
   }
   body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li {
     display: block !important;
   }
   body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.phantom {
     display: none !important;
   }

   B) Theme switch: only if Blocks 1–10 are not enough. Kaleidoscope
      Overcast is already in the same family as the IAC Cornucopia
      theme, and these selectors depend on it. Switching themes would
      require a new selector pass and would restyle member/admin views
      too. Not recommended as a first step.

   C) Logo replacement: upload a simpler lockup (seal + wordmark, no
      photo collage, no address in the image) to Resources, then point
      the Headline gadget background at it. CSS cannot do that.
   ===================================================================== */

/* =====================================================================
   Block 12 — Leftover Wild Apricot X link (adopted from IAC)
   The Social Profile gadget links X to https://x.com/wildapricot.
   IAC found WA puts the default X link back after it is cleared, so
   remove it in the gadget AND hide it here as a backup.
   ===================================================================== */
body.publicContentView .WaGadgetSocialProfile a[href*="x.com/wildapricot"],
body.publicContentView .WaGadgetSocialProfile a[href*="twitter.com/wildapricot"] {
  display: none !important;
}
body.publicContentView .WaGadgetSocialProfile li:has(> a[href*="x.com/wildapricot"]),
body.publicContentView .WaGadgetSocialProfile li:has(> a[href*="twitter.com/wildapricot"]) {
  display: none !important;
}


/* =====================================================================
   Block 13 — Home “Coming up” event cards (home-upcoming-events.html)
   Replaces the past Nov 15 flyer in the Welcome content gadget.
   ===================================================================== */
body.publicContentView .gcc-coming {
  margin: 18px 0 8px;
}
body.publicContentView .gcc-coming__title {
  font-family: var(--gcc-font);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--gcc-navy);
  margin: 0 0 12px;
}
body.publicContentView .gcc-coming__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 767px) {
  body.publicContentView .gcc-coming__grid { grid-template-columns: 1fr; }
}
body.publicContentView .gcc-card {
  display: block;
  background: var(--gcc-white);
  border: 1px solid var(--gcc-rule);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none !important;
  color: var(--gcc-ink) !important;
  box-shadow: 0 6px 18px rgba(16, 32, 96, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
body.publicContentView .gcc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 32, 96, 0.16);
}
body.publicContentView .gcc-card img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
body.publicContentView .gcc-card__body {
  padding: 12px 14px 14px;
  font-family: var(--gcc-font);
}
body.publicContentView .gcc-card__date {
  display: block;
  color: var(--gcc-orange);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
body.publicContentView .gcc-card__name {
  display: block;
  color: var(--gcc-navy);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 2px 0 6px;
}
body.publicContentView .gcc-card__cta {
  display: inline-block;
  background: var(--gcc-orange);
  color: var(--gcc-white);
  font-weight: 700;
  font-size: .95rem;
  border-radius: 4px;
  padding: 6px 12px;
}
