/* ========================================
   Utility Classes
   ======================================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-primary: #4A4A49;
  --color-primary-dark: #333;
  --color-accent: #21a4d9;
  --color-section-bg: #f0f0f0;
  --color-white: #fff;
  --color-black: #000;

  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  --header-z: 1000;
  --transition-slow: 0.6s;

  --container-max: 1248px;
}

/* ========================================
   Reset
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0 !important;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-primary);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: 0;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

button {
  cursor: pointer;
  font-family: inherit;
}


#main-content {
  background: #f7f7f7 !important;
}

/* ========================================
   Skip Link
   ======================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10001;
  padding: 0.5rem 1rem;
  background: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: relative;
  width: 100%;
}

.header__nav {
  font-family: "Helvetica Neue", system-ui, BlinkMacSystemFont, -apple-system,
    "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
    sans-serif;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: var(--header-z);
  padding: 0;
  background-color: transparent;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

.header__nav.sticky {
  position: fixed;
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.header__nav.sticky .header__container {
  padding-top: 0px;
  padding-bottom: 0px;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 35px;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
}

.header__logo {
  display: inline-block;
  flex-shrink: 0;
}

.header__logo-img {
  max-width: 202px;
  width: 100%;
  transition: all var(--transition-slow);
  height: auto;
}

.header__nav.sticky .header__logo-img {
  max-width: 165px;
}

.header__nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}

.header__menu {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header__menu-item {
  position: relative;
}

.header__menu-link {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 11px 0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: none;
}

.header__nav.sticky .header__menu-link,
.header__nav--no-hero .header__menu-link {
  color: #000;
}

.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 20px 16px;
  margin-top: 0;
  z-index: 99999;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.header__menu-item:hover>.header__submenu,
.header__menu-item.focus>.header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header__submenu-link {
  position: relative;
  color: var(--color-black);
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.125rem;
  padding: 0.7rem 0.625rem 0 0.7rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  width: 305px;
  overflow: hidden;
  transition: all 0.6s ease;
}

.header__submenu-link::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  width: 20px;
  height: 16px;
  margin-top: 0.35rem;
  background-image: url('../images/Midis-arrow.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0;
  transform: translateY(-50%);
  transition: all 0.6s ease;
}

.header__submenu-link:hover {
  padding-left: 50px;
}

.header__submenu-link:hover::before {
  opacity: 1;
  left: 16px;
}

.header__submenu-link--parent {
  display: none;
}

.header__menu-link--has-children {
  gap: 0;
}

.header__menu-link--has-children::after {
  content: '▼';
  font-size: 10px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  margin-left: 6px;
}

.header__menu-item:hover>.header__menu-link--has-children::after {
  transform: rotate(-180deg);
}

.header__nav.sticky .header__menu-link--has-children::after,
.header__nav--no-hero .header__menu-link--has-children::after {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.header__search-btn {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.header__nav.sticky .header__search-btn,
.header__nav--no-hero .header__search-btn {
  color: var(--color-primary);
}

.header__search-btn svg path {
  fill: currentColor;
}

.header__search-text {
  display: none;
}

/* ========================================
   Header / Language Switcher
   Uses <ul><li> for semantic a11y:
   - aria-label announces purpose to screen readers
   - hreflang tells AT which language each link targets
   - aria-current="page" on active item
   - CSS pseudo-element separators (silent for AT, unlike "|" text)
   ======================================== */
.header__lang {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 1rem;
  gap: 0;
}

.header__lang-item {
  display: flex;
  align-items: center;
}

/* Separator between items: vertical line via ::before */
.header__lang-item+.header__lang-item::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 6px;
}

.header__nav.sticky .header__lang-item+.header__lang-item::before,
.header__nav--no-hero .header__lang-item+.header__lang-item::before {
  background-color: rgba(74, 74, 73, 0.4);
}

.header__lang-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  text-decoration: none;
  color: var(--color-white);
  padding: 0 0.5rem;
}

.header__lang-active {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-style: solid;
  padding: 0 0.5rem;
}

.header__nav.sticky .header__lang-link,
.header__nav.sticky .header__lang-active,
.header__nav--no-hero .header__lang-link,
.header__nav--no-hero .header__lang-active {
  color: #000;
}

