  @import url("https://use.typekit.net/iia4uxa.css");

.reducedWidth {
  max-width: 900px;
   margin: 0 auto;
}
.WaGadgetContactProfile .topButtonsOuterContainer input.typeButton {
  background: #C45F3C;
}
/* SLIDER */
.camera_wrap {
      background: #163522;
}
#camera_wrap_gJvYKpa {
  margin-bottom: 0px;
}
.camera_thumbs {
  display: none;
}
.camera_commands, .camera_next, .camera_prev, .camera_commands:hover, .camera_next:hover, .camera_prev:hover {
        background: #163522;
}
/* END SLIDER */

  .WaGadgetCustomMenu.menuStyle002 ul li a:hover {
  color: #e17233;
  text-decoration: underline;
}

.WaGadgetLoginButton {
  max-width: 135px;
}

.WaContentDivider.dividerStyle001, .WaContentDivider.dividerStyle002 {
    height: 2px;
    margin: 1em 0;
    background: #f38c1c;
}
.homeTwoColumn > .WaLayoutTable > tbody > .WaLayoutRow > .WaLayoutItem {
  box-shadow: 0 0 15px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}
[class*='EditableArea'] ul li {
      margin: 0 0 0 1em;
}
  .chapterGradientBar {
  width: 100%;
  height: 6px;
  background: #3f7f91;
  );
}

/* Apply the offset to the outer gadget for either method */
.WaGadgetContent.offsetTitle,
.WaGadgetContent:has(> .gadgetStyleBody.offsetTitle) {
  margin: clamp(-100px, calc(-50px - 3.25vw), -50px) auto 0;
   position: relative;
  z-index: 2;
}

/* Prevent the checkbox class from also moving the inner body */
.WaGadgetContent > .gadgetStyleBody.offsetTitle {
  margin: 0;
}
/* Raise the section containing the overlapping title */
.zoneHeader3:has(.offsetTitle) {
  position: relative;
  z-index: 3;
  overflow: visible;
}

.zoneHeader3:has(.offsetTitle) > .WaPlaceHolder {
  position: relative;
  overflow: visible;
}
.vertAlign td {
  vertical-align: middle;
}

.heroCTA {
  max-width: 1000px; 
  margin: 0 auto; 
  margin-top:calc(-1 * clamp(120px, 15vw, 255px)); 
  border-radius: 5px; 
  padding: 0px 30px;
}
.homeHero {
  margin-top:-175px;
}
@media screen and (max-width: 768px) {
  .non-mobile {
    display: none;
  }

.homeHero {
  margin-top:0px;
}
}
/* HERO MASKS */
  .heroMask img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url("/resources/Theme/hero-mask.png");
  mask-image: url("/resources/Theme/hero-mask.png");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
  .subheroMask img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  -webkit-mask-image: url("/resources/Theme/sub-hero-mask.png");
  mask-image: url("/resources/Theme/sub-hero-mask.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

  .subheroMask2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  -webkit-mask-image: url("/resources/Theme/sub-hero-mask-2.png");
  mask-image: url("/resources/Theme/sub-hero-mask-2.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}






.subheroMask3 {
  position: relative;
  isolation: isolate;
  min-height: 500px;
}

.subheroMask3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background-color: #183f35;

  -webkit-mask-image: url("/resources/Theme/sub-hero-mask-3.png");
  mask-image: url("/resources/Theme/sub-hero-mask-3.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* END HERO MASKS */

/* ==========================================================
   1. BRAND VARIABLES
========================================================== */

:root {
  /* Core Brand Colors */
  --sotw-green: #0D3B24;
  --sotw-green-dark: #082A19;
  --sotw-green-soft: #1F5536;
  --sotw-cream: #F6EFE4;
  --sotw-cream-light: #FBF7EF;
  --sotw-paper: #F8F1E7;
  --sotw-orange: #C95A1A;
  --sotw-orange-dark: #A94513;
  --sotw-text: #1C211D;
  --sotw-muted: #6F6B61;
  --sotw-border: rgba(13, 59, 36, 0.18);
  --sotw-white: #FFFFFF;

  /* Chapter Accent Colors */
  --chapter-statewide: #C95A1A;
  --chapter-abilene: #B85C2E;
  --chapter-austin: #3F7F91;
  --chapter-bcs: #C79A3A;
  --chapter-dallas: #4F6673;
  --chapter-fort-worth: #A66A3F;
  --chapter-houston: #2F7D73;
  --chapter-midland: #B98238;
  --chapter-san-antonio: #C45F3C;

  /* Default Accent */
  --chapter-accent: var(--sotw-orange);

  /* Fonts */
  --font-promo: veneer-three, sans-serif; 
  --font-heading: "freight-sans-compressed-pro", "Freight Sans Compressed Pro", "Arial Narrow", sans-serif;
  --font-body: "freight-sans-pro", "Freight Sans Pro", Arial, sans-serif;

  /* Layout */
  --site-max: 1420px;
  --content-max: 1080px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 14px 35px rgba(13, 59, 36, 0.08);
  --shadow-card: 0 8px 24px rgba(13, 59, 36, 0.10);
}


/* ==========================================================
   2. GLOBAL RESET / BASE
   ========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--sotw-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


a {
  color: var(--sotw-orange);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--sotw-orange-dark);
}

p {
  margin: 0 0 1rem;
}

strong,
b {
  font-weight: 700;
}

::selection {
  background: var(--sotw-orange);
  color: var(--sotw-white);
}


/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.WaGadgetBlog .boxHeaderOuterContainer h4,
.WaGadgetEvents .boxHeaderOuterContainer h4,
.WaGadgetRecentBlogPosts .gadgetStyleTitle h4,
.WaGadgetUpcomingEvents .gadgetStyleTitle h4, .header, h1.header {
  font-family: var(--font-heading);
  color: var(--sotw-green);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
}
a.stylizedButton.buttonStyle001,
a.stylizedButton.buttonStyle002,
a.stylizedButton.buttonStyle003,
a.stylizedButton.buttonStyle004,
a.stylizedButton.buttonStyle005
{
font-family: var(--font-body);
border-radius: 5px;
font-weight: 700;
}
a.stylizedButton.buttonStyle001 {
background: var(--sotw-green-dark);
}
a.stylizedButton.buttonStyle001:hover {
background: var(--sotw-green-soft);
}

a.stylizedButton.buttonStyle002 {
background: var(--sotw-orange);
}
a.stylizedButton.buttonStyle002:hover {
background: var(--sotw-orange-dark);
}

a.stylizedButton.buttonStyle003 {
background: var(--sotw-cream);
color: var(--sotw-green-dark);
}
a.stylizedButton.buttonStyle003:hover {
background: var(--sotw-cream-light);
}

a.stylizedButton.buttonStyle004 {

color: var(--sotw-green-dark);
border: 1px solid var(--sotw-green-dark);
}
a.stylizedButton.buttonStyle004:hover {
border: 1px solid var(--sotw-orange);
color: var(--sotw-orange-dark);
background: transparent;
}

a.stylizedButton.buttonStyle005 {
color: var(--sotw-cream);
border: 1px solid var(--sotw-cream);
}
a.stylizedButton.buttonStyle005:hover {
background: var(--sotw-cream-light);
color: var(--sotw-orange)
}


.gadgetStyle002 :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .header
) {
  font-family: var(--font-heading);
  color: var(--sotw-white);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
}
.promo, h1.promo {
    font-family: var(--font-promo)!important;
    font-size: clamp(4rem, 8vw, 7.25rem)!important;
      color: var(--sotw-green);
      text-transform: none;
      font-weight: 400!important;
      text-transform: none!important;
      font-style: italic!important;
      line-height: 1!important;
      letter-spacing: -1.5px !important;
        text-transform: uppercase;
}
h1 {
  font-size: clamp(3rem, 6vw, 6.25rem)!important;
    text-transform: uppercase!important;

}

.header, h1.header {
  font-size: clamp(2.35rem, 5vw, 4.5rem)!important;
    text-transform: uppercase!important;

}

h2 {
  font-size: clamp(2.35rem, 5vw, 3rem)!important;
      text-transform: uppercase!important;
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2rem)!important;
}

h4, h5 {
  font-size: clamp(1.4rem, 2vw, 1.8rem)!important;
}

.sotw-promo,
.sotw-script,
.sotw-chapter-name,
.sotw-hero-script,
.promo-title {
  font-family: var(--font-promo);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 0.95;
}

.sotw-eyebrow,
.eyebrow,
.kicker, .h1Alt, h1.h1Alt, .h4Alt, h4.h4Alt {
  display: block;
  font-family: var(--font-heading);
  color: var(--sotw-orange);
  font-size: 18px!important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.sotw-lead,
.lead-text {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: var(--sotw-text);
}

.small-text,
.meta,
.event-meta {
  font-size: 0.92rem;
  color: var(--sotw-muted);
}


/* ==========================================================
   4. SITE WIDTH HELPERS
   ========================================================== */

.sotw-container {
  width: min(var(--site-max), calc(100% - 40px));
  margin-inline: auto;
}

.sotw-content {
  width: min(var(--content-max), calc(100% - 40px));
  margin-inline: auto;
}

.sotw-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.sotw-section-sm {
  padding: clamp(2rem, 5vw, 4rem) 0;
}


/* ==========================================================
   5. PAGE BACKGROUND / PAPER TEXTURE FEEL
   ========================================================== */

.sotw-page-bg,
.zoneContentOuter {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.75), transparent 36rem),
    linear-gradient(180deg, var(--sotw-cream-light) 0%, var(--sotw-cream) 100%);
}

.sotw-illustration-bg {
  position: relative;
  overflow: hidden;
}

.sotw-illustration-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: right bottom, left bottom;
  background-size: 34rem auto, 24rem auto;
  opacity: 0.16;
  pointer-events: none;
}


/* ==========================================================
   6. HEADER / NAVIGATION
   ========================================================== */

.zoneHeaderOuter,
.headerOuterContainer,
.WaLayoutTable.header {
  background: var(--sotw-cream-light);
  border-top: 3px solid var(--chapter-accent);
  position: relative;
  z-index: 20;
}

.sotw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 1rem 0;
}

.sotw-logo img {
  max-width: 145px;
}

