/* Feet & Inch Calculator ads. Placement matches the approved WordPress snippet. */
header[data-type="header"] {
  position: relative;
  z-index: 50;
}
.evx-fic-stamp-wrap {
  position: absolute;
  right: max(16px, calc((100% - 1100px) / 2));
  bottom: -24px;
  z-index: 60;
  pointer-events: none;
}
.evx-fic-stamp-wrap a {
  pointer-events: auto;
}
@media (max-width: 600px) {
  .evx-fic-stamp-wrap {
    right: 12px;
    bottom: -18px;
  }
}
.evx-fic-banner-slot {
  margin: 0 0 28px;
}
/* The header is still two rows through 768px, so the full-size stamp
   hangs into the banner unless the slot is pushed down. */
@media (max-width: 768px) {
  .evx-fic-banner-slot {
    margin-top: 48px;
  }
}
@media (max-width: 600px) {
  .evx-fic-banner-slot {
    margin-top: 34px;
  }
}

a.evx-fic-stamp {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  border: 2px solid #b8742a;
  outline: 1px solid #b8742a;
  outline-offset: 2px;
  border-radius: 4px;
  background: #fffaf2;
  color: #003f5c;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.05;
  transform: rotate(-6deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
  white-space: nowrap;
  vertical-align: middle;
}
a.evx-fic-stamp:hover,
a.evx-fic-stamp:focus {
  transform: rotate(-3deg) scale(1.04);
  color: #003f5c;
}
a.evx-fic-stamp img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  flex: 0 0 auto;
}
.evx-fic-stamp-txt {
  display: flex;
  flex-direction: column;
}
.evx-fic-stamp-top {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b8742a;
}
.evx-fic-stamp-main {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.evx-fic-stamp-count {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #517d61;
  margin-top: 1px;
}
#evx-fic-stamp-count[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  a.evx-fic-stamp {
    padding: 3px 7px 3px 4px;
    gap: 5px;
  }
  a.evx-fic-stamp img {
    width: 24px;
    height: 24px;
  }
  .evx-fic-stamp-count,
  .evx-fic-stamp-top {
    display: none !important;
  }
  .evx-fic-stamp-main {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  a.evx-fic-stamp {
    transition: none;
  }
}

#evx-fic-banner-count[hidden] {
  display: none !important;
}
.evx-fic-ad-banner,
.evx-fic-ad-banner * {
  box-sizing: border-box;
  max-width: 100%;
}
.evx-fic-ad-banner {
  display: block;
  width: 100%;
  margin: 0;
  background: #ffffff;
  color: #000000;
  border: 1px solid #e6e6e6;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.evx-fic-ad-banner-bar {
  display: block;
  height: 8px;
  background-image: linear-gradient(90deg, #003f5c 0%, #517d61 100%);
}
.evx-fic-ad-banner-inner {
  display: block;
  padding: 22px 24px 24px;
}
.evx-fic-ad-banner-mark {
  margin: 0 0 14px;
  color: #003f5c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.evx-fic-ad-banner-mark::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 8px;
  background-image: linear-gradient(90deg, #003f5c 0%, #517d61 100%);
}
.evx-fic-ad-banner-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.evx-fic-ad-banner-copy {
  flex: 1 1 260px;
  min-width: 0;
}
.evx-fic-ad-banner h2.evx-fic-ad-banner-title {
  margin: 0 0 8px;
  color: #003f5c;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}
.evx-fic-ad-banner p.evx-fic-ad-banner-desc {
  margin: 0;
  color: #000000;
  font-size: 16px;
  line-height: 1.45;
}
.evx-fic-ad-banner p.evx-fic-ad-banner-count {
  margin: 12px 0 0;
  color: #003f5c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}
.evx-fic-ad-banner-count-label {
  display: block;
  margin-bottom: 2px;
  color: #517d61;
  font-size: 14px;
  font-weight: 700;
}
.evx-fic-ad-banner-action {
  flex: 1 1 220px;
  min-width: 0;
}
.evx-fic-ad-banner a.evx-fic-ad-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  min-width: 44px;
  margin: 0;
  padding: 12px 25px;
  background: #003f5c;
  color: #ffffff;
  border-radius: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.5s ease;
}
.evx-fic-ad-banner a.evx-fic-ad-banner-button:hover,
.evx-fic-ad-banner a.evx-fic-ad-banner-button:focus {
  background: #517d61;
  color: #ffffff;
}
.evx-fic-ad-banner a.evx-fic-ad-banner-button:focus {
  outline: 3px solid #003f5c;
  outline-offset: 2px;
}
.evx-fic-ad-banner p.evx-fic-ad-banner-note {
  margin: 8px 0 0;
  color: #000000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .evx-fic-ad-banner-inner {
    padding: 18px 16px 20px;
  }
  .evx-fic-ad-banner h2.evx-fic-ad-banner-title {
    font-size: 24px;
  }
  .evx-fic-ad-banner a.evx-fic-ad-banner-button {
    width: 100%;
  }
}
.evx-fic-ad-banner .evx-fic-ad-banner-titlerow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}
.evx-fic-ad-banner .evx-fic-ad-banner-titlerow h2.evx-fic-ad-banner-title {
  margin: 0;
}
.evx-fic-ad-banner img.evx-fic-ad-banner-icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 48px;
}
