/* skeasyglow - Stiliauskodas look for the copied Easyglow pages (hand-written).
   Colours and font families are already swapped by build/build_landing.py; this file sets the shapes:
   serif headings, square black buttons, thin dark borders, white / soft pink sections. */

.eg-scope {
  --sk-ink: #222;
  --sk-grey: #707070;
  --sk-line: #ebebeb;
  --sk-soft: #f6f6f6;
  --sk-pink: #fbf2f4;
  --sk-serif: "IBM Plex Serif", Georgia, serif;
  --sk-sans: Poppins, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: var(--sk-ink);
  font-family: var(--sk-sans);
}

/* ---------- type ---------- */
.eg-scope h1,
.eg-scope h2,
.eg-scope h3,
.eg-scope .h1,
.eg-scope .h2,
.eg-scope .h3,
.eg-scope .test-block .test-content .title,
.eg-scope .test-block .test-content .greeting-title,
.eg-scope .test-block .test-content .desc .line1 {
  font-family: var(--sk-serif);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--sk-ink);
  line-height: 1.15;
}

.eg-scope .h1 b,
.eg-scope .h1 strong {
  font-weight: 600;
}

.eg-scope p,
.eg-scope li,
.eg-scope .duk-block .duk-single .duk-answer {
  font-weight: 300;
  color: var(--sk-ink);
}

.eg-scope p em {
  font-style: normal;
  font-weight: 500;
}

.eg-scope .h5,
.eg-scope .h6,
.eg-scope h5,
.eg-scope h6 {
  font-family: var(--sk-sans);
  font-weight: 500;
  color: var(--sk-ink);
}

/* ---------- buttons ---------- */
.eg-scope .default-button,
.eg-scope .default-button-2,
.eg-scope .default-button-3,
.eg-scope .default-button-4 {
  border-radius: 0;
  background: var(--sk-ink);
  color: #fff;
  font-family: var(--sk-sans);
  font-weight: 500;
  letter-spacing: 0;
  transition: background-color .2s ease;
}

.eg-scope .default-button:hover,
.eg-scope .default-button-2:hover,
.eg-scope .default-button-3:hover,
.eg-scope .default-button-4:hover {
  background: #000;
  color: #fff;
}

.eg-scope .default-button:disabled {
  background: #cfcfcf;
  color: #fff;
}

.eg-scope .default-button-2 {
  padding: 14px 30px;
}

/* ---------- sections ---------- */
.eg-scope .landing-block {
  background: #fff;
}

.eg-scope .landing-block.colored,
.eg-scope .landing-block.background1,
.eg-scope .landing-block.background2 {
  background: var(--sk-pink);
  background-image: none;
}

/* hero */
.eg-scope .landing-block-1 .lb1-content .lb1-tooltip-box {
  border-radius: 0;
  border-color: var(--sk-ink);
  color: var(--sk-ink);
  font-size: 14px;
}

.eg-scope .landing-block-1 .lb1-content .lb1-tooltip-box:before {
  border-color: var(--sk-ink);
  background-color: var(--sk-pink);
}

/* course slider: category chips and cards */
.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter {
  border-radius: 0;
  border: 1px solid var(--sk-ink);
  padding: 11px 26px;
  transition: background-color .2s ease;
}

.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter:hover {
  background-color: var(--sk-pink);
}

.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter.active,
.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter.active:hover {
  background-color: var(--sk-ink);
  border-color: var(--sk-ink);
}

.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter a span {
  color: var(--sk-ink);
}

.eg-scope .landing-block-26 .lb26-filters-container .lb26-filter.active a span {
  color: #fff;
}

/* teachers: dark fade instead of the violet one */
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container,
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container img,
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container:after,
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container:before {
  border-radius: 0;
}

/* names stay readable: dark fade over the lower part of the photo, text above it */
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container:before {
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .25) 26%, rgba(0, 0, 0, 0) 48%);
}

.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container .image-text-1,
.eg-scope .landing-block-6 .lb6-carousel-container .lb6-carousel-row .carousel-image-container .image-text-2 {
  z-index: 2;
  width: 90%;
  white-space: normal;
}