.WaGadgetMenuHorizontal.HorizontalMenuStyle001 .menuInner ul.firstLevel>li>.item>a {
font: bold 24px / 23px freight-sans-compressed-pro, sans-serif;
color: var(--sotw-green-dark);
padding: 8px 0;
}

@media screen and (max-width: 950px) {
.WaGadgetMenuHorizontal.HorizontalMenuStyle001 .menuInner ul.firstLevel>li>.item>a {
  padding: 8px 6px;
  font: bold 20px / 23px freight-sans-compressed-pro, sans-serif;
}

}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel,
.WaGadgetMenuHorizontal .menuInner ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2rem);
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > a,
.WaGadgetMenuHorizontal .menuInner a {
  font-family: var(--font-promo);
  color: var(--sotw-green);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.35rem 0;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover,
.WaGadgetMenuHorizontal .menuInner a:hover {
  color: var(--chapter-accent);
}

/* START LOGIN */


/* ==========================================================
   HEADER LOGIN / PROFILE BUTTON
   ========================================================== */
.WaGadgetLoginButton .loginContainer.authenticated.loginContainer.authenticated .loginLink:hover, .WaGadgetLoginButton .loginContainer.authenticated.loginContainer.authenticated .loginLink.hover {
  border-radius: var(--radius-sm);
}
.WaGadgetLoginButton {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--chapter-accent);
  color: var(--sotw-white) !important;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.WaGadgetLoginButton:hover {
  background: var(--sotw-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(201, 90, 26, 0.22);
}

.WaGadgetLoginButton .loginContainer.authenticated.loginContainer.authenticated .loginLink {
  width: 150px;
  color: white;
}

.WaGadgetLoginButton .loginContainer.authenticated.loginContainer.authenticated .loginLink::before {
  font: bold 25px/50px "freight-sans-compressed-pro";
  content: "My Profile";
}

.WaGadgetLoginButton .loginContainer.loginContainer .loginLink {
  font: bold 24px/1.5 freight-sans-compressed-pro, sans-serif;
  width: 100%;
  background: transparent;
}

.WaGadgetLoginButton .loginContainer.loginContainer .loginLink:hover {
  background: transparent;
}

.WaGadgetLoginButton .loginContainer.authenticated.loginContainer.authenticated .loginLink {
  width: 100%;
}


/* ==========================================================
   WILD APRICOT SYSTEM BUTTONS
   ========================================================== */
.navigationOuterContainer input.nextButton, .navigationOuterContainer input.typeButton, .navigationOuterContainer input[type="submit"] {
   background: var(--chapter-accent);
}
.navigationOuterContainer input.nextButton:hover, .navigationOuterContainer input.typeButton:hover, .navigationOuterContainer input[type="submit"]:hover {
   background: var(--sotw-orange-dark);
}

.WaGadgetAuthorizationRequired .loginPageTable input.loginButton,
.WaGadgetMemberPublicProfile .buttons input,
input.typeButton,
input[type="submit"],
button,
.sotw-button {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--chapter-accent);
  color: var(--sotw-white) !important;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.25rem;
  margin: 0.25rem 0.35rem 0.25rem 0;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.WaGadgetAuthorizationRequired .loginPageTable input.loginButton:hover,
.WaGadgetMemberPublicProfile .buttons input:hover,
input.typeButton:hover,
input[type="submit"]:hover,
button:hover,
.sotw-button:hover {
  background: var(--sotw-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(201, 90, 26, 0.22);
}


/* END LOGIN */

/* ==========================================================
   7. HERO AREAS
   ========================================================== */

.sotw-hero {
  position: relative;
  min-height: clamp(540px, 78vh, 850px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sotw-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: var(--sotw-cream);
  clip-path: polygon(
    0 45%,
    8% 56%,
    18% 48%,
    30% 60%,
    42% 47%,
    54% 58%,
    66% 46%,
    78% 57%,
    90% 49%,
    100% 58%,
    100% 100%,
    0 100%
  );
  z-index: 2;
}

.sotw-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 42, 25, 0.86) 0%, rgba(8, 42, 25, 0.58) 38%, rgba(8, 42, 25, 0.10) 75%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.25));
  z-index: 1;
}

.sotw-hero-content {
  position: relative;
  z-index: 3;
  width: min(var(--site-max), calc(100% - 40px));
  margin-inline: auto;
  padding: 0 0 clamp(5rem, 10vw, 8rem);
  color: var(--sotw-white);
}

.sotw-hero h1 {
  color: var(--sotw-white);
  max-width: 800px;
  text-shadow: 0 3px 20px rgba(0,0,0,0.2);
}

.sotw-hero h1 .accent {
  color: var(--chapter-accent);
}

.sotw-hero p {
  max-width: 560px;
  color: var(--sotw-white);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}


/* Green promo block overlay under hero */
.sotw-hero-card {
  position: relative;
  z-index: 5;
  width: min(740px, calc(100% - 40px));
  margin: clamp(-5rem, -7vw, -3rem) auto 3rem;
  background: var(--sotw-green-soft);
  color: var(--sotw-white);
  border-radius: var(--radius-sm);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.sotw-hero-card h2,
.sotw-hero-card h3 {
  color: var(--sotw-white);
}

.sotw-hero-card .sotw-promo {
  font-size: clamp(3rem, 6vw, 5.5rem);
}


/* ==========================================================
   8. PAGE HEADERS / INTERIOR PAGES
   ========================================================== */

.sotw-page-header {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 7vw, 7rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(246,239,228,0.95)),
    var(--sotw-cream);
  overflow: hidden;
}

.sotw-page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 50px;
  background: var(--sotw-cream);
  clip-path: polygon(0 30%, 18% 55%, 36% 42%, 55% 61%, 74% 43%, 100% 58%, 100% 100%, 0 100%);
}

.sotw-breadcrumbs {
  font-size: 0.85rem;
  color: var(--sotw-muted);
  margin-bottom: 0.65rem;
}

.sotw-breadcrumbs a {
  color: var(--sotw-green);
}

.sotw-page-title {
  font-family: var(--font-promo);
  color: var(--sotw-green);
  font-size: clamp(2.8rem, 6vw, 5rem);
  text-transform: none;
}


/* ==========================================================
   9. CHAPTER PAGES
   ========================================================== */

.sotw-chapter-hero {
  position: relative;
  min-height: clamp(360px, 54vh, 560px);
  background-size: cover;
  background-position: center;
}

.sotw-chapter-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: var(--sotw-cream);
  clip-path: polygon(0 48%, 10% 60%, 25% 42%, 40% 57%, 56% 43%, 70% 61%, 85% 46%, 100% 58%, 100% 100%, 0 100%);
}

.sotw-chapter-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  width: min(var(--content-max), calc(100% - 40px));
  margin: clamp(3rem, 6vw, 5rem) auto;
}

.sotw-chapter-intro h1,
.sotw-chapter-intro .chapter-script {
  font-family: var(--font-promo);
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--chapter-accent);
  text-transform: none;
  line-height: 0.85;
  margin-bottom: 1.2rem;
}

.sotw-chapter-intro h2 {
  margin-bottom: 0;
}

.sotw-chapter-info {
  margin-top: 2rem;
  font-size: 0.96rem;
}

.sotw-chapter-info p {
  margin-bottom: 0.85rem;
}

.sotw-chapter-info strong {
  color: var(--sotw-green);
}


/* Chapter color assignment classes */
.chapter-statewide { --chapter-accent: var(--chapter-statewide); }
.chapter-abilene { --chapter-accent: var(--chapter-abilene); }
.chapter-austin { --chapter-accent: var(--chapter-austin); }
.chapter-bcs { --chapter-accent: var(--chapter-bcs); }
.chapter-dallas { --chapter-accent: var(--chapter-dallas); }
.chapter-fort-worth { --chapter-accent: var(--chapter-fort-worth); }
.chapter-houston { --chapter-accent: var(--chapter-houston); }
.chapter-midland { --chapter-accent: var(--chapter-midland); }
.chapter-san-antonio { --chapter-accent: var(--chapter-san-antonio); }


/* ==========================================================
   10. CARDS / PANELS
   ========================================================== */

.sotw-card,
.sotw-panel,
.WaGadgetUpcomingEvents,
.WaGadgetRecentBlogPosts,
.WaGadgetBlogStateList {
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(13, 59, 36, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(13,59,36,0.04);
}

.sotw-card {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.sotw-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sotw-card-title h2,
.sotw-card-title h3 {
  margin-bottom: 0;
}


/* ==========================================================
   11. UPCOMING EVENTS LIST STYLE
   ========================================================== */

.sotw-events-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.sotw-event-list {
  display: grid;
  gap: 0;
}

.sotw-event-item {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(13, 59, 36, 0.13);
}

.sotw-event-item:last-child {
  border-bottom: 0;
}

.sotw-event-img {
  width: 112px;
  height: 82px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--sotw-cream);
}

.sotw-event-title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--sotw-green);
  margin-bottom: 0.25rem;
  font-size: 18px!important;
}

.sotw-event-meta {
  font-size: 0.92rem;
  color: var(--sotw-muted);
}

.sotw-event-link {
  font-weight: 700;
  color: var(--chapter-accent);
  white-space: nowrap;
}


/* Wild Apricot Event Gadget Cleanup */
.WaGadgetUpcomingEvents ul,
.WaGadgetUpcomingEvents li,
.WaGadgetEventsStateList ul,
.WaGadgetEventsStateList li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.WaGadgetUpcomingEvents .title,
.WaGadgetUpcomingEvents .eventTitle,
.WaGadgetEvents .title,
.WaGadgetEvents .eventTitle {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--sotw-green);
}

.WaGadgetUpcomingEvents .date,
.WaGadgetEvents .date {
  color: var(--sotw-muted);
}


/* ==========================================================
   12. INITIATIVES / WHAT WE DO
   ========================================================== */

.sotw-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.sotw-initiative-list {
  display: grid;
  gap: 1.4rem;
}

.sotw-initiative-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.3rem;
  align-items: start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(13, 59, 36, 0.13);
}

.sotw-initiative-item:last-child {
  border-bottom: 0;
}

.sotw-icon-circle {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--sotw-green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sotw-green);
}

.sotw-initiative-item h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 0.25rem;
}


