/* =========================================================
   ATISFY DIVI CHILD THEME v7
   Full Figma design system adapted for Divi
   ========================================================= */

/* 1. Tokens */
:root,
html[data-theme="dark"] {
  --atisfy-bg: #111111;
  --atisfy-text: #ffffff;
  --atisfy-text-soft: #dcdfe3;
  --atisfy-surface: #25292e;
  --atisfy-surface-dark: #161718;
  --atisfy-border: #465670;
  --atisfy-divider: #25292e;
  --atisfy-primary: #553cf4;
  --atisfy-primary-hover: #4a34d6;
  --atisfy-blue: #1d7afc;
  --atisfy-green: #23a36d;
  --atisfy-purple: #8270db;
  --atisfy-orange: #ff4b1d;
  --atisfy-logo-gray: #cacaca;
  --atisfy-stack-panel: #161718;
  --atisfy-stack-panel-alt: #25292e;

  --atisfy-container: 1216px;
  --atisfy-wide: 1350px;
  --atisfy-copy-width: 1052px;

  --atisfy-header-height: 82px;
  --atisfy-header-mobile-height: 72px;
  --atisfy-header-padding-x: 112px;
  --atisfy-header-gap: 24px;
  --atisfy-nav-width: 926px;
  --atisfy-nav-gap: 36px;
  --atisfy-logo-width: 109px;
  --atisfy-logo-height: 44px;
  --atisfy-cta-width: 135px;
  --atisfy-cta-wide: 159px;
  --atisfy-cta-height: 48px;

  --atisfy-footer-height: 400px;
  --atisfy-footer-width: 1227px;
  --atisfy-footer-column-gap: 120px;
  --atisfy-footer-logo-col: 313px;
  --atisfy-footer-col-1: 188px;
  --atisfy-footer-col-2: 182px;
  --atisfy-footer-col-3: 186px;
}

html[data-theme="light"] {
  --atisfy-bg: #ffffff;
  --atisfy-text: #111111;
  --atisfy-text-soft: rgba(17, 17, 17, 0.78);
  --atisfy-surface: #f5f5f5;
  --atisfy-surface-dark: #ffffff;
  --atisfy-border: rgba(17,17,17,0.14);
  --atisfy-divider: rgba(17,17,17,0.12);
  --atisfy-stack-panel: #ffffff;
  --atisfy-stack-panel-alt: #f5f5f5;
}

/* 2. Global - safe for Divi Builder */

/* Force theme background tokens even if other CSS sets hardcoded !important backgrounds */
html[data-theme="dark"] body,
html[data-theme="dark"] #main-content,
html[data-theme="dark"] #page-container {
  background-color: var(--atisfy-bg) !important;
}

html[data-theme="light"] body,
html[data-theme="light"] #main-content,
html[data-theme="light"] #page-container {
  background-color: var(--atisfy-bg) !important;
}

/* Page preview/background only */
#page-container,
#page-container .et-db #et-boc,
#page-container .et-l {
  background: var(--atisfy-bg);
  color: var(--atisfy-text-soft);
}

/* Headings inside website only */
#page-container h1,
#page-container h2,
#page-container h3,
#page-container h4,
#page-container h5,
#page-container h6 {
  color: var(--atisfy-text) !important;
}

/* Paragraph/body copy inside website only */
#page-container p,
#page-container li,
#page-container .et_pb_text,
#page-container .et_pb_text p,
#page-container .et_pb_module p,
#page-container .et_pb_blurb_description,
#page-container .et_pb_blurb_description p,
#page-container .et_pb_post p,
#page-container .et_pb_post li,
#page-container .et_pb_tab p,
#page-container .et_pb_toggle_content,
#page-container .et_pb_toggle_content p {
  color: var(--atisfy-text-soft) !important;
}

#page-container a:not(.et_pb_button):not(.atisfy-btn):not(.atisfy-header-cta):not(.more-link):not(.atisfy-newsroom-card__button) {
  color: var(--atisfy-text) !important;
  transition: all .25s ease;
}

#page-container a:not(.et_pb_button):not(.atisfy-btn):not(.atisfy-header-cta):not(.more-link):not(.atisfy-newsroom-card__button):hover {
  color: var(--atisfy-primary) !important;
}

/* Strong text inside website only */
#page-container strong,
#page-container b {
  color: var(--atisfy-text) !important;
}


/* Strong text */

strong,
b {
  color: var(--atisfy-text) !important;
}

.et_pb_section.atisfy-section,
.atisfy-page-wrap {
  background: var(--atisfy-bg) !important;
  color: var(--atisfy-text) !important;
}

/* Divi reset helpers */
.atisfy-section .et_pb_row,
.atisfy-hero-section .et_pb_row,
.atisfy-logo-strip .et_pb_row,
.atisfy-products-section .et_pb_row,
.atisfy-stats-section .et_pb_row,
.atisfy-partners-section .et_pb_row,
.atisfy-blogs-section .et_pb_row {
  max-width: var(--atisfy-container) !important;
  width: 100% !important;
}

/* =========================================================
   3. Header from actual Divi HTML + Figma
   ========================================================= */

.et-l--header { position: relative; z-index: 9999; }

.atisfy-header-section {
  background: var(--atisfy-bg) !important;
  padding: 0 !important;
  min-height: var(--atisfy-header-height);
  border-radius: 8px;
  overflow: visible;
}

.atisfy-header-section .et_pb_row.atisfy-header-row {
  width: 100% !important;
  max-width: 1440px !important;
  min-height: var(--atisfy-header-height);
  margin: 0 auto !important;
  padding: 8px var(--atisfy-header-padding-x) !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--atisfy-header-gap);
  background: var(--atisfy-bg) !important;
  border-radius: 8px;
}

.atisfy-header-row > .et_pb_column {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.atisfy-header-row > .atisfy-header-logo {
  width: var(--atisfy-logo-width) !important;
  max-width: var(--atisfy-logo-width) !important;
  flex: 0 0 var(--atisfy-logo-width) !important;
  justify-content: flex-start !important;
}

.atisfy-header-logo .et_pb_image,
.atisfy-header-logo .et_pb_image_wrap {
  margin: 0 !important;
  display: block !important;
}

.atisfy-header-logo img {
  width: var(--atisfy-logo-width) !important;
  max-width: var(--atisfy-logo-width) !important;
  height: auto !important;
  max-height: var(--atisfy-logo-height) !important;
  display: block;
}

.atisfy-header-row > .atisfy-header-menu {
  width: var(--atisfy-nav-width) !important;
  flex: 0 1 var(--atisfy-nav-width) !important;
  justify-content: center !important;
}

.atisfy-header-menu.et_pb_menu,
.atisfy-header-menu .et_pb_menu {
  background: transparent !important;
}

.atisfy-header-menu .et_pb_menu_inner_container,
.atisfy-header-menu .et_pb_menu__wrap {
  width: 100%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.atisfy-header-menu .et_pb_menu__menu {
  display: flex !important;
  justify-content: center !important;
}

.atisfy-header-menu .et-menu-nav,
.atisfy-header-menu .et-menu {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
}

.atisfy-header-menu .et-menu {
  gap: var(--atisfy-nav-gap);
  padding: 0 16px !important;
}

.atisfy-header-menu .et-menu > li {
  padding: 0 !important;
  margin: 0 !important;
}

.atisfy-header-menu .et-menu > li > a {
  padding: 0 !important;
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-transform: none;
}

.atisfy-header-menu .et-menu > li > a:hover,
.atisfy-header-menu .et-menu > li.current-menu-item > a {
  color: var(--atisfy-text) !important;
}

.atisfy-header-menu .et-menu > li.menu-item-has-children > a {
  padding-right: 16px !important;
  position: relative !important;
}

.atisfy-header-menu .et-menu > li.menu-item-has-children > a:first-child::after {
  color: var(--atisfy-text-soft) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  transition: color 0.25s ease !important;
}

.atisfy-header-menu .et-menu > li.menu-item-has-children:hover > a:first-child::after,
.atisfy-header-menu .et-menu > li.menu-item-has-children.current-menu-item > a:first-child::after {
  color: var(--atisfy-text) !important;
}

.atisfy-header-menu .sub-menu,
.atisfy-header-menu nav ul li ul {
  background: var(--atisfy-surface) !important;
  border-top: 1px solid var(--atisfy-border) !important;
  border-radius: 12px;
}

.atisfy-header-menu nav ul li ul li a {
  color: var(--atisfy-text-soft) !important;
}

.atisfy-header-row > .atisfy-header-actions {
  width: auto !important;
  min-width: var(--atisfy-cta-width);
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  gap: 16px;
}

.atisfy-header-actions .et_pb_code,
.atisfy-header-actions .et_pb_button_module_wrapper {
  margin: 0 !important;
}

.atisfy-btn .et_pb_button,
.et_pb_button.atisfy-btn,
.atisfy-btn,
.atisfy-header-cta {
  width: 144px !important;
  min-width: 144px !important;
  height: 48px !important;
  min-height: 48px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 12px 24px !important;
  gap: 8px;

  background: #553CF4 !important;
  color: #FFFFFF !important;

  border: 0 !important;
  border-radius: 12px !important;

  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;

  text-decoration: none !important;
  white-space: nowrap;

  transition: all 0.25s ease;
}

.atisfy-header-cta {
  width: var(--atisfy-cta-width) !important;
}

.atisfy-btn .et_pb_button:hover,
.et_pb_button.atisfy-btn:hover,
.atisfy-btn:hover,
.atisfy-header-cta:hover {
  background: #4A34D6 !important;
  color: #FFFFFF !important;
}

/* Keep primary button text white in all theme states */
.atisfy-btn,
.atisfy-btn:link,
.atisfy-btn:visited,
.atisfy-btn:hover,
.atisfy-btn:focus,
.atisfy-btn:active,
.atisfy-btn .et_pb_button,
.atisfy-btn .et_pb_button:link,
.atisfy-btn .et_pb_button:visited,
.atisfy-btn .et_pb_button:hover,
.atisfy-btn .et_pb_button:focus,
.atisfy-btn .et_pb_button:active,
a.atisfy-btn,
a.atisfy-btn:link,
a.atisfy-btn:visited,
a.atisfy-btn:hover,
a.atisfy-btn:focus,
a.atisfy-btn:active,
.more-link,
.more-link:link,
.more-link:visited,
.more-link:hover,
.more-link:focus,
.more-link:active,
.atisfy-newsroom-card__button,
.atisfy-newsroom-card__button:link,
.atisfy-newsroom-card__button:visited,
.atisfy-newsroom-card__button:hover,
.atisfy-newsroom-card__button:focus,
.atisfy-newsroom-card__button:active {
  color: #FFFFFF !important;
}

.atisfy-btn-secondary .et_pb_button,
.atisfy-btn-secondary {
  min-width: var(--atisfy-cta-wide) !important;
  height: var(--atisfy-cta-height) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 19px !important;
}

/* Theme toggle */
.atisfy-theme-toggle-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.atisfy-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 72px;
  height: 38px;
  padding: 5px 8px;
  border: 1px solid var(--atisfy-border);
  border-radius: 999px;
  background: var(--atisfy-surface);
  cursor: pointer;
}

.atisfy-theme-toggle .atisfy-theme-icon {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--atisfy-text);
}

.atisfy-theme-toggle .atisfy-theme-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--atisfy-primary);
  transition: transform .25s ease;
  z-index: 1;
}

html[data-theme="light"] .atisfy-theme-toggle .atisfy-theme-knob {
  transform: translateX(34px);
}

/* Mobile header */
.atisfy-header-menu .et_mobile_nav_menu { display: none; }

@media (max-width: 1180px) {
  .atisfy-header-section .et_pb_row.atisfy-header-row {
    padding: 8px 40px !important;
  }

  .atisfy-header-row > .atisfy-header-menu {
    flex: 1 1 auto !important;
    width: auto !important;
  }
}

