@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..700;1,6..96,400..700&family=Hanken+Grotesk:ital,wght@0,400..700;1,400..700&display=swap");


/* ==========================================================================
   1. Tokens
   ========================================================================== */

html:root {
  --afns-paper: #ffffff;
  --afns-mist: #eff1e9;
  --afns-line: #dde0d4;
  --afns-field: #8c927e;

  --afns-ink: #2a2d23;
  --afns-ink-soft: #5b604f;

  --afns-sage: #9da388;
  --afns-sage-deep: #646c50;
  --afns-gold: #d3b78d;
  --afns-gold-deep: #8a6c3f;
  --afns-night: #2e3227;
  --afns-night-text: #e6e8de;
  --afns-error: #9b2c1f;

  --afns-font-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --afns-font-ui: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --afns-step--1: 0.875rem;
  --afns-step-0: 1rem;
  --afns-step-1: 1.25rem;
  --afns-step-2: clamp(1.375rem, 1.2rem + 0.7vw, 1.5625rem);
  --afns-step-3: clamp(1.625rem, 1.35rem + 1.2vw, 1.953rem);
  --afns-step-4: clamp(2rem, 1.5rem + 2vw, 2.441rem);
  --afns-step-5: clamp(2.25rem, 1.4rem + 3.4vw, 3.815rem);

  --afns-container: 1300px;
  --afns-gutter: clamp(16px, 4vw, 32px);
  --afns-measure: 68ch;
  --afns-radius: 3px;
  --afns-shadow-panel: 0 18px 40px -18px rgba(42, 45, 35, 0.35);
  --afns-shadow-print: 0 1px 2px rgba(42, 45, 35, 0.2), 0 14px 30px -10px rgba(42, 45, 35, 0.4);

  --yzfy-scheme-color: #646c50 !important;
  --yzfy-scheme-text-color: #ffffff !important;
}


/* ==========================================================================
   2. Reset and base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--afns-font-ui);
  font-size: var(--afns-step-0);
  line-height: 1.65;
  color: var(--afns-ink);
  background-color: var(--afns-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

figure {
  margin: 0;
}

a {
  color: var(--afns-sage-deep);
}

p {
  margin: 0 0 1em;
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

strong,
b {
  font-weight: 600;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: var(--afns-gold);
  color: var(--afns-ink);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.screen-reader-text,
.afns-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.afns-skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  color: #ffffff;
  background: var(--afns-night);
  border-radius: var(--afns-radius);
}


/* ==========================================================================
   3. Headings and text
   ========================================================================== */

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--afns-font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  color: var(--afns-ink);
  letter-spacing: 0;
  text-transform: none;
}

h1 { font-size: var(--afns-step-5); line-height: 1.08; }
h2 { font-size: var(--afns-step-4); line-height: 1.15; }
h3 { font-size: var(--afns-step-2); line-height: 1.3; font-weight: 400; }
h4 { font-size: var(--afns-step-1); line-height: 1.35; }

h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--afns-font-ui);
  font-size: var(--afns-step-0);
  font-weight: 600;
  line-height: 1.4;
  color: var(--afns-ink);
}

.wpb_text_column :is(h1, h2, h3, h4):last-child {
  margin-bottom: 0;
}

.wpb_text_column + .wpb_text_column {
  margin-top: 0.75rem;
}

.wpb_text_column p,
.elementor-widget-text-editor p {
  max-width: var(--afns-measure);
}

.qodef-content-aligment-center {
  text-align: center;
}

.qodef-content-aligment-center .wpb_text_column p,
.wpb_text_column p[style*="center"],
.qodef-content-aligment-center .wpb_text_column :is(h2, h3) {
  margin-inline: auto;
}

.qodef-content-aligment-center .wpb_text_column :is(h2, h3) {
  max-width: 34em;
}

.qodef-content-aligment-center .wpb_text_column h3 {
  color: var(--afns-ink-soft);
}

.qodef-content-aligment-left {
  text-align: left;
}

