:root {
  --white: #ffffff;
  --off-white: #f7f7f7;
  --light-blue: #eaf3f8;
  --blue-grey: #d9e4ea;
  --celeste: #9cd2f0;
  --grey: #647384;
  --blue: #004694;
  --dark-blue: #003977;
  --yellow: #ffea51;
  --black: #000000;
  --red: #de1919;
  --light-grey: #f1f1f1;
  --font-populaire: "Populaire", sans-serif;
  --font-redhat: "Red Hat Text", sans-serif;
  --super-title-d: 8.125rem;
  --h1-title-d: 4.375rem;
  --h2-title-d: 3.125rem;
  --h3-title-d: 2.1875rem;
  --h5-intro-d: 2rem;
  --body-xl-d: 1.375rem;
  --body-intro-d: 1.25rem;
  --body-standard-d: 1.125rem;
  --meta-small-d: 1rem;
  --super-title-m: 3.75rem;
  --h1-title-m: 3.125rem;
  --h2-title-m: 2.5rem;
  --h3-title-m: 2.0625rem;
  --h5-intro-m: 1.5625rem;
  --body-xl-m: 1.25rem;
  --body-intro-m: 1.125rem;
  --body-standard-m: 1.125rem;
  --meta-small-m: 1rem;
  --spacing-xxs-d: 0.625rem;
  --spacing-xs-d: 1.875rem;
  --spacing-sm-d: 3.75rem;
  --spacing-md-d: 7.5rem;
  --spacing-lg-d: 15rem;
  --spacing-xxs-m: 0.625rem;
  --spacing-xs-m: 1.875rem;
  --spacing-sm-m: 2.5rem;
  --spacing-md-m: 3.75rem;
  --spacing-lg-m: 7.5rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

.container_header {
  display: flex;
  justify-content: center;
}

.header__container {
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
  padding: 3.75rem 3.75rem 0 3.75rem;
}
.header-center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.arrow-right-icon {
  size: 0.75rem;
}

.site-branding {
  flex: 0 0 auto;
  margin: 0 1.25rem;
}

.menu--left {
  display: flex;
  justify-content: flex-end;
}

.menu--right {
  display: flex;
  justify-content: flex-start;
}

.menu:nth-of-type(2) {
  order: 3;
}

.menu__list,
.menu__list-2 {
  display: flex;
  gap: var(--spacing-xs-d);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  font-family: var(--font-redhat);
  letter-spacing: 0;
  color: var(--white);
  text-align: left;
  opacity: 1;
}

.menu__list > li {
  position: relative;
  margin: 0 0 0 1.25rem;
  padding: 0.3125rem;
  display: flex;
  align-items: center;
}

.menu__link {
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  font-size: 1.25rem;
  transition: color var(--transition-normal);
  color: var(--white);
}
.grid-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.menu__link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 0.5125rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'><path d='M0,5 C10,0 30,10 40,5' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: repeat;
  z-index: 2;
}

.dropdown-menu {
  margin-top: 25px;
  white-space: nowrap;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background-color: var(--white);
  box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.1);
  border-radius: 1.89rem;
  padding: 1.875rem 2.25rem;

  box-sizing: border-box;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.625rem);
  transition: all var(--transition-normal);
  z-index: 1000;
  pointer-events: none;
  animation: none;
}
.dropdown-menu.dropdown-wide {
  width: 55rem;
  padding: 2.5rem 3.8rem;
}

.dropdown-grid-single .grid-item img {
  display: none !important;
}
.dropdown-menu li {
  margin: 0 0 0.625rem 0;
}
.menu-item-content a {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
}
.dropdown-menu li:last-child {
  margin: 0;
}

.dropdown-item {
  color: var(--black);
}

.dropdown-item:hover {
  text-decoration: underline;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  margin-bottom: 0.9375rem;
  padding-bottom: 1.5625rem;
  border-bottom: 0.0625rem solid var(--blue-grey);
  font-weight: 600;
  color: var(--blue);
}

.dropdown-header {
  color: var(--blue) !important;
  font-size: 1.125rem;
}
.dropdown-header img {
  width: 1.1875rem;
  height: 0.8125rem;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.25rem;
}

.dropdown-grid-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9375rem;
}

.dropdown-grid-single .grid-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 0.0625rem solid var(--blue-grey);
}

.dropdown-grid-single .grid-item:last-child {
  border-bottom: none;
}

.dropdown-grid .grid-item a,
.dropdown-grid-single .grid-item a {
  font-size: 1.125rem;
  display: block;
  padding: 0.625rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  border-radius: 0.25rem;
  color: var(--grey) !important;
}

.dropdown-grid .grid-item a:hover,
.dropdown-grid-single .grid-item a:hover {
  cursor: pointer;
}

.menu__list > li:hover .dropdown-menu,
.menu__list > li.show .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0);
}
@media (min-width: 1025px) and (max-width: 1450px) {
  .header-center-container {
    gap: 0.325rem;
  }
  .custom-logo-link img {
    max-width: 8.5rem;
    height: auto;
  }
  .menu__list,
  .menu__list-2 {
    gap: 0.1625rem;
  }
}

@media (min-width: 1451px) and (max-width: 1600px) {
  .header-center-container,
  .sub-menus-center {
    gap: 0;
  }
  .custom-logo-link img {
    max-width: 9.5rem;
    height: auto;
  }
  .menu__list,
  .menu__list-2 {
    gap: 0.325;
  }
}

@media (max-width: 79.938rem) {
  .dropdown-grid,
  .dropdown-grid-single {
    grid-template-columns: 1fr !important;
  }

  .menu__list > li:nth-child(n + 4) .dropdown-menu {
    min-width: auto !important;
    left: 0 !important;
    right: auto !important;
  }

  .dropdown-menu {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: all !important;
    width: 100%;
    min-width: auto !important;
    padding: 1rem 0 1rem 0 !important;
    margin-top: 0.625rem;
    border-radius: 0.3125rem !important;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu._active {
    display: block;
  }
}

body._touch .menu__list > li {
  display: flex;
  align-items: center;
}

body._touch .menu__link {
  flex: 1 1 auto;
}

body._touch .menu__arrow {
  display: block;
}

body._touch .menu__list > li._active .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body._touch .menu__list > li._active .menu__arrow::after {
  transform: rotate(-135deg);
}

.site-footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 1.25rem 0 0;
}

.footer-container,
.footer-main {
  min-height: 15.625rem;
  margin: 0 auto;
  padding: 1.625rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-xs-d);
}

.footer_logo_link {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.875rem;
  margin-bottom: 1.875rem;
}

.footer-logos-column,
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.footer-single-logo img {
  max-width: 100%;
  height: auto;
  max-height: 5rem;
}

.footer-logo img {
  height: 12.81rem;
}

.footer-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 1.875rem;
  justify-content: space-between;
  align-items: center;
  width: 70%;
}

