/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 600;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/**
 *	Fluid sized fonts
 *	Read more here:
 *	https://css-tricks.com/snippets/css/fluid-typography/
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
:root {
  --spacing-block: 7.5rem;
  --spacing-block-small: 3rem;
  --spacing-content: 5rem;
  --spacing-grid-gap: 4rem;
  --element-width-wide: 2000px;
  --element-width-content: 950px;
  --element-width-text-narrow: 850px;
  --element-border-radius: 16px;
  --element-aspect-ratio: 3 / 2;
  --font-family: "Roboto", Helvetica, arial, sans-serif;
  --font-family-display: Georgia, serif;
  --font-size-ui: 14px;
  --font-size-ui-mobile: 12px;
  --color__white: rgb(252, 252, 252);
  --color__black: rgb(24, 24, 24);
  --color__grey: rgb(102, 102, 102);
  --color__grey-light: #EDEDED;
  --color__grey-light2: #d9d9d9;
  --color__grey-light-alt: rgb(217, 217, 217);
  --color__grey-lightest: rgb(248, 248, 248);
  --color__green: rgb(57, 115, 102);
  --color__green-dark: #397366;
  --color__green-light: rgb(215, 241, 236);
  --color__green-bright: #50B275;
  --color__mint-green: #A7D9CC;
  --color__green-light2: #EEF6F4;
  --color__green-lightest: rgb(243, 248, 247);
  --color__green-lime: rgb(232, 246, 213);
  --color__blue-light: rgb(208, 238, 252);
  --color__turqoise: #EDF7F5;
  --color__text: var(--color__grey);
  --color__green-light-new: #50B275;
  --color__green-light-new-2: #C5E1CC;
  --color__green-light-new-3: #397467;
  --color__new-bg: #EAEAEA;
}

body {
  background-color: var(--color__new-bg);
}

section.featured-investments-cards.awaiting-animation .info .card,
section.featured-investments-cards.awaiting-animation .info .footer {
  opacity: 0;
  transform: translateY(150px);
}

section.featured-investments-cards.should-animate .info .card,
section.featured-investments-cards.should-animate .info .footer {
  opacity: 1;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: 650ms;
  transition-timing-function: ease-in-out;
}

section.featured-investments-cards.should-animate .info:nth-child(1) .card,
section.featured-investments-cards.should-animate .info:nth-child(1) .footer {
  transition-delay: 150ms;
}

section.featured-investments-cards.should-animate .info:nth-child(2) .card,
section.featured-investments-cards.should-animate .info:nth-child(2) .footer {
  transition-delay: 300ms;
}

section.featured-investments-cards.should-animate .info:nth-child(3) .card,
section.featured-investments-cards.should-animate .info:nth-child(3) .footer {
  transition-delay: 450ms;
}

section.featured-investments-cards.should-animate .info:nth-child(4) .card,
section.featured-investments-cards.should-animate .info:nth-child(4) .footer {
  transition-delay: 600ms;
}

section.featured-investments-cards.should-animate .info:nth-child(5) .card,
section.featured-investments-cards.should-animate .info:nth-child(5) .footer {
  transition-delay: 750ms;
}

section.featured-investments-cards.should-animate .info:nth-child(6) .card,
section.featured-investments-cards.should-animate .info:nth-child(6) .footer {
  transition-delay: 900ms;
}

section.featured-investments-cards.should-animate .info:nth-child(7) .card,
section.featured-investments-cards.should-animate .info:nth-child(7) .footer {
  transition-delay: 1050ms;
}

section.featured-investments-cards.should-animate .info:nth-child(8) .card,
section.featured-investments-cards.should-animate .info:nth-child(8) .footer {
  transition-delay: 1200ms;
}

section.featured-investments-cards.should-animate .info:nth-child(9) .card,
section.featured-investments-cards.should-animate .info:nth-child(9) .footer {
  transition-delay: 1350ms;
}

section.featured-investments-cards.should-animate .info:nth-child(10) .card,
section.featured-investments-cards.should-animate .info:nth-child(10) .footer {
  transition-delay: 1500ms;
}

section.featured-investments-cards.should-animate .info:nth-child(11) .card,
section.featured-investments-cards.should-animate .info:nth-child(11) .footer {
  transition-delay: 1650ms;
}

section.featured-investments-cards.should-animate .info:nth-child(12) .card,
section.featured-investments-cards.should-animate .info:nth-child(12) .footer {
  transition-delay: 1800ms;
}

section.featured-investments-cards.should-animate .info:nth-child(13) .card,
section.featured-investments-cards.should-animate .info:nth-child(13) .footer {
  transition-delay: 1950ms;
}

section.featured-investments-cards.should-animate .info:nth-child(14) .card,
section.featured-investments-cards.should-animate .info:nth-child(14) .footer {
  transition-delay: 2100ms;
}

section.featured-investments-cards.should-animate .info:nth-child(15) .card,
section.featured-investments-cards.should-animate .info:nth-child(15) .footer {
  transition-delay: 2250ms;
}

section.featured-investments-cards.should-animate .info:nth-child(16) .card,
section.featured-investments-cards.should-animate .info:nth-child(16) .footer {
  transition-delay: 2400ms;
}

section.featured-investments-cards.should-animate .info:nth-child(17) .card,
section.featured-investments-cards.should-animate .info:nth-child(17) .footer {
  transition-delay: 2550ms;
}

section.featured-investments-cards.should-animate .info:nth-child(18) .card,
section.featured-investments-cards.should-animate .info:nth-child(18) .footer {
  transition-delay: 2700ms;
}

section.featured-investments-cards.should-animate .info:nth-child(19) .card,
section.featured-investments-cards.should-animate .info:nth-child(19) .footer {
  transition-delay: 2850ms;
}

section.featured-investments-cards.should-animate .info:nth-child(20) .card,
section.featured-investments-cards.should-animate .info:nth-child(20) .footer {
  transition-delay: 3000ms;
}

section.featured-investments-cards.should-animate .info:nth-child(21) .card,
section.featured-investments-cards.should-animate .info:nth-child(21) .footer {
  transition-delay: 3150ms;
}

section.featured-investments-cards.should-animate .info:nth-child(22) .card,
section.featured-investments-cards.should-animate .info:nth-child(22) .footer {
  transition-delay: 3300ms;
}

section.featured-investments-cards.should-animate .info:nth-child(23) .card,
section.featured-investments-cards.should-animate .info:nth-child(23) .footer {
  transition-delay: 3450ms;
}

section.featured-investments-cards.should-animate .info:nth-child(24) .card,
section.featured-investments-cards.should-animate .info:nth-child(24) .footer {
  transition-delay: 3600ms;
}

section.featured-investments-cards.should-animate .info:nth-child(25) .card,
section.featured-investments-cards.should-animate .info:nth-child(25) .footer {
  transition-delay: 3750ms;
}

section.featured-investments-cards .block-section-wrapper {
  overflow: visible;
}

section.featured-investments-cards .cards-track {
  touch-action: pan-y;
}

section.featured-investments-cards .slider {
  position: relative;
  margin-top: 1.25rem;
}

section.featured-investments-cards .cards-wrapper {
  position: relative;
  overflow: hidden;
  --right-bleed: max(0px, calc((100vw - 100%) / 2));
  width: calc(100% + var(--right-bleed));
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

section.featured-investments-cards .cards-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

section.featured-investments-cards .info {
  flex: 0 0 calc(100% - 2.5rem);
  max-width: calc(100% - 2.5rem);
  display: flex;
  flex-direction: column;
}

section.featured-investments-cards .info .info-link {
  text-decoration: none;
}

section.featured-investments-cards .info.is-active {
  flex-basis: calc(100% - 2.5rem);
  max-width: calc(100% - 2.5rem);
}

section.featured-investments-cards .card {
  position: relative;
  width: 100%;
  height: 32.5rem;
  border-radius: 0.875rem;
  overflow: hidden;
}

section.featured-investments-cards .media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

section.featured-investments-cards .media .card_arrow {
  position: absolute;
  right: 1.875rem;
  bottom: 1.875rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  color: #397467;
  background-color: #C5E1CC;
  z-index: 4;
  pointer-events: none;
  cursor: default;
}

section.featured-investments-cards .media:hover .card_arrow {
  background-color: #397467;
}

section.featured-investments-cards .media:hover .card_arrow svg path {
  stroke: #C5E1CC !important;
}

section.featured-investments-cards .media .video {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

section.featured-investments-cards .media .logo {
  position: absolute;
  bottom: 1.875rem;
  left: 1.875rem;
  width: 8.75rem;
  height: auto;
  z-index: 3;
  filter: brightness(0) invert(1);
}

section.featured-investments-cards .footer {
  margin-top: 1.875rem;
  max-width: 34.125rem;
}

section.featured-investments-cards .footer .name {
  color: #242424;
  font-size: 1.6875rem;
  font-weight: 400;
  line-height: 120%;
  margin-bottom: 0.9375rem;
  margin-top: 0;
  font-family: var(--font-family-display);
}

section.featured-investments-cards .footer .description {
  color: #242424;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 150%;
  text-decoration: none !important;
}

@media screen and (min-width: 850px) {
  section.featured-investments-cards .info {
    flex: 0 0 30%;
    max-width: 30%;
  }
  section.featured-investments-cards .info.is-active {
    flex: 0 0 60%;
    max-width: 60%;
  }
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9375rem;
}

.header-row .title {
  font-size: 27px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

@media screen and (max-width: 849px) {
  .header-row .title {
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
  }
}
.header-row .header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-row .header-actions .see-all {
  color: #242424;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-row .header-actions .arrow-left,
.header-row .header-actions .arrow-right {
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  background: none;
}