.header__toggler {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  margin-left: auto;
  color: #fff;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.header__toggler:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.header__menu-link:focus-visible,
.header__submenu-link:focus-visible,
.header__lang-link:focus-visible,
.header__lang-active:focus-visible,
.header__search-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-wrapper a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.header__panel-logo:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.header__toggler:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header__nav.sticky .header__toggler {
  color: var(--color-primary);
}

.header__nav.sticky .header__toggler:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Panel header (logo + close) — only visible inside the mobile slide-in panel */
.header__panel-header {
  display: none;
}

/* Animated hamburger icon (3 bars → X on toggle) */
.header__toggler-icon {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease;
  transform-origin: center center;
  will-change: transform;
}

/* Morph into X when menu is open */
.header__toggler[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(8.75px) rotate(45deg);
}

.header__toggler[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.header__toggler[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-8.75px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .header__nav {
    transform: none;
    left: 0;
  }

  .header__toggler {
    display: block;
  }

  /* Backdrop overlay */
  .header__overlay {
    position: fixed;
    inset: 0;
    z-index: 1039;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .header__overlay.open {
    opacity: 1;
    visibility: visible;
  }

  /* Off-canvas slide-in panel (from left) */
  .header__nav-inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
    height: 100vh;
    background-color: var(--color-white);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
  }

  .header__nav-inner.open {
    transform: translateX(0);
  }

  /* Panel header: logo left, close button right */
  .header__panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .header__panel-logo img {
    display: block;
    height: 110px;
    width: auto;
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    width: 100%;
  }

  .header__menu-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
  }

  .header__menu-link {
    color: var(--color-primary) !important;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 16px 20px !important;
    margin-bottom: 0;
    text-align: left;
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
  }

  /* Chevron pushes to far right; only rotation changes on toggle */
  .header__menu-link--has-children::after {
    color: var(--color-primary);
    margin-left: auto;
  }

  .header__menu-item.open>.header__menu-link--has-children::after {
    transform: rotate(-180deg);
  }

  /* Inline accordion submenu (expands below parent) */
  .header__submenu {
    position: static;
    width: 100%;
    background: var(--color-white);
    box-shadow: none;
    border-radius: 0;
    display: block;
    height: 0;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 20px;
    margin: 0;
    flex-basis: 100%;
    order: 1;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  /* Disable desktop hover effects on mobile */
  .header__menu-item:hover>.header__submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .header__menu-item:hover>.header__menu-link--has-children::after {
    transform: none;
  }

  .header__submenu-link {
    width: 100%;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 20px 14px 36px;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding-left 0.3s ease, background-color 0.3s ease;
  }

  .header__submenu-link--parent {
    display: block;
    font-weight: 700;
    border-bottom: 2px solid var(--color-accent);
    margin-bottom: 6px;
  }

  .header__submenu-link::before {
    display: none;
  }

  .header__submenu-link:hover {
    padding-left: 46px;
    background-color: rgba(0, 0, 0, 0.03);
  }

  .header__menu-item.open>.header__submenu {
    display: block;
  }

  /* Search + language group pinned to bottom of panel */
  .header__actions {
    margin-left: 0;
    margin-top: auto;
    padding: 1rem 20px 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
  }

  .header__search-btn {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
  }

  .header__search-btn svg {
    width: 22px;
    height: 22px;
  }

  .header__search-text {
    display: inline;
  }

  .header__lang {
    padding-left: 0;
    padding: 0.5rem 20px 1.5rem;
    display: flex;
    align-items: center;
  }

  .header__lang-item+.header__lang-item::before {
    background-color: rgba(74, 74, 73, 0.4);
  }

  .header__lang-link,
  .header__lang-active {
    color: var(--color-primary);
    font-size: 0.95rem;
  }

  .header__nav.sticky .header__container {
    padding: 5px 20px;
  }

  .header__container {
    padding: 9px 20px;
  }

  .header__nav.sticky .header__logo-img {
    max-width: 142px;
  }
}

/* ========================================
   Search Modal — Bootstrap Modal Styles
   ======================================== */
.search-modal-dialog {
  max-width: 500px;
}

.search-modal-content {
  border: none;
  border-radius: 10px;
  position: relative;
  padding: 30px;
}

.search-modal-close-btn {
  position: absolute;
  top: 6px;
  right: 13px;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
  z-index: 1;
  line-height: 1;
  padding: 0;
}

.search-modal-body {
  padding: 0;
  text-align: center;
}

.search-form {
  display: flex;
  gap: 4px;
  justify-content: center;
  width: 100%;
}

.search-field {
  width: 70%;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  border: 1px solid transparent;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.search-field:focus {
  border-color: var(--color-accent);
}

.search-submit-btn {
  padding: 10px 20px;
  font-size: 16px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.search-submit-btn:hover {
  background: #005f8a;
}


/* ========================================
   Page Content Wrappers
   ======================================== */
.page-section {
  background-color: var(--color-section-bg);
  padding-top: 86px !important;
  max-width: 1440px;
  margin: 0 auto;
}

/* ========================================
   About section home page
   ======================================== */

.about-section-heading-text p {
  color: var(--color-accent);
  font-size: 26px;
  line-height: 36px;
  letter-spacing: -0.52px;
}

.about-section-heading-text-subtext p {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}


/* ========================================
   Section & Card Headings
   ======================================== */
.section-heading h2 {
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.2px;
  margin-bottom: 32px;
  color: var(--color-primary);
}

.page-about-intro-section-wrapper .section-heading h2 {
  font-size: 26px;
  line-height: 31px;
}

.section-sub-heading {
  margin-bottom: 5px;
}


.section-sub-heading span {
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 400;
  font-family: 'Helvetica Neue', Sans-serif;
}

.sub-heading {
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

/* ========================================
   CHALLENGES AND GROWTH section
   ======================================== */

.challenges-and-growth-section-grid {
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 47px 38px;
}

.challenges-and-growth-section-grid-image-wrapper img {
  object-fit: cover;
  max-width: 100%;
  margin-bottom: 16px;
  display: block;
}

.challenges-and-growth-section-grid-content-heading .sub-heading{
  padding-bottom: 16px;
  padding-top: 16px;
  margin-bottom: unset;
}

.challenges-and-growth-section-grid-content-text p {
  line-height: 30.6px;
  font-weight: 400;
  letter-spacing: -0.32px;
  color: var(--color-primary);
  font-size: 18px;
  margin-bottom: 0;
}

/* ========================================
   Text Highlight (accent color spans)
   ======================================== */
.text-highlight {
  color: var(--color-accent);
}

.section-spacing {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ========================================
   Go-To-Market Strategy
   ======================================== */
.go-to-market-wrapper {
  padding-bottom: 100px;
}

.strategy-card {
  background-color: #fff;
  border-bottom: 5px solid;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 27px;
  padding: 40px 36px;
}

.strategy-card:hover {

  box-shadow: 0px 2px 10px #00000061 !important;
}

.strategy-card-image-wrapper img {

  width: 100%;
  transition: transform 0.4s ease;
}

.strategy-card-image-wrapper {
  overflow: hidden;
}

.strategy-card:hover .strategy-card-image-wrapper img {
  transform: scale(1.15);

}

.strategy-card-system {
  border-color: var(--color-accent);

}

.strategy-card--mono {
  border-color: #6e4698;
}

.strategy-card--local {
  border-color: #2f9db0;
}

.strategy-card--retail {
  border-color: #e03a25;
}

.strategy-card--multi {
  border-color: #2661ab;
}

.strategy-card--local .strategy-card__stack-body {
  margin-top: 20px;
}


.strategy-card.strategy-card--mono .sub-heading,
.strategy-card.strategy-card--mono .strategy-card-desc {
  padding-left: 20px;
}


.strategy-card-system .sub-heading,
.strategy-card-system .strategy-card-desc,.strategy-card--retail .sub-heading,
.strategy-card--retail .strategy-card-desc, .strategy-card--multi .sub-heading,
.strategy-card--multi .strategy-card-desc {
  padding-right: 20px;
}

.strategy-card-desc p {
  font-size: 16px;
  letter-spacing: -0.34px;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 0;
}

/* Local Office vertical stack */

.strategy-card--local .strategy-card-desc {
  margin-top: 5px;
}

/* Sub-heading margin override for mb-3 equivalent */
.strategy-card .sub-heading {
  margin-bottom: 16px;
}

/* Company page cards */
.company-card {
  background: #fff;
  border-bottom: 5px solid;
  padding: 39px 35px 30px 35px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1rem;
}

.company-card:hover {
  box-shadow: 0px 2px 10px #00000061 !important;
}

.company-card a {
  text-decoration: none;
  color: inherit;
}

.company-card h3 {
  margin-top: 20px;
  margin-bottom: 0;
}

.company-card-side h3 {
  margin-top: 0;
}

.company-card [class*="col-"] {
  padding: 0;
  overflow: hidden;
}

.company-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.company-card-blue { border-color: #2661ab; }
.company-card-green { border-color: #a1c63f; }
.company-card-purple { border-color: #6e4698; }

.company-card-side {
  display: flex;
  align-items: center;
}

.company-card-side h3 {
  margin-left: 30px;
}


.company-card:hover img {
  transform: scale(1.15);
}

/* ========================================
   Partner Logos Marquee
   ======================================== */

.partner-logo-wrapper {
  background-color: #fff;
  padding-left: 40px;
  padding-right: 40px;
}


.see-all-link {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--color-primary);
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', sans-serif;
}

.see-all-link img {
  margin-left: 10px;
}


.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.partner-logo img {
  width: 130px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.partner-carousel {
  overflow: hidden;
  width: 100%;
}

.partner-carousel-track {
  display: flex;
  animation: marquee 50s linear infinite;
  width: fit-content;
}

.partner-carousel:hover .partner-carousel-track {
  animation-play-state: paused;
}

.partner-slide {
  flex: 0 0 auto;
  min-width: 160px;
  margin-right: 2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   News Cards
   ======================================== */
.news-card {
  transition: opacity 0.3s ease;
}

.news-card .news-card-category {
  margin-bottom: 16px;
  color: #797D80;
  letter-spacing: -0.32px;
  font-family: var(--font-secondary);
}

.news-card .news-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 87px;
  /* 3 lines × 29px line-height — forces consistent height */
  margin-top: 14px;
  line-height: 29px;
  font-size: 18px;
}


.news-card .news-card-text a {
  text-decoration: none;
  background-image: linear-gradient(to right, var(--color-primary) 50%, transparent 50%);
  background-size: 200% 1px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  transition: background-position 0.3s;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;

}

.news-card:hover .news-card-text a {
  background-position: 0% 100%;
}

.news-card .image-wrapper {
  overflow: hidden;
}

.news-card img {
  transition: transform 0.4s ease;
  transform-origin: center center;
}

.news-card:hover img {
  transform: scale(1.15);
}

.news-image {
  width: 100%;
  height: 190px;
  display: block;
  overflow: hidden;
}

.news-image img {
  height: 100%;
  width: 100%;
}

.news-card-link-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-link-icon,
.news-content-wrapper:hover .news-card-link-icon {
  transform: translateX(10px);
}

/* ========================================
   work with us Adjustments
   ======================================== */

.work-with-us-wrapper {
  background-color: #fff;
}

.work-with-us-sub-text h3 {
  font-size: 26px;
  line-height: 36.14px;
  letter-spacing: -0.52px;
  margin-bottom: 16px;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', sans-serif;
  font-weight: 400;

}

.work-with-us-text p {
  font-size: 18px;
  color: var(--color-primary);
  line-height: 30px;
  margin-bottom: 20px;
}

.work-with-us-content a {
  width: 151px;
  height: 30px;
  background-color: #21a4dd;
  border-radius: 100px;
  line-height: 26px;
  padding: 4px 24px 4px 31px;
  text-decoration: none;
  font-weight: 600;
  min-width: 208px;
  color: #fff;
  transition: all 0.3s;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', sans-serif;
}

.work-with-us-content a:hover {
  transform: scale(1.05);
}


/* ========================================
   Footer Adjustments
   ======================================== */

.footer-wrapper {
  background: #f7f7f7 !important;

}


.affiliates-page .footer-wrapper {
  background: #fff !important;
}

.news-page .footer-wrapper,
.go-to-market-page .footer-wrapper,
.affiliates-detail-page .footer-wrapper, .office-page .footer-wrapper, .company-page .footer-wrapper, .technology-partners-page .footer-wrapper, .legal-page .footer-wrapper {
  background: #f0f0f0 !important;
}

.footer-section {
  max-width: 1440px;
  margin: 0 auto;
  background-color: #f0f0f0;
}


footer hr {
  border-color: #4a4a49;
}

.footer-links h5 {
  text-transform: unset;
  color: #434343;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.32px;
}



.footer-links ul li h6 {
  font-size: 14px;
  color: var(--color-primary);
  text-transform: unset;
  letter-spacing: unset;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.1;
  font-family: Inter, sans-serif;
}

.footer-links.affiliates-links ul li a {
  font-weight: 700;
}

.copyright-section,
.legal-link {
  font-size: 12px;
}

.copyright-section {
  margin-bottom: unset;
}

.design-by-section p,
.follow-us-section p {
  font-size: 12px;
  margin-bottom: 0;
  margin-right: 20px;
}

.list-inline-item:not(:first-child) {
  margin-left: 16px;
}

.follow-us-section {
  column-gap: 20px;
}

.follow-us-link {
  column-gap: 15px;
}

.follow-us-section img {
  width: 30px;
}

/* ========================================
   Hero Section (video)
   ======================================== */

/* Video hero modifier — full-bleed, no container constraint */
.hero--video {
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: #fff;
}

.hero__video-wrap {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.hero__video-iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.hero__video-overlay {
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
  pointer-events: none;
}

/* ========================================
   All Page  - Hero Section
   ======================================== */
.page-hero-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg-wrapper {
  width: 100%;
  height: 590px;
  background-size: cover;
  background-position: center;
}

.hero-bg-wrapper:before {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, #061547 -19.91%, rgba(13, 6, 47, 0) 100%);
  width: 100%;
  height: 279px;
  top: 0;
}

.page-hero-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 35px;
}

.page-hero-content h1 {
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', sans-serif;
  font-size: 32px;
  line-height: 64px;
  font-weight: 500;
  letter-spacing: -0.64px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0;
}

.hero-divider {
  height: 5px;
  max-width: 145px;
  border: none;
  margin: 0 0 20px 0;
  opacity: 1;
  background-color: #2f9bd0;
}

/* ========================================
   GO TO Market Page
   ======================================== */

.go-to-market-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/08/goto-market-hero-image-scaled.webp');
}

.go-to-market-page .page-section {
  max-width: 100%;
}

.strategy-page-section-content-wrapper .about-section-heading-text p {
  color: #000;
}

.strategy-page-section-content-wrapper {
  padding-bottom: 67px;
}

.go-to-market-page .go-to-market-wrapper {
  padding-bottom: 20px;
}

/* ========================================
   Local office Page
   ======================================== */
.local-office-page .page-section {
  background-color: #fff;
}

.local-office-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/08/Group-141-1.webp');
}

.local-office-page .hero-divider {
  background-color: #2f9db0;
}

.page-hero-text {
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', sans-serif;
  font-size: 22px;
  line-height: 28.6px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-primary);
}

.page-about-intro-section-wrapper.section-spacing {
  padding-top: unset;
}

.page-about-intro-section-wrapper .section-heading {
  text-align: center;
}


.page-about-intro-section-content p {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-primary);
}

.local-office-tab-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 26px;
  background: #fff;
  border: 1px solid #cdcfcf;
  cursor: pointer;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
  border-radius: 8px;
  transition: all 0.3s;
  margin-bottom: 17px;
}

.local-office-tab-btn.active {
  color: #fff;
  border-width: 1px;
}

/* Tab button color variants — replaces inline border-color */
.lo-tab-build-markets {
  border-color: #2661ab;
}

.lo-tab-build-markets.active {
  background-color: #2661ab;
  border-color: #2661ab;
}

.lo-tab-accelerate-investments {
  border-color: #21a4dd;
}

.lo-tab-accelerate-investments.active {
  background-color: #21a4dd;
  border-color: #21a4dd;
}

.lo-tab-manage-compliance {
  border-color: #23a7a9;
}

.lo-tab-manage-compliance.active {
  background-color: #23a7a9;
  border-color: #23a7a9;
}

.lo-tab-performance-strategy {
  border-color: #6e4698;
}

.lo-tab-performance-strategy.active {
  background-color: #6e4698;
  border-color: #6e4698;
}

.lo-tab-focus-markets {
  border-color: #3a4a94;
}

.lo-tab-focus-markets.active {
  background-color: #3a4a94;
  border-color: #3a4a94;
}

.local-office-tab-btn.active svg {
  display: block;
}

.local-office-tab-btn svg {
  display: none;
}

.local-office-tab-panel {
  display: none;
}

.local-office-tab-panel.active {
  display: block;
}

.local-office-tab-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.local-office-tab-header h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 28px;
  color: var(--color-primary);
  margin: 0 0 0 23px;
}

.local-office-tab-panel p {
  font-size: 18px;
  line-height: 27px;
  color: var(--color-primary);
}

/* ========================================
     OUR RESOURCES
     ======================================== */
.local-office-resources {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2026/06/Group-141-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.local-office-page .text-highlight {
  color: #2F9DB0;
}

.section-desc {
  font-size: 18px;
  line-height: 26px;
  color: var(--color-primary);
  font-weight: 400;
  max-width: 324px;
  margin-top: 60px;
}


.resources-card {
  background: #fff;
  border-radius: 12px;
  height: 450px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 25px 60px 25px 50px;
  display: flex;
  flex-direction: column;
  max-width: 445px;
  width: 100%;
  margin: 0 0 0 auto;
}

#resLinkList {
  flex: 1;
  overflow-y: auto;
}

.res-detail {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  min-height: 0;
}

.res-detail-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.res-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 7px 0;
  background: #fff;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 18.4px;
  font-weight: 400;
  line-height: 26px;
  color: var(--color-primary);
  cursor: pointer;
  transition: color 0.3s, font-weight 0.3s;
}

.res-link-item:hover {
  color: #2f9db0;
  font-weight: 600;
}

.res-link-item svg {
  width: 38px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 10px;
  transition: fill 0.3s;
}

.res-link-item:hover svg {
  fill: #2f9db0;
}

.resources-card hr {

  margin: 0;
}


.res-detail hr {
  margin-top: 0px;
  margin-bottom: 20px;
}

.res-detail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 18.4px;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  padding-bottom: 10px;
  transition: color 0.3s;
}

.res-detail-head:hover {
  cursor: pointer;
  color: #2F9DB0;
  font-weight: 600;
}

.res-detail-head svg {
  transition: left 0.3s ease;
}

.res-detail-head:hover svg {
  margin-left: -10px;
  margin-right: 20px;
}

.res-detail-body p {
  font-size: 14px;
  line-height: 26px;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 10px;
}

.res-detail-body p:last-child {
  margin-bottom: 0;
}

/* ========================================
     Proven Track Record
     ======================================== */
.local-office-proven-track {
  background: #fff;
  position: relative;
  padding-top: 70px;
}

.bg-brand-green {
  --tw-bg-opacity: 1;
  background-color: rgb(47 157 176 / var(--tw-bg-opacity));
  width: 316px;
  position: absolute;
  height: 5px;
}

.section-heading-wrapper {
  padding-top: 35px;
}

.proven-track-img {
  width: 100%;
  border-radius: 0;
  margin-bottom: 0;
  display: block;
}

.proven-track-counts-wrapper {
  border-radius: 20px 20px 20px 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.15);

}