.footer-menu-column {
  flex: 1;
  min-width: 9.375rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-menu li a {
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  transition: opacity var(--transition-fast);
  display: block;
  padding: 0.3125rem 0;
}

.footer-menu li a:hover {
  opacity: 0.8;
}
.third-level-item .menu-item-content a {
  padding: 0.325rem 0;
}
.multiple-logos,
.footer-partner-logos {
  display: flex;
  flex-wrap: wrap;
  max-width: 12.5rem;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9375rem;
  justify-content: space-between;
}
.footer-partner-logos a img {
  width: 3.438rem;
  height: auto;
}
.footer-social span {
  font-size: 1.125rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.375rem;
}

.footer-social-list,
.social-links ul {
  display: flex;
  gap: 0.9375rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-list img,
.social-links img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-logos-wrapper {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
}

.footer-logos-wrapper img {
  max-height: 2.5rem;
  width: auto;
}

.site-info,
.footer-copyright {
  background-color: var(--white);
  padding: 0.9375rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.9375rem;
}

.site-info span,
.footer-copyright span {
  color: var(--dark-blue);
  font-size: 0.875rem;
  line-height: 1.4;
}

.custom-logo-link img {
  position: relative;
  z-index: 20000;
}

@media (max-width: 61.9375rem) {
  .footer-logo img {
    height: 6.625rem;
  }
  .dropdown-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .dropdown-menu {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: all !important;
    width: 100%;
    min-width: auto !important;
    padding: 1rem 0 1rem 0 !important;
    margin-top: 0.625rem;
    border-radius: 0.3125rem !important;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .dropdown-menu._active {
    display: block;
  }

  .menu__list > li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: 0 !important;
    padding: 0.625rem 0 !important;
  }

  .menu__list > li:hover .dropdown-menu {
    display: none !important;
  }

  .header__container {
    padding: 0.9375rem 0;
    justify-content: center;
    gap: 0;
  }

  .menu--left,
  .menu--right {
    display: none;
  }

  .site-branding {
    order: 2;
    flex: 1;
    text-align: center;
  }
}
.mobile-logos {
  display: none;
}
.desktop-logos {
  display: flex;
}
@media (max-width: 47.9375rem) {
  .desktop-logos {
    display: none;
  }
  .mobile-logos {
    display: flex !important;
  }
  .sub-header {
    display: none;
  }

  .footer_logo_link {
    flex-direction: column;
    align-items: center;
  }

  .footer-menus {
    width: 100%;
  }

  .footer-column,
  .footer-menu-column {
    min-width: 100%;
    text-align: center;
  }

  .multiple-logos,
  .footer-partner-logos {
    max-width: 100%;
    align-items: center;
  }

  .footer-social {
    align-items: center;
    flex-direction: row;
    width: 100%;
  }

  .footer-logos-wrapper {
    justify-content: center;
  }

  .footer-single-logo {
    max-height: 3.75rem;
  }

  .site-info,
  .footer-copyright {
    flex-direction: column;
    text-align: start;
    gap: 0.625rem;
    padding: 0.9375rem;
  }
  .footer-copyright {
    display: flex;
    flex-direction: column;
    padding-left: 1.625rem;
    padding-right: 1.625rem;
    gap: 0.625rem;
  }

  .footer-copyright > *:nth-child(1) {
    color: var(--grey);
    flex: 2;
    order: 2;
  }

  .footer-copyright > *:nth-child(2) {
    flex: 1;
    order: 1;
  }
}

.breadcrumbs {
  z-index: 10000000000;
  font-size: 1rem;
  position: absolute;
  top: 11rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto;
  color: white;
}
.menu-item-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.menu-arrow-icon {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.3s ease;
}

.menu__list > li._active .menu-arrow-icon,
.menu__list > li.show .menu-arrow-icon {
  transform: rotate(180deg);
}
.sub-header .menu__link {
  color: var(--dark-blue);
}
@media (max-width: 64rem) {
  .menu-arrow-icon {
    width: 1.375rem;
  }
  .menu-item._active .menu-item-wrapper > a.menu__link {
    color: var(--dark-blue) !important;
  }

  .mobile-menu__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
  }

  .mobile-menu__arrow .menu-arrow-icon {
    width: 0.625rem;
    height: 0.3125rem;
  }

  .mobile-menu__list > li._active .menu-arrow-icon {
    transform: rotate(180deg);
  }
}
.mobile-menu__list > li.dropdown {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.mobile-menu__list > li.dropdown > a {
  flex: 1;
  padding: 0.75rem 0;
}

.mobile-menu__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-menu__arrow::after {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.125rem solid var(--grey);
  border-bottom: 0.125rem solid var(--grey);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.mobile-menu__list > li._active .mobile-menu__arrow::after {
  transform: rotate(-135deg);
}

.mobile-menu__list .dropdown-menu {
  box-shadow: none;
  display: none;
  width: 100%;
  padding-left: 0.9375rem;
  list-style: none;
  animation: fadeIn 0.3s ease;
}

.mobile-menu__list > li._active > .dropdown-menu {
  display: block;
}

.mobile-menu__list .dropdown-menu a {
  display: flex;
  align-items: center;
  color: var(--grey);
  text-decoration: none;
  font-size: 1.125rem;
}
.dropdown-header-link {
  color: var(--dark-blue) !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.625rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu__list > li:hover .dropdown-menu,
.menu__list > li.show .dropdown-menu,
.menu__list > li._active .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  animation: fadeIn 0.3s ease;
}

.menu__list > li:nth-child(n + 4) .dropdown-menu {
  min-width: 20rem;
  right: 0;
  left: auto;
}

.menu__list > li._active .menu-arrow-icon,
.menu__list > li.show .menu-arrow-icon {
  transform: rotate(180deg);
}
.sub-menu__list > li._active .menu-arrow-icon,
.sub-menu__list > li.show .menu-arrow-icon {
  transform: rotate(180deg);
}
.dropdown-header-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #003977;
}
.menu-item-wrapper:hover .menu__arrow {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.sub-header .menu__arrow {
  color: #003366; /* dark blue */
}
.yellow-splash-full {
  width: 100%;
}
.yellow-splash-full img {
  width: 100%;
}
.grid-recipe-header-title {
  position: relative;
}
.grid-recipe-header-number {
  position: absolute;
  top: -32px;
  right: -40px;
  background-color: white;
  padding: 14px 14px;
  border-radius: 46px;
  box-shadow: 0px 0px 15px #00000014;
  color: var(--grey);
  font-size: 1.25rem;
}
.partner-logos-section {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 60rem;
}

.partner-logos-section h5 {
  padding: 10px 25px;
  color: black;
  font-size: 1rem;
}
.recipe-header-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.button {
  font-size: 1.125rem;
  color: white;
  background-color: var(--dark-blue);
  border-radius: 2.125rem;
  padding: 20px 36px;
  text-transform: unset;
}
.button:hover {
  background-color: #004694;
  transition: background-color var(--transition-normal);
}
.test-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}
.products-section {
  display: flex;
  gap: 7.2rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3rem 1.5rem;
}
.products-section h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  text-align: center;
  padding: 0 1.5rem;
}
.single-product-button {
  position: relative;
  width: 11.813rem;
  height: 4.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.single-product-button-bg {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  object-fit: cover;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.single-product-button h5 {
  left: 0;
  position: absolute;
  z-index: 20;
  margin-right: 20px;
  color: inherit;
  transition: color 0.3s ease-in-out;
}
.single-product-button .h5 {
  left: 0;
  position: absolute;
  z-index: 20;
  margin-right: 20px;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.single-product-button span {
  font-size: 1.25rem;
  line-height: 1.438rem;
  left: 0;
  position: absolute;
  z-index: 20;
  margin-right: 20px;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.single-product-button-arrow {
  position: absolute;
  z-index: 15;
  height: 3.5rem;
  right: 0;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.single-product-card:hover .single-product-button-bg {
  transform: translateX(0);
}
.single-product-card:hover .single-product-button h5 {
  left: 15px;
}
.single-product-card:hover .single-product-button h5 {
  color: white;
}

.single-product-card:hover .single-product-button .h5 {
  left: 15px;
}
.single-product-card:hover .single-product-button .h5 {
  color: white;
}

.single-product-card:hover .single-product-button span {
  left: 15px;
}
.single-product-card:hover .single-product-button span {
  color: white;
}

.single-product-card h2 {
  z-index: 20;
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  text-align: center;
  margin-top: 1.5rem;
}
.single-product-card {
  max-width: 26rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.single-product-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.single-product-imgs {
  position: relative;
  max-width: 26rem;
  display: flex;
  justify-content: center;
}

.single-product-bg {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  width: 26rem;
  width: 100%;
  height: 100%;

  z-index: 10;
  pointer-events: none; /* prevents interaction when hidden */
  backface-visibility: hidden;
  perspective: 1000px;
}

.single-product-img {
  position: relative;
  z-index: 20;
  max-width: 26rem;
  height: 100%;
}

.grid-recipe-section .recipe-card {
  width: 100%;
  max-width: 26rem;
  height: 100%;
  font-weight: 500;
}
.grid-recipe-section .recipe-info {
  justify-content: center;
  height: auto;
  padding: 30px 20px 35px;
  gap: 5px;
}
.yellow-splash-reversed {
  transform: rotate(180deg);
  width: 100%;
  overflow: hidden;
}
.yellow-splash-reversed img {
  width: 100%;
}
.grid-recipe-section .divider-line {
  border-bottom: 0.125rem solid var(--grey);
}
.grid-recipe-header {
  max-width: 120rem;
  margin: auto;
  gap: 1.25rem;
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 10rem 3.75rem 10rem;
  flex-wrap: wrap;
}
.grid-recipe-header button {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-content: center;
  color: var(--blue);
  padding: 1.25rem 2.25rem;
  background-color: white;
  border-radius: 2.125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.grid-recipe-header h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  margin: 0;
  position: relative;
  z-index: 20;
}

.yellow-splash img {
  width: 100%;
}
.yellow-splash {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.grid-recipe-section {
  background-color: #ffea4d;
  position: relative;
  overflow: hidden;
  padding: 0 0 2rem;
}
.grid-recipe-cards {
  padding: 5.625rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 125rem;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Special treatment for 6th card on desktop */
@media (min-width: 1841px) {
  .grid-recipe-cards {
    grid-template-columns: repeat(auto-fill, 26rem);
  }

}

@media (max-width: 1840px) {
  .grid-recipe-cards {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  }
}

@media (min-width: 1480px) {
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6),
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) {
    grid-column: span 2;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-card,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-card {
    max-width: none;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-thumbnail,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-thumbnail {
    height: 100%;
    border-radius: 1.875rem;
    overflow: hidden;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-info,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-info {
    position: absolute;
    bottom: 20px;
    left: 30px;
    max-width: 26rem;
    max-height: 6.875rem;
    width: calc(100% - 20px);
    background: rgb(255, 255, 255);
    border-radius: 1rem;
    padding: 15px;
    box-sizing: border-box;
    z-index: 3;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-baking-info,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-baking-info {
    bottom: 8.438rem;
    left: 2rem;
  }
}
@media (min-width: 1480px) {
  .grid-recipe-cards .recipe-wrapper.wide-card {
    grid-column: span 2;
  }

  .grid-recipe-cards .recipe-wrapper.wide-card .recipe-card {
    max-width: none;
    width: 100%;
    height: 100%;
    position: relative;
  }

  .grid-recipe-cards .recipe-wrapper.wide-card .recipe-thumbnail {
    height: 100%;
    border-radius: 1.875rem;
    overflow: hidden;
  }

  .grid-recipe-cards .recipe-wrapper.wide-card .recipe-info {
    position: absolute;
    bottom: 20px;
    left: 30px;
    max-width: 26rem;
    max-height: 6.875rem;
    width: calc(100% - 20px);
    background: rgb(255, 255, 255);
    border-radius: 1rem;
    padding: 15px;
    box-sizing: border-box;
    z-index: 3;
  }

  .grid-recipe-cards .recipe-wrapper.wide-card .recipe-baking-info {
    bottom: 8.438rem;
    left: 2rem;
  }
}

@media (max-width: 1024px) {
  .dropdown-header {
    margin-bottom: 0;
    padding: 1rem 0;
  }
  .grid-recipe-cards {
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    padding: 5.625rem 3.75rem;
  }

  .grid-recipe-section .recipe-card {
    height: auto;
  }

  .grid-recipe-section .recipe-info {
    height: auto;
  }

  /* Reset special treatment for 6th card on tablet */
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6),
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) {
    grid-column: span 1;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-card,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-card {
    height: auto;
  }

  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 6) .recipe-info,
  .grid-recipe-cards .recipe-wrapper:nth-child(14n + 12) .recipe-info {
    position: static;
    background: transparent;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .grid-recipe-header-number {
    right: -20px;
  }
  .partner-section-imgs {
    display: flex;
    flex-direction: column;
  }
  .partner-logos-section h5 {
    text-align: center;
    max-width: 22rem;
  }
  .grid-recipe-cards {
    grid-template-columns: 1fr;
    padding: 5.625rem 1.875rem;
  }

  .grid-recipe-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 6rem 1.5rem 3rem;
  }

  .recipe-header-buttons {
    justify-content: center;
  }

  .menu-discovery-section {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .menu-discovery-info {
    gap: 1.5rem;
    align-items: center;
  }

  .menu-discovery-info button {
    width: 100%;
    max-width: none;
  }

  .menu-discovery-img {
    width: 24rem;
  }
}

@media (max-width: 576px) {
  .grid-recipe-header button {
    width: 100%;
  }
  .products-section {
    gap: 3rem;
  }
  .products-section h1 {
    font-size: var(--h2-title-d);
  }
}

/* Carousel specific styles */
.recipe-carousel-list {
  display: flex;
  transition: transform var(--transition-normal);
  width: auto;
  margin: 0;
  padding: 1.5625rem;
  padding-bottom: 11.25rem;
  list-style: none;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 0 0.9375rem;
}

.recipe-carousel-container {
  overflow: hidden;
  max-width: 125rem;
  padding: 0 1.5rem;
  margin: 0 auto;
  width: 100%;
}

.recipe-list-wrapper {
  width: 100%;
  overflow: hidden;
}

@media (max-width: 576px) {
  .recipe-carousel-container {
    padding: 0;
  }

  .carousel-item {
    padding: 0 1.5rem;
    box-sizing: border-box;
  }

  .recipe-carousel-list {
    padding-bottom: 5rem;
  }

  .recipe-header {
    padding: 0 1.5rem;
  }
}

.menu-discovery-section {
  display: flex;
  justify-content: center;
  position: relative;
  gap: 2rem;
  align-items: center;
  margin: auto;
  padding-bottom: 3.5rem;
}
.menu-discovery-img {
  z-index: 10;
  position: relative;
}
.menu-discovery-info {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  padding: 0 20px;
  max-width: 34.375rem;
  z-index: 20;
}
.menu-discovery-info span {
  font-size: var(--body-xl-d);
  font-weight: 500;
  color: var(--grey);
}
.menu-discovery-info h3 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
}
.menu-discovery-info p {
  font-size: var(--body-intro-d);
}
.menu-discovery-info button {
  border-radius: 2.125rem;
  font-size: var(--body-intro-d);
  max-width: 18.5rem;
  height: 4rem;
  background-color: var(--dark-blue);
  color: white;
  border: none;
  cursor: pointer;
}

.shape-splash {
  position: absolute;
  bottom: -0.0625rem;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}

.shape-splash img {
  width: 100%;
  height: auto;
  display: block;
}

.search-box {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 100;
  color: var(--white);
  width: 100%;
  max-width: 35rem;
  padding: 0 var(--spacing-xxs-d);
}

.search-box h1 {
  font: normal normal normal 4.375rem/5.1875rem Populaire;
  margin-bottom: var(--spacing-xs-d);
}
.search-box h1 {
  font: normal normal normal 4.375rem / 5.1875rem Populaire;
  margin-bottom: var(--spacing-xs-d);
}

.search-form-container {
  position: relative;
  width: 100%;
  max-width: 35rem;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  height: 3.75rem;
}

.search-field {
  width: 100%;
  height: 100%;
  padding: 0.75rem 5.3125rem 0.75rem 1.5625rem;
  font-size: var(--body-standard-d);
  color: var(--dark-blue);
  border: none;
  border-radius: 1.875rem;
  outline: none;
  background: var(--white);
  box-sizing: border-box;
  box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
}

.search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 5rem;
  background: var(--blue);
  border: none;
  border-radius: 1.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--transition-normal);
}

.search-submit svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-form-container {
    max-width: 100%;
    padding: 0 var(--spacing-xxs-d);
  }

  .search-input-wrapper {
    height: 3.125rem;
  }

  .search-field {
    font-size: var(--body-intro-m);
    padding: 0.625rem 3.75rem 0.625rem 1.25rem;
  }

  .search-submit {
    width: 3.125rem;
  }

  .search-submit svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (max-width: 480px) {
  .search-input-wrapper {
    height: 2.8125rem;
  }

  .search-field {
    font-size: var(--meta-small-m);
    padding: 0.5rem 3.4375rem 0.5rem 0.9375rem;
  }

  .search-submit {
    width: 2.8125rem;
  }
}

/* Hero Section */
.recipe-hero {
  position: relative;
  top: 0;
}

.recipe-hero-bg {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.recipe-hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Layout and Spacing */
.filter-section {
  display: flex;
  gap: var(--spacing-xxs-d);
  padding: 1rem 4.6875rem 6rem;
  margin: 0 auto;
  box-sizing: border-box;
  justify-content: center;
}

.divider-line {
  border-bottom: 0.125rem solid var(--blue-grey);
  width: 85%;
  margin: 0 auto var(--spacing-xs-d) auto;
}

.filter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.recipe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3.125rem;
  box-sizing: border-box;
  max-width: 125rem;
  width: 100%;
  margin: 0 auto;
}

/* Typography */
.recipe-header h2 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
  color: var(--blue);
  margin: 0;
}

.filter-section h5 {
  margin-top: var(--spacing-xxs-d);
}

/* Navigation Buttons */
.carousel-nav {
  display: flex;
  gap: 0.625rem;
}

.carousel-nav button {
  border: none;
  margin: 0;
  padding: 0.3125rem 0.9375rem;
  background: none;
  cursor: pointer;
}

.carousel-nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: transparent;
}

/* Loading State */
#recipe-loading {
  padding: var(--spacing-xs-d);
  text-align: center;
}

@media (max-width: 767px) {
  .recipe-carousel-container {
    padding: 0;
  }

  .recipe-header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 0.625rem;
  }

  .filter-section {
    padding: var(--spacing-xxs-d) 0.625rem;
  }
}

.search-results {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 12.5rem;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.search-result-item {
  padding: 0.625rem;
  cursor: pointer;
  transition: background-color 0.3s;
  color: black;
}

.search-result-item:hover {
  background-color: #f0f0f0;
}
.dropdown-menu li.last-item .dropdown-header {
  border: none;
  padding-bottom: 0;
}

/* Prevent scrolling when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu scrollable content */
.mobile-menu-list.active {
  max-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mobile-menu-content {
  flex: 1;

  -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
  padding-bottom: 20px; /* Space at the bottom */
}

.mobile-menu-header,
.mobile-menu-footer {
  flex-shrink: 0; /* Prevent header/footer from shrinking */
}

.sub-header .header-language {
  position: relative;
}
.sub-header .header-language img {
  position: absolute;
}
.mobile-store-locator > .store-locator-bg {
  position: absolute;
  max-height: 3.125rem;
}
.sub-menus-center {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2.5rem;
}

.language-background {
  position: absolute;
}
.header-language {
  width: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding: 0.625rem;
}
.header-language .h6 {
  color: var(--grey);
  position: relative;
  font-size: 1rem;
}
.desktop-header-container {
  display: flex;
  justify-content: center;
}
.mobile-sub-menu {
  background-color: var(--light-grey);
  position: fixed !important;
  border-radius: 0 0 1.875rem 1.875rem;
  padding: 0.625rem 1.563rem !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;

  transition: all 0.3s ease;
}
.store-locator {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1.25rem;
  height: 3.4375rem;
  transition: all 0.3s ease;
  width: auto;
}

.store-icon {
  position: relative;
  z-index: 100;
}
.store-icon-bg {
  position: absolute;
  transition: all 0.3s ease;
}
.store-locator a {
  color: white;
  z-index: 100;
  font: normal normal normal 1rem/1.25rem "Davis Sans", sans-serif;
  letter-spacing: 0px;
  white-space: nowrap;
  display: block;
  margin-right: 0.625rem;
  margin-left: 0.625rem;
  transition: all 0.3s ease;
}

.sub-menu__list > li:hover .dropdown-menu,
.sub-menu__list > li.show .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, 0);
}
.sub-menu__list > li {
  position: relative;
  margin: 0 0 0 1.25rem;
  padding: 0.3125rem;
}
.sub-menu__list li a {
  color: var(--blue);
}
.sub-header.hovered {
  background-color: var(--light-grey);
  border-radius: 0 0 4.375rem 4.375rem;
}
.sub_menu_left .sub-menu__list,
.sub_menu_right .sub-menu__list {
  display: flex;
  gap: 1.875rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sub_menu_left .sub-menu__list {
  justify-content: flex-end;
}
.sub_menu_right .sub-menu__list {
  justify-content: flex-start;
}
.sub-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  pointer-events: none;
}
.sub-menu__list ul {
  display: flex;
  color: black;
}

.sub-header.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: flex;
  justify-content: space-evenly;
}
.sub-site-branding {
  background-color: var(--light-grey);
  box-sizing: border-box;
  padding: 0.625rem 1.25rem 1.5625rem;
  border-radius: 0 0 6.25rem 6.25rem;
  transition: all 0.3s ease;
}
.sub-site-branding > a > img {
  max-width: 8.5rem;
  height: auto;
}
.sub_menu_left,
.sub_menu_right {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(-0.625rem);
}
.sub-header.hovered .sub_menu_left,
.sub-header.hovered .sub_menu_right {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub_menu_left {
  justify-self: end;
  padding-right: 1.25rem;
}
.sub_menu_right {
  justify-self: start;
  padding-left: 1.25rem;
}
.sub-header .store-locator,
.sub-header .header-language {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sub-header.visible .store-locator,
.sub-header.visible .header-language {
  opacity: 1;
  visibility: visible;
}
.mobile-navbar {
  display: none;
}
@media (max-width: 80.625rem) {
  .mobile-store-locator {
    position: relative;
  }
  .mobile-store-icon {
    position: relative;
    width: 2.2rem;
    z-index: 10;
    margin-top: 0.32rem;
    margin-left: 0.615rem;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
    padding: 0.75rem 0;
  }
  .mobile-navbar-container {
    display: flex;
    justify-content: center;
  }
  .mobile-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 3.125rem 1.563rem 0;
    z-index: 10000;
    position: absolute;
  }
  .mobile-navbar .store-locator {
    width: auto;
    padding: 0 0 0 0.9375rem;
  }
  .mobile-navbar .store-locator a {
    display: block;
  }
  .hamburger-toggle {
    cursor: pointer;
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hamburger-bg {
    position: absolute;
    transform: rotate(170deg);
    width: 3.625rem;
    max-height: 3.125rem;
  }
  .hamburger-icon,
  .hamburger-close {
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
    cursor: pointer;
  }
  .custom-logo-link img {
    width: 9.375rem;
    height: auto;
  }
  .store-locator-bg,
  .hamburger-bg {
    width: 3.438rem;
    height: auto;
  }
  .mobile-sub-menu .custom-logo-link img {
    width: auto !important;
    height: 3.125rem !important;
  }
  .scrolled-down .custom-logo-link img {
    width: auto !important;
    height: 3.125rem !important;
  }
  .mobile-menu-list {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 99999;

    box-shadow: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.1);
    transform: scale(0) translateZ(0); /* force GPU accel */
    opacity: 0;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
      opacity 0.3s ease;
    -webkit-overflow-scrolling: touch;
    backface-visibility: hidden;
    contain: layout style paint;
    isolation: isolate;
  }

  .mobile-menu-list.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    padding: 4.5rem 2.625rem;
    position: fixed;
    top: 0;
    left: 0;

    transform: scale(1) translateZ(0);
    opacity: 1;
    border-radius: 1.75rem;
  }

  .mobile-menu-list.scale-up {
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }

  .mobile-menu-list.scale-down {
    animation: scaleDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  }

  @keyframes scaleUp {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes scaleDown {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    100% {
      transform: scale(0);
      opacity: 0;
    }
  }
  .mobile-menu-content.fade-in-items,
  .mobile-menu-content.fade-out-items {
    overflow: hidden;
  }
  .mobile-menu__list li.fade-in-item {
    animation: fadeInItem 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(0.625rem);
  }
  .mobile-menu__list li.fade-out-item {
    animation: fadeOutItem 0.3s ease-out forwards;
  }
  @keyframes fadeInItem {
    0% {
      opacity: 0;
      transform: translateY(0.625rem);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeOutItem {
    0% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 0;
      transform: translateY(0.625rem);
    }
  }
  .mobile-menu-content {
    width: 100%;
  }
  .mobile-menu-footer {
    justify-content: space-between !important;
  }
  .mobile-menu-header,
  .mobile-menu-footer {
    opacity: 0;
    transform: translateY(-1.25rem);
    transition: all 0.3s ease;
  }
  .mobile-menu-list.active .mobile-menu-header,
  .mobile-menu-list.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }
  .mobile-menu-list.scale-down .mobile-menu-header,
  .mobile-menu-list.scale-down .mobile-menu-footer {
    opacity: 0;
    transform: translateY(-1.25rem);
    transition-delay: 0s;
  }
  .mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-menu__list > li {
    padding: 1rem 0;
    border-bottom: 0.0625rem solid #f0f0f0;
  }
  .mobile-menu__list a {
    color: var(--grey);
    text-decoration: none;
    font-size: 1.375rem;
    display: block;
  }
  .store-locator {
    margin-left: 0.9375rem;
  }
}
/* Sub-header menu alignment fixes */
.sub-header .sub-menu__list {
  align-items: center;
  height: 100%;
}

.sub-header .sub-menu__list > li {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.625rem;
  margin: 0;
}

.sub-header .sub-menu__list a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0.5rem 0;
}

.sub-header .menu-item-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sub-header .menu__arrow {
  position: relative;
  top: 0;
  margin-left: 0.25rem;
}
.sub-header li .menu__link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 0.5125rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 10'><path d='M0,5 C10,0 30,10 40,5' fill='none' stroke='%23798B9F' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: repeat;
  z-index: 2;
}

.icon-wrapper {
  position: fixed;
  bottom: 1.688rem;
  right: 1.375rem;
  width: 5rem; /* or your desired size */
  height: 5rem;
  z-index: 20;
}

.icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-blue);
  border-radius: 50%; /* if you want a circle */
  z-index: 1;
}

