/*
	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: 700;
  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.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
.chapter-footer {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  z-index: 100;
}

.chapter-footer .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.chapter-footer .video-container .bg-video {
  filter: grayscale(100%);
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.chapter-footer .video-container .video-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(1deg, #16084b 10%, #583cc7 100%);
  opacity: 0.9;
  position: absolute;
  top: 0;
  z-index: 2;
}

.chapter-footer .footer-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  color: var(--color__white);
}

@media screen and (max-width: 849px) {
  .chapter-footer .footer-content {
    gap: 3.5rem;
    margin-top: -6rem;
  }
}
.chapter-footer .footer-content .chapter-footer-tag {
  padding: 0.1rem 0.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.2em;
  text-transform: initial;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.chapter-footer .footer-content .chapter-footer-header {
  text-align: center;
  text-wrap: balance;
  max-width: 750px;
}

@media screen and (max-width: 849px) {
  .chapter-footer .footer-content .chapter-footer-header {
    max-width: 450px;
  }
}
.chapter-footer .footer-content .chapter-footer-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.chapter-footer .footer-content .chapter-footer-buttons .footer-link,
.chapter-footer .footer-content .chapter-footer-buttons .scroll-top,
.chapter-footer .footer-content .chapter-footer-buttons .main-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 60px;
  text-decoration: none;
}

@media screen and (max-width: 849px) {
  .chapter-footer .footer-content .chapter-footer-buttons .footer-link,
.chapter-footer .footer-content .chapter-footer-buttons .scroll-top,
.chapter-footer .footer-content .chapter-footer-buttons .main-cta-button {
    min-width: 260px;
    height: 50px;
  }
}
.chapter-footer .footer-content .chapter-footer-buttons .footer-link {
  color: var(--color__dark-purple);
}

.chapter-footer .footer-content .chapter-footer-buttons .scroll-top {
  gap: 0.5rem;
}

.chapter-footer .footer-content .chapter-footer-buttons .scroll-top .arrow-up {
  display: block;
  height: 32px;
  width: 32px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAyOCAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjAwMDEgMjIuMzQ1N0MxMy4wMDAxIDIyLjg5OCAxMy40NDc4IDIzLjM0NTcgMTQuMDAwMSAyMy4zNDU3QzE0LjU1MjQgMjMuMzQ1NyAxNS4wMDAxIDIyLjg5OCAxNS4wMDAxIDIyLjM0NTdIMTMuMDAwMVpNMTQuNzA3MiA1Ljk0NjUzQzE0LjMxNjcgNS41NTYwMSAxMy42ODM1IDUuNTU2MDEgMTMuMjkzIDUuOTQ2NTNMNi45MjkwNSAxMi4zMTA1QzYuNTM4NTMgMTIuNzAxIDYuNTM4NTMgMTMuMzM0MiA2LjkyOTA1IDEzLjcyNDdDNy4zMTk1OCAxNC4xMTUyIDcuOTUyNzQgMTQuMTE1MiA4LjM0MzI3IDEzLjcyNDdMMTQuMDAwMSA4LjA2Nzg1TDE5LjY1NyAxMy43MjQ3QzIwLjA0NzUgMTQuMTE1MiAyMC42ODA3IDE0LjExNTIgMjEuMDcxMiAxMy43MjQ3QzIxLjQ2MTcgMTMuMzM0MiAyMS40NjE3IDEyLjcwMSAyMS4wNzEyIDEyLjMxMDVMMTQuNzA3MiA1Ljk0NjUzWk0xNC4wMDAxIDIyLjM0NTdIMTUuMDAwMVY2LjY1MzY0SDE0LjAwMDFIMTMuMDAwMVYyMi4zNDU3SDE0LjAwMDFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K);
}