/* the row glides on its own (see landing.js), so the motion must be linear */
.eg-scope .landing-block-6 .swiper6 .swiper-wrapper,
.eg-scope .landing-block-26 .swiper26 .swiper-wrapper {
  transition-timing-function: linear;
}

.eg-scope .landing-block-6 .swiper-pagination-bullet-active,
.eg-scope .swiper-pagination-bullet-active {
  background: var(--sk-ink);
}

/* platform benefits and "how it works" */
.eg-scope .landing-block-3 .lb3-promo-images .promo-image-container .promo-text-container .image-text-1,
.eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-1,
.eg-scope .landing-block-7 .promo-text-container .image-text-1 {
  font-family: var(--sk-sans);
  color: var(--sk-ink);
}

.eg-scope .landing-block-7 .promo-image-container > img {
  filter: grayscale(1) contrast(1.15);
}

/* reviews */
.eg-scope .landing-block-4 .lb4-promo-images .promo-text-container {
  border-radius: 0;
  border: 1px solid var(--sk-ink);
}

.eg-scope .landing-block-4 .lb4-promo-images .promo-image-container > img {
  border-radius: 0;
}

/* round arrows -> black discs with a white arrow, as on the Stiliusbox page */
.eg-scope [class*="-button-next"],
.eg-scope [class*="-button-prev"] {
  background: var(--sk-ink);
  border-radius: 50%;
  line-height: 0;
  transition: background-color .2s ease;
}

.eg-scope [class*="-button-next"]:hover,
.eg-scope [class*="-button-prev"]:hover {
  background: #000;
}

.eg-scope [class*="-button-next"] img,
.eg-scope [class*="-button-prev"] img {
  display: block;
  filter: brightness(0) invert(1);
}

/* FAQ */
.eg-scope .duk-block .duk-single {
  border-top-color: var(--sk-ink);
}

.eg-scope .duk-block .duk-single .duk-question {
  font-family: var(--sk-sans);
  font-weight: 400;
  color: var(--sk-ink);
}

/* ---------- test ---------- */
.eg-scope .test-block {
  background-image: none;
  background-color: var(--sk-pink);
}

.eg-scope .default-input,
.eg-scope .default-input:focus {
  border-radius: 0;
  border: 1px solid var(--sk-ink);
  font-size: 16px; /* iOS zooms into smaller inputs */
  font-family: var(--sk-sans);
}

.eg-scope .default-input::placeholder {
  font-family: var(--sk-sans);
  font-size: 16px;
  color: var(--sk-grey);
}

.eg-scope .default-input.error-input {
  border-color: #d70f5d;
}

.eg-scope .default-checkbox-4 {
  border-radius: 0;
  border: 1px solid var(--sk-ink);
  transition: background-color .2s ease;
}

.eg-scope .default-checkbox-4 input[type=radio] + label,
.eg-scope .default-checkbox-4 input[type=checkbox] + label {
  border-radius: 0;
  font-family: var(--sk-sans);
  font-size: 15px;
  color: var(--sk-ink);
}

.eg-scope .default-checkbox-4:hover {
  background: var(--sk-soft);
}

.eg-scope .default-checkbox-4.default-checkbox-selected {
  background: var(--sk-ink);
}

.eg-scope .default-checkbox-4.default-checkbox-selected input + label,
.eg-scope .default-checkbox-4.default-checkbox-selected input:checked + label {
  color: #fff;
}

.eg-scope .default-checkbox-4 .choice-single,
.eg-scope .default-checkbox-4 .choice-single img {
  border-radius: 0;
}

.eg-scope .test-block .test-step,
.eg-scope .test-block .test-content .line3 {
  font-family: var(--sk-sans);
  color: var(--sk-grey);
}

.eg-scope .default-checkbox-label a {
  color: var(--sk-ink);
  text-decoration: underline;
}

.eg-scope .eg-result-card {
  border-radius: 0;
  border: 1px solid var(--sk-ink);
  box-shadow: none;
}

