@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayLight.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 100;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayXXThin.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 200;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayXThin.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 300;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayThin.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 500;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayRoman.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayMediu.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 700;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayBold.woff') format('woff');
}
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-style: normal;
  font-weight: 900;
  src: local('Neue Haas Grotesk Display Pro'), url('https://fonts.cdnfonts.com/s/47998/NeueHaasDisplayBlack.woff') format('woff');
}

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

:root {
  --color-text: #434343;
  --color-muted: #6c757d;
  --color-navy: #243d5c;
  --color-footer-bg: #f5f5f5;
  --font-base: "Neue Haas Grotesk Display Pro";
}

body {
  margin: 0;
  font-weight: 500;
  font-family: var(--font-base);
  color: var(--color-text);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
  background: url("/success-stories/assets/hero-banner.png") center / cover no-repeat;
  min-height: 397px;
  display: flex;
  align-items: center;
  padding: 40px max(80px, calc((100% - 1280px) / 2));
}

.hero__content {
  width: 577px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}

.hero__title {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.384px;
}

.hero__text {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.128px;
}

/* ---------- Breadcrumbs & filters ---------- */
.filters {
  padding: 30px max(80px, calc((100% - 1280px) / 2));
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  letter-spacing: 0.8px;
}

.breadcrumbs__link {
  font-weight: 600;
  color: var(--color-text);
}

.breadcrumbs__current {
  margin-left: 7px;
  font-weight: 400;
  color: #252525;
}

.filters__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.filters__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.select {
  width: 163px;
}

.select select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 40px 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.7px;
  color: var(--color-text);
  background: #fdfdfd url("/success-stories/assets/caret-down.svg") no-repeat right 12px center / 16px 16px;
  border: 1px solid #878787;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  cursor: pointer;
}

.filters__reset {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  color: #252525;
  cursor: pointer;
}

.search {
  position: relative;
  width: 215px;
  margin: 0;
}

.search input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 38px 10px 17px;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.7px;
  color: var(--color-text);
  background: #fdfdfd;
  border: 1px solid #878787;
  border-radius: 200px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.search input::placeholder {
  color: var(--color-text);
  opacity: 1;
}

.search img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---------- Story cards ---------- */
.stories {
  padding: 0 80px 27px;
  background: #fff;
}

.stories__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px 30px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0.25px solid rgba(67, 67, 67, 0.65);
  padding-bottom: 24px;
}

.card__media {
  position: relative;
  aspect-ratio: 407 / 237;
  overflow: hidden;
  background: #04163b;
}

.card__bg {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  width: 107.62%;
  height: 100%;
  object-fit: cover;
}

.card__bg--tall {
  width: 111.92%;
  height: 133.84%;
  top: -2.45%;
}

.card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.card__glow {
  position: absolute;
  left: 77.1%;
  top: 63.3%;
  width: 22.9%;
  height: 36.7%;
  overflow: visible;
  transform: scale(2);
  transform-origin: center;
}

.card__logo {
  position: absolute;
}

.card__logo--mask {
  display: block;
  background: #fff;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.card__crop {
  position: absolute;
  display: block;
  overflow: hidden;
}

.card__crop img {
  position: absolute;
  max-width: none;
}

.card__headline {
  position: absolute;
  left: 5.2%;
  top: 15.6%;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.8px;
  color: #fff;
}

.card__headline span {
  color: #02b6d9;
}

/* dark variant (second row) */
.card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 22, 59, 0.7), rgba(4, 22, 59, 0.92));
}

.card__brands {
  position: absolute;
  top: 27.4%;
  left: 25.3%;
  display: flex;
  align-items: center;
  gap: 0;
}

.card__brand-main {
  width: 114px;
  height: auto;
}

.card__brand-divider {
  width: 1px;
  height: 30px;
  margin: 0 14px 0 9px;
}

.card__brand-partner {
  position: relative;
  flex: none;
  object-fit: contain;
}