.proven-track-counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  padding: 14px 41px 17px 41px;
  background: #f0f0f0;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.proven-track-count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid #b4b4b4;
}

.proven-track-count-item:first-child {
  border-left: none;
}

.proven-track-number {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #2f9db0;
  margin-bottom: 8px;
}

.lo-stat-skyblue {
  color: #21a4dd;
}

.lo-stat-purple {
  color: #6e4698;
}

.lo-stat-naviblue {
  color: #2556a3;
}

.proven-track-label {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
}

.proven-track-stats>[class*="col-"] {
  display: flex;
  flex-direction: column;
}

.proven-track-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-primary);
  font-weight: 400;
  letter-spacing: -0.025em;
  ;
  padding-left: 50px;
}

.proven-track-text .clients-buttons {
  margin-top: auto;
}

.proven-track-cards {
  margin-top: 70px;
}

.proven-track-card {
  background: #fff;
  border: 1px solid;
  --tw-border-opacity: 1;
  border-color: rgb(229 229 229 / var(--tw-border-opacity));
  border-radius: 24px;
  padding: 56px 44px 44px;
  --tw-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
  --tw-shadow-colored: 3px 3px 3px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  margin-bottom: 48px;
}

.proven-track-card h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 23px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 35px;
}

.card-accent {
  width: 6px;
  height: 32px;
}

