/*
	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-3-video-end {
  width: 100%;
  height: 100%;
  color: var(--color__dark-purple);
  position: relative;
  margin-bottom: 30vh;
}

.chapter-3-video-end .end-content-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
}

.chapter-3-video-end .end-content-wrapper .end-video-container {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
}

.chapter-3-video-end .end-content-wrapper .end-video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(0, 0) !important;
  display: block;
}

.chapter-3-video-end .end-content-wrapper .end-video-container .end-video-overlay {
  width: 100%;
  height: 100%;
  background-color: #bba2e3;
  opacity: 0.7;
  position: absolute;
  top: 0;
  z-index: 3;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section {
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: 16;
  background-color: transparent;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  z-index: 17;
  padding: 1rem 2.5rem;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-video-container {
  width: 382px;
  height: 360px;
  order: 1;
}

@media (max-width: 1500px) {
  .chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-video-container {
    width: 360px;
    height: 340px;
  }
}
.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-video-container .chapter-section-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container {
  background-color: var(--color__white);
  display: flex;
  width: 460px;
  max-height: 682px;
  height: 65vh;
  padding: 30px 20px 20px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 18;
  order: 2;
  border-radius: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e5d6fa transparent;
  /* Custom scrollbar for scrollable area */
}

@media (max-width: 1500px) {
  .chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container {
    width: 400px;
  }
}
.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .chapter-text-container::-webkit-scrollbar {
  width: 8px;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .chapter-text-container::-webkit-scrollbar-thumb {
  background: #e5d6fa;
  border-radius: 8px;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .chapter-text-container::-webkit-scrollbar-track {
  background: transparent;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .text-top-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .text-top-container .chapter-index {
  position: relative;
  padding-left: 1.5em;
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .text-top-container .chapter-index::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color__purple);
  left: 5px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.chapter-3-video-end .end-content-wrapper .end-chapter-section .chapter-content .chapter-text-container .chapter-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}