/* ==========================================================
   13. CHAPTER DIRECTORY CARDS
   ========================================================== */

.sotw-chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.sotw-chapter-card {
  position: relative;
  min-height: 136px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(13, 59, 36, 0.18);
  background: var(--sotw-cream);
  display: flex;
  align-items: center;
  padding: 1.4rem 2rem;
  isolation: isolate;
}

.sotw-chapter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--chapter-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.sotw-chapter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246,239,228,0.25), rgba(246,239,228,0.92) 55%, rgba(246,239,228,0.96));
  z-index: -1;
}

.sotw-chapter-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 4rem);
  color: var(--sotw-green);
  margin-bottom: 0.15rem;
}

.sotw-chapter-card a {
  font-weight: 700;
  color: var(--chapter-accent);
}


/* ==========================================================
   14. SPONSOR / PARTNER BAND
   ========================================================== */

.sotw-sponsor-band {
  background: var(--sotw-green-dark);
  color: var(--sotw-white);
  border-radius: var(--radius-sm);
  padding: clamp(1.7rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-card);
  width: min(var(--content-max), calc(100% - 40px));
  margin: clamp(3rem, 6vw, 5rem) auto;
}

.sotw-sponsor-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr;
  gap: clamp(1.3rem, 3vw, 2rem);
  align-items: center;
}

.sotw-sponsor-band h2,
.sotw-sponsor-band h3,
.sotw-sponsor-band p {
  color: var(--sotw-white);
}

.sotw-sponsor-logos {
  background: var(--sotw-cream-light);
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}

.sotw-sponsor-logos img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}


/* ==========================================================
   15. NEWSLETTER / SUBSCRIBE AREA
   ========================================================== */

.sotw-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: min(var(--content-max), calc(100% - 40px));
  margin: clamp(3rem, 6vw, 5rem) auto;
}

.sotw-newsletter h2 {
  color: var(--sotw-green);
}

.sotw-form-card {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(13, 59, 36, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}


/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select,
.WaGadgetContactProfile input[type="text"],
.WaGadgetContactProfile textarea {
  font-family: var(--font-body);
  width: 100%;
  border: 1px solid rgba(13, 59, 36, 0.20);
  border-radius: var(--radius-sm);
  background: var(--sotw-white);
  color: var(--sotw-text);
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(201, 90, 26, 0.25);
  border-color: var(--chapter-accent);
}


/* ==========================================================
   16. FOOTER
   ========================================================== */

.zoneFooterOuter,
.sotw-footer {
  position: relative;
  background: var(--sotw-green-dark);
  color: var(--sotw-white);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.zoneFooterOuter::before,
.sotw-footer::before {
  content: "";
  position: absolute;
  top: -56px;
  left: 0;
  right: 0;
  height: 58px;
  background: #163522;
  clip-path: polygon(0 62%, 56% 32%, 61% 100%, 100% 100%, 100% 100%, 0 100%);
}

/* Chapter menu */
#id_GJP57H3 .orientationHorizontal {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  gap: clamp(6px, 1vw, 18px);
  list-style: none;
}

#id_GJP57H3 .orientationHorizontal > li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

#id_GJP57H3 .orientationHorizontal > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

/* Four items per row */
@media (max-width: 900px) {
  
  #id_GJP57H3 .orientationHorizontal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Two items per row */
@media (max-width: 520px) {
  #id_GJP57H3 .orientationHorizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* ==========================================================
   17. WILD APRICOT SYSTEM PAGES
   ========================================================== */

.WaGadgetLoginForm,
.WaGadgetContactProfile,
.WaGadgetMemberPublicProfile,
.WaGadgetMembershipApplication,
.WaGadgetDonationGoal,
.WaGadgetSubscriptionForm {
  font-family: var(--font-body);
}
.infoOuterContainer {
      background: #faf6f0;
}
.WaGadgetLoginForm .loginContainer,
.WaGadgetContactProfile .memberDirectoryDetailsOuterContainer,
.WaGadgetMembershipApplication .applicationFormContainer {
   background: rgba(255,255,255,0.55);
  border: 1px solid rgba(13, 59, 36, 0.12);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.WaGadgetMenuHorizontal.menuStyle002 .menuInner ul.firstLevel > li > .item > a {
  color: var(--sotw-green);
}


/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  font-family: var(--font-heading);
  color: var(--sotw-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

td,
th {
  border-color: rgba(13, 59, 36, 0.14);
}


/* ==========================================================
   18. UTILITY CLASSES
   ========================================================== */

.text-green { color: var(--sotw-green) !important; }
.text-orange { color: var(--chapter-accent) !important; }
.text-muted { color: var(--sotw-muted) !important; }
.bg-green { background: var(--sotw-green) !important; color: var(--sotw-white) !important; }
.bg-cream { background: var(--sotw-cream) !important; }
.bg-paper { background: var(--sotw-paper) !important; }

.center {
  text-align: center;
}

.no-margin {
  margin: 0 !important;
}

.mt-lg {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.mb-lg {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}


/* ==========================================================
   19. MOBILE RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .sotw-header {
    min-height: 86px;
  }

  .sotw-logo img {
    max-width: 112px;
  }

  .WaGadgetMenuHorizontal .menuInner ul.firstLevel,
  .WaGadgetMenuHorizontal .menuInner ul {
    gap: 1rem;
  }

  .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
  .WaGadgetMenuHorizontal .menuInner a {
    font-size: 1.25rem;
  }

  .sotw-hero {
    min-height: 620px;
    align-items: flex-end;
  }

  .sotw-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,42,25,0.30) 0%, rgba(8,42,25,0.82) 78%),
      linear-gradient(90deg, rgba(8,42,25,0.45), rgba(8,42,25,0.10));
  }

  .sotw-hero-content {
    padding-bottom: 6rem;
  }

  .sotw-hero-card {
    grid-template-columns: 1fr;
  }

  .sotw-two-col,
  .sotw-newsletter,
  .sotw-chapter-intro-grid {
    grid-template-columns: 1fr;
  }

  .sotw-chapter-grid {
    grid-template-columns: 1fr;
  }

  .sotw-sponsor-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sotw-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sotw-footer-chapters {
    justify-content: center;
  }
}


@media (max-width: 640px) {
  :root {
    --site-max: 100%;
  }

  .sotw-container,
  .sotw-content {
    width: min(100% - 28px, var(--content-max));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .sotw-hero {
    min-height: 680px;
    background-position: center;
  }

  .sotw-hero-content {
    width: calc(100% - 32px);
  }

  .sotw-hero p {
    font-size: 1.08rem;
  }

  .sotw-event-item {
    grid-template-columns: 86px 1fr;
    gap: 0.9rem;
  }

  .sotw-event-img {
    width: 86px;
    height: 68px;
  }

  .sotw-event-link {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.5rem;
  }

  .sotw-chapter-intro h1,
  .sotw-chapter-intro .chapter-script {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .sotw-sponsor-band {
    width: calc(100% - 28px);
  }

  .sotw-footer-chapters {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .sotw-footer-chapters .label {
    width: 100%;
  }

  .sotw-footer-chapters a + a::before {
    display: none;
  }

  .sotw-footer-chapters a {
    padding-right: 0.75rem;
  }
}


/* ==========================================================
   20. WILD APRICOT EDIT MODE SAFETY
   ========================================================== */

body[class*="edit"] .sotw-hero,
body[class*="Edit"] .sotw-hero,
body[class*="admin"] .sotw-hero {
  min-height: 500px;
}

body[class*="edit"] .sotw-hero-card,
body[class*="Edit"] .sotw-hero-card {
  margin-top: 2rem;
}





















/* =========================================================
   13. Sticky Header
   Controls:
   - Header is normal at top
   - Header becomes fixed/shrinks after scroll
   Used by:
   - .cal-sticky-header
   - body.cal-header-is-stuck
========================================================= */

body {
  padding-top: 0 !important;
}

html {
  scroll-padding-top: 120px;
}

.cal-sticky-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 5 !important;
  width: 100% !important;
  background-color: var(--cal-white) !important;
  box-shadow: none;
  transform: translateY(0);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease;
}

body.cal-header-is-stuck {
  padding-top: var(--cal-header-height, 118px) !important;
}

.cal-sticky-header.is-stuck {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  box-shadow: 0 8px 24px rgba(6, 43, 79, 0.12);
  animation: calHeaderDrop 0.25s ease forwards;
  background: #F6EFE4!important;
}

@keyframes calHeaderDrop {
  from {
    transform: translateY(-8px);
  }

  to {
    transform: translateY(0);
  }
}

.cal-sticky-header > div {
  width: 100% !important;
  max-width: 1660px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cal-sticky-header,
.cal-sticky-header .WaLayoutContainerOnly,
.cal-sticky-header .WaLayoutTable,
.cal-sticky-header .WaLayoutItem,
.cal-sticky-header .WaLayoutPlaceHolder,
.cal-sticky-header .placeHolderContainer,
.cal-sticky-header .WaGadgetOnly,
.cal-sticky-header .menuInner {
  overflow: visible !important;
}

.cal-sticky-header #id_WVXGqTJ {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
  transition: margin 0.25s ease, transform 0.25s ease;
}

.cal-sticky-header.is-stuck #id_WVXGqTJ {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  transform: scale(0.985);
  transform-origin: center center;
}

.cal-sticky-header img {
  display: inline-block;
  width: auto;
  max-height: 175px;
  vertical-align: middle;
  transition: max-height 0.25s ease, transform 0.25s ease;
}

.cal-sticky-header.is-stuck img {
  max-height: 62px;
  transform: scale(0.96);
}


/* =========================================================
   14. Header Menu Positioning
   Controls:
   - Header menu alignment
   - Hide Home since logo is visible
   - Last-child Join button styling
========================================================= */

.cal-sticky-header #id_YR2udDP {
  position: relative;
  z-index: 100000;
}

.cal-sticky-header #id_YR2udDP .menuInner {
  width: 100%;
}

.cal-sticky-header #id_YR2udDP ul.firstLevel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: auto !important;
}

.cal-sticky-header #id_YR2udDP ul.firstLevel > li {
  display: inline-flex;
  align-items: center;
}

.cal-sticky-header #id_YR2udDP ul.firstLevel > li:first-child {
  display: none !important;
}

