/*
Theme Name: Helados Trendy
Author: SebaRocha
Description: Sitio Web Helados Trendy
Version: 1.0.0
Tags: helados trendy
*/

/* ====================================================================================
	MAIN STYLES
==================================================================================== */








/* ====================================================================================
	HEADER
==================================================================================== */
.header {
	position: fixed;
	z-index: 99;
	top: 0;
	right: 0;
	left: 0;
	width: 100vw;
	background: transparent !important;
}

.header__container {
	padding: 0 !important;
	width: 100vw !important;
	max-width: 100vw !important;
}

.header__row,
.header__content {
	margin-right: var(--theme-margin);
	margin-left: var(--theme-margin);
}

.header__column {
	padding-right: var(--theme-padding);
	padding-left: var(--theme-padding);
	position: relative;
	z-index: 2;
}

.header__column:has(.header__brand) {
	z-index: 3;
}

.header__button {
  background: transparent !important;
  font-family: var(--font-main);
  text-transform: uppercase;
  font-weight: 600;
  gap: calc(var(--font-base-size) * 0.25);
  font-size: calc(var(--font-base-size) * 0.875);
  color: var(--color-accent) !important;
}

.header__button:hover {
	color: var(--color-accent-hover) !important;
}

.header__button > .ph-list {
  font-size: 140%;
}

/* Header > Brand
==================================================================================== */
.header__brand {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header__picture, 
.header__logo {
  display: block;
  width: 100%;
  object-fit: contain;
  object-position: center left;
}

/* Header > Content
==================================================================================== */
.header__content {
  align-items: center;
  justify-content: flex-end;
  gap: calc(var(--theme-padding) * 2);
  position: relative;
  padding-right: calc(var(--theme-padding) * 2);
}

.header__content::after {
	display: block;
	content: "";
	position: absolute;
	background: var(--color-background);
	height: 100%;
	width: 100vw;
	z-index: 1;
	right: calc(var(--theme-padding) * 1);
}

/* Header Media Queries
==================================================================================== */
@media (max-width: 575px) {
	.header__brand {
  	max-width: 160px;
  }

  .header__content {
  	height: var(--header-height-sm);
  }
}

@media (min-width: 576px) and (max-width: 991px) {
	.header__brand {
  	max-width: 220px;
  }

  .header__content {
  	height: var(--header-height-md);
  }
}

@media (min-width: 992px) {
	.header__brand {
  	max-width: 350px;
  }

  .header__content {
  	height: var(--header-height-lg);
  }
}


/* ====================================================================================
	FOOTER
==================================================================================== */
.footer {
  padding: calc(var(--theme-padding) * 6) 0 0 0 !important;
  background: var(--color-background);
}

.footer__container {
	padding-right: calc(var(--theme-padding) * 2) !important;
	padding-left: calc(var(--theme-padding) * 2) !important;
}

.footer__content,
.footer__row {
  row-gap: calc(var(--theme-padding) * 3);
}

.footer__content {
  align-items: stretch;
  padding-bottom: calc(var(--theme-padding) * 6);
}

.footer__column {
	padding-right: calc(var(--theme-padding) * 1) !important;
	padding-left: calc(var(--theme-padding) * 1) !important;
}

.footer__brand {
	width: 100%;
	display: flex;
}

.footer__picture, 
.footer__logo {
  display: block;
  width: auto;
}

.footer__logo {
  height: 100px;
  object-fit: contain;
  object-position: center center;
}

/* Footer Block
==================================================================================== */
.footer-block {
	padding-right: var(--theme-padding);
	padding-left: var(--theme-padding);
}

.footer-block__wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: calc(var(--theme-padding));
}

.footer-block__text {
	font-family: var(--font-main);
	font-weight: bold;
	font-size: calc(var(--font-base-size) * 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--font-base-size) * 0.5);
	line-height: 1;
}

.footer-block__icon {
	font-size: 120%;
}