.card__headline--center {
  left: 50%;
  top: 50.2%;
  transform: translateX(-50%);
  text-align: center;
}

.card__media--dark .card__headline span {
  color: #00fbc8;
}

.card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 18px 23.5px 0;
}

.card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 5px 10px 1px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 6px;
  background: #02b6d9;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.128px;
  white-space: nowrap;
  margin-bottom: 16px;
}

.card__title {
  max-width: 343px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.72px;
  color: var(--color-text);
}

.card__text {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.64px;
  color: var(--color-text);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.128px;
  color: var(--color-text);
}

.card:nth-child(3n + 2) .card__body {
  padding-top: 16px;
}

.card:nth-child(3n) .card__body {
  padding-top: 19px;
}

.card:nth-child(-n + 2) .card__text {
  margin-bottom: 25px;
}

@media (min-width: 1200px) {
  .card {
    min-height: 476px;
  }
}

.card__link:hover {
  text-decoration: underline;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  max-width: 1280px;
  min-height: 88px;
  margin: 0 auto;
  background: #fff;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  padding: 10px;
  border-radius: 200px;
  font-size: 20px;
  letter-spacing: 0.16px;
  line-height: normal;
  color: #252525;
}

.pagination__item.is-active {
  width: 45px;
  background: #878787;
  color: #fff;
}

.pagination__next,
.pagination__prev {
  display: flex;
}

.pagination__prev img {
  transform: scaleX(-1);
}

@media (max-width: 991px) {
  .pagination {
    flex-wrap: wrap;
    gap: 8px;
    min-height: 72px;
    padding: 16px 24px;
  }

  .pagination__item {
    font-size: 18px;
  }
}

@media (max-width: 575px) {
  .pagination {
    gap: 4px;
    min-height: 64px;
    padding: 12px 16px;
  }

  .pagination__item {
    width: 32px;
    min-height: 32px;
    padding: 6px;
    font-size: 16px;
  }

  .pagination__item.is-active {
    width: 36px;
  }

  .pagination__next img,
  .pagination__prev img {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.header-inner {
  min-height: 95px;
  padding-top: 8px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
    width: 205px;
    height: 78px;
    max-width: none;
    object-fit: contain;
    margin-left: 0px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  min-width: 141px;
  padding: 13px 32px;
  border-radius: 200px;
  font-size: 16px;
  letter-spacing: 0.128px;
  white-space: nowrap;
}

.btn-navy {
  background: var(--color-navy);
  color: #fff;
}

.btn-navy:hover {
  opacity: 0.9;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 54px;
}

.header-list {
  display: flex;
  align-items: center;
  gap: 54px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-list a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.128px;
  color: var(--color-text);
  white-space: nowrap;
}

.header-list a:hover {
  color: var(--color-navy);
}

.header-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.header-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.header-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Footer ---------- */
.custom-footer {
  background: var(--color-footer-bg);
  padding: 53px 0 21px;
}

.custom-footer .container {
  max-width: 1440px;
}

.custom-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.4fr;
  gap: 40px;
  min-height: 257px;
}

.custom-footer h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.128px;
  color: var(--color-text);
}

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

.custom-footer-links--split {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-footer-col:nth-child(2) .custom-footer-links--split,
.custom-footer-col:nth-child(2) .custom-footer-links ul {
  gap: 14px;
}

.custom-footer a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.128px;
  color: var(--color-muted);
}

.custom-footer a:hover {
  color: var(--color-text);
}

.custom-footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px !important;
}

.custom-footer-social a {
  display: block;
  color: var(--color-text);
}

.custom-footer-social svg {
  display: block;
  width: 23px;
  height: 23px;
}

.custom-footer-contact {
  display: flex;
  flex-direction: column;
}

.custom-footer-contact-label {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.33;
  letter-spacing: 0.128px;
  color: var(--color-text);
}

.custom-footer-contact-label:first-child {
  margin-top: 0;
}

.custom-footer-contact-label strong {
  font-weight: 600;
}