@media (max-width: 980px) {
  .atisfy-header-section { min-height: var(--atisfy-header-mobile-height); }

  .atisfy-header-section .et_pb_row.atisfy-header-row {
    min-height: var(--atisfy-header-mobile-height);
    padding: 12px 20px !important;
    justify-content: space-between !important;
    gap: 14px;
  }

  .atisfy-header-row > .atisfy-header-logo { flex: 0 0 auto !important; }

  .atisfy-header-logo img { max-width: 96px !important; }

  .atisfy-header-row > .atisfy-header-menu {
    flex: 0 0 auto !important;
    width: auto !important;
    order: 3;
  }

  .atisfy-header-row > .atisfy-header-actions {
    order: 2;
    min-width: auto;
    gap: 10px;
  }

  .atisfy-header-actions .et_pb_button_module_wrapper { display: none !important; }

  .atisfy-header-menu .et_pb_menu__menu { display: none !important; }

  .atisfy-header-menu .et_mobile_nav_menu { display: block !important; }

  .atisfy-header-menu .mobile_nav { background: transparent !important; }

  .atisfy-header-menu .mobile_menu_bar { padding-bottom: 0 !important; }

  .atisfy-header-menu .mobile_menu_bar::before {
    content: "\61" !important;
    color: var(--atisfy-text) !important;
    font-size: 34px;
    display: inline-block;
    transition: transform .22s ease, opacity .22s ease;
  }

  .atisfy-header-menu .mobile_nav.opened .mobile_menu_bar::before {
    content: "\4d" !important;
    transform: rotate(90deg);
  }

  .atisfy-header-menu .et_mobile_menu {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: fixed !important;
    left: 0;
    right: 0;
    top: var(--atisfy-header-mobile-height);
    height: calc(100vh - var(--atisfy-header-mobile-height));
    margin: 0 !important;
    padding: 24px 24px 120px !important;
    background: var(--atisfy-bg) !important;
    border-top: 1px solid var(--atisfy-border) !important;
    overflow-y: auto;
    z-index: 99999;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .atisfy-header-menu .mobile_nav.opened .et_mobile_menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .atisfy-header-menu .et_mobile_menu li a {
    color: var(--atisfy-text) !important;
    border-bottom: 1px solid var(--atisfy-border) !important;
    padding: 18px 0 !important;
    font-size: 18px;
    line-height: 1.4;
  }

  .atisfy-mobile-drawer-footer {
    display: block !important;
    width: 100%;
    padding: 30px 0 0;
    background: var(--atisfy-bg);
  }

  .atisfy-mobile-drawer-footer .atisfy-mobile-drawer-cta,
  .atisfy-mobile-drawer-footer .et_pb_button_module_wrapper,
  .atisfy-mobile-drawer-footer .et_pb_button {
    display: flex !important;
    width: 100% !important;
    min-width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .atisfy-mobile-drawer-footer .et_pb_button,
  .atisfy-mobile-drawer-cta.et_pb_button {
    height: 52px !important;
    min-height: 52px !important;
    align-items: center !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    background: var(--atisfy-primary) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
  }
}

/* =========================================================
   8. Native Blog/Archive Theme Sync (Dark/Light)
   ========================================================= */
#page-container .et_pb_posts .et_pb_post,
#page-container article.et_pb_post,
#page-container article.post,
#page-container .single-post .et_pb_post,
#page-container .archive .et_pb_post,
#page-container .category .et_pb_post {
  background: var(--atisfy-surface-dark) !important;
  border: 0 !important;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .12);
}

#page-container .et_pb_post .entry-title a,
#page-container .et_pb_post h2 a,
#page-container .et_pb_post h1,
#page-container .et_pb_post h2,
#page-container .et_pb_post h3,
#page-container .single .entry-title,
#page-container .archive .entry-title {
  color: var(--atisfy-text) !important;
}

#page-container .et_pb_post .post-meta,
#page-container .et_pb_post .post-meta a,
#page-container .et_pb_post .post-meta span,
#page-container .et_pb_post .published,
#page-container .et_pb_post .author,
#page-container .et_pb_post .cat-links,
#page-container .et_pb_post .tags-links {
  color: var(--atisfy-text-soft) !important;
}

#page-container .et_pb_post .entry-content,
#page-container .et_pb_post .entry-content p,
#page-container .et_pb_post .entry-content li,
#page-container .single-post .et_post_meta_wrapper p,
#page-container .single-post .et_post_meta_wrapper li {
  color: var(--atisfy-text-soft) !important;
}

#page-container .et_pb_post a.more-link,
#page-container .et_pb_post .more-link,
#page-container .et_pb_posts_nav a,
#page-container .pagination a,
#page-container .pagination span {
  color: var(--atisfy-text) !important;
  border-color: var(--atisfy-border) !important;
}

#page-container .et_pb_post a.more-link:hover,
#page-container .et_pb_post .more-link:hover,
#page-container .et_pb_posts_nav a:hover,
#page-container .pagination a:hover {
  color: var(--atisfy-primary) !important;
}

#page-container .widget,
#page-container .et_pb_widget,
#page-container .widget-area .widget {
  background: var(--atisfy-surface-dark) !important;
  border: 0 !important;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
}

#page-container .widget h1,
#page-container .widget h2,
#page-container .widget h3,
#page-container .widget h4,
#page-container .widget .widgettitle,
#page-container .widget .widget-title {
  color: var(--atisfy-text) !important;
}

#page-container .widget a,
#page-container .widget li,
#page-container .widget p,
#page-container .et_pb_widget a,
#page-container .et_pb_widget li,
#page-container .et_pb_widget p {
  color: var(--atisfy-text-soft) !important;
}

#page-container .widget a:hover,
#page-container .et_pb_widget a:hover {
  color: var(--atisfy-primary) !important;
}

#page-container .widget_categories a,
#page-container .cat-item a,
#page-container .post-categories a,
#page-container .et_pb_post .post-meta .category a {
  color: var(--atisfy-text-soft) !important;
}

#page-container .widget_categories a:hover,
#page-container .cat-item a:hover,
#page-container .post-categories a:hover,
#page-container .et_pb_post .post-meta .category a:hover {
  color: var(--atisfy-primary) !important;
}

/* Single post cleanup */
#page-container .single-post .post {
  border-radius: 20px;
  padding: 24px;
}

#page-container .single-post #comment-wrap,
#page-container .single-post #comments,
#page-container .single-post .comment-respond,
#page-container .single-post .comment-form,
#page-container .single-post .comments-area,
#page-container .single-post .entry-comments {
  display: none !important;
}

#page-container .single-post .post-meta .comments-number,
#page-container .single-post .post-meta .post-comments,
#page-container .single-post .post-meta a[rel*="comments"] {
  display: none !important;
}

/* Category page: remove sidebar and show card grid */
body.category #sidebar,
body.category #main-content .container:before {
  display: none !important;
}

body.single-post #sidebar,
body.single-post #main-content .container:before {
  display: none !important;
}

body.category #left-area {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

body.single-post #left-area {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}

/* Traditional single-post layout */
body.single-post #main-content .container {
  width: min(100%, 980px) !important;
  max-width: 980px !important;
  padding: 48px 20px 72px !important;
}

body.single-post #left-area {
  padding: 0 !important;
}

body.single-post #left-area article.post,
body.single-post #left-area article.et_pb_post {
  background: var(--atisfy-surface-dark) !important;
  border-radius: 20px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  padding: clamp(20px, 3vw, 36px) !important;
}

body.single-post #left-area .entry-title {
  margin: 0 0 10px !important;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

body.single-post #left-area .post-meta {
  margin-bottom: 20px !important;
  font-size: 15px;
  line-height: 1.6;
  color: var(--atisfy-text-soft) !important;
}

/* Keep only published date in meta line on single post */
body.single-post #left-area .post-meta > * {
  display: none !important;
}

body.single-post #left-area .post-meta .published,
body.single-post #left-area .post-meta .published.updated {
  display: inline !important;
  color: var(--atisfy-text-soft) !important;
}

body.single-post #left-area .entry-featured-image-url {
  margin: 0 0 26px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

body.single-post #left-area .entry-featured-image-url img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

body.single-post #left-area .entry-content {
  max-width: 740px;
  margin: 0 auto;
}

body.single-post #left-area .entry-content > * + * {
  margin-top: 1.1em;
}

body.single-post #left-area .entry-content p,
body.single-post #left-area .entry-content li {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.85;
  color: var(--atisfy-text-soft) !important;
}

body.single-post #left-area .entry-content h2,
body.single-post #left-area .entry-content h3,
body.single-post #left-area .entry-content h4 {
  margin-top: 1.8em;
  margin-bottom: .55em;
  line-height: 1.25;
}

body.single-post #left-area .entry-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
  height: auto;
  object-fit: cover;
}

body.single-post #left-area .wp-block-image,
body.single-post #left-area figure {
  margin: 1.4em 0;
}

body.single-post #left-area .entry-content .alignleft,
body.single-post #left-area .entry-content .wp-block-image.alignleft {
  width: min(46%, 340px);
  float: left;
  margin: .4em 1.2em 1em 0;
}

body.single-post #left-area .entry-content .alignright,
body.single-post #left-area .entry-content .wp-block-image.alignright {
  width: min(46%, 340px);
  float: right;
  margin: .4em 0 1em 1.2em;
}

body.single-post #left-area .entry-content .aligncenter,
body.single-post #left-area .entry-content .wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

body.single-post #left-area .entry-content .wp-block-image figcaption,
body.single-post #left-area .entry-content figcaption {
  margin-top: .6em;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--atisfy-text-soft) !important;
}

body.single-post #left-area .wp-block-quote,
body.single-post #left-area blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--atisfy-primary);
  background: color-mix(in srgb, var(--atisfy-surface) 74%, transparent);
  border-radius: 10px;
}

@media (max-width: 767px) {
  body.single-post #main-content .container {
    padding: 24px 14px 52px !important;
  }

  body.single-post #left-area article.post,
  body.single-post #left-area article.et_pb_post {
    border-radius: 14px !important;
    padding: 16px !important;
  }

  body.single-post #left-area .entry-title {
    font-size: clamp(28px, 9vw, 34px);
  }

  body.single-post #left-area .entry-content p,
  body.single-post #left-area .entry-content li {
    font-size: 16px;
    line-height: 1.72;
  }

  body.single-post #left-area .entry-content .alignleft,
  body.single-post #left-area .entry-content .alignright,
  body.single-post #left-area .entry-content .wp-block-image.alignleft,
  body.single-post #left-area .entry-content .wp-block-image.alignright {
    float: none;
    width: 100%;
    margin: 1em 0;
  }
}

body.category #left-area article.post {
  margin: 0 !important;
}

body.category #left-area {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

body.category #left-area > .pagination,
body.category #left-area > .nav-links,
body.category #left-area > .page-title,
body.category #left-area > h1,
body.category #left-area > .archive-title {
  grid-column: 1 / -1;
}

body.category #left-area article.post,
#page-container .category .et_pb_posts .et_pb_post,
#page-container .archive .et_pb_posts .et_pb_post {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
}

body.category #left-area,
#page-container .category .et_pb_posts,
#page-container .archive .et_pb_posts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 32px !important;
  align-items: stretch !important;
  float: none !important;
  width: 100% !important;
}

body.category #left-area > .pagination,
body.category #left-area > .nav-links,
body.category #left-area > .page-title,
body.category #left-area > h1,
body.category #left-area > .archive-title,
#page-container .category .et_pb_posts .pagination,
#page-container .category .et_pb_posts .et_pb_posts_nav,
#page-container .category .et_pb_posts .nav-links,
#page-container .archive .et_pb_posts .pagination,
#page-container .archive .et_pb_posts .et_pb_posts_nav,
#page-container .archive .et_pb_posts .nav-links {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