/* Footer Group
==================================================================================== */
.footer-group, 
.footer-group__menu {
	width: 100%;
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.footer-group {
	row-gap: calc(var(--theme-padding) * 1.5);
}

.footer-group + .footer-group {
  margin-top: calc(var(--theme-padding) * 3);
}

.footer-group__title {
	font-family: var(--font-main);
	text-transform: uppercase;
	font-weight: bold;
	color: var(--color-main);
	letter-spacing: 1px;
}

.footer-group__menu {
	row-gap: calc(var(--theme-padding));
}

.footer-group__item {
  display: block;
  width: 100%;
}

.footer-group__link {
	color: var(--color-links) !important;
	font-size: calc(var(--font-base-size));
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.footer-group__link:hover,
.footer-group__link:not([target="_blank"]):focus {
	color: var(--color-links-hover) !important;
}

@media (max-width: 767px) {
	.footer__column:has(.footer-group) > .theme-section__row {
		row-gap: calc(var(--theme-padding) * 3);
	}

	.footer-group, 
	.footer-group__menu,
	.footer-group__link {
		text-align: center;
	}

	.footer-group, 
	.footer-group__menu {
		align-items: center;
	}

	.footer-group__link {
		justify-content: center;
	}
}

/* Footer Stamp
==================================================================================== */
.footer-stamp {
	padding-top: calc(var(--theme-padding) * 2);
	padding-bottom: calc(var(--theme-padding) * 2);
}

.footer-stamp__picture, 
.footer-stamp__logo {
  display: block;
  width: 100%;
}

.footer-stamp__logo {
	max-width: 560px;
	max-height: 70px;
}

/* Footer Media Queries
==================================================================================== */
@media (max-width: 991px) {
	.footer__brand {
		justify-content: center;
	}
}

@media (min-width: 992px) {
	.footer__brand {
		justify-content: flex-start;
	}
}


/* ====================================================================================
	COMPONENTS
==================================================================================== */
/* Slider 
==================================================================================== */
.theme-slider {
	padding: 0 !important;
}

/* Slider > Navigation */
.theme-slider__navigation {
  position: absolute;
  z-index: 10;
  right: 0;
  left: 0;
  bottom: calc(var(--theme-padding) * 3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-slider__button {
  background: white !important;
  position: relative;
  inset: 0 !important;
  color: black !important;
  min-width: calc(var(--theme-padding) * 3);
  height: calc(var(--theme-padding) * 3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--font-base-size) * 1.25);
  border-radius: calc(var(--theme-padding) * 3);
  z-index: 99;
  margin: 0 !important;
}

.theme-slider__button:hover {
	background: black !important;
	color: white !important;
}

.theme-slider__button::after {
	display: none !important;
}

.theme-slider__pagination {
	position: relative;
	inset: 0 !important;
	margin: 0 !important;
	padding: 0 calc(var(--theme-padding));
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--theme-padding) * 1);
}

.theme-slider__pagination .swiper-pagination-bullet {
  width: calc(var(--theme-padding) * 1);
  border-radius: calc(var(--theme-padding) * 3);
  height: calc(var(--theme-padding) * 0.5);
  background: black !important;
  opacity: 0.25 !important;
  transition: all 0.25s ease-in-out;
}

.theme-slider__pagination .swiper-pagination-bullet-active {
	width: calc(var(--theme-padding) * 2);
}

.theme-slider__pagination .swiper-pagination-bullet:hover,
.theme-slider__pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
}

/* Carousel 
==================================================================================== */
.theme-carousel {
	padding: 0 !important;
}

.theme-carousel__slider {
	overflow: visible !important;
}

/* Slider > Navigation */
.theme-carousel__navigation {
  position: relative;
  padding: calc(var(--theme-padding) * 2) calc(var(--theme-padding) * 1) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-carousel__navigation:has(.swiper-button-lock, .swiper-pagination-lock) {
	display: none !important;
}

.theme-carousel__button {
	border: 1px solid var(--color-main) !important;
  background: var(--color-background) !important;
  position: relative;
  inset: 0 !important;
  color: var(--color-main) !important;
  min-width: calc(var(--theme-padding) * 3);
  height: calc(var(--theme-padding) * 3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--font-base-size) * 1.25);
  border-radius: calc(var(--theme-padding) * 3);
  z-index: 99;
  margin: 0 !important;
}

.theme-carousel__button:hover {
	background: var(--color-main) !important;
	color: var(--color-background) !important;
	border-color: var(--color-main) !important;
}

.theme-carousel__button::after {
	display: none !important;
}

.theme-carousel__pagination {
	position: relative;
	inset: 0 !important;
	margin: 0 !important;
	padding: 0 calc(var(--theme-padding));
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--theme-padding) * 1);
}

.theme-carousel__pagination .swiper-pagination-bullet {
  width: calc(var(--theme-padding) * 1);
  border-radius: calc(var(--theme-padding) * 3);
  height: calc(var(--theme-padding) * 0.5);
  background: var(--color-main) !important;
  opacity: 0.25 !important;
  transition: all 0.25s ease-in-out;
}

.theme-carousel__pagination .swiper-pagination-bullet-active {
	width: calc(var(--theme-padding) * 2);
}

.theme-carousel__pagination .swiper-pagination-bullet:hover,
.theme-carousel__pagination .swiper-pagination-bullet-active {
	opacity: 1 !important;
}

/* Media Queries */
@media (width <= 575px) {
	.theme-carousel__slider {
		max-width: 80vw !important;
	}

	.theme-carousel__slider .card-block__wrapper + .swiper-slide-shadow {
		display: none !important;
	}
}

/* Banners 
==================================================================================== */
/* Banner block */
.banner-block {
	padding-right: var(--theme-padding);
	padding-left: var(--theme-padding);
	background: var(--color-background);
}

.banner-block__wrapper {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: calc(var(--theme-padding) * 1.5);
	padding: calc(var(--theme-padding) * 2) calc(var(--theme-padding) * 3) calc(var(--theme-padding) * 4);
}

.banner-block__picture, 
.banner-block__image {
	width: 100%;
}

.banner-block__picture {
	max-width: 240px;
}

.banner-block__title {
	color: var(--color-main);
	font-size: calc(var(--font-base-size) * 1.75);
}

.banner-block__text, 
.banner-block__text > *:last-child {
  margin-bottom: 0;
}

.banner-block__text {
  color: var(--color-secondary);
  font-size: calc(var(--font-base-size) * 1.125);
}


