:root {
  --contact-overlay-hidden: none;
}

/* Mobile navigation menu - full screen from top */
@media screen and (max-width: 991px) {
  .mobile-nav-dropdown.w-nav-menu {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding-top: 80px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translateY(-100%) !important;
    transition: transform 0.3s ease-in-out !important;
    will-change: transform !important;
    background-color: white !important;
    pointer-events: auto !important;
  }

  .mobile-nav-dropdown.w-nav-menu.w--nav-menu-open {
    transform: translateY(0) !important;
  }

  /* Ensure dropdown in mobile menu is inline, not floating */
  .mobile-nav-dropdown .nav-bar-link-dropdown .dropdown-list {
    position: static !important;
    display: block !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .mobile-nav-dropdown .nav-bar-link-dropdown .menu-dropdown {
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
}

/* Mobile hamburger menu icon toggle */
@media screen and (max-width: 991px) {
  /* Hide hamburger icon when menu is open */
  .menu-button-main.w--open .hamburger-image {
    display: none;
  }

  /* Show close icon when menu is open */
  .menu-button-main.w--open .close-main-mobile-menu-image {
    display: block;
  }

  /* Keep the button visible when open (override webflow-base.css) */
  .menu-button-main.w--open {
    display: block !important;
  }
}

.nav-bar-link-dropdown .w-dropdown-toggle img {
  transition: transform 0.2s ease;
}

.nav-bar-link-dropdown.w--open .w-dropdown-toggle img {
  transform: rotate(180deg);
}

.segmented-control-tab.active .segmented-control-tab-text.contact-embed,
.segmented-control-tab.initially-active
  .segmented-control-tab-text.contact-embed {
  color: #0a0a0a !important;
}

.segmented-control-tab.active #stroke-icon path,
.segmented-control-tab.initially-active #stroke-icon path {
  stroke: #0a0a0a !important;
  fill: #0a0a0a !important;
}

.contact-us-form-overlay {
  display: var(--contact-overlay-hidden);
}

.contact-us-form-overlay:target,
body:has(#contact-form:target) .contact-us-form-overlay,
body:has(#contact:target) .contact-us-form-overlay {
  display: flex !important;
}

.contact-us-form-overlay.is-visible {
  display: flex !important;
}

/* Hide page chrome when the contact modal is open */
body:has(.contact-us-form-overlay.is-visible) .w-nav,
body:has(#contact-form:target) .w-nav,
body:has(#contact:target) .w-nav {
  opacity: 0;
  pointer-events: none;
}

.contact-us-form-container:has(.w-form-done[style*="display: block"]),
.contact-us-form-container:has(.w-form-fail[style*="display: block"]) {
  padding: 0;
  width: 0;
  height: 0;
}

.contact-us-form-container:has(.w-form-done[style*="display: block"]) > h2,
.contact-us-form-container:has(.w-form-fail[style*="display: block"]) > h2,
.contact-us-form-container:has(.w-form-done[style*="display: block"]) form,
.contact-us-form-container:has(.w-form-fail[style*="display: block"]) form,
.contact-us-form-container:has(.w-form-done[style*="display: block"])
  > .icon-button,
.contact-us-form-container:has(.w-form-fail[style*="display: block"])
  > .icon-button,
.contact-us-form-container:has(.w-form-done[style*="display: block"])
  > .contact-form-header-wrapper,
.contact-us-form-container:has(.w-form-done[style*="display: block"])
  > .contact-form-tabs {
  display: none;
}

.contact-us-form-overlay:has(.w-form-done[style*="display: block"]),
.contact-us-form-overlay:has(.w-form-fail[style*="display: block"]) {
  background-color: transparent;
  width: 0;
  height: 0;
  padding: 0;
}

.contact-us-form-overlay:has(.w-form-done[style*="display: block"]) .overlay-bg,
.contact-us-form-overlay:has(.w-form-fail[style*="display: block"])
  .overlay-bg {
  width: 0;
  height: 0;
  background-color: transparent;
}

.contact-us-form-container,
.contact-form-embed {
  position: relative;
  z-index: 2;
}

.contact-form-embed {
  max-height: 80vh;
}

.contact-form-embed[hidden],
.contact-us-form-container[hidden] {
  display: none !important;
}

.contact-us-form-overlay .overlay-bg {
  z-index: 1;
}

.segmented-control-tab[style*="background-color: rgb(255, 255, 255)"] {
  box-shadow: 0px 2.5px 5px 0px rgba(0, 0, 0, 0.05);
}

.segmented-control-tab[style*="background-color: rgb(255, 255, 255)"]
  > div
  > #stroke-icon
  > path {
  stroke: #0a0a0a !important;
}

.segmented-control-tab[style*="background-color: rgb(255, 255, 255)"]
  > div
  > #outline-icon
  > path {
  fill: #0a0a0a !important;
}

html {
  scroll-behavior: instant;
}

html:has(body[data-page="legal"]) {
  scroll-padding-top: 80px;
}

.faq-wrap {
  border-bottom: 1px solid #2d3e501f;
}

.faq-q:hover > .faq-plus-wrap > div {
  background-color: #848484;
}

.faq-answer {
  border-bottom: none !important;
}

/* Download Article Modal */
.download-article-form-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.download-article-form-overlay[aria-hidden="false"] {
  display: flex !important;
}

/* Show More Publishers Button */
.publisher-network-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#show-hideable-publishers {
  display: inline-block !important;
  text-align: center;
}

/* Inline styles migrated from index.html */
.wf-force-outline-none[tabindex="-1"]:focus {
  outline: none;
}

@media (max-width: 767px) and (min-width: 480px) {
  html.w-mod-js:not(.w-mod-ix)
    [data-w-id="80e40dd1-94e6-19f9-d01c-07e63ad81e3a"] {
    display: block;
  }

  html.w-mod-js:not(.w-mod-ix)
    [data-w-id="aca2b9f7-14fb-d6ef-e2ea-068039da8585"] {
    display: none;
  }
}

@media (max-width: 479px) {
  html.w-mod-js:not(.w-mod-ix)
    [data-w-id="80e40dd1-94e6-19f9-d01c-07e63ad81e3a"] {
    display: block;
  }

  html.w-mod-js:not(.w-mod-ix)
    [data-w-id="aca2b9f7-14fb-d6ef-e2ea-068039da8585"] {
    display: none;
  }
}

cal-floating-button,
cal-modal-box,
cal-inline {
  /* Spacing Scale */
  --cal-spacing-0: 0px;
  --cal-spacing-px: 1px;
  --cal-spacing-0_5: 0.125rem; /* 2px */
  --cal-spacing-1: 0.25rem; /* 4px */
  --cal-spacing-1_5: 0.375rem; /* 6px */
  --cal-spacing-2: 0.5rem; /* 8px */
  --cal-spacing-2_5: 0.625rem; /* 10px */
  --cal-spacing-3: 0.75rem; /* 12px */
  --cal-spacing-3_5: 0.875rem; /* 14px */
  --cal-spacing-4: 1rem; /* 16px */
  --cal-spacing-5: 1.25rem; /* 20px */
  --cal-spacing-6: 1.5rem; /* 24px */
  --cal-spacing-7: 1.75rem; /* 28px */
  --cal-spacing-8: 2rem; /* 32px */
  --cal-spacing-9: 2.25rem; /* 36px */
  --cal-spacing-10: 2.5rem; /* 40px */
  --cal-spacing-11: 2.75rem; /* 44px */
  --cal-spacing-12: 3rem; /* 48px */
  --cal-spacing-14: 3.5rem; /* 56px */
  --cal-spacing-16: 4rem; /* 64px */
  --cal-spacing-20: 5rem; /* 80px */
  --cal-spacing-24: 6rem; /* 96px */
  --cal-spacing-28: 7rem; /* 112px */
  --cal-spacing-32: 8rem; /* 128px */
  --cal-spacing-36: 9rem; /* 144px */
  --cal-spacing-40: 10rem; /* 160px */
  --cal-spacing-44: 11rem; /* 176px */
  --cal-spacing-48: 12rem; /* 192px */
  --cal-spacing-52: 13rem; /* 208px */
  --cal-spacing-56: 14rem; /* 224px */
  --cal-spacing-60: 15rem; /* 240px */
  --cal-spacing-64: 16rem; /* 256px */
  --cal-spacing-72: 18rem; /* 288px */
  --cal-spacing-80: 20rem; /* 320px */
  --cal-spacing-96: 24rem; /* 384px */

  /* Border Radius */
  --cal-radius-none: 0px;
  --cal-radius-sm: 0.125rem; /* 2px */
  --cal-radius: 0.25rem; /* 4px */
  --cal-radius-md: 0.375rem; /* 6px */
  --cal-radius-lg: 0.5rem; /* 8px */
  --cal-radius-xl: 0.75rem; /* 12px */
  --cal-radius-2xl: 1rem; /* 16px */
  --cal-radius-3xl: 1.5rem; /* 24px */
  --cal-radius-full: 9999px;

  /* Background Standard */
  --cal-bg-emphasis: hsla(220, 13%, 91%, 1); /* gray.200 - active items */
  --cal-bg: hsla(0, 0%, 100%, 1); /* white - default background */
  --cal-bg-subtle: hsla(220, 14%, 94%, 1); /* gray.100 */
  --cal-bg-muted: hsla(210, 20%, 97%, 1); /* gray.50 */
  --cal-bg-inverted: hsla(210, 30%, 4%, 1); /* gray.900 */

  /* Background Primary */
  --cal-bg-primary: hsla(214, 30%, 16%, 1); /* stone-100 */
  --cal-bg-primary-emphasis: hsla(220, 6%, 25%, 1); /* stone-800 */
  --cal-bg-primary-muted: hsla(220, 14%, 94%, 1); /* stone-400 */

  /* Background Brand */
  --cal-bg-brand: hsla(214, 30%, 16%, 1); /* gray-50 */
  --cal-bg-brand-emphasis: hsla(220, 6%, 25%, 1); /* stone-100 */
  --cal-bg-brand-muted: hsla(220, 14%, 94%, 1); /* stone-100 */

  /* Background Semantic */
  --cal-bg-semantic-info-subtle: hsla(212, 88%, 97%, 1); /* blue-100 */
  --cal-bg-semantic-info-emphasis: hsla(236, 80%, 25%, 1); /* blue-500 */
  --cal-bg-semantic-success-subtle: hsla(167, 54%, 93%, 1); /* green-100 */
  --cal-bg-semantic-success-emphasis: hsla(158, 74%, 38%, 1); /* green-500 */
  --cal-bg-semantic-attention-subtle: hsla(34, 100%, 92%, 1); /* orange-100 */
  --cal-bg-semantic-attention-emphasis: hsla(15, 79%, 34%, 1); /* orange-500 */
  --cal-bg-semantic-error-subtle: hsla(0, 93%, 94%, 1); /* red-100 */
  --cal-bg-semantic-error-emphasis: hsla(0, 63%, 24%, 1); /* red-500 */

  /* Background Visualization */
  --cal-bg-visualization-1-subtle: hsla(326, 78%, 95%, 1); /* pink-100 */
  --cal-bg-visualization-1-emphasis: hsla(330, 81%, 60%, 1); /* pink-500 */
  --cal-bg-visualization-2-subtle: hsla(256, 86%, 91%, 1); /* purple-100 */
  --cal-bg-visualization-2-emphasis: hsla(256, 85%, 57%, 1); /* purple-500 */
  --cal-bg-visualization-3-subtle: hsla(217, 87%, 91%, 1); /* blue-100 */
  --cal-bg-visualization-3-emphasis: hsla(235, 100%, 63%, 1); /* blue-500 */
  --cal-bg-visualization-4-subtle: hsla(167, 54%, 93%, 1); /* green-100 */
  --cal-bg-visualization-4-emphasis: hsla(158, 74%, 38%, 1); /* green-500 */
  --cal-bg-visualization-5-subtle: hsla(55, 97%, 88%, 1); /* yellow-100 */
  --cal-bg-visualization-5-emphasis: hsla(45, 93%, 47%, 1); /* yellow-500 */
  --cal-bg-visualization-6-subtle: hsla(34, 100%, 92%, 1); /* orange-100 */
  --cal-bg-visualization-6-emphasis: hsla(25, 95%, 53%, 1); /* orange-500 */
  --cal-bg-visualization-7-subtle: hsla(0, 96%, 89%, 1); /* red-100 */
  --cal-bg-visualization-7-emphasis: hsla(0, 84%, 60%, 1); /* red-500 */

  /* Legacy Background Components */
  --cal-bg-info: hsla(221, 91%, 93%, 1);
  --cal-bg-success: hsla(142, 76%, 94%, 1);
  --cal-bg-attention: hsla(33, 100%, 92%, 1);
  --cal-bg-error: hsla(3, 66%, 93%, 1);
  --cal-bg-dark-error: hsla(2, 55%, 30%, 1);

  /* Borders */
  --cal-border-emphasis: hsla(218, 11%, 65%, 1);
  --cal-border: hsla(216, 12%, 84%, 1);
  --cal-border-subtle: hsla(220, 13%, 91%, 1);
  --cal-border-muted: hsla(220, 14%, 94%, 1);
  --cal-border-error: hsla(0, 96%, 89%, 1);
  --cal-border-semantic-error: hsla(0, 96%, 89%, 1);
  --cal-border-booker: var(--cal-border-subtle);

  /* Content/Text Standard */
  --cal-text-emphasis: hsla(210, 30%, 4%, 1);
  --cal-text: hsla(220, 6%, 25%, 1);
  --cal-text-subtle: hsla(220, 9%, 46%, 1);
  --cal-text-muted: hsla(218, 11%, 65%, 1);
  --cal-text-inverted: hsla(0, 0%, 100%, 1);

  /* Content/Text Semantic */
  --cal-text-semantic-info: hsla(236, 80%, 25%, 1);
  --cal-text-semantic-success: hsla(150, 84%, 22%, 1);
  --cal-text-semantic-attention: hsla(15, 79%, 34%, 1);
  --cal-text-semantic-error: hsla(0, 63%, 24%, 1);

  /* Content/Text Visualization */
  --cal-text-visualization-1: hsla(332, 79%, 25%, 1);
  --cal-text-visualization-2: hsla(270, 91%, 25%, 1);
  --cal-text-visualization-3: hsla(217, 91%, 25%, 1);
  --cal-text-visualization-4: hsla(142, 71%, 25%, 1);
  --cal-text-visualization-5: hsla(45, 93%, 25%, 1);
  --cal-text-visualization-6: hsla(24, 95%, 25%, 1);
  --cal-text-visualization-7: hsla(0, 84%, 25%, 1);

  /* Border/Semantic Subtle */
  --cal-border-semantic-attention-subtle: hsla(32, 98%, 83%, 1);
  --cal-border-semantic-error-subtle: hsla(0, 96%, 89%, 1);

  /* Legacy Content/Text Components */
  --cal-text-info: hsla(225, 57%, 33%, 1);
  --cal-text-success: hsla(144, 34%, 24%, 1);
  --cal-text-attention: hsla(16, 62%, 28%, 1);
  --cal-text-error: hsla(0, 63%, 31%, 1);

  /* Brand */
  --cal-brand: hsla(221, 39%, 11%, 1);
  --cal-brand-emphasis: hsla(0, 0%, 6%, 1);
  --cal-brand-text: hsla(0, 0%, 100%, 1);
}

cal-floating-button.cal-element-embed-dark,
cal-modal-box.cal-element-embed-dark,
cal-inline.cal-element-embed-dark {
  /* Background Standard */
  --cal-bg-emphasis: hsla(0, 0%, 25%, 1);
  --cal-bg: hsla(0, 0%, 6%, 1);
  --cal-bg-subtle: hsla(0, 0%, 15%, 1);
  --cal-bg-muted: hsla(0, 0%, 9%, 1);
  --cal-bg-inverted: hsla(0, 0%, 98%, 1);

  /* Background Primary */
  --cal-bg-primary: hsla(0, 0%, 96%, 1);
  --cal-bg-primary-emphasis: hsla(0, 0%, 64%, 1);
  --cal-bg-primary-muted: hsla(0, 0%, 15%, 1);

  /* Background Brand */
  --cal-bg-brand: hsla(0, 0%, 98%, 1);
  --cal-bg-brand-emphasis: hsla(0, 0%, 96%, 1);
  --cal-bg-brand-muted: hsla(0, 0%, 96%, 1);

  /* Background Semantic */
  --cal-bg-semantic-info-subtle: hsla(236, 80%, 8%, 1);
  --cal-bg-semantic-info-emphasis: hsla(229, 90%, 74%, 1);
  --cal-bg-semantic-success-subtle: hsla(148, 88%, 16%, 1);
  --cal-bg-semantic-success-emphasis: hsla(158, 74%, 38%, 1);
  --cal-bg-semantic-attention-subtle: hsla(21, 86%, 8%, 1);
  --cal-bg-semantic-attention-emphasis: hsla(27, 96%, 61%, 1);
  --cal-bg-semantic-error-subtle: hsla(0, 70%, 8%, 1);
  --cal-bg-semantic-error-emphasis: hsla(0, 91%, 71%, 1);

  /* Background Visualization */
  --cal-bg-visualization-1-subtle: hsla(336, 74%, 35%, 1);
  --cal-bg-visualization-1-emphasis: hsla(330, 81%, 60%, 1);
  --cal-bg-visualization-2-subtle: hsla(252, 83%, 23%, 1);
  --cal-bg-visualization-2-emphasis: hsla(256, 85%, 57%, 1);
  --cal-bg-visualization-3-subtle: hsla(236, 74%, 35%, 1);
  --cal-bg-visualization-3-emphasis: hsla(235, 100%, 63%, 1);
  --cal-bg-visualization-4-subtle: hsla(150, 84%, 22%, 1);
  --cal-bg-visualization-4-emphasis: hsla(158, 74%, 38%, 1);
  --cal-bg-visualization-5-subtle: hsla(28, 73%, 26%, 1);
  --cal-bg-visualization-5-emphasis: hsla(45, 93%, 47%, 1);
  --cal-bg-visualization-6-subtle: hsla(15, 75%, 23%, 1);
  --cal-bg-visualization-6-emphasis: hsla(25, 95%, 53%, 1);
  --cal-bg-visualization-7-subtle: hsla(0, 70%, 35%, 1);
  --cal-bg-visualization-7-emphasis: hsla(0, 84%, 60%, 1);

  /* Legacy Background Components */
  --cal-bg-info: hsla(228, 56%, 33%, 1);
  --cal-bg-success: hsla(133, 34%, 24%, 1);
  --cal-bg-attention: hsla(16, 62%, 28%, 1);
  --cal-bg-error: hsla(2, 55%, 30%, 1);
  --cal-bg-dark-error: hsla(2, 55%, 30%, 1);

  /* Border Standard */
  --cal-border: hsla(0, 0%, 30%, 1);
  --cal-border-muted: hsla(0, 0%, 9%, 1);
  --cal-border-subtle: hsla(0, 0%, 15%, 1);
  --cal-border-emphasis: hsla(0, 0%, 45%, 1);
  --cal-border-booker: var(--cal-border-subtle);
  --cal-border-semantic-error: hsla(0, 63%, 24%, 1);

  /* Border/Semantic Subtle */
  --cal-border-semantic-attention-subtle: hsla(15, 75%, 23%, 1);
  --cal-border-semantic-error-subtle: hsla(0, 63%, 24%, 1);

  /* Content/Text Standard */
  --cal-text-emphasis: hsla(0, 0%, 98%, 1);
  --cal-text: hsla(0, 0%, 83%, 1);
  --cal-text-subtle: hsla(0, 0%, 64%, 1);
  --cal-text-muted: hsla(0, 0%, 64%, 1);
  --cal-text-inverted: hsla(0, 0%, 0%, 1);

  /* Content/Text Semantic */
  --cal-text-semantic-info: hsla(229, 90%, 74%, 1);
  --cal-text-semantic-success: hsla(161, 49%, 54%, 1);
  --cal-text-semantic-attention: hsla(27, 96%, 61%, 1);
  --cal-text-semantic-error: hsla(0, 91%, 71%, 1);

  /* Content/Text Semantic Emphasis */
  --cal-text-semantic-info-emphasis: hsla(217, 91%, 25%, 1);
  --cal-text-semantic-success-emphasis: hsla(142, 71%, 25%, 1);
  --cal-text-semantic-attention-emphasis: hsla(24, 95%, 25%, 1);
  --cal-text-semantic-error-emphasis: hsla(0, 84%, 25%, 1);

  /* Legacy Content/Text Components */
  --cal-text-info: hsla(218, 83%, 93%, 1);
  --cal-text-success: hsla(134, 76%, 94%, 1);
  --cal-text-attention: hsla(37, 86%, 92%, 1);
  --cal-text-error: hsla(3, 66%, 93%, 1);

  /* Brand */
  --cal-brand: hsla(0, 0%, 100%, 1);
  --cal-brand-emphasis: hsla(218, 11%, 65%, 1);
  --cal-brand-text: hsla(0, 0%, 0%, 1);
}

.cal-embed {
  border: 0;
  height: 500px;
  margin: 0 auto;
  width: 100%;
  display: block !important;
  color-scheme: unset !important;
}

.contact-form-embed[data-contact-panel="calendly"] {
  max-height: none !important;
  overflow: visible !important;
}

.contact-form-embed[data-contact-panel="calendly"]:not([hidden]) {
  display: block !important;
}

.hero-paragraph-short p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.w-pagination-previous-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  transform: translateY(1px);
}

@media screen and (max-width: 991px) {
  /* Removed: Previously hiding 7th and 8th publishers */
}

@media (max-width: 1199px) {
  .testimonials-collection-list {
    column-count: 2;
  }
}

@media (max-width: 991px) {
  .testimonials-collection-list {
    column-count: 1;
  }
}

.cal-inline-container::-webkit-scrollbar {
  display: none;
}

.cal-inline-container {
  scrollbar-width: none;
}

/* Publisher network CTA alignment and native pagination override */
#show-hideable-publishers {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#show-hideable-publishers.publisher-button-disabled {
  cursor: default;
  opacity: 0.7;
  pointer-events: none;
}

.publisher-network-section .w-pagination-wrapper {
  display: none !important;
}

@media (max-width: 765px) {
  #show-hideable-publishers,
  .show-more-publishers {
    display: none !important;
  }
}