.wpb_text_column a,
.elementor-widget-text-editor a,
.entry-content a {
  color: var(--afns-sage-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.wpb_text_column a:hover,
.elementor-widget-text-editor a:hover,
.entry-content a:hover {
  color: var(--afns-ink);
}


/* ==========================================================================
   4. Layout: page shell and WPBakery grid
   ========================================================================== */

.qodef-wrapper,
.qodef-wrapper-inner,
.qodef-content,
.qodef-content-inner,
.qodef-full-width,
.qodef-full-width-inner {
  width: 100%;
}

.qodef-container-inner,
.qodef-grid,
.qodef-section-inner {
  width: 100%;
  max-width: var(--afns-container);
  margin-inline: auto;
  padding-inline: var(--afns-gutter);
}

.qodef-section-inner .qodef-section-inner {
  padding-inline: 0;
}

.vc_row {
  position: relative;
}

.qodef-section-inner-margin,
.qodef-full-section-inner {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -15px;
}

/* Full-width rows at page level must not poke past the viewport */
.wpb-content-wrapper > .vc_row:not(.vc_inner) > .qodef-full-section-inner {
  margin-inline: 0;
}

.afns-align-center .qodef-section-inner-margin {
  align-items: center;
}

.wpb_column,
.vc_column_container {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-inline: 15px;
}

.qodef-row-animations-holder,
.qodef-row-animations-holder > div {
  width: 100%;
}

.qodef-row-animations-holder > div {
  display: flex;
  flex-wrap: wrap;
}

.wpb_content_element {
  margin-bottom: 0;
}

.vc_empty_space {
  display: block;
}

/* Stack columns on phones, with breathing room between them */
@media (max-width: 767px) {
  .qodef-section-inner-margin > .wpb_column + .wpb_column,
  .qodef-full-section-inner > .wpb_column + .wpb_column {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .vc_col-sm-1  { width: 8.3333%; }
  .vc_col-sm-2  { width: 16.6667%; }
  .vc_col-sm-3  { width: 25%; }
  .vc_col-sm-4  { width: 33.3333%; }
  .vc_col-sm-5  { width: 41.6667%; }
  .vc_col-sm-6  { width: 50%; }
  .vc_col-sm-7  { width: 58.3333%; }
  .vc_col-sm-8  { width: 66.6667%; }
  .vc_col-sm-9  { width: 75%; }
  .vc_col-sm-10 { width: 83.3333%; }
  .vc_col-sm-11 { width: 91.6667%; }
  .vc_col-sm-12 { width: 100%; }
  .vc_col-sm-offset-1 { margin-left: 8.3333%; }
  .vc_col-sm-offset-2 { margin-left: 16.6667%; }
  .vc_col-sm-offset-3 { margin-left: 25%; }

  /* Columns that sit side by side get vertical rhythm when they wrap */
  .qodef-section-inner-margin > .wpb_column:not(.vc_col-sm-12),
  .qodef-full-section-inner > .wpb_column:not(.vc_col-sm-12) {
    margin-bottom: 2rem;
  }
}

@media (min-width: 992px) {
  .vc_col-md-1  { width: 8.3333%; }
  .vc_col-md-2  { width: 16.6667%; }
  .vc_col-md-3  { width: 25%; }
  .vc_col-md-4  { width: 33.3333%; }
  .vc_col-md-5  { width: 41.6667%; }
  .vc_col-md-6  { width: 50%; }
  .vc_col-md-7  { width: 58.3333%; }
  .vc_col-md-8  { width: 66.6667%; }
  .vc_col-md-9  { width: 75%; }
  .vc_col-md-10 { width: 83.3333%; }
  .vc_col-md-11 { width: 91.6667%; }
  .vc_col-md-12 { width: 100%; }
  .vc_col-md-offset-0 { margin-left: 0; }
  .vc_col-md-offset-1 { margin-left: 8.3333%; }
  .vc_col-md-offset-2 { margin-left: 16.6667%; }
  .vc_col-md-offset-3 { margin-left: 25%; }
}

@media (min-width: 1200px) {
  .vc_col-lg-1  { width: 8.3333%; }
  .vc_col-lg-2  { width: 16.6667%; }
  .vc_col-lg-3  { width: 25%; }
  .vc_col-lg-4  { width: 33.3333%; }
  .vc_col-lg-5  { width: 41.6667%; }
  .vc_col-lg-6  { width: 50%; }
  .vc_col-lg-7  { width: 58.3333%; }
  .vc_col-lg-8  { width: 66.6667%; }
  .vc_col-lg-9  { width: 75%; }
  .vc_col-lg-10 { width: 83.3333%; }
  .vc_col-lg-11 { width: 91.6667%; }
  .vc_col-lg-12 { width: 100%; }
  .vc_col-lg-offset-0 { margin-left: 0; }
  .vc_col-lg-offset-1 { margin-left: 8.3333%; }
  .vc_col-lg-offset-2 { margin-left: 16.6667%; }
  .vc_col-lg-offset-3 { margin-left: 25%; }
}


/* ==========================================================================
   5. Desktop header and dropdown menus
   ========================================================================== */

.qodef-page-header {
  position: relative;
  z-index: 50;
  background-color: var(--afns-paper);
  border-bottom: 1px solid var(--afns-line);
}

.qodef-page-header .qodef-menu-area {
  max-width: var(--afns-container);
  margin-inline: auto;
  padding: 1.25rem var(--afns-gutter) 0;
}

.qodef-page-header .qodef-vertical-align-containers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qodef-page-header .qodef-position-right:has(> .qodef-position-right-inner:empty) {
  display: none;
}

.qodef-logo-wrapper a,
.qodef-mobile-logo-wrapper a {
  display: block;
  height: auto !important;
}

.qodef-logo-wrapper img {
  display: block;
  width: auto;
  max-height: 104px;
}

.qodef-logo-wrapper .qodef-dark-logo,
.qodef-logo-wrapper .qodef-light-logo {
  display: none !important;
}

/* Lists inside any menu start clean */
.qodef-main-menu ul,
.qodef-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Theme leftovers the menus no longer need (their icon font is gone) */
.qodef-main-menu .menu_icon_wrapper,
.qodef-main-menu .plus,
.qodef-main-menu .qodef-menu-arrow,
.qodef-mobile-nav .mobile_arrow i,
.qodef-mobile-opener-icon-holder i {
  display: none !important;
}

.qodef-main-menu > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.qodef-main-menu > ul > li {
  position: relative;
}

.qodef-main-menu > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0.6rem 1.05rem;
  font-family: var(--afns-font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--afns-ink) !important;
  text-decoration: none;
  white-space: nowrap;
}

/* Small caret on items that open a panel */
.qodef-main-menu > ul > li.has_sub > a::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-top: -0.2rem;
  border-right: 1.5px solid var(--afns-ink-soft);
  border-bottom: 1.5px solid var(--afns-ink-soft);
  transform: rotate(45deg);
}

.qodef-main-menu > ul > li > a .item_text {
  position: relative;
}

.qodef-main-menu > ul > li > a .item_text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--afns-gold-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.qodef-main-menu > ul > li:hover > a .item_text::after,
.qodef-main-menu > ul > li:focus-within > a .item_text::after,
.qodef-main-menu > ul > li.qodef-active-item > a .item_text::after {
  transform: scaleX(1);
}

/* Panels */
.qodef-drop-down .second,
.qodef-drop-down .second li > ul {
  position: absolute;
  z-index: 60;
  min-width: 15rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

.qodef-drop-down .second {
  top: 100%;
  left: 0;
}

.qodef-drop-down .second .inner,
.qodef-drop-down .second li > ul {
  padding: 0.5rem 0;
  text-align: left;
  background-color: var(--afns-paper);
  border: 1px solid var(--afns-line);
  border-top: 2px solid var(--afns-gold);
  box-shadow: var(--afns-shadow-panel);
}

.qodef-drop-down .second li {
  position: relative;
}

/* Fly-outs for the month lists */
.qodef-drop-down .second li > ul {
  top: calc(-0.5rem - 2px);
  left: 100%;
  min-width: 12.5rem;
}

.qodef-drop-down > ul > li:hover > .second,
.qodef-drop-down > ul > li:focus-within > .second,
.qodef-drop-down .second li:hover > ul,
.qodef-drop-down .second li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.qodef-drop-down .second li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--afns-ink-soft) !important;
  text-decoration: none;
  white-space: nowrap;
}