.card-accent.purple {
  --tw-bg-opacity: 1;
  background-color: rgb(107 33 168 / var(--tw-bg-opacity));
}

.card-accent.blue {
  --tw-bg-opacity: 1;
  background-color: rgb(30 64 175 / var(--tw-bg-opacity));
}

.card-accent.teal {
  --tw-bg-opacity: 1;
  background-color: rgb(20 184 166 / var(--tw-bg-opacity));
}

.proven-track-card p {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: unset;
}

/* ========================================
     OUR CLIENTS
     ======================================== */
.local-office-clients {
  background: #fff;
}

/* .local-office-clients .row>[class*="col-"] {
  display: flex;
  flex-direction: column;
} */

.local-office-clients .clients-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.local-office-clients .clients-buttons {
  margin-top: auto;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(127px, 1fr));
  gap: 15px;
  align-items: center;
  /* margin-bottom: 40px; */
}

.clients-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  /* padding: 10px 9px !important; */
  cursor: pointer;
}

.clients-logo-item img {
  transition: transform 0.4s ease-in-out;
  width: 100px;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.clients-logo-item .modal-dialog,
.technology-partners-page .modal-dialog,
.local-office-page .modal-dialog,
.system-integration-page .modal-dialog,
.mono-brand-distribution-page .modal-dialog,
.multi-brand-distribution-page .modal-dialog,
.retail-page .modal-dialog {
  width: 377px;
  margin: 0 auto;
}

.modal-body {
  padding: unset;
}

.modal-client-content {
  border-radius: 20px;
  border: none;
  padding: 65px 45px;
}

.close-btn-rotate {
  transition: transform 0.3s ease;
}

.close-btn-rotate:hover {
  transform: rotate(90deg);
}

.btn-close:focus {
  box-shadow: unset;
}

.modal-client-close {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: unset;
  border-radius: 10px;
}

.modal-client-img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.modal-client-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 295px;
  background-color: #21a4dd;
  color: #fff;
  border-radius: 100px;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
}

.modal-client-btn:hover {
  transform: scale(1.05);
}

.local-office-clients .btn-close {
  opacity: unset;
  /* padding: 18px 18px; */
}

.clients-content p {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 30px;
}

.clients-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: start;
}

.client-btn {
  font-size: 14px;
  line-height: 26px;
  color: #F9F9F9;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 30px;
  border: 3px solid #2f9db0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.client-btn-fill {
  background-color: #2f9db0;
}

.client-btn-border {
  border: 3px solid #2f9db0;
  color: #2f9db0;
}

/* .client-btn-fill:hover,
.client-btn-border:hover {
  transform: scale(1.05);
} */


/* ========================================
     OUR CULTURE
     ======================================== */
.local-office-culture {
  background: #f0f0f0;
}

.local-office-culture p {
  font-size: 18px;
  line-height: 30px;
  color: var(--color-primary);
  font-weight: 400;
  margin-bottom: 20px;
}

.culture-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 43px;
  background: #2f9db0;
  color: #fff;
  border-radius: 23px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
}

.culture-btn:hover {
  transform: scale(1.05);
}


/* ========================================
     System Inegration apge
     ======================================== */

.system-integration-page .hero-bg-wrapper {
  background-image: url('	https://www.midisgroup.com/wp-content/uploads/2025/08/Mask-group-6.png');
}

.system-integration-page .text-highlight {
  color: #009388;
}

.system-integration-page .lo-stat-tealblue {
  color: #2F9DB0;
}

.system-integration-page .proven-track-text ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 30px;
}

.system-integration-page .client-btn,
.system-integration-page .client-btn-border {
  border-color: #009388;
}

.system-integration-page .client-btn-fill {
  background-color: #009388;
}

.system-integration-page .client-btn-border {
  color: #009388;
}

.system-integration-page .local-office-clients {
  background-color: #f0f0f0;
}

.system-integration-page .clients-logo-grid {
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.system-integration-page .clients-logo-item {
  background-color: white;
  padding: 10px 9px;
}

.system-integration-page .clients-logo-item img {
  transition: transform 0.4s ease-in-out;
}

.system-integration-page .clients-logo-item:hover {
  box-shadow: 2px 9px 10px 0px #00000033;
  cursor: pointer;
}

.system-integration-page .clients-logo-item:hover img {
  transform: scale(1.15);
}

.system-integration-page .news-insights-wrapper {
  background-color: #fff;
}

.system-integration-page .bg-brand-green {
  background-color: rgb(0 147 136 / var(--tw-bg-opacity));
}

.system-integration-page .hero-divider {
  background-color: #009388;
}

/* ========================================
     Mono Brand Distribution
     ======================================== */


.mono-brand-distribution-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/09/mono-brand-distribution-scaled.png');
}

.mono-brand-distribution-page .text-highlight {
  color: #09AAE3;
}

.mono-brand-distribution-page .lo-stat-tealblue {
  color: #2F9DB0;
}

.mono-brand-distribution-page .client-btn,
.mono-brand-distribution-page .client-btn-border {
  border-color: #09AAE3;
}

.mono-brand-distribution-page .client-btn-fill {
  background-color: #09AAE3;
}

.mono-brand-distribution-page .client-btn-border {
  color: #09AAE3;
}

.mono-brand-distribution-page .local-office-clients {
  background-color: #f0f0f0;
}

.mono-brand-distribution-page .news-insights-wrapper {
  background-color: #fff;
}

.mono-brand-distribution-page .bg-brand-green {
  background-color: rgb(9 170 227 / var(--tw-bg-opacity));
}

.mono-brand-distribution-page .hero-divider {
  background-color: #09AAE3;
}

/* ========================================
    Multi Brand Distribution
     ======================================== */


.multi-brand-distribution-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/08/Mask-group-7.png');
}

.multi-brand-distribution-page .text-highlight {
  color: #2556A3;
}

.multi-brand-distribution-page .bg-brand-green {
  background-color: rgb(37 86 163 / var(--tw-bg-opacity));
}

.multi-brand-distribution-page .client-btn,
.multi-brand-distribution-page .client-btn-border {
  border-color: #2556A3;
}

.multi-brand-distribution-page .client-btn-fill {
  background-color: #2556A3;
}

.multi-brand-distribution-page .client-btn-border {
  color: #2556A3;
}

.multi-brand-distribution-page .local-office-clients {
  background-color: #f0f0f0;
}

.multi-brand-distribution-page .news-insights-wrapper {
  background-color: #fff;
}

.multi-brand-distribution-page .hero-divider {
  background-color: #2556A3;
}


/* ========================================
    Retail Page
     ======================================== */

.retail-page .hero-bg-wrapper {
  background-image: url('	https://www.midisgroup.com/wp-content/uploads/2025/12/Frame-6.png');
}

.retail-page .text-highlight {
  color: #E4032F;
}

.retail-page .client-btn,
.retail-page .client-btn-border {
  border-color: #E4032F;
}

.retail-page .client-btn-fill {
  background-color: #E4032F;
}

.retail-page .client-btn-border {
  color: #E4032F;
}

.retail-page .bg-brand-green {
  background-color: rgb(228 3 47 / var(--tw-bg-opacity));
}

.retail-page .local-office-clients {
  background-color: #f0f0f0;
}

.retail-page .news-insights-wrapper {
  background-color: #fff;
}

.retail-page .hero-divider {
  background-color: #E4032F;
}

/* ========================================
    technology-partners
     ======================================== */

.technology-partners-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/10/tec.png');
}

.technology-partners-page .page-section {
  max-width: 100%;
}

.technology-partners-page .page-about-intro-section-wrapper .section-heading {
  text-align: left;
}

.technology-partners-page .page-about-intro-section-content p {
  font-weight: 400;
}

/* ========================================
   Technology Partners — Filter Buttons
   ======================================== */