.custom-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 45px;
  padding-top: 17px;
  border-top: 1px solid rgba(135, 135, 135, 0.35);
}

.custom-footer-logo img {
  width: 218px;
  height: auto;
}

.custom-footer-copy {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: 0.128px;
  color: var(--color-muted);
}

.custom-footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-footer-legal a {
  text-decoration: underline;
  text-underline-position: from-font;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {

  .hero {
    padding: 80px 40px;
  }

  .filters {
    padding: 30px 40px;
  }

  .stories {
    padding: 0 40px 27px;
  }

  .stories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 991px) {

}

@media (max-width: 575px) {

  .hero {
    min-height: 300px;
    padding: 56px 16px;
  }

  .hero__title {
    font-size: 32px;
  }

  .filters {
    padding: 24px 16px;
  }

  .stories {
    padding: 0 16px 24px;
  }

  .stories__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card__headline {
    font-size: 17px;
  }

  .card__brand-main {
    width: 90px;
  }

  .filters__row {
    flex-direction: column;
    align-items: stretch;
  }

  .filters__left {
    justify-content: space-between;
  }

  .select {
    flex: 1;
    width: auto;
  }

  .search {
    width: 100%;
  }

}

@media (max-width: 1199px) {
  .header-nav,
  .header-list {
    gap: 32px;
  }

  .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .custom-footer-bar {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .custom-footer-copy {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 991px) {
  .header-inner {
    min-height: 76px;
  }

  .logo img {
    width: 150px;
  }
}

/* Mobile: hamburger menu with Brands accordion (tablet keeps the desktop header) */
@media (max-width: 767px) {
  .header-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px 40px;
    background: #fff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

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

  .header-list > li {
    width: 100%;
    border-bottom: 1px solid #e1e5e9;
  }

  .header-list > li {
    margin: 0;
    padding: 0;
  }

  .header-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 !important;
    margin: 0;
    font-size: 18px;
  }

  /* Brands accordion */
  .has-dropdown > a::after {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("/success-stories/assets/caret-down.svg") no-repeat center / 16px 16px;
    transition: transform 0.25s;
  }

  .has-dropdown.is-expanded > a::after {
    transform: rotate(180deg);
  }

  .header-list .solutions-dropdown {
    display: none;
    position: static;
    inset: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    margin: 0 !important;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    backdrop-filter: none;
    z-index: auto;
  }

  .has-dropdown.is-expanded > .solutions-dropdown {
    display: block;
  }

  .header-list .products_menu .view-content .views-row {
    width: 100% !important;
  }

  .header-list .solutions-dropdown .view,
  .header-list .solutions-dropdown .view-content,
  .header-list .solutions-dropdown .views-row {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-list .solutions-dropdown a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    white-space: normal;
    font-size: inherit;
    letter-spacing: normal;
  }

  .header-list .solutions-dropdown p {
    margin: 0;
  }

  .header-list .solution-card {
    padding: 10px 12px !important;
    margin: 0 -12px;
    border-radius: 8px;
    background: transparent;
    transform: none;
  }

  .header-list .solution-card:hover,
  .header-list .solution-card:active {
    background-color: #f1f4f9;
    transform: none;
  }

  .header-list .solution-icon {
    display: none !important;
  }

  .header-list .ms-3 {
    margin-left: 0 !important;
  }

  .header-list .solution-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-navy);
  }

  .header-list .solution-description {
    font-size: 14px;
    font-weight: 400;
  }
}