.cal-sticky-header #id_YR2udDP ul.firstLevel > li > .item > a {
  display: flex;
  align-items: center;
  min-height: 22px;
  white-space: nowrap;
  transition: min-height 0.25s ease;
}

.cal-sticky-header.is-stuck #id_YR2udDP ul.firstLevel > li > .item > a {
  min-height: 20px;
}

.cal-sticky-header #id_YR2udDP ul ul,
.cal-sticky-header #id_YR2udDP .secondLevel {
  position: absolute;
  z-index: 100001 !important;
}

ul.firstLevel .last-child {
  justify-content: center;
  height: 20px;
  padding-right: 20px !important;
  background: var(--cal-coral);
  border-radius: 30px;
}

ul.firstLevel .last-child a {
  color: var(--cal-white) !important;
}


/* =========================================================
   15. Header Mobile Behavior
========================================================= */

@media screen and (max-width: 768px) {
  body,
  body.cal-header-is-stuck {
    padding-top: 0 !important;
  }

  html {
    scroll-padding-top: 0;
  }

  .cal-sticky-header,
  .cal-sticky-header.is-stuck {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    box-shadow: none;
    animation: none;
  }

  .cal-sticky-header img,
  .cal-sticky-header.is-stuck img {
    max-height: 58px;
    transform: none;
  }

  .cal-sticky-header #id_WVXGqTJ,
  .cal-sticky-header.is-stuck #id_WVXGqTJ {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    transform: none;
  }

  .cal-sticky-header #id_YR2udDP ul.firstLevel {
    display: block;
  }

  .cal-sticky-header #id_YR2udDP ul.firstLevel > li:first-child {
    display: list-item !important;
  }

  .cal-sticky-header #id_YR2udDP ul.firstLevel > li {
    display: block;
  }

  .cal-sticky-header #id_YR2udDP ul.firstLevel > li > .item > a {
    min-height: initial;
  }
}


/* =========================================================
   16. Admin View Safety
========================================================= */