.icon-img {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
#filter-modal {
  display: none;
}
#filter-form {
  padding: 2.5rem;
}
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background-color: white;
  width: auto;
  max-width: 64rem;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
}

.filter-modal-header {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background-color: var(--dark-blue);
}

.filter-modal-header h2 {
  color: white;
  font-size: 1.375rem;
}

.filter-modal-header span {
  width: 23px;
  height: 23px;
  font-size: 36px;
}

.close-modal {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: white;
}

/* Columns Layout */
.filter-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}

.filter-col:first-child {
  padding-right: 20px;
  border-right: 2px solid var(--light-grey);
}

.filter-col:last-child {
  padding-left: 20px;
}

/* Groups */
.filter-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  flex-direction: row;
}

.filter-group h4 {
  color: var(--dark-blue);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.filter-group .filter-checkbox {
  width: auto !important;
}

.filter-col-2 .filter-group {
  flex-direction: row;
}

/* Filter Checkbox */
.filter-checkbox {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 2rem;
  background-color: #eaf3f8;
  color: var(--grey);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}

.filter-checkbox input {
  display: none;
}

.filter-checkbox .filter-label {
  display: inline-block;
}

.filter-checkbox.selected {
  background-color: var(--dark-blue);
  color: white;
  border-color: var(--dark-blue);
}

.filter-checkbox.selected .filter-label::before {
  content: "✕ ";
  margin-right: 8px;
  color: white;
}

/* Buttons */
#filtri-reset,
#filtri-submit {
  display: inline-block;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 16px;
}

#filtri-reset {
  background-color: #ccc;
  color: black;
}

#filtri-reset:hover {
  background-color: #bbb;
}

#filtri-submit {
  background-color: #ff6f00;
  color: white;
  font-weight: bold;
}

#filtri-submit:hover {
  background-color: #e65c00;
}

.loading,
.error,
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
}

.loading {
  color: var(--dark-blue);
}

.error {
  color: red;
}

.no-results {
  color: var(--grey);
}

.modal-view-all-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--dark-blue);
  color: white;
  padding: 1.3rem 0;
  font-size: 1.375rem;
  gap: 0.625rem;
}

.modal-view-all-button span {
  height: 15px;
}

.filter-modal-header {
  display: flex;
  justify-content: space-between;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    max-width: 90%;
    max-height: 65vh;
  }

  .filter-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .filter-col:first-child {
    padding-right: 0;
    border-right: none;
  }

  .filter-col:last-child {
    padding-left: 0;
  }

  .filter-col-2 .filter-group {
    flex-direction: row;
  }

  .filter-checkbox {
    font-size: 0.875rem;
    padding: 8px 14px;
  }

  .filter-modal-header h2 {
    font-size: 1.25rem;
  }

  .modal-view-all-button {
    font-size: 1.125rem;
    padding: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .filter-modal-header {
    padding: 1.5rem;
  }

  .filter-modal-header h2 {
    font-size: 1.125rem;
  }

  .modal-view-all-button {
    font-size: 1rem;
    padding: 1.25rem 0;
  }

  .filter-checkbox {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}
#filter-categories {
  display: flex;
  flex-wrap: wrap;

  max-width: 100rem;
}

#filter-categories a {
  display: inline-block;
  cursor: pointer;
  padding: 20px 36px;
  border: 1px solid #003977;
  border-radius: 34px;
  background-color: white;
  margin: 5px;
  font-size: 16px;
  white-space: nowrap; /* Prevents line breaks */
}
.magazine #filter-categories a {
  font-size: 1.125rem;
  font-weight: 500;
}
.filter-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  align-items: center;
}

.filter-action-button {
  padding: 10px 20px;
  font-weight: 700;
  color: #003977;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap;
  text-transform: uppercase;
}

.filter-action-button:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .icon-wrapper {
    right: 1.25rem;
  }
  #filter-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #filter-categories a {
    padding: 10px 14px;
    font-size: 16px;
  }

  .filter-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
  }
}
.modal-content-portata .filter-list a {
  width: fit-content;
  padding: 0;
  font-size: 1.25rem;
}
.filter-list span {
  color: var(--grey);
  font-size: 1rem;
}
.modal-portata {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content-portata {
  background-color: white;
  border-radius: 2rem;
  width: 80%;
  max-width: 700px;
  max-height: 80%;
  overflow-y: auto;
  text-align: center;
  position: relative;
}

.close-modal-portata {
  color: white;
  cursor: pointer;
  width: 23px;
  height: 23px;
}

.filter-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2rem 0;
  gap: 1.25rem;
  margin: 0 auto;
  width: 82%;
}

.filter-portata {
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  color: (--dark-blue);
}

.filter-portata.selected {
  /*background-color: #ffcc00;
  color: #000;
  font-weight: bold;*/
}

@media (max-width: 768px) {
  .filter-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .filter-list {
    grid-template-columns: 1fr;
  }
}
.breadcrumbs__divider {
  display: inline-block;
  width: 0.75rem;
  height: 0.43rem;
  background: url("../img/general/breadcrumbs.svg") center center no-repeat;
  background-size: contain;
  margin: 0 0.31rem;
  vertical-align: middle;
}

/* Apply the color to breadcrumb links */

/* Apply the color to breadcrumb text */
.breadcrumbs span {
  color: #647384;
  font-weight: 400;
}
.products-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3rem 1.5rem;
}

.products-section h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  text-align: center;
  padding: 0 1.5rem;
}

.products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.single-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.single-product-imgs {
  position: relative;
}

.single-product-img {
  position: relative;
  z-index: 1;
}

.single-product-bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.single-product-button {
  position: relative;
  width: 11.813rem;
  height: 4.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.single-product-button-bg {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  object-fit: cover;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.single-product-button h5 {
  left: 0;
  position: absolute;
  z-index: 20;
  margin-right: 20px;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.single-product-button .h5 {
  left: 0;
  position: absolute;
  z-index: 20;
  margin-right: 20px;
  color: inherit;
  transition: color 0.3s ease-in-out;
}

.single-product-button-arrow {
  position: absolute;
  z-index: 15;
  height: 3.5rem;
  right: 0;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.single-product-card:hover .single-product-button-bg {
  transform: translateX(0);
}

.single-product-card:hover .single-product-button h5 {
  left: 15px;
  color: white;
}

.single-product-card:hover .single-product-button .h5 {
  left: 15px;
  color: white;
}

.results_page_hero {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 50vh;
  position: relative;
  top: 0;
}

.results_page_header_section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3rem 1.5rem;
}

.results_page_header_section h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  text-align: center;
  padding: 0 1.5rem;
  z-index: 20;
}
.results_page_header_section h3 {
  z-index: 20;
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
  text-align: center;
}
.results-page .grid-recipe-header {
  padding: 2rem 0;
}
.results-page .grid-recipe-cards {
  padding: 0 4rem;
}
.active-filters-list .filter-checkbox.selected .filter-label::before {
  display: none;
}
.active-portata-list .filter-checkbox.selected .filter-label::before {
  display: none;
}
#selected-filters-display {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 100rem;
  margin: auto;
  padding-bottom: 1.5rem;
}

#selected-portata-display {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 100rem;
  margin: auto;
}
.show-more-button {
  margin: auto;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.25rem;
  cursor: pointer;
  margin-top: 2rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.show-more-button:hover {
  opacity: 0.9;
  transform: translateY(-0.3rem);
}
.show-more-button img {
  width: 58px;
  height: 56px;
  transition: transform 0.3s;
}
.hero-magazine-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 2rem;
  margin-top: -5%;
}
.magazine-link {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.magazine-card-box {
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.magazine-card-box h3 {
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
}

.magazine-card-box h2 {
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
}

.magazine-thumbnail {
  position: relative;
  max-width: 26rem;
  max-height: 18.188rem;
}

.magazine-thumbnail img {
  object-fit: cover;
  width: 100%;
  max-height: 18.188rem;
  display: block;
  border-radius: 20px;
}

.magazine-thumbnail-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.375rem 1rem;
}

.magazine-thumbnail-info span {
  color: var(--grey);
  background-color: white;
  padding: 6px 1rem;
  border-radius: 34px;
  font-size: 1rem;
}

.magazine .filter-section {
  justify-content: flex-start;
  max-width: 120rem;
  padding: 2rem 1rem;
}

.filter-section p {
  font-size: var(--body-xl-d);
  color: var(--grey);
  padding: 20px 36px;
}

.white-wawe {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.hero-magazine {
  background-color: #9cd2f0;
  height: 77vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-magazine p {
  position: relative;
  font-size: var(--body-xl-d);
  max-width: 35rem;
  z-index: 20;
  font-weight: 500;
}

.hero-magazine h1 {
  position: relative;
  font-size: var(--h1-title-d);
  max-width: 35rem;
  font-family: var(--font-populaire);
  z-index: 20;
}
#loading-indicator {
  display: none;
  text-align: center;
  padding: 2rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--dark-blue);
}
#loading-indicator.show {
  display: block;
}
.filter-category.active {
  background-color: var(--dark-blue) !important;
  color: #fff;
}
.magazine .divider-line {
  display: none;
}
@media (max-width: 768px) {
  .hero-magazine-text h1 {
    font-size: var(--h2-title-d);
  }
  .hero-magazine-text p {
    font-weight: 500;
  }
  .hero-magazine-text {
    gap: 1.25rem;
    padding: 1.25rem;
    margin-top: 4rem;
  }
  .filter-section p {
    padding: 0;
  }
  .magazine .filter-section {
    align-items: flex-start;
    overflow: scroll;
  }
  .magazine #filter-categories {
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: scroll;
  }
  .filter-section {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .filter-section::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  .magazine #filter-categories a {
    padding: 20px 36px;
  }
  .magazine .divider-line {
    display: block;
  }
}
.recipe-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}
/* === Magazine Hero === */
.magazine-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
}

.magazine-hero__image {
  position: absolute;
  width: 100%;
  height: 100%;
}

.magazine-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.magazine-hero__wave {
  width: 100%;
  position: absolute;
  bottom: 0;
}

.magazine-hero__text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 1;
}

.magazine-hero__title {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  max-width: 416px;
  z-index: 1;
}

.magazine-hero__description {
  font-size: var(--body-xl-d);
  color: var(--grey);
  line-height: 2rem;
  z-index: 1;
  padding: 2.5rem 0 0;
}

.magazine-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.magazine-hero__reading-time {
  color: var(--grey);
  font-size: 1rem;
}

.magazine-hero__category {
  all: unset;
  background-color: var(--light-blue);
  color: var(--grey);
  padding: 10px 15px;
  border-radius: 2rem;
  font-size: 1rem;
}