body.category #left-area article.post,
#page-container .category .et_pb_posts .et_pb_post,
#page-container .archive .et_pb_posts .et_pb_post {
  position: relative;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  background: var(--atisfy-surface-dark) !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--atisfy-text-soft) !important;
}

html[data-theme="light"] body.category #left-area article.post,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post {
  background: var(--atisfy-surface) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

body.category #left-area article.post:hover,
#page-container .category .et_pb_posts .et_pb_post:hover,
#page-container .archive .et_pb_posts .et_pb_post:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="light"] body.category #left-area article.post:hover,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post:hover,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

body.category #left-area article.post::before,
#page-container .category .et_pb_posts .et_pb_post::before,
#page-container .archive .et_pb_posts .et_pb_post::before {
  display: none !important;
}

/* Beautiful gradient fallback header for cards with no featured image */
body.category #left-area article.post:not(:has(.entry-featured-image-url))::before,
#page-container .category .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before,
#page-container .archive .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before {
  content: "" !important;
  display: block !important;
  position: relative !important;
  width: calc(100% + 48px) !important;
  margin: -24px -24px 16px -24px !important;
  padding-top: 56.25% !important; /* 16:9 Aspect Ratio matching cards with images */
  background: linear-gradient(135deg, #1C5189 0%, #553CF4 100%) !important;
  border-bottom: 1px solid var(--atisfy-border) !important;
  z-index: 1 !important;
  order: -1 !important; /* Forces it to render at the top */
}

/* Featured image header with negative margins to pull flush with borders */
body.category #left-area article.post .entry-featured-image-url,
#page-container .category .et_pb_posts .et_pb_post .entry-featured-image-url,
#page-container .archive .et_pb_posts .et_pb_post .entry-featured-image-url {
  position: relative !important;
  width: calc(100% + 48px) !important;
  margin: -24px -24px 16px -24px !important;
  padding-top: 56.25% !important; /* 16:9 Aspect Ratio */
  overflow: hidden !important;
  background: var(--atisfy-surface) !important;
  border-bottom: 1px solid var(--atisfy-border) !important;
  display: block !important;
  z-index: 1 !important;
  inset: auto !important;
}

body.category #left-area article.post .entry-featured-image-url img,
#page-container .category .et_pb_posts .et_pb_post .entry-featured-image-url img,
#page-container .archive .et_pb_posts .et_pb_post .entry-featured-image-url img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  border-radius: 0 !important;
}

body.category #left-area article.post:hover .entry-featured-image-url img,
#page-container .category .et_pb_posts .et_pb_post:hover .entry-featured-image-url img,
#page-container .archive .et_pb_posts .et_pb_post:hover .entry-featured-image-url img {
  transform: scale(1.05) !important;
}

/* Date meta styled as eyebrow label */
body.category #left-area article.post .post-meta,
#page-container .category .et_pb_posts .et_pb_post .post-meta,
#page-container .archive .et_pb_posts .et_pb_post .post-meta {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: var(--atisfy-purple) !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: 0.05em !important;
  display: block !important;
}

body.category #left-area article.post .post-meta a,
body.category #left-area article.post .post-meta span.author,
body.category #left-area article.post .post-meta span.comments-number,
#page-container .category .et_pb_posts .et_pb_post .post-meta a,
#page-container .category .et_pb_posts .et_pb_post .post-meta span.author,
#page-container .category .et_pb_posts .et_pb_post .post-meta span.comments-number,
#page-container .archive .et_pb_posts .et_pb_post .post-meta a,
#page-container .archive .et_pb_posts .et_pb_post .post-meta span.author,
#page-container .archive .et_pb_posts .et_pb_post .post-meta span.comments-number {
  display: none !important;
}

body.category #left-area article.post .post-meta .published,
#page-container .category .et_pb_posts .et_pb_post .post-meta .published,
#page-container .archive .et_pb_posts .et_pb_post .post-meta .published {
  display: inline !important;
  color: var(--atisfy-purple) !important;
}

/* Title styling */
body.category #left-area article.post .entry-title,
body.category #left-area article.post h2.entry-title,
#page-container .category .et_pb_posts .et_pb_post .entry-title,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title,
#page-container .archive .et_pb_posts .et_pb_post .entry-title,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin: 0 0 12px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 56px !important;
  position: static !important;
}

body.category #left-area article.post .entry-title a,
body.category #left-area article.post h2.entry-title a,
#page-container .category .et_pb_posts .et_pb_post .entry-title a,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title a,
#page-container .archive .et_pb_posts .et_pb_post .entry-title a,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title a {
  color: var(--atisfy-text) !important;
  text-decoration: none !important;
  position: static !important;
}

body.category #left-area article.post .entry-title a:hover,
body.category #left-area article.post h2.entry-title a:hover,
#page-container .category .et_pb_posts .et_pb_post .entry-title a:hover,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title a:hover,
#page-container .archive .et_pb_posts .et_pb_post .entry-title a:hover,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title a:hover {
  color: var(--atisfy-primary) !important;
}

/* Stretched link overlay to make whole card clickable */
body.category #left-area article.post .entry-title a::after,
body.category #left-area article.post h2.entry-title a::after,
#page-container .category .et_pb_posts .et_pb_post .entry-title a::after,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title a::after,
#page-container .archive .et_pb_posts .et_pb_post .entry-title a::after,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title a::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
}

/* Excerpt/Content styling */
body.category #left-area article.post .post-content,
body.category #left-area article.post .entry-summary,
#page-container .category .et_pb_posts .et_pb_post .post-content,
#page-container .category .et_pb_posts .et_pb_post .entry-summary,
#page-container .archive .et_pb_posts .et_pb_post .post-content,
#page-container .archive .et_pb_posts .et_pb_post .entry-summary {
  margin: 0 !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
}

body.category #left-area article.post .post-content p,
body.category #left-area article.post .entry-summary p,
#page-container .category .et_pb_posts .et_pb_post .post-content p,
#page-container .category .et_pb_posts .et_pb_post .entry-summary p,
#page-container .archive .et_pb_posts .et_pb_post .post-content p,
#page-container .archive .et_pb_posts .et_pb_post .entry-summary p {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--atisfy-text-soft) !important;
  margin: 0 0 24px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex-grow: 1 !important;
}

/* Read More Button styling */
body.category #left-area article.post .more-link,
#page-container .category .et_pb_posts .et_pb_post .more-link,
#page-container .archive .et_pb_posts .et_pb_post .more-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  background: #553CF4 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
  position: relative !important;
  z-index: 4 !important;
}

body.category #left-area article.post .more-link:hover,
#page-container .category .et_pb_posts .et_pb_post .more-link:hover,
#page-container .archive .et_pb_posts .et_pb_post .more-link:hover {
  background: #4A34D6 !important;
  color: #FFFFFF !important;
}

@media (max-width: 1180px) {
  body.category #left-area,
  #page-container .category .et_pb_posts,
  #page-container .archive .et_pb_posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
}

@media (max-width: 767px) {
  body.category #left-area,
  #page-container .category .et_pb_posts,
  #page-container .archive .et_pb_posts {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* Category archive cards - Figma post grid */
body.category #main-content .container {
  width: min(100%, 1216px) !important;
  max-width: 1216px !important;
  padding: 36px 0 72px !important;
}

body.category #left-area,
#page-container .category .et_pb_posts,
#page-container .archive .et_pb_posts {
  max-width: 1216px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, 392px) !important;
  gap: 20px !important;
  justify-content: center !important;
  align-items: stretch !important;
}

body.category #left-area > .atisfy-category-archive-intro {
  grid-column: 1 / -1 !important;
}

.atisfy-category-archive-intro {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  width: min(100%, 737px) !important;
  margin: 0 auto 48px !important;
  text-align: center !important;
}

.atisfy-category-archive-intro__pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  padding: 6px 24px !important;
  border: 1px solid #465670 !important;
  border-radius: 999px !important;
  color: #DCDFE3 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

.atisfy-category-archive-intro__title {
  margin: 0 !important;
  width: 100% !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 58px !important;
  font-weight: 700 !important;
  line-height: 130% !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  background: linear-gradient(90deg, #FFFFFF 51.56%, #2F2F2F 81.34%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.atisfy-category-archive-intro__subtitle {
  width: 100% !important;
  margin: 0 !important;
  color: #DCDFE3 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  text-align: center !important;
}

html[data-theme="light"] .atisfy-category-archive-intro__pill {
  color: rgba(17, 17, 17, 0.78) !important;
  border-color: rgba(17, 17, 17, 0.16) !important;
}

html[data-theme="light"] .atisfy-category-archive-intro__title {
  background: linear-gradient(90deg, #171717 51.56%, #A3A3A3 81.34%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] .atisfy-category-archive-intro__subtitle {
  color: rgba(17, 17, 17, 0.78) !important;
}

body.category #left-area > h1,
body.category #left-area > .page-title,
body.category #left-area > .archive-title {
  display: none !important;
}

body.category #left-area article.post,
#page-container .category .et_pb_posts .et_pb_post,
#page-container .archive .et_pb_posts .et_pb_post {
  width: 392px !important;
  max-width: 392px !important;
  min-height: 488px !important;
  height: 488px !important;
  padding: 16px !important;
  gap: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  background: linear-gradient(281.11deg, #161718 0%, #292A2B 100%), #FFFFFF !important;
  border: 1px solid #465670 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
}

body.category #left-area article.post:hover,
#page-container .category .et_pb_posts .et_pb_post:hover,
#page-container .archive .et_pb_posts .et_pb_post:hover {
  transform: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] body.category #left-area article.post,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post {
  background: #FFFFFF !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
  box-shadow: none !important;
}

body.category #left-area article.post .entry-featured-image-url,
#page-container .category .et_pb_posts .et_pb_post .entry-featured-image-url,
#page-container .archive .et_pb_posts .et_pb_post .entry-featured-image-url {
  width: 360px !important;
  height: 240px !important;
  min-height: 240px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #25292E !important;
  order: 0 !important;
}

body.category #left-area article.post .entry-featured-image-url img,
#page-container .category .et_pb_posts .et_pb_post .entry-featured-image-url img,
#page-container .archive .et_pb_posts .et_pb_post .entry-featured-image-url img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  transform: none !important;
  transition: none !important;
}

body.category #left-area article.post:hover .entry-featured-image-url img,
#page-container .category .et_pb_posts .et_pb_post:hover .entry-featured-image-url img,
#page-container .archive .et_pb_posts .et_pb_post:hover .entry-featured-image-url img {
  transform: none !important;
}

body.category #left-area article.post:not(:has(.entry-featured-image-url))::before,
#page-container .category .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before,
#page-container .archive .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before {
  width: 360px !important;
  height: 240px !important;
  min-height: 240px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #1C5189 0%, #553CF4 100%) !important;
  order: 0 !important;
}

body.category #left-area article.post .post-meta,
#page-container .category .et_pb_posts .et_pb_post .post-meta,
#page-container .archive .et_pb_posts .et_pb_post .post-meta {
  order: 3 !important;
  margin: auto 8px 0 !important;
  color: #A3B2C6 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 0 !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.category #left-area article.post .post-meta .published,
#page-container .category .et_pb_posts .et_pb_post .post-meta .published,
#page-container .archive .et_pb_posts .et_pb_post .post-meta .published {
  font-size: 16px !important;
  line-height: 24px !important;
  color: #A3B2C6 !important;
}

body.category #left-area article.post::after,
#page-container .category .et_pb_posts .et_pb_post::after,
#page-container .archive .et_pb_posts .et_pb_post::after {
  content: "Category" !important;
  display: inline-flex !important;
  order: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 28px !important;
  margin: 0 8px !important;
  padding: 4px 10px !important;
  background: rgba(130, 112, 219, 0.12) !important;
  border-radius: 6px !important;
  color: #9584FF !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