.eg-scope .eg-result-card img {
  border-radius: 0;
}

.eg-scope .eg-result-name {
  font-family: var(--sk-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--sk-ink);
}

/* ---------- hero video ----------
   The picture is the poster and the fallback (old iPhones cannot play WebM); the video fades in over it
   once it really plays. */
.eg-scope .eg-hero-media {
  position: relative;
  line-height: 0;
}

.eg-scope .eg-hero-media > img {
  display: block;
  width: 100%;
}

.eg-scope .eg-hero-media .eg-hero-video,
.eg-scope .eg-hero-media .eg-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}

.eg-scope .eg-hero-media.is-playing .eg-hero-video,
.eg-scope .eg-hero-media.is-recolored .eg-hero-canvas {
  opacity: 1;
}

.eg-scope .eg-hero-media.is-recolored .eg-hero-video {
  opacity: 0;
}

/* ---------- hero: more air ---------- */
.eg-scope .landing-block-1 {
  padding-top: 28px;
  padding-bottom: 56px;
}

.eg-scope .landing-block-1 .lb1-content .lb1-tooltip-box {
  margin-top: 22px;
}

/* soft edges hide the seam between the picture's own background and the section */
.eg-scope .eg-hero-media {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

@media (min-width: 1200px) {
  .eg-scope .landing-block-1 {
    padding-top: 72px;
    padding-bottom: 88px;
    align-items: center;
  }

  .eg-scope .landing-block-1 .lb1-content .h1 {
    margin-bottom: 22px;
  }

  .eg-scope .landing-block-1 .lb1-content .h6 {
    margin-top: 44px;
  }

  .eg-scope .landing-block-1 .lb1-content .default-button-2 {
    margin-top: 18px;
  }

  .eg-scope .landing-block-1 .lb1-content .lb1-tooltip-box {
    margin-top: 30px;
  }
}

/* ---------- course slider captions ---------- */
.eg-scope .landing-block-26 .lb26-prod {
  display: block;
  line-height: 0;
}

.eg-scope .landing-block-26 .eg-course-title,
.eg-scope .landing-block-26 .eg-course-teacher {
  display: block;
  white-space: normal;
  text-align: left;
  font-family: var(--sk-sans);
  padding: 0 4px;
}

.eg-scope .landing-block-26 .eg-course-title {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--sk-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.eg-scope .landing-block-26 .eg-course-teacher {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--sk-grey);
}

.eg-scope .landing-block-26 .lb26-prod:hover .eg-course-title {
  text-decoration: underline;
}

@media (max-width: 1199px) {
  .eg-scope .landing-block-26 .eg-course-title {
    font-size: 14px;
  }

  .eg-scope .landing-block-26 .eg-course-teacher {
    font-size: 13px;
  }
}

/* gift icon of "Dėžutė praktikai - dovanų" (a blue PNG) */
.eg-scope .gift-line img {
  filter: grayscale(1) brightness(.35);
}

.eg-scope .gift-line {
  color: var(--sk-ink);
}

/* ---------- reviews: Poppins runs wider than the original serif, the longest review must still fit ---------- */
.eg-scope .landing-block-4 .lb4-promo-images .promo-text-container {
  overflow: hidden;
}

.eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-2 {
  font-weight: 300;
  color: var(--sk-ink);
}

@media (min-width: 1200px) {
  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container {
    padding: 34px 38px;
  }

  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-1 {
    font-size: 20px;
    line-height: 1.35;
  }

  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-2 {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 16px;
  }
}

@media (max-width: 1199px) {
  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container {
    height: 132px;
    padding: 12px 14px;
  }

  .eg-scope .landing-block-4 .lb4-promo-images .promo-image-container {
    padding-bottom: 156px;
  }

  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-1 {
    font-size: 11px;
    line-height: 1.35;
  }

  .eg-scope .landing-block-4 .lb4-promo-images .promo-text-container .image-text-2 {
    font-size: 8px;
    line-height: 1.45;
    margin-top: 6px;
  }
}