/* Cards 
==================================================================================== */
.card-block {
	padding-right: var(--theme-padding);
	padding-left: var(--theme-padding);
	position: relative;
	z-index: 1;
	transition: var(--theme-transition-fast);
}

.card-block[data-spacing="false"] {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.card-block__wrapper, 
.card-block__anchor, 
.card-block__picture, 
.card-block__image {
	width: 100%;
	display: block;
	height: auto;
}

.card-block__wrapper {
	overflow: hidden;
	transition: var(--theme-transition-fast);
	position: relative;
	z-index: 1;
}

/* Card Block > Swiper Slide */
.card-block.swiper-slide {
	height: auto !important;
}

/* Card Block > Corners */
.card-block {
	&:is([data-corners="sm"]) .card-block__wrapper {
		border-radius: var(--theme-radius-sm);
	}

	&:is([data-corners="md"]) .card-block__wrapper {
		border-radius: var(--theme-radius-md);
	}

	&:is([data-corners="lg"]) .card-block__wrapper {
		border-radius: var(--theme-radius-lg);
	}

	&:is([data-corners="xl"]) .card-block__wrapper {
		border-radius: var(--theme-radius-xl);
	}
}

/* Cards wrapper */
.cards-wrapper:has(.card-block[data-spacing="true"]) {
	row-gap: calc(var(--theme-padding) * 2);
}

.theme-section__container--stretch .cards-wrapper:has(.card-block[data-spacing="true"]) {
	padding-right: var(--theme-padding);
	padding-left: var(--theme-padding);
}

/* Card content */
.card-block__content,
.card-block__info {
	display: flex;
	flex-direction: column;
	gap: calc(var(--theme-padding) * 1.25);
}

.card-block__content {
	padding: calc(var(--theme-padding) * 3) calc(var(--theme-padding) * 2);
	height: 100%;
}

.card-block__subtitle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
	text-transform: uppercase;
	font-family: var(--font-main);
	font-weight: 600;
	letter-spacing: 1px;
	color: var(--color-main);
	margin: 0;
}

.card-block__description {
	color: var(--color-secondary);
}

/* Card Block > Simple */
.card-block[data-card="simple"] {
	&:is([data-spacing="false"]):has(.card-block__anchor):hover {
		z-index: 2;
	}

	& .card-block__anchor {
		box-shadow: 0 0 16px transparent;
	}

	& .card-block__anchor:is(:hover, :focus) {
		box-shadow: 0 0 16px rgba(0,0,0,0.25);
	}
}

/* Card Block > Dynamic */
.card-block[data-card="dynamic"] {
	&:is([data-ratio="landscape"]) :is(.card-block__gallery, .card-block__picture) {
		aspect-ratio: var(--aspect-ratio-landscape);
	}

	&:is([data-ratio="rectangular"]) :is(.card-block__gallery, .card-block__picture) {
		aspect-ratio: var(--aspect-ratio-rectangular);
	}

	&:is([data-ratio="square"]) :is(.card-block__gallery, .card-block__picture) {
		aspect-ratio: var(--aspect-ratio-square);
	}

	&:is([data-ratio="vertical"]) :is(.card-block__gallery, .card-block__picture) {
		aspect-ratio: var(--aspect-ratio-vertical);
	}

	& .card-block__anchor {
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	& .card-block__wrapper {
		overflow: visible;
	}

	& .card-block__gallery {
    width: 100%;
    padding-top: calc(var(--theme-padding) * 1.5);
	}

	& .card-block__picture, 
	& .card-block__image {
	  width: 100%;
	  height: 100%;
	}

	& .card-block__image {
	  object-fit: contain;
	  object-position: center center;
	  transform: scale(1.0);
	  transition: var(--theme-transition-fast);
	}

	& .card-block__wrapper:has(.card-block__anchor):is(:hover, :focus) .card-block__image {
	  transform: scale(1.25);
	}

	& .card-block__info + .button {
		margin-top: auto;
	}

	/*&:is([data-line-divider="true"]) .card-block__content {
		border-top: 1px solid var(--color-main-op2);
	}*/
}

/* Card Block > Multiple */
.card-block:is([data-card="dynamic"], [data-card="boxed"]) {
	background: transparent !important;

	&:has(.card-block__anchor):hover {
		z-index: 2;
	}

	& .card-block__wrapper {
		height: 100%;
		background: var(--color-background) !important;
		box-shadow: 0 0 16px transparent;
	}

	&:has(.card-block__anchor):is(:hover, :focus) .card-block__wrapper {
		box-shadow: 0 0 16px rgba(0,0,0,0.25);
	}
}

/* Card Media Queries */
@media (max-width: 575px) {
	.card-block__subtitle {
		font-size: calc(var(--font-base-size) * 0.625);
	}

	.card-block__title {
		font-size: calc(var(--font-base-size) * 1.5);
	}

	.card-block__description {
		font-size: calc(var(--font-base-size) * 1);
	}
}

@media (min-width: 576px) {
	.card-block__subtitle {
		font-size: calc(var(--font-base-size) * 0.75);
	}

	.card-block__title {
		font-size: calc(var(--font-base-size) * 1.75);
	}

	.card-block__description {
		font-size: calc(var(--font-base-size) * 1.125);
	}
}

/* Theme Product 
==================================================================================== */
.theme-product {
	position: relative;
	overflow: hidden;
	background: transparent !important;
}

.theme-product__background {
	position: absolute;
	z-index: 1;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--color-background-gradient, var(--color-background));
}