body:has(.adminPanel),
body:has(#idAdminPanelContainer),
body:has(.adminView) {
  padding-top: 0 !important;
}

body:has(.adminPanel) .cal-sticky-header,
body:has(#idAdminPanelContainer) .cal-sticky-header,
body:has(.adminView) .cal-sticky-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}




/* ==========================================================
   AUTOMATIC PAGE TITLE
   Uses the final item in the Breadcrumbs gadget
   ========================================================== */

.WaGadgetBreadcrumbs.pageTitle .gadgetStyleBody {
  margin: 0;
  padding: 0;
}

.WaGadgetBreadcrumbs.pageTitle ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Hide Home and all parent pages */
.WaGadgetBreadcrumbs.pageTitle li:not(.last) {
  display: none !important;
}

/* Style the current page as the title */
.WaGadgetBreadcrumbs.pageTitle li.last {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--sotw-green);
  font-family: var(--font-promo);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Remove Wild Apricot breadcrumb separators */
.WaGadgetBreadcrumbs.pageTitle li.last::before,
.WaGadgetBreadcrumbs.pageTitle li.last::after {
  display: none;
  content: none;
}

/* Remove any inherited link or breadcrumb spacing */
.WaGadgetBreadcrumbs.pageTitle li.last a {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: none;
}



/*  SPONSOR LOGO GRID   Maximum four columns     */
.sponsorContainer .gadgetStyleBody {
  display: block !important;
  width: 100%;
  padding: clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.sponsorContainer ul {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box;
}

.sponsorContainer ul > li {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
  font-size: 0; /* Prevents &nbsp; from affecting alignment */
}

.sponsorContainer ul > li::before,
.sponsorContainer ul > li::after {
  content: none !important;
}

.sponsorContainer br {
  display: none !important;
}

/* Supports logos wrapped in links */
.sponsorContainer ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.sponsorContainer ul > li img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 300px !important;
  margin: 0 !important;
  padding: 15px;
  box-sizing: border-box;
  object-fit: contain;
}

@media screen and (max-width: 1000px) {
  .sponsorContainer ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 700px) {
  .sponsorContainer ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .sponsorContainer ul > li img {
    max-height: 85px !important;
    padding: 10px;
  }
}

@media screen and (max-width: 400px) {
  .sponsorContainer ul {
    grid-template-columns: 1fr;
  }
}















/* ==========================================================
   SUBHERO MASKED BACKGROUND
========================================================== */

.subheroMaskbg {
  position: relative;
  isolation: isolate;
  min-height: clamp(320px, 45vw, 500px);
  overflow: hidden;

  /*
    Hide the background image on the actual container while
    retaining it so the pseudo-element can inherit it.
  */
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 0 0 !important;
}


/* ==========================================================
   MASKED BACKGROUND LAYER
   ========================================================== */

.subheroMaskbg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  /*
    Inherit the background image assigned to .subheroMask
    through Wild Apricot's background settings.
  */
  background-image: inherit;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /*
    Apply the mask only to this background layer.
  */
  -webkit-mask-image:
    url("/resources/Theme/sub-hero-mask.png");
  mask-image:
    url("/resources/Theme/sub-hero-mask.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  pointer-events: none;
}


/* ==========================================================
   CONTENT LAYER
   ========================================================== */

.subheroMaskbg > * {
  position: relative;
  z-index: 1;
}


/*
  Wild Apricot commonly places content inside these wrappers.
  Ensure they remain visible and above the masked background.
*/

.subheroMaskbg .gadgetStyleBody,
.subheroMaskbg .gadgetContentEditableArea {
  position: relative;
  z-index: 1;
  width: 100%;
}


/* Images placed inside the content remain normal and unmasked */

.subheroMaskbg img {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media screen and (max-width: 900px) {
  .subheroMaskbg {
    min-height: clamp(300px, 55vw, 440px);
  }

  .subheroMaskbg::before {
    background-position: center;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 600px) {
  .subheroMaskbg {
    min-height: clamp(280px, 85vw, 400px);
  }

  .subheroMaskbg::before {
    background-position: center;
    background-size: cover;

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }
}


/* ==========================================================
   WILD APRICOT ADMIN / EDIT MODE
   ========================================================== */

body.wa-edit-mode .subheroMaskbg,
body.sotw-subhero-admin .subheroMaskbg {
  min-height: 400px;
}

body.wa-edit-mode .subheroMaskbg > *,
body.sotw-subhero-admin .subheroMaskbg > * {
  position: relative;
  z-index: 1;
}




/* MOBILE PANEL */
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul li.sel>.item>a {
  color: #fff;
}
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul {
  background: #0d3b24!important; 
}
.WaGadgetMobilePanel .mobilePanel {
  background: #0d3b24;
}
.WaGadgetMobilePanel .mobilePanel .mobilePanelButton:active, .WaGadgetMobilePanel .mobilePanel .mobilePanelButton.active, .WaGadgetMobilePanel .mobilePanel .mobilePanelButton:hover, .WaGadgetMobilePanel .mobilePanel .mobilePanelButton.hover {
  background: #18633e;
}
 .WaGadgetMobilePanel .mobilePanel .loginInner {
  border-top: 0;
    background: #18633e;
}
.WaGadgetMobilePanel .mobilePanel .menuInner ul.firstLevel {
  border-top: 0;
    background: #0d3b24!important;
}
.WaGadgetMobilePanel .mobilePanel .menuInner ul.firstLevel,.WaGadgetMobilePanel .mobilePanel .menuInner ul ul, .WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm [class$="TextBox"] input[class$="TextBoxControl"], .WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginActionRememberMe label::before{
  background: #18633e;
}
.WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginAction input.loginButton {
  background: #0d3b24;
}
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul li > .item > a {
  color: #fff;
}
.WaGadgetMobilePanel .mobilePanel .menuInner ul.firstLevel > li.sel > .item > a {
  color: #fff;
}
/* END MOBILE PANEL */


/* CLICKABLE LINK IN MOBILE PANEL */

/* CLICKABLE LOGO IN MOBILE PANEL */

@media screen and (max-width: 768px) {

  /* Mobile panel positioning */
  .WaGadgetMobilePanel .mobilePanel {
    position: relative !important;
    min-height: 72px !important;
    overflow: visible !important;
  }

  /*
   * Keep the menu container visible so the logo remains
   * visible even while the navigation links are closed.
   */
  .WaGadgetMobilePanel .menuInner {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 47px 0 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  /* Hide the navigation links while the menu is closed */
  .WaGadgetMobilePanel .menuInner ul.firstLevel > li {
    display: none !important;
  }

  /* Use the first/Home link as the centered logo */
  .WaGadgetMobilePanel .menuInner ul.firstLevel > li:first-child {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 80 !important;
    width: 132px !important;
    height: 65px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .WaGadgetMobilePanel .menuInner ul.firstLevel > li:first-child > .item,
  .WaGadgetMobilePanel .menuInner ul.firstLevel > li:first-child > .item > a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
  }

  /* Add the logo to the Home link */
  .WaGadgetMobilePanel .menuInner ul.firstLevel > li:first-child > .item > a {
    background-image: url("/resources/Theme/sotw-wh-footer.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
  }

  /* Hide the original Home text */
  .WaGadgetMobilePanel .menuInner ul.firstLevel > li:first-child > .item > a span {
    display: none !important;
  }

  /* Reveal the remaining links when the menu is opened */
  .WaGadgetMobilePanel
    .buttonMenu.active
    ~ .menuInner
    ul.firstLevel
    > li:not(:first-child) {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }
}


.chapter-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
  row-gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-links ul li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.chapter-links ul li::before {
  display: none !important;
  content: none !important;
}

.chapter-links ul li a,
.chapter-links ul li a:link,
.chapter-links ul li a:visited,
.chapter-links ul li a:hover,
.chapter-links ul li a:focus,
.chapter-links ul li a:active {
  display: inline-block;
  white-space: nowrap;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

@media screen and (max-width: 600px) {
  .chapter-links ul {
    column-gap: 20px;
    row-gap: 12px;
  }
}


/* ==========================================================
   CHAPTER BLOCKS
   Background image + chapter name + chapter link
   ========================================================== */

.chapterBlock {
  position: relative;
  isolation: isolate;
  min-height: 150px;
  overflow: hidden;
  background-color: var(--sotw-cream-light);
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
  border: 1px solid rgba(13, 59, 36, 0.38);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}


/* Cream gradient over the background image */

.chapterBlock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      300deg,
      rgba(251, 247, 239, 0) 0%,
      rgba(251, 247, 239, 0.08) 30%,
      rgba(251, 247, 239, 0.76) 55%,
      rgba(251, 247, 239, 0.96) 78%,
      var(--sotw-cream-light) 100%
    );
  pointer-events: none;
}


/* Wild Apricot content area */

.chapterBlock .gadgetStyleBody {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  margin-left: auto;
  padding: 24px 28px;
  box-sizing: border-box;
}


/* Remove Wild Apricot paragraph spacing */

.chapterBlock .gadgetStyleBody > p {
  margin: 0;
}


/* Chapter name */

.chapterBlock
  :is(h1, h2, h3, h4) {
  margin: 0 0 5px !important;
  color: var(--sotw-green) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(1.1rem, 3.5vw, 2rem) !important;
  font-weight: 700 !important;
  line-height: 0.9 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
}


/* Chapter link */

.chapterBlock .gadgetStyleBody a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--chapter-accent);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}


/* Add arrow automatically */

.chapterBlock .gadgetStyleBody a::before {
  content: none;
}

.chapterBlock .gadgetStyleBody a::after {
  content: "→";
  position: static;
  font-size: 1.1em;
  transition: transform 0.2s ease;
}


/* Make the entire chapter card clickable */

.chapterBlock .gadgetStyleBody a[href] {
  position: static;
}

.chapterBlock .gadgetStyleBody a[href]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}


/* Hover effect */

.chapterBlock:hover {
  border-color: var(--chapter-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.chapterBlock:hover
  .gadgetStyleBody
  a::after {
  transform: translateX(4px);
}


/* Keyboard focus */

.chapterBlock:has(a:focus-visible) {
  outline: 3px solid rgba(201, 90, 26, 0.3);
  outline-offset: 3px;
  border-color: var(--chapter-accent);
}


/* ==========================================================
   TABLET
   Give text a little more room
   ========================================================== */

@media screen and (max-width: 1100px) {
  .chapterBlock .gadgetStyleBody {
    width: 100%;
    padding: 22px;
  }

  .chapterBlock
    :is(h1, h2, h3, h4) {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 700px) {
  .chapterBlock {
    min-height: 180px;
    background-position: center !important;
  }

  .chapterBlock::before {
    background:
      linear-gradient(
        300deg,
        rgba(251, 247, 239, 0.12) 0%,
        rgba(251, 247, 239, 0.7) 42%,
        rgba(251, 247, 239, 0.97) 76%,
        var(--sotw-cream-light) 100%
      );
  }

  .chapterBlock .gadgetStyleBody {
    width: 100%;
    min-height: 180px;
    padding: 20px 16px;
  }

  .chapterBlock
    :is(h1, h2, h3, h4) {
    font-size: clamp(1.9rem, 9vw, 2.6rem) !important;
  }

  .chapterBlock .gadgetStyleBody a {
    font-size: 1rem;
  }
}


/* ==========================================================
   SMALL MOBILE
   Place text across the bottom
   ========================================================== */

@media screen and (max-width: 430px) {
  .chapterBlock {
    min-height: 210px;
    background-position: center top !important;
  }

  .chapterBlock::before {
    background:
      linear-gradient(
        180deg,
        rgba(251, 247, 239, 0.02) 0%,
        rgba(251, 247, 239, 0.12) 38%,
        rgba(251, 247, 239, 0.92) 70%,
        var(--sotw-cream-light) 100%
      );
  }

  .chapterBlock .gadgetStyleBody {
    justify-content: flex-end;
    width: 100%;
    min-height: 210px;
    margin: 0;
    padding: 22px;
  }
}


/* ==========================================================
   WILD APRICOT ADMIN MODE
   Keep the text easy to edit
   ========================================================== */

body.wa-edit-mode .chapterBlock,
body.sotw-chapter-admin .chapterBlock {
  transform: none;
}

body.wa-edit-mode
  .chapterBlock
  .gadgetStyleBody,
body.sotw-chapter-admin
  .chapterBlock
  .gadgetStyleBody {
  min-height: 150px;
}

body.wa-edit-mode
  .chapterBlock
  .gadgetStyleBody
  a::before,
body.sotw-chapter-admin
  .chapterBlock
  .gadgetStyleBody
  a::before {
  display: none;
}



/* ==========================================================
   SOTW MEMBERSHIP APPLICATION

   Uses the existing site CSS for:
   - Brand variables
   - Typography
   - Inputs and selects
   - Primary buttons
   - Links and focus states
   ========================================================== */


/* ==========================================================
   APPLICATION BASE
   ========================================================== */

.WaGadgetMembershipApplication {
  width: 100%;
  font-family: var(--font-body);
  color: var(--sotw-text);
}


/* Remove Wild Apricot's legacy corner graphics */

.WaGadgetMembershipApplication .cornersContainer {
  display: none !important;
}


/* Remove legacy backgrounds without changing layout */

.WaGadgetMembershipApplication
  :is(
    .generalFormContainer,
    .formContainer,
    .generalFieldsContainer,
    .sectionContainer,
    .navigationContainer,
    .infoContainer
  ),
.WaGadgetMembershipApplication
  :is(
    .generalFormContainer,
    .formContainer,
    .generalFieldsContainer,
    .sectionContainer,
    .navigationContainer,
    .infoContainer
  )
  :is(
    .d1,
    .d2,
    .d3,
    .d4,
    .d5,
    .d6,
    .d7,
    .d8,
    .d9,
    .inner
  ) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* Remove unnecessary outer spacing */

.WaGadgetMembershipApplication
  :is(
    .generalFormOuterContainer,
    .generalFormContainer,
    .formOuterContainer,
    .formContainer,
    .sectionOuterContainer
  ) {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}


/* ==========================================================
   REMOVE EMPTY GENERATED CONTAINERS
   ========================================================== */

.WaGadgetMembershipApplication
  .generalFieldsOuterContainer:not(
    :has(
      .fieldContainer,
      .sectionOuterContainer,
      .commonMessageBox,
      .payment-methods-container,
      table.kvTable
    )
  ) {
  display: none !important;
}

.WaGadgetMembershipApplication
  .formOuterContainer:not(
    :has(
      .formTitle,
      .fieldContainer,
      .sectionOuterContainer,
      .payment-methods-container,
      table.kvTable
    )
  ) {
  display: none !important;
}

.WaGadgetMembershipApplication
  .navigationOuterContainer:not(
    :has(input:not([type="hidden"]), a:not(:empty))
  ) {
  display: none !important;
}


/* ==========================================================
   FORM TITLE
   ========================================================== */

.WaGadgetMembershipApplication .formTitleOuterContainer {
  margin: 0 0 24px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.WaGadgetMembershipApplication
  .formTitleContainer
  .inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 14px !important;
  border-bottom: 2px solid var(--sotw-green) !important;
}

.WaGadgetMembershipApplication h3.formTitle {
  margin: 0 !important;
  color: var(--sotw-green) !important;
  font-family: var(--font-heading) !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 0.95 !important;
}

.WaGadgetMembershipApplication .mandatoryFieldsTitle {
  flex: 0 0 auto;
  margin-bottom: 3px;
  color: var(--sotw-muted);
  font-size: 0.9rem;
}

.WaGadgetMembershipApplication .mandatorySymbol {
  color: var(--chapter-accent) !important;
}


/* ==========================================================
   CONTENT PANEL
   ========================================================== */

.WaGadgetMembershipApplication
  .generalFieldsOuterContainer:has(
    .fieldContainer,
    .sectionOuterContainer,
    .commonMessageBox,
    .payment-methods-container,
    table.kvTable
  ) {
  margin: 0 !important;
  padding: clamp(20px, 3vw, 34px) !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid var(--sotw-border) !important;
  border-radius: var(--radius-md);
}


/* ==========================================================
   STANDARD FORM FIELDS
   ========================================================== */

.WaGadgetMembershipApplication .fieldContainer {
  width: 100%;
  /* margin: 0 0 20px !important; */
  padding: 0 !important;
}

.WaGadgetMembershipApplication .fieldContainer:last-child {
  margin-bottom: 0 !important;
}

.WaGadgetMembershipApplication .fieldSubContainer {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.WaGadgetMembershipApplication .fieldLabel {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--sotw-green);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left !important;
}

.WaGadgetMembershipApplication
  :is(.fieldLabel strong, .mandatoryLabel) {
  color: inherit !important;
  font: inherit !important;
}

.WaGadgetMembershipApplication .fieldBody {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.WaGadgetMembershipApplication
  :is(
    .typeInstruction,
    .fieldDescription,
    .fieldInstructions
  ) {
  color: var(--sotw-muted) !important;
  font-size: 0.92rem;
  line-height: 1.4;
}
.fieldSubContainer .typeInstruction {
  padding: 0px;
}

/* ==========================================================
   TABLE-BASED FIELD LAYOUT
   ========================================================== */

.WaGadgetMembershipApplication
  .fieldSubContainer
  > table {
  width: 100% !important;
  table-layout: fixed;
  border: 0 !important;
  border-collapse: collapse;
}

.WaGadgetMembershipApplication
  .fieldSubContainer
  > table
  > tbody
  > tr
  > td {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  vertical-align: top;
}

.WaGadgetMembershipApplication
  .fieldSubContainer
  > table
  > tbody
  > tr
  > td.left {
  width: 30% !important;
  padding: 12px 24px 0 0 !important;
}

.WaGadgetMembershipApplication
  .fieldSubContainer
  > table
  > tbody
  > tr
  > td.right {
  width: 70% !important;
}


/* Non-table fields */

.WaGadgetMembershipApplication
  .fieldSubContainer:not(:has(> table)) {
  display: grid;
  grid-template-columns: minmax(150px, 30%) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.WaGadgetMembershipApplication
  .fieldSubContainer:not(:has(> table))
  > .fieldLabel {
  padding-top: 12px !important;
}


/* Don't apply columns to nested validation containers */

.WaGadgetMembershipApplication
  .fieldContainer
  .fieldContainer
  .fieldSubContainer {
  display: block;
}

.WaGadgetMembershipApplication
  .fieldContainer
  .fieldContainer {
  margin: 5px 0 0 !important;
}


/* Disabled fields */

.WaGadgetMembershipApplication
  input:disabled:not([type="submit"]) {
  background: rgba(13, 59, 36, 0.06);
  color: var(--sotw-muted);
  cursor: not-allowed;
  opacity: 1;
}


/* ==========================================================
   MEMBERSHIP LEVELS
   Stacked at every screen size
   ========================================================== */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldSubContainer {
  display: block;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldLabel {
  margin-bottom: 14px !important;
  padding: 0 !important;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .groupBodyVertical {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}


/* Individual membership level */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldItem {
  position: relative;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  margin: 0 !important;
  padding: 22px !important;
  background: var(--sotw-white) !important;
  border: 1px solid var(--sotw-border) !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldItem:hover {
  border-color: var(--chapter-accent) !important;
  box-shadow: var(--shadow-card);
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldItem:has(input:checked) {
  border-color: var(--chapter-accent) !important;
  box-shadow: 0 0 0 2px rgba(201, 90, 26, 0.14);
}


/* Membership radio */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .typeRadioContainer {
  display: block;
  width: 20px;
  margin-top: 4px;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  input.typeRadio {
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  accent-color: var(--chapter-accent);
}


/* Membership content */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .fieldItem
  > .label {
  min-width: 0;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  label.levelProperties {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}


/* Larger membership level name */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .labelTitle {
  display: block;
  margin: 0 0 9px;
  color: var(--sotw-green);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}


/* Membership price */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .labelSubTitle {
  display: block;
  margin-bottom: 10px;
  color: var(--chapter-accent);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .levelPrice {
  color: inherit !important;
}


/* Membership details */

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .textLine {
  display: block;
}

.WaGadgetMembershipApplication
  #idMembershipLevelRadioGroupContainer
  .typeInstruction {
  display: block;
  margin-top: 4px;
}


/* ==========================================================
   SELECTED MEMBERSHIP SUMMARY
   ========================================================== */

.WaGadgetMembershipApplication #idInfoContainer {
  margin: 0 0 24px !important;
  padding: 0 !important;
}

.WaGadgetMembershipApplication
  #idInfoContainer
  .infoContainer
  .inner {
  padding: 18px 20px !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid var(--sotw-border) !important;
  border-left: 3px solid var(--chapter-accent) !important;
  border-radius: var(--radius-sm);
}

.WaGadgetMembershipApplication
  #idInfoContainer
  .infoSection {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 18px;
}

.WaGadgetMembershipApplication
  #idInfoContainer
  .infoTitle {
  color: var(--sotw-green);
  font-weight: 700;
}

.WaGadgetMembershipApplication
  #idInfoContainer
  .textLine {
  display: block;
  margin-bottom: 3px;
}

.WaGadgetMembershipApplication
  #idInfoContainer
  .levelPrice {
  color: var(--chapter-accent);
  font-weight: 700;
}


/* ==========================================================
   PICTURE AND FILE UPLOAD
   ========================================================== */

.WaGadgetMembershipApplication
  .fileFieldContainer
  iframe {
  display: block;
  width: 100% !important;
  max-width: 500px;
  min-height: 36px;
  border: 0;
}

.WaGadgetMembershipApplication
  .pictureViewContainer
  img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 180px;
  padding: 6px;
  background: var(--sotw-white);
  border: 1px solid var(--sotw-border);
  border-radius: var(--radius-sm);
  object-fit: contain;
}


/* ==========================================================
   REVIEW AND CONFIRMATION
   ========================================================== */

.WaGadgetMembershipApplication .commonMessageBox {
  width: 100%;
  margin: 0 0 24px !important;
}

.WaGadgetMembershipApplication
  .commonMessageBox
  :is(
    .cww,
    .cww1,
    .cww2,
    .cww3,
    .cww4,
    .cww-inner
  ) {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.WaGadgetMembershipApplication
  .commonMessageBox
  .cww-co {
  padding: clamp(20px, 3vw, 30px) !important;
  background: rgba(255, 255, 255, 0.45) !important;
  border: 1px solid var(--sotw-border) !important;
  border-radius: var(--radius-md);
}

.WaGadgetMembershipApplication
  .commonMessageBox
  .header {
  margin: 0 0 16px !important;
  padding: 0 0 12px !important;
  background: transparent !important;
  border-bottom: 1px solid var(--sotw-border);
  color: var(--sotw-green) !important;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  line-height: 1;
}

.WaGadgetMembershipApplication table.kvTable {
  width: 100% !important;
  border: 0 !important;
  border-collapse: collapse;
}

.WaGadgetMembershipApplication
  table.kvTable
  td {
  padding: 9px 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sotw-border) !important;
  vertical-align: top;
}

.WaGadgetMembershipApplication
  table.kvTable
  tr:last-child
  td {
  border-bottom: 0 !important;
}

.WaGadgetMembershipApplication
  table.kvTable
  .labelInfoColumn {
  width: 30%;
  color: var(--sotw-green);
  font-weight: 700;
}


/* Error message */

.WaGadgetMembershipApplication
  .confirmWindowError
  .cww-co {
  background: #fff4f2 !important;
  border-color: rgba(167, 47, 39, 0.35) !important;
  border-left: 3px solid #a72f27 !important;
}

.WaGadgetMembershipApplication
  .confirmWindowError
  .text {
  color: #a72f27 !important;
  font-weight: 700;
}


/* ==========================================================
   PAYMENT METHODS
   ========================================================== */

.WaGadgetMembershipApplication
  .payment-methods-container {
  display: grid !important;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, 280px), 1fr)
  );
  gap: 14px !important;
  width: 100%;
  margin: 0 0 24px !important;
}

.WaGadgetMembershipApplication
  .payment-method-card {
  margin: 0 !important;
  padding: 20px !important;
  background: var(--sotw-white) !important;
  border: 1px solid var(--sotw-border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: none !important;
}

.WaGadgetMembershipApplication
  .payment-method-card.selected {
  border-color: var(--chapter-accent) !important;
  box-shadow: 0 0 0 2px rgba(201, 90, 26, 0.14) !important;
}

.WaGadgetMembershipApplication
  .payment-method-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.WaGadgetMembershipApplication
  .payment-method-header
  h3 {
  margin: 0 !important;
  font-family: var(--font-heading) !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
}

.WaGadgetMembershipApplication
  .payment-method-header
  input[type="radio"] {
  width: 19px !important;
  height: 19px !important;
  margin: 1px 0 0 !important;
  accent-color: var(--chapter-accent);
}

.WaGadgetMembershipApplication
  .payment-method-content {
  margin-top: 14px;
}


/* ==========================================================
   NAVIGATION AND BUTTON VISIBILITY
   ========================================================== */

.WaGadgetMembershipApplication
  .navigationOuterContainer {
  width: 100%;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.WaGadgetMembershipApplication
  .navigationTopContainer {
  margin-bottom: 22px;
}

.WaGadgetMembershipApplication
  .navigationTopContainer
  .navigationOuterContainer {
  margin-top: 0 !important;
}

.WaGadgetMembershipApplication
  .navigationContainer
  .inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.WaGadgetMembershipApplication
  .navigationContainer
  :is(.left, .right) {
  display: flex;
  align-items: center;
  gap: 10px;
  float: none !important;
}

.WaGadgetMembershipApplication
  .navigationContainer
  .right {
  margin-left: auto;
}


/* Prevent duplicate no-script buttons */

.WaGadgetMembershipApplication
  input[id$="NoScript"],
.WaGadgetMembershipApplication
  input[name$="NoScript"] {
  display: none !important;
}


/*
  Primary buttons inherit the site's existing global button
  styling. Only Back and Cancel receive secondary styling.
*/

.WaGadgetMembershipApplication
  input[id*="_prev"]:not([id$="NoScript"]),
.WaGadgetMembershipApplication
  input[id*="_cancel"]:not([id$="NoScript"]) {
  background: transparent;
  border: 1px solid var(--sotw-green);
  color: var(--sotw-green) !important;
}

.WaGadgetMembershipApplication
  input[id*="_prev"]:not([id$="NoScript"]):hover,
.WaGadgetMembershipApplication
  input[id*="_cancel"]:not([id$="NoScript"]):hover {
  background: var(--sotw-green);
  color: var(--sotw-white) !important;
}


/* Hide empty supplementary links */

.WaGadgetMembershipApplication
  a.additionalLink:empty {
  display: none !important;
}


/* ==========================================================
   VALIDATION
   ========================================================== */

.WaGadgetMembershipApplication
  :is(
    .validationError,
    .fieldValidationError,
    .errorMessage
  ) {
  display: block;
  margin-top: 6px;
  color: #a72f27 !important;
  font-size: 0.9rem;
  font-weight: 700;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media screen and (max-width: 700px) {
  .WaGadgetMembershipApplication
    .generalFieldsOuterContainer:has(
      .fieldContainer,
      .sectionOuterContainer,
      .commonMessageBox,
      .payment-methods-container,
      table.kvTable
    ) {
    padding: 18px 15px !important;
  }

  .WaGadgetMembershipApplication
    .formTitleContainer
    .inner {
    display: block;
  }

  .WaGadgetMembershipApplication h3.formTitle {
    margin-bottom: 12px !important;
  }


  /* Selected membership summary */

  .WaGadgetMembershipApplication
    #idInfoContainer
    .infoSection {
    grid-template-columns: 1fr;
    gap: 6px;
  }


  /* Stack table-based fields */

  .WaGadgetMembershipApplication
    .fieldSubContainer
    > table,
  .WaGadgetMembershipApplication
    .fieldSubContainer
    > table
    > tbody,
  .WaGadgetMembershipApplication
    .fieldSubContainer
    > table
    > tbody
    > tr,
  .WaGadgetMembershipApplication
    .fieldSubContainer
    > table
    > tbody
    > tr
    > td {
    display: block;
    width: 100% !important;
  }

  .WaGadgetMembershipApplication
    .fieldSubContainer
    > table
    > tbody
    > tr
    > td.left {
    padding: 0 0 7px !important;
  }

  .WaGadgetMembershipApplication
    .fieldSubContainer:not(:has(> table)) {
    display: block;
  }

  .WaGadgetMembershipApplication
    .fieldSubContainer:not(:has(> table))
    > .fieldLabel {
    padding: 0 0 7px !important;
  }


  /* Slightly reduce membership name size */

  .WaGadgetMembershipApplication
    #idMembershipLevelRadioGroupContainer
    .fieldItem {
    padding: 18px !important;
  }

  .WaGadgetMembershipApplication
    #idMembershipLevelRadioGroupContainer
    .labelTitle {
    font-size: clamp(1.4rem, 7vw, 1.75rem);
  }


  /* Stack review rows */

  .WaGadgetMembershipApplication
    table.kvTable,
  .WaGadgetMembershipApplication
    table.kvTable
    tbody,
  .WaGadgetMembershipApplication
    table.kvTable
    tr,
  .WaGadgetMembershipApplication
    table.kvTable
    td {
    display: block;
    width: 100% !important;
  }

  .WaGadgetMembershipApplication
    table.kvTable
    .labelInfoColumn {
    padding-bottom: 2px !important;
    border-bottom: 0 !important;
  }

  .WaGadgetMembershipApplication
    table.kvTable
    .infoColumn {
    padding-top: 2px !important;
  }


  /* Navigation */

  .WaGadgetMembershipApplication
    .navigationContainer
    .inner {
    flex-wrap: wrap;
  }

  .WaGadgetMembershipApplication
    .navigationContainer
    :is(.left, .right) {
    flex-wrap: wrap;
    width: 100%;
  }

  .WaGadgetMembershipApplication
    .navigationContainer
    .right {
    justify-content: flex-end;
  }
}









/* EVENTS DETAILS PAGE */
.WaGadgetEvents .pageTitleContainer h1, .WaGadgetEvents .titleContainer h1
{
  line-height: 1.1em;
}

.WaGadgetEventsStateDetails .pageTitleOuterContainer .eventsTitleContainer h1 {
  margin: 20px 0 0 0;
  color: #0D3B24;
  line-height: 1.1em;
}
.WaGadgetEventsStateDetails h1.pageTitle, .WaGadgetEvents .pageTitleContainer, .WaGadgetEvents .titleContainer {
  /* display: none !important; */
}


/* ==========================================================
   SOTW EVENT CALENDAR — PART 2
   EVENT DETAILS VIEW ONLY
   ========================================================== */


/* ==========================================================
   BASE
   ========================================================== */

.WaGadgetEventsStateDetails {
  width: 100%;
  color: var(--sotw-text);
  font-family: var(--font-body);
}


/* Remove Wild Apricot's legacy corner graphics */

.WaGadgetEventsStateDetails .cornersContainer {
  display: none !important;
}


/* Remove legacy backgrounds from structural wrappers */

.WaGadgetEventsStateDetails
  :is(
    .boxContainer,
    .boxBodyContainer,
    .boxBodyInfoContainer,
    .boxBodyContentContainer,
    .pageViewSwitcherContainer
  ),
.WaGadgetEventsStateDetails
  :is(
    .boxContainer,
    .boxBodyContainer,
    .boxBodyInfoContainer,
    .boxBodyContentContainer,
    .pageViewSwitcherContainer
  )
  :is(
    .d1,
    .d2,
    .d3,
    .d4,
    .d5,
    .d6,
    .d7,
    .d8,
    .d9,
    .inner
  ) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ==========================================================
   HIDE WILD APRICOT EVENT TITLE
   The event title is already displayed by the breadcrumbs.
   ========================================================== */

.WaGadgetEventsStateDetails
  .pageTitleContainer.eventsTitleContainer {
  /* display: none !important; */
}


/* ==========================================================
   TOP ACTION ROW
   BACK LINK + ADD TO CALENDAR
   ========================================================== */

.WaGadgetEventsStateDetails
  #idEventsTitleMainContainer {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  width: 100%;
  margin: 0 0 clamp(24px, 4vw, 38px);
  padding: 0;

  background: transparent;
  border: 0;
}


/* Back link */

.WaGadgetEventsStateDetails
  .pageBackContainer {
  margin: 0;
  padding: 0;
}

.WaGadgetEventsStateDetails
  .eventBackLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--sotw-green);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;

  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.WaGadgetEventsStateDetails
  .eventBackLink::before {
  content: "←";
  color: var(--chapter-accent);
  font-size: 1.1em;
}

.WaGadgetEventsStateDetails
  .eventBackLink:hover {
  gap: 11px;
  color: var(--chapter-accent);
}


/* Add to calendar container */

.WaGadgetEventsStateDetails
  .pageViewSwitcherOuterContainer,
.WaGadgetEventsStateDetails
  .pageViewSwitcherContainer,
.WaGadgetEventsStateDetails
  .pageViewSwitcherContainer
  .inner {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}


/* Add to calendar button */

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;

  min-height: 42px;
  margin: 0 !important;
  padding: 9px 15px !important;

  color: var(--sotw-green) !important;
  background: transparent !important;
  border: 1px solid var(--sotw-green) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;

  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  cursor: pointer;
  box-sizing: border-box;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown:hover,
.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown.active {
  color: var(--sotw-white) !important;
  background: var(--sotw-green) !important;
}


/* Keep the calendar icon consistent */

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown
  > .icon {
  margin: 0 !important;
  color: var(--chapter-accent) !important;
}

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown:hover
  > .icon,
.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown.active
  > .icon {
  color: var(--sotw-white) !important;
}


/* Calendar dropdown menu */

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown
  .menu {
  min-width: 230px !important;
  margin-top: 8px !important;
  padding: 7px !important;

  background: var(--sotw-white) !important;
  border: 1px solid var(--sotw-border) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-card) !important;
}

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown
  .menu
  .item {
  display: block;
  padding: 10px 12px !important;

  color: var(--sotw-green) !important;
  background: transparent !important;
  border-radius: calc(var(--radius-sm) - 3px);

  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
}

.WaGadgetEventsStateDetails
  .-wa-add-event-to-calendar-dropdown
  .menu
  .item:hover {
  color: var(--sotw-white) !important;
  background: var(--sotw-green) !important;
}


/* ==========================================================
   MAIN EVENT CONTAINER
   No additional visible outer card.
   ========================================================== */

.WaGadgetEventsStateDetails
  .boxOuterContainer,
.WaGadgetEventsStateDetails
  .boxContainer,
.WaGadgetEventsStateDetails
  .boxBodyOuterContainer,
.WaGadgetEventsStateDetails
  .boxBodyContainer {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}


/*
   Direct inner wrapper containing the description and
   information panel.
*/

.WaGadgetEventsStateDetails
  .boxBodyContainer
  > .d1
  > .d2
  > .d3
  > .d4
  > .d5
  > .d6
  > .d7
  > .d8
  > .d9
  > .inner {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(270px, 34%);
  grid-template-areas: "content information";
  align-items: start;
  gap: clamp(34px, 5vw, 66px);

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  box-sizing: border-box;
}


/* Ignore Wild Apricot clearing elements in the grid */

.WaGadgetEventsStateDetails
  .boxBodyContainer
  > .d1
  > .d2
  > .d3
  > .d4
  > .d5
  > .d6
  > .d7
  > .d8
  > .d9
  > .inner
  > .clearEndContainer {
  display: none !important;
}


/* ==========================================================
   LEFT COLUMN — FULL EVENT DESCRIPTION
   ========================================================== */

.WaGadgetEventsStateDetails
  .boxBodyContentOuterContainer {
  grid-area: content;
  grid-column: 1;
  grid-row: 1;

  float: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box;
}

.WaGadgetEventsStateDetails
  .boxBodyContentContainer,
.WaGadgetEventsStateDetails
  .boxBodyContentContainer.fixedHeight {
  position: static;
  float: none !important;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;

  background: transparent !important;
  border: 0 !important;
}

.WaGadgetEventsStateDetails
  .boxBodyContentContainer.fixedHeight::after {
  display: none !important;
}

.WaGadgetEventsStateDetails
  .boxBodyContentContainer
  > .d1
  > .d2
  > .d3
  > .d4
  > .d5
  > .d6
  > .d7
  > .d8
  > .d9
  > .inner {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  color: var(--sotw-text);
  background: transparent !important;
  border: 0 !important;

  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;

  box-sizing: border-box;
}


/* ==========================================================
   EVENT DESCRIPTION TYPOGRAPHY
   ========================================================== */

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea p {
  margin: 0 0 1.15rem;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea p:empty {
  display: none;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea
  :is(h2, h3, h4, h5, h6) {
  margin: 1.6em 0 0.55em;

  color: var(--sotw-green);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.05;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea h3 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea
  :is(ul, ol) {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea li {
  margin: 0 0 0.45rem;
  padding-left: 0.15rem;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea li::marker {
  color: var(--chapter-accent);
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea a {
  color: var(--sotw-orange);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea a:hover {
  color: var(--sotw-orange-dark);
}


/* ==========================================================
   EVENT IMAGE
   ========================================================== */

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea img {
  display: block;

  width: 100% !important;
  max-width: 100% !important;
 

  margin: 0 0 clamp(24px, 4vw, 36px) !important;

  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);

  object-fit: cover;
}

.WaGadgetEventsStateDetails
  .gadgetEventEditableArea
  > p:first-child:has(img) {
  margin: 0 !important;
}


/* ==========================================================
   RIGHT COLUMN — EVENT INFORMATION PANEL
   This is the only card-like container on the details page.
   ========================================================== */

.WaGadgetEventsStateDetails
  .boxBodyInfoOuterContainer {
  grid-area: information;
  grid-column: 2;
  grid-row: 1;

  position: sticky;
  top: 120px;

  float: none !important;
  clear: none !important;

  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 30px) !important;

  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid var(--sotw-border) !important;
  border-top: 4px solid var(--chapter-accent) !important;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);

  box-sizing: border-box;
}


/* Reset all wrappers inside the information panel */

.WaGadgetEventsStateDetails
  .boxBodyInfoOuterContainer
  :is(
    .boxBodyInfoContainer,
    .d1,
    .d2,
    .d3,
    .d4,
    .d5,
    .d6,
    .d7,
    .d8,
    .d9,
    .inner
  ) {
  float: none !important;
  clear: none !important;

  width: 100% !important;
  min-width: 0;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  box-sizing: border-box;
}


/* ==========================================================
   DATE AND LOCATION
   ========================================================== */

.WaGadgetEventsStateDetails
  .boxInfoContainer {
  width: 100%;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--sotw-border);
}

.WaGadgetEventsStateDetails
  ul.boxInfo {
  display: flex;
  flex-direction: column;
  gap: 18px;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  list-style: none;
}

.WaGadgetEventsStateDetails
  ul.boxInfo > li {
  position: relative;
  width: 100%;
  min-width: 0;

  margin: 0 !important;
  padding: 0 0 0 29px !important;

  box-sizing: border-box;
}


/* Date icon */

.WaGadgetEventsStateDetails
  :is(
    .eventInfoStartDate,
    .eventInfoEndDate
  )::before {
  content: "\f073";
  position: absolute;
  top: 2px;
  left: 0;

  color: var(--chapter-accent);
  font-family:
    "Font Awesome 6 Pro",
    "Font Awesome 5 Pro";
  font-size: 1rem;
  font-weight: 400;
}


/* Location icon */

.WaGadgetEventsStateDetails
  :is(
    .eventInfoLocation,
    .eventInfoLocationName,
    .eventInfoAddress
  )::before {
  content: "\f3c5";
  position: absolute;
  top: 2px;
  left: 0;

  color: var(--chapter-accent);
  font-family:
    "Font Awesome 6 Pro",
    "Font Awesome 5 Pro";
  font-size: 1rem;
  font-weight: 400;
}

.WaGadgetEventsStateDetails
  .eventInfoBoxLabel {
  display: block;
  margin: 0 0 5px;

  color: var(--sotw-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.WaGadgetEventsStateDetails
  .eventInfoBoxValue {
  width: 100%;
  min-width: 0;

  color: var(--sotw-green);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;

  overflow-wrap: anywhere;
}

.WaGadgetEventsStateDetails
  .eventInfoBoxValue strong {
  color: inherit;
  font-weight: 700;
}


/* ==========================================================
   REGISTRATION INFORMATION
   ========================================================== */

.WaGadgetEventsStateDetails
  .registrationInfoContainer {
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
}

.WaGadgetEventsStateDetails
  h4.infoTitle {
  margin: 0 0 13px !important;
  padding: 0 !important;

  color: var(--sotw-green) !important;
  font-family: var(--font-heading) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
}

.WaGadgetEventsStateDetails
  .registrationInfoContainer
  .infoText:empty {
  display: none;
}

.WaGadgetEventsStateDetails
  ul.registrationInfo {
  display: flex;
  flex-direction: column;
  gap: 9px;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  list-style: none;
}

.WaGadgetEventsStateDetails
  ul.registrationInfo > li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;

  width: 100%;
  margin: 0 !important;
  padding: 10px 0 !important;

  color: var(--sotw-text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--sotw-border);

  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;

  box-sizing: border-box;
}

.WaGadgetEventsStateDetails
  ul.registrationInfo > li:last-child {
  border-bottom: 0;
}

.WaGadgetEventsStateDetails
  .regTypeLiLabel {
  min-width: 0;
  color: var(--sotw-text);
}

.WaGadgetEventsStateDetails
  .regTypeLiLabel strong {
  color: var(--sotw-green);
  font-weight: 700;
}

.WaGadgetEventsStateDetails
  .regTypeLiValue {
  /* flex: 0 0 auto; */
  color: var(--sotw-text);
  font-weight: 700;
  text-align: left;
}

.WaGadgetEventsStateDetails
  ul.registrationInfo > li.disabled {
  opacity: 0.58;
}


/* Remove the old registration divider */

.WaGadgetEventsStateDetails
  .regTypeHr {
  display: none !important;
}


/* ==========================================================
   REGISTER BUTTON
   ========================================================== */

.WaGadgetEventsStateDetails
  .boxActionContainer,
.WaGadgetEventsStateDetails
  .boxActionContainer
  .inner {
  display: block;
  float: none !important;
  clear: both;

  width: 100% !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;

  box-sizing: border-box;
}

.WaGadgetEventsStateDetails
  .boxActionContainer {
  margin-top: 22px !important;
}


/* Style whichever control Wild Apricot displays */

.WaGadgetEventsStateDetails
  .boxActionContainer
  :is(a, input.registerButton) {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 46px;

  margin: 0 !important;
  padding: 13px 20px !important;

  color: var(--sotw-white) !important;
  background: var(--chapter-accent) !important;
  border: 0 !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;

  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  box-sizing: border-box;
  appearance: none;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.WaGadgetEventsStateDetails
  .boxActionContainer
  :is(a, input.registerButton):hover {
  color: var(--sotw-white) !important;
  background: var(--sotw-orange-dark) !important;
  box-shadow: 0 7px 18px
    rgba(201, 90, 26, 0.2) !important;
  transform: translateY(-1px);
}


/*
   Respect Wild Apricot's choice between the hidden link
   and visible input button.
*/

.WaGadgetEventsStateDetails
  .boxActionContainer
  [style*="display: none"],
.WaGadgetEventsStateDetails
  .boxActionContainer
  [style*="display:none"] {
  display: none !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {
  .WaGadgetEventsStateDetails
    .boxBodyContainer
    > .d1
    > .d2
    > .d3
    > .d4
    > .d5
    > .d6
    > .d7
    > .d8
    > .d9
    > .inner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(245px, 38%);
    gap: 30px;
  }

  .WaGadgetEventsStateDetails
    .boxBodyInfoOuterContainer {
    top: 95px;
  }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 720px) {
  .WaGadgetEventsStateDetails
    #idEventsTitleMainContainer {
    align-items: flex-start;
  }

  .WaGadgetEventsStateDetails
    .boxBodyContainer
    > .d1
    > .d2
    > .d3
    > .d4
    > .d5
    > .d6
    > .d7
    > .d8
    > .d9
    > .inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "information"
      "content";
    gap: 30px;
  }

  .WaGadgetEventsStateDetails
    .boxBodyInfoOuterContainer {
    grid-column: 1;
    grid-row: 1;

    position: static;
    width: 100% !important;
  }

  .WaGadgetEventsStateDetails
    .boxBodyContentOuterContainer {
    grid-column: 1;
    grid-row: 2;
  }
}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 520px) {
  .WaGadgetEventsStateDetails
    #idEventsTitleMainContainer {
    flex-direction: column;
    gap: 15px;
  }

  .WaGadgetEventsStateDetails
    .pageViewSwitcherOuterContainer {
    width: 100%;
  }

  .WaGadgetEventsStateDetails
    .pageViewSwitcherContainer,
  .WaGadgetEventsStateDetails
    .semantic-ui,
  .WaGadgetEventsStateDetails
    .-wa-add-event-to-calendar-dropdown {
    width: 100%;
  }

  .WaGadgetEventsStateDetails
    .-wa-add-event-to-calendar-dropdown {
    justify-content: center;
  }

  .WaGadgetEventsStateDetails
    .boxBodyInfoOuterContainer {
    padding: 20px !important;
  }

  .WaGadgetEventsStateDetails
    .gadgetEventEditableArea {
    font-size: 1rem;
  }
}
/* ==========================================================
   EVENT DETAILS — INFORMATION ADJUSTMENTS
   ========================================================== */


/* Stack When and Location labels above their values */

.WaGadgetEventsStateDetails ul.boxInfo > li {
  display: block !important;
  width: 100% !important;
  padding-left: 30px !important;
}

.WaGadgetEventsStateDetails .eventInfoBoxLabel,
.WaGadgetEventsStateDetails .eventInfoBoxValue {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}


/* Larger When and Location labels */

.WaGadgetEventsStateDetails .eventInfoBoxLabel {
  margin-bottom: 7px !important;
  color: var(--sotw-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em;
}


/* Larger date and location values */

.WaGadgetEventsStateDetails .eventInfoBoxValue,
.WaGadgetEventsStateDetails .eventInfoBoxValue strong,
.WaGadgetEventsStateDetails .eventInfoBoxValue span {
  color: var(--sotw-green) !important;
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
}


/* ==========================================================
   TICKET OPTIONS
   ========================================================== */

/* Indent the complete ticket list */

.WaGadgetEventsStateDetails ul.registrationInfo {
  margin-left: 0 !important;
  padding-left: 18px !important;
  list-style: none !important;
}


/* Remove Wild Apricot's ticket bullet icons */

.WaGadgetEventsStateDetails ul.registrationInfo > li {
  position: relative;
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  background-image: none !important;
}

.WaGadgetEventsStateDetails ul.registrationInfo > li::before,
.WaGadgetEventsStateDetails ul.registrationInfo > li::after,
.WaGadgetEventsStateDetails .regTypeLiLabel::before,
.WaGadgetEventsStateDetails .regTypeLiLabel::after {
  display: none !important;
  content: none !important;
  background: none !important;
}


/* Keep ticket names cleanly aligned */

.WaGadgetEventsStateDetails .regTypeLiLabel {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.WaGadgetEventsStateDetails .regTypeLiLabel strong {
  font-size: 1rem !important;
  line-height: 1.4 !important;
}
.WaGadgetEvents .boxInfoContainer ul.boxInfo li>label {
  text-align: left;

}
.WaGadgetEvents .boxInfoContainer ul.boxInfo li>div {
  margin: 0;
}

.WaGadgetEventsStateCalendar .sectionTitle {
     color: #0d3b24;
}
.WaGadgetEventsStateCalendar .yearViewType .EventListCalendar a.yearViewHeader {
  color: var(--sotw-orange);
}
@media screen and (max-width: 767px) {
    .WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*=Button] a, .WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*=Button] span {
        display: block;
        width: 40px;
        height: 40px;
        padding: 0;
        background: #0d3b24;
        color: white;
        line-height: 40px;
    }
        .WaGadgetEventsStateCalendar #idViewSwitchersTable #group1 {
        display: block;
        width: 130px;
    }
    .WaGadgetEventsStateCalendar #idViewSwitchersTable #todayButton {
        width: calc(100% - 95px);
    }
    .WaGadgetEventsStateCalendar #idViewSwitchersTable #group2 {
        display: block;
        width: calc(100% - 145px);
        text-align: right;
    }
}

/* END EVENT DETAILS PAGE */