.qodef-drop-down .second li.menu-item-has-children > a::after {
  content: "";
  flex: none;
  width: 0.36rem;
  height: 0.36rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.qodef-drop-down .second li:hover > a,
.qodef-drop-down .second li:focus-within > a,
.qodef-drop-down .second li.current-menu-item > a {
  color: var(--afns-ink) !important;
  background-color: var(--afns-mist);
}

/* Last four top-level items open towards the left so nothing leaves the screen */
.qodef-drop-down > ul > li:nth-last-child(-n+4) > .second {
  left: auto;
  right: 0;
}

.qodef-drop-down > ul > li:nth-last-child(-n+4) .second li > ul {
  left: auto;
  right: 100%;
}

.qodef-drop-down > ul > li:nth-last-child(-n+4) .second li.menu-item-has-children > a::after {
  transform: rotate(-135deg);
}


/* ==========================================================================
   6. Mobile header and navigation (1024px and below)
   ========================================================================== */

.qodef-mobile-header {
  display: none;
}

@media (max-width: 1024px) {
  .qodef-page-header {
    display: none;
  }

  .qodef-mobile-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--afns-paper);
    border-bottom: 1px solid var(--afns-line);
  }
}

.qodef-mobile-header .qodef-mobile-header-holder .qodef-grid {
  max-width: none;
  padding: 0;
}