.theme-product:not([data-bundle="flagg"]):nth-child(even) .theme-product__background {
	transform: rotate(180deg);
}

.theme-product__picture {
	width: 100%;
	display: block;
}

.theme-product__image {
	width: auto !important;
	margin: 0 auto !important;
}

.theme-product__content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: calc(var(--theme-padding) * 2);
}

.theme-product[data-uppercase="true"] .theme-product__name {
  text-transform: uppercase;
}

.theme-product__subtitle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
	font-size: 50%;
	margin-bottom: calc(var(--font-base-size) * 0.5);
}

.theme-product__divider {
	margin: 0 auto !important;
}

.theme-product__description {
  color: var(--color-secondary);
}

.theme-product__litres {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
	gap: calc(var(--theme-padding));
}

.theme-product__litres-badge {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	padding: calc(var(--theme-padding) * 0.5) calc(var(--theme-padding) * 1.5);
	border-radius: calc(var(--theme-radius-xl) * 2);
	font-size: calc(var(--font-base-size) * 1.125);
	font-weight: bold;
}

/* Product table */
.product-table {
	padding: calc(var(--theme-padding) * 1.5);
	border-radius: var(--theme-radius-lg);
}

.product-table:not([data-bundle]),
.product-table:not([data-bundle]) * {
	color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, 0.5); !important;
}

.product-table:not([data-bundle]) {
	background: linear-gradient(0deg, #FF2600 0%, #FF2F92 100%);
}

.product-table__container, 
.product-table__container thead > tr > th,
.product-table__container tbody > tr > :is(th, td) {
	background: transparent !important;
	border-color: var(--color-main-op5);
	color: var(--color-main);
	padding: calc(var(--theme-padding) * 0.75);
}

.product-table__container tbody > tr > :is(th, td) {
	padding: calc(var(--theme-padding) * 0.75);
	vertical-align: middle;
	line-height: 1.25;
}

.product-table__container {
	margin-bottom: 0 !important;
}

.product-table__title {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.5;
  font-size: calc(var(--font-base-size) * 0.875);
}

.product-table__subtitle {
	font-family: var(--font-secondary);
	font-size: calc(var(--font-base-size) * 0.875);
	font-weight: 600;
}

.product-table__content {
  font-size: calc(var(--font-base-size) * 0.875);
}

/* Media Queries */
@media (max-width: 418px) {
	.product-table__subtitle {
		max-width: 160px;
	}
}

@media (max-width: 575px) {
	.theme-product {
		padding-top: calc(var(--theme-padding) * 5);
		padding-bottom: calc(var(--theme-padding) * 5);
	}

	.theme-product__row {
		row-gap: calc(var(--theme-padding) * 2);
	}

	.theme-product__name {
		font-size: calc(var(--font-base-size) * 1.5);
	}

	.theme-product__description {
		font-size: calc(var(--font-base-size) * 1);
	}
}

@media (min-width: 576px) {
	.theme-product {
		padding-top: calc(var(--theme-padding) * 7);
		padding-bottom: calc(var(--theme-padding) * 7);
	}

	.theme-product__column--first {
		padding-right: calc(var(--theme-padding) * 2);
	}

	.theme-product__column--last {
		padding-left: calc(var(--theme-padding) * 2);
	}

	.theme-product[data-alternate="true"]:nth-child(even) .theme-product__column--first {
		order: 2;
		padding-left: calc(var(--theme-padding) * 2) !important;
		padding-right: var(--theme-padding) !important;
	}

	.theme-product[data-alternate="true"]:nth-child(even) .theme-product__column--last {
		order: 1;
		padding-right: calc(var(--theme-padding) * 2) !important;
		padding-left: var(--theme-padding) !important;
	}

	.theme-product__name {
		font-size: calc(var(--font-base-size) * 1.75);
	}

	.theme-product__description {
		font-size: calc(var(--font-base-size) * 1.125);
	}
}

/* Instagram Post
==================================================================================== */
.ig-post {
  padding-right: var(--theme-padding);
  padding-left: var(--theme-padding);
  background: transparent !important;
}

.ig-post__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
	background: var(--color-background);
	border-radius: var(--theme-radius-sm);
	overflow: hidden;
}

/* Heading */
.ig-heading {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: calc(var(--theme-padding) * 1);
}

.ig-heading__block {
	max-width: 100%;
	min-width: fit-content;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: calc(var(--theme-padding) * 0.75);
}

.ig-heading__logo {
	width: 30px;
	min-width: 30px !important;
	height: 30px;
	min-height: 30px !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 30px;
	padding: 4px;
	background: #FF0200;
}

.ig-heading__name {
	font-weight: bold;
	font-family: var(--font-main);
	font-size: calc(var(--font-base-size) * 0.875);
	color: var(--color-main) !important;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: calc(var(--font-base-size) * 0.5);
	line-height: 1;
}

.ig-heading__name:hover > span {
	text-decoration: underline !important;
}

.ig-heading__name > .ph-seal-check {
  color: var(--color-links) !important;
}