.button-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.button-flex-item button {
  padding: 0 20px 0 15px;
  line-height: 2rem;
  letter-spacing: -0.32px;
  border: 1px solid #cdcfcf;
  border-radius: 100px;
  color: #2b2523;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-flex-item button:hover,
.button-flex-item button.active {
  color: #fff;
}

.button-flex-item button[data-channel="all"]:hover,
.button-flex-item button[data-channel="all"].active {
  background-color: #2F9BD0;
}

.button-flex-item button.local-office:hover,
.button-flex-item button.local-office.active {
  background-color: #2f9db0;
}

.button-flex-item button.mono-brand:hover,
.button-flex-item button.mono-brand.active {
  background-color: #6e4698;
}

.button-flex-item button.multi-brand:hover,
.button-flex-item button.multi-brand.active {
  background-color: #2661ab;
}

.button-flex-item button.retail:hover,
.button-flex-item button.retail.active {
  background-color: #e03a25;
}

.button-flex-item button.system-integration:hover,
.button-flex-item button.system-integration.active {
  background-color: var(--color-accent);
}

/* ========================================
   Technology Partners — Logo Grid
   ======================================== */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  width: 100%;
  padding-bottom: 50px;

}

.icon-grid-item {
  height: 92px;
  background-color: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.icon-grid-item:hover {
  box-shadow: 2px 9px 10px 0px rgba(0, 0, 0, 0.2);
}

.icon-grid-item img {
  transition: transform 0.4s ease-in-out;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.icon-grid-item:hover img {
  transform: scale(1.15);
}


/* ========================================
   About us — Logo Grid
   ======================================== */


.about-us-page .page-about-intro-section-wrapper .section-heading {
  text-align: left;
}

.about-us-page .page-about-intro-section-wrapper .section-heading h2 {
  text-transform: unset;
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 33px;
}

.about-us-page .page-about-intro-section-content p {
  font-size: 16px;
  font-weight: 400;

}

/* ========================================
   About Us — Number Section
   ======================================== */


.about-us-page .sub-heading {
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
}

.about-us-page .section-heading h2 {
  font-size: 42px;
  line-height: 49px;
  text-transform: unset;
  letter-spacing: -0.856px;
}

.number-section-card {
  background-color: var(--color-white);
  padding: 30px 35px;
}

.number-section-info {
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
}


.number-stat-item {
  border-left: 1px solid var(--color-primary);
  padding-left: 17px;
  margin-bottom: 20px;
}

.number-stat-value {
  color: #009388;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: unset;
}

.number-stat-label {
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.32px;
  color: var(--color-primary);
  padding-bottom: 16px;
  padding-top: 10px;
  margin-bottom: unset;
}

.number-section-links {
  margin-top: 16px;
}

.number-section-link {
  font-size: 1.125rem;
  line-height: 1.625rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.number-section-link-icon {
  height: 40px;
  width: auto;
}


.about-us-quote-section-bg {
  background-color: #fff;
  padding: 50px 35px;
}

.custom-quote {
  font-size: 26px;
  line-height: 33px;
  font-weight: 500;
  color: var(--color-primary);
}

.custom-quote .custom-quote-image.opening {
  vertical-align: middle;
  display: inline-block;
}

.custom-quote .custom-quote-image.opening img,
.custom-quote .custom-quote-image.closing img {
  width: 60%;
  height: auto;
}

.custom-quote .custom-quote-image.closing {
  display: inline-block;
  position: relative;
  margin-left: 5px;
}

.expertise-text-wrapper {
  margin-left: 30px;
}

.expertise-item {
  border-bottom: 1px solid #c9c9c9;
  padding-top: 16px;
  padding-bottom: 16px;
}

.expertise-item p {
  font-size: 18px;
  color: var(--color-primary);
  line-height: 30px;
  font-weight: 400;
  margin-bottom: 0;
}

.about-us-expertise-section-wrapper .section-heading h2 {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 30px;
}

.about-us-emerging-markets-wrapper .section-heading h2 {
  font-size: 26px;
  line-height: 36px;
  letter-spacing: -0.52px;
}

.emerging-text p {
  font-size: 18px;
}

/* ========================================
  people & culture page
   ======================================== */


.our-culture-section-wrapper .section-heading {
  text-transform: uppercase;
}

.people-culture-page .page-about-intro-section-wrapper .section-heading h2 {
  text-align: left;
  font-size: 30px;
  line-height: 54px;
}

.people-culture-page .page-about-intro-section-wrapper .section-sub-heading h3 {
  font-size: 26px;
  line-height: 36px;
  letter-spacing: -0.52px;
  font-family: "Inter", Sans-serif;
}

.our-value-text p {
  width: 260px;
  margin: 0 auto;
  font-size: 18px;
  padding-top: 10px;
  line-height: 30px;
  font-weight: 400;
}

.diversity-inclusion-section-wrapper {
  background-color: #fff;
}

.diversity-inclusion-section-content p {
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  width: 520px;
}

.our-impact-section-wrapper {
  height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.our-impact-section-wrapper::before {
  content: '';
  position: absolute;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  height: 100%;
  width: 100%;
  top: 0;
}

.our-impact-section-wrapper .section-text p {
  font-size: 18px;
  line-height: 30px;
}

.our-impact-section-wrapper.section-spacing {
  padding-top: 95px;
}

.hr-news-section-wrapper .news-card-category {
  margin-top: 20px;
}

.hr-news-section-wrapper .news-card {
  cursor: pointer;
}


/* ========================================
  news page
   ======================================== */

.news-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/08/news-hero-image-scaled.webp');
}

.news-page .page-section {
  max-width: 100%;
}

.main-news-wrapper-content {
  margin-left: 30px;
}

.main-news-wrapper-content p {
  font-size: 18px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.main-news-wrapper-content.news-card:hover .news-card-link-icon {
  transform: unset;
}


/* ========================================
   News Page — Filter Bar, Dropdowns, Tabs, Search, Pagination
   ======================================== */

/* ---- Dropdown ---- */
.news-dropdown-wrapper {
  position: relative;
}

.news-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 13px;
  background: #fff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  line-height: 23px;
  color: #4a4a49;
  min-height: 35px;
  transition: border-color 0.2s;
}

.dropdown-icon {
  width: 8px;
  height: 8px;
  background-color: #6E4698;
  display: inline-block;
  border-radius: 50%;
}

.dropdown-icon.go-to-market {
  background-color: #24A98C;
  border-radius: unset;
}

.dropdown-icon.topic {
  background-color: #21A4DD;
  border-radius: unset;
}

.news-dropdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.news-dropdown-arrow {
  font-size: 10px;
  margin-left: 6px;
  transition: transform 0.2s;
  color: #4A4A49;
}

.news-dropdown-wrapper.active .news-dropdown-arrow {
  transform: rotate(180deg);
}

.news-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-height: 340px;
  overflow-y: auto;
}

.news-dropdown-wrapper.active .news-dropdown-menu {
  display: block;
}

.news-dropdown-title {
  font-weight: 600;
  font-size: 13px;
  color: #4a4a49;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.news-dropdown-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a4a49;
  padding: 4px 0;
  cursor: pointer;
}

.news-dropdown-menu input[type="checkbox"] {
  accent-color: #0075ff;
  width: 13px;
  height: 13px;
  cursor: pointer;
}

.news-page .main-option {
  padding: 6px 0;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.news-page .main-option .sub-menu {
  font-size: 14px;
  font-weight: 500;
  color: #4a4a49;
}

/* ---- Tab Buttons ---- */
.tab-button {
  font-size: 14px;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.02em;
  border: 1px solid #CDCFCF;
  border-radius: 65px;
  padding: 1px 20px 0;
  background: #fff;
  color: #2B2523;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-button:hover {
  border-color: #002E53;
}

.tab-button.active {
  background: #002E53;
  color: #fff;
  border-color: #002E53;
}

/* ---- Search Box ---- */
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #CDCFCF;
  border-radius: 65px;
  padding: 8px 16px;
  min-height: 42px;
}

.search-icon {
  display: flex;
  align-items: center;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: #4a4a49;
  background: transparent;
}

.search-input::placeholder {
  color: #b0b0b0;
}

.search-box .search-form {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: flex-start;
  width: 100%;
}

/* ---- Tag ---- */
.main_news_tag {
  font-size: 14px;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.32px;
  border: 1px solid #CDCFCF;
  border-radius: 100px;
  color: #797D80;
  padding: 0 13px;
  height: 36px;
  text-transform: capitalize;
  cursor: default;
  white-space: nowrap;
  width: 100px;
  text-align: center;
}

.news-content-tag {
  margin-bottom: 20px;
}


.legal-page .page-section {
  max-width: 100%;
}


.legal-page .legal-content h1 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 64px;
}

.legal-page .legal-content h2 {
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 400;
}

.legal-page .legal-content h3 {
  font-size: 21px;
  font-weight: 500;
  margin-bottom: 16px;
}

.legal-page .legal-content h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.legal-page .legal-content p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.legal-page .legal-content ul,
.legal-page .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal-page .legal-content li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page .legal-content a {
  color: #1a76c1;
  text-decoration: underline;
}

.legal-page .legal-content hr {
  margin: 32px 0;
  border-color: #212529;
}

.legal-page .legal-content strong {
  font-weight: 600;
}


/* ========================================
 affiliates page
   ======================================== */


.affiliates-page .page-section,
.affiliates-page #main-content {
  background-color: #fff !important;
}