.qodef-mobile-header .qodef-mobile-header-holder .qodef-vertical-align-containers {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  min-height: 64px;
  padding: 0.4rem var(--afns-gutter);
}

.qodef-mobile-header .qodef-position-center {
  grid-column: 2;
  justify-self: center;
}

.qodef-mobile-header .qodef-position-right {
  display: none;
}

.qodef-mobile-logo-wrapper img {
  display: block;
  width: auto;
  max-height: 52px;
}

.qodef-mobile-menu-opener a,
button.qodef-mobile-menu-opener {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--afns-ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.qodef-mobile-opener-icon-holder {
  position: relative;
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.qodef-mobile-opener-icon-holder::before,
.qodef-mobile-opener-icon-holder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: currentColor;
  opacity: 0;
}

.afns-menu-open .qodef-mobile-opener-icon-holder {
  background-color: transparent;
  box-shadow: none;
}

.afns-menu-open .qodef-mobile-opener-icon-holder::before { opacity: 1; transform: rotate(45deg); }
.afns-menu-open .qodef-mobile-opener-icon-holder::after  { opacity: 1; transform: rotate(-45deg); }

.qodef-mobile-nav {
  display: none;
  max-height: calc(100vh - 65px);
  max-height: calc(100dvh - 65px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background-color: var(--afns-paper);
  border-top: 1px solid var(--afns-line);
}

.afns-menu-open .qodef-mobile-nav {
  display: block;
}

.qodef-mobile-nav .qodef-grid {
  padding-block: 0.25rem 1.5rem;
}

.qodef-mobile-nav li {
  position: relative;
  border-bottom: 1px solid var(--afns-line);
}

.qodef-mobile-nav li:last-child {
  border-bottom: 0;
}

.qodef-mobile-nav li > a {
  display: block;
  padding: 0.8rem 3.25rem 0.8rem 0;
  font-size: var(--afns-step-0);
  font-weight: 500;
  line-height: 1.5;
  color: var(--afns-ink);
  text-decoration: none;
}

.qodef-mobile-nav .sub_menu li > a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--afns-ink-soft);
}

.qodef-mobile-nav li.qodef-active-item > a,
.qodef-mobile-nav li.current-menu-item > a {
  color: var(--afns-sage-deep);
}

.qodef-mobile-nav .mobile_arrow {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 3.1rem;
  padding: 0;
  color: var(--afns-sage-deep);
  background: none;
  border: 0;
  cursor: pointer;
}

.qodef-mobile-nav .mobile_arrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.qodef-mobile-nav li.afns-open > .mobile_arrow::before {
  margin-top: 0.25rem;
  transform: rotate(-135deg);
}

.qodef-mobile-nav .sub_menu {
  display: none;
  padding-left: 1rem;
  border-top: 1px solid var(--afns-line);
}

.qodef-mobile-nav li.afns-open > .sub_menu {
  display: block;
}


/* ==========================================================================
   7. Homepage hero
   ========================================================================== */

.afns-hero {
  display: grid;
  place-items: center;
  min-height: clamp(28rem, 80vh, 52rem);
  padding: 4rem var(--afns-gutter);
  text-align: center;
  color: #ffffff;
  background: var(--afns-night) var(--afns-hero-image, none) center / cover no-repeat;
  box-shadow: inset 0 0 0 100vmax rgba(30, 33, 25, 0.46);
}

.afns-hero__inner {
  max-width: 48rem;
}