body.category-case-studies #left-area article.post::after {
  content: "Case Studies" !important;
}

body.category-blog #left-area article.post::after {
  content: "Blog" !important;
}

body.category-news-press-releases #left-area article.post::after {
  content: "News & Updates" !important;
}

body.category #left-area article.post .entry-title,
body.category #left-area article.post h2.entry-title,
#page-container .category .et_pb_posts .et_pb_post .entry-title,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title,
#page-container .archive .et_pb_posts .et_pb_post .entry-title,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title {
  order: 2 !important;
  width: 344px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  margin: 0 8px !important;
  color: #FFFFFF !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  letter-spacing: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.category #left-area article.post .entry-title a,
body.category #left-area article.post h2.entry-title a,
#page-container .category .et_pb_posts .et_pb_post .entry-title a,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title a,
#page-container .archive .et_pb_posts .et_pb_post .entry-title a,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title a {
  color: #FFFFFF !important;
}

body.category #left-area article.post .entry-title a:hover,
body.category #left-area article.post h2.entry-title a:hover,
#page-container .category .et_pb_posts .et_pb_post .entry-title a:hover,
#page-container .category .et_pb_posts .et_pb_post h2.entry-title a:hover,
#page-container .archive .et_pb_posts .et_pb_post .entry-title a:hover,
#page-container .archive .et_pb_posts .et_pb_post h2.entry-title a:hover {
  color: #FFFFFF !important;
}

html[data-theme="light"] body.category #left-area article.post .entry-title,
html[data-theme="light"] body.category #left-area article.post h2.entry-title,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post .entry-title,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post h2.entry-title,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post .entry-title,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post h2.entry-title,
html[data-theme="light"] body.category #left-area article.post .entry-title a,
html[data-theme="light"] body.category #left-area article.post h2.entry-title a,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post .entry-title a,
html[data-theme="light"] #page-container .category .et_pb_posts .et_pb_post h2.entry-title a,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post .entry-title a,
html[data-theme="light"] #page-container .archive .et_pb_posts .et_pb_post h2.entry-title a {
  color: #171717 !important;
}

body.category #left-area article.post .post-content,
body.category #left-area article.post .entry-summary,
body.category #left-area article.post .more-link,
#page-container .category .et_pb_posts .et_pb_post .post-content,
#page-container .category .et_pb_posts .et_pb_post .entry-summary,
#page-container .category .et_pb_posts .et_pb_post .more-link,
#page-container .archive .et_pb_posts .et_pb_post .post-content,
#page-container .archive .et_pb_posts .et_pb_post .entry-summary,
#page-container .archive .et_pb_posts .et_pb_post .more-link {
  display: none !important;
}

body.category #left-area > .pagination,
body.category #left-area > .nav-links,
#page-container .category .et_pb_posts .pagination,
#page-container .category .et_pb_posts .et_pb_posts_nav,
#page-container .category .et_pb_posts .nav-links,
#page-container .archive .et_pb_posts .pagination,
#page-container .archive .et_pb_posts .et_pb_posts_nav,
#page-container .archive .et_pb_posts .nav-links {
  display: flex !important;
  grid-column: 1 / -1 !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 28px auto 0 !important;
  color: #A3B2C6 !important;
}

body.category #left-area > .pagination a,
body.category #left-area > .pagination span,
body.category #left-area > .nav-links a,
body.category #left-area > .nav-links span,
#page-container .category .et_pb_posts .pagination a,
#page-container .category .et_pb_posts .pagination span,
#page-container .category .et_pb_posts .nav-links a,
#page-container .category .et_pb_posts .nav-links span,
#page-container .archive .et_pb_posts .pagination a,
#page-container .archive .et_pb_posts .pagination span,
#page-container .archive .et_pb_posts .nav-links a,
#page-container .archive .et_pb_posts .nav-links span {
  min-width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 6px !important;
  border: 1px solid #465670 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #A3B2C6 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 18px !important;
  text-decoration: none !important;
}

body.category #left-area > .pagination .current,
body.category #left-area > .nav-links .current,
#page-container .category .et_pb_posts .pagination .current,
#page-container .category .et_pb_posts .nav-links .current,
#page-container .archive .et_pb_posts .pagination .current,
#page-container .archive .et_pb_posts .nav-links .current {
  background: #553CF4 !important;
  border-color: #553CF4 !important;
  color: #FFFFFF !important;
}

@media (max-width: 1260px) {
  body.category #main-content .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body.category #left-area,
  #page-container .category .et_pb_posts,
  #page-container .archive .et_pb_posts {
    grid-template-columns: repeat(2, 392px) !important;
  }
}

@media (max-width: 860px) {
  body.category #left-area,
  #page-container .category .et_pb_posts,
  #page-container .archive .et_pb_posts {
    grid-template-columns: minmax(0, 392px) !important;
  }

  .atisfy-category-archive-intro__title {
    font-size: 38px !important;
    line-height: 46px !important;
  }
}

@media (max-width: 460px) {
  body.category #main-content .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.category #left-area,
  #page-container .category .et_pb_posts,
  #page-container .archive .et_pb_posts {
    grid-template-columns: minmax(0, 100%) !important;
  }

  body.category #left-area article.post,
  #page-container .category .et_pb_posts .et_pb_post,
  #page-container .archive .et_pb_posts .et_pb_post {
    width: 100% !important;
    max-width: 392px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.category #left-area article.post .entry-featured-image-url,
  #page-container .category .et_pb_posts .et_pb_post .entry-featured-image-url,
  #page-container .archive .et_pb_posts .et_pb_post .entry-featured-image-url,
  body.category #left-area article.post:not(:has(.entry-featured-image-url))::before,
  #page-container .category .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before,
  #page-container .archive .et_pb_posts .et_pb_post:not(:has(.entry-featured-image-url))::before {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2 !important;
  }

  body.category #left-area article.post .entry-title,
  body.category #left-area article.post h2.entry-title,
  #page-container .category .et_pb_posts .et_pb_post .entry-title,
  #page-container .category .et_pb_posts .et_pb_post h2.entry-title,
  #page-container .archive .et_pb_posts .et_pb_post .entry-title,
  #page-container .archive .et_pb_posts .et_pb_post h2.entry-title {
    width: auto !important;
  }
}

/* =========================================================
   4. Body typography and sections
   ========================================================= */

.atisfy-hero-section {
  background: var(--atisfy-bg) !important;
  color: var(--atisfy-text) !important;
  min-height: 783px;
  padding: 80px 24px 100px !important;
  text-align: center;
}

.atisfy-section {
  background: var(--atisfy-bg) !important;
  color: var(--atisfy-text) !important;
  padding: 100px 24px !important;
}

.atisfy-section-compact {
  padding: 72px 24px !important;
}

.atisfy-section-title,
.atisfy-section-title h1,
.atisfy-section-title h2,
.atisfy-section-title h3 {
  max-width: var(--atisfy-copy-width);
  margin-left: auto;
  margin-right: auto;
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 130%;
  letter-spacing: -0.01em;
  text-align: center;
}

.atisfy-hero-title,
.atisfy-hero-title h1 {
  max-width: 765px;
  margin-left: auto;
  margin-right: auto;
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 130%;
  letter-spacing: -0.01em;
  text-align: center;
}

.atisfy-gradient-word,
.atisfy-accent-text {
  color: var(--atisfy-purple) !important;
}

.atisfy-section-subtitle,
.atisfy-section-subtitle p,
.atisfy-hero-subtitle,
.atisfy-hero-subtitle p {
  max-width: var(--atisfy-copy-width);
  margin-left: auto;
  margin-right: auto;
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 150%;
  text-align: center;
}