.affiliates-page .hero-bg-wrapper {
  background-image: url('https://www.midisgroup.com/wp-content/uploads/2025/10/affraint.png');
}

/* .affiliates-page .section-spacing {
  padding-top: unset;
} */


/* Sidebar */
.sidebar {
  background-color: #F0F0F0;
  border-radius: 20px;
  padding: 34px 20px;
  position: sticky;
  top: 87px;
}

/* Section spacing */
.filter-tab-wrapper {
  margin-bottom: 30px;
}

.sidebar .form-check {
  margin-bottom: unset;
  padding-left: 30px;
}

.sidebar .channelCheckboxes {
  display: flex;
  flex-wrap: wrap;
  margin-top: 16px;
}

.filter-tab-title {

  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.filter-tab-title img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}

.filter-tab-title h2 {
  line-height: 33px;
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  color: #4a4a49;

}

.filter-tab-wrapper .form-select {
  color: #4a4a49;
  height: 44px !important;
}

/* Channel dropdown */
.channel-select-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.channel-select-toggle {
  height: 44px;
  width: 100%;
  color: #b9b9b9;
  cursor: pointer;
  position: relative;
  font-size: 16px;
  font-weight: 400;
  border-radius: 0px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  padding: 0 12px;
}


.channel-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background: white;
  color: #4a4a49;
  border: 1px solid #ccc;
  width: 100%;
  box-shadow: 2px 9px 10px 0px #00000033;
  box-sizing: border-box;
  max-height: 300px;
  overflow-y: auto;
}

.channel-options #regionTree {
  padding: 10px;
}

.channel-options label {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.26px;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 10px;
  color: #000;
  padding: 0 10px;
}

.channel-options input[type='checkbox'] {
  margin-right: 10px;
}

/* Region tree */
.affiliates-page .main-option {
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid #00000040;
  position: relative;
}

.affiliates-page .main-option .icon::before {
  content: '+';
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.affiliates-page .main-option.active .icon::before {
  content: '-';
}

.affiliates-page .main-option .sub-menu {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -0.32px;
  color: #4a4a49;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.sub-options {
  display: none;
  padding-top: 20px;
  padding-left: 10px;
}

.sub-options label {
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: -0.26px;
  color: #4a4a49;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.sidebar .form-check-input {
  width: 15px;
  height: 15px;
}

.sidebar .form-check-input:checked {
  background-color: #2661ab;
}

.affiliates-page .main-option.active .sub-options {
  display: block;
}

/* Search button */
.btn-update {
  background-color: #00aaff !important;
  color: white !important;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 20px;
  border: none;
  width: 100%;
}

.btn-update:hover {
  background-color: #0095d9 !important;
  color: white !important;
}

/* Results toolbar */
.navigation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
}

/* Pagination */
.custom-pagination {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20px, auto));
  gap: 10px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 80px;
}

.pagination-number, .pagination-next {
  font-size: 16px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  color: #4a4a49;
  text-align: center;
  margin-bottom: 0;
  transition: all 0.2s;
}

/* .pagination-number:hover {
  background: #f5f5f5;
} */

.pagination-number.active-page {
  background: #21A4DD;
  color: #fff;
  font-weight: bold;
  border-color: #21A4DD;
}


.affiliates-page .filtered-results-text {
  font-size: 16px;
}

.affiliates-page .content {
  margin-top: 35px;
}

.aff-heading {
  text-transform: uppercase;
  margin-bottom: 20px;
  margin-top: 50px;
}

.aff-card {
  padding: 50px 21px 0;
  flex: 1;
}

.aff-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 64px;
  width: 230px;
  height: 147.2px;
  margin-left: auto;
  margin-right: auto;
}

.aff-badge {
  font-size: 13px;
  border: 1px solid #C9C9C9;
  padding: 0 5px;
  cursor: pointer;
}

.aff-footer {
  background-color: #F9F9F9;
  padding: 10px 21px 12px;
  border-radius: 0 0 20px 20px;
  width: 100%;
  margin-top: auto;
}



.aff-see-more {
  color: #4A4A49 !important;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  justify-content: end;
  align-items: center;
  margin-top: 12px;
  margin-bottom: unset;
}

.aff-see-more a {
  color: inherit;
  text-decoration: underline;
}

.sub-grid-layout {
  background-color: #ffffff;
  border: 1px solid #dadbdb;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.sub-grid-layout:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.aff-logo-wrap img {
  transition: transform 0.4s ease-in-out;
  object-fit: contain;
}

.sub-grid-layout:hover .aff-logo-img {
  transform: scale(1.6);
}

/* Card bottom */


/* Responsive */

/* Affiliate card classes (added by automation) */
.aff-logo-img {
  height: 60px;
  max-width: 142px;
  transform: scale(1.5);
}

.aff-info-grid {
  display: flex;
  gap: 5px;
  justify-content: start;
  align-items: center;
  margin-bottom: 0;
}

.aff-footer .aff-info-grid {
  flex-wrap: wrap;
}


.aff-info-grid p {
  margin-bottom: unset;
}


.aff-tag-badge {
  font-size: 16px;
  padding: 8px;
  margin-bottom: 5px;
}

.aff-tags-row {
  display: flex;
  gap: 5px;
  justify-content: start;
  margin-bottom: 25px;
}

.aff-tags-row p {
  margin-bottom: 0;
}


.aff-info-grid-3 {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 5px;
  align-items: center;
  justify-content: end;
}

.aff-info-grid-3 p {
  margin-bottom: 0;
}

.aff-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  line-height: 1.4;
  font-size: 16px;
  color: #4a4a49 !important;
  padding: 0 !important;
}

.aff-underline-link {
  color: inherit;
  text-decoration: underline;
}

.aff-text-sm {
  font-size: 1rem;
}

.aff-text-xs {
  font-size: 0.8125rem;
}

.aff-hidden {
  display: none;
}

.aff-disabled {
  color: #888;
}

.aff-badge-disabled {
  font-size: 13px;
  border: 1px solid rgb(201, 201, 201);
  padding: 0 5px;
  cursor: not-allowed;
  opacity: 0.5;
}



/* ========================================
 affiliates page detail
   ======================================== */


.affiliates-detail-page .page-section {
  max-width: 100%;
  background: #f0f0f0;
}

.affiliates-detail-page .affiliates-detail-wrapper {
  padding-top: 120px;
}

.affiliates-prev-page {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #4A4A49;
  font-size: 16px;
  padding-top: 30px;
  justify-content: center;
}

.aff-detail__back:hover {
  text-decoration: underline;
}

.aff-detail-header {
  display: flex;
  padding-bottom: 59px;
}

.aff-detail-logo {
  width: 250px;
  height: 150px;
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 13px;
}