.afns-hero__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 1.5rem + 5.2vw, 5.75rem);
  font-weight: 500;
  line-height: 1.02;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.afns-hero__lede {
  max-width: 34ch;
  margin: 0 auto 2.25rem;
  font-size: var(--afns-step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.94);
}

.afns-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.afns-intro-title {
  font-size: var(--afns-step-3);
  line-height: 1.25;
}


/* ==========================================================================
   8. Images, photo bands, statement type
   ========================================================================== */

.vc_single_image-wrapper img,
.wpb_single_image img {
  display: block;
  width: 100%;
}

.afns-category h3 {
  margin-top: 1.25rem;
  text-align: center;
}

.afns-category p {
  max-width: 30ch;
  margin-inline: auto;
  text-align: center;
  color: var(--afns-ink-soft);
}

.qodef-parallax-section-holder {
  display: flex;
  align-items: center;
  background-color: var(--afns-night);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 100vmax rgba(36, 39, 29, 0.5);
  color: #ffffff;
}

@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .qodef-parallax-section-holder {
    background-attachment: fixed;
  }
}

.qodef-parallax-section-holder :is(h1, h2, h3, h4, p, .qodef-custom-font-holder) {
  color: #ffffff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.25);
}

.qodef-custom-font-holder {
  font-family: var(--afns-font-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.qodef-parallax-section-holder :is(div, p).qodef-custom-font-holder {
  max-width: 22ch;
  margin: 0 auto;
  font-size: var(--afns-step-5) !important;
  line-height: 1.12 !important;
  font-style: italic;
}

h3.qodef-custom-font-holder {
  max-width: 40ch;
  margin-inline: auto;
  font-family: var(--afns-font-ui) !important;
  font-size: var(--afns-step-1) !important;
  line-height: 1.5 !important;
  font-style: normal;
}

/* Revolution Slider leftovers that cannot run without its scripts */
img[src*="revslider"][src*="dummy.png"] {
  display: none !important;
}


/* ==========================================================================
   9. Buttons
   ========================================================================== */

.qodef-btn,
.elementor-button,
.nf-form-cont .submit-wrap input[type="button"],
.nf-form-cont .submit-wrap input[type="submit"],
.nf-form-cont .nf-fu-fileinput-button,
.qodef-content input[type="submit"],
.qodef-content button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: auto !important;
  min-height: 3rem;
  padding: 0.8rem 1.75rem !important;
  font-family: var(--afns-font-ui) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  color: #ffffff !important;
  background-color: var(--afns-sage-deep) !important;
  border: 1px solid var(--afns-sage-deep) !important;
  border-radius: var(--afns-radius) !important;
  text-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.qodef-btn:hover,
.qodef-btn:focus-visible,
.elementor-button:hover,
.elementor-button:focus-visible,
.nf-form-cont .submit-wrap input[type="button"]:hover,
.nf-form-cont .submit-wrap input[type="submit"]:hover,
.nf-form-cont .nf-fu-fileinput-button:hover,
.qodef-content input[type="submit"]:hover,
.qodef-content button[type="submit"]:hover {
  color: var(--afns-gold) !important;
  background-color: var(--afns-night) !important;
  border-color: var(--afns-night) !important;
}

.qodef-btn.qodef-btn-outline {
  color: var(--afns-sage-deep) !important;
  background-color: transparent !important;
}

.afns-hero .qodef-btn.qodef-btn-outline,
.qodef-parallax-section-holder .qodef-btn.qodef-btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

.afns-hero .qodef-btn.qodef-btn-outline:hover,
.qodef-parallax-section-holder .qodef-btn.qodef-btn-outline:hover {
  color: var(--afns-ink) !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}


/* ==========================================================================
   10. Award tiles (icon-with-text, icon on top)
   ========================================================================== */

.qodef-iwt.qodef-iwt-icon-top {
  height: 100%;
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  color: var(--afns-night-text);
  background-color: var(--afns-night);
  border-top: 2px solid var(--afns-gold);
}

.qodef-iwt.qodef-iwt-icon-top .qodef-iwt-icon-holder img {
  display: block;
  width: min(132px, 60%);
  height: auto;
  margin-inline: auto;
}

.qodef-iwt .qodef-iwt-title-holder :is(h3, h4, h5) {
  margin: 1.25rem 0 0.75rem;
  font-family: var(--afns-font-display);
  font-size: var(--afns-step-2);
  font-weight: 500;
  line-height: 1.25;
}

.qodef-iwt.qodef-iwt-icon-top .qodef-iwt-title-holder :is(h3, h4, h5) {
  color: var(--afns-gold) !important;
}

.qodef-iwt .qodef-iwt-text-holder p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.qodef-iwt.qodef-iwt-icon-top .qodef-iwt-text-holder p {
  color: var(--afns-night-text) !important;
}

.wpb_column:has(.qodef-iwt-icon-top) > .vc_column-inner,
.wpb_column:has(.qodef-iwt-icon-top) > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wpb_column:has(.qodef-iwt-icon-top) .qodef-iwt-icon-top {
  flex: 1 1 auto;
}

.wpb_column:has(.qodef-iwt-icon-top) .vc_empty_space {
  display: none;
}

.afns-note {
  margin-top: 0.5rem !important;
  font-size: var(--afns-step--1);
  font-style: italic;
  color: var(--afns-ink-soft);
}

@media (max-width: 767px) {
  .qodef-iwt.qodef-iwt-icon-top {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}


/* ==========================================================================
   11. Image slider (magazine covers and similar strips)
   ========================================================================== */

.afns-covers {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem);
  background-color: var(--afns-mist);
}

.afns-covers__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 1.5rem;
}

.afns-covers__head h2 {
  margin: 0;
}

.qodef-image-slider {
  position: relative;
}

.qodef-image-slider-inner {
  height: auto !important;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--afns-gutter);
  scrollbar-width: thin;
  scrollbar-color: var(--afns-sage) transparent;
}

