@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/*** ICF Greater Austin — CSS Styles ***/
/*** Author: Rafael Ruiz - Tonalli Media Services ***/
/*** Last Update: 11/25/2026 ***/

/* ---- Fonts ---- */
body, p, li, td, th, input, textarea, select, button {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', Arial, sans-serif !important;
  font-weight: 600 !important;
  color: #212251 !important;            /* Deep Blue */
}

/* ---- Body text & page background ---- */
body { color: #212251; background-color: #f8f0e4 !important; }   /* Bone */

/* ---- Links ---- */
a { color: #2b379b; }                   /* Blue */
a:hover { color: #5778fa; }             /* Light Blue */

/* ---- Buttons: blue pill, white text ---- */
a.button, .button, .stylizedButton, a.stylizedButton,
input.button, button.button,
input[type="submit"], input[type="button"], button[type="submit"] {
  background-color: #2b379b !important; /* Blue */
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;      /* pill */
  padding: 10px 24px !important;
  display: inline-block;
  /* force font */
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-width: 0 !important;
}
a.button:hover, .button:hover, .stylizedButton:hover,
input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #212251 !important; /* Deep Blue */
}
a.button, .button, .stylizedButton, .functionalButton,
input[type="submit"], input[type="button"], button,
a.button:hover, .button:hover, .stylizedButton:hover, .functionalButton:hover,
input[type="submit"]:hover, input[type="button"]:hover, button:hover {
  box-shadow: none !important;
}

/* ---- Images: 15px rounded corners site-wide (content, header, footer) ---- */
.zoneContent img,
.zoneHeader1 img, .zoneHeader2 img,
.zoneFooter1 img, .zoneFooter2 img {
  border-radius: 15px;
}
/* slideshow frame */
.WaGadgetSlideshow .camera_wrap { border-radius: 15px; overflow: hidden; }

/* ---- Opt-out from rounding ----
   Reusable: add the class "no-round" to any image (or a wrapper around it). Logos are excluded automatically below. */
img.no-round, .no-round img,
.zoneHeader1 .WaGadgetContent img,            /* header logo */
.zoneFooter1 .WaLayoutContainerFirst img,     /* footer logo */
.zoneFooter2 .WaLayoutContainerFirst img {
  border-radius: 0 !important;
}

/* ---- Rounding Class ---- 
Reusable: add the class "rounded" */
.rounded { border-radius: 15px !important; overflow: hidden !important; }

/* ===== HEADER: deep-blue band ===== */
.zonePlace.zoneHeader1,
.zonePlace.zoneHeader2 { background: #212251 !important; }

.WaPlaceHolderHeader1, #id_Header1 { background-image: none !important; }

.zoneHeader1 .WaLayoutItem, .zoneHeader1 .WaLayoutPlaceHolder,
.zoneHeader1 .placeHolderContainer, .zoneHeader1 .WaGadget,
.zoneHeader1 .gadgetStyleBody, .zoneHeader1 [class*="gadgetStyle"],
.zoneHeader2 .WaLayoutItem, .zoneHeader2 [class*="gadgetStyle"] {
  background: transparent !important;
}
.zoneHeader1 .WaLayoutItem { vertical-align: middle !important; }

/* "Log in" link */
.zoneHeader1 .loginLink, .zoneHeader2 .loginLink {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  text-indent: 0 !important;
  background: transparent !important;
  padding: 8px 24px !important;
  color: #ffffff !important;
  font: 600 14px/1.4 'Plus Jakarta Sans', Arial, sans-serif !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color .2s, border-color .2s, color .2s;
}
.zoneHeader1 .loginLink:before, .zoneHeader2 .loginLink:before {
  content: none !important;   /* kill the WA-theme-icons person glyph */
  display: none !important;
}
.zoneHeader1 .loginLink:hover, .zoneHeader2 .loginLink:hover {
  background-color: #5778fa !important;
  border-color: #5778fa !important;
  color: #ffffff !important;
}

/* SOCIAL ICONS (global: header + footer) */
.zoneHeader1 [class*="ThemeStyle"],
.zoneFooter1 [class*="ThemeStyle"], .zoneFooter2 [class*="ThemeStyle"],
.zoneHeader1 .WaGadgetSocialProfile,
.zoneFooter1 .WaGadgetSocialProfile, .zoneFooter2 .WaGadgetSocialProfile { background: transparent !important; }

.zoneHeader1 .WaGadgetSocialProfile li a,
.zoneFooter1 .WaGadgetSocialProfile li a,
.zoneFooter2 .WaGadgetSocialProfile li a {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 50% !important;   /* circle */
  box-sizing: border-box !important;
  width: 36px !important;           /* smaller, tighter circle (theme default = 50px) */
  height: 36px !important;
  font-size: 16px !important;       /* glyph size (theme default = 24px) */
  line-height: 32px !important;
  margin: 0 5px !important;
  transition: color .2s, border-color .2s;
}
.zoneHeader1 .WaGadgetSocialProfile li a:hover,
.zoneFooter1 .WaGadgetSocialProfile li a:hover,
.zoneFooter2 .WaGadgetSocialProfile li a:hover {
  background: #ffffff !important;   /* white fill */
  color: #212251 !important;        /* deep-blue glyph */
  border-color: #ffffff !important;
}

/* Content-area social gadget */
.zoneContent .WaGadgetSocialProfile li a {
  background: transparent !important;
  color: #2b379b !important;
  border: 2px solid #2b379b !important;
  border-radius: 50% !important;
  box-sizing: border-box !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 30px !important;
  margin: 0 5px !important;
  transition: color .2s, border-color .2s;
}
.zoneContent .WaGadgetSocialProfile li a:hover {
  background: #2b379b !important;   /* blue fill (white circle would vanish on bone) */
  color: #ffffff !important;
  border-color: #2b379b !important;
}

/* Search box */
.zoneHeader1 .searchBoxField, .zoneHeader2 .searchBoxField {
  background: rgba(255,255,255,.12) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.45) !important; border-radius: 999px !important;
}
.zoneHeader1 .searchBoxField::placeholder,
.zoneHeader2 .searchBoxField::placeholder { color: #c9cfee !important; }
/* magnifier icon */
.zoneHeader1 .searchBoxFieldContainer:before,
.zoneHeader2 .searchBoxFieldContainer:before { color: #ffffff !important; }

/* Header logo */
.zoneHeader1 .WaGadgetContent img { max-width: 100% !important; }

/* ===== MENU (Tinted Tiles: real dropdown menu) ===== */

.WaGadgetMenuHorizontal .menuInner,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel { background: transparent !important; }
/* dropdown panels stay solid deep-blue so they're readable over page content */
.WaGadgetMenuHorizontal .menuInner ul ul,
.WaGadgetMenuHorizontal .menuInner ul.secondLevel,
.WaGadgetMenuHorizontal .menuInner ul ul li > .item > a { background: #212251 !important; }
.WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a { background: #2b379b !important; color: #fff !important; }
/* kill the theme's #165684 hover box on top-level items */
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a { background: transparent !important; }

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a {
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;     
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li:hover > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a {
  color: #5778fa !important;
  background: transparent !important;
}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a > span {
  box-shadow: inset 0 -2px 0 #5778fa;   
}
/* dropdown panel */
.WaGadgetMenuHorizontal .menuInner ul.secondLevel {
  background: #212251 !important;
  border-radius: 0 0 10px 10px;
}
.WaGadgetMenuHorizontal .menuInner ul.secondLevel a {
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  text-transform: none !important;
}
.WaGadgetMenuHorizontal .menuInner ul.secondLevel li:hover > .item > a { color: #ffffff !important; }  /* white text on the blue hover highlight */

/* ===== MOBILE PANEL (hamburger menu) — rebrand from theme azure to brand blues ===== */
.WaGadgetMobilePanel .mobilePanel,
.WaGadgetMobilePanel .mobilePanel .menuInner ul.firstLevel,
.WaGadgetMobilePanel .mobilePanel .loginInner { background: #212251 !important; }   /* Deep Blue */
.WaGadgetMobilePanel .mobilePanel .menuInner ul.firstLevel { border-top-color: rgba(255,255,255,.2) !important; }
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul { background: #2b379b !important; }     /* submenu = Blue */
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul ul { background: #202a6e !important; }   /* deeper level */
.WaGadgetMobilePanel .mobilePanel .menuInner a {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  text-transform: none !important;
  color: #ffffff !important;
}
.WaGadgetMobilePanel .mobilePanel .menuInner li.sel > .item > a,
.WaGadgetMobilePanel .mobilePanel .menuInner .item:hover > a { color: #5778fa !important; }  /* Light Blue active/hover */

/* ===== FOOTER: deep-blue band ===== */
.zonePlace.zoneFooter1, .zonePlace.zoneFooter2, .zonePlace.zoneWAbranding { background: #212251 !important; }
.zoneWAbranding, .zoneWAbranding a, #idFooterPoweredByWA, #idFooterPoweredByWA a { color: #aeb6dd !important; font-size: 14px !important; }


.zonePlace.zoneFooter1 .WaPlaceHolder,
.zonePlace.zoneFooter2 .WaPlaceHolder { background: transparent !important; }


.zonePlace.zoneWAbranding { margin: 0 !important; }
.zonePlace.zoneFooter1 { padding: 0 !important; }

/* all footer text white */
.zoneFooter1, .zoneFooter1 p, .zoneFooter1 a,
.zoneFooter1 h1, .zoneFooter1 h2, .zoneFooter1 h3,
.zoneFooter2, .zoneFooter2 p, .zoneFooter2 a,
.zoneFooter2 h1, .zoneFooter2 h2, .zoneFooter2 h3 { color: #fff !important; }

/* clear gadget/column backgrounds inside the footer band */
.zoneFooter1 .WaLayoutItem, .zoneFooter1 .WaLayoutPlaceHolder,
.zoneFooter1 .placeHolderContainer, .zoneFooter1 .WaGadget,
.zoneFooter1 .gadgetStyleBody, .zoneFooter1 [class*="gadgetStyle"],
.zoneFooter2 .WaLayoutItem, .zoneFooter2 .WaLayoutPlaceHolder,
.zoneFooter2 .placeHolderContainer, .zoneFooter2 .WaGadget,
.zoneFooter2 .gadgetStyleBody, .zoneFooter2 [class*="gadgetStyle"] { background: transparent !important; }

/* columns centered + logo size */
.zoneFooter1 .WaLayoutItem, .zoneFooter2 .WaLayoutItem { vertical-align: middle; }
.zoneFooter1 img, .zoneFooter2 img { height: 62px; width: auto; }

/* newsletter link style (Content-gadget links only) */
.zoneFooter1 .gadgetContentEditableArea a,
.zoneFooter2 .gadgetContentEditableArea a { text-decoration: underline; font-weight: 600; color: #fff !important; }
.zoneFooter1 .gadgetContentEditableArea a:hover,
.zoneFooter2 .gadgetContentEditableArea a:hover { color: #5778fa !important; }

/* HR divider */
.zoneFooter1 .WaLayoutContainerFirst,
.zoneFooter2 .WaLayoutContainerFirst {
  border-bottom: none !important;   
}
.zoneFooter1 .WaLayoutContainerLast,
.zoneFooter2 .WaLayoutContainerLast {
  border-top: 1px solid rgba(255,255,255,.30) !important;
  padding-top: 18px !important;
  margin-top: 18px !important;
}

/* copyright line smaller */
.zoneFooter1 .WaLayoutContainerLast p,
.zoneFooter2 .WaLayoutContainerLast p { font-size: 14px; color: #e7e9f5 !important; }

/* ===== MOBILE (<=767px) spacing tweaks ===== */
@media (max-width: 767px) {
  /* header: tighten */
  .zoneHeader1 .WaPlaceHolderHeader > div {
    padding-top: 16px !important;
    padding-bottom: 30px !important;
  }
  /* footer: more space above the logo */
  .zonePlace.zoneFooter1 .WaPlaceHolderFooter1 > div,
  .zonePlace.zoneFooter2 .WaPlaceHolderFooter1 > div {
    padding-top: 30px !important;
  }
}

/* ---- Fixing Responsive embedded iframes (Google Forms, Maps, videos) ---- */
.zoneContent iframe { max-width: 100% !important; }

/* ---- Google Forms embeds ---- */
.zoneContent iframe[src*="docs.google.com/forms"] {
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  border: 0 !important;
}
.zoneContent iframe[src*="docs.google.com/forms"][height="100%"],
.zoneContent iframe[src*="docs.google.com/forms"]:not([height]) {
  height: 1850px !important;
}
@media (max-width: 767px) {
  /* narrower = more wrapping = taller pages */
  .zoneContent iframe[src*="docs.google.com/forms"][height="100%"],
  .zoneContent iframe[src*="docs.google.com/forms"]:not([height]) {
    height: 1950px !important;
  }
}

/* ---- Rounded content cards ---- */
.zoneContent .WaLayoutItem[style*="background-color"] {
  border-radius: 15px !important;
  overflow: hidden;
}

/* ===== Existing site CSS kept (Google Slides responsive embed) ===== */
.responsive-google-slides {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Ratio */
  height: 0;
  overflow: hidden;
}
.responsive-google-slides iframe {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
/** Events Testing **/


/* We don't want on the homepage */

/* shared: hidden on BOTH the homepage and the events page */
.tn-event-cards .rssFeedLabel,
.tn-event-cards .boxFooterOuterContainer {
  display: none !important;
}

/* HOMEPAGE ONLY -- add the class  tn-events-home  alongside  tn-event-cards
   on the homepage gadget. The events page gets tn-event-cards ONLY, so it
   keeps the past-events list, the list/calendar switcher, and every card. */
.tn-events-home .pastEventsOuterContainer,
.tn-events-home .pageViewSwitcherOuterContainer,
.tn-events-home .pageTitleOuterContainer {
  display: none !important;
}

/* Section heading: centred, with breathing room above the cards */
.tn-event-cards h3.sectionTitle {
  float: none !important;           /* theme floats it left -> box shrink-wraps to the text */
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  text-transform: capitalize !important;  /* theme forces UPPERCASE; source text is "Upcoming events" */
  margin: 0 0 44px !important;      /* theme default was 0 10px 0 0 */
}

/* Homepage shows only the first 3 cards; the events page shows them all */
.tn-events-home ul.boxesList > li.boxesListItem:nth-child(n + 4) {
  display: none !important;
}


.tn-event-cards .boxesList div.d1,
.tn-event-cards .boxesList div.d2,
.tn-event-cards .boxesList div.d3,
.tn-event-cards .boxesList div.d4,
.tn-event-cards .boxesList div.d5,
.tn-event-cards .boxesList div.d6,
.tn-event-cards .boxesList div.d7,
.tn-event-cards .boxesList div.d8,
.tn-event-cards .boxesList div.d9,
.tn-event-cards .boxesList div.inner:not(.gadgetEventEditableArea) {
  display: contents !important;
}

.tn-event-cards .boxesList .cornersContainer {
  display: none !important;
}

/* The grid  */
.tn-event-cards ul.boxesList {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .tn-event-cards ul.boxesList { grid-template-columns: 1fr !important; }
}

.tn-event-cards li.boxesListItem {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/*  the card  */
.tn-event-cards .boxOuterContainer {
  height: 100% !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, 0.15) !important;
}

/* image on top and the title underneath */
.tn-event-cards .boxContainer {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.tn-event-cards .boxBodyOuterContainer,
.tn-event-cards .boxBodyInfoOuterContainer,
.tn-event-cards .boxBodyInfoContainer,
.tn-event-cards .boxInfoContainer {
  display: contents !important;
}
/* The theme draws a light-blue faux column with an absolutely positioned
   ::before on .boxBodyOuterContainer (top:0; bottom:0; left:0; width:28%;
   background:#f3f8fa). display:contents removes the element's box but NOT its
   pseudo-element, so it lost its containing block and stretched over the
   whole gadget -- the pale stripe behind the cards. Remove it outright. */
.tn-event-cards .boxBodyOuterContainer::before,
.tn-event-cards .boxBodyOuterContainer::after {
  content: none !important;
  display: none !important;
}

/* card order: photo -> register (overlaid) -> title -> date & time */
.tn-event-cards .boxBodyContentOuterContainer { order: 1 !important; }
.tn-event-cards .boxActionContainer           { order: 2 !important; }
.tn-event-cards .boxHeaderOuterContainer      { order: 3 !important; margin: 0 !important; }  /* theme: margin-bottom 30px */
.tn-event-cards ul.boxInfo                    { order: 4 !important; }

/*  image area */
.tn-event-cards .boxBodyContainer { display: contents !important; }

.tn-event-cards .boxBodyContentOuterContainer {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


.tn-event-cards .boxBodyContentContainer {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 750 / 422 !important;   
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #2b2d7a !important;  
}
.tn-event-cards .boxBodyContentContainer::after {
  content: none !important;             
}


.tn-event-cards .gadgetEventEditableArea {
  visibility: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tn-event-cards .gadgetEventEditableArea p { margin: 0 !important; padding: 0 !important; }
.tn-event-cards .gadgetEventEditableArea img {
  visibility: visible !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

/* ---- DATE & TIME under the title ---- */
.tn-event-cards ul.boxInfo {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 0 8px !important;
  list-style: none !important;
  margin: auto 0 0 !important;       /* auto top margin = pinned to the card's bottom edge */
  padding: 12px 20px 20px !important; /* 12px = minimum gap below the longest title */
}
.tn-event-cards ul.boxInfo li {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #2b379b !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}
/* "When" / "Location" labels, the location row and the "Spaces left" seat
   count (only rendered on events with a registration limit) are not wanted */
.tn-event-cards ul.boxInfo .eventInfoBoxLabel,
.tn-event-cards ul.boxInfo li.eventInfoLocation,
.tn-event-cards ul.boxInfo li.eventInfoSpacesLeft { display: none !important; }

/* same seat count on the event DETAILS page sidebar */
.WaGadgetEventsStateDetails ul.boxInfo li.eventInfoSpacesLeft { display: none !important; }

.tn-event-cards ul.boxInfo .eventInfoBoxValue,
.tn-event-cards ul.boxInfo .eventInfoBoxValue span,
.tn-event-cards ul.boxInfo .eventInfoBoxValue div,
.tn-event-cards ul.boxInfo .eventInfoBoxValue strong {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  font-weight: inherit !important;
  color: inherit !important;
}
/* The theme puts a clearfix on every li (::before/::after = display:table).
   A display:table pseudo-element is block-level, so our dot rendered and then
   forced the time onto a new line. Remove the clearfix, restore the dot inline. */
.tn-event-cards ul.boxInfo li::before,
.tn-event-cards ul.boxInfo li::after {
  content: none !important;
  display: none !important;
}
/* dot between the date and the time */
.tn-event-cards ul.boxInfo li.eventInfoStartTime::before {
  content: "\00B7" !important;
  display: inline !important;
  margin-right: 8px !important;
  color: #8a90c4 !important;
}


/* REGISTER pill: sits over the bottom-right of the photo. It can no longer be
   position:absolute (the wrapper that was its positioning context is now
   display:contents), so it is given zero height -- taking no space in the
   column -- and nudged up over the image with position:relative. */
.tn-event-cards .boxActionContainer {
  align-self: flex-end !important;
  width: auto !important;
  height: 0 !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  position: relative !important;
  top: -43px !important;
  right: 12px !important;
  z-index: 3 !important;
}


.tn-event-cards .boxActionContainer a {
  display: block !important;
  height: 0 !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
}

.tn-event-cards input.registerButton {
  height: auto !important;
  padding: 7px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f5c518 !important;
  color: #212251 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  box-shadow: none !important;
}


.tn-event-cards h4.boxHeaderTitle {
  margin: 0 !important;
  padding: 18px 20px 6px !important;
  background: none !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
}
.tn-event-cards h4.boxHeaderTitle a {
  color: #212251 !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}
.tn-event-cards h4.boxHeaderTitle a:hover { text-decoration: underline !important; }

/* --- HOMEPAGE HERO  --- */


.zoneContent .icf-hero {
  background: #212251;                 /* fallback only -- editor overrides */
  border-radius: 24px !important;
  overflow: hidden !important;         
  margin-bottom: 40px !important;
}

.zoneContent .icf-hero .WaLayoutTable { border-spacing: 0 !important; width: 100% !important; table-layout: fixed !important; }


.zoneContent .icf-hero .WaLayoutItem {
  border-radius: 0 !important;
  border: none !important;
  vertical-align: middle !important;
  /* On phones the theme turns each cell into display:block + width:100%.
     Table cells default to content-box, so 100% PLUS our side padding made
     every column 48px wider than the card -- the photo ran off the right edge
     (clipped by the card's overflow:hidden). border-box keeps 100% = 100%. */
  box-sizing: border-box !important;
  max-width: 100% !important;
}
.zoneContent .icf-hero .WaGadget,
.zoneContent .icf-hero .gadgetStyleBody,
.zoneContent .icf-hero [class*="gadgetStyle"] {
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
}

.zoneContent .icf-hero .WaLayoutItem:first-child  { padding: 56px 24px 56px 56px !important; }
.zoneContent .icf-hero .WaLayoutItem:last-child   { padding: 40px 40px 40px 24px !important; }

/* Headline + subhead + body text */
.zoneContent .icf-hero h1,
.zoneContent .icf-hero h1.promo,
.zoneContent .icf-hero h2,
.zoneContent .icf-hero h3 {
  color: #ffffff !important;         
  text-transform: none !important;   
  margin: 0 0 28px !important;       
}
.zoneContent .icf-hero p,
.zoneContent .icf-hero li,
.zoneContent .icf-hero .gadgetContentEditableArea { color: #ffffff !important; }

/* The WA editor inserts every picture as  <p><img><br></p>  -- the trailing
   <br> renders a blank line under the photo and the <p> adds a bottom margin,
   which is the extra gap under every hero image. Scoped with :has(img) so body
   copy in the text column keeps its normal paragraph spacing. */
.zoneContent .icf-hero p > br:last-child { display: none !important; }
.zoneContent .icf-hero p:has(img) { margin: 0 !important; line-height: 0 !important; }
.zoneContent .icf-hero a:has(img) { display: block !important; line-height: 0 !important; }

/* hero photo fills its column, rounded */
.zoneContent .icf-hero img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 18px !important;
}

/* HERO BUTTONS  */
.zoneContent .icf-hero a.stylizedButton {
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 30px !important;
  margin: 0 14px 10px 0 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
.zoneContent .icf-hero a.stylizedButton,
.zoneContent .icf-hero a.buttonStyle002 { background-color: #5778fa !important; }  /* primary  */
.zoneContent .icf-hero a.buttonStyle003 { background-color: #2b379b !important; }  /* secondary */
.zoneContent .icf-hero a.stylizedButton:hover,
.zoneContent .icf-hero a.buttonStyle002:hover { background-color: #2b379b !important; }
.zoneContent .icf-hero a.buttonStyle003:hover { background-color: #5778fa !important; }

/* ---- Hero on tablet / mobile ---- */
@media (max-width: 991px) {
  .zoneContent .icf-hero .WaLayoutItem:first-child { padding: 44px 20px 44px 40px !important; }
  .zoneContent .icf-hero .WaLayoutItem:last-child  { padding: 32px 32px 32px 20px !important; }
}
@media (max-width: 767px) {
  .zoneContent .icf-hero { border-radius: 18px !important; }
  /* force the two columns to stack */
  .zoneContent .icf-hero .WaLayoutTable,
  .zoneContent .icf-hero .WaLayoutRow,
  .zoneContent .icf-hero .WaLayoutItem {
    display: block !important;
    width: 100% !important;
  }
  .zoneContent .icf-hero .WaLayoutItem:first-child { padding: 34px 26px 10px !important; }
  .zoneContent .icf-hero .WaLayoutItem:last-child  { padding: 10px 26px 34px !important; }
  .zoneContent .icf-hero h1, .zoneContent .icf-hero h2 { margin-bottom: 22px !important; }
  .zoneContent .icf-hero a.stylizedButton { padding: 11px 24px !important; font-size: 14px !important; }
}

/* ---- LIGHT CARD ---- */
.zoneContent .icf-hero-light h1,
.zoneContent .icf-hero-light h1.promo,
.zoneContent .icf-hero-light h2,
.zoneContent .icf-hero-light h3,
.zoneContent .icf-hero-light p,
.zoneContent .icf-hero-light li,
.zoneContent .icf-hero-light .gadgetContentEditableArea { color: #212251 !important; }

/* ---- IMAGE-LEFT LAYOUT  --  icf-hero-alt ----
   Works two ways:
     icf-hero icf-hero-alt   = the blue card, photo on the left
     icf-hero-alt            = no card: photo left, text right, on the page bg
                               (the homepage "Committees / Volunteer" block)
   The rules below make alt safe ON ITS OWN. Without them a stacked phone
   cell was 100% + its padding wide, and on tablets the 600px photo forced
   its column wider than the page -- the horizontal overflow on the homepage. */
.zoneContent .icf-hero-alt .WaLayoutTable {
  width: 100% !important;
  table-layout: fixed !important;        /* columns obey their % no matter how wide the photo is */
  border-spacing: 0 !important;
}
.zoneContent .icf-hero-alt .WaLayoutItem {
  box-sizing: border-box !important;     /* 100% stays 100% once padding is added */
  max-width: 100% !important;
  vertical-align: middle !important;
}
.zoneContent .icf-hero-alt .WaLayoutItem:first-child { padding: 40px 24px 40px 40px !important; }
.zoneContent .icf-hero-alt .WaLayoutItem:last-child  { padding: 56px 56px 56px 24px !important; }
.zoneContent .icf-hero-alt img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 18px !important;
}
.zoneContent .icf-hero-alt p > br:last-child { display: none !important; }
.zoneContent .icf-hero-alt p:has(img) { margin: 0 !important; line-height: 0 !important; }

@media (max-width: 767px) {
  /* alt on its own (no card): nothing to inset from, so no side padding */
  .zoneContent .icf-hero-alt:not(.icf-hero) .WaLayoutItem:first-child { padding: 0 0 18px !important; }
  .zoneContent .icf-hero-alt:not(.icf-hero) .WaLayoutItem:last-child  { padding: 0 !important; }
  /* alt inside the card: same stacked padding as the other heroes */
  .zoneContent .icf-hero.icf-hero-alt .WaLayoutItem:first-child { padding: 26px 26px 10px !important; }
  .zoneContent .icf-hero.icf-hero-alt .WaLayoutItem:last-child  { padding: 10px 26px 34px !important; }
}

/* PARTNERS / SPONSORS BOX */

.zoneContent .icf-partners {
  background: #2b379b;                 /* Blue -- change here or per-card */
  border-radius: 24px;
  padding: 44px 48px;
  margin-bottom: 40px;
  text-align: center;                  /* no !important: the editor's align buttons still win */
}

.zoneContent .WaCustomLayoutContainer.icf-partners {
  background: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.zoneContent .icf-partners p { margin: 0 !important; }
.zoneContent .icf-partners p > br:last-child { display: none !important; }


.zoneContent .icf-partners h1,
.zoneContent .icf-partners h1.promo,
.zoneContent .icf-partners h2,
.zoneContent .icf-partners h3 {
  color: #ffffff !important;
  text-transform: none !important;
  margin: 0 0 40px !important;
}
.zoneContent .icf-partners p,
.zoneContent .icf-partners .gadgetContentEditableArea { color: #ffffff !important; }

/* the logo row: 3 across */
.zoneContent .icf-partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
  align-items: center;
}

/* every logo sits on an equal-height white plate, whatever its aspect ratio */
.zoneContent .icf-partners-logos img {
  width: 100% !important;
  height: 96px !important;
  object-fit: contain !important;
  display: block !important;
  background: #ffffff !important;      /* works for transparent PNGs too */
  border-radius: 12px !important;
  padding: 14px 20px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* ---- 3-ACROSS LOGO WALL (8+ logos) ----
   Same box, same plates. Add  icf-logos-3col  next to  icf-partners-logos  in
   the custom-layout HTML and the grid is fixed at three columns: 8 logos =
   3 + 3 + 2, the ninth cell simply stays empty. Two across on phones. */
.zoneContent .icf-partners-logos.icf-logos-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) {
  .zoneContent .icf-partners-logos.icf-logos-3col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 420px) {
  .zoneContent .icf-partners-logos.icf-logos-3col { grid-template-columns: 1fr; }
}

/* clear WA gadget chrome inside the box */
.zoneContent .icf-partners .WaGadget,
.zoneContent .icf-partners .gadgetStyleBody,
.zoneContent .icf-partners [class*="gadgetStyle"] {
  background: transparent !important;
  border: none !important;
}

/* CTA button */
.zoneContent .icf-partners-cta { margin-top: 32px; }
.zoneContent .icf-partners a.stylizedButton {
  background-color: #5778fa !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 30px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color .2s ease;
}
.zoneContent .icf-partners a.stylizedButton:hover { background-color: #212251 !important; }

@media (max-width: 767px) {
  .zoneContent .icf-partners { padding: 40px 24px; border-radius: 18px; }
  .zoneContent .icf-partners h1,
  .zoneContent .icf-partners h2,
  .zoneContent .icf-partners h3 { margin-bottom: 28px !important; }
  .zoneContent .icf-partners-cta { margin-top: 28px; }
}

/* EVENTS PAGE -- past events list */

/* "Switch to Calendar View" mpre spcce */
.tn-event-cards.WaGadgetEventsStateList .pageTitleOuterContainer,
.tn-event-cards.WaGadgetEventsStateCalendar .pageTitleOuterContainer {
  float: none !important;
  clear: both !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: right !important;
}

/* the empty <h1> that only carried the (hidden) RSS icon still adds its margin.
   Scoped to the LIST state so real event-detail titles are untouched. */
.tn-event-cards.WaGadgetEventsStateList h1.pageTitle,
.tn-event-cards.WaGadgetEventsStateCalendar h1.pageTitle {
  margin: 0 !important;
  line-height: 0 !important;
}

/* PAST EVENTS: the preferred way to remove them is the gadget's own
   "Show past events" setting (gear on the events gadget) -- that stops WA from
   sending the 400+ rows at all. If that setting is unavailable, uncomment:
.tn-event-cards .pastEventsOuterContainer { display: none !important; }
*/

/* strip the theme's rounded-corner scaffolding around the past block */
.tn-event-cards .pastEventsOuterContainer .cornersContainer { display: none !important; }
.tn-event-cards .pastEventsOuterContainer { margin-top: 56px !important; }

.tn-event-cards table.pastEventsList {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}
.tn-event-cards table.pastEventsList tr {
  border-bottom: 1px solid rgba(33, 34, 81, .12) !important;
}
.tn-event-cards table.pastEventsList td {
  padding: 14px 12px !important;
  vertical-align: top !important;
  background: none !important;
  border: 0 !important;
}
/* the date column */
.tn-event-cards table.pastEventsList td.left {
  width: 175px !important;
  white-space: nowrap !important;
  color: #2b379b !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.tn-event-cards a.pastEventLink {
  color: #212251 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}
.tn-event-cards a.pastEventLink:hover {
  color: #2b379b !important;
  text-decoration: underline !important;
}

/* on phones, stack the date above the title instead of a cramped 2-col table */
@media (max-width: 600px) {
  .tn-event-cards table.pastEventsList,
  .tn-event-cards table.pastEventsList tbody,
  .tn-event-cards table.pastEventsList tr,
  .tn-event-cards table.pastEventsList td {
    display: block !important;
    width: 100% !important;
  }
  .tn-event-cards table.pastEventsList td.left {
    padding: 12px 0 0 !important;
    font-size: 13px !important;
  }
  .tn-event-cards table.pastEventsList td { padding: 2px 0 12px !important; }
}



/* ==========================================================================
   INNER-PAGE HERO  --  class:  icf-hero icf-hero-pages
   A modifier on the homepage hero (same as icf-hero-alt / icf-hero-light),
   so it inherits the card background, radius, white text and button styling.
   Differences: 40% text / 60% image, and the photo is a fixed 250px band.
   Column widths are forced here so every page matches -- dragging the divider
   in the editor will have no effect (that is deliberate).
   ========================================================================== */

.zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:first-child {
  width: 40% !important;
  padding: 36px 24px 36px 44px !important;
}
.zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:last-child {
  width: 60% !important;
  padding: 24px 24px 24px 12px !important;
}

/* the photo: always a 250px band, cropped to fill, never distorted */
.zoneContent .icf-hero.icf-hero-pages img {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 18px !important;
}

/* headline sits tighter than the big homepage hero */
.zoneContent .icf-hero.icf-hero-pages h1,
.zoneContent .icf-hero.icf-hero-pages h1.promo,
.zoneContent .icf-hero.icf-hero-pages h2,
.zoneContent .icf-hero.icf-hero-pages h3 {
  margin: 0 0 18px !important;
}

@media (max-width: 991px) {
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:first-child { padding: 30px 18px 30px 32px !important; }
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:last-child  { padding: 20px 20px 20px 10px !important; }
  .zoneContent .icf-hero.icf-hero-pages img { height: 210px !important; }
}

/* stacked on phones -- the forced 40/60 has to be released here */
@media (max-width: 767px) {
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:first-child,
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:last-child {
    width: 100% !important;
  }
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:first-child { padding: 30px 24px 12px !important; }
  .zoneContent .icf-hero.icf-hero-pages .WaLayoutItem:last-child  { padding: 8px 24px 28px !important; }
  .zoneContent .icf-hero.icf-hero-pages img { height: 180px !important; }
}


/* ==========================================================================
   EVENTS -- CALENDAR VIEW  (.WaGadgetEventsStateCalendar, month grid)
   Same gadget, same tn-event-cards class; these rules only match the
   calendar state so the card list is untouched.
   Category colours come from the small script in  wa-calendar-colors.html
   (Custom HTML gadget under the calendar): it reads each event's tags and
   adds  icf-cat-<name>  to the chip. The colours themselves live HERE.
   ========================================================================== */

/* ---- toolbar: Week / Month / Year  |  < Prev / Today / Next > ---- */
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 0 20px !important;
  overflow: visible !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable #group1,
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable #group2 {
  float: none !important;
  display: inline-flex !important;
  width: auto !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #212251 !important;         /* Deep Blue segmented pill */
}
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] {
  display: block !important;
  width: auto !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] a,
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] span {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 22px !important;
  background: transparent !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: .06em !important;
  line-height: 44px !important;
  height: 44px !important;
  transition: background-color .15s ease, color .15s ease;
}
/* the theme paints the labels with ::before + text-indent; keep that, size it */
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] > *:before {
  line-height: 44px !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] a:hover {
  background: #2b379b !important;
  color: #ffffff !important;
}
/* the active view (a <span>, not a link) */
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] span,
.tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] span:hover {
  background: #5778fa !important;
  color: #ffffff !important;
  margin-left: 0 !important;
}

/* ---- the month grid ---- */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;   /* same shadow as the cards */
}
/* day-name header row: deep blue, white, centred */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td.EventListCalendarHeader {
  background: #212251 !important;          /* Deep Blue */
  color: #ffffff !important;
  text-align: center !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 14px 10px !important;
  border: 0 !important;
}

/* WA builds each WEEK as two table rows:
     row A = one <td> per day holding a NESTED <table> with the day number
     row B = one <td> per day holding the event chips
   The two must read as one cell. Only the OUTER cells are styled below
   (direct children of the calendar's rows); nested cells are reset to nothing. */

/* outer cells, both rows */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"] {
  height: auto !important;
  padding: 8px 8px 2px !important;
  vertical-align: top !important;
  border: 0 !important;
  border-right: 1px solid #eef0f6 !important;
  background: #ffffff !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"]:last-child {
  border-right: 0 !important;
}
/* row A (has the nested table) carries the week separator */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"]:has(> table) {
  border-top: 1px solid #eef0f6 !important;
}
/* row B (no nested table) carries the height, no top line */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"]:not(:has(> table)) {
  height: 76px !important;
  padding: 0 8px 8px !important;
  border-top: 0 !important;
}
/* the nested date table and its cells: invisible scaffolding */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > table,
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > table td {
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
/* days that belong to the previous / next month (outer cells only) */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td.EventListCalendarItemInactive {
  background: #fcfbf9 !important;
}
/* day number */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar a.calendarDate {
  display: inline-block !important;
  min-width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  text-align: center !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #212251 !important;
  text-decoration: none !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td.EventListCalendarItemInactive a.calendarDate {
  color: #b5b8cc !important;
  font-weight: 500 !important;
}
/* today = filled light-blue badge (theme made it grey) */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td.EventListCalendarItemSelected a.calendarDate {
  background: #5778fa !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* ---- event chips ---- */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"] > div {
  margin: 4px 0 0 !important;
  padding: 6px 9px !important;
  border-radius: 8px !important;
  background: #212251 !important;          /* default when no category matches */
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  white-space: normal !important;          /* theme: nowrap + ellipsis = "Energized and Effe..." */
  cursor: pointer;
  transition: filter .15s ease;
}
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div:hover,
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar .eventDivItem:hover {
  filter: brightness(1.12) !important;
  background-color: inherit;               /* keep the category colour on hover (theme: #5bc7ff) */
}
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div .eventTime {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  text-transform: uppercase !important;
  opacity: .85;
  margin-bottom: 2px !important;
}
/* title: up to 2 lines, then ellipsis */
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div > div:not(.eventTime) {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  white-space: normal !important;
}
.tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div a {
  color: inherit !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* ---- CATEGORY COLOURS (class added by wa-calendar-colors.html) ----
   Light text on the blues; deep-blue text on cyan and yellow for contrast. */
.tn-event-cards .icf-cat-chapter-meeting { background: #2b379b !important; color: #ffffff !important; }
.tn-event-cards .icf-cat-networking      { background: #00b7d4 !important; color: #212251 !important; }
.tn-event-cards .icf-cat-virtual         { background: #5778fa !important; color: #ffffff !important; }
.tn-event-cards .icf-cat-conference      { background: #efcb30 !important; color: #212251 !important; }
.tn-event-cards .icf-cat-workshop        { background: #212251 !important; color: #ffffff !important; }

/* ---- legend (also built by the script) ---- */
.tn-event-cards .icf-cal-legend {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 20px !important;
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #212251 !important;
}
.tn-event-cards .icf-cal-legend li { display: inline-flex !important; align-items: center !important; gap: 8px !important; margin: 0 !important; padding: 0 !important; }
.tn-event-cards .icf-cal-legend i  { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

/* ---- calendar on phones ---- */
@media (max-width: 767px) {
  .tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable #group1,
  .tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable #group2 { width: 100% !important; justify-content: center !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] { flex: 1 1 0 !important; text-align: center !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] a,
  .tn-event-cards.WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*="Button"] span { width: 100% !important; padding: 0 !important; font-size: 11px !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"] { padding: 5px 3px 0 !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar > tbody > tr > td[class*="EventListCalendarItem"]:not(:has(> table)) { height: 52px !important; padding: 0 3px 5px !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div { padding: 4px 5px !important; font-size: 10.5px !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td > div .eventTime { display: none !important; }
  .tn-event-cards.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar a.calendarDate { min-width: 24px !important; height: 24px !important; line-height: 24px !important; font-size: 12px !important; }
}

/* ==========================================================================
   EVENT DETAILS PAGE -- the When / Location / Registration sidebar
   This is a separate gadget instance on the "Event details" system page and
   does NOT carry tn-event-cards, so it is scoped to the theme's own state class.
   ========================================================================== */
.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer {
  border-radius: 16px !important;          /* same radius as the event cards */
  overflow: hidden !important;
}
.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer {
  border-radius: 16px !important;
  padding: 24px !important;                /* theme: 20px */
}
.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .cornersContainer { display: none !important; }

.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer {
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;
}

/* ==========================================================================
   BENEFIT TILES  (Member Benefits page)
   Build: WA THREE-COLUMN layouts (class  icf-benefits-row ), one Content
   gadget per benefit. Each gadget = an H3 title + a paragraph, and gets TWO
   classes in its CSS-class field:   icf-benefit  icf-icon-<name>
   The icon is drawn by CSS from the Font Awesome Pro kit the site already
   loads -- nothing to upload, and swapping an icon = changing the class.
   ========================================================================== */

/* the row */
.zoneContent .icf-benefits-row .WaLayoutTable { width: 100% !important; table-layout: fixed !important; }
.zoneContent .icf-benefits-row .WaLayoutItem  { vertical-align: top !important; box-sizing: border-box !important; padding: 0 !important; }
.zoneContent .icf-benefits-row,
.zoneContent .icf-benefits-row .WaLayoutItem,
.zoneContent .icf-benefits-row .WaGadget,
.zoneContent .icf-benefits-row .gadgetStyleBody { background: transparent !important; }

/* the tile */
.zoneContent .WaGadgetContent.icf-benefit {
  position: relative !important;
  margin: 0 0 36px !important;
  padding: 26px 60px 0 0 !important;              /* right padding = room for the icon */
  border-top: 1px solid rgba(33, 34, 81, .14) !important;   /* the thin rule above each tile */
}
.zoneContent .WaGadgetContent.icf-benefit .gadgetStyleBody { padding: 0 !important; }

/* icon, top-right, light (outline) weight like the reference */
.zoneContent .WaGadgetContent.icf-benefit::before {
  content: "\f005";                                 /* fallback star -- overridden by icf-icon-* */
  position: absolute;
  top: 24px;
  right: 0;
  width: 44px;
  text-align: center;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;                                 /* 300 = light/outline, 400 = regular, 900 = solid */
  font-size: 30px;
  line-height: 1;
  color: #5778fa;                                   /* Light Blue */
  pointer-events: none;
}

/* title + copy */
.zoneContent .WaGadgetContent.icf-benefit h3,
.zoneContent .WaGadgetContent.icf-benefit h2,
.zoneContent .WaGadgetContent.icf-benefit h4 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  margin: 0 0 12px !important;
  text-transform: none !important;
}
.zoneContent .WaGadgetContent.icf-benefit p {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #4a4c6a !important;
  margin: 0 0 10px !important;
}
.zoneContent .WaGadgetContent.icf-benefit p:last-child { margin-bottom: 0 !important; }
.zoneContent .WaGadgetContent.icf-benefit p > br:last-child { display: none !important; }

/* ---- icon per benefit: add ONE of these next to icf-benefit ---- */
.icf-icon-education::before   { content: "\f19d" !important; }  /* graduation cap  -- Continuing Education        */
.icf-icon-networking::before  { content: "\f0c0" !important; }  /* users           -- Networking & Community       */
.icf-icon-probono::before     { content: "\f4be" !important; }  /* hand + heart    -- Pro Bono / Volunteer         */
.icf-icon-promo::before       { content: "\f559" !important; }  /* award           -- ICF Promotional Materials    */
.icf-icon-referrals::before   { content: "\f2b5" !important; }  /* handshake       -- Business Referrals           */
.icf-icon-discounts::before   { content: "\f145" !important; }  /* ticket          -- Event Discounts              */
.icf-icon-advocacy::before    { content: "\f0a1" !important; }  /* bullhorn        -- Advocacy Support             */
.icf-icon-partners::before    { content: "\f295" !important; }  /* percent         -- Global Partner Discounts     */
.icf-icon-members::before     { content: "\f2c2" !important; }  /* id card         -- Members-Only Content         */
.icf-icon-research::before    { content: "\f518" !important; }  /* open book       -- Coaching Research            */
.icf-icon-social::before      { content: "\f086" !important; }  /* comments        -- Social Media Channels        */
/* spares */
.icf-icon-calendar::before    { content: "\f274" !important; }
.icf-icon-globe::before       { content: "\f0ac" !important; }
.icf-icon-lightbulb::before   { content: "\f0eb" !important; }
.icf-icon-chart::before       { content: "\f201" !important; }
.icf-icon-heart::before       { content: "\f004" !important; }
/* Member Resources groupings */
.icf-icon-practice::before    { content: "\f0b1" !important; }  /* briefcase       -- Build Your Practice          */
.icf-icon-tools::before       { content: "\f552" !important; }  /* toolbox         -- Coaching Tools               */
.icf-icon-credential::before  { content: "\f0a3" !important; }  /* certificate     -- Credentialing and Ethics     */
.icf-icon-recordings::before  { content: "\f144" !important; }  /* play button     -- Recordings                   */
.icf-icon-howto::before       { content: "\f059" !important; }  /* question circle -- Membership How-To            */
.icf-icon-governance::before  { content: "\f66f" !important; }  /* landmark        -- Chapter Governance           */
.icf-icon-compass::before     { content: "\f14e" !important; }  /* compass         -- alt for Coaching Tools       */
.icf-icon-shield::before      { content: "\f2f7" !important; }  /* shield + check  -- alt for Credentialing        */

/* phones: the theme stacks the three cells; keep the rhythm tight */
@media (max-width: 767px) {
  .zoneContent .WaGadgetContent.icf-benefit { margin-bottom: 4px !important; padding-top: 22px !important; }
  .zoneContent .WaGadgetContent.icf-benefit::before { font-size: 26px; top: 20px; }
}

/* ==========================================================================
   MEMBERSHIP APPLICATION  --  "Select membership level" step
   (Become a Member page). Scoped to the gadget's own state class; later
   wizard steps (contact details, payment) are left to the theme.
   ========================================================================== */
.WaGadgetMembershipApplicationStateSelectLevel .commonMessageBox { display: none !important; }  /* cookies warning box, shown only to bots */

/* "Select membership level" heading -- Nunito, no rule under it, no "* Mandatory fields" */
.WaGadgetMembershipApplicationStateSelectLevel .formTitleOuterContainer { margin: 0 0 22px !important; color: #212251 !important; }
.WaGadgetMembershipApplicationStateSelectLevel .formTitleContainer { border: 0 !important; padding: 0 !important; }
.WaGadgetMembershipApplicationStateSelectLevel h3.formTitle {
  float: none !important;
  font: 600 28px/1.25 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-transform: none !important;
}
.WaGadgetMembershipApplicationStateSelectLevel .mandatoryFieldsTitle,
.WaGadgetMembershipApplicationStateSelectLevel .fieldLabel { display: none !important; }   /* the duplicated "* Membership level" label */

/* the two options side by side as cards */
.WaGadgetMembershipApplicationStateSelectLevel .standAloneGroupContainer { margin: 0 !important; }
.WaGadgetMembershipApplicationStateSelectLevel .groupBodyVertical {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
}
.WaGadgetMembershipApplicationStateSelectLevel .fieldItem {
  position: relative !important;
  margin: 0 !important;
  padding: 24px 24px 24px 56px !important;
  background: #ffffff !important;
  border: 2px solid transparent !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;
  cursor: pointer !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.WaGadgetMembershipApplicationStateSelectLevel .fieldItem:hover { box-shadow: 0 4px 14px rgba(33, 34, 81, .18) !important; }
/* the chosen card lights up (the radio is inside, so :has() reads it) */
.WaGadgetMembershipApplicationStateSelectLevel .fieldItem:has(input:checked) {
  border-color: #5778fa !important;
  box-shadow: 0 4px 14px rgba(87, 120, 250, .25) !important;
}
/* radio: brand colour, parked top-left of the card */
.WaGadgetMembershipApplicationStateSelectLevel .typeRadioContainer {
  float: none !important;
  position: absolute !important;
  top: 27px; left: 22px;
  width: auto !important;
  margin: 0 !important;
}
.WaGadgetMembershipApplicationStateSelectLevel input.typeRadio { width: 20px; height: 20px; margin: 0; accent-color: #2b379b; cursor: pointer; }
/* the whole card is the click target */
.WaGadgetMembershipApplicationStateSelectLevel .fieldItem .label,
.WaGadgetMembershipApplicationStateSelectLevel label.levelProperties { display: block !important; cursor: pointer !important; }

/* text inside the card */
.WaGadgetMembershipApplicationStateSelectLevel .levelProperties .textLine { display: block !important; }
.WaGadgetMembershipApplicationStateSelectLevel .labelTitle {
  display: block !important;
  font: 600 18px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  margin-bottom: 6px !important;
}
.WaGadgetMembershipApplicationStateSelectLevel .labelSubTitle,
.WaGadgetMembershipApplicationStateSelectLevel .levelPrice {
  display: block !important;
  font: 700 24px/1.2 'Plus Jakarta Sans', Arial, sans-serif !important;
  color: #2b379b !important;
  margin: 0 0 12px !important;
}
.WaGadgetMembershipApplicationStateSelectLevel .typeInstruction,
.WaGadgetMembershipApplicationStateSelectLevel .levelRenewal,
.WaGadgetMembershipApplicationStateSelectLevel .levelRecurring {
  font: 500 13px/1.5 'Plus Jakarta Sans', Arial, sans-serif !important;
  font-style: normal !important;
  color: #6b6e8f !important;
  width: auto !important;
  max-width: none !important;
}
.WaGadgetMembershipApplicationStateSelectLevel .extraInfo { margin-top: 10px !important; padding-top: 10px !important; border-top: 1px solid rgba(33, 34, 81, .1) !important; }
.WaGadgetMembershipApplicationStateSelectLevel .levelDescription { font-size: 14px !important; line-height: 1.55 !important; color: #4a4c6a !important; font-style: normal !important; }

/* Next -> the site's pill button, right-aligned */
.WaGadgetMembershipApplicationStateSelectLevel .navigationOuterContainer { margin: 28px 0 0 !important; }
.WaGadgetMembershipApplicationStateSelectLevel .navigationOuterContainer .right { float: right !important; margin: 0 !important; }
.WaGadgetMembershipApplicationStateSelectLevel input.nextButton {
  float: none !important;
  min-width: 0 !important;
  padding: 12px 32px !important;
  background: #2b379b !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font: 600 15px/1.4 'Plus Jakarta Sans', Arial, sans-serif !important;
  cursor: pointer;
}
.WaGadgetMembershipApplicationStateSelectLevel input.nextButton:hover { background: #212251 !important; color: #ffffff !important; }

/* ==========================================================================
   BENEFITS ACCORDION  (wa-benefits-accordion.html in a Custom HTML gadget)
   <details>/<summary> -- WildApricot's own documented expand/collapse. The
   icf-icon-* classes are the same ones the benefit tiles use.
   ========================================================================== */
.zoneContent .icf-accordion { margin: 8px 0 32px !important; }
.zoneContent .icf-accordion details {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .12);
  margin: 0 0 10px;
  padding: 0 22px 0 64px;                 /* left room for the icon */
  overflow: hidden;
  transition: box-shadow .15s ease;
}
.zoneContent .icf-accordion details:hover,
.zoneContent .icf-accordion details[open] { box-shadow: 0 4px 14px rgba(33, 34, 81, .16); }
/* the icon, drawn by the same icf-icon-* classes as the tiles */
.zoneContent .icf-accordion details::before {
  content: "\f005";
  position: absolute;
  top: 17px; left: 22px;
  width: 26px;
  text-align: center;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 22px;
  line-height: 1;
  color: #5778fa;
  pointer-events: none;
}
.zoneContent .icf-accordion summary {
  list-style: none;                       /* no default triangle */
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font: 600 17px/1.3 'Nunito', Arial, sans-serif;
  color: #212251;
  position: relative;
  outline: none;
}
.zoneContent .icf-accordion summary::-webkit-details-marker { display: none; }
/* our own chevron, rotates when open */
.zoneContent .icf-accordion summary::after {
  content: "\f078";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 13px;
  color: #5778fa;
  transition: transform .2s ease;
}
.zoneContent .icf-accordion details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.zoneContent .icf-accordion details p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4c6a;
}
/* the tiles' right-side icon rules must not fire on <details> */
.zoneContent .icf-accordion details.icf-benefit::before { right: auto; }

@media (max-width: 767px) {
  .zoneContent .icf-accordion details { padding-left: 54px; padding-right: 16px; }
  .zoneContent .icf-accordion details::before { left: 16px; font-size: 20px; top: 16px; }
  .zoneContent .icf-accordion summary { font-size: 16px; padding: 15px 30px 15px 0; }
}

/* ==========================================================================
   MEMBERSHIP TIER CARDS  --  class  icf-tiers  on a 2- or 3-COLUMN LAYOUT
   Each column becomes a white card; one Content gadget per column:
     Heading 4  = optional small badge ("For ICF Global members")
     Heading 3  = tier name            Heading 2 = price ("$75 / year")
     paragraph  = who it is for        bulleted list = what it includes (check marks)
     button     = Insert link > Style  (sits at the bottom of the card)
   Optional: class  icf-tier-featured  on ONE gadget turns its card deep blue.
   Cards are always equal height; the buttons line up along the bottom.
   ========================================================================== */
.zoneContent .icf-tiers .WaLayoutTable,
.zoneContent .icf-tiers .WaLayoutTable > tbody { display: block !important; width: 100% !important; }
.zoneContent .icf-tiers .WaLayoutRow {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}
.zoneContent .icf-tiers .WaLayoutSeparator { display: none !important; }

/* the card = the column itself, so every card in the row is the same height */
.zoneContent .icf-tiers .WaLayoutItem {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 28px 26px 26px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;
}
/* wrappers between the column and the text stretch, so the button can sit at the bottom */
.zoneContent .icf-tiers .WaLayoutItem > .WaLayoutPlaceHolder,
.zoneContent .icf-tiers .WaLayoutPlaceHolder > div,
.zoneContent .icf-tiers .WaGadgetContent,
.zoneContent .icf-tiers .WaGadgetContent > .gadgetStyleBody {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}
.zoneContent .icf-tiers .gadgetStyleBody > :has(a.stylizedButton) { margin: auto 0 0 !important; padding-top: 22px !important; text-align: center !important; }
.zoneContent .icf-tiers p > br:last-child { display: none !important; }

/* badge (Heading 4) */
.zoneContent .icf-tiers h4 {
  align-self: flex-start;
  margin: 0 0 14px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: #efcb30 !important;            /* Yellow -- accent only */
  color: #212251 !important;
  font: 700 11px/1.4 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
/* tier name (Heading 3) */
.zoneContent .icf-tiers h3 {
  margin: 0 0 6px !important;
  font: 600 20px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-transform: none !important;
}
/* price (Heading 2) */
.zoneContent .icf-tiers h2 {
  margin: 0 0 12px !important;
  font: 700 32px/1.15 'Plus Jakarta Sans', Arial, sans-serif !important;
  color: #2b379b !important;
  text-transform: none !important;
}
.zoneContent .icf-tiers p {
  margin: 0 0 14px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  color: #4a4c6a !important;
}
/* what is included (bulleted list) -> check marks */
.zoneContent .icf-tiers ul {
  list-style: none !important;
  margin: 4px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(33, 34, 81, .1) !important;
}
/* The editor's Indent button wraps a list INSIDE another list (<ul><ul><li>),
   and each <ul> drew its own divider -- the double line. Only the outermost
   list draws one; nested lists add no line, padding or indent. Also: a stray
   <hr>, a list with no items, a second list in the same card, and empty
   headings/paragraphs left behind by the editor are neutralised. */
.zoneContent .icf-tiers ul ul {
  border-top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.zoneContent .icf-tiers hr,
.zoneContent .icf-tiers ul:not(:has(li)),
.zoneContent .icf-tiers .gadgetStyleBody > h1:empty,
.zoneContent .icf-tiers .gadgetStyleBody > h2:empty,
.zoneContent .icf-tiers .gadgetStyleBody > h3:empty,
.zoneContent .icf-tiers .gadgetStyleBody > h4:empty,
.zoneContent .icf-tiers .gadgetStyleBody > p:empty,
.zoneContent .icf-tiers .gadgetStyleBody > strong:has(> br:only-child) { display: none !important; }
.zoneContent .icf-tiers .gadgetStyleBody > ul ~ ul { border-top: 0 !important; padding-top: 0 !important; margin-top: 0 !important; }

.zoneContent .icf-tiers li {
  position: relative !important;
  margin: 0 0 8px !important;
  padding: 0 0 0 26px !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #212251 !important;
}
.zoneContent .icf-tiers li::before {
  content: "\f00c";                          /* check */
  position: absolute; left: 0; top: 1px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 14px;
  color: #5778fa;
}
/* full-width pill button */
.zoneContent .icf-tiers a.stylizedButton {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* ---- featured card: icf-tier-featured on the gadget ---- */
.zoneContent .icf-tiers .WaLayoutItem:has(.icf-tier-featured) {
  background: #212251 !important;
  box-shadow: 0 8px 24px rgba(33, 34, 81, .28) !important;
}
.zoneContent .icf-tiers .icf-tier-featured h3,
.zoneContent .icf-tiers .icf-tier-featured h2,
.zoneContent .icf-tiers .icf-tier-featured p,
.zoneContent .icf-tiers .icf-tier-featured li { color: #ffffff !important; }
.zoneContent .icf-tiers .icf-tier-featured ul { border-top-color: rgba(255, 255, 255, .2) !important; }
.zoneContent .icf-tiers .icf-tier-featured li::before { color: #efcb30; }
.zoneContent .icf-tiers .icf-tier-featured a.stylizedButton { background: #5778fa !important; }
.zoneContent .icf-tiers .icf-tier-featured a.stylizedButton:hover { background: #ffffff !important; color: #212251 !important; }

/* phones: one card per row */
@media (max-width: 767px) {
  .zoneContent .icf-tiers .WaLayoutRow { grid-template-columns: 1fr !important; gap: 16px !important; }
  .zoneContent .icf-tiers .WaLayoutItem { padding: 24px 22px !important; }
  .zoneContent .icf-tiers h2 { font-size: 28px !important; }
}


/* ==========================================================================
   VIDEO EMBED  --  class  icf-video  on a Custom HTML gadget
   Paste the YouTube or Vimeo embed code as-is. Whatever width/height the
   code carries, the player fills its column at 16:9, rounded like the
   site's photos. Put the title, date and speaker in a Content gadget
   directly under it.
   ========================================================================== */
.zoneContent .icf-video { margin: 0 0 12px !important; }
.zoneContent .icf-video iframe,
.zoneContent .icf-video video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #212251 !important;          /* shows while the player loads */
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;
}
/* Vimeo's "responsive" embed wraps the iframe in a padding-hack div -- neutralise it */
.zoneContent .icf-video div[style*="padding"] { padding: 0 !important; position: static !important; }
.zoneContent .icf-video div[style*="padding"] > iframe { position: static !important; }


/* TOPIC CARDS - Member Resources page
   Layout class  icf-topics  on a THREE-COLUMN layout (one layout per row of 3).
   One Content gadget per column, CSS class  icf-topic icf-icon-<name>, holding:
     Heading 3          = topic title
     normal paragraph   = one-line description
     LAST paragraph     = the footer: type the count, then insert the link
                          example:  "4 resources  Explore"  (Explore = a link)
 */
.zoneContent .icf-topics { margin-bottom: 24px !important; }
.zoneContent .icf-topics .WaLayoutTable,
.zoneContent .icf-topics .WaLayoutTable > tbody { display: block !important; width: 100% !important; }
.zoneContent .icf-topics .WaLayoutRow {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  width: 100% !important;
}
.zoneContent .icf-topics .WaLayoutSeparator { display: none !important; }

/* the card = the column, so every card in the row is the same height */
.zoneContent .icf-topics .WaLayoutItem {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 30px 28px 24px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.zoneContent .icf-topics .WaLayoutItem:hover {
  border-color: #c9d2f5 !important;
  box-shadow: 0 6px 18px rgba(33, 34, 81, .10) !important;
}
/* wrappers stretch so the footer can sit on the card's bottom edge */
.zoneContent .icf-topics .WaLayoutItem > .WaLayoutPlaceHolder,
.zoneContent .icf-topics .WaLayoutPlaceHolder > div,
.zoneContent .icf-topics .WaGadgetContent,
.zoneContent .icf-topics .WaGadgetContent > .gadgetStyleBody {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}

/* icon in a soft rounded square (the gadget's ::before is the first item of the card) */
.zoneContent .icf-topics .WaGadgetContent.icf-topic::before {
  content: "\f005";                        /* fallback star -- set by icf-icon-* */
  align-self: flex-start;
  width: 52px;
  height: 52px;
  margin: 0 0 22px;
  border-radius: 12px;
  background: #e8edfb;                     /* light tint of Light Blue */
  color: #2b379b;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;                        /* outline style */
  font-size: 22px;
  line-height: 52px;
  text-align: center;
}

/* title + description */
.zoneContent .icf-topics .icf-topic h3,
.zoneContent .icf-topics .icf-topic h2 {
  margin: 0 0 10px !important;
  font: 600 21px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-transform: none !important;
}
.zoneContent .icf-topics .icf-topic p {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #4a4c6a !important;
}
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > :empty { display: none !important; }

/* footer = the LAST paragraph that holds a link: count left, link right,
   divider above, pinned to the bottom of the card */
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type:has(a) {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: auto 0 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid #eceef4 !important;
  font-size: 14.5px !important;
  color: #6b6e8f !important;
}
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type:has(a) br { display: none !important; }
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type a {
  color: #2b379b !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type a:hover { color: #5778fa !important; }
/* arrow for links inside the site, "opens out" icon for links to other sites */
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type a::after {
  content: "\f061";
  margin-left: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: .85em;
}
.zoneContent .icf-topics .icf-topic .gadgetStyleBody > p:last-of-type a[href^="http"]:not([href*="icfaustin.org"])::after {
  content: "\f35d";
}

/* tablet: three narrower cards still fit; phones: one per row */
@media (max-width: 767px) {
  .zoneContent .icf-topics { margin-bottom: 16px !important; }
  .zoneContent .icf-topics .WaLayoutRow { grid-template-columns: 1fr !important; gap: 16px !important; }
  .zoneContent .icf-topics .WaLayoutItem { padding: 24px 22px 20px !important; }
}


/* ==========================================================================
   RESOURCE LIST - inner Member Resources pages (Coaching Tools, Governance...)
   Build: ONE Content gadget, CSS class  icf-resources , holding a normal
   editor TABLE with 3 columns (toolbar Table icon > create, no header row):
     column 1 = the tag          Template, Worksheet, PDF, Guide, Page, ICF Global...
     column 2 = the resource     line 1 = title (make it the LINK, or Bold)
                                 line 2 = short description (Shift+Enter)
     column 3 = "Updated Oct 2026", or a link such as coachingfederation.org
   Add / delete rows with the same Table icon. A normal paragraph in the
   gadget (above or below the table) is the page description.
   ========================================================================== */
.zoneContent .icf-resources { margin-bottom: 32px !important; }

/* page description = plain paragraphs outside the table */
.zoneContent .icf-resources .gadgetStyleBody > p { margin: 0 0 20px !important; color: #4a4c6a !important; }
.zoneContent .icf-resources .gadgetStyleBody > table + p { margin: 22px 0 0 !important; }

/* the table = a white card on the Bone page (WA's dialog borders/spacing/widths are neutralised) */
.zoneContent .icf-resources table {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
}
.zoneContent .icf-resources table > tbody,
.zoneContent .icf-resources table > thead { display: block !important; width: 100% !important; }

/* each row = tag | title + description | date */
.zoneContent .icf-resources tr {
  display: grid !important;
  grid-template-columns: 170px minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 28px !important;
  height: auto !important;
  padding: 22px 28px !important;
  border: 0 !important;
  border-bottom: 1px solid #eceef4 !important;
  background: transparent !important;
  transition: background-color .15s ease;
}
.zoneContent .icf-resources tr:last-child { border-bottom: 0 !important; }
.zoneContent .icf-resources tr:hover { background: rgba(87, 120, 250, .05) !important; }
.zoneContent .icf-resources tr > td,
.zoneContent .icf-resources tr > th {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
  vertical-align: middle !important;
  font-size: 15.5px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #4a4c6a !important;
}
.zoneContent .icf-resources td p,
.zoneContent .icf-resources th p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

/* column 1: the tag pill (same width on every row, so the titles line up) */
.zoneContent .icf-resources tr > :first-child {
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: #e8edfb !important;
  color: #212251 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}
.zoneContent .icf-resources tr > :first-child:empty { background: transparent !important; }

/* column 2: title = the first link or bold text, description = the rest */
.zoneContent .icf-resources tr > :nth-child(2) > :is(a, strong, b):first-child,
.zoneContent .icf-resources tr > :nth-child(2) > :is(strong, b):first-child a,
.zoneContent .icf-resources tr > :nth-child(2) > p:first-child :is(a, strong, b) {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  color: #212251 !important;
  text-decoration: none !important;
}
.zoneContent .icf-resources tr:hover > :nth-child(2) a { color: #2b379b !important; }
.zoneContent .icf-resources tr > :nth-child(2) a:hover { text-decoration: underline !important; }

/* column 3: date, or a link -- links to other sites get the "opens out" icon */
.zoneContent .icf-resources tr > :nth-child(3) {
  justify-self: end !important;
  text-align: right !important;
  white-space: nowrap !important;
  font-size: 15px !important;
}
.zoneContent .icf-resources tr > :nth-child(3) a { color: #4a4c6a !important; text-decoration: none !important; }
.zoneContent .icf-resources tr > :nth-child(3) a:hover { color: #2b379b !important; text-decoration: underline !important; }
.zoneContent .icf-resources tr > :nth-child(3) a[href^="http"]:not([href*="icfaustin.org"])::after {
  content: "\f35d";
  display: inline-block;
  margin-left: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: .85em;
}

/* if someone ticks "first row as headers": small grey labels instead of a pill */
.zoneContent .icf-resources tr:has(> th) { padding-top: 12px !important; padding-bottom: 12px !important; background: transparent !important; }
.zoneContent .icf-resources tr > th,
.zoneContent .icf-resources tr > th:first-child {
  padding: 0 !important;
  background: transparent !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: #6b6e8f !important;
}

@media (max-width: 991px) {
  .zoneContent .icf-resources tr { grid-template-columns: 140px minmax(0, 1fr) auto !important; column-gap: 20px !important; padding: 20px 22px !important; }
}
/* phones: tag on top, then title + description, then the date */
@media (max-width: 767px) {
  .zoneContent .icf-resources tr {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 8px !important;
    padding: 18px 18px !important;
  }
  .zoneContent .icf-resources tr > :first-child { justify-self: start !important; padding: 5px 14px !important; font-size: 13px !important; }
  .zoneContent .icf-resources tr > :nth-child(3) {
    justify-self: start !important;
    text-align: left !important;
    white-space: normal !important;
    font-size: 14px !important;
  }
  .zoneContent .icf-resources tr > th:not(:nth-child(2)) { display: none !important; }
}


/* ==========================================================================
   NOTE BOX - a tinted info strip, usable on any page
   Build: a Content gadget, CSS class  icf-note , with one short paragraph.
   Default icon is an "i" in a circle; add  icf-icon-<name>  to change it.
   ========================================================================== */
.zoneContent .WaGadgetContent.icf-note {
  display: flex !important;
  align-items: baseline !important;        /* icon sits on the text's first line, even when the note wraps */
  gap: 12px !important;
  margin: 0 0 20px !important;
  padding: 11px 20px !important;
  border-radius: 12px !important;
  background: #eef2fc !important;
}
.zoneContent .WaGadgetContent.icf-note::before {
  content: "\f05a";                        /* circle-info -- overridden by icf-icon-* */
  flex: 0 0 auto;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
  color: #212251;
  position: relative;
  top: .125em;                             /* Font Awesome's own offset to centre an icon on a line of text */
}
.zoneContent .WaGadgetContent.icf-note .gadgetStyleBody { flex: 1 1 auto !important; min-width: 0 !important; padding: 0 !important; background: transparent !important; }
.zoneContent .WaGadgetContent.icf-note p { margin: 0 0 6px !important; font-size: 15.5px !important; line-height: 1.5 !important; color: #212251 !important; }
.zoneContent .WaGadgetContent.icf-note p:last-child { margin-bottom: 0 !important; }
.zoneContent .WaGadgetContent.icf-note p > br:last-child { display: none !important; }
@media (max-width: 767px) {
  .zoneContent .WaGadgetContent.icf-note { gap: 10px !important; padding: 10px 16px !important; }
}


/* ==========================================================================
   FIND A COACH -- directory LIST  (.WaGadgetMemberDirectoryStateList)
   WildApricot's own gadget; nothing to change in the editor.
   WA draws each coach as TWO table rows:
     row 1 = photo / name / website | specialties | credential
     row 2 (bottomrow) = years coaching
   Row 1 becomes the top of a card, row 2 its footer, and :nth-child keeps the
   pair in the same grid column (3 across, 2 on tablets, 1 on phones).
   ========================================================================== */
.WaGadgetMemberDirectoryStateList .cornersContainer,
.WaGadgetMemberDirectoryStateList .clearEndContainer { display: none !important; }

/* ---- filter boxes: Coaching Specialty / Years / Global Member / Credential ---- */
.WaGadgetMemberDirectoryStateList .browsingColumnsOuterContainer,
.WaGadgetMemberDirectoryStateList .browsingColumnsInnerContainer { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.WaGadgetMemberDirectoryStateList table.browsingColumns { display: block !important; width: 100% !important; margin: 0 !important; border: 0 !important; }
.WaGadgetMemberDirectoryStateList table.browsingColumns > tbody {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 20px !important;
}
.WaGadgetMemberDirectoryStateList table.browsingColumns tr { display: contents !important; }
/* heading cell + list cell read as one white card */
.WaGadgetMemberDirectoryStateList table.browsingColumns th {
  display: block !important;
  margin: 0 !important;
  padding: 18px 20px 10px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-bottom: 0 !important;
  border-radius: 16px 16px 0 0 !important;
  width: auto !important;
  text-align: left !important;
  font: 600 16px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
}
.WaGadgetMemberDirectoryStateList table.browsingColumns td {
  display: block !important;
  margin: 0 !important;
  padding: 0 10px 14px 12px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px !important;
  width: auto !important;
  vertical-align: top !important;
}
.WaGadgetMemberDirectoryStateList .filterOptions {
  height: auto !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
  scrollbar-width: thin;
  scrollbar-color: #c9d2f5 transparent;
}
.WaGadgetMemberDirectoryStateList ul.filterList { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.WaGadgetMemberDirectoryStateList ul.filterList li { margin: 0 !important; padding: 0 !important; background: none !important; }
.WaGadgetMemberDirectoryStateList ul.filterList li::before { content: none !important; }
.WaGadgetMemberDirectoryStateList a.optionLink {
  display: block !important;
  padding: 5px 10px !important;
  border-radius: 8px !important;
  color: #212251 !important;
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: background-color .12s ease, color .12s ease;
}
.WaGadgetMemberDirectoryStateList a.optionLink:hover { background: #eef2fc !important; color: #2b379b !important; }
/* the chosen filter value + "Change" */
.WaGadgetMemberDirectoryStateList .selectedFilter { padding: 4px 8px !important; }
.WaGadgetMemberDirectoryStateList .selectedFilter .selectedName {
  display: inline-block !important;
  margin: 0 10px 6px 0 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: #2b379b !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.WaGadgetMemberDirectoryStateList .selectedFilter a.changeValue { font-size: 13.5px !important; font-weight: 600 !important; color: #2b379b !important; }

/* "Advanced search..." */
.WaGadgetMemberDirectoryStateList .advSearchContainerLink { margin: 14px 0 0 !important; }
.WaGadgetMemberDirectoryStateList .advSearchContainerLink * { background: transparent !important; border: 0 !important; padding: 0 !important; }
.WaGadgetMemberDirectoryStateList .advSearchContainerLink a { font-size: 14px !important; font-weight: 600 !important; color: #2b379b !important; text-decoration: none !important; }
.WaGadgetMemberDirectoryStateList .advSearchContainerLink a:hover { text-decoration: underline !important; }

/* ---- search bar: Search [_____]  Found: 116  ...  Show: [1-50] ---- */
.WaGadgetMemberDirectoryStateList .memberDirectorySearchAreaOuterContainer {
  margin: 24px 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.WaGadgetMemberDirectoryStateList .memberDirectorySearchArea .inner {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 16px !important;
  padding: 12px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetMemberDirectoryStateList .memberDirectorySearchArea label { margin: 0 !important; font-weight: 600 !important; color: #212251 !important; }
.WaGadgetMemberDirectoryStateList .memberDirectorySearchArea input[type="text"] {
  box-sizing: border-box !important;
  width: min(340px, 100%) !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d5daea !important;
  border-radius: 999px !important;
  background: #f8f9fc !important;
  font-size: 15px !important;
  color: #212251 !important;
  outline: none !important;
}
.WaGadgetMemberDirectoryStateList .memberDirectorySearchArea input[type="text"]:focus {
  border-color: #5778fa !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(87, 120, 250, .18) !important;
}
.WaGadgetMemberDirectoryStateList .memberDirectorySearchArea .searchResult {
  display: flex !important;
  flex: 1 1 260px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  float: none !important;
  font-size: 14.5px !important;
  color: #4a4c6a !important;
}
.WaGadgetMemberDirectoryStateList #membersFound { font-style: normal !important; font-weight: 700 !important; color: #2b379b !important; }
.WaGadgetMemberDirectoryStateList #idReloadData img { opacity: .55; border-radius: 0 !important; }
.WaGadgetMemberDirectoryStateList #idPagingData { float: none !important; margin-left: auto !important; }
.WaGadgetMemberDirectoryStateList #idPagingData select,
.WaGadgetMemberDirectoryStateList #idPagingData2 select {
  height: 38px !important;
  margin-left: 6px !important;
  padding: 0 12px !important;
  border: 1px solid #d5daea !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  font-size: 14px !important;
  color: #212251 !important;
  cursor: pointer;
}
.WaGadgetMemberDirectoryStateList #idPagingData2 { display: block; margin: 8px 0 0 !important; text-align: right !important; color: #4a4c6a !important; }

/* ---- the coach cards ---- */
.WaGadgetMemberDirectoryStateList .memberDirectoryOuterContainer,
.WaGadgetMemberDirectoryStateList .memberDirectoryContainer,
.WaGadgetMemberDirectoryStateList .memberDirectoryContainer .inner { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
.WaGadgetMemberDirectoryStateList table.membersTable {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.WaGadgetMemberDirectoryStateList table.membersTable > thead { display: none !important; }   /* column titles: the cards label themselves */
.WaGadgetMemberDirectoryStateList table.membersTable > tbody {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row dense !important;
  column-gap: 24px !important;
  row-gap: 0 !important;
}
/* keep each coach's two rows in the same column (6 rows = one line of 3 cards) */
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+1),
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+2) { grid-column: 1 !important; }
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+3),
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+4) { grid-column: 2 !important; }
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+5),
.WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(6n+6) { grid-column: 3 !important; }

.WaGadgetMemberDirectoryStateList table.membersTable tr {
  box-sizing: border-box !important;
  margin: 0 0 24px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
  cursor: pointer;
  transition: border-color .15s ease;
}
.WaGadgetMemberDirectoryStateList table.membersTable tr.hover { border-color: #b9c5f5 !important; }
.WaGadgetMemberDirectoryStateList table.membersTable td {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}
/* card top */
.WaGadgetMemberDirectoryStateList table.membersTable tr:not([bottomrow]) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 22px 22px 18px !important;
}
.WaGadgetMemberDirectoryStateList table.membersTable tr:not([bottomrow]):has(+ tr[bottomrow]) {
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
  border-radius: 16px 16px 0 0 !important;
}
/* card footer */
.WaGadgetMemberDirectoryStateList table.membersTable tr[bottomrow] {
  display: block !important;
  padding: 13px 22px 15px !important;
  border-top-color: #eef0f6 !important;
  border-radius: 0 0 16px 16px !important;
}

/* photo + name + website -- only when column 1 holds several values (Find a Coach).
   A directory that shows just the name (committee page) is handled further down. */
.WaGadgetMemberDirectoryStateList table.membersTable td.memberDirectoryColumn1:has(> .memberValue ~ .memberValue) {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  grid-template-rows: 1fr auto auto 1fr !important;   /* centres name (+ website) beside the photo */
  column-gap: 14px !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 > .memberValue { grid-column: 2 !important; margin: 0 !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 > .memberValue:first-child { grid-column: 1 !important; grid-row: 1 / -1 !important; align-self: center !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 > .memberValue:nth-child(2) {
  grid-row: 2 !important;
  font: 600 18px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  transition: color .15s ease;
}
.WaGadgetMemberDirectoryStateList tr.hover td.memberDirectoryColumn1 > .memberValue:nth-child(2) { color: #2b379b !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 > .memberValue:nth-child(3) {
  grid-row: 3 !important;
  margin-top: 2px !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  color: #6b6e8f !important;
  white-space: nowrap !important;          /* long addresses: one line, cut with ... */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 > .memberValue a:not(:has(img)) { color: #2b379b !important; text-decoration: none !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 h5 { margin: 0 !important; padding: 0 !important; line-height: 0 !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1 h5 img {
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}
/* no photo: WA prints "View details" -- shown as a round placeholder instead */
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1:has(> .memberValue ~ .memberValue) > .memberValue:first-child h5 a:not(:has(img)) {
  display: block !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: #e8edfb !important;
  font-size: 0 !important;
  color: #2b379b !important;
  text-align: center !important;
  text-decoration: none !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1:has(> .memberValue ~ .memberValue) > .memberValue:first-child h5 a:not(:has(img))::before {
  content: "\f007";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 24px;
  line-height: 64px;
}

/* name-only directory (e.g. How to Join a Committee): the single value IS the
   name, printed as a link -- person icon on the left, name in Nunito */
.WaGadgetMemberDirectoryStateList table.membersTable td.memberDirectoryColumn1:not(:has(> .memberValue ~ .memberValue)) {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1:not(:has(> .memberValue ~ .memberValue))::before {
  content: "\f007";
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8edfb;
  color: #2b379b;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 18px;
  line-height: 44px;
  text-align: center;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1:not(:has(> .memberValue ~ .memberValue)) h5 { line-height: 1.3 !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn1:not(:has(> .memberValue ~ .memberValue)) h5 a {
  font: 600 17px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-decoration: none !important;
  transition: color .15s ease;
}
.WaGadgetMemberDirectoryStateList tr.hover td.memberDirectoryColumn1:not(:has(> .memberValue ~ .memberValue)) h5 a { color: #2b379b !important; }
.WaGadgetMemberDirectoryStateList table.membersTable tr:not([bottomrow]):not(:has(> td.memberDirectoryColumn2)):not(:has(+ tr[bottomrow])) { padding: 16px 20px !important; }

/* filter boxes the directory doesn't use stay hidden (empty heading + no options) */
.WaGadgetMemberDirectoryStateList .browsingColumnsMainContainer:not(:has(a.optionLink)) { display: none !important; }
.WaGadgetMemberDirectoryStateList table.browsingColumns:has(#idF1Row:not(:has(a.optionLink))) :is(#idF1Head, #idF1Row),
.WaGadgetMemberDirectoryStateList table.browsingColumns:has(#idF2Row:not(:has(a.optionLink))) :is(#idF2Head, #idF2Row),
.WaGadgetMemberDirectoryStateList table.browsingColumns:has(#idF3Row:not(:has(a.optionLink))) :is(#idF3Head, #idF3Row),
.WaGadgetMemberDirectoryStateList table.browsingColumns:has(#idF4Row:not(:has(a.optionLink))) :is(#idF4Head, #idF4Row) { display: none !important; }

/* specialties */
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn2 { font-size: 14px !important; line-height: 1.55 !important; color: #4a4c6a !important; word-break: normal !important; overflow-wrap: break-word !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn2::before {
  content: "Specialties";
  display: block;
  margin-bottom: 5px;
  font: 700 11.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8a8da8;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn2 .memberValue {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn2:empty { display: none !important; }

/* credential (when the column has a value): yellow badge, top-right of the card */
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn3:empty { display: none !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn3:not(:empty) { position: absolute !important; top: 20px !important; right: 20px !important; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryColumn3 .memberValue {
  padding: 3px 10px !important;
  border-radius: 999px !important;
  background: #efcb30 !important;
  color: #212251 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}
.WaGadgetMemberDirectoryStateList tr:has(> td.memberDirectoryColumn3:not(:empty)) > td.memberDirectoryColumn1 { padding-right: 52px !important; }

/* footer: years coaching + "View profile" */
.WaGadgetMemberDirectoryStateList td.memberDirectoryBottomRow .mainDiv {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #4a4c6a !important;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryBottomRow .mainDiv::before {
  content: "\f017";                        /* clock */
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 14px;
  color: #5778fa;
}
.WaGadgetMemberDirectoryStateList td.memberDirectoryBottomRow .mainDiv:not(:has(.memberValue:not(:empty)))::before { content: none; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryBottomRow .memberValue + .memberValue::before { content: "\00B7"; margin-right: 8px; color: #b5b8cc; }
.WaGadgetMemberDirectoryStateList td.memberDirectoryBottomRow .mainDiv::after {
  content: "View profile \2192";
  margin-left: auto;
  font-weight: 700;
  color: #2b379b;
  white-space: nowrap;
}

/* tablet: 2 across */
@media (max-width: 991px) {
  .WaGadgetMemberDirectoryStateList table.browsingColumns > tbody { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(-n+2) { grid-row: 1 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(-n+2) { grid-row: 2 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(n+3) { grid-row: 3 !important; margin-top: 16px !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(n+3) { grid-row: 4 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns :is(th, td):nth-child(odd) { grid-column: 1 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns :is(th, td):nth-child(even) { grid-column: 2 !important; }

  .WaGadgetMemberDirectoryStateList table.membersTable > tbody { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 18px !important; }
  .WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(4n+1),
  .WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(4n+2) { grid-column: 1 !important; }
  .WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(4n+3),
  .WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(4n+4) { grid-column: 2 !important; }
}
/* phones: 1 across, filter boxes stacked and shorter */
@media (max-width: 600px) {
  .WaGadgetMemberDirectoryStateList table.browsingColumns > tbody { grid-template-columns: minmax(0, 1fr) !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns :is(th, td):nth-child(n) { grid-column: 1 !important; }   /* :nth-child(n) = outranks the tablet odd/even rule */
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(1) { grid-row: 1 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(1) { grid-row: 2 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(2) { grid-row: 3 !important; margin-top: 12px !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(2) { grid-row: 4 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(3) { grid-row: 5 !important; margin-top: 12px !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(3) { grid-row: 6 !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns th:nth-child(4) { grid-row: 7 !important; margin-top: 12px !important; }
  .WaGadgetMemberDirectoryStateList table.browsingColumns td:nth-child(4) { grid-row: 8 !important; }
  .WaGadgetMemberDirectoryStateList .filterOptions { max-height: 150px !important; }

  .WaGadgetMemberDirectoryStateList table.membersTable > tbody { grid-template-columns: minmax(0, 1fr) !important; }
  .WaGadgetMemberDirectoryStateList tbody:has(> tr[bottomrow]) > tr:nth-child(n) { grid-column: 1 !important; }
  .WaGadgetMemberDirectoryStateList table.membersTable tr { margin-bottom: 16px !important; }
  .WaGadgetMemberDirectoryStateList .memberDirectorySearchArea input[type="text"] { width: 100% !important; }
  .WaGadgetMemberDirectoryStateList #idPagingData { margin-left: 0 !important; }
}


/* ==========================================================================
   FIND A COACH -- coach PROFILE page  (/Sys/PublicProfile/...)
   WA nests every field ~20 wrappers deep. Those wrappers are flattened with
   display:contents so the name, photo and fields become items of ONE grid:
     photo on the left | name + Send message, three fact tiles, then cards.
   Fields are picked by their WA field id (idContainer<number>), which is the
   same on every coach's profile. A field added later just joins the cards.
   ========================================================================== */
.WaGadgetMemberPublicProfileStateMain .pageTitleOuterContainer { float: none !important; margin: 0 0 22px !important; }
.WaGadgetMemberPublicProfileStateMain .pageBackContainer a {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #2b379b !important;
  text-decoration: none !important;
}
.WaGadgetMemberPublicProfileStateMain .pageBackContainer a::before {
  content: "\f060";                        /* arrow-left */
  margin-right: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
}
.WaGadgetMemberPublicProfileStateMain .pageBackContainer a:hover { text-decoration: underline !important; }

/* one grid; every wrapper in between steps aside */
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer {
  display: grid !important;
  grid-template-columns: 280px repeat(3, minmax(0, 1fr)) !important;
  column-gap: 16px !important;
  align-items: start !important;
  background: transparent !important;
  border: 0 !important;
}
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(.memberDirectoryDetailsContainer, .d1, .d2, .d3, .d4, .d5, .d6, .d7, .d8, .d9, .inner, .formOuterContainer, .formContainer, .generalFieldsOuterContainer, .generalFieldsContainer, .sectionOuterContainer, .sectionContainer) {
  display: contents !important;
}
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(.memberDirectoryDetailsContainer, .d1, .d2, .d3, .d4, .d5, .d6, .d7, .d8, .d9, .inner, .formOuterContainer, .formContainer, .generalFieldsOuterContainer, .generalFieldsContainer, .sectionOuterContainer, .sectionContainer)::before,
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(.memberDirectoryDetailsContainer, .d1, .d2, .d3, .d4, .d5, .d6, .d7, .d8, .d9, .inner, .formOuterContainer, .formContainer, .generalFieldsOuterContainer, .generalFieldsContainer, .sectionOuterContainer, .sectionContainer)::after {
  content: none !important;
  display: none !important;
}
/* hidden: rounded-corner scaffolding, section captions, empty spacer rows,
   and First / Last name (the name is already the page heading) */
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(.cornersContainer, .clearEndContainer, .captionOuterContainer, .fieldContainer[id=""]),
.WaGadgetMemberPublicProfileStateMain #idContainer3275138,
.WaGadgetMemberPublicProfileStateMain #idContainer3275139 { display: none !important; }

/* name + Send message */
.WaGadgetMemberPublicProfileStateMain .profileHeaderContainer { grid-column: 2 / -1 !important; order: 0; margin: 0 0 20px !important; }
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsHeaderContainer { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsHeaderContainer h2 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 20px !important;
  margin: 0 !important;
  font: 600 34px/1.2 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-transform: none !important;
}
.WaGadgetMemberPublicProfileStateMain .sendMailButtonContainer { margin: 0 !important; float: none !important; }

/* the photo: left column, stays in view while the page scrolls */
.WaGadgetMemberPublicProfileStateMain #idContainer3384645 {
  grid-column: 1 !important;
  grid-row: 1 / span 40 !important;
  position: sticky !important;
  top: 24px !important;
  margin: 0 20px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.WaGadgetMemberPublicProfileStateMain #idContainer3384645 .fieldLabel { display: none !important; }
.WaGadgetMemberPublicProfileStateMain #idContainer3384645 img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 4px rgba(33, 34, 81, .15) !important;
}

/* every field = a white card in the right-hand column */
.WaGadgetMemberPublicProfileStateMain .fieldContainer {
  grid-column: 2 / -1 !important;
  order: 50;
  box-sizing: border-box !important;
  margin: 0 0 16px !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetMemberPublicProfileStateMain .fieldContainer .fieldSubContainer { display: block !important; margin: 0 !important; padding: 0 !important; }
.WaGadgetMemberPublicProfileStateMain .fieldContainer .fieldLabel {
  float: none !important;
  width: auto !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  text-align: left !important;
  font: 700 11.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #8a8da8 !important;
}
.WaGadgetMemberPublicProfileStateMain .fieldContainer .fieldBody {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  color: #33354f !important;
  overflow-wrap: anywhere;
}
.WaGadgetMemberPublicProfileStateMain .fieldContainer .fieldBody a { color: #2b379b !important; }

/* reading order: facts, biography, meeting, specialties, methods, the rest */
.WaGadgetMemberPublicProfileStateMain #idContainer3654133,     /* Years Coaching    */
.WaGadgetMemberPublicProfileStateMain #idContainer10352271,    /* ICF Credential    */
.WaGadgetMemberPublicProfileStateMain #idContainer3654139 {    /* ICF Global Member */
  order: 10;
  grid-column: auto / span 1 !important;
  align-self: stretch !important;
  padding: 16px 18px !important;
}
.WaGadgetMemberPublicProfileStateMain :is(#idContainer3654133, #idContainer10352271, #idContainer3654139) .fieldBody {
  font: 600 20px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
}
.WaGadgetMemberPublicProfileStateMain #idContainer3384646 { order: 20; padding: 22px 26px !important; }   /* Biography */
.WaGadgetMemberPublicProfileStateMain #idContainer3384646 .fieldBody { font-size: 16.5px !important; }
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 { order: 25; }   /* Set a meeting */
.WaGadgetMemberPublicProfileStateMain #idContainer10352260 { order: 30; }   /* Coaching Specialty */
.WaGadgetMemberPublicProfileStateMain #idContainer10352727 { order: 40; }   /* Coaching Methods */
.WaGadgetMemberPublicProfileStateMain #idContainer3654131  { order: 45; }   /* Website */

/* "Set a meeting": a button instead of the long calendar address */
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 .fieldLabel { display: none !important; }
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 .fieldBody a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 26px !important;
  border-radius: 999px !important;
  background: #5778fa !important;
  font-size: 0 !important;                 /* hides the raw link text */
  text-decoration: none !important;
  transition: background-color .15s ease;
}
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 .fieldBody a::before {
  content: "\f274";                        /* calendar-check */
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 15px;
  color: #ffffff;
}
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 .fieldBody a::after {
  content: "Book a meeting";
  font: 600 15px/1.4 'Plus Jakarta Sans', Arial, sans-serif;
  color: #ffffff;
}
.WaGadgetMemberPublicProfileStateMain #idContainer15125282 .fieldBody a:hover { background: #2b379b !important; }

/* multi-choice answers (specialties, methods...) as chips */
.WaGadgetMemberPublicProfileStateMain .fieldBody ul.list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.WaGadgetMemberPublicProfileStateMain .fieldBody ul.list li { margin: 0 !important; padding: 0 !important; background: none !important; }
.WaGadgetMemberPublicProfileStateMain .fieldBody ul.list li::before { content: none !important; }
.WaGadgetMemberPublicProfileStateMain .fieldBody ul.list .label {
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: #eef2fc !important;
  color: #212251 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

/* coach without a photo: no left column */
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer:not(:has(#idContainer3384645)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer:not(:has(#idContainer3384645)) :is(.profileHeaderContainer, .fieldContainer) { grid-column: 1 / -1 !important; }
.WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer:not(:has(#idContainer3384645)) :is(#idContainer3654133, #idContainer10352271, #idContainer3654139) { grid-column: auto / span 1 !important; }

@media (max-width: 991px) {
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer { grid-template-columns: 220px repeat(3, minmax(0, 1fr)) !important; }
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsHeaderContainer h2 { font-size: 28px !important; }
}
/* phones: photo on top, then name, facts two across, then the cards */
@media (max-width: 767px) {
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer,
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer:not(:has(#idContainer3384645)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 12px !important; }
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(.profileHeaderContainer, .fieldContainer) { grid-column: 1 / -1 !important; }
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsOuterContainer :is(#idContainer3654133, #idContainer10352271, #idContainer3654139) { grid-column: auto / span 1 !important; }
  .WaGadgetMemberPublicProfileStateMain #idContainer3384645 {
    order: -1;
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    position: static !important;
    width: min(240px, 70%) !important;
    justify-self: center !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }
  .WaGadgetMemberPublicProfileStateMain .memberDirectoryDetailsHeaderContainer h2 { font-size: 26px !important; }
  .WaGadgetMemberPublicProfileStateMain .fieldContainer { padding: 16px 18px !important; margin-bottom: 12px !important; }
}


/* ==========================================================================
   MY PROFILE  (/Sys/Profile -- a signed-in member's own page)
   Gadget .WaGadgetContactProfile, one state class per tab:
     StateMain                = Profile + Email subscriptions
     StateEventRegistrations  = My event registrations
     StateFinances            = Invoices and payments
     StateDonations           = Donations
   WA shows / hides tabs, lists and "no records" messages with INLINE display
   styles, so nothing below forces `display` on those elements.
   The Edit-profile form is a different state and is left to the theme.
   ========================================================================== */
.WaGadgetContactProfile .cornersContainer,
.WaGadgetContactProfile .clearEndContainer { display: none !important; }
.WaGadgetContactProfile .topButtonsOuterContainer { margin: 0 0 22px !important; }

/* ---- tabs: one white pill bar, the current tab filled deep blue ---- */
.WaGadgetContactProfile .memberDetailsTabsOuterContainer { margin: 0 0 28px !important; }
.WaGadgetContactProfile ul.memberDetailsTabMenu {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  width: fit-content !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 5px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 999px !important;
}
.WaGadgetContactProfile ul.memberDetailsTabMenu li {
  position: relative !important;
  margin: 0 !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  font: 600 14.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  white-space: nowrap !important;
  transition: background-color .15s ease;
}
.WaGadgetContactProfile ul.memberDetailsTabMenu li:not(:has(a:not([style*="none"]), span:not([style*="none"]))) { display: none !important; }   /* empty CEU slot + tabs WA hides while editing */
.WaGadgetContactProfile ul.memberDetailsTabMenu li a,
.WaGadgetContactProfile ul.memberDetailsTabMenu li span { color: #4a4c6a !important; text-decoration: none !important; }
.WaGadgetContactProfile ul.memberDetailsTabMenu li a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole pill is clickable */
/* the CURRENT tab = the one showing its plain LABEL (a <span>) instead of a link.
   WA flips Profile / Email subscriptions with JavaScript and leaves the
   "selected" class behind, so the class can't be trusted -- the visible label can. */
.WaGadgetContactProfile ul.memberDetailsTabMenu li:has(a:not([style*="none"])):hover { background: #eef2fc !important; }
.WaGadgetContactProfile ul.memberDetailsTabMenu li:has(a:not([style*="none"])):hover a { color: #2b379b !important; }
.WaGadgetContactProfile ul.memberDetailsTabMenu li:has(span:not([style*="none"])) { background: #212251 !important; }
.WaGadgetContactProfile ul.memberDetailsTabMenu li:has(span:not([style*="none"])) span { color: #ffffff !important; }

/* ---- section headings ("Social network login", "Subscriptions"...) ---- */
.WaGadgetContactProfileStateMain .captionOuterContainer { margin: 34px 0 14px !important; padding: 0 !important; border: 0 !important; }
.WaGadgetContactProfileStateMain #idCaptionContainer0 { display: none !important; }   /* the unnamed first section */
.WaGadgetContactProfileStateMain .captionContainer .fieldLabel { display: none !important; }
.WaGadgetContactProfileStateMain .captionContainer .fieldBody { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.WaGadgetContactProfileStateMain .captionContainer h4 {
  margin: 0 !important;
  font: 600 20px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-transform: none !important;
}

/* ---- the profile details: one white card, fields two across ---- */
.WaGadgetContactProfileStateMain .sectionContainer .inner:has(> .fieldContainer) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px 32px !important;
  padding: 26px 28px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetContactProfileStateMain .sectionContainer .fieldContainer:not([id]):not(.simpleTextContainer),
.WaGadgetContactProfileStateMain .sectionContainer .fieldContainer[id=""]:not(.simpleTextContainer) { display: none !important; }   /* empty spacer rows */
.WaGadgetContactProfileStateMain .sectionContainer .fieldContainer { min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.WaGadgetContactProfileStateMain .sectionContainer .fieldSubContainer { display: block !important; margin: 0 !important; padding: 0 !important; }
.WaGadgetContactProfileStateMain .sectionContainer .fieldLabel {
  float: none !important;
  width: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  text-align: left !important;
  font: 700 11.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #8a8da8 !important;
}
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  color: #212251 !important;
  overflow-wrap: anywhere !important;
}
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody a { color: #2b379b !important; text-decoration: none !important; }
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody:not(:has(input:not([type="hidden"]), textarea, select)) > span:empty:not([class])::before { content: "\2014"; color: #b5b8cc; }   /* empty value shows a dash (view mode) */
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody ul.list { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0 !important; padding: 0 !important; list-style: none !important; }
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody ul.list li { margin: 0 !important; padding: 4px 12px !important; border-radius: 999px; background: #eef2fc; font-size: 14px; font-weight: 600; }

/* ---- Social network login: a white card row with a neat Google button ---- */
.WaGadgetContactProfileStateMain #socialLoginContainer {
  margin: 0 !important;
  padding: 16px 22px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetContactProfileStateMain #socialLoginContainer table { width: 100% !important; border-collapse: collapse !important; }
.WaGadgetContactProfileStateMain #socialLoginContainer td { padding: 6px 0 !important; border: 0 !important; vertical-align: middle !important; }
.WaGadgetContactProfileStateMain #socialLoginContainer td.left { width: 1% !important; padding-right: 24px !important; white-space: nowrap !important; }
.WaGadgetContactProfileStateMain #socialLoginContainer td.left .fieldLabel { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; text-align: left !important; font: 600 16px/1.3 'Nunito', Arial, sans-serif !important; color: #212251 !important; }
.WaGadgetContactProfileStateMain #socialLoginContainer td.right .fieldBody { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
.WaGadgetContactProfileStateMain #socialLoginContainer .socialLogin { width: auto !important; max-width: none !important; }
.WaGadgetContactProfileStateMain a.wa-authenticateLoginLink {
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  padding: 4px 18px 4px 6px !important;
  border: 1px solid #d5daea !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #212251 !important;
  font: 600 14px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  transition: border-color .15s ease, background-color .15s ease;
}
.WaGadgetContactProfileStateMain a.wa-authenticateLoginLink:hover { border-color: #5778fa !important; background: #f5f7fe !important; }
.WaGadgetContactProfileStateMain a.wa-authenticateLoginLink .authenticateLoginIcon { border-radius: 50% !important; }
.WaGadgetContactProfileStateMain a.wa-authenticateLoginLink .authenticateLoginText { padding-left: 8px !important; }

/* ---- Email subscriptions: one white card per subscription, status pill on the right ---- */
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldContainer {
  margin: 0 0 12px !important;
  padding: 18px 22px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldSubContainer {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldBody {
  order: 1;
  flex: 1 1 auto !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #4a4c6a !important;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldLabel {
  order: 2;
  flex: 0 0 auto !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldLabel:not(:has(*)) { display: none !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer [id$="_tailLabel"] { display: block !important; font: 600 16px/1.4 'Nunito', Arial, sans-serif !important; color: #212251 !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer [id$="_tailNote"] { display: block !important; margin-top: 2px !important; font-size: 14px !important; color: #6b6e8f !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer [id$="_tailNote"]:empty { display: none !important; }
/* status pill: green when subscribed, grey otherwise (WA's tick image is replaced) */
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .labeledImage {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  background: #eef0f6 !important;
  color: #4a4c6a !important;
  font: 600 13px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  white-space: nowrap !important;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .labeledImage:has(img[src*="icon-checked"]) { background: #e6f5ee !important; color: #1d7a4c !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .labeledImage:has(img[src*="icon-checked"])::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 12px;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .labeledImage img { display: none !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .labeledImage span { order: 2; }

/* ---- EDIT PROFILE (same StateMain class, but the fields hold inputs) ---- */
/* each field is a little table (label cell | input cell): stack it, label on top */
.WaGadgetContactProfileStateMain .sectionContainer .fieldSubContainer > table,
.WaGadgetContactProfileStateMain .sectionContainer .fieldSubContainer > table > tbody,
.WaGadgetContactProfileStateMain .sectionContainer .fieldSubContainer > table > tbody > tr,
.WaGadgetContactProfileStateMain .sectionContainer .fieldSubContainer > table > tbody > tr > td {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
/* form labels read better in normal case */
.WaGadgetContactProfileStateMain .sectionContainer .fieldContainer:has(.fieldBody :is(input:not([type="hidden"]), textarea, select)) .fieldLabel {
  margin-bottom: 7px !important;
  font: 600 14px/1.35 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #212251 !important;
}
.WaGadgetContactProfileStateMain .mandatorySymbol { margin-right: 3px !important; color: #d1435b !important; }
.WaGadgetContactProfileStateMain .fieldLabel strong { font-weight: inherit !important; }
.WaGadgetContactProfileStateMain .memberIdDescription { display: block; margin-top: 2px; font-size: 13px !important; color: #8a8da8 !important; }
/* text fields, boxes and dropdowns */
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input:not([type]), textarea, select) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid #d5daea !important;
  border-radius: 10px !important;
  background: #f8f9fc !important;
  font: 400 15px/1.4 'Plus Jakarta Sans', Arial, sans-serif !important;
  color: #212251 !important;
  outline: none !important;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody textarea { min-height: 110px !important; resize: vertical !important; }
.WaGadgetContactProfileStateMain .sectionContainer .fieldBody :is(input, textarea, select):focus {
  border-color: #5778fa !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(87, 120, 250, .18) !important;
}
.WaGadgetContactProfileStateMain :is(input[type="checkbox"], input[type="radio"]) { accent-color: #2b379b; width: 17px; height: 17px; vertical-align: -3px; }
/* long fields (address, bio, option lists) take the full card width */
.WaGadgetContactProfileStateMain .sectionContainer .fieldContainer:has(textarea, .fieldBody table, .fieldBody ul) { grid-column: 1 / -1 !important; }
/* validation messages (WA shows/hides them inline) */
.WaGadgetContactProfileStateMain .validationError { margin-top: 5px !important; font-size: 13px !important; font-weight: 600 !important; color: #c62f47 !important; }
.WaGadgetContactProfileStateMain [id$="editValidationSummary"]:has(*) {
  margin: 0 0 18px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  background: #fdecef !important;
  color: #a3243a !important;
  font-size: 14.5px !important;
}
/* "* Mandatory fields" -- a quiet note instead of a ruled heading */
.WaGadgetContactProfileStateMain .formTitleOuterContainer,
.WaGadgetContactProfileStateMain .formTitleContainer { margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; background: none !important; }
.WaGadgetContactProfileStateMain .mandatoryFieldsTitle { float: none !important; text-align: right !important; font-size: 13px !important; color: #8a8da8 !important; }
.WaGadgetContactProfileStateMain .mandatoryFieldsTitle strong { font-weight: 500 !important; }
/* subscriptions while editing: the checkbox + "Subscribed" sit on the right */
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .memberFormCheckBox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px 6px 10px !important;
  border: 1px solid #d5daea !important;
  border-radius: 999px !important;
  font: 600 13.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  color: #212251 !important;
  cursor: pointer;
}
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .memberFormCheckBox:has(input:checked) { border-color: #b7e0c9 !important; background: #e6f5ee !important; color: #1d7a4c !important; }
.WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .memberFormCheckBox label { margin: 0 !important; cursor: pointer; }
/* Save = blue pill (site default); Cancel = quiet outline pill */
.WaGadgetContactProfile .topButtonsContainer input + input,
.WaGadgetContactProfile .navigationContainer input + input { margin-left: 10px !important; }
.WaGadgetContactProfile input[id$="cancelButtonTop"],
.WaGadgetContactProfile input[id$="cancelButton"] {
  background: transparent !important;
  color: #2b379b !important;
  box-shadow: inset 0 0 0 1.5px #2b379b !important;
}
.WaGadgetContactProfile input[id$="cancelButtonTop"]:hover,
.WaGadgetContactProfile input[id$="cancelButton"]:hover { background: #eef2fc !important; color: #212251 !important; }

/* bottom link row (Change password) */
.WaGadgetContactProfile .navigationOuterContainer { margin: 24px 0 0 !important; }
.WaGadgetContactProfile .navigationOuterContainer a { font-weight: 600 !important; color: #2b379b !important; text-decoration: none !important; }
.WaGadgetContactProfile .navigationOuterContainer a:hover { text-decoration: underline !important; }

/* ---- the three list tabs: event registrations, invoices, donations ---- */
/* search / filter bar */
.WaGadgetContactProfile .genericListHeaderContainer { margin: 0 0 18px !important; }
.WaGadgetContactProfile .genericListHeaderContainer > table,
.WaGadgetContactProfile .genericListHeaderContainer > table > tbody { display: block !important; width: 100% !important; border: 0 !important; }
.WaGadgetContactProfile .genericListHeaderContainer > table > tbody > tr {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px 18px !important;
  padding: 14px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 16px !important;
}
.WaGadgetContactProfile .genericListHeaderContainer > table > tbody > tr:has(.eventHeaderLabel) { align-items: flex-end !important; }   /* labels sit above the fields here */
.WaGadgetContactProfile .genericListHeaderContainer td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; vertical-align: bottom !important; }
.WaGadgetContactProfile .genericListHeaderContainer td.searchBox:not(.eventSearch) { display: flex !important; align-items: center !important; gap: 10px !important; }
.WaGadgetContactProfile .genericListHeaderContainer .eventHeaderLabel,
.WaGadgetContactProfile .genericListHeaderContainer td.searchBox > .typeTextContainer {
  margin: 0 0 6px !important;
  font: 700 11.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #8a8da8 !important;
}
.WaGadgetContactProfile .genericListHeaderContainer td.searchBox:not(.eventSearch) > .typeTextContainer { margin: 0 !important; }
.WaGadgetContactProfile .genericListHeaderContainer input.typeTextBox,
.WaGadgetContactProfile .genericListHeaderContainer select {
  box-sizing: border-box !important;
  height: 40px !important;
  min-width: 200px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #d5daea !important;
  border-radius: 999px !important;
  background-color: #f8f9fc !important;
  font-size: 14.5px !important;
  color: #212251 !important;
  outline: none !important;
}
.WaGadgetContactProfile .genericListHeaderContainer input.typeTextBox:focus,
.WaGadgetContactProfile .genericListHeaderContainer select:focus { border-color: #5778fa !important; background-color: #ffffff !important; box-shadow: 0 0 0 3px rgba(87, 120, 250, .18) !important; }
.WaGadgetContactProfile .genericListHeaderContainer .infoContainer .typeTextContainer { font-size: 14.5px !important; color: #4a4c6a !important; }
.WaGadgetContactProfile :is(#idRecordsFound, #idRecordsFoundNumber) { font-style: normal !important; font-weight: 700 !important; color: #2b379b !important; }
.WaGadgetContactProfile .genericListHeaderContainer .reloadContainer img { opacity: .55; border-radius: 0 !important; }
.WaGadgetContactProfile .genericListHeaderContainer .pagingContainerTitle .typeTextContainer { font-size: 14px !important; color: #4a4c6a !important; }

/* the list itself: a white card */
.WaGadgetContactProfile table.genericListTable {
  width: 100% !important;
  margin: 0 0 20px !important;
  border: 1px solid #e3e6ef !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.WaGadgetContactProfile table.genericListTable thead th {
  margin: 0 !important;
  padding: 14px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid #eceef4 !important;
  background: #f8f9fc !important;
  font: 700 11.5px/1.3 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .07em !important;
  text-transform: uppercase !important;
  color: #6b6e8f !important;
  vertical-align: middle !important;
}
.WaGadgetContactProfile table.genericListTable tbody td {
  padding: 16px 20px !important;
  border: 0 !important;
  border-top: 1px solid #eef0f6 !important;
  background: transparent !important;
  font-size: 14.5px !important;
  line-height: 1.5 !important;
  color: #4a4c6a !important;
  vertical-align: top !important;
}
.WaGadgetContactProfile table.genericListTable tbody tr { border: 0 !important; }
.WaGadgetContactProfile table.genericListTable tbody tr:first-child td { border-top: 0 !important; }
.WaGadgetContactProfile table.genericListTable .rightAlign { text-align: right !important; }
.WaGadgetContactProfile table.genericListTable tbody tr[onclick],
.WaGadgetContactProfile table.genericListTable tbody tr.viewDetails { cursor: pointer; transition: background-color .15s ease; }
.WaGadgetContactProfile table.genericListTable tbody tr[onclick]:hover,
.WaGadgetContactProfile table.genericListTable tbody tr.viewDetails:hover { background: rgba(87, 120, 250, .05) !important; }
/* first column: event title / invoice link bold, the date under it smaller */
.WaGadgetContactProfile table.genericListTable td.firstTd > div:first-child,
.WaGadgetContactProfile table.genericListTable td.firstTd > div:first-child a,
.WaGadgetContactProfile table.genericListTable td.itemDescription > div:first-child a {
  font: 600 16px/1.35 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
  text-decoration: none !important;
}
.WaGadgetContactProfile table.genericListTable tbody tr:hover td.firstTd > div:first-child a,
.WaGadgetContactProfile table.genericListTable tbody tr:hover td.itemDescription > div:first-child a { color: #2b379b !important; }
.WaGadgetContactProfile table.genericListTable td.firstTd > div + div { margin-top: 3px !important; font-size: 13.5px !important; color: #6b6e8f !important; }
.WaGadgetContactProfile table.genericListTable td.lastTd > div:first-child { font-weight: 700 !important; color: #212251 !important; }
/* past / closed rows fade back */
.WaGadgetContactProfile table.genericListTable tr.grayedOut td,
.WaGadgetContactProfile table.genericListTable tr.grayedOut td *,
.WaGadgetContactProfile table.genericListTable tr.grayedOut td.lastTd > div:first-child,
.WaGadgetContactProfile table.genericListTable tr.grayedOut td:is(.firstTd, .itemDescription) > div:first-child a { color: #9a9cb3 !important; }
/* small pill buttons inside rows (Pay, Cancel, Continue...) */
.WaGadgetContactProfile table.genericListTable .buttonContainer { margin-top: 8px !important; }
.WaGadgetContactProfile table.genericListTable .buttonContainer input {
  margin: 0 0 0 6px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
}

/* empty list: a friendly dashed card (WA toggles it with an inline style) */
.WaGadgetContactProfile .typeTextLabelNoData {
  display: block;                          /* NOT !important -- WA's inline display:none must still win */
  padding: 36px 24px !important;
  border: 1px dashed #c9d2f5 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #6b6e8f !important;
}
.WaGadgetContactProfile .typeTextLabelNoData::before {
  content: "\f01c";                        /* inbox */
  display: block;
  margin-bottom: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  font-size: 26px;
  color: #5778fa;
}

@media (max-width: 767px) {
  .WaGadgetContactProfile ul.memberDetailsTabMenu { border-radius: 18px !important; }
  .WaGadgetContactProfile ul.memberDetailsTabMenu li { display: block !important; padding: 8px 14px !important; font-size: 14px !important; }
  .WaGadgetContactProfileStateMain .sectionContainer .inner:has(> .fieldContainer) { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; padding: 22px 20px !important; }
  .WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldSubContainer { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  .WaGadgetContactProfileStateMain #idMemberSubscriptionsContainer .fieldLabel { order: 0; }
  .WaGadgetContactProfile .genericListHeaderContainer input.typeTextBox,
  .WaGadgetContactProfile .genericListHeaderContainer select { min-width: 0 !important; width: 100% !important; }
  .WaGadgetContactProfile .genericListHeaderContainer td { flex: 1 1 100% !important; }
  /* the theme stacks each cell on phones: keep one divider per record, not per cell */
  .WaGadgetContactProfile table.genericListTable thead th { padding: 12px 16px !important; }
  .WaGadgetContactProfile table.genericListTable tbody td { padding: 3px 16px !important; border-top: 0 !important; text-align: left !important; }
  .WaGadgetContactProfile table.genericListTable tbody td:first-child { padding-top: 14px !important; }
  .WaGadgetContactProfile table.genericListTable tbody td:last-child { padding-bottom: 14px !important; }
  .WaGadgetContactProfile table.genericListTable tbody tr + tr td:first-child { border-top: 1px solid #eef0f6 !important; }
}


/* ==========================================================================
   TEAM CARDS - Leadership Team page
   Layout class  icf-team  on a THREE-COLUMN layout (one layout per row of 3).
   One Content gadget per column = one person, typed in this order:
     picture         Insert image, on its own line -- any size, cropped square here
     Heading 3       the role            ("President")
     bold paragraph  name + credentials  ("Cathy Morris, PCC, M.A., HCS")
     paragraph       link "Member Profile"
     paragraph       the email address as a link (Insert link > Email)
   Cards in a row are equal height; the links line up along the bottom.
   ========================================================================== */
.zoneContent .icf-team { margin-bottom: 24px !important; }
.zoneContent .icf-team .WaLayoutTable,
.zoneContent .icf-team .WaLayoutTable > tbody { display: block !important; width: 100% !important; }
.zoneContent .icf-team .WaLayoutRow {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
}
.zoneContent .icf-team .WaLayoutSeparator { display: none !important; }

/* the card = the column */
.zoneContent .icf-team .WaLayoutItem {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 18px 18px 20px !important;
  background: #ffffff !important;
  border: 1px solid #e3e6ef !important;
  border-radius: 18px !important;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.zoneContent .icf-team .WaLayoutItem:hover { border-color: #c9d2f5 !important; box-shadow: 0 6px 18px rgba(33, 34, 81, .10) !important; }
.zoneContent .icf-team .WaLayoutItem > .WaLayoutPlaceHolder,
.zoneContent .icf-team .WaLayoutPlaceHolder > div,
.zoneContent .icf-team .WaGadgetContent,
.zoneContent .icf-team .WaGadgetContent > .gadgetStyleBody {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
}
/* leftover empty lines from the editor */
.zoneContent .icf-team .gadgetStyleBody > :is(p, h2, h3, h4):empty,
.zoneContent .icf-team .gadgetStyleBody > :is(p, h2, h3, h4):has(> br:only-child) { display: none !important; }

/* the photo: same square crop for every size, focused a little above centre (faces) */
.zoneContent .icf-team .gadgetStyleBody img {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: 50% 22% !important;
  margin: 0 0 18px !important;
  border-radius: 14px !important;
  background: #eef2fc !important;
}
.zoneContent .icf-team .gadgetStyleBody p:has(> img) { margin: 0 !important; line-height: 0 !important; }
.zoneContent .icf-team .gadgetStyleBody img + br { display: none !important; }

/* role (Heading 3) -- small blue capitals; name (bold) -- the big line */
.zoneContent .icf-team .gadgetStyleBody :is(h2, h3, h4) {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font: 700 12.5px/1.35 'Plus Jakarta Sans', Arial, sans-serif !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #2b379b !important;
}
.zoneContent .icf-team .gadgetStyleBody p:has(> strong),
.zoneContent .icf-team .gadgetStyleBody > strong {
  display: block !important;
  margin: 0 0 16px !important;
}
.zoneContent .icf-team .gadgetStyleBody strong {
  font: 600 19px/1.3 'Nunito', Arial, sans-serif !important;
  color: #212251 !important;
}

/* links: the first one sits on the card's bottom edge, under a thin divider */
.zoneContent .icf-team .gadgetStyleBody > p:has(a):not(p:has(a) ~ *) {
  margin-top: auto !important;
  padding-top: 14px !important;
  border-top: 1px solid #eceef4 !important;
}
.zoneContent .icf-team .gadgetStyleBody > p:has(a) { margin-bottom: 6px !important; font-size: 14px !important; line-height: 1.45 !important; }
.zoneContent .icf-team .gadgetStyleBody a { text-decoration: none !important; }
.zoneContent .icf-team .gadgetStyleBody a[href*="PublicProfile"] { font-weight: 700 !important; color: #2b379b !important; }
.zoneContent .icf-team .gadgetStyleBody a[href*="PublicProfile"]::after {
  content: "\f061";
  margin-left: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: .85em;
}
.zoneContent .icf-team .gadgetStyleBody a[href^="mailto:"] { color: #4a4c6a !important; overflow-wrap: anywhere !important; }
.zoneContent .icf-team .gadgetStyleBody a[href^="mailto:"]::before {
  content: "\f0e0";                        /* envelope */
  margin-right: 8px;
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro";
  font-weight: 300;
  color: #5778fa;
}
.zoneContent .icf-team .gadgetStyleBody a:hover,
.zoneContent .icf-team .gadgetStyleBody a[href^="mailto:"]:hover { color: #5778fa !important; }

@media (max-width: 991px) {
  .zoneContent .icf-team .WaLayoutRow { gap: 16px !important; }
  .zoneContent .icf-team .gadgetStyleBody strong { font-size: 17px !important; }
}
/* phones: one per row, small round photo on the left, text on the right */
@media (max-width: 767px) {
  .zoneContent .icf-team { margin-bottom: 12px !important; }
  .zoneContent .icf-team .WaLayoutRow { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
  .zoneContent .icf-team .WaLayoutItem { padding: 16px !important; }
  .zoneContent .icf-team .WaGadgetContent > .gadgetStyleBody {
    display: grid !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    align-content: start !important;
  }
  .zoneContent .icf-team .gadgetStyleBody > * { grid-column: 2 !important; }
  .zoneContent .icf-team .gadgetStyleBody > :has(img),
  .zoneContent .icf-team .gadgetStyleBody > img { grid-column: 1 !important; grid-row: 1 / span 6 !important; align-self: start !important; }
  .zoneContent .icf-team .gadgetStyleBody img { margin: 0 !important; border-radius: 50% !important; }
  .zoneContent .icf-team .gadgetStyleBody p:has(> strong),
  .zoneContent .icf-team .gadgetStyleBody > strong { margin-bottom: 10px !important; }
  .zoneContent .icf-team .gadgetStyleBody > p:has(a):not(p:has(a) ~ *) { margin-top: 0 !important; padding-top: 10px !important; }
}