.aff-detail-logo-img {
  width: 180px;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.aff-detail-title {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 32.17px;
  color: #4A4A49;
}

.aff-detail-heading {
  font-size: 32px;
  font-weight: 500;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  margin: 0;
  letter-spacing: -1.28px;
  color: #606f7b;
}

.aff-detail-description {
  padding-bottom: 56px;
}

.aff-detail-metric {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #C9C9C9;
  padding: 19px 0 30px;
}

.aff-detail-metric-label {
  font-size: 16px;
  line-height: 33px;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-width: 200px;
}

.aff-detail-metric-label img {
  width: 30px;
  padding-right: 7px;
}

.aff-detail-metric-value {
  padding-left: 35px;
  display: flex;
  flex-wrap: wrap;
}

.aff-detail__badge {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 26px;
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: unset;
}

.aff-detail__badge--mono-brand {
  background: #6e4698;
}

.aff-detail-tag {
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  background: #EDEDED;
  border-radius: 100px;
  padding: 6px 19px;
  margin-right: 10px;
}

.aff-detail__partner-logos {
  display: flex;
  column-gap: 8px;
}

.aff-detail__partner-logo img {
  width: 80px;
  height: auto;
  object-fit: contain;
  background: #fff;
}

.aff-detail__contact {
  background: #EDEDED;
  border-radius: 20px;
  padding: 46px;
  margin-top: 60px;
  margin-bottom: 19px;
}

.aff-detail__contact-title {
  font-weight: 500;
  font-size: 32.17px;
  line-height: 100%;
  color: #4A4A49;
  margin: 0 0 30px;
}


.aff-detail__contact-item .email {
  font-weight: 400;
  font-size: 18px;
  line-height: 33px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: #4A4A49;
  margin-bottom: unset;
}

.aff-detail__contact-label {
  font-weight: 500;
  font-size: 18px;
  line-height: 33px;
  color: #4A4A49;
  margin-bottom: 6px;
}

.aff-detail__contact-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 33px;
  margin-bottom: unset;
  color: #606f7b;
}

.aff-detail__contact-text .aff-detail__contact-link {
  color: #4A4A49;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.aff-detail__contact-link:hover {
  text-decoration: underline;
}


/* ========================================
 news page detail
   ======================================== */

.news-detail-page .page-section {
  background: #f0f0f0;
}

.news-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.news-detail-meta p {
  margin-bottom: unset;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.news-detail-category {
  border: 1px solid #CDCFCF;
  max-width: fit-content;
  border-radius: 36px;
  padding: 6px 20px;
  font-size: 16px;
  line-height: 33px;
  color: #797D80;
}

.news-detail-date {
  color: #797D80;
  font-size: 16px;
  font-weight: 500;
}

.news-detail-title h1 {
  font-size: 30px;
  font-weight: 500;
  color: #4A4A49;
  line-height: 1.2;
  letter-spacing: -0.2px;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  margin-bottom: 35px;
  font-weight: 600;
}

.news-detail-subtitle {
  font-size: 18px;
  color: #4A4A49;
  margin-bottom: 24px;
  line-height: 1.3;
  font-weight: 500;
}

.news-detail-figure {
  margin-bottom: 36px;
}

.news-detail-figure img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px #0000001f, 0 2px 4px #00000014;
}

.news-detail__figcaption {
  font-size: 14px;
  color: #6c757d;
  margin-top: 8px;
}

.news-detail-body {
  font-size: 1.125rem;
  color: #4a4a49;
  line-height: 1.7em;
  font-weight: 400;
  margin-bottom: 30px !important;
}

.news-detail-body p {
  margin-bottom: 30px;
}

.news-detail-body h2 a {
  color: #606f7b;
  text-decoration: underline;
  font-size: 24px;
  font-weight: 500 !important;
  line-height: 1.7em;
  margin-bottom: 30px !important;
  letter-spacing: -0.02em;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.news-detail-body a {
  color: #1a76c1;
  text-decoration: underline;
  font-size: 18px;
  font-weight: 500 !important;

}

.news-detail-body-figure {
  margin: 32px 0;
}

.news-detail-body-figure img {
  width: 100%;
  height: auto;
}

.news-detail-body-figure figcaption {
  font-size: 14px;
  color: #6c757d;
  padding-top: 20px;
}

.news-detail-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 40px;
}

.news-detail-nav-link {
  color: #4A4A49;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Neue Helvetica Pro', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.news-detail-nav-link:hover {
  text-decoration: underline;
}


/* ========================================
 compliance page detail
   ======================================== */



.employee-conduct-section-wrapper {
  background-color: #fff;
}

.employee-conduct-section-wrapper .section-text p {
  font-size: 1.125rem;
  color: #4a4a49;
  line-height: 1.35em;
  font-weight: 400;
  width: 550px;
}



.employee-conduct-link-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.employee-conduct-link-section a {
  font-size: 1.125rem;
  line-height: 1.625rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  text-transform: uppercase;
}



.third-party-compliance-section-wrapper .section-text p {
  font-size: 1.125rem;
  color: #4a4a49;
  line-height: 1.35em;
  font-weight: 400;
  font-weight: 500;
}

.third-party-compliance-section-wrapper .section-text p a {
  color: #1a76c1;
  text-decoration: underline;
}

.report-and-ethics-concern {
  background-size: cover;
  background-position: center;
}

.report-and-ethics-concern .section-heading h2 {
  color: #fff;
}

.report-and-ethics-concern .report-and-ethics-concern-section-text p {
  color: #fff;
  line-height: 24.3px;
  letter-spacing: -2%;
  font-size: 18px;
  font-weight: 400;
  color: #fff !important;
}

.report-and-ethics-concern-section-link {
  padding-top: 16px;
}

.report-and-ethics-concern-section-link p a {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-family: "Helvetica Neue", Sans-serif !important;
}

.report-and-ethics-concern-section-link p a img {
  filter: brightness(0.5) invert(1);    
}

/* ========================================
 Office page detail
   ======================================== */


   .office-section-wrapper.section-spacing {
    padding-top: 0px;
   }


.office-page #main-content {
  background-color: #f0f0f0 !important;
}

.office__grid {
  row-gap: 100px;
}

.office__card-image img {
  width: 100%;
  height: 301px;
  object-fit: cover;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.office__card-body {
  margin-left: 20px;
}

.office__card-title {
  font-size: 30px;
  font-weight: 500;
  color: #4a4a49;
  margin-bottom: 0;
  line-height: 36px;
  letter-spacing: -0.2px;
}

.office__card-subtitle {
  font-size: 22px;
  font-weight: 500;
  color: #4a4a49;
  text-transform: uppercase;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 28.6px;
}

.office__card-divider {
  width: 60px;
  height: 5px;
  border: none;
  margin-top: 8px;
  margin-bottom: 8px;
  opacity: 1;
}

.office__card-divider--blue {
  background-color: #2661ab;
}

.office__card-divider--cyan {
  background-color: #21a4dd;
}

.office__card-divider--purple {
  background-color: #6e4698;
}

.office__card-divider--green {
  background-color: #24a98c;
}

.office__card-divider--darkblue {
  background-color: #103a5e;
}

.office__card-divider--lime {
  background-color: #94be23;
}

.office__card-address p {
  font-size: 18px;
  color: #4a4a49;
  line-height: 1.25;
  font-weight: 400;
}

.office__card-phone {
  font-size: 18px;
  color: #4a4a49;
  font-weight: 400;
  margin-bottom: 0;
}

.phone_er {
  font-weight: 500;
}

.office-contact {
  padding: 50px 50px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));;
}

.office-contact-label {
  font-size: 16px;
  color: #4a4a49;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", Sans-serif !important;
}

.office-form-group {
  margin-bottom: 16px;
}

.office-contact-heading {
  font-size: 30px;
  font-weight: 500;
  color: #4a4a49;
  text-transform: uppercase;
  line-height: 54.3px;
  letter-spacing: -0.2px;
}

.office-contact-desc p {
  font-size: 18px;
  color: #4a4a49;
  line-height: 1.25;
  font-weight: 400;
  margin-bottom: 40px;
}