.qodef-image-slider-inner > ul {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  margin: 0;
  padding: 0.75rem var(--afns-gutter) 2.25rem;
  list-style: none;
}

/* Line the strip up with the content column on wide screens */
@media (min-width: 1364px) {
  .qodef-image-slider-inner > ul {
    padding-inline: calc((100vw - var(--afns-container)) / 2 + var(--afns-gutter));
  }

  .qodef-image-slider-inner {
    scroll-padding-inline: calc((100vw - var(--afns-container)) / 2 + var(--afns-gutter));
  }
}

.qodef-image-slider-inner li {
  flex: none;
  scroll-snap-align: start;
}

.qodef-image-slider-holder {
  width: min(331px, 72vw) !important;
  height: auto !important;
}

.qodef-image-slider-holder img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 331 / 425;
  object-fit: cover;
  background-color: var(--afns-line);
  box-shadow: var(--afns-shadow-print);
}

.qodef-image-slider .controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

html:not(.afns-js) .qodef-image-slider .controls {
  display: none;
}

.qodef-image-slider .controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--afns-gold);
  background-color: var(--afns-night);
  border-radius: 50%;
}

.qodef-image-slider .controls a span {
  display: none;
}

.qodef-image-slider .controls a::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.qodef-image-slider .controls .prev-slide::before { margin-left: 0.2rem; transform: rotate(-135deg); }
.qodef-image-slider .controls .next-slide::before { margin-right: 0.2rem; transform: rotate(45deg); }

.qodef-image-slider .controls a:hover {
  color: #ffffff;
  background-color: var(--afns-sage-deep);
}


/* ==========================================================================
   12. Forms (general, Ninja Forms submissions, file uploads)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="date"],
textarea,
select,
.nf-form-cont .ninja-forms-field:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
  max-width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--afns-font-ui);
  font-size: var(--afns-step-0);
  line-height: 1.4;
  color: var(--afns-ink);
  background-color: var(--afns-paper);
  border: 1px solid var(--afns-field);
  border-radius: var(--afns-radius);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--afns-sage-deep);
  box-shadow: 0 0 0 3px rgba(100, 108, 80, 0.22);
}

::placeholder {
  color: var(--afns-ink-soft);
  opacity: 0.8;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--afns-sage-deep);
}

.nf-form-cont .nf-field-container {
  margin-bottom: 1.5rem;
}

.nf-form-cont .nf-field-element input:not([type="checkbox"]):not([type="radio"]),
.nf-form-cont .nf-field-element textarea,
.nf-form-cont .nf-field-element select {
  width: 100%;
}

.nf-form-cont .nf-field-label {
  margin-bottom: 0.4rem;
}

.nf-form-cont .nf-field-label label,
.nf-form-cont .nf-field-label .nf-label-span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--afns-ink);
}

.nf-form-cont .nf-field-description,
.nf-form-cont .nf-form-fields-required {
  font-size: var(--afns-step--1);
  color: var(--afns-ink-soft);
}

.nf-form-cont .ninja-forms-req-symbol,
.nf-form-cont .nf-error-msg {
  color: var(--afns-error);
}

.nf-form-cont .nf-error .ninja-forms-field {
  border-color: var(--afns-error) !important;
}

.nf-form-cont .nf-response-msg {
  padding: 1rem 1.25rem;
  background-color: var(--afns-mist);
  border-left: 3px solid var(--afns-sage-deep);
}

.nf-form-cont .nf-fu-progress {
  height: 6px;
  overflow: hidden;
  background-color: var(--afns-mist);
  border-radius: 999px;
}

.nf-form-cont .nf-fu-progress-bar {
  height: 100%;
  background-color: var(--afns-sage-deep);
}


/* ==========================================================================
   13. Tables and the Top 100 leaderboard
   ========================================================================== */