@media (max-width: 991px) {
  .custom-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    min-height: 0;
  }

  .custom-footer-col--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo img {
    width: 130px;
    margin-left: 0px;
  }

  .header-nav {
    padding: 24px 16px;
  }

  .custom-footer {
    padding-top: 40px;
  }

  .custom-footer-grid {
    grid-template-columns: 1fr;
  }

  .custom-footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .custom-footer-copy {
    text-align: left;
  }

  .custom-footer-legal {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

.custom-footer-col--contact h3 {
  margin-bottom: 8px;
}

.card[hidden] {
  display: none;
}

.stories {
  scroll-margin-top: 110px;
}

.pagination[hidden] {
  display: none;
}

.card__headline {
  width: 51.8%;
}

.card__headline--center {
  width: max-content;
  max-width: 92%;
}

.card__media--dark .card__headline span {
  display: block;
}

/* Nav dropdown (Solutions / Products) styles — extracted from nav.css for nav.html */

/* Bootstrap utility used in nav.html */
.ms-3 {
  margin-left: 1rem !important;
}

.external-dropdowns a:hover,
.external-dropdowns a:focus {
  color: #243d5c;
}

.external-dropdowns a:focus {
  outline: none !important;
  box-shadow: none !important;
}

.external-dropdowns p {
  margin: 0;
}

.external-dropdowns .views-row a {
  display: block;
  width: 100%;
}

/* Dropdown container */
.solutions-dropdown {
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: none;
  padding: 40px;
  opacity: 1;
  z-index: 1000;
  border: 1px solid #e1e5e9;
  background-color: rgba(211, 228, 246, 0.75);
  backdrop-filter: blur(8px);
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.external-dropdowns .solutions-dropdown {
  position: fixed;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
  left: 0;
  top: 80px;
  backdrop-filter: blur(8px);
}

.external-dropdowns .solutions-dropdown.active {
  display: block;
}

.solutions-dropdown.animate-in {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Products grid */
.products_menu .view-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.products_menu .view-content .views-row {
  width: 33.3%;
  display: flex;
  align-items: center;
}

.products_menu .view-content .views-row a {
  text-decoration: none !important;
}

/* Card */
.solution-card {
  text-align: center;
  padding: 25px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.05) 0%,
    rgba(155, 89, 182, 0.05) 100%
  );
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.solution-card:hover {
  background-color: #f8f9fa;
  transform: translateY(-3px);
}

.solution-card:hover::before {
  opacity: 1;
}

/* Icon */
.solution-icon {
  transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
  transform: scale(1.05);
}

.solution-icon img {
  object-fit: cover;
  width: 85px;
}

.products_menu .solution-icon {
  background-color: #f8f9fa;
  padding: 10px 15px;
  border-radius: 5px;
  min-width: 120px;
  width: 120px;
  height: 75px;
  display: flex;
  align-items: center;
}

/* Title */
.solution-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

.solution-title a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: color 0.3s ease;
  padding: 0 !important;
}

.solution-title a:hover {
  color: #3498db;
}

.solution-title a::after {
  display: none;
  padding: 0;
}

/* Description */
.solution-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  .products_menu .view-content .views-row {
    width: 50%;
  }
}

/* Mobile */
@media only screen and (min-width: 200px) and (max-width: 767px) {
  .external-dropdowns .solutions-dropdown.products_menu,
  .external-dropdowns .solutions-dropdown {
    height: 100% !important;
  }

  .products_menu .view-content .views-row {
    width: 100% !important;
  }

  .solutions-dropdown {
    padding: 30px 20px !important;
    border: 0 !important;
  }

  .solution-card {
    padding: 10px 0 !important;
  }

  .solution-icon {
    display: none !important;
  }

  .solutions-dropdown.products_menu.active {
    z-index: 99999;
    top: 120px;
    overflow: auto;
    padding: 10px 10px 10px 0 !important;
    height: calc(100vh - 150px) !important;
  }
}

/* ---------- Brands dropdown (hover) ---------- */
.site-header .external-dropdowns .solutions-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  max-height: calc(100vh - 95px);
}

.site-header .external-dropdowns .solutions-dropdown.active {
  display: block;
}

@media (max-width: 767px) {
  .site-header .external-dropdowns {
    display: none;
  }
}

/* Details page: keep the layout hidden until the story data is rendered */
.story-detail.is-loading .story-detail__layout {
  visibility: hidden;
}

.stories__empty {
  text-align: center;
  padding: 48px 16px;
  font-size: 18px;
}