/* Content */
.ig-content {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: calc(var(--theme-padding) * 1.25) calc(var(--theme-padding) * 1);
}

.ig-content__link {
	font-weight: bold;
	font-family: var(--font-main);
	font-size: calc(var(--font-base-size) * 0.825);
	color: var(--color-links) !important;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	line-height: 1;
}

.ig-content__link:hover {
	color: var(--color-links-hover) !important;
}

.ig-content__icon {
	color: var(--color-main);
	font-size: calc(var(--font-base-size) * 1.25);
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Youtube Block
==================================================================================== */
.youtube-block { 
  position: relative; 
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
} 

.youtube-block iframe,
.youtube-block object,
.youtube-block embed { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Contact Block
==================================================================================== */
.contact-block {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	padding: calc(var(--theme-padding) * 2.5) calc(var(--theme-padding) * 2);
	row-gap: calc(var(--theme-padding) * 1.5);
}

.contact-block__item, 
.contact-block__heading {
	width: 100%;
	display: flex;
	justify-content: flex-start;
}

.contact-block__item {
	flex-direction: column;
	gap: calc(var(--theme-padding) * 1);
	align-items: self-start;
}

.contact-block__heading {
	line-height: 1;
	font-size: calc(var(--font-base-size) * 1.125);
	gap: calc(var(--font-base-size) * 0.5);
	align-items: center;
}

.contact-block__icon {
	color: var(--color-accent);
	font-size: 120%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-block__value, 
.contact-block__link {
	font-family: var(--font-main);
	font-weight: 600;
	color: var(--color-links) !important;
}

.contact-block__link:hover {
	color: var(--color-links-hover) !important;
}

.contact-block__text {
	width: 100%;
	font-size: calc(var(--font-base-size));
	color: var(--color-secondary);
}

/* Corners */
.contact-block[data-corners="sm"] {
	border-radius: var(--theme-radius-sm);
}

.contact-block[data-corners="md"] {
	border-radius: var(--theme-radius-md);
}

.contact-block[data-corners="lg"] {
	border-radius: var(--theme-radius-lg);
}

.contact-block[data-corners="xl"] {
	border-radius: var(--theme-radius-xl);
}

/* Theme Accordion
==================================================================================== */
.theme-accordion {
	background: transparent !important;
	border-radius: 0 !important;
	border: none !important;
	width: 100% !important;
	display: flex;
	flex-direction: column;
}

.theme-accordion__item {
	border-radius: 0 !important;
	border: 1px solid var(--color-background) !important;
	overflow: hidden;
}

/* Spacing */
.theme-accordion[data-spacing="true"] {
	gap: calc(var(--theme-padding) * 1);
}

.theme-accordion[data-spacing="true"] .theme-accordion__item {
	border: none !important;
	border-radius: var(--accordion-corners) !important;
}

.theme-accordion[data-spacing="false"] .theme-accordion__item:first-child {
	border-radius: var(--accordion-corners-top) var(--accordion-corners-top) 0 0 !important;
}

.theme-accordion[data-spacing="false"] .theme-accordion__item:last-child {
	border-radius: 0 0 var(--accordion-corners-bottom) var(--accordion-corners-bottom) !important;
}

/* Button */
.theme-accordion__button {
	color: var(--accordion-item-text) !important;
	background: var(--accordion-item-background) !important;
	padding: calc(var(--theme-padding) * 1.5);
	font-family: var(--font-main) !important;
	font-weight: 500;
	align-items: center;
	justify-content: space-between;
	box-shadow: none !important;
}

.theme-accordion__button[aria-expanded="true"],
.theme-accordion__button[aria-expanded="false"]:hover {
	color: var(--accordion-item-text-active) !important;
	background: var(--accordion-item-background-active) !important;
}

.theme-accordion__button::after {
	display: none !important;
}

.theme-accordion__caret {
	width: calc(var(--font-base-size) * 1.5);
	height: calc(var(--font-base-size) * 1.5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 125%;
	transform: rotate(0deg);
	transition: transform 0.25s ease-in-out;
}

.theme-accordion__button[aria-expanded="true"] .theme-accordion__caret {
	transform: rotate(180deg);
}

/* Body */
.theme-accordion__body,
.theme-accordion__body * {
	font-family: var(--font-secondary) !important;
	color: var(--accordion-content-text) !important;
	background: var(--accordion-content-background) !important;
}

.theme-accordion__body {
	padding: calc(var(--theme-padding) * 2) calc(var(--theme-padding) * 1.5);
}

.theme-accordion__body *:last-child {
	margin-bottom: 0 !important;
}

/* Timeline Block
==================================================================================== */
.timeline-block {
	padding-right: calc(var(--theme-padding) * 2);
	padding-left: calc(var(--theme-padding) * 2);
}

.timeline-block__wrapper {
	max-width: 216px;
	min-height: 300px;
	height: 100%;
	margin: 0 auto;
	border: 4px solid var(--color-main);
	border-radius: calc(var(--theme-radius-xl) * 1.75);
	padding: calc(var(--theme-radius-xl) * 0.625);
	position: relative;
}

.timeline-block__wrapper::before,
.timeline-block__wrapper::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 2;
	width: 4px;
	height: 36px;
	background: var(--color-background);
}

.timeline-block__wrapper::before {
	left: -4px;
	bottom: calc(var(--theme-radius-xl) * 1.75);
}

.timeline-block__wrapper::after {
	right: -4px;
	bottom: calc(var(--theme-radius-xl) * 3.75);
}

.timeline-block__container {
	height: 100%;
	background: transparent;
	border-radius: calc(var(--theme-radius-xl) * 1);
	position: relative;
	z-index: 1;
}

.timeline-block__container::before, 
.timeline-block__container::after {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	z-index: 1;
	height: 50%;
	background: var(--color-main);
}

.timeline-block__container::before {
	top: 0;
	border-radius: calc(var(--theme-radius-xl) * 1) calc(var(--theme-radius-xl) * 1) 0 0;
}

.timeline-block__container::after {
	bottom: 0;
	border-radius: 0 0 calc(var(--theme-radius-xl) * 12) calc(var(--theme-radius-xl) * 1);
}

.timeline-block__heading,
.timeline-block__content {
	position: relative;
	z-index: 2;
}

.timeline-block__heading {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: auto;
	position: relative;
	margin-left: calc(-2.5 * var(--theme-padding));
	margin-right: calc(-1.75 * var(--theme-padding));
	padding-top: calc(var(--theme-padding) * 0.75);
}

.timeline-block__icon {
	background: var(--color-background);
	color: var(--color-main);
	font-size: calc(var(--font-base-size) * 1.5);
	width: calc(var(--font-base-size) * 3.5);
	min-width: calc(var(--font-base-size) * 3.5);
	height: calc(var(--font-base-size) * 3.5);
	min-height: calc(var(--font-base-size) * 3.5);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: calc(var(--font-base-size) * 3.5);
	box-shadow: 1px 0px 2px rgba(0, 0, 0, .2);
	border: 6px solid var(--color-main);
	position: relative;
	z-index: 2;
}


.timeline-block__year {
	width: 100%;
	color: var(--color-background);
	font-family: var(--font-main);
	font-weight: bold;
	font-size: calc(var(--font-base-size) * 1.25);
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	background: var(--color-main);
	box-shadow: 1px 0px 2px rgba(0, 0, 0, .2);
	position: relative;
	z-index: 1;
	margin-left: -8px;
	padding-top: calc(var(--font-base-size) * 0.5);
	padding-bottom: calc(var(--font-base-size) * 0.5);
	padding-right: calc(var(--font-base-size) * 1);
	/* clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 0% 50%); */
	border: 2px solid var(--color-background);
	height: 40px;
	position: relative;
}

.timeline-block__year::after {
	content: "";
	width: 28px;
	height: 28px;
	position: absolute;
	background: var(--color-white);
	top: 4px;
	right: -16px;
	transform: rotate(45deg);
	border: 2px solid var(--color-background);
	border-width: 2px 2px 0 0;
	border-radius: 0px 4px 0 0;
}

.timeline-block__content {
	padding: calc(var(--theme-padding) * 1) calc(var(--theme-padding) * 1.5);
	display: flex;
	flex-direction: column;
	gap: calc(var(--theme-padding) * 1);
}

.timeline-block__text {
	color: rgba(0, 0, 0, .8);
	font-size: calc(var(--font-base-size) * 0.75);
	line-height: 1.25;
}

.timeline-block__arrow {
	background: var(--color-main);
	height: 4px;
	width: 36px;
	position: absolute;
	bottom: calc(var(--theme-radius-xl) * 3.75);
	right: -36px;
	z-index: 3;
	border-radius: 0 4px 4px 0;
}

.timeline-block__arrow::before,
.timeline-block__arrow::after {
	content: "";
	display: block;
	width: 24px;
	height: 4px;
	position: absolute;
	background: var(--color-main);
	border-radius: 4px;
	right: -3px;
}

.timeline-block__arrow::before {
	transform: rotate(-45deg);
	top: 7px;
}

.timeline-block__arrow::after {
	transform: rotate(45deg);
	bottom: 7px;
}

.timeline-block__index {
	font-family: var(--font-main);
	font-weight: 600;
	font-size: calc(var(--font-base-size) * 1.5);
	color: var(--color-main);
	position: absolute;
	width: 100%;
	bottom: calc(var(--theme-radius-xl) * 0.625);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: calc(var(--font-base-size) * 0.5) calc(var(--font-base-size) * 1.75);
	z-index: 3;
}

/* Timeline block > Images sizes */
.theme-timeline__row:nth-child(1) .timeline-block:nth-child(1) .timeline-block__image {
	width: 90px;
}

.theme-timeline__row:nth-child(1) .timeline-block:nth-child(2) .timeline-block__image,
.theme-timeline__row:nth-child(1) .timeline-block:nth-child(3) .timeline-block__image {
	width: 70px;
}

.theme-timeline__row:nth-child(1) .timeline-block:nth-child(4) .timeline-block__image {
	width: 100px;
}

.theme-timeline__row:nth-child(1) .timeline-block:nth-child(5) .timeline-block__image {
	width: 60px;
}

.theme-timeline__row:nth-child(2) .timeline-block:nth-child(1) .timeline-block__image {
	width: 60px;
}

.theme-timeline__row:nth-child(2) .timeline-block:nth-child(2) .timeline-block__image,
.theme-timeline__row:nth-child(2) .timeline-block:nth-child(3) .timeline-block__image {
	width: 90px;
}

.theme-timeline__row:nth-child(2) .timeline-block:nth-child(4) .timeline-block__image {
	width: 50px;
}

.theme-timeline__row:nth-child(3) .timeline-block:nth-child(1) .timeline-block__image {
	width: 110px;
}

.theme-timeline__row:nth-child(3) .timeline-block:nth-child(2) .timeline-block__image {
	width: 90px;
}

/* Media Queries */
@media (width >= 992px) {
	.timeline-block:nth-child(even) {
		transform: translateY(calc(var(--theme-padding) * 6));
	}
}

/* Theme Timeline
==================================================================================== */
.theme-timeline {
	padding-top: calc(var(--theme-padding) * 5);
}

.theme-timeline::after {
	width: 100%;
	height: 50%;
	display: block;
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 1;
	background: var(--color-main);
}

.theme-timeline__container {
	position: relative;
	z-index: 3;
}

.theme-timeline__heading {
	padding-bottom: calc(var(--theme-padding) * 3);
}

.theme-timeline__picture,
.theme-timeline__image {
	width: 100%;
	display: block;
	margin: 0 auto;
}

.theme-timeline__illustration-wrapper {
	width: auto;
	display: flex;
	position: absolute;
	right: 0;
	left: 0;
	z-index: 2;
	bottom: 0;
}

.theme-timeline__illustration-wrapper--single {
	height: 100%;
	align-items: center;
	justify-content: flex-start;
	padding-bottom: calc(var(--theme-padding) * 20);
	padding-left: calc(var(--theme-padding) * 2);
}

.theme-timeline__illustration-wrapper--single .theme-timeline__illustration {
	width: 240px;
}

.theme-timeline__illustration-wrapper--double {
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 calc(var(--theme-padding) * 3);
}

.theme-timeline__illustration-wrapper--double .theme-timeline__illustration:first-child {
	width: 30%;
}

.theme-timeline__illustration-wrapper--double .theme-timeline__illustration:last-child {
	width: 25%;
	margin-bottom: calc(var(--theme-padding) * 3);
}

.theme-timeline__row:nth-child(3) .timeline-block__wrapper {
	min-height: 330px;
}

/* Media Queries */
@media (width <= 575px) {
	.theme-timeline {
		padding-bottom: calc(var(--theme-padding) * 15);
	}

	.theme-timeline__row {
		row-gap: calc(var(--theme-padding) * 6);
	}

	.theme-timeline__row + .theme-timeline__row {
		padding-top: calc(var(--theme-padding) * 6);
	}

	.timeline-block__arrow {
		transform: rotate(90deg);
		right: 78px;
		bottom: -27px;
		width: 50px;
	}

	.timeline-block__wrapper::before,
	.timeline-block__wrapper::after {
		display: none;
	}

	.theme-timeline__row:last-child .timeline-block:last-child .timeline-block__arrow {
		display: none;
	}

	/* Red cards */
	.theme-timeline__row:nth-child(2) .timeline-block:is(:nth-child(2), :nth-child(4)),
	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__container,
		& .timeline-block__arrow,
		& .timeline-block__arrow::before,
		& .timeline-block__arrow::after {
			background: var(--color-background);
		}

		& .timeline-block__wrapper {
			border-color: var(--color-background);
		}
	}

	/* Illustrations */
	.theme-timeline__illustration-wrapper--double .theme-timeline__illustration:first-child {
    width: 50%;
  }

  .theme-timeline__illustration-wrapper--double .theme-timeline__illustration:last-child {
    width: 40%;
  }
}

@media (width >= 576px) and (width <= 991px) {
	.theme-timeline {
		padding-bottom: calc(var(--theme-padding) * 24);
	}

	.theme-timeline__row {
		row-gap: calc(var(--theme-padding) * 6);
	}

	.theme-timeline__row + .theme-timeline__row {
		padding-top: calc(var(--theme-padding) * 6);
	}

	.theme-timeline__row:nth-child(1) {
		justify-content: flex-start !important;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(1) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(2) .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(3) .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(4) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(5) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(5) .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(1) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(2) .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(3) .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(4) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(1) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(2) .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(2) .timeline-block__wrapper::after {
		display: none;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(1) {
		order: 1;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(2) {
		order: 2;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(3) {
		order: 4;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(4) {
		order: 3;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(5) {
		order: 5;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:is(:nth-child(2), :nth-child(4), :nth-child(5)) .timeline-block__arrow,
	.theme-timeline__row:nth-child(2) .timeline-block:is(:nth-child(2), :nth-child(4)) .timeline-block__arrow {
		transform: rotate(90deg);
		right: 78px;
		bottom: -27px;
		width: 50px;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(3) .timeline-block__arrow,
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(3) .timeline-block__arrow {
		transform: rotate(180deg);
		right: auto;
		left: -36px;
	}

	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(1) {
		order: 1;
	}

	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(2) {
		order: 2;
	}

	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(3) {
		order: 4;
	}

	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(4) {
		order: 3;
	}

	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(2) .timeline-block__arrow {
		display: none;
	}

	/* Red cards */
	.theme-timeline__row:nth-child(1) .timeline-block:last-child,
	.theme-timeline__row:nth-child(2) .timeline-block:is(:nth-child(2), :nth-child(4)),
	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__container,
		& .timeline-block__arrow,
		& .timeline-block__arrow::before,
		& .timeline-block__arrow::after {
			background: var(--color-background);
		}
	}

	.theme-timeline__row:nth-child(2) .timeline-block:is(:nth-child(2), :nth-child(4)),
	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__wrapper {
			border-color: var(--color-background);
		}
	}

	/* Illustrations */
	.theme-timeline__illustration-wrapper--single {
		justify-content: flex-end;
		padding-left: 0;
		padding-right: calc(var(--theme-padding) * 5);
		padding-bottom: calc(var(--theme-padding) * 24);
	}

	.theme-timeline__illustration-wrapper--double .theme-timeline__illustration:first-child {
		width: 50%;
	}

	.theme-timeline__illustration-wrapper--double .theme-timeline__illustration:last-child {
    width: 35%;
  }
}

@media (width <= 991px) {
	/* Blue cards */
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(2),
	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(4),
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(1),
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(3),
	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(1) {
		& .timeline-block__wrapper {
			border-color: var(--color-blue);
		}

		& .timeline-block__container,
		& .timeline-block__icon,
		& .timeline-block__year {
			background: var(--color-blue);
		}

		& .timeline-block__year {
			color: var(--color-main);
		}

		& .timeline-block__arrow,
		& .timeline-block__arrow::before,
		& .timeline-block__arrow::after {
			background: var(--color-blue);
		}
	}

	.theme-timeline__row:is(:nth-child(2), :nth-child(3)) {
		& .timeline-block__wrapper::before, 
		& .timeline-block__wrapper::after {
			background: var(--color-main);
		}
	}
}

@media (width >= 992px) {
	.theme-timeline__row {
		padding-bottom: calc(var(--theme-padding) * 12);
	}

	.theme-timeline__row:nth-child(2) {
		justify-content: flex-start !important;
		flex-direction: row-reverse;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:last-child .timeline-block__arrow {
		transform: rotate(90deg);
		right: 0;
		bottom: -62px;
		width: 120px;
	}

	.theme-timeline__row:nth-child(2) .timeline-block:last-child .timeline-block__arrow {
		transform: rotate(90deg);
		right: 0;
		bottom: -62px;
		width: 120px;
	}

	.theme-timeline__row:nth-child(2) .timeline-block__arrow {
		transform: rotate(180deg);
		right: auto;
		left: -36px;
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(even),
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(odd),
	.theme-timeline__row:nth-child(3) .timeline-block:nth-child(odd) {
		& .timeline-block__wrapper {
			border-color: var(--color-blue);
		}

		& .timeline-block__container,
		& .timeline-block__icon,
		& .timeline-block__year {
			background: var(--color-blue);
		}

		& .timeline-block__year {
			color: var(--color-main);
		}

		& .timeline-block__year::after {
			background: var(--color-blue);
		}
	}

	.theme-timeline__row:nth-child(1) .timeline-block:nth-child(even),
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(odd),
	.theme-timeline__row:nth-child(3) .timeline-block:first-child {
		& .timeline-block__arrow,
		& .timeline-block__arrow::before,
		& .timeline-block__arrow::after {
			background: var(--color-blue);
		}
	}

	.theme-timeline__row:nth-child(1) .timeline-block:first-child .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(1) .timeline-block:last-child .timeline-block__wrapper::after,
	.theme-timeline__row:nth-child(2) .timeline-block:last-child .timeline-block__wrapper::before,
	.theme-timeline__row:nth-child(3) .timeline-block:first-child .timeline-block__wrapper::before {
		background: transparent;
	}

	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__wrapper::after {
			background: transparent;
		}

		& .timeline-block__arrow {
			display: none;
		}
	}

	/* Contrasted blocks */
	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(even),
	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__wrapper {
			border-color: var(--color-background);
		}

		& .timeline-block__wrapper::before,
		& .timeline-block__wrapper::after {
			background: var(--color-main);
		}

		& .timeline-block__container {
			background: var(--color-background);
		}

		& .timeline-block__arrow,
		& .timeline-block__arrow::before,
		& .timeline-block__arrow::after {
			background: var(--color-background);
		}
	}

	.theme-timeline__row:nth-child(2) .timeline-block:last-child {
		& .timeline-block__wrapper::before {
			display: none;
		}
	}

	.theme-timeline__row:nth-child(2) .timeline-block:nth-child(odd) {
		& .timeline-block__wrapper::before,
		& .timeline-block__wrapper::after {
			background: var(--color-main);
		}
	}

	.theme-timeline__row:nth-child(3) .timeline-block:first-child {
		& .timeline-block__wrapper::after {
			background: var(--color-main);
		}
	}

	.theme-timeline__row:nth-child(3) .timeline-block:last-child {
		& .timeline-block__wrapper::before,
		& .timeline-block__wrapper::after {
			display: none;
		}
	}

	.theme-timeline__row:nth-child(3) .timeline-block:first-child {
		& .timeline-block__year, 
		& .timeline-block__year::after {
			border-color: var(--color-main);
		}
	}
}





