.qodef-content table,
.gamipress-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.qodef-content table th,
.gamipress-leaderboard-table th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--afns-ink);
  background-color: var(--afns-mist);
  border-bottom: 1px solid var(--afns-field);
}

.qodef-content table td,
.gamipress-leaderboard-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--afns-line);
}

.qodef-content table tbody tr:hover td {
  background-color: #f7f8f3;
}

.gamipress-leaderboard-table tbody td:first-child {
  font-family: var(--afns-font-display);
  font-size: 1.125rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--afns-gold-deep);
}

.gamipress-leaderboard-table img.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  vertical-align: middle;
}

.gamipress-leaderboard,
.dataTables_wrapper {
  overflow-x: auto;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  color: var(--afns-ink) !important;
  border-radius: var(--afns-radius);
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: var(--afns-gold) !important;
  background-color: var(--afns-night);
}

.gamipress-achievement-title,
.gamipress-rank-title {
  font-family: var(--afns-font-display);
  font-weight: 500;
}


/* ==========================================================================
   14. Youzify login popup and membership forms
   ========================================================================== */

.youzify-popup-login:not(.youzify-is-visible) {
  display: none !important;
}

.youzify-popup-login.youzify-is-visible {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: rgba(30, 33, 25, 0.72);
}

.youzify-membership-form {
  width: min(420px, 100%);
  overflow: hidden;
  font-family: var(--afns-font-ui);
  background-color: var(--afns-paper);
  border-radius: 4px;
  box-shadow: var(--afns-shadow-panel);
}

.youzify-membership-form .youzify-membership-form-cover {
  padding: 1.5rem;
  background-color: var(--afns-night) !important;
  background-image: none !important;
}

.youzify-membership-form .form-cover-title {
  margin: 0;
  font-family: var(--afns-font-display) !important;
  font-weight: 500 !important;
  color: var(--afns-gold) !important;
}

.youzify-membership-form form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.youzify-membership-form .youzify-membership-item-content > label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--afns-ink);
}

.youzify-membership-form .youzify-membership-field-content input {
  width: 100%;
}

.youzify-membership-form .youzify-membership-submit-item button {
  width: 100%;
  min-height: 3rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--afns-sage-deep);
  border: 0;
  border-radius: var(--afns-radius);
  cursor: pointer;
}

.youzify-membership-form .youzify-membership-link-button {
  display: block;
  padding: 0.75rem;
  text-align: center;
  color: var(--afns-sage-deep);
  text-decoration: none;
  border: 1px solid var(--afns-field);
  border-radius: var(--afns-radius);
}


/* ==========================================================================
   15. Page-builder and theme fallbacks for other restored pages
   ========================================================================== */

/* Theme loaders cannot finish without the theme's scripts */
.qodef-smooth-transition-loader,
.qodef-split-loader {
  display: none !important;
}

/* Elementor sections */
.elementor-section .elementor-container {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--afns-container);
  margin-inline: auto;
}

.elementor-section.elementor-section-stretched .elementor-container,
.elementor-section.elementor-section-full_width .elementor-container {
  max-width: none;
}

.elementor-column {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 1px;
}

.elementor-widget-wrap {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
  padding: 10px;
}