/* === Magazine Paragraphs === */
.magazine-paragraphs {
  max-width: 848px;
  padding: 0 20px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.magazine-paragraphs__image-wrapper {
  width: 100%;
  padding: 60px 0;
}

.magazine-paragraphs__image {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.magazine-paragraphs-sub-title-h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
}
@media (max-width: 768px) {
  .magazine-paragraphs-sub-title-h1 {
    font-size: var(--h2-title-d);
    font-family: var(--font-populaire);
  }
}
.magazine-paragraphs-sub-title {
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
}
.magazine-paragraphs-sub-title-h3 {
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
}
.magazine-sub-paragraph {
  font-size: var(--body-standard-m);
  line-height: 1.575rem;
}

/* === Magazine Steps === */
.magazine-steps img {
  width: 100%;
}

.magazine-steps__content {
  padding-bottom: 12.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 111px;
  width: 100%;
  min-height: 100vh;
  background-color: var(--blue);
}

.magazine-steps__header {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.magazine-steps__header h2 {
  padding-bottom: 0;
  text-align: center;
  color: white;
}

.magazine-steps__title {
  text-align: center;
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  color: white;
}

.magazine-steps__intro p {
  text-align: center;
  font-size: var(--body-xl-d);
  max-width: 848px;
  color: white;
}

.magazine-steps__cards {
  display: flex;
  gap: 88px;
  flex-wrap: wrap;
  justify-content: center;
}

.magazine-step-card {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 416px;
}

.magazine-step-card img {
  width: 416px;
  height: 416px;
  border-radius: 500px;
  object-fit: cover;
}

.magazine-card-sub-title {
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  color: white;
}

.magazine-card-paragraph {
  font-size: var(--body-standard-d);
  color: white;
  line-height: 1.375rem;
}
.white-testimonial {
  position: absolute;
  bottom: -45%;
  left: 50%;
  transform: translateX(-50%);
}
.magazine-hero__content {
  position: absolute;
  z-index: 1000;
  top: 53%;
  left: 50%;
  transform: translateX(-50%);
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.block-steps-description-left-section {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
}

.block-steps-description-right-section {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
}
.block-steps-description-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 8rem;
}
.content-wrapper {
  padding: 8rem 20px;
}
.magazine-step-block {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  border-radius: 30px;
  padding: 3.75rem;
  background-color: white;
  max-width: 561px;
}
@media (max-width: 768px) {
  .partner-logo {
    max-width: 23rem;
    padding: 0 1rem;
  }
  .magazine-hero__content {
    padding: 0 40px;
    width: 100%;
  }
  .magazine-hero__reading-time {
    max-width: 68px;
  }
  .white-testimonial-wrapper {
    width: 100%;
  }
  .white-testimonial {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 100vh;
  }
  .magazine-hero__wave {
    display: none;
  }
  .magazine-hero__title {
    font-size: var(--h2-title-d);
  }
  .magazine-hero__description {
    font-size: 1.25rem;
    line-height: 1.563rem;
  }
  .magazine-step-block {
    padding: 2.5rem;
  }
  .magazine-step-card-img {
    max-width: 350px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .magazine-step-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}
/* Slider Styles */
.magazine-steps__slider {
  display: none;
  width: 100%;
  position: relative;
}

.slider-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  gap: 0;
}

.slider-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

.slider-dots {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;

  border: 1px solid white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: white;
}

/* Hide scrollbar for slider */
.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Responsive visibility */
@media (max-width: 768px) {
  .desktop-view {
    display: none !important;
  }
  .mobile-view {
    display: block !important;
  }
  .magazine-hero__image {
    position: relative;
    width: 100%;
    min-height: 650px;
  }
  .white-testimonial {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 769px) {
  .desktop-view {
    display: flex !important;
  }
  .mobile-view {
    display: none !important;
  }
  .testimonial-mobile {
    display: none;
  }
  .testimonial-desktop {
    display: block;
  }
}
@media (max-width: 768px) {
  .testimonial-mobile {
    display: block;
    max-width: 500px;
  }
  .testimonial-desktop {
    display: none;
  }
  .magazine-hero {
    height: auto;
    padding-bottom: 4rem; /* Add some space below content */
  }

  .magazine-hero__image {
    height: auto; /* Let it scale with content */
  }

  .magazine-hero__image img {
    height: 100%;
    min-height: 400px; /* Optional: enforce a minimum image height */
  }

  .magazine-hero__content {
    position: relative; /* Prevent absolute positioning issues */
    top: auto;
    left: auto;
    transform: none;
    margin-top: -17rem;
  }
  .magazine-hero__text {
    gap: 1rem;
  }

  .white-testimonial {
    top: 30%;
  }
}
.cat-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* tablet */
@media (min-width: 48em) {
  .single-post .product__header-image {
    width: 100%;
  }
}

/* desktop xl */
@media (min-width: 75em) {
  .single-post .product__header-image {
    width: 100%;
  }
  .magazine-details {
    margin-top: 20.125rem;
  }
  .magazine-details .recipe__content {
    max-width: 35rem;
  }
  .magazine-details .varianti__container,
  .recipe-details .curiosita .curiosita__container {
    padding: 0 0.9375rem;
  }
  .magazine-details .varianti__content {
    font-size: 1.375rem;
    line-height: 2rem;
    padding: 14.25rem 0.9375rem 8.25rem;
  }
}

.single-post .ombra {
  background: url(assets/img/general/ombra-det-ricetta.png) repeat-x top center;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  pointer-events: none;
}
.single-post .product__header-image {
  width: 100%;
  height: auto;
}
.recipe-details .title-big {
  margin-bottom: 3.125rem;
}

.bg-white {
  background-color: white;
}
.text-center {
  text-align: center;
}
.breadcrumbs {
  z-index: 999;
  max-width: 35rem;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 1%;
}

/* desktop xl */
@media (min-width: 75em) {
  .recipe-details.single-magazine-bg {
    background: url("../img/general/head-ricetta-magazine.png") no-repeat top
      center;
    background-size: contain;
  }
  .recipe-details .recipe__content {
    padding-top: 6.25rem;
  }
  .single-ricetta .product__header-image {
    width: 120%;
  }
  .recipe-details .prodotto-evidenza.product__image {
    right: 2%;
    position: absolute;
  }
}

/* CHI SIAMO */
.chi-siamo-sostenibilita-section-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 101;
  width: 89rem;
}
.chi-siamo-sostenibilita-section-text h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  color: white;
  max-width: 53rem;
}

.chi-siamo-sostenibilita-section-text h3 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  color: white;
  max-width: 53rem;
}
.chi-siamo-sostenibilita-section-text p {
  color: white;
  font-size: var(--body-xl-d);
  max-width: 53rem;
  font-weight: 500;
  line-height: 1.813rem;
}
.chi-siamo-sostenibilita-section-text h5 {
  color: white;
  font-size: var(--body-xl-d);
}

.chi-siamo-sostenibilita-section-text h2 {
  color: white;
  font-size: var(--body-xl-d);
}

.chi-siamo-btn {
  font-size: var(--body-intro-d);
  background-color: white;
  padding: 20px 36px;
  border-radius: 34px;
  max-width: 28rem;
}
.chi-siamo-sostenibilita-section-hero {
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #000000 0%, #00000000 100%) no-repeat
    padding-box;

  z-index: 15;
}
.light-blue-slight-wawe {
  z-index: 20;
  width: 100%;
  position: absolute;
  top: 0;
}
.white-slight-wawe {
  z-index: 20;
  width: 100%;
  position: absolute;
  bottom: 0;
}
.chi-siamo-sostenibilita-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12rem 0;
  position: relative;
}
.chi-siamo-random-text {
  padding-top: 6.25rem;
  gap: 3.2rem;
  display: flex;
  justify-content: center;
}
.chi-siamo-random-text h2 {
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  color: var(--dark-blue);
  max-width: 32.8rem;
}

.chi-siamo-random-text h3 {
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
  color: var(--dark-blue);
  max-width: 32.8rem;
}

.chi-siamo-random-text h2 {
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  color: var(--dark-blue);
  max-width: 32.8rem;
}

.chi-siamo-random-text p {
  max-width: 35rem;
  font-size: var(--body-standard-m);
  color: var(--dark-blue);
  line-height: 1.375rem;
}
.chi-siamo-card-left p {
  font-size: var(--body-standard-d);
  line-height: 1.563rem;
  color: var(--grey);
}
.chi-siamo-card-left h2 {
  font-size: var(--h2-title-d);
  font-family: var(--font-populaire);
  color: var(--dark-blue);
}
.chi-siamo-card-left {
  max-width: 35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chi-siamo-card-right {
  border-radius: 20px;
  width: 26rem;
  height: 22rem;
}
.chi-siamo-card-right img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chi-siamo-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 90vh;
  width: 100%;
  background-color: var(--blue);
}
.chi-siamo-hero-texts {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: -5%;
}
.chi-siamo-hero-texts h1 {
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  color: var(--white);
  max-width: 35rem;
  z-index: 20;
}
.chi-siamo-hero-texts p {
  font-size: var(--body-xl-d);
  color: var(--white);
  max-width: 35rem;
  line-height: 2rem;
  font-weight: 500;
}
.chi-siamo-cards-section {
  background-color: var(--light-blue);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 0 3rem;
  gap: 4rem;
}
.chi-siamo-card {
  max-width: 89rem;
  display: flex;
  gap: 4rem;
  border-radius: 35px;
  padding: 5rem 9rem;
  background-color: white;
  box-shadow: 0 0 15px #00000014;
}
@media (max-width: 37.5rem) {
  .chi-siamo-card {
    width: 100% !important;
  }
}
@media (max-width: 87.5rem) {
  .chi-siamo-random-text {
    padding: 6.25rem 0;
    flex-direction: column;
  }
  .chi-siamo-cards-section {
    padding: 0 20px;
  }
  .chi-siamo-card {
    width: 80%;
    flex-direction: column;
    padding: 2rem;
    margin-top: 4rem;
  }
  .chi-siamo-card-left {
    max-width: 100%;
    order: 2;
  }
  .chi-siamo-card-right {
    max-width: 100%;
    width: 100%;
    height: auto;
    order: 1;
  }
  .chi-siamo-hero-texts {
    flex-direction: column;
    padding: 0 20px;
    margin-top: 20%;
  }
  .chi-siamo-hero-texts h1 {
    font-size: var(--h2-title-d);
  }
  .chi-siamo-hero-texts p {
    font-size: var(--body-intro-d);
  }
  .chi-siamo-sostenibilita-section-text p {
    font-size: var(--body-intro-d);
  }
  .chi-siamo-sostenibilita-section-text h1 {
    font-size: var(--h2-title-d);
  }

  .chi-siamo-sostenibilita-section-text h3 {
    font-size: var(--h2-title-d);
  }
  .chi-siamo-sostenibilita-section-text {
    padding: 0 20px;
  }
  .chi-siamo-btn {
    font-size: var(--body-intro-d);

    padding: 20px 7px;
  }
}
.single-product-button:hover h5 {
  left: 15px;
  color: white;
}
.single-product-button:hover span {
  left: 15px;
  color: white;
}
.single-product-button:hover .single-product-button-bg {
  transform: translateX(0);
}

.certificazioni-card-section {
  padding: 3rem 1.375rem 15rem;
  display: grid;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: 1fr;
}

.certificazioni-card .single-product-button img {
  height: 3.438rem;
}
.certificazioni-card .single-product-button {
  width: 17rem;
  max-width: 100%;
  height: 3.538rem;
  white-space: nowrap;
}
.certificazioni-card-header {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
}
.certificazioni-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  padding: 2.6rem;
  background-color: white;
  box-shadow: 0px 0px 15px #00000014;
  border-radius: 20px;
  width: 26rem;
}
.certificazioni-card-logo {
  height: 5.625rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  align-self: flex-start;
}
.certificazioni-card p {
  font-size: var(--body-xl-d);
}
@media (max-width: 385px) {
  .certificazioni-card .single-product-button .single-product-button-arrow {
    width: 54px !important;
    height: 52px !important;
  }
}
@media (max-width: 851px) {
  .certificazioni-card {
    max-width: 95%;
    width: auto;
    margin: auto;
    padding: 2rem;
  }
}

@media (min-width: 851px) {
  .certificazioni-card-section {
    grid-template-columns: repeat(2, 26rem); /* 2 cards */
  }
}

@media (min-width: 1401px) {
  .certificazioni-card-section {
    grid-template-columns: repeat(3, 26rem); /* 3 cards */
  }
}

.footer-social .separator {
  background-image: none;
}