.office-contact-image img {
  width: 100%;
  height: 412px;
  object-fit: cover;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.office-contact-form {
  border: 1px solid #eaeaea;
  background-color: #ffffff;
  padding: 64px 42px;
  height: 100%;
}

.office-contact-form .form-label {
  color: #424242;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  margin-bottom: unset;
}

.office-contact-form .form-control {
  color: #212529;
  font-size: 16px;
  line-height: 28px;
  height: 60px;
  font-weight: 400;
  background-color: #fcfcfc;
}

.office-contact-form textarea.form-control {
  height: 116px;
  resize: vertical;
}


.office-contact-form .form-control:focus {
  border-color: #bdbdbd;
  box-shadow: none;
}


.office-submit-btn {
  background-color: #2661ab;
  color: #fff;
  font-weight: 700;
  line-height: 1.65;
  border-radius: 30px;
  width: 106px;
  padding: 5px 20px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.office-submit-btn:hover {
  background-color: #004ea2;
}


/* ========================================
 Company page detail
   ======================================== */


.company-page .section-heading h2 {
  font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.72px;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
}

.company-page .page-section {
  max-width: 100%;
  background: #f0f0f0;
}

.strategy-page-section-content-wrapper .about-section-heading-text p {
  color: #4A4A49;
}


/* ========================================
 Search page
   ======================================== */

.search-page .news-content-wrapper {
  transition: all linear .3s;
  border-bottom: 1px solid #cdcdcd;
    padding-bottom: 20px;
}

.search-page .news-content-wrapper:hover {
      background: #dae1e7;
    padding: 0px 10px 20px 10px;
}

.search-page .news-card-text{
    padding-top: 13.44px;
    font-size: 18px;
    line-height: 29.7px;
    min-height: auto;
    margin-bottom: 5px;
    background-image: linear-gradient(to right, #4a4a49 50%, transparent 50%);
    background-size: 200% 1px;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    transition: background-position 0.3s;
    display: inline-block;
}

.search-page .news-content-wrapper:hover .news-card-text {
  background-position: 0% 100%;
}

.search-page .news-content-wrapper:hover .news-card-link-icon {
    transform: translateX(0px);
}

.search-filter-wrapper .section-heading h2 {
  color: #00a7e3;
  text-transform: unset;
  font-size: 22px;
  font-weight: 700;
}

.search-page .search-page-form {
  justify-content: start;
}

.search-page .search-page-form .search-field {
    width:unset;
    padding: 10px;
    background: #fff;
    border: 1px solid #cdcdcd;

}

.modal {
  background: rgba(0, 0, 0, 0.3);
  box-shadow: unset;
}



@media only screen and (min-width: 1024px) and (max-width: 1024px) {

  .copyright-section,
  .design-by-section {
    margin-bottom: 20px;
  }

  .clients-buttons {
    display: block;
  }

  .clients-buttons a {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 991px) {
  .strategy-card [class*="col-lg-6"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .strategy-card.strategy-card--mono .sub-heading,
  .strategy-card.strategy-card--mono .strategy-card-desc {
    padding-left: 0;
  }

  .strategy-card .sub-heading {
    margin-bottom: 4px;
    margin-top: 20px;
  }

  .strategy-card--local .strategy-card__stack-body {
    margin-top: unset;
  }

  .challenges-and-growth-section-grid {
    padding: 20px;
    margin-bottom: 20px;
  }

  .strategy-card {
    padding: 14px;
  }

  .partner-logo-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .work-with-us-content {
    margin-bottom: 30px;
  }

  .footer-logo {
    margin-bottom: 48px;
  }

  .footer-links {
    margin-bottom: 32px;
  }

  .copyright-section,
  .legal-link {
    margin-bottom: 16px;
  }

  .follow-us-section {
    gap: unset;
  }

  .resources-card {
    margin-top: 30px;
  }

  .proven-track-text {
    padding: 50px 0 0;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 18px;
  }

  .news-filter-section .search-form {
    flex-direction: row;
    gap: 10px;
  }

  .search-form {
    flex-direction: column;
    gap: 10px;
  }

  .search-field {
    width: 100%;
  }

  .search-submit-btn {
    width: 100%;
  }

  .news-card {
    margin-bottom: 30px;
  }

  .aff-detail-metric-value {
    padding-left: 0;
    padding-top: 10px;
  }

  .aff-detail__contact-item {
    width: 100%;
  }

  .aff-detail-tag {
    margin-right: unset;
    margin-bottom: 10px;
  }

  .aff-detail__partner-logos {
    display: flex;
    flex-wrap: wrap;
  }

  .aff-detail__partner-logos .aff-detail__partner-logo {
    margin-bottom: 10px;
  }

  .aff-detail__contact-text {
    margin-bottom: 16px;
  }

  .affiliates-prev-page {
    justify-content: start;
    margin-bottom: 30px;
  }

  .aff-detail-header {
    flex-direction: column;
  }

  .aff-detail-title {
    width: 100%;
    margin-top: 15px;
  }

  .employee-conduct-section-wrapper .section-text p {
    width: 100%;
  }

  .search-page .search-page-form .search-submit-btn {
    width: unset;
    margin-top: 10px;
  }
  .search-modal-content {
    padding: 50px 20px;
  }
  .hero__video-overlay {
    background-color: unset;
  }
  

}


@media only screen and (max-width: 767px) {

  .affiliates-detail-page .affiliates-detail-wrapper {
    padding-top: 80px;
  }

  .affiliates-detail-page .aff-detail-logo {
    width: 100%;
    max-width: 250px;
  }

  .affiliates-detail-page .aff-detail-metric {
    align-items: flex-start;
    flex-direction: column;
  }

  .affiliates-detail-page .aff-detail-metric-label {
    min-width: 0;
  }

  .affiliates-detail-page .aff-detail__contact {
    padding: 28px 24px;
  }

  .section-heading {
    font-size: 24px;
  }

  .sub-heading {
    font-size: 24px;
    line-height: 33px;
  }

  /* .hero-bg-wrapper {
    height: 300px;
  } */

  .page-hero-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    /* transform: translateY(-0%); */
    left: 0;
  }

  .page-hero-content h1 {
    line-height: 50px;
    color: #fff;
  }

  .about-us-page .page-hero-text,
  .local-office-page .page-hero-text,
  .affiliates-page .page-hero-text, .compliance-page .page-hero-text {
    color: #fff;
  }

  .hero-bg-wrapper {
    height: 500px;
  }

  /* .people-culture-page .hero-bg-wrapper, .local-office-page .hero-bg-wrapper {
    height: 500px;
  } */

  .people-culture-page .page-hero-text {
    font-size: 16px;
    color: #fff;
  }

  .tab-section-wrapper {
    margin-bottom: 40px;
  }

  .resources-card {
    padding: 15px;
  }

  .local-office-resources {
    background-position: left;
  }

  .local-office-clients .clients-content {
    margin-top: 30px;
  }

  /* .local-office-resources .section-main-contetn-ovelay-wrapper {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px 35px;
  }

  .local-office-resources .section-desc,
  .local-office-resources .section-heading h2 {
    color: #000;
  } */

  .bg-brand-green {
    width: 106px;
  }

  .proven-track-card {
    padding: 16px;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  }

  .clients-buttons {
    flex-direction: column;
  }

  .client-btn {
    justify-content: center;
  }

  .local-office-culture .section-heading {
    margin-top: 30px;
  }

  .proven-track-counts {
    grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
    padding: 14px 15px 17px 15px;
  }

  .proven-track-number {
    font-size: 30px;
  }

  .page-about-intro-section-wrapper .section-heading {
    text-align: left;
  }


  .number-section-card {
    padding: 40px 0;
  }

  .number-section-info {
    padding-bottom: 20px;
  }

  .number-stat-value {
    font-size: 30px;
    line-height: 37px;
  }

  .number-section-links {
    display: block;
  }

  .number-section-link {
    margin-bottom: 16px;
  }

  .expertise-text-wrapper {
    margin-left: 0px;
    padding-top: 26px;
  }

  .about-us-page .our-grid-svg svg {
    width: 350px;
    margin: 0 auto;
    display: block;
  }

  .our-value-text p {
    width: 100%;
    padding-bottom: 20px;
  }

  .diversity-inclusion-section-content p {
    width: 100%;
  }

  .our-impact-section-wrapper .section-text p {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    transform: translateY(-0%);
    font-weight: 700;
  }

  .our-impact-section-wrapper {
    height: 100%;
  }

  .main-news-wrapper-content {
    margin-left: unset;
  }

  .news-content-tag {
    margin-top: 20px;
  }

  .icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
  }



  .hr-news-section-wrapper .news-card-category {
    margin-top: 10px;
    margin-bottom: unset;
  }

  .hr-news-section-wrapper .news-card .news-card-text {
    margin-top: 0;
  }


  /* .aff-detail-metric {
    flex-direction: column;
    align-items: flex-start;
  } */

  .office__card-body {
    margin-left: unset;
    margin-top: 30px;
  }

  .office__grid {
    row-gap: 45px;
  }

  .office-contact {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: unset;
    padding-bottom: unset;
  }

  .office-contact-form {
    padding: 20px 20px;
  }

  .office-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .company-card-side {
    display: block;
    align-items: center;
  }

  .company-card-side h3 {
    margin-left: unset;
    margin-top: 20px;
  }

}