.elementor-widget {
  position: relative;
  width: 100%;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .elementor-col-10  { width: 10%; }
  .elementor-col-11  { width: 11.111%; }
  .elementor-col-12  { width: 12.5%; }
  .elementor-col-14  { width: 14.285%; }
  .elementor-col-16  { width: 16.666%; }
  .elementor-col-20  { width: 20%; }
  .elementor-col-25  { width: 25%; }
  .elementor-col-30  { width: 30%; }
  .elementor-col-33  { width: 33.333%; }
  .elementor-col-40  { width: 40%; }
  .elementor-col-50  { width: 50%; }
  .elementor-col-60  { width: 60%; }
  .elementor-col-66  { width: 66.666%; }
  .elementor-col-70  { width: 70%; }
  .elementor-col-75  { width: 75%; }
  .elementor-col-80  { width: 80%; }
  .elementor-col-83  { width: 83.333%; }
  .elementor-col-90  { width: 90%; }
  .elementor-col-100 { width: 100%; }
}

.elementor-image img {
  display: block;
  margin-inline: auto;
}

/* Modula galleries: a simple responsive grid instead of the script layout */
.modula-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: 12px;
  height: auto !important;
}

.modula-items .modula-item {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  overflow: hidden;
}

.modula-items .modula-item img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==========================================================================
   16. Footer
   ========================================================================== */

.afns-footer,
footer .qodef-footer-inner {
  color: var(--afns-night-text);
  background-color: var(--afns-night);
}

.afns-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: var(--afns-container);
  margin-inline: auto;
  padding: 2.5rem var(--afns-gutter);
}

.afns-footer__brand {
  margin: 0;
  font-family: var(--afns-font-display);
  font-size: var(--afns-step-1);
  color: var(--afns-gold);
}

.afns-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afns-footer a,
footer .qodef-footer-inner a {
  color: var(--afns-night-text);
  text-decoration: none;
}

.afns-footer a:hover,
footer .qodef-footer-inner a:hover {
  color: var(--afns-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* The theme's footer on other pages: columns, and nothing at all when empty */
footer .qodef-four-columns-inner,
footer .qodef-three-columns-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-block: 3rem;
}

footer .qodef-footer-top-holder:not(:has(.widget)),
footer .qodef-footer-bottom-holder:not(:has(.widget)) {
  display: none;
}

footer :is(h4, h5, .widget-title) {
  font-family: var(--afns-font-display);
  font-weight: 500;
  color: var(--afns-gold);
}


/* ==========================================================================
   17. Opt-in helpers (WPBakery "Extra class name" / Elementor "CSS Classes")
   ========================================================================== */

.afns-surface-mist {
  background-color: var(--afns-mist) !important;
}

.afns-surface-night {
  color: var(--afns-night-text);
  background-color: var(--afns-night) !important;
}

.afns-surface-night :is(h1, h2, h3, h4) {
  color: var(--afns-gold) !important;
}

.afns-surface-night :is(p, li) {
  color: var(--afns-night-text) !important;
}

.afns-surface-night a:not(.qodef-btn) {
  color: var(--afns-gold);
}

.afns-narrow {
  max-width: var(--afns-measure);
  margin-inline: auto;
}

.afns-print img {
  padding: 10px;
  background-color: #ffffff;
  box-shadow: var(--afns-shadow-print);
}

.afns-caption {
  margin-top: 0.75rem;
  font-size: var(--afns-step--1);
  color: var(--afns-ink-soft);
}


/* ==========================================================================
   18. Back to top, focus and motion
   ========================================================================== */

#qodef-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

#qodef-back-to-top.afns-visible,
html:not(.afns-js) #qodef-back-to-top {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#qodef-back-to-top .qodef-icon-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--afns-gold);
  background-color: var(--afns-night);
  border-radius: var(--afns-radius);
}

#qodef-back-to-top .qodef-icon-stack > * {
  display: none;
}

#qodef-back-to-top .qodef-icon-stack::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  margin-top: 0.3rem;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: rotate(45deg);
}

#qodef-back-to-top:hover .qodef-icon-stack {
  color: #ffffff;
  background-color: var(--afns-sage-deep);
}

:focus-visible {
  outline: 2px solid var(--afns-sage-deep);
  outline-offset: 3px;
}

.afns-hero :focus-visible,
.qodef-iwt :focus-visible,
.afns-footer :focus-visible,
footer :focus-visible,
.afns-surface-night :focus-visible,
.qodef-parallax-section-holder :focus-visible {
  outline-color: var(--afns-gold);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}