.footer-social .separator {
  background-image: none;
}
.certificazioni-faq-section {
  background-color: var(--light-blue);
  width: 100%;
}
.certificazioni-card .single-product-button .single-product-button-bg {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.certificazioni-card .single-product-button .single-product-button-arrow {
  width: 58px;
  height: 56px;
}
.certificazioni-card .single-product-button:hover .single-product-button-arrow {
  display: none;
}
.single-magazine-content {
  max-width: 36rem !important;
}
.single-magazine-img-hero {
  max-height: 100vh;
}
@media (max-width: 751px) {
  .single-magazine-img-hero {
    height: 90vh !important;
    object-position: center;
  }
}
.single-magazine-bg .recipe__container {
  padding: 0 2.5rem;
}

.page-template-template-magazine .related-products__block::before {
  background: none !important;
}
.carousel_buttons .prev .button-arrow {
  transform: rotate(180deg);
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel_wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2rem 50vw;
  box-sizing: content-box;
  gap: 1.375rem;
}

.carousel_card {
  flex: 0 0 52.9375rem;
  height: 30.5rem;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel_card.active {
  opacity: 1;
  transform: scale(1);
}

.carousel_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel_buttons {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 10;
}

.carousel_buttons button {
  position: relative;
  width: 5.9375rem;
  height: 6.125rem;

  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.swiper-carousel-section .carousel_buttons .button-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transform-origin: center;
}

.carousel_buttons .next .button-bg {
  transform: matrix(0, -1, 1, 0, 0, 0);
}
.carousel_buttons .prev .button-bg {
  transform: matrix(0, 1, -1, 0, 0, 0);
}

.button-arrow {
  z-index: 20;
  position: relative;
  width: 2rem;
  height: 1.625rem;
}

/* Hide scrollbar */
.carousel_wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel_wrapper::-webkit-scrollbar {
  display: none;
}

/* Responsive styles for screens less than 900px */
@media (max-width: 56.25rem) {
  /* 900px / 16 = 56.25rem */
  .carousel_card {
    flex: 0 0 80vw;
    height: 46vw; /* Maintain aspect ratio similar to original */
  }

  .carousel_wrapper {
    padding: 1.25rem 40vw; /* Reduced padding for smaller screens */
    gap: 0.875rem;
  }

  .carousel_buttons {
    right: 1rem;
  }

  .carousel_buttons button {
    width: 4rem;
    height: 4.125rem;
  }

  .button-arrow {
    width: 1.5rem;
    height: 1.25rem;
  }
}

/* Additional breakpoint for very small screens */
@media (max-width: 37.5rem) {
  /* 600px / 16 = 37.5rem */
  .carousel_wrapper {
    padding: 1rem 30vw;
  }

  .carousel_buttons {
    gap: 0.5rem;
  }

  .carousel_buttons button {
    width: 3rem;
    height: 3.125rem;
  }
}

.swiper-carousel-title {
  position: relative;
  z-index: 20;
  left: 9rem;
  top: 4.0625rem;
  color: white;
  font-size: var(--body-xl-d);
}
.swiper-carousel-section {
  padding: 0.625rem 3rem;
}
.swiper-carousel-wrapper {
  margin: auto;
  position: relative;
  max-width: 107rem;
  height: 52.5rem;
  border-radius: 1.25rem;

  --carousel-bg: none;
}

.swiper-carousel-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease-in-out !important;

  z-index: 1;
}

.swiper-carousel-img.fade-out {
  opacity: 0;
}

.swiper-carousel-card {
  position: relative;
  z-index: 20;
  max-width: 35rem;
  height: 37rem;
  border: 2.5rem solid white;
  margin: auto;
  top: 5.313rem;
  box-shadow: 0px 0px 0.9375rem #00000029;
  border-radius: 1.875rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swiper-carousel-card-clip {
  width: 100%;
  height: 16.875rem;
  border-radius: 1.25rem;
  background: transparent;
  outline: 0.875rem solid white;
}

.swiper-carousel-card-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-carousel-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background-color: white;
  padding: 1.8rem 0 0.325rem;
  opacity: 1;
  height: 100%;
  overflow-y: auto;
}

.swiper-carousel-card-content.fade-out {
  opacity: 0;
}

.swiper-carousel-card-content h3 {
  font-size: var(--h3-title-d);
  font-family: var(--font-populaire);
}

.swiper-carousel-card-content p {
  font-size: 1rem;
  line-height: 1.3rem;

  color: var(--grey);
}
/* Custom Scrollbar (WebKit) */
.swiper-carousel-card-content p::-webkit-scrollbar {
  width: 4px;
}

.swiper-carousel-card-content p::-webkit-scrollbar-track {
  background: transparent;
}

.swiper-carousel-card-content p::-webkit-scrollbar-thumb {
  background: var(--dark-blue);
  border-radius: 4px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.swiper-carousel-card-content p::-webkit-scrollbar-thumb:hover {
  opacity: 0.6;
}

/* Firefox Support */
.swiper-carousel-card-content p {
  scrollbar-width: thin;
  scrollbar-color: var(--dark-blue) transparent;
}
.carousel-controllers-wrapper {
  position: relative;
  bottom: -5.5rem;
  margin: auto;
  z-index: 20;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0 1.375rem;
}

.carousel-controllers-wrapper h1 {
  font-size: 8.125rem;
  font-family: var(--font-populaire);
  color: white;
}

.carousel-controllers-wrapper .h1 {
  font-size: 8.125rem;
  font-family: var(--font-populaire);
  color: white;
}
.year-display {
  font-size: 8.125rem;
  font-family: var(--font-populaire);
  color: white;
}
.carousel-controllers-dots {
  position: relative;
  width: 40.78125rem;
  height: 0.125rem;
  margin: 0 1rem;
}

.dots-line {
  position: absolute;
  width: 100%;
  height: 0.125rem;
  background-color: white;
  top: 50%;
  transform: translateY(-50%);
}

.dots-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: white;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  transform: translateY(-50%);
}

.dot.active {
  background-color: #9cd2f0;
  width: 2rem;
  height: 2rem;
}

.carousel-controllers-wrapper .carousel_buttons {
  flex-direction: row;
  position: relative;
  transform: translateY(0);
  right: 0;
}

@media (max-width: 75rem) {
  .recipe-details.single-magazine-bg {
    /*background: url(../img/general/head-ricetta-mobile.png) no-repeat top center;*/
    background-size: contain;
  }
}
.swiper-carousel-title {
  display: block;
}
.swiper-carousel_mobile_title {
  display: none;
}
@media (max-width: 680px) {
  .swiper-carousel-title {
    display: none;
  }
  .swiper-carousel_mobile_title {
    font-size: 1.833rem;
    display: block;
    margin: auto;
    width: fit-content;
    padding: 2.5rem 0;

    font-weight: 500;
    line-height: 2rem;
  }
  .swiper-carousel-card.active-slide {
    top: 60px !important;
  }
  .dots-line {
    background-color: #d9e4ea;
  }
  .dot {
    background-color: #d9e4ea;
  }
  .swiper-carousel-img {
    border-radius: 0;
  }
  .swiper-carousel-card-clip {
    height: 12.875rem;
  }
  .swiper-carousel-section {
    padding: 2rem 0;
    border-radius: 0;
  }
  .swiper-carousel-img {
    height: 60%;
  }

  .swiper-carousel-wrapper {
    height: auto;
    padding-bottom: 0.625rem;
  }
  .swiper-carousel-title {
    display: none;
  }
  .swiper-carousel-title {
    left: 1.25rem;
    top: 1.875rem;
    font-size: var(--body-xl-m);
  }

  .swiper-carousel-card {
    max-width: 90%;
    border-width: 1.25rem;
    top: 3.875rem;
  }

  .swiper-carousel-card-content {
    padding: 1rem;
  }

  .swiper-carousel-card-content h3 {
    font-size: var(--h3-title-m);
  }

  .swiper-carousel-card-content p {
    font-size: var(--body-intro-m);
  }

  .carousel-controllers-wrapper {
    position: relative;
    bottom: 0;
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
    padding: 2rem 1rem;
  }

  .carousel-controllers-wrapper h1 {
    font-size: 2.5rem;
    order: 1;
  }

  .carousel-controllers-wrapper .h1 {
    font-size: 2.5rem;
    order: 1;
  }

  .carousel-controllers-dots {
    width: 90%;
    order: 2;
  }

  .carousel_buttons {
    order: 3;
    margin-top: 1rem;
  }
}

@media (min-width: 1712px) {
  .swiper-carousel-wrapper {
    width: 107rem;
    height: 52.5rem !important;
  }
  .swiper-carousel-card {
    width: 35rem;
  }
}

.swiper-carousel-card.active-slide {
  opacity: 1;
  position: relative;
  z-index: 10;
  top: 85px;
  display: flex !important;
  flex-direction: column;
}

/* STORIA PAGE */

.proggeti-text-wrapper {
  position: relative;
  display: flex;
  padding: 65px 0 0;
  flex-direction: column;
  margin: auto;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.story-projects-section {
  position: relative;
}
.proggeti-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: contain;
}
.goccia-line {
  position: relative;
  left: 10%;
}
.page-storia__testimonial-section-wrapper {
  padding: 104px 0;
  overflow: hidden;
}
.story-projects-section button {
  padding: 20px 30px;
  color: white;
  background-color: var(--dark-blue);
  border-radius: 34px;
  font: normal normal 400 18px/22px "Red Hat Text", sans-serif;
  white-space: nowrap;
}
.story-projects-section h1 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}

.story-projects-section h2 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}
.story-projects-section p {
  font: normal normal 500 18px/22px "Red Hat Text", sans-serif;
  max-width: 39.25rem;
  text-align: center;
  color: var(--grey);
}
.story-projects-section {
  padding: 35px 0 10px;
  /*width: 52.375rem;*/
  display: flex;
  flex-direction: column;
  margin: auto;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.page-storia__evolution .page-storia__intro-text {
  max-width: 53rem;
}
.page-storia__testimonial-content h3 span {
  text-decoration: underline;
}
.page-storia__testimonial-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-storia__testimonial-content a {
  text-decoration: underline;
}
.page-storia__testimonial-section h2 {
  max-width: 41.25rem;
  font: normal normal 400 4.375rem/4.6875rem var(--font-populaire);
  letter-spacing: 0;
  color: var(--dark-blue);
  text-align: center;
  opacity: 1;
}

.page-storia__testimonial-section .h2 {
  max-width: 41.25rem;
  font: normal normal 400 4.375rem/4.6875rem var(--font-populaire);
  letter-spacing: 0;
  color: var(--dark-blue);
  text-align: center;
  opacity: 1;
}

.page-storia__testimonial-section h3 {
  max-width: 100%;
  font: normal normal 400 2.1875rem/2.625rem var(--font-populaire);
  letter-spacing: 0;
  color: var(--dark-blue);
  text-align: center;
  opacity: 1;
}
.page-storia__testimonial-section .h3 {
  max-width: 100%;
  font: normal normal 400 2.1875rem/2.625rem var(--font-populaire);
  letter-spacing: 0;
  color: var(--dark-blue);
  text-align: center;
  opacity: 1;
}
.page-storia__testimonial-bg {
  position: absolute;
  transform: translate(-50%, 0%);
  width: 60rem;
  max-width: 100vw;
  height: 100%;
  left: 50%;
  top: 0;
  pointer-events: none;
  object-fit: cover;
}
.page-storia__testimonial-section {
  position: relative;
  margin: auto;
  max-width: 52rem;
  text-align: center;
  padding: 60px 74px;
}

/* Hero Section */
.page-storia__hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.page-storia__hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.page-storia__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-storia__hero-title {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-38%, -50%);
 /* font-size: 8.125rem;*/
  max-width: 72rem;
  font-family: var(--font-populaire);
  color: white;
  z-index: 2;
}
.page-storia__hero-splash {
  position: absolute;
  /* bottom: 0; */
  width: 100%;
  bottom: -10%;
  height: auto;
  z-index: 1;
}
.page-storia__hero-splash img {
  width: 100%;
}

/* Video Styles */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
}
.play-button-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.play-button-circle {
  width: 61px;
  height: 61px;
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Intro Section */
.page-storia__intro {
  display: flex;
  gap: 10rem;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 2rem;
}
.page-storia__intro-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 35rem;
}
.page-storia__intro-text h1 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}

.page-storia__intro-text h2 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}

.page-storia__intro-text p {
  font: normal normal 500 22px/32px "Red Hat Text", sans-serif;
  letter-spacing: 0;
  color: #003977;
  text-align: left;
  opacity: 1;
  /*font-size: 1.125rem;*/
}
.page-storia__intro-video {
  display: flex;
  flex-direction: column;
  gap: 1.625rem;
  max-width: 44rem;
}
.page-storia__intro-video p {
  font-size: var(--meta-small-d);
  line-height: 1.2rem;
  color: var(--grey);
  width: 100%;
}

/* Evolution Section */
.page-storia__evolution {
  max-width: 90rem;
  margin: auto;
  padding-top: 5rem;
}
.page-storia__evolution-text {
  max-width: 53rem;
}

.page-storia__evolution-step {
  display: flex;
  justify-content: space-between;
}
.page-storia__evolution-content {
  display: flex;
  flex-direction: column;
  max-width: 35rem;
  gap: 2rem;
}

.page-storia__evolution-content h2 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
}
.page-storia__evolution-content p {
  font: normal normal 400 18px/25px "Red Hat Text", sans-serif;
  letter-spacing: 0;
  color: #003977;
  text-align: left;
  opacity: 1;
}
.page-storia__evolution-image {
  width: 35rem;
  height: 30.75rem;
  border-radius: 20px;
  padding-bottom: 2rem;
}
.page-storia__evolution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Outro Section */
.page-storia__outro {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.page-storia__outro-text {
  max-width: 35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 50px;
}
.page-storia__outro-text h2 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
}

.page-storia__outro-text h3 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
}
.page-storia__outro-text p {
  font: normal normal 400 18px/25px "Red Hat Text", sans-serif;
  letter-spacing: 0;
  color: #003977;
  text-align: left;
  opacity: 1;
}

/* Hide play button when video is playing */
.video-container video::-webkit-media-controls-play-button {
  display: none;
}
.video-container video[controls] ~ .play-button-overlay {
  display: none;
}

@media (max-width: 640px) {
  .video-container {
    height: 12rem;
  }
  .proggeti-text-wrapper {
    padding: 24px 0 0 !important;
    gap: 1rem !important;
  }
  .story-projects-section {
    width: auto;
    max-width: 100%;
  }
  .story-projects-section h1 {
    font-size: var(--h2-title-d);
    text-align: center;
  }
  .page-storia__hero-title {
    text-align: start !important;
  }
  .page-storia__testimonial-section h2 {
    font: normal normal 400 3.375rem/4.6875rem var(--font-populaire);
  }

  .page-storia__testimonial-section .h2 {
    font: normal normal 400 3.375rem/4.6875rem var(--font-populaire);
  }
  .page-storia__testimonial-section h3 {
    font: normal normal 400 1.875rem / 2.325rem var(--font-populaire);
  }
  .page-storia__testimonial-section .h3 {
    font: normal normal 400 1.875rem / 2.325rem var(--font-populaire);
  }
  .page-storia__testimonial-content {
    gap: 0 !important;
  }
  .page-storia__outro .page-storia__intro-text,
  .page-storia__intro-video {
    order: 2;
  }
  .page-storia__testimonial-section {
    padding: 30px 20px;
  }
}
.page-storia__evolution-steps {
  padding: 4rem 0 0;
}
.goccia-line {
  display: static;
}
/* Responsive Styles */
@media (max-width: 1475px) {
  .page-storia__evolution-steps {
    padding: 4rem 20px;
  }
  .goccia-line {
    display: none;
  }
  .text-padding {
    padding: 0 20px;
  }
  .page-storia__hero-title {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-storia__intro {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 0 20px;
  }

  .page-storia__intro-text,
  .page-storia__intro-video {
    max-width: 100%;
    width: 100%;
  }

  .page-storia__evolution-step {
    flex-direction: column;
    gap: 3rem;
  }

  .page-storia__evolution-content,
  .page-storia__evolution-image {
    max-width: 100%;
    width: 100%;
  }

  .page-storia__evolution-image {
    min-height: 19.25rem;
    height: auto;
  }

  .page-storia__outro {
    flex-direction: column;
    gap: 3rem;
    padding: 0 20px;
  }

  .page-storia__outro-text {
    max-width: 100%;
    width: 100%;
  }

  .page-storia__testimonial-section {
    padding: 60px 20px;
  }
}

/* @media (max-width: 768px) {
  .page-storia__hero-title {
    font-size: var(--h1-title-m);
  }
} */
.mejs-container {
  border-radius: 20px;
}
.mejs-controls {
  border-radius: 20px;
}

.button-white {
  font-size: 1.125rem;
  color: var(--dark-blue) white;
  background-color: white;
  border-radius: 2.125rem;
  padding: 20px 36px;
  border: 1px solid var(--dark-blue);
}
.block-img-sx-text-dx {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 35rem;
}

.block-img-sx-text-dx h1 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}

.block-img-sx-text-dx h2 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
}

.block-img-dx-text-sx h1 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
}

.block-img-dx-text-sx h2 {
  font-family: var(--font-populaire);
  font-size: var(--h2-title-d);
}
.contact-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.contact-page__hero {
  display: flex;
  max-width: 90rem;
  width: 100%;
  gap: 3.125rem;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-page__content {
  display: flex;
  flex-direction: column;
  max-width: 44rem;
  width: 100%;
  gap: 2rem;
}

.contact-page__image {
  width: 35rem;
  height: 38.125rem;
  position: relative;
  flex-shrink: 0;
}

.contact-page__image img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
}

.contact-page__title {
  font: normal normal normal 3.125rem/3.5625rem "Populaire";
  margin: 0;
}

.contact-page__description,
.contact-info__item {
  font: normal normal 500 1.125rem/1.375rem "Red Hat Text";
  color: var(--text-color);
  margin: 0;
}

.contact-info__value {
  display: block;
  font: normal normal 500 1.375rem/2rem "Red Hat Text";
  color: var(--grey);
  margin-top: 0.5rem;
}

.contact-page__note {
  font: normal normal 500 1.375rem/2rem "Red Hat Text";
  margin: 0;
}

.contact-page__link {
  text-decoration: underline;
}

.contact-page__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.375rem;
  max-width: 37.5rem;
}

.contact-button {
  font: normal normal 500 1.125rem/1.4375rem "Red Hat Text";
  border: none;
  padding: 1.25rem 2.25rem;
  white-space: nowrap;
  border-radius: 2.125rem;
  background-color: var(--dark-blue);
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.divider-line {
  width: 100%;
  height: 0.0625rem;
  background-color: var(--border-color);
  margin: 2.5rem 0;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 9.5rem;
}

@media (max-width: 1200px) {
  .contact-page {
    padding: 0 1.25rem;
    margin-top: 30%;
  }

  .contact-page__hero {
    padding-top: 8rem;
    flex-direction: column;
    align-items: center;
    gap: 3.125rem;
  }

  .contact-page__content {
    max-width: 100%;
  }

  .contact-page__image {
    width: 100%;
    height: 31.25rem;
    max-width: 44rem;
  }

  .contact-page__buttons {
    max-width: 100%;
  }

  .contact-button {
    width: 100%;
    text-align: center;
  }

  .contact-info {
    gap: 1.5rem;
  }
}

.contact-info-bottom h2 {
  font: normal normal 400 3.125rem/3.5625rem "Populaire" !important;
  width: auto !important;
}
.contact-info-bottom p span {
  text-decoration: underline;
  color: var(--grey);
}
.contact-info-bottom p {
  font: normal 500 1.375rem/2rem "Red Hat Text";
}
.contact-info-bottom {
  width: 100%;
  align-items: center;
  gap: 2.5rem;
  display: flex;
}
.contact-terms-agreements input {
  width: 22px;
  height: 22px;
  border: 2px solid var(--dark-blue);
  border-radius: 2px;
}
.contact-terms-agreements {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 23px;
}
.contact-terms-agreements span {
  max-width: 515px;
  font: normal 500 1.125rem/1.375rem "Red Hat Text";
}
.contact-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.contact-form-page-wrapper {
  margin: auto;
  max-width: 70rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
}

.contact-form-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.contact-form-page-wrapper h2 {
  font: normal normal 400 3.125rem/3.5625rem "Populaire";
  margin-bottom: 1rem;
  width: 560px;
}

.contact-form-page-wrapper h1 {
  font: normal normal 400 3.125rem/3.5625rem "Populaire";
  margin-bottom: 1rem;
  width: 560px;
}

.contact-form-page-wrapper p {
  font: normal 500 1.375rem/2rem "Red Hat Text";
  margin-bottom: 2rem;

  max-width: 560px;
}

.contact-form-inputs-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 21px;
  width: 100%;
  padding: 4rem 0;
  flex-wrap: wrap;
}

.contact-form-inputs-left {
  display: flex;
  flex-direction: column;
}

.contact-form-inputs-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-inputs-right textarea {
  background-color: var(--light-blue);
  padding: 19px 34px;
  width: 416px;
  height: 220px;
  border-radius: 15px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 22px;
}

.contact-form-inputs-left textarea {
  background-color: var(--light-blue);
  padding: 19px 34px;
  width: 416px;
  height: 220px;
  border-radius: 15px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 22px;
}

.contact-form-inputs-left input {
  background-color: var(--light-blue);
  padding: 19px 34px;
  width: 416px;
  border-radius: 15px;
  box-sizing: border-box;
  height: 60px;
  font-size: 18px;
  line-height: 22px;
}

.contact-form-inputs-left input::placeholder {
  color: #666;
}

.contact-form-inputs-right input {
  background-color: var(--light-blue);
  padding: 19px 34px;
  width: 416px;
  border-radius: 15px;
  box-sizing: border-box;
  height: 60px;
  font-size: 18px;
  line-height: 22px;
}

.contact-form-inputs-right input::placeholder {
  color: #666;
}
.contact-form-inputs-right textarea::placeholder {
  vertical-align: top;
  color: #666;
}

.contact-form-inputs-left textarea::placeholder {
  vertical-align: top;
  color: #666;
}

@media (max-width: 768px) {
  .contact-form-page-wrapper {
    width: 100% !important;
  }
  .contact-form-inputs-right input {
    background-color: var(--light-blue);
    padding: 19px 34px;
    width: 100%;
    border-radius: 15px;
    box-sizing: border-box;
    height: 60px;
    font-size: 18px;
    line-height: 22px;
  }
}
@media (min-width: 768px) and (max-width: 1207px) {
  .contact-submit {
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .contact-form-inputs-wrapper {
    padding: 0 0 4rem;
  }
  .contact-form-page {
    margin-top: 35%;
  }
  .contact-form-inputs-left {
    width: 100%;
  }
  .contact-form-inputs-right {
    width: 100%;
  }
  .contact-submit {
    gap: 2rem;
  }
  .contact-form-page-wrapper h1 {
    width: 100%;
  }
  .contact-form-page-wrapper h2 {
    width: 100%;
  }
  .contact-form-page-wrapper p {
    width: 100%;
  }
  .contact-form-inputs-right textarea {
    width: 100%;
  }
  .contact-form-inputs-left input {
    width: 100%;
  }
  .testing span {
    max-width: 32.1875rem;
  }
}

/* DROPLET FULL WIDTH */
.droplet_full_width-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 30px;
  margin-top: 1rem;
  box-sizing: border-box;
}

.droplet_full_width-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.droplet_full_width-shape {
  position: relative;
  width: 26.9375rem;
  height: 21.9375rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.droplet_full_width-shape-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.droplet_full_width-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  text-align: center;
}

.droplet_full_width-content h3 {
  font: normal normal 400 2.1875rem/2.625rem "Populaire", sans-serif;
}

.droplet_full_width-content p {
  font: normal normal 500 1.125rem/1.375rem "Red Hat Text", sans-serif;
  color: var(--grey);
  max-width: 19.125rem;
  padding-bottom: 1.5625rem;
}

.droplet_full_width-content button img {
  width: 4.3125rem;
  height: 4rem;
}

/* Responsive */
@media screen and (max-width: 74.9375rem) {
  .droplet_full_width-section {
    flex-direction: column;
    padding: 2rem;
  }

  .droplet_full_width-shape {
    width: 100%;
    height: auto;
    aspect-ratio: 431/351;
  }

  .droplet_full_width-content h3 {
    font-size: 1.75rem;
    line-height: 2.125rem;
  }

  .droplet_full_width-content p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .droplet_full_width-content button img {
    width: 3.5rem;
    height: 3.25rem;
  }
}
.carousel_buttons_mobile .carousel-button {
  width: 5rem;
  height: 4.9rem;
}
.carousel_buttons_mobile .button-bg {
  transform: none !important;
}
.carousel_buttons_mobile {
  display: none;
  margin-top: -1% !important;
  gap: 0.9rem !important;
}
.carousel-controllers-wrapper .carousel_buttons {
  display: flex;
}
.swiper-carousel-title {
  width: fit-content;
}

.ufficio-stampa-page {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.single_ufficio_stampa__container {
  width: 100%;
  max-width: 70rem;
  padding: 4rem 2rem;
  margin: 13% auto 0 auto;
}

.single_ufficio_stampa__container .page-storia__evolution {
  padding-bottom: 5rem;
}

.single_ufficio-sampa-grid-section-wawe {
  width: 100%;
  transform: scaleY(-1);
}

@media (max-width: 680px) {
  .single_ufficio_stampa__container {
    padding: 4rem 0rem;
    margin: 50% auto 0 auto;
  }
  .single-magazine-bg .recipe__container {
    padding: 0 1.375rem;
  }
  .page-storia__intro-video .video-container video {
    aspect-ratio: 350 / 206;
    height: 100%;
  }
  .page-storia__evolution-image img {
    aspect-ratio: 350 / 308;
  }
  .carousel-controllers-wrapper {
    align-items: flex-start;
  }
  .carousel-controllers-wrapper h1 {
    order: 2;
    color: var(--dark-blue);
    margin-left: 5% !important;
  }
  .carousel-controllers-wrapper .h1 {
    order: 2;
    color: var(--dark-blue);
    margin-left: 5% !important;
  }
  .year-display {
    order: 2;
    color: var(--dark-blue);
    margin-left: 5% !important;
    font-size: 3.8rem;
  }
  .carousel-controllers-wrapper .carousel-controllers-dots {
    order: 1;
  }

  .carousel-controllers-wrapper .carousel_buttons {
    display: none;
  }
  .carousel-year_carousel-buttons {
    display: flex;
    order: 2;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .carousel-year_carousel-buttons .carousel_buttons_mobile {
    display: flex !important;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    z-index: 10;
  }
}
.page-storia__hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, #00000000 100%) no-repeat
    padding-box;
  background-position: 0% 0%;
  mix-blend-mode: multiply;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
}
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, #00000000 100%);
  mix-blend-mode: multiply;
  opacity: 0.35;
  z-index: 2; /* must be higher than image wrapper */
  pointer-events: none;
}

/* Ensure the image stays behind */
.img-wrapper {
  position: relative;
  z-index: 0;
}
.carousel-year_carousel-buttons .carousel_buttons_mobile {
  display: none;
}
@media (max-width: 1200px) {
  .magazine-paragraphs-sub-title-h1 {
    padding: 1rem 1.5rem 0;
  }
  .magazine-hero__description {
    padding: 1rem 1.5rem 0;
  }
}

.page-storia__intro {
  padding: 0 1.375rem;
}

/* .swiper-carousel-img,
.swiper-carousel-wrapper {
  background: linear-gradient(180deg, #00000000 0%, #000000 100%) no-repeat
    padding-box;
  mix-blend-mode: multiply;
  opacity: 1;
} */

.before-after_center-image {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
  max-width: 40.625rem;
  max-height: 50rem;
}

.before_title-left {
  left: 5% !important;
}

.after_title-right {
  right: 5% !important;
  left: auto;
}
.arrow__box {
  top: 45%;
  transform: translateX(-50%);
}
@media (min-width: 1370px) and (max-width: 1512px) {
  .before-after_center-image {
    max-width: 32.625rem;
    max-height: 50rem;
  }
}

@media (min-width: 1076px) and (max-width: 1370px) {
  .before-after_center-image {
    max-width: 28.625rem;
    max-height: 50rem;
  }
  .before_title-left .title-big {
    width: 60%;
  }
}

@media (min-width: 650px) and (max-width: 1076px) {
  .before-after_center-image {
    max-width: 40%;
    max-height: 50rem;
  }
  .before_title-left .title-big {
    width: 60%;
  }
  .arrow__box {
    top: 40%;
    transform: translateX(-50%);
    width: 8.5625rem;
    height: 6.5rem;
  }
}