.atisfy-eyebrow,
.atisfy-eyebrow p {
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

.atisfy-pill,
.atisfy-pill .et_pb_text_inner {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 15px 46px;
  border: 1px solid var(--atisfy-border);
  border-radius: 28px;
  background: var(--atisfy-bg);
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 19px;
}

.atisfy-divider-top {
  border-top: 1px solid var(--atisfy-divider);
}

.atisfy-divider-bottom {
  border-bottom: 1px solid var(--atisfy-divider);
}

/* Logo strip */
.atisfy-logo-strip {
  background: var(--atisfy-bg) !important;
  padding: 33px 24px !important;
}

.atisfy-logo-strip .et_pb_row {
  min-height: 130px;
  border-top: 1px solid var(--atisfy-divider);
  border-bottom: 1px solid var(--atisfy-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.atisfy-logo-strip img {
  max-height: 63px;
  width: auto;
  filter: grayscale(1);
  opacity: .78;
}

/* Products / what we do */
.atisfy-products-section {
  background: var(--atisfy-bg) !important;
  padding: 100px 24px !important;
}

.atisfy-product-card {
  background: var(--atisfy-bg) !important;
  border-radius: 36px;
  overflow: hidden;
}

.atisfy-product-card .et_pb_row {
  min-height: 623px;
  display: flex;
  align-items: center;
  gap: 114px;
}

.atisfy-product-visual {
  background: #372a1d;
  border-radius: 36px;
  min-height: 623px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.atisfy-product-visual-blue { background: #275596 !important; }
.atisfy-product-visual-green { background: #23322c !important; }

.atisfy-product-copy {
  max-width: 519px;
}

.atisfy-product-copy h2,
.atisfy-product-title {
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 130%;
  letter-spacing: -0.01em;
}

.atisfy-product-copy p {
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 130%;
  letter-spacing: -0.01em;
}

/* Stats */
.atisfy-stats-section {
  background: var(--atisfy-bg) !important;
  min-height: 455px;
  padding: 98px 24px !important;
  border-top: 1px solid var(--atisfy-divider);
  border-bottom: 1px solid var(--atisfy-divider);
  text-align: center;
}

.atisfy-stats-intro,
.atisfy-stats-intro p {
  max-width: 838px;
  margin: 0 auto 72px;
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 150%;
  text-align: center;
}

.atisfy-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 55px;
}

.atisfy-stat-number,
.atisfy-stat-number h3 {
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.01em;
  text-align: center;
}

.atisfy-stat-label,
.atisfy-stat-label p {
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 150%;
  text-align: center;
}

/* Partners */
.atisfy-partners-section {
  background: var(--atisfy-bg) !important;
  padding: 100px 24px !important;
  border-bottom: 1px solid var(--atisfy-divider);
}

.atisfy-partner-grid {
  max-width: 1094px;
  margin: 45px auto 0;
  display: grid !important;
  grid-template-columns: repeat(4, 224px);
  justify-content: center;
  gap: 66px;
}

.atisfy-partner-card {
  width: 224px;
  height: 101px;
  background: #fff !important;
  border: 1px solid var(--atisfy-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 44px;
}

.atisfy-partner-card img {
  max-width: 178px;
  max-height: 85px;
  object-fit: contain;
}

/* Blogs */
.atisfy-blogs-section {
  background: var(--atisfy-bg) !important;
  padding: 100px 24px 100px !important;
}

.atisfy-blog-grid {
  max-width: var(--atisfy-wide);
  margin: 82px auto 0;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.atisfy-blog-card {
  min-height: 392px;
  background: linear-gradient(281.11deg, #161718 0%, #292a2b 100%) !important;
  border: 1px solid var(--atisfy-border);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

html[data-theme="light"] .atisfy-blog-card {
  background: linear-gradient(281.11deg, #ffffff 0%, #f5f5f5 100%) !important;
}

.atisfy-blog-category,
.atisfy-blog-category p {
  color: var(--atisfy-purple) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
}

.atisfy-blog-category-blue,
.atisfy-blog-category-blue p { color: var(--atisfy-blue) !important; }

.atisfy-blog-category-green,
.atisfy-blog-category-green p { color: var(--atisfy-green) !important; }

.atisfy-blog-title,
.atisfy-blog-title h3 {
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 130%;
  letter-spacing: -0.01em;
  text-align: center;
}

.atisfy-blog-date,
.atisfy-blog-date p {
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: -0.02em;
}

/* =========================================================
   5. Footer from actual Divi HTML + Figma
   ========================================================= */

.atisfy-footer-section {
  position: relative;
  overflow: hidden;
  background: var(--atisfy-bg) !important;
  color: var(--atisfy-text) !important;
  min-height: var(--atisfy-footer-height);
  padding: 72px 100px 32px !important;
}

.atisfy-footer-section > .et_pb_row {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--atisfy-footer-width);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.atisfy-footer-top-row {
  display: grid !important;
  grid-template-columns: var(--atisfy-footer-logo-col) var(--atisfy-footer-col-1) var(--atisfy-footer-col-2) var(--atisfy-footer-col-3);
  column-gap: var(--atisfy-footer-column-gap);
  align-items: start;
  min-height: 200px;
  padding: 0 !important;
  margin-bottom: 48px !important;
}

.atisfy-footer-top-row > .et_pb_column {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.atisfy-footer-logo {
  width: var(--atisfy-footer-logo-col) !important;
  max-width: var(--atisfy-footer-logo-col);
}

.atisfy-footer-logo .et_pb_image {
  margin: 0 0 20px !important;
}

.atisfy-footer-logo img {
  width: auto !important;
  max-width: 109px !important;
  height: auto !important;
  max-height: 44px !important;
  display: block;
}

.atisfy-footer-logo .et_pb_text,
.atisfy-footer-logo .et_pb_text_inner,
.atisfy-footer-logo p {
  width: var(--atisfy-footer-logo-col);
  color: var(--atisfy-text-soft) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin: 0 !important;
  padding: 0 !important;
}

.atisfy-footer-logo .et_pb_row_nested {
  width: 146px !important;
  max-width: 146px !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
}

.atisfy-footer-logo .et_pb_row_nested .et_pb_column {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 13px;
  width: 146px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.atisfy-footer-logo .et_pb_row_nested .et_pb_image {
  margin: 0 !important;
  width: 40px !important;
  height: 40px !important;
}

.atisfy-footer-logo .et_pb_row_nested img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  object-fit: contain;
}

.atisfy-footer-nav p {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: var(--atisfy-text-soft) !important;
  font-family: Epilogue, Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.atisfy-footer-nav p:first-child,
.atisfy-footer-nav p:first-child strong,
.atisfy-footer-nav p:first-child b {
  color: var(--atisfy-text) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 150%;
  margin-bottom: 20px !important;
}

.atisfy-footer-nav span,
.atisfy-footer-nav a {
  color: var(--atisfy-text-soft) !important;
  text-decoration: none !important;
}

.atisfy-footer-nav a:hover,
.atisfy-footer-nav span:hover {
  color: var(--atisfy-text) !important;
}

.atisfy-footer-nav span[data-metadata],
.atisfy-footer-nav span[data-buffer] {
  display: none !important;
}

.atisfy-footer-bottom-row {
  position: relative;
  z-index: 1;
  width: 100% !important;
  max-width: 1440px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 !important;
  margin: 0 auto !important;
}

.atisfy-footer-bottom-row::before {
  content: "";
  display: block;
  width: 100vw;
  max-width: 1440px;
  height: 1px;
  background: var(--atisfy-surface);
}

.atisfy-footer-bottom-row,
.atisfy-footer-bottom-row p,
.atisfy-footer-bottom-row a,
.atisfy-footer-bottom-row .et_pb_text_inner {
  color: var(--atisfy-text-soft) !important;
  font-family: Epilogue, Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 0 !important;
}

/* =========================================================
   6. Responsive body sections
   ========================================================= */

@media (max-width: 1180px) {
  .atisfy-footer-section {
    min-height: auto;
    padding: 64px 48px 32px !important;
  }

  .atisfy-footer-top-row {
    grid-template-columns: 1.2fr 1fr 1fr;
    column-gap: 56px;
    row-gap: 48px;
  }

  .atisfy-footer-logo {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 520px;
  }

  .atisfy-footer-logo .et_pb_text,
  .atisfy-footer-logo .et_pb_text_inner,
  .atisfy-footer-logo p {
    width: auto;
    max-width: 520px;
  }

  .atisfy-partner-grid {
    grid-template-columns: repeat(2, 224px);
  }

  .atisfy-blog-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
  }

  .atisfy-product-card .et_pb_row {
    gap: 48px;
  }
}

@media (max-width: 980px) {
  .atisfy-product-card .et_pb_row {
    flex-direction: column;
  }

  .atisfy-product-visual {
    width: 100%;
    min-height: 460px;
  }

  .atisfy-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .atisfy-logo-strip .et_pb_row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .atisfy-section,
  .atisfy-products-section,
  .atisfy-partners-section,
  .atisfy-blogs-section {
    padding: 64px 20px !important;
  }

  .atisfy-hero-section {
    min-height: auto;
    padding: 64px 20px 72px !important;
  }

  .atisfy-pill,
  .atisfy-pill .et_pb_text_inner {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }

  .atisfy-product-card .et_pb_row {
    min-height: auto;
  }

  .atisfy-product-visual {
    min-height: 360px;
    border-radius: 24px;
  }

  .atisfy-stats-section {
    padding: 64px 20px !important;
  }

  .atisfy-stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .atisfy-partner-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .atisfy-blog-card {
    min-height: 340px;
    padding: 28px;
  }

  .atisfy-footer-section {
    padding: 48px 24px 28px !important;
  }

  .atisfy-footer-top-row {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px !important;
  }

  .atisfy-footer-logo {
    width: 100% !important;
    max-width: 100%;
  }

  .atisfy-footer-logo .et_pb_text,
  .atisfy-footer-logo .et_pb_text_inner,
  .atisfy-footer-logo p {
    width: 100%;
    font-size: 15px;
  }

  .atisfy-footer-nav p:first-child,
  .atisfy-footer-nav p:first-child strong,
  .atisfy-footer-nav p:first-child b {
    font-size: 18px !important;
    margin-bottom: 14px !important;
  }

  .atisfy-footer-nav p {
    font-size: 15px;
    margin-bottom: 10px !important;
  }
}

/* =========================================================
   Recent WordPress Post Cards - Figma matched hover layout
   Shortcode: [atisfy_recent_posts_cards posts="3"]
   ========================================================= */
.atisfy-recent-posts-cards {
  width: 100%;
  max-width: 1350px;
  margin: 82px auto 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
}

.atisfy-recent-posts-category-card {
  box-sizing: border-box;
  background: linear-gradient(281.11deg, #161718 0%, #292a2b 100%) !important;
  border: 1px solid #465670 !important;
  border-radius: 24px !important;
}

html[data-theme="light"] .atisfy-recent-posts-category-card {
  background: #ffffff !important;
  border: 1px solid rgba(17, 17, 17, 0.14) !important;
}

.atisfy-recent-posts-category-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.atisfy-recent-posts-category-card__category {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 21px !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase;
}

.atisfy-recent-posts-category-card.is-purple .atisfy-recent-posts-category-card__category { color: #8270db; }
.atisfy-recent-posts-category-card.is-blue .atisfy-recent-posts-category-card__category { color: #1d7afc; }
.atisfy-recent-posts-category-card.is-green .atisfy-recent-posts-category-card__category { color: #23a36d; }

.atisfy-recent-posts-category-card__view-more {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;
  color: #DCDFE3 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  border-radius: 12px !important;
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

.atisfy-recent-posts-category-card__view-more:link,
.atisfy-recent-posts-category-card__view-more:visited,
.atisfy-recent-posts-category-card__view-more:active {
  color: #DCDFE3 !important;
}

.atisfy-recent-posts-category-card__view-more .arrow {
  color: currentColor !important;
}

.atisfy-recent-posts-category-card__view-more:hover,
.atisfy-recent-posts-category-card__view-more:focus-visible {
  background: #ffffff !important;
  color: #758195 !important;
}

.atisfy-recent-posts-category-card__view-more:hover .arrow,
.atisfy-recent-posts-category-card__view-more:focus-visible .arrow {
  color: currentColor !important;
}

html[data-theme="light"] .atisfy-recent-posts-category-card__view-more {
  color: rgba(17, 17, 17, 0.78) !important;
}

html[data-theme="light"] .atisfy-recent-posts-category-card__view-more:link,
html[data-theme="light"] .atisfy-recent-posts-category-card__view-more:visited,
html[data-theme="light"] .atisfy-recent-posts-category-card__view-more:active {
  color: rgba(17, 17, 17, 0.78) !important;
}

html[data-theme="light"] .atisfy-recent-posts-category-card__view-more:hover,
html[data-theme="light"] .atisfy-recent-posts-category-card__view-more:focus-visible {
  background: #25292E !important;
  color: #DCDFE3 !important;
  outline: none !important;
}

.atisfy-recent-posts-category-card__posts {
  display: flex;
  flex-direction: column;
  gap: 16px !important;
}

.atisfy-category-post-item {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 25px;
  text-decoration: none !important;
  box-sizing: border-box;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
}

.atisfy-category-post-item.is-featured {
  padding: 0 !important;
}

.atisfy-category-post-item.is-featured:hover,
.atisfy-category-post-item.is-featured:focus-visible {
  background: #25292E !important;
  border-color: #465670 !important;
}

html[data-theme="light"] .atisfy-category-post-item.is-featured:hover,
html[data-theme="light"] .atisfy-category-post-item.is-featured:focus-visible {
  background: #f5f5f5 !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
}

.atisfy-category-post-item__image {
  width: 96px !important;
  height: 96px !important;
  border-radius: 20px !important;
  background-size: cover;
  background-position: center;
  background-color: #ffffff !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .atisfy-category-post-item__image {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.atisfy-category-post-item__content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 0;
  flex-grow: 1;
}

.atisfy-category-post-item__date {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  letter-spacing: -0.006em !important;
  color: #758195 !important;
}

html[data-theme="light"] .atisfy-category-post-item__date {
  color: #171717 !important;
  opacity: 0.48 !important;
}

.atisfy-category-post-item__meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 2px !important;
}

.atisfy-category-post-item__badge {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 1px 8px !important;
  border-radius: 99px !important;
  line-height: 14px !important;
}

/* Badge specific themes */
.atisfy-category-post-item__badge.is-atisfyreach {
  background: rgba(85, 60, 244, 0.15) !important;
  color: #a397fb !important;
  border: 1px solid rgba(85, 60, 244, 0.3) !important;
}

html[data-theme="light"] .atisfy-category-post-item__badge.is-atisfyreach {
  background: rgba(85, 60, 244, 0.08) !important;
  color: #553cf4 !important;
  border: 1px solid rgba(85, 60, 244, 0.18) !important;
}

.atisfy-category-post-item__badge.is-game-marketing-genie {
  background: rgba(29, 122, 252, 0.15) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(29, 122, 252, 0.3) !important;
}

html[data-theme="light"] .atisfy-category-post-item__badge.is-game-marketing-genie {
  background: rgba(29, 122, 252, 0.08) !important;
  color: #1d7afc !important;
  border: 1px solid rgba(29, 122, 252, 0.18) !important;
}

.atisfy-category-post-item__title {
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 24px !important;
  letter-spacing: -0.015em !important;
  color: #FFFFFF !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 72px;
  text-align: left !important;
  transition: color 0.25s ease !important;
}

html[data-theme="light"] .atisfy-category-post-item__title {
  color: #171717 !important;
}

.atisfy-category-post-item:hover .atisfy-category-post-item__title,
.atisfy-category-post-item:focus-visible .atisfy-category-post-item__title {
  color: #FFFFFF !important;
}

html[data-theme="light"] .atisfy-category-post-item:hover .atisfy-category-post-item__title,
html[data-theme="light"] .atisfy-category-post-item:focus-visible .atisfy-category-post-item__title {
  color: #171717 !important;
}

/* Desktop Absolute Positioning to Match Figma Exactly */
@media (min-width: 981px) {
  .atisfy-recent-posts-category-card {
    width: 426px !important;
    height: 392px !important;
    flex: 0 0 426px !important;
    position: relative !important;
    padding: 0 !important;
  }

  .atisfy-recent-posts-category-card__category {
    position: absolute !important;
    left: 36px !important;
    top: 36px !important;
  }

  .atisfy-recent-posts-category-card__view-more {
    position: absolute !important;
    left: 278px !important;
    top: 24px !important;
    width: 124px !important;
    height: 48px !important;
  }

  .atisfy-category-post-item.is-featured {
    position: absolute !important;
    left: 24px !important;
    width: 378px !important;
    height: 120px !important;
    padding: 12px !important;
  }

  .atisfy-category-post-item.is-featured:nth-child(1) {
    top: 81px !important;
  }

  .atisfy-category-post-item.is-featured:nth-child(2) {
    top: 225px !important;
  }
}

@media (max-width: 980px) {
  .atisfy-recent-posts-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .atisfy-recent-posts-category-card {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
    padding: 24px 20px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .atisfy-recent-posts-category-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
  }

  html[data-theme="light"] .atisfy-recent-posts-category-card__header {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .atisfy-category-post-item:not(.is-featured):hover {
    margin: 0 !important;
    padding: 10px !important;
  }
}





/* Animated gradient border only - transparent inside */
.atisfy-shine-border.et_pb_module {
  position: relative;
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100%;
  padding: 1px !important;

  background: conic-gradient(
    from var(--shine-angle, 0deg),
    #465670,
    #1D7AFC,
    #23A36D,
    #8270DB,
    #465670
  ) !important;

  border: 0 !important;
  border-radius: 28px !important;
  overflow: hidden;
  animation: atisfy-shine-spin 4s linear infinite;
}

.atisfy-shine-border .et_pb_text_inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 49px;
  padding: 15px 46px;

  background: var(--atisfy-bg, #111111);
  border-radius: 27px;

  color: var(--atisfy-text-soft, #DCDFE3) !important;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
}

@property --shine-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes atisfy-shine-spin {
  to {
    --shine-angle: 360deg;
  }
}

/* =========================================================
   Stacked parallax rows for Divi sections
   Add atisfy-stacked-parallax-section to the Section.
   For nested Divi rows, add atisfy-stacked-parallax-wrap to the outer row.
   Add atisfy-stacked-parallax-row plus atisfy-stack-row-1..4 to each stacked row.
   ========================================================= */
.et_pb_section.atisfy-stacked-parallax-section,
.atisfy-stacked-parallax-section {
  --atisfy-stack-top: calc(var(--atisfy-header-height, 82px) + 24px);
  --atisfy-stack-gap: 34px;
  position: relative;
  overflow: visible !important;
  padding-bottom: 80px !important;
}

.atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-wrap,
.atisfy-stacked-parallax-section .atisfy-stacked-parallax-wrap {
  position: relative;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.atisfy-stacked-parallax-section .atisfy-stacked-parallax-wrap > .et_pb_column {
  overflow: visible !important;
}

.atisfy-stacked-parallax-section .atisfy-stacked-parallax-wrap .et_pb_column .et_pb_row.atisfy-stacked-parallax-row {
  float: none !important;
  clear: both !important;
}

.atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-row {
  position: sticky !important;
  top: var(--atisfy-stack-top);
  z-index: 1;
  width: 100% !important;
  max-width: var(--atisfy-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: var(--atisfy-stack-gap) !important;
  padding: clamp(24px, 4vw, 48px) !important;
  background:
    linear-gradient(135deg, rgba(85, 60, 244, .12), transparent 42%),
    linear-gradient(281.11deg, var(--atisfy-stack-panel) 0%, var(--atisfy-stack-panel-alt) 100%) !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
  overflow: hidden !important;
  transform: translateZ(0);
  will-change: transform;
}

html[data-theme="light"] .atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-row {
  background:
    linear-gradient(135deg, rgba(85, 60, 244, .08), transparent 42%),
    linear-gradient(281.11deg, var(--atisfy-stack-panel) 0%, var(--atisfy-stack-panel-alt) 100%) !important;
  box-shadow: 0 22px 55px rgba(17, 17, 17, .10);
}

.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-1 { z-index: 1; }
.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-2 { z-index: 2; }
.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-3 { z-index: 3; }
.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-4 { z-index: 4; }
.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-5 { z-index: 5; }
.atisfy-stacked-parallax-section .et_pb_row.atisfy-stack-row-6 { z-index: 6; }

.atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-row > .et_pb_column {
  position: relative;
}

@media (max-width: 980px) {
  .et_pb_section.atisfy-stacked-parallax-section,
  .atisfy-stacked-parallax-section {
    --atisfy-stack-top: calc(var(--atisfy-header-mobile-height, 72px) + 16px);
    --atisfy-stack-gap: 24px;
  }
}

@media (max-height: 860px) and (min-width: 768px) {
  .et_pb_section.atisfy-stacked-parallax-section,
  .atisfy-stacked-parallax-section {
    --atisfy-stack-gap: 28px;
    padding-bottom: 72px !important;
  }

  .atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-wrap,
  .atisfy-stacked-parallax-section .atisfy-stacked-parallax-wrap {
    padding-bottom: 0 !important;
  }

  .atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-row {
    position: relative !important;
    top: auto;
    margin-bottom: var(--atisfy-stack-gap) !important;
  }
}

@media (max-width: 767px) {
  .et_pb_section.atisfy-stacked-parallax-section,
  .atisfy-stacked-parallax-section {
    --atisfy-stack-gap: 24px;
    padding-bottom: 64px !important;
  }

  .atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-wrap,
  .atisfy-stacked-parallax-section .atisfy-stacked-parallax-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }

  .atisfy-stacked-parallax-section .et_pb_row.atisfy-stacked-parallax-row {
    position: relative !important;
    top: auto;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: var(--atisfy-stack-gap) !important;
    padding: 18px !important;
    border-radius: 20px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
  }
}

/* =========================================================
   7. Custom Responsive Interactive Mega Menu Dropdown
   ========================================================= */

/* Hide default sub-menu for mega menu item if one is accidentally added */
.atisfy-header-menu li.satisfy-mega-menu-item > ul.sub-menu {
  display: none !important;
}

/* Position of mega menu item */
.atisfy-header-menu li.satisfy-mega-menu-item {
  position: relative !important;
}

/* Mega menu dropdown container */
.atisfy-mega-menu-dropdown {
  box-sizing: border-box;
  position: absolute !important;
  width: min(652px, calc(100vw - 48px)) !important;
  min-height: 354px !important;
  height: auto !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  top: calc(100% + 22px) !important;
  background: var(--atisfy-bg) !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 24px !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.46),
    0 0 44px rgba(70, 86, 112, 0.34) !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 24px !important;
  z-index: 99999 !important;
  
  /* Transition for premium micro-animation */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s ease;
  pointer-events: none;
}

/* Show mega menu dropdown on hover of menu item */
.atisfy-header-menu li.satisfy-mega-menu-item:hover .atisfy-mega-menu-dropdown,
.atisfy-header-menu li.satisfy-mega-menu-item:focus-within .atisfy-mega-menu-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

/* Prevent overlapping dropdowns when hovering between menu items on desktop */
@media (min-width: 981px) {
  .atisfy-header-menu:hover li.satisfy-mega-menu-item:not(:hover) .atisfy-mega-menu-dropdown {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(10px) !important;
    transition: none !important;
  }
}

.atisfy-header-menu li.satisfy-mega-menu-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 100%;
  height: 24px;
  transform: translateX(-50%);
}

html[data-theme="light"] .atisfy-mega-menu-dropdown {
  box-shadow:
    0 28px 70px rgba(17, 17, 17, 0.14),
    0 0 34px rgba(70, 86, 112, 0.18) !important;
}

/* 2 columns layout */
.atisfy-mega-menu-left {
  width: 268px !important;
  flex: 0 0 268px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.atisfy-mega-menu-divider {
  width: 1px !important;
  align-self: stretch !important;
  background: var(--atisfy-divider, #25292E) !important;
  flex: 0 0 1px !important;
}

.atisfy-mega-menu-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  position: relative !important;
}

/* Products Title Label */
.atisfy-mega-menu-label {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  line-height: 150% !important;
  letter-spacing: -0.02em !important;
  color: var(--atisfy-text-soft, #DCDFE3) !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

/* Tabs list */
.atisfy-mega-menu-tabs {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 100% !important;
  align-self: stretch !important;
}

/* Tab Item button */
.atisfy-mega-menu-tab {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 12px !important;
  gap: 8px !important;
  width: 100% !important;
  background: transparent !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
  box-sizing: border-box !important;
}

.atisfy-mega-menu-tab:hover,
.atisfy-mega-menu-tab.is-active {
  background: var(--atisfy-surface, #25292E) !important;
}

.atisfy-mega-menu-tab-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  flex: 1 1 auto !important;
  text-align: left !important;
}

.atisfy-mega-menu-tab-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 150% !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
  transition: color 0.25s ease !important;
}

html[data-theme="light"] .atisfy-mega-menu-tab-title {
  color: #111111 !important;
}

.atisfy-mega-menu-tab-desc {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 150% !important;
  letter-spacing: -0.02em !important;
  color: var(--atisfy-text-soft, #DCDFE3) !important;
}

/* Arrow Icon */
.atisfy-mega-menu-tab-arrow {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--atisfy-text-soft, #DCDFE3) !important;
  opacity: 0;
  transform: scale(0.8) rotate(45deg);
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.atisfy-mega-menu-tab:hover .atisfy-mega-menu-tab-arrow,
.atisfy-mega-menu-tab.is-active .atisfy-mega-menu-tab-arrow {
  opacity: 1 !important;
  transform: scale(1) rotate(0deg) !important;
}

/* Right Side: Dynamic Preview Card */
.atisfy-mega-menu-preview-container {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.atisfy-mega-menu-preview-card {
  box-sizing: border-box !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 272px !important;
  height: 272px !important;
  border: 1px solid var(--atisfy-border, #465670) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  
  /* Instant switching via opacity for high performance */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
  z-index: 1 !important;
}

.atisfy-mega-menu-preview-card.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2 !important;
}

.atisfy-mega-menu-preview-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  text-align: left !important;
}

.atisfy-mega-menu-preview-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 150% !important;
  letter-spacing: -0.02em !important;
  color: #FFFFFF !important;
  margin: 0 !important;
  padding: 0 !important;
}

.atisfy-mega-menu-preview-desc {
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 150% !important;
  letter-spacing: -0.02em !important;
  color: #DCDFE3 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Image preview box matching Figma spec */
.atisfy-mega-menu-preview-media {
  width: 232px !important;
  height: 140px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  position: relative !important;
  margin-top: 12px !important;
  box-shadow: 0px 4px 44px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="light"] .atisfy-mega-menu-preview-media {
  box-shadow: 0px 4px 44px rgba(0, 0, 0, 0.15) !important;
}

.atisfy-mega-menu-preview-image {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: top center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.5s ease !important;
}

.atisfy-mega-menu-preview-card:hover .atisfy-mega-menu-preview-image {
  transform: scale(1.05) !important;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  /* Style top-level link containing mega menu to align arrow */
  .atisfy-header-menu li.satisfy-mega-menu-item {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .atisfy-header-menu li.satisfy-mega-menu-item > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
  }

  /* Beautiful Chevron toggle arrow */
  .atisfy-header-menu li.satisfy-mega-menu-item > a::after {
    content: "▾" !important;
    font-size: 14px !important;
    line-height: 1 !important;
    color: var(--atisfy-text-soft, #DCDFE3) !important;
    transition: transform 0.25s ease !important;
    margin-left: 8px !important;
    display: inline-block !important;
  }

  .atisfy-header-menu li.satisfy-mega-menu-item.opened > a::after {
    transform: rotate(180deg) !important;
  }

  /* Under 980px, the menu converts to Divi Mobile menu drawer */
  .atisfy-header-menu li.satisfy-mega-menu-item .atisfy-mega-menu-dropdown {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    max-height: 0;
    overflow: hidden !important;
    pointer-events: none !important;
    transition: max-height .36s cubic-bezier(.22, 1, .36, 1), opacity .22s ease, visibility .22s ease !important;
  }

  .atisfy-header-menu li.satisfy-mega-menu-item:hover .atisfy-mega-menu-dropdown,
  .atisfy-header-menu li.satisfy-mega-menu-item:focus-within .atisfy-mega-menu-dropdown,
  .atisfy-header-menu li.satisfy-mega-menu-item.opened .atisfy-mega-menu-dropdown {
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
  }

  .atisfy-header-menu li.satisfy-mega-menu-item.opened .atisfy-mega-menu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 520px;
    pointer-events: auto !important;
  }

  .atisfy-mega-menu-left {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    gap: 0 !important;
  }

  /* Hide separator line & preview card on mobile to optimize space */
  .atisfy-mega-menu-divider,
  .atisfy-mega-menu-right {
    display: none !important;
  }

  /* Label styles in mobile menu (left-indented for sub-menu styling) */
  .atisfy-mega-menu-label {
    padding: 14px 0 8px !important;
    font-size: 11px !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid var(--atisfy-border) !important;
    width: 100% !important;
    display: block !important;
    text-align: left !important;
    color: var(--atisfy-text-soft, #DCDFE3) !important;
    opacity: 0.65 !important;
  }

  /* Tab links turn into touch-friendly navigation buttons nested with left indentation */
  .atisfy-mega-menu-tabs {
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .atisfy-mega-menu-tab {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 13px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--atisfy-border) !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }

  .atisfy-mega-menu-tab:hover,
  .atisfy-mega-menu-tab.is-active {
    background: transparent !important;
  }

  .atisfy-mega-menu-tab-content {
    min-width: 0 !important;
    max-width: calc(100% - 28px) !important;
  }

  .atisfy-mega-menu-tab-title {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .atisfy-mega-menu-tab-desc {
    font-size: 11px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .atisfy-mega-menu-tab-arrow {
    opacity: 0.6 !important;
    transform: none !important;
    flex: 0 0 auto !important;
  }
}

/* =========================================================
   9. Remote Case Studies Shortcode Grid
   ========================================================= */
.atisfy-case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 392px));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  max-width: 1216px;
  margin: 40px auto;
  width: 100%;
}

.atisfy-case-study-card {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 392px !important;
  height: 488px !important;
  padding: 16px !important;
  gap: 16px !important;
  background: linear-gradient(281.11deg, #161718 0%, #292A2B 100%), #FFFFFF !important;
  border: 1px solid #465670 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: none !important;
  transition: background-color 0.25s ease, border-color 0.25s ease !important;
}

.atisfy-case-study-card.is-hidden {
  display: none !important;
}

html[data-theme="light"] .atisfy-case-study-card {
  background: #FFFFFF !important;
  border-color: rgba(17, 17, 17, 0.14) !important;
  box-shadow: none !important;
}

.atisfy-case-study-card:hover {
  background: linear-gradient(281.11deg, #1B1D1F 0%, #303234 100%), #FFFFFF !important;
  transform: none !important;
  box-shadow: none !important;
}

html[data-theme="light"] .atisfy-case-study-card:hover {
  background: #F7F7F8 !important;
  box-shadow: none !important;
}

.atisfy-case-study-card__image-wrapper {
  position: relative;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 2 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  flex: 0 0 auto !important;
}

.atisfy-case-study-card__image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  transition: none !important;
}

.atisfy-case-study-card:hover .atisfy-case-study-card__image {
  transform: none !important;
}

.atisfy-case-study-card__content {
  width: 100% !important;
  height: 200px !important;
  padding: 8px !important;
  gap: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  box-sizing: border-box !important;
  flex: 0 0 200px !important;
}

.atisfy-case-study-card__category {
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  margin: 0 !important;
  background: rgba(130, 112, 219, 0.12) !important;
  color: #9584FF !important;
  border: 0 !important;
}

html[data-theme="light"] .atisfy-case-study-card__category {
  background: rgba(130, 112, 219, 0.12) !important;
  color: #553CF4 !important;
}

.atisfy-case-study-card__title {
  width: 100% !important;
  min-height: 96px !important;
  max-height: 96px !important;
  margin: 0 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  letter-spacing: 0 !important;
  color: #FFFFFF !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.atisfy-case-study-card__title a {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.atisfy-case-study-card__title a:hover {
  color: #FFFFFF !important;
}

.atisfy-case-study-card:hover .atisfy-case-study-card__title,
.atisfy-case-study-card:hover .atisfy-case-study-card__title a {
  color: #FFFFFF !important;
}

html[data-theme="light"] .atisfy-case-study-card__title,
html[data-theme="light"] .atisfy-case-study-card__title a,
html[data-theme="light"] .atisfy-case-study-card__title a:hover {
  color: #171717 !important;
}

html[data-theme="light"] .atisfy-case-study-card:hover .atisfy-case-study-card__title,
html[data-theme="light"] .atisfy-case-study-card:hover .atisfy-case-study-card__title a {
  color: #171717 !important;
}

.atisfy-case-study-card__date {
  margin: auto 0 0 !important;
  color: #A3B2C6 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
}

.atisfy-case-study-card__excerpt,
.atisfy-case-study-card__button-wrapper,
.et_pb_button.atisfy-case-study-card__button,
.atisfy-btn.atisfy-case-study-card__button {
  display: none !important;
}

/* Responsive Grid Rules */
@media (max-width: 1260px) {
  .atisfy-case-studies-grid {
    grid-template-columns: repeat(3, minmax(0, 392px));
    gap: 20px;
    padding: 0 16px;
  }
}

@media (max-width: 860px) {
  .atisfy-case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 392px));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .atisfy-case-studies-grid {
    grid-template-columns: minmax(0, 392px);
  }
}

@media (max-width: 460px) {
  .atisfy-case-study-card {
    width: 100% !important;
    max-width: 392px !important;
    height: auto !important;
  }

  .atisfy-case-study-card__image-wrapper,
  .atisfy-case-study-card__content {
    width: 100% !important;
  }

  .atisfy-case-study-card__image-wrapper {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 3 / 2 !important;
    flex-basis: auto !important;
  }

  .atisfy-case-study-card__title {
    width: 100% !important;
  }
}

/* Stretched link to make the entire card clickable */
.atisfy-case-study-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Sidebar removal when case studies are present */
.atisfy-has-case-studies #sidebar {
  display: none !important;
}
.atisfy-has-case-studies #left-area {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
  border-right: 0 !important;
}
.atisfy-has-case-studies #main-content .container::before {
  display: none !important;
}

/* Case studies page hero title */
body.atisfy-has-case-studies:not(.category) #main-content .container {
  width: min(100%, 1216px) !important;
  max-width: 1216px !important;
  padding-top: 56px !important;
}

body.atisfy-has-case-studies:not(.category) #left-area > h1,
body.atisfy-has-case-studies:not(.category) #left-area > .entry-title,
body.atisfy-has-case-studies:not(.category) #left-area article.page > h1.entry-title,
body.atisfy-has-case-studies:not(.category) #left-area article.page > .entry-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(100%, 737px) !important;
  min-height: 124px !important;
  margin: 0 auto 48px !important;
  padding: 0 !important;
  gap: 16px !important;
  border: 0 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 58px !important;
  font-weight: 700 !important;
  line-height: 130% !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  background: linear-gradient(90deg, #FFFFFF 51.56%, #2F2F2F 81.34%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

body.atisfy-has-case-studies:not(.category) #left-area > h1::after,
body.atisfy-has-case-studies:not(.category) #left-area > .entry-title::after,
body.atisfy-has-case-studies:not(.category) #left-area article.page > h1.entry-title::after,
body.atisfy-has-case-studies:not(.category) #left-area article.page > .entry-title::after {
  content: "Explore the latest insights and trends in workflow automation.";
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  background: none !important;
  -webkit-text-fill-color: #DCDFE3 !important;
  color: #DCDFE3 !important;
}

html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area > h1,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area > .entry-title,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area article.page > h1.entry-title,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area article.page > .entry-title {
  background: linear-gradient(90deg, #171717 51.56%, #A3A3A3 81.34%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area > h1::after,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area > .entry-title::after,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area article.page > h1.entry-title::after,
html[data-theme="light"] body.atisfy-has-case-studies:not(.category) #left-area article.page > .entry-title::after {
  -webkit-text-fill-color: rgba(17, 17, 17, 0.78) !important;
  color: rgba(17, 17, 17, 0.78) !important;
}

/* Case Studies Pagination Styling */
.atisfy-case-studies-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 40px auto 0 !important;
  width: 100% !important;
}

.atisfy-pagination-btn,
.atisfy-pagination-ellipsis,
.atisfy-pagination-arrow {
  box-sizing: border-box !important;
  width: 32px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  border-radius: 8px !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  letter-spacing: -0.006em !important;
  color: #FFFFFF !important;
}

.atisfy-pagination-btn {
  border: 1px solid #465670 !important;
  background: #111111 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.atisfy-pagination-btn:hover,
.atisfy-pagination-btn:focus-visible {
  background: #25292E !important;
  border-color: #5B6E8D !important;
  outline: none !important;
}

.atisfy-pagination-btn.is-active,
.atisfy-pagination-btn.is-active:hover,
.atisfy-pagination-btn.is-active:focus-visible {
  background: #553CF4 !important;
  border-color: #553CF4 !important;
  color: #FFFFFF !important;
}

.atisfy-pagination-ellipsis {
  border: 1px solid #465670 !important;
  background: #111111 !important;
  cursor: default !important;
}

.atisfy-pagination-arrow {
  border: 0 !important;
  background: transparent !important;
  color: #DCDFE3 !important;
  cursor: pointer !important;
  font-size: 32px !important;
  line-height: 20px !important;
}

.atisfy-pagination-arrow:hover,
.atisfy-pagination-arrow:focus-visible {
  color: #FFFFFF !important;
  outline: none !important;
}

.atisfy-pagination-arrow:disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}

html[data-theme="light"] .atisfy-pagination-btn,
html[data-theme="light"] .atisfy-pagination-ellipsis {
  background: #FFFFFF !important;
  color: #171717 !important;
  border-color: rgba(17, 17, 17, 0.16) !important;
}

html[data-theme="light"] .atisfy-pagination-btn:hover,
html[data-theme="light"] .atisfy-pagination-btn:focus-visible {
  background: #F5F5F5 !important;
}

html[data-theme="light"] .atisfy-pagination-btn.is-active,
html[data-theme="light"] .atisfy-pagination-btn.is-active:hover,
html[data-theme="light"] .atisfy-pagination-btn.is-active:focus-visible {
  background: #553CF4 !important;
  border-color: #553CF4 !important;
  color: #FFFFFF !important;
}

html[data-theme="light"] .atisfy-pagination-arrow {
  color: #171717 !important;
}

/* =========================================================
   10. Dynamic Newsroom Switcher Grid
   ========================================================= */
.atisfy-newsroom-container {
  max-width: var(--atisfy-wide);
  margin: 40px auto;
  width: 100%;
}

/* Tabs switcher styling (Lattice style) */
.atisfy-newsroom-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--atisfy-divider);
  padding-bottom: 0px;
  margin-bottom: 48px;
}

.atisfy-newsroom-tab-btn {
  background: transparent !important;
  border: 0 !important;
  padding: 12px 4px !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--atisfy-text-soft) !important;
  cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}

.atisfy-newsroom-tab-btn:hover {
  color: var(--atisfy-text) !important;
}

.atisfy-newsroom-tab-btn.is-active {
  color: var(--atisfy-text) !important;
  font-weight: 600 !important;
}

/* Green underline transition for active tab */
.atisfy-newsroom-tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--atisfy-green);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: bottom center;
}

.atisfy-newsroom-tab-btn.is-active::after {
  transform: scaleX(1);
}

/* Newsroom Grid and Cards */
.atisfy-newsroom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
}

.atisfy-newsroom-card {
  position: relative;
  cursor: pointer;
  background: var(--atisfy-surface-dark) !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

html[data-theme="light"] .atisfy-newsroom-card {
  background: var(--atisfy-surface) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.atisfy-newsroom-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

html[data-theme="light"] .atisfy-newsroom-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* 16:9 Image styling */
.atisfy-newsroom-card__image-link {
  display: block;
  width: 100%;
  position: relative;
}

.atisfy-newsroom-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background: #ffffff !important;
  border-bottom: 1px solid var(--atisfy-border);
}

.atisfy-newsroom-card__image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.atisfy-newsroom-card:hover .atisfy-newsroom-card__image-wrapper img {
  transform: scale(1.05);
}

/* Gradient placeholder for cards with no featured image */
.atisfy-newsroom-card:not(:has(.atisfy-newsroom-card__image-link))::before {
  content: "" !important;
  display: block !important;
  position: relative !important;
  width: 100% !important;
  padding-top: 56.25% !important; /* 16:9 Aspect Ratio */
  background: linear-gradient(135deg, #1C5189 0%, #553CF4 100%) !important;
  border-bottom: 1px solid var(--atisfy-border) !important;
  z-index: 1 !important;
  order: -1 !important;
}

/* Card content layout */
.atisfy-newsroom-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.atisfy-newsroom-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.atisfy-newsroom-card__date {
  color: var(--atisfy-text-soft);
}

.atisfy-newsroom-card__category {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 99px;
  transition: all 0.25s ease;
}

/* Newsroom Case Study Badge */
.atisfy-newsroom-card__category.is-case-study {
  background: rgba(85, 60, 244, 0.15) !important;
  color: #a397fb !important;
  border: 1px solid rgba(85, 60, 244, 0.3) !important;
}

html[data-theme="light"] .atisfy-newsroom-card__category.is-case-study {
  background: rgba(85, 60, 244, 0.08) !important;
  color: #553cf4 !important;
  border: 1px solid rgba(85, 60, 244, 0.18) !important;
}

/* Newsroom Blog Badge */
.atisfy-newsroom-card__category.is-blog {
  background: rgba(130, 112, 219, 0.15) !important;
  color: #b3a7f2 !important;
  border: 1px solid rgba(130, 112, 219, 0.3) !important;
}

html[data-theme="light"] .atisfy-newsroom-card__category.is-blog {
  background: rgba(130, 112, 219, 0.08) !important;
  color: #8270db !important;
  border: 1px solid rgba(130, 112, 219, 0.18) !important;
}

/* Newsroom News Badge */
.atisfy-newsroom-card__category.is-news-press-releases {
  background: rgba(35, 163, 109, 0.15) !important;
  color: #5eead4 !important;
  border: 1px solid rgba(35, 163, 109, 0.3) !important;
}

html[data-theme="light"] .atisfy-newsroom-card__category.is-news-press-releases {
  background: rgba(35, 163, 109, 0.08) !important;
  color: #23a36d !important;
  border: 1px solid rgba(35, 163, 109, 0.18) !important;
}

/* Title styling */
.atisfy-newsroom-card__title {
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--atisfy-text) !important;
  margin: 0 0 12px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}

.atisfy-newsroom-card__title a {
  color: var(--atisfy-text) !important;
  text-decoration: none !important;
}

.atisfy-newsroom-card__title a:hover {
  color: var(--atisfy-primary) !important;
}

.atisfy-newsroom-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Excerpt clamp */
.atisfy-newsroom-card__excerpt {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--atisfy-text-soft) !important;
  margin: 0 0 24px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Read more button */
.atisfy-newsroom-card__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  background: #553CF4 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
  position: relative !important;
  z-index: 4 !important;
}

.atisfy-newsroom-card__button:hover {
  background: #4A34D6 !important;
  color: #FFFFFF !important;
}

/* Load more button (Lattice style pill) */
.atisfy-newsroom-loadmore-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.atisfy-newsroom-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 99px;
  border: 1px solid var(--atisfy-border);
  background: var(--atisfy-surface-dark);
  color: var(--atisfy-text-soft);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="light"] .atisfy-newsroom-loadmore-btn {
  background: var(--atisfy-surface);
}

.atisfy-newsroom-loadmore-btn:hover {
  background: var(--atisfy-border);
  color: var(--atisfy-text);
  border-color: var(--atisfy-border);
}

.atisfy-newsroom-loadmore-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.atisfy-newsroom-loadmore-btn:hover .atisfy-newsroom-loadmore-arrow {
  transform: translateY(2px);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .atisfy-newsroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0 16px;
  }
  
  .atisfy-newsroom-tabs-nav {
    gap: 20px;
    padding: 0 16px 0px;
  }
}

@media (max-width: 600px) {
  .atisfy-newsroom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .atisfy-newsroom-tabs-nav {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none; /* Hide scrollbar for clean UI */
  }
  
  .atisfy-newsroom-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .atisfy-newsroom-tab-btn {
    white-space: nowrap;
  }
}

/* =========================================================
   HubSpot Form Styling (Contact Page)
   ========================================================= */

/* Form Wrapper / Container */
.et_pb_code_2.et_pb_module,
.atisfy-contact-form-wrapper {
  background: var(--atisfy-surface, #25292E);
  border: 1px solid var(--atisfy-border, #465670);
  border-radius: 24px;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  max-width: 603px; /* From Figma width */
  margin: 0 auto;
}

  color: #b3a7f2 !important;
  border: 1px solid rgba(130, 112, 219, 0.3) !important;
}

html[data-theme="light"] .atisfy-newsroom-card__category.is-blog {
  background: rgba(130, 112, 219, 0.08) !important;
  color: #8270db !important;
  border: 1px solid rgba(130, 112, 219, 0.18) !important;
}

/* Newsroom News Badge */
.atisfy-newsroom-card__category.is-news-press-releases {
  background: rgba(35, 163, 109, 0.15) !important;
  color: #5eead4 !important;
  border: 1px solid rgba(35, 163, 109, 0.3) !important;
}

html[data-theme="light"] .atisfy-newsroom-card__category.is-news-press-releases {
  background: rgba(35, 163, 109, 0.08) !important;
  color: #23a36d !important;
  border: 1px solid rgba(35, 163, 109, 0.18) !important;
}

/* Title styling */
.atisfy-newsroom-card__title {
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--atisfy-text) !important;
  margin: 0 0 12px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}

.atisfy-newsroom-card__title a {
  color: var(--atisfy-text) !important;
  text-decoration: none !important;
}

.atisfy-newsroom-card__title a:hover {
  color: var(--atisfy-primary) !important;
}

.atisfy-newsroom-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Excerpt clamp */
.atisfy-newsroom-card__excerpt {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--atisfy-text-soft) !important;
  margin: 0 0 24px 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

/* Read more button */
.atisfy-newsroom-card__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
  background: #553CF4 !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 19px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: auto !important;
  position: relative !important;
  z-index: 4 !important;
}

.atisfy-newsroom-card__button:hover {
  background: #4A34D6 !important;
  color: #FFFFFF !important;
}

/* Load more button (Lattice style pill) */
.atisfy-newsroom-loadmore-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.atisfy-newsroom-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 99px;
  border: 1px solid var(--atisfy-border);
  background: var(--atisfy-surface-dark);
  color: var(--atisfy-text-soft);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="light"] .atisfy-newsroom-loadmore-btn {
  background: var(--atisfy-surface);
}

.atisfy-newsroom-loadmore-btn:hover {
  background: var(--atisfy-border);
  color: var(--atisfy-text);
  border-color: var(--atisfy-border);
}

.atisfy-newsroom-loadmore-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.atisfy-newsroom-loadmore-btn:hover .atisfy-newsroom-loadmore-arrow {
  transform: translateY(2px);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .atisfy-newsroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0 16px;
  }
  
  .atisfy-newsroom-tabs-nav {
    gap: 20px;
    padding: 0 16px 0px;
  }
}

@media (max-width: 600px) {
  .atisfy-newsroom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .atisfy-newsroom-tabs-nav {
    gap: 12px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none; /* Hide scrollbar for clean UI */
  }
  
  .atisfy-newsroom-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .atisfy-newsroom-tab-btn {
    white-space: nowrap;
  }
}

/* =========================================================
   HubSpot Form Styling (Contact Page)
   ========================================================= */

/* Form Wrapper / Container */
.et_pb_code_2.et_pb_module,
.atisfy-contact-form-wrapper {
  background: var(--atisfy-surface, #25292E);
  border: 1px solid var(--atisfy-border, #465670);
  border-radius: 24px;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  max-width: 603px; /* From Figma width */
  margin: 0 auto;
}

/* If the form is rendered as raw HTML, we can style its elements */
.hbspt-form form {
  display: flex;
  flex-direction: column;
}
.hbspt-form .hs-form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.hbspt-form label {
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  color: var(--atisfy-text-soft) !important;
  margin-bottom: 8px !important;
  display: block !important;
  font-weight: 400 !important;
}

/* Inputs and Textareas */
.hbspt-form .hs-input {
  background: var(--atisfy-surface-dark) !important;
  border: 1px solid var(--atisfy-border) !important;
  border-radius: 8px !important;
  padding: 14px 16px !important;
  color: var(--atisfy-text) !important;
  font-family: Inter, sans-serif !important;
  font-size: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.hbspt-form .hs-input::placeholder {
  color: var(--atisfy-text-soft) !important;
}

.hbspt-form .hs-input:focus {
  outline: none !important;
  border-color: var(--atisfy-primary) !important;
  box-shadow: 0 0 0 2px rgba(85, 60, 244, 0.2) !important;
}

/* Submit Button */
.hbspt-form .hs-button {
  background: var(--atisfy-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: Inter, sans-serif !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background 0.3s ease !important;
  margin-top: 8px !important;
}

.hbspt-form .hs-button:hover {
  background: var(--atisfy-primary-hover) !important;
}

/* Legal text / checkbox */
.hbspt-form .legal-consent-container {
  margin-top: 16px;
}

.hbspt-form .legal-consent-container p,
.hbspt-form .legal-consent-container span,
.hbspt-form .hs-richtext {
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  color: var(--atisfy-text-soft) !important;
  line-height: 1.5 !important;
}

.hbspt-form .legal-consent-container a {
  color: var(--atisfy-text-soft) !important;
  text-decoration: underline !important;
}

.hbspt-form .hs-error-msgs label {
  color: var(--atisfy-orange) !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

/* =========================================================
   Partner Logo Section
   ========================================================= */
html[data-theme="light"] .partner-logo .et_pb_column {
  border: 1px solid var(--atisfy-border);
  border-radius: 24px;
}

.et_pb_column {
    border-image: linear-gradient(90deg, rgba(220, 223, 227, 0) 0%, rgba(220, 223, 227, 1) 50%, rgba(220, 223, 227, 0) 100%) 1;
}

.et_pb_row {
    border-image: linear-gradient(90deg, rgba(220, 223, 227, 0) 0%, rgba(220, 223, 227, 1) 50%, rgba(220, 223, 227, 0) 100%) 1;
}

.atisfy-mega-menu-preview-card {
    cursor: pointer;
}