@media (min-width: 100px) and (max-width: 1380px) {
  .before-after_center-image {
    max-width: 35%;
    max-height: 50rem;
  }
  .before_title-left .title-big {
    width: 60%;
  }
  .before_title-left .title-big {
    font-size: 3.125rem;
  }
  .after_title-right .title-big {
    font-size: 3.125rem;
  }
  .after_title-right {
    left: 35%;
  }
  .arrow__box {
    top: 38%;
    transform: translateX(-40%);
  }
  .arrow__box span {
    font-size: 1rem;
  }
  .slider-subtitle {
    font-size: 2.063rem;
  }
  .before-after_text_wrapper {
    gap: 1.125rem;
  }
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.before-after_text-icon {
  max-width: 50px;
  max-height: 50px;
  position: relative !important;
  height: auto !important;
}

.before-after_text_wrapper {
  display: flex;
  color: var(--dark-blue);
  text-align: end;
  gap: 1.625rem;
  padding: 6% 0;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.before-after_text_wrapper h5 {
  font: normal normal 500 18px/23px "Red Hat Text";
}

.before-after__content {
  align-items: normal;
}

.after_title-right {
  align-items: flex-end;
}

.before-after__content {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.before-after__content.visible,
.before-after_text_wrapper.visible {
  opacity: 1;
  pointer-events: auto;
}

.before_title-left .before-after_text_wrapper {
  color: white;
  text-align: left;
}

/* Animation classes */
.show-up {
  animation: fadeInUp 0.3s ease forwards;
}

.show-down {
  animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(800px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.visible-title_50 {
  position: absolute;
  z-index: 100000;
  top: 49%;
}
.visible-title_50_left {
  color: white !important ;
  margin-left: 10%;
}
.visible-title_50_right {
  margin-left: 20%;
}
.flex-text-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
/* Base transitions */
.before-after__content {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sub-before_after-text {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.after_title-right .sub-before_after-text {
  transform: translateX(20px);
}
.before-after__content {
  width: 50%;
}
.before-after *,
.before-after {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
}

/* Visible states */
.before-after__content.visible,
.sub-before_after-text.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slider arrow styling */
.before-after__arrow {
  transition: left 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* After section width transition */
[data-ba-after] {
  transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (min-width: 100px) and (max-width: 1280px) {
  [data-ba-before] img {
    width: 100%;
    height: 39.563rem;
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    object-fit: cover;
  }
  #before_after-slider-img {
    border-radius: 2rem;
  }

  .before-after_text_wrapper h5 {
    font: normal normal 500 18px/18px "Red Hat Text";
  }
  .sub-before_after-text {
    margin: 0 !important;
  }
  .visible-title_50 {
    font-size: 2.5rem;
    top: 50%;
    bottom: auto;
  }
  .visible-title_50_left {
    max-width: 6rem;
    left: -5%;
  }
  .visible-title_50_right {
    text-align: end;
    margin-right: 20%;
  }
  .margin_zero {
    margin: 0;
  }
}
@media (min-width: 100px) and (max-width: 640px) {
  .before-after_center-image {
    transform: translate(-50%, 75%);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
  }
  .visible-title_50 {
    top: auto;
    bottom: 7%;
  }
  [data-way="84"] .before-after_center-image {
    animation: slide-from-right 0.8s both;
    right: 5%;
    left: auto;
    transform: translate(0, 75%);
  }

  /* Right position (16%) */
  [data-way="16"] .before-after_center-image {
    animation: slide-from-left 0.8s both;
    left: 5%;
    right: auto;
    transform: translate(0, 75%);
  }

  /* Center position (50%) */
  [data-way="50"] .before-after_center-image {
    animation: center-pulse 1s both;
    left: 50%;
    transform: translate(-50%, 75%);
  }

  /* Keyframes */
  @keyframes slide-from-right {
    0% {
      opacity: 0;
      transform: translate(20%, 75%);
    }
    100% {
      opacity: 1;
      transform: translate(0, 75%);
    }
  }

  @keyframes slide-from-left {
    0% {
      opacity: 0;
      transform: translate(-20%, 75%);
    }
    100% {
      opacity: 1;
      transform: translate(0, 75%);
    }
  }

  @keyframes center-pulse {
    0%,
    100% {
      transform: translate(-50%, 75%) scale(1);
    }
    50% {
      transform: translate(-50%, 75%) scale(1.05);
    }
  }
}
@media (min-width: 900px) and (max-width: 1280px) {
  .visible-title_50 {
    top: 50%;
    bottom: auto;
  }
}
.la-nostra-header-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  margin: auto;
  max-width: 100rem;
  padding: 3rem 2rem;
  justify-content: center;
}
.la-nostra-header-wrapper h2 {
  text-align: center;
  font-size: var(--h1-title-d);
  font-family: var(--font-populaire);
  margin: 0 30px;
}
.title-line {
  flex-grow: 1;
  height: 1px;
  background-color: var(--light-blue);
}

.page-template-page-progetti .chi-siamo-hero {
  height: 100vh;
}

.single-progetto .recipe__container ul {
  padding-left: 2rem;
  padding-top: 1rem;
}
.single-progetto .recipe__container li {
  list-style-type: disc;
}

.single-ufficio_stampa .magazine-paragraphs ul {
  padding-left: 2rem;
  padding-top: 1rem;
}
.single-ufficio_stampa .magazine-paragraphs li {
  list-style-type: disc;
}

.in-sintesi-block-product {
  max-width: 80px !important;
}

.page-template-page-contatti .contact-page__note a {
  text-decoration: underline;
}
.page-template-page-contatti .contact-info__item .contact-info__value a {
  text-decoration: underline;
}
.page-template-page-contatti-form .contact-info-bottom a {
  text-decoration: underline;
}

.page-template-page-stampa .rassegna-stampa-header h2 {
  font-family: var(--font-populaire);
  font-size: var(--h1-title-d);
  line-height: 4.6875rem;
}

.page-template-page-stampa .ufficio-stampa-small-header {
  font: normal normal 500 2rem/2.3125rem "Red Hat Text", sans-serif;
}

.page-template-page-stampa .ufficio-stampa-small-cards h4 {
  padding: 0.625rem 0;
  flex-direction: column;
  font: normal normal 500 1.125rem/1.375rem "Red Hat Text", sans-serif;
  color: var(--dark-blue);
}
.ufficio-stampa_small-cards-title {
  padding: 0.625rem 0;
  flex-direction: column;
  font: normal normal 500 1.125rem/1.375rem "Red Hat Text", sans-serif;
  color: var(--dark-blue);
}
.page-template-page-stampa .ufficio-stampa-small-cards h3 {
  color: var(--grey);
}

.page-template-page-stampa .magazine-link {
  font-size: var(--body-standard-d);
  font-weight: 600;
}

.page-template-page-stampa .magazine-card-box {
  line-height: 2.5rem;
}
.single-ufficio_stampa .page-storia__evolution-image {
  width: 36rem;
  height: 25.16rem;
}

.single-ufficio_stampa h1 {
  font-size: var(--h2-title-d);
}

.single-ufficio_stampa .magazine-sub-paragraph p {
  font-size: var(--body-standard-d);
  line-height: 25px;
}

.page-template-page-chi-siamo .in-sintesi .in-sintesi-blocks-wrapper {
  grid-template-columns: repeat(3, 272px);
}

@media (max-width: 660px) {
  .page-template-page-chi-siamo .in-sintesi .in-sintesi-blocks-wrapper {
    grid-template-columns: auto;
  }
}

.page-template-page-chi-siamo .about {
  padding-top: unset;
  padding-bottom: 7.5rem;
}
@media (min-width: 108.125em) {
  .page-template-page-chi-siamo .about {
    padding-top: unset;
  }
}

.single-post .cat-flex .cat-badge {
  background-color: #eaf3f8;
  font-size: 1rem;
  padding: 0 0.625rem;
  border-radius: 2.125rem;
  color: #647384;
  padding: 0.5rem 1.625rem;
  margin-left: 0.625rem;
  font-weight: 500;
}

.quality-quote-section {
  padding: 9.375rem 0 !important;
}

.page-template-page-magazine .hero-magazine {
  height: 100vh;
}

.single-post .magazine-paragraphs {
  padding: 0 30px;
  gap: unset;
}

.partner-logo {
  width: 100%;
}

.single-post .magazine-steps__content {
  margin-top: -3%;
}

@media (max-width: 768px) {
  .fattorie-content-cards-wrapper {
    justify-content: flex-start;
    padding: 0 2.5rem;
  }
  .wp-block-spacer {
    height: 60px !important;
  }
}

.site {
  overflow-x: hidden;
}

.inactive-language {
  color: var(--grey);
}
.language {
  cursor: pointer;
}
.rank-math-breadcrumb {
  font-weight: normal;
}

.grid-recipe-section .divider-line {
  width: 85% !important;
  margin: 0 auto var(--spacing-xs-d) auto !important;
  border-bottom: 0.125rem solid rgba(100, 115, 132, 0.3) !important;
}
.recipe-thumbnail:hover img {
  transform: rotate(-5deg) scale(1.05);
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.grid-recipe-cards .recipe-wrapper:nth-child(6n) .recipe-thumbnail img:hover {
  transform: rotate(-2deg) scale(1.03);
}
.recipe-thumbnail img:hover::before {
  transform: rotate(-5deg) scale(1.05);
}
.recipe-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 1.25rem;
  z-index: 2;
}
.recipe-thumbnail:hover::before {
  opacity: 1;
}
@media (max-width: 768px) {
  .recipe-thumbnail {
    height: 227px !important;
  }
  .recipe-info .recipe-title {
    font-size: 2rem;
  }
}
.position_content {
  margin-top: -55% !important;
  position: relative;
  z-index: 100;
}
.position_content_wrapper {
  position: relative;
  z-index: 100;
}
@media (max-height: 750px) {
  .progetti_page .chi-siamo-hero {
    height: 140vh;
  }
  .sostenibilita_hero-title {
    transform: translate(-50%, 0%) !important;
  }
}
@media (max-width: 750px) {
  .ricette-filters_section .filter-section {
    align-items: flex-start;
    overflow: scroll;
  }
  .ricette-filters_section .filter-section {
    justify-content: flex-start;
  }
  .ricette-filters_section #filter-categories {
    flex-wrap: nowrap;
  }
  .ricette-filters_section #filter-categories {
    max-width: none;
  }
  .chi-siamo-card-left h2 {
    font-size: 2.5rem;
  }
}

.recipe-info span {
  color: var(--grey);
  font-size: 1.125rem;
}

.recipe-title-arrow {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.yellow-splash {
  width: 100%;
}

.recipe-card {
  border-radius: 1.875rem;
  background-color: white;
  margin: 0 auto;
  max-width: 26rem;
  height: 25.125rem;
  width: 100%;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recipe-card a {
  background-color: var(--white);
  border-radius: 30px;
  display: block;
  height: 100%;
  width: 100%;
}

.recipe-thumbnail {
  position: relative;
  border-radius: 16px;
  width: 100%;
  height: 270px;
  overflow: hidden;
}

.recipe-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.recipe-thumbnail:hover img {
  transform: rotate(-3deg) scale(1.03);
}

.recipe-baking-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.recipe-baking-info span {
  display: flex;
  align-items: center;
  color: var(--blue);
  padding: 8px 12px;
  background: white !important;
  border-radius: 28px;
  gap: 6px;
  font-size: 0.9rem;
}

.recipe-baking-info span img {
  width: 15px;
  height: 15px;
  position: relative;
}

.recipe-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 0px 20px;
  width: 100%;
  height: 8.125rem;
}

.recipe-info h5 {
  font-family: var(--font-populaire);
  font-size: 2.18rem;
  line-height: 42px;
  font-weight: 500;
  color: var(--dark-blue);
  text-align: left;
  margin: 0;
  padding-right: 15px;
}

.recipe-info .h5 {
  font-family: var(--font-populaire);
  font-size: 2.18rem;
  line-height: 42px;
  font-weight: 500;
  color: var(--dark-blue);
  text-align: left;
  margin: 0;
  padding-right: 15px;
}
.recipe-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.recipe-card:hover .recipe-arrow {
  transform: translateX(5px);
}
@media (min-width: 747px) {
  .swiper-carousel-card-content {
    max-height: 16rem;
  }
}
/* Responsive adjustments */
@media (max-width: 1024px) {
  .rassegna-stampa-header {
    width: 100%;
  }
  .ufficio-stampa-small-header {
    padding: 0 30px;
  }
  .recipe-thumbnail {
    height: 240px;
  }

  .recipe-info h3 {
    font-size: 30px;
    line-height: 1.3;
  }

  .recipe-card {
    height: auto;
  }
}

@media (max-width: 768px) {
  .ufficio-stampa-header h1 {
    font-size: var(--h1-title-m);
  }
  .page-storia__intro-text p {
    font: normal normal 500 20px/25px "Red Hat Text", sans-serif;
  }
  .swiper-carousel-card-content p {
    overflow-y: visible;
    font-size: 1rem;
    line-height: 1.3rem;
  }
  .swiper-carousel-card {
    height: auto !important;
  }
  .page-storia__hero {
    height: 80vh;
  }
  .magazine-steps__content {
    padding-bottom: 6.5rem;
  }
  .recipe_details-mobile_wrapper {
    margin-top: -15.875rem;
  }
  .recipe-thumbnail {
    height: 200px;
  }

  .recipe-info {
    padding: 24px 20px;
  }

  .recipe-info h5 {
    font-size: 26px;
  }
  .recipe-info .h5 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .recipe-thumbnail {
    height: 180px;
    border-radius: 12px;
  }

  .recipe-info h5 {
    font-size: 22px;
    line-height: 1.2;
  }
  .recipe-info .h5 {
    font-size: 33px;
    line-height: 1.2;
  }

  .recipe-arrow {
    width: 20px;
    height: 20px;
  }
}
.menu-item-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 30px;
  background: transparent;
  z-index: 999;
}
.dropdown-header-link img {
  transition: margin 0.3s ease;
}
.dropdown-header-link:hover img {
  margin-left: 5px;
}
.filter-columns .filter-col:not(:first-child) h4 {
  padding-top: 25px;
}
.filter-columns .filter-col h3 {
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.375rem;
}
.magazine-paragraphs-sub-title {
  padding-bottom: 30px;
}

.field-error {
  color: red;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: block;
}

.form-success-message {
  margin-top: 1rem;
  color: green;
  font-weight: 600;
}

.contact-form-inputs-wrapper input,
.contact-form-inputs-wrapper textarea {
  display: block;
  margin-bottom: 1rem;
}
.mobile-menu-header,
.header-language .h6 span {
  color: var(--grey);
  font-weight: 500;
}

.mobile-menu-header,
.header-language .h6 span.active-language {
  color: var(--dark-blue);
}
.fattorie-wrapper {
  padding: 10rem 0;
}

.fattorie-background-splash {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.fattorie-card-section {
  max-width: 113.75rem;
  margin: auto;
  position: relative;
  padding: 0 0 5.625rem;
}

.fattorie-content-wrapper {
  max-width: 90rem;
  margin: auto;
}

.fattorie-content-description-content {
  display: flex;
  margin-top: 4rem;
  gap: 10rem;
}

.fattorie-content-description-content p {
  max-width: 44rem;
  font-style: normal;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 2rem;
  font-family: "Red Hat Text", sans-serif;
}

.fattorie-content-description-content button {
  height: fit-content;
  border-radius: 2.125rem;
  color: white;
  background-color: var(--dark-blue);
  padding: 1.25rem 2.25rem;
  max-width: 24.75rem;
  font-size: 1.25rem;
  line-height: 1.438rem;
}

.fattorie-content-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.fattorie-card img {
  object-fit: cover;
  border-radius: 0.625rem;
  width: 14.5rem;
  height: 11rem;
}

.fattorie-card {
  padding: 1.25rem 1.25rem 0 1.25rem;
  background-color: white;
  width: 17rem;
  height: 17.3125rem;
  border-radius: 0.625rem;
  box-shadow: 0 0 0.9375rem #00000029;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-line {
  background-color: white;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-container {
  max-width: 15.625rem;
  width: 15.625rem;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-container .dot {
  background-color: white;
}

.fattorie-content-header-right .carousel-controllers-dots {
  max-width: 15.625rem;
  width: auto;
}

.fattorie-content-header {
  max-width: 90rem;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.fattorie-content-header-left h2 {
  font-style: normal;
  font-weight: 400;
  font-size: 8.125rem;
  line-height: 8.0625rem;
  padding: 3.125rem 0 0;
  font-family: "Populaire", sans-serif;
}
.fattorie-content-header_year {
  font-style: normal;
  font-weight: 400;
  font-size: 8.125rem;
  line-height: 8.0625rem;
  padding: 3.125rem 0 0;
  font-family: "Populaire", sans-serif;
}

.fattorie-content-header-left {
  position: relative;
  top: -6.25rem;
}

.fattorie-content-header-left h3 {
  font-style: normal;
  font-weight: 400;
  font-size: 3.125rem;
  line-height: 3.5625rem;
  font-family: "Populaire", sans-serif;
}

.fattorie-content-header-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4.5rem;
  position: relative;
  top: 4.825rem;
}

.fattorie-content-header-right h1 {
  color: white;
  font-style: normal;
  font-weight: 400;
  font-size: 4.375rem;
  line-height: 4.6875rem;
  font-family: "Populaire", sans-serif;
}
.fattorie-content-header-right-year {
  color: white;
  font-style: normal;
  font-weight: 400;
  font-size: 4.375rem;
  line-height: 4.6875rem;
  font-family: "Populaire", sans-serif;
}
@media (min-width: 1600px) and (max-width: 1840px) {
  .fattorie-content-wrapper {
    padding: 0 5rem;
  }
}

@media (min-width: 1385px) and (max-width: 1600px) {
  .fattorie-content-header-left h2 {
    font-size: 7.125rem;
  }
  .fattorie-content-header_year {
    font-size: 7.125rem;
  }
  .fattorie-content-wrapper {
    padding: 0 10rem;
    justify-content: space-around;
  }

  .fattorie-content-description-content {
    gap: 0;
  }

  .fattorie-card {
    width: 15rem;
  }

  .fattorie-card img {
    width: 12.5rem;
    height: 9rem;
  }
}

@media (min-width: 768px) and (max-width: 1385px) {
  .fattorie-content-wrapper {
    max-width: 100%;
    padding: 0 2rem;
  }

  .fattorie-content-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fattorie-content-header-left {
    top: 0;
    margin-bottom: 2rem;
  }

  .fattorie-content-header-left h2 {
    font-size: 5rem;
    line-height: 5rem;
    padding: 2rem 0 0;
  }
  .fattorie-content-header_year {
    font-size: 5rem;
    line-height: 5rem;
    padding: 2rem 0 0;
  }
  .fattorie-content-header-left h3 {
    font-size: 2.5rem;
    line-height: 2.8rem;
  }

  .fattorie-content-header-right {
    top: 0;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .fattorie-content-header-right h1 {
    font-size: 3rem;
    line-height: 3.2rem;
  }
  .fattorie-content-header-right-year {
    font-size: 3rem;
    line-height: 3.2rem;
  }
  .fattorie-content-header-right .carousel-controllers-dots .dots-container {
    width: 10rem;
  }

  .fattorie-content-cards-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .fattorie-content-description-content {
    flex-direction: column;
    gap: 3rem;
    padding: 0 8rem;
  }

  .fattorie-content-description-content p {
    max-width: 100%;
  }

  .fattorie-card {
    width: calc(32.333% - 5.5rem);
  }

  .fattorie-card img {
    width: 100%;
    height: 10rem;
  }

  @media (max-width: 1024px) {
    .fattorie-card {
      width: calc(50% - 5.5rem);
    }
  }

  @media (max-width: 900px) {
    .fattorie-content-header-left h2 {
      font-size: 4rem;
      line-height: 4rem;
    }
    .fattorie-content-header_year {
      font-size: 4rem;
      line-height: 4rem;
    }
    .fattorie-content-header-left h3 {
      font-size: 2rem;
      line-height: 2.2rem;
    }

    .fattorie-content-header-right h1 {
      font-size: 2.5rem;
      line-height: 2.7rem;
    }
    .fattorie-content-header-right-year {
      font-size: 2.5rem;
      line-height: 2.7rem;
    }
  }
}

@media (max-width: 768px) {
  .fattorie-content-description-content {
    flex-direction: column;
    margin-top: 2.6rem;
    padding: 0 20px 3.5rem;
    gap: 3rem;
  }

  .fattorie-content-header {
    flex-direction: column;
    align-items: center;
  }

  .fattorie-content-header-left h3 {
    display: none;
  }

  .fattorie-content-header-left h2 {
    font-size: 3.75rem;
    padding: 8.25rem 0 0;
  }
  .fattorie-content-header_year {
    font-size: 3.75rem;
    padding: 8.25rem 0 0;
  }
  .fattorie-content-header-right {
    top: 0;
    align-items: flex-end;
    padding: 0.625rem 0 2.875rem;
    gap: 0;
  }

  .fattorie-content-cards-wrapper {
    overflow: scroll;
    justify-content: flex-start !important;
  }

  .fattorie-content-header-right .carousel-controllers-dots .dots-container {
    width: 9.5rem;
  }

  .fattorie-content-header-right .carousel-controllers-dots {
    order: 2;
  }

  .fattorie-content-header-left {
    top: 0;
  }

  .first {
    order: 1;
  }

  .last {
    order: 3;
  }

  .fattorie-content-description-content button {
    font-size: 1.25rem;
    padding: 1.25rem 0.25rem;
  }

  .fattorie-background-splash {
    display: none;
  }

  .fattorie-card-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    z-index: 0;
    position: relative;
  }
}

.single-ufficio-stampa-page {
  background: var(--light-blue);
}
.fattorie-wrapper {
  padding: 10rem 0;
}
.fattorie-background-splash {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.fattorie-card-section {
  max-width: 113.75rem;
  margin: auto;
  position: relative;
  padding: 0 0 5.625rem;
}

.fattorie-content-wrapper {
  max-width: 90rem;
  margin: auto;
}

.fattorie-content-description-content {
  display: flex;
  margin-top: 4rem;
  gap: 10rem;
}

.fattorie-content-description-content p {
  max-width: 44rem;
  font-style: normal;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 2rem;
  font-family: "Red Hat Text", sans-serif;
}

.fattorie-content-description-content button {
  height: fit-content;
  border-radius: 2.125rem;
  color: white;
  background-color: var(--dark-blue);
  padding: 1.25rem 2.25rem;
  max-width: 24.75rem;
}

.fattorie-content-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.fattorie-card img {
  object-fit: cover;
  border-radius: 0.625rem;
  width: 14.5rem;
  height: 11rem;
}

.fattorie-card {
  padding: 1.25rem 1.25rem 0 1.25rem;
  background-color: white;
  width: 17rem;
  height: 17.3125rem;
  border-radius: 0.625rem;
  box-shadow: 0 0 0.9375rem #00000029;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-line {
  background-color: white;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-container {
  max-width: 15.625rem;
  width: 15.625rem;
}

.fattorie-content-header-right .carousel-controllers-dots .dots-container .dot {
  background-color: white;
}

.fattorie-content-header-right .carousel-controllers-dots {
  max-width: 15.625rem;
  width: auto;
}

.fattorie-content-header {
  max-width: 90rem;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.fattorie-content-header-left h2 {
  font-style: normal;
  font-weight: 400;
  font-size: 8.125rem;
  line-height: 8.0625rem;
  padding: 3.125rem 0 0;
  font-family: "Populaire", sans-serif;
}

.fattorie-content-header-left {
  position: relative;
  top: -6.25rem;
}

.fattorie-content-header-left h3 {
  font-style: normal;
  font-weight: 400;
  font-size: 3.125rem;
  line-height: 3.5625rem;
  font-family: "Populaire", sans-serif;
}

.fattorie-content-header-right {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 4.5rem;
  position: relative;
  top: 4.825rem;
}

.fattorie-content-header-right h1 {
  color: white;
  font-style: normal;
  font-weight: 400;
  font-size: 4.375rem;
  line-height: 4.6875rem;
  font-family: "Populaire", sans-serif;
}
.fattorie-content-header-right-year {
  color: white;
  font-style: normal;
  font-weight: 400;
  font-size: 4.375rem;
  line-height: 4.6875rem;
  font-family: "Populaire", sans-serif;
}
@media (min-width: 1600px) and (max-width: 1840px) {
  .fattorie-content-wrapper {
    padding: 0 5rem;
  }
}
@media (min-width: 1385px) and (max-width: 1600px) {
  .fattorie-content-header-left h2 {
    font-size: 7.125rem;
  }
  .fattorie-content-wrapper {
    padding: 0 10rem;
    justify-content: space-around;
  }
  .fattorie-content-description-content {
    gap: 0;
  }
  .fattorie-card {
    width: 15rem;
  }
  .fattorie-card img {
    width: 12.5rem;
    height: 9rem;
  }
}
@media (min-width: 768px) and (max-width: 1385px) {
  .fattorie-content-wrapper {
    max-width: 100%;
    padding: 0 2rem;
  }

  .fattorie-content-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fattorie-content-header-left {
    top: 0;
    margin-bottom: 2rem;
  }

  .fattorie-content-header-left h1 {
    font-size: 5rem;
    line-height: 5rem;
    padding: 2rem 0 0;
  }

  .fattorie-content-header-left h3 {
    font-size: 2.5rem;
    line-height: 2.8rem;
  }

  .fattorie-content-header-right {
    top: 0;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .fattorie-content-header-right h1 {
    font-size: 3rem;
    line-height: 3.2rem;
  }
  .fattorie-content-header-right-year {
    font-size: 3rem;
    line-height: 3.2rem;
  }
  .fattorie-content-header-right .carousel-controllers-dots .dots-container {
    width: 10rem;
  }

  .fattorie-content-cards-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .fattorie-content-description-content {
    flex-direction: column;
    gap: 3rem;
    padding: 0 8rem;
  }

  .fattorie-content-description-content p {
    max-width: 100%;
  }

  .fattorie-card {
    width: calc(32.333% - 5.5rem);
  }

  .fattorie-card img {
    width: 100%;
    height: 10rem;
  }

  @media (max-width: 1024px) {
    .fattorie-card {
      width: calc(50% - 5.5rem);
    }
  }

  @media (max-width: 900px) {
    .fattorie-content-header-left h2 {
      font-size: 4rem;
      line-height: 4rem;
    }

    .fattorie-content-header-left h3 {
      font-size: 2rem;
      line-height: 2.2rem;
    }

    .fattorie-content-header-right h2 {
      font-size: 2.5rem;
      line-height: 2.7rem;
    }
  }
}
.swiper-carousel_header-mobile {
  display: none;
}
@media (max-width: 680px) {
  .swiper-carousel_header-mobile {
    display: block;
  }
}
@media (max-width: 768px) {
  .recipe-details h2 {
    font-size: 2.1rem;
  }
  .magazine-steps__content {
    gap: 3.875rem;
  }
  .ufficio-stampa-header h1 {
    font-size: 3.125rem;
  }
  .page-storia__hero-splash {
    bottom: 0;
  }
  .in-sintesi {
    gap: 0;
  }
  .chi-siamo-sostenibilita-section {
    height: auto;
    padding: 6rem 0;
  }
  .fattorie-content-description-content {
    flex-direction: column;
    margin-top: 2.6rem;
    padding: 0 20px;
    gap: 3rem;
  }
  .fattorie-content-header {
    flex-direction: column;
    align-items: center;
  }
  .fattorie-content-header-left h3 {
    display: none;
  }
  .fattorie-content-header-left h2 {
    font-size: 3.75rem;
    padding: 8.25rem 0 0;
  }
  .fattorie-content-header-right {
    top: 0;
    align-items: flex-end;
    padding: 0.625rem 0 2.875rem;
    gap: 0;
  }
  .fattorie-content-cards-wrapper {
    overflow: scroll;
  }
  .fattorie-content-header-right .carousel-controllers-dots .dots-container {
    width: 9.5rem;
  }
  .fattorie-content-header-right .carousel-controllers-dots {
    order: 2;
  }
  .fattorie-content-header-left {
    top: 0;
  }
  .first {
    order: 1;
  }
  .last {
    order: 3;
  }
  .fattorie-content-description-content button {
    font-size: 1.25rem;
    padding: 1.25rem 0.25rem;
  }

  .fattorie-background-splash {
    display: none;
  }
  .fattorie-card-section {
    background-image: url("<?php echo get_template_directory_uri(); ?>/assets/img/general/testimonials-bg-rotated.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    z-index: 0;
    position: relative;
  }
}
.rank-math-breadcrumb {
  font-weight: 500 !important;
}

@media screen and (max-width: 1200px) and (orientation: landscape) {
  .mobile-navbar {
    justify-content: space-between;
    padding: 1.563rem 2rem;
  }
  .mobile-menu-list.active {
    gap: 0.5rem;
    padding: 2.5rem 2.625rem;
  }
  .mobile-sub-menu {
    padding: 0.625rem 2rem !important;
  }
}

@media (min-width: 108.125em) {
  .page-template-page-ricette .about {
    padding-top: unset;
    padding-bottom: unset;
  }
}
.download-arrow-icon {
  height: auto !important;
  width: auto;
  position: absolute;
  right: 1.3rem;
  z-index: 10000;
}

.download-button_text-span {
  font: normal normal 500 18px/23px "Red Hat Text";
  margin-left: 7px !important;
}
.result-recipe_btn-fit {
  display: flex;
  width: fit-content;
  margin: auto;
}
.page-storia .about__content {
  padding-top: 0;
}

.single-progetti {
  margin-top: -30rem;
  z-index: 100;
}

.page-sostenibilita .in-sintesi-blocks-wrapper {
  gap: 5.3rem !important;
}

.carousel-year_carousel-buttons {
  display: flex;
  order: 2;
  align-items: center;
}
@media (min-width: 680px) {
  .carousel-year_carousel-buttons {
    order: 1;
  }
  .controllers_order-second {
    order: 2;
  }
  .carousel-controllers-wrapper .carousel_buttons {
    order: 3;
  }
}
@media (min-width: 680px) and (max-width: 765px) {
  .carousel-controllers-wrapper {
    bottom: -10.5rem;
  }
}
.swiper-carousel_header-mobile {
  width: fit-content;
  font: 500 22px/32px "Red Hat Text", sans-serif;
  margin: auto;
  padding: 0 0 2.3rem;
}

@media (min-width: 1119px) and (max-width: 1475px) {
  .growth-benefit-section {
    flex-direction: row !important;
  }
  .growth-benefit-right {
    order: 0 !important;
  }
  .growth-benefit-right p {
    font: normal normal 400 1.125rem / 1.3625rem "Red Hat Text", sans-serif !important;
  }
  .page-storia__evolution-step {
    flex-direction: row !important;
  }
  .page-storia__evolution-image {
    height: 32.25rem !important;
  }
  .page-storia__outro {
    flex-direction: row;
  }
  .chi-siamo-hero-texts {
    flex-direction: row;
  }
  .page-storia__intro {
    flex-direction: row !important;
    padding: 2rem 3.375rem !important;
  }
  .fattorie-content-cards-wrapper {
    flex-wrap: nowrap !important;
    overflow: auto;
    justify-content: start;
  }
  .fattorie-content-header {
    flex-direction: row;
  }
  .fattorie-background-splash {
    object-fit: cover;
  }
  .fattorie-card img {
    width: 14.5rem;
    height: 11rem;
  }
  .fattorie-content-description-content {
    padding: 0 0;
  }
  .fattorie-content-description-content p {
    max-width: 42rem;
  }
  .chi-siamo-sostenibilita-section-text {
    padding: 0 5rem;
  }
}
@media (min-width: 768px) and (max-width: 1120px) {
  .fattorie-content-cards-wrapper {
    flex-wrap: nowrap !important;
    overflow: auto;
    justify-content: start;
  }
  .fattorie-card img {
    width: 14.5rem;
    height: 11rem;
  }
  .fattorie-background-splash {
    object-fit: cover;
  }
  .chi-siamo-sostenibilita-section-text {
    padding: 0 5rem;
  }
}
@media (min-width: 1172px) and (max-width: 1450px) {
  .quality-quote-section-background {
    object-fit: cover !important;
  }
}
@media (min-width: 1200px) and (max-width: 1440px) {
  .single-magazine-content {
    max-width: 28rem !important;
  }
}
@media (min-width: 1475px) {
  .page-storia__evolution-step {
    min-height: 58rem;
  }
}
@media (min-width: 768px) and (max-width: 1119px) {
  .page-storia__intro {
    margin: auto;
    max-width: 31.875rem;
  }
  .page-template-page-chi-siamo .in-sintesi .in-sintesi-blocks-wrapper {
    grid-template-columns: repeat(2, 272px) !important;
  }
  .fattorie-content-header {
    flex-direction: row !important;
    align-items: end !important;
  }
  .page-storia__intro-text a {
    font-size: 1rem !important;
  }
  .fattorie-content-description-content {
    padding: 0;
  }
  /* .about__content {
    flex-direction: column;
    max-width: 31.875rem;
    margin: auto;
    gap: 50px;
  }

  .about__content--reverse {
    flex-direction: column;
    max-width: 31.875rem;
    gap: 50px;
    margin: auto;
  } */
  .quality-quote-section-background {
    object-fit: cover;
  }
  .quality-quote-content-left {
    max-width: 31.875rem;
  }
  .quality-quote-content-left h2 {
    max-width: 31.875rem;
  }
  .quality-quote-content-right {
    max-width: 31.875rem;
  }
  .quality-quote-content {
    gap: 1rem !important;
  }

  .page-storia__evolution {
    max-width: 31.875rem;
  }
  .page-storia__outro {
    max-width: 31.875rem;
    margin: auto;
  }
  .growth-benefit-section {
    max-width: 31.75rem;
    margin: auto;
  }
  .ufficio-sampa-grid-wrapper .magazine-thumbnail img {
    max-height: 14.688rem;
  }
}
@media (min-width: 680px) and (max-width: 1350px) {
  .carousel_buttons .prev .button-bg {
    transform: none;
  }
  .carousel_buttons .next .button-bg {
    transform: none;
  }
  .swiper-carousel-section {
    padding: 0;
  }
  .swiper-carousel-img {
    border-radius: 0;
    height: 65%;
  }
  .dot {
    background-color: #d9e4ea;
  }
  .dots-line {
    background-color: #d9e4ea;
  }
  .carousel-year_carousel-buttons .year-display {
    color: var(--dark-blue);
    font-size: 3.75rem;
  }
}
@media (max-width: 1279px) {
  .breadcrumbs {
    top: 9rem;
  }
  .page-storia__intro-text h2 {
    font-size: 3.125rem;
  }
  .desktop-header,
  .desktop-sub-header {
    display: none !important;
  }
  .mobile-navbar {
    display: flex !important;
  }
  .in-sintesi {
    gap: 2.7rem !important;
  }
}
.mobile-navbar {
  display: none;
}
@media (min-width: 1279px) and (max-width: 1460px) {
  .footer-social {
    align-items: flex-end;
    gap: 2.9375rem;
  }
  .menu__link {
    font-size: 1rem;
  }
  .sub-menus-center {
    gap: 1.5rem;
  }
}
@media (min-width: 768px) and (max-width: 1450px) {
  .page-storia__hero-title {
   /* font-size: 3.75rem;*/
    text-align: start !important;
    max-width: 46.875rem 750px;
  }
}

.chi-siamo-sostenibilita-section-text .chi-siamo-btn {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
}
.fattorie-wrapper {
  padding: 5rem 0;
}
@media (min-width: 1279px) {
  .footer-menus {
    width: 80rem;
  }
  .footer-menu {
    gap: 1.25rem;
  }
  .single-product-bg {
    display: block;
  }
  .single-product-imgs:hover .single-product-img {
    transform: scale(1.05);
    transition: transform 0.4s ease, opacity 0.4s ease;
    will-change: transform, opacity; /* hint GPU acceleration */
  }

  .single-product-imgs:hover .single-product-bg {
    opacity: 1;
    transform: scale(1.05);
    pointer-events: auto; /* enable interaction when shown */
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
  }
}
@media (max-width: 1279px) {
  .single-product-bg {
    display: none;
  }
}
.fish-background {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 100;
}
