@import url("../assets/css/tokens.css");

html,
body {
  margin: 0;
  background: transparent;
  direction: rtl;
}

.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.e26-home {
  position: relative;
  width: 100%;
  max-width: var(--e26-desktop-width);
  margin: 0 auto;
  font-family: var(--e26-font);
  color: var(--e26-text-on-dark);
  direction: rtl;
  border-radius: var(--e26-radius-md);
  overflow: hidden;
  background-color: #0011ac;
  background-image: url("img/bg-flags.png");
  background-size: cover;
  background-position: center;
}

.e26-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 64, 233, 0.75) 50.789%,
    rgba(0, 17, 172, 0.75) 99.44%
  );
  pointer-events: none;
  z-index: 0;
}

.e26-home > * {
  position: relative;
  z-index: 1;
}

.e26-home__banner {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: var(--e26-strip-height);
  min-height: var(--e26-strip-height);
  padding: 0 var(--e26-space-4);
  box-sizing: border-box;
}

.e26-home__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(175, 191, 255, 0.00) 35%, rgba(175, 191, 255, 0.45) 100%);
}

.e26-home__banner > * {
  position: relative;
  z-index: 1;
}

.e26-home__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--e26-space-1);
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 131px;
  height: 40px;
  padding: var(--e26-space-2) var(--e26-space-3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--e26-text-on-dark);
  border-radius: var(--e26-radius);
  box-shadow: var(--e26-shadow-cta);
  color: var(--e26-action);
  text-decoration: none;
  font-size: var(--e26-fs-body);
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.07px;
  white-space: nowrap;
}

.e26-home__cta:hover {
  box-shadow: 0 6px 16px 0 rgba(0, 17, 172, 0.8);
  color: var(--e26-text-brand);
}

.e26-home__cta-icon {
  display: block;
  width: 5px;
  height: 8px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("img/chevron.svg") center / contain no-repeat;
  mask: url("img/chevron.svg") center / contain no-repeat;
}

.e26-home__map {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
  align-self: center;
  height: var(--e26-strip-height);
  overflow: visible;
  padding-inline-start: 4px;
  z-index: 2;
}

.e26-home__map-main {
  display: contents;
}

.e26-home__attr {
  position: relative;
  z-index: 3;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  height: 40px;
  flex-shrink: 0;
  align-self: center;
  padding-block: 0;
  padding-inline-end: var(--e26-space-6);
  padding-inline-start: var(--e26-space-1);
  font-size: var(--e26-fs-micro);
  line-height: var(--e26-lh-micro);
  font-weight: 400;
  text-align: start;
  color: var(--e26-text-on-dark);
}

.e26-home__attr-kicker,
.e26-home__attr-range {
  display: block;
}

.e26-home__attr-meta {
  display: flex;
  align-items: center;
  gap: var(--e26-space-1);
}

.e26-home__attr-info {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 1px solid var(--e26-text-on-dark);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.e26-home__attr-info span {
  position: relative;
  top: 2px;
}

.e26-home__attr-tip {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  z-index: 5;
  box-sizing: border-box;
  width: 100%;
  padding: 6px 8px;
  background: var(--e26-surface-top);
  color: var(--e26-text);
  border-radius: var(--e26-radius-md);
  box-shadow: var(--e26-shadow-menu);
  font-size: var(--e26-fs-micro);
  line-height: var(--e26-lh-micro);
  font-weight: 400;
  text-align: start;
  white-space: normal;
}

.e26-home__attr:hover .e26-home__attr-tip,
.e26-home__attr:focus-within .e26-home__attr-tip,
.e26-home__attr.is-open .e26-home__attr-tip {
  display: block;
}

.e26-home__faces {
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
  height: 56px;
  gap: var(--e26-space-00);
}

.e26-home__face {
  flex-shrink: 0;
  align-self: stretch;
  background-color: transparent;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.e26-home__face--a {
  width: 82.65px;
}

.e26-home__face--c {
  width: 85.53px;
}

.e26-home__bar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240.5px;
  padding-top: 0;
  padding-bottom: 6px;
  gap: var(--e26-space-1);
}

.e26-home__names {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: var(--e26-fs-body);
  line-height: 16px;
  font-weight: 500;
}

.e26-home__names span {
  white-space: nowrap;
}

.e26-home__name--a {
  color: var(--e26-blue-200);
}

.e26-home__name--c {
  color: var(--e26-surface-off);
}

.e26-home__bar {
  display: flex;
  width: 100%;
  height: 22px;
  border-radius: var(--e26-radius-md);
  overflow: hidden;
}

.e26-home__slice {
  display: flex;
  align-items: center;
  min-width: 22px;
  padding: var(--e26-space-1) 6px;
  font-family: var(--e26-font-negative);
  font-size: var(--e26-fs-ui);
  line-height: 14px;
  font-weight: 700;
}

.e26-home__bar-pointer {
  display: block;
  width: 5px;
  height: 4px;
}

.e26-home__slice--a {
  background: var(--e26-bloc-a);
  color: var(--e26-text-brand);
  border-start-end-radius: var(--e26-radius-md);
  border-end-end-radius: var(--e26-radius-md);
  justify-content: flex-end;
}

.e26-home__slice--b {
  background: var(--e26-bloc-b);
  color: var(--e26-surface-off);
  justify-content: center;
  padding: var(--e26-space-1);
  font-weight: 400;
}

.e26-home__slice--c {
  background: var(--e26-bloc-c);
  color: var(--e26-text-brand);
  border-start-start-radius: var(--e26-radius-md);
  border-end-start-radius: var(--e26-radius-md);
  justify-content: flex-start;
}

.e26-home__map-title {
  margin: 0;
  flex-shrink: 0;
  overflow: visible;
  padding-inline-start: 2px;
  font-size: var(--e26-fs-banner);
  line-height: 20px;
  font-weight: 700;
  text-align: start;
}

.e26-home__end {
  display: flex;
  align-items: center;
  gap: var(--e26-space-4);
  flex-shrink: 0;
}

.e26-home__countdown {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  padding-inline-end: var(--e26-space-6);
  text-align: start;
  color: var(--e26-text-on-dark);
}

.e26-home__count-value {
  margin: 0;
  font-size: var(--e26-fs-banner);
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.18px;
}

.e26-home__count-sub {
  margin: 0;
  font-size: var(--e26-fs-body);
  line-height: 15px;
  font-weight: 500;
}

.e26-home__logo {
  display: flex;
  align-items: start;
  width: 259.574px;
  height: 40px;
  flex-shrink: 0;
}

.e26-home__logo img {
  display: block;
  width: 100%;
  height: 36.596px;
  object-fit: contain;
  object-position: right center;
}

.e26-home__notes {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--e26-space-4);
  height: 232px;
  padding: var(--e26-space-4);
  overflow: visible;
}

.e26-home__card {
  display: flex;
  flex-direction: column;
  background: var(--e26-surface-top);
  color: var(--e26-text);
  text-decoration: none;
  border-radius: var(--e26-radius);
  box-shadow: var(--e26-shadow-cta);
  overflow: hidden;
  width: 190px;
  height: 200px;
  flex-shrink: 0;
  cursor: pointer;
}

.e26-home__card--featured {
  flex-direction: row;
  width: 600px;
}

.e26-home__card-image {
  display: block;
  width: 190px;
  height: 107px;
  object-fit: cover;
}

.e26-home__card--featured .e26-home__card-image {
  width: 356px;
  height: 200px;
  flex-shrink: 0;
}

.e26-home__card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
  padding: var(--e26-space-2) var(--e26-space-3);
  text-align: start;
}

.e26-home__card--featured .e26-home__card-body {
  padding: var(--e26-space-2) var(--e26-space-4);
  padding-inline-start: 12px;
}

.e26-home__card-title {
  margin: 0;
  font-size: var(--e26-fs-body);
  line-height: var(--e26-lh-title-dt);
  font-weight: 700;
  color: var(--e26-black);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.e26-home__card--featured .e26-home__card-title {
  font-family: "Moses Display", "MosesDisplay", "Moses", var(--e26-font);
  font-size: 26px;
  font-weight: 800;
  line-height: 31px;
  letter-spacing: -0.26px;
  -webkit-line-clamp: 5;
}

.e26-home__card-meta {
  margin: 0;
  font-size: var(--e26-fs-caption);
  line-height: var(--e26-lh-caption);
  font-weight: 400;
  color: var(--e26-caption);
}

.e26-home__bepo {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 212px;
  height: 216px;
  overflow: visible;
  container-type: inline-size;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.e26-home__bepo[hidden] {
  display: none;
}

.e26-home__bepo-bubble {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 1;
  box-sizing: border-box;
  width: 180px;
  height: 108px;
  background: var(--e26-surface-top);
  border-radius: var(--e26-radius);
  box-shadow: var(--e26-shadow-cta);
  pointer-events: none;
}

.e26-home__bepo-tail {
  position: absolute;
  top: 88px;
  left: 113px;
  z-index: 1;
  display: block;
  width: 36px;
  height: 35px;
  pointer-events: none;
}

.e26-home__bepo-fig {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  width: 212px;
  height: 174px;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(7.5px 15px 20px rgba(0, 0, 0, 0.45)) drop-shadow(-10px 60px 50px rgba(0, 0, 0, 0.55));
}

.e26-home__bepo-meta {
  position: absolute;
  top: 12px;
  right: 28px;
  z-index: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: var(--e26-space-1);
  direction: rtl;
}

.e26-home__bepo-series {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  color: var(--e26-action);
  font-size: 13px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.065px;
  white-space: nowrap;
  direction: rtl;
}

.e26-home__bepo-series img {
  display: block;
  width: 5px;
  height: 9px;
}

.e26-home__bepo-badge {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 16px;
  padding: 3px 5px;
  background: var(--e26-action);
  border-radius: var(--e26-radius);
  flex-shrink: 0;
}

.e26-home__bepo-badge img {
  display: block;
  width: 28px;
  height: 10px;
}

.e26-home__bepo-quote {
  position: absolute;
  top: 14.55%;
  right: 13.21%;
  left: 13.21%;
  z-index: 4;
  margin: 0;
  color: var(--e26-text);
  font-size: 14px;
  font-size: 6.6038cqw;
  line-height: 1.357;
  font-weight: 700;
  text-align: right;
  direction: rtl;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}

@media (max-width: 900px) {
  .e26-home {
    display: flex;
    flex-direction: column;
    border-radius: 0;
  }

  .e26-home__banner {
    display: contents;
  }

  .e26-home__banner::after {
    content: none;
    background: none;
  }

  .e26-home__end,
  .e26-home__map,
  .e26-home__notes {
    position: relative;
    z-index: 1;
  }

  .e26-home__end {
    order: 1;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    padding: var(--e26-space-3) var(--e26-space-4) var(--e26-space-3) var(--e26-space-3);
  }

  .e26-home__logo {
    width: 207.66px;
    max-width: 58%;
    height: 32px;
    flex: 0 1 auto;
    min-width: 0;
  }

  .e26-home__logo img {
    height: 29.277px;
    width: 100%;
  }

  .e26-home__countdown {
    width: 120px;
    height: 28px;
    overflow: hidden;
    padding-inline-end: 0;
    text-align: start;
    align-items: flex-start;
    flex-shrink: 0;
  }

  .e26-home__count-value,
  .e26-home__count-sub {
    font-size: 13px;
    line-height: 14px;
  }

  .e26-home__count-value {
    letter-spacing: -0.13px;
  }

  .e26-home__cta {
    display: none;
  }

  .e26-home__notes {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    height: auto;
    overflow: visible;
    gap: var(--e26-space-4);
    padding: 0 var(--e26-space-4);
  }

  .e26-home__bepo {
    display: none;
  }

  .e26-home__card,
  .e26-home__card--featured {
    width: auto;
    height: auto;
    min-width: 0;
    flex-direction: column;
  }

  .e26-home__card--featured {
    grid-column: 1 / -1;
  }

  .e26-home__card-body {
    gap: var(--e26-space-1);
    justify-content: flex-start;
  }

  .e26-home__card--featured .e26-home__card-body {
    padding: var(--e26-space-2) var(--e26-space-3) var(--e26-space-3);
    gap: var(--e26-space-2);
  }

  .e26-home__card:not(.e26-home__card--featured) .e26-home__card-title {
    font-size: var(--e26-fs-caption);
    line-height: var(--e26-lh-caption);
  }

  .e26-home__card-image {
    width: 100%;
    height: 107px;
  }

  .e26-home__card--featured .e26-home__card-image {
    width: 100%;
    height: 200px;
  }

  .e26-home__map {
    order: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 90px;
    align-items: center;
    column-gap: var(--e26-space-2);
    width: 100%;
    height: auto;
    padding: var(--e26-space-4) 0 0;
    overflow: visible;
  }

  .e26-home__map-main {
    display: contents;
  }

  .e26-home__map-title {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    padding-inline-start: var(--e26-space-4);
    font-size: var(--e26-fs-banner);
    line-height: var(--e26-lh-banner);
    white-space: nowrap;
  }

  .e26-home__map-title br {
    display: none;
  }

  .e26-home__attr {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--e26-space-1);
    width: auto;
    max-width: none;
    min-width: 0;
    height: auto;
    align-self: center;
    justify-content: flex-end;
    text-align: end;
    padding-inline-end: var(--e26-space-4);
    padding-inline-start: 0;
    overflow: visible;
    line-height: var(--e26-lh-micro);
  }

  .e26-home__attr-kicker,
  .e26-home__attr-range {
    display: inline;
  }

  .e26-home__attr-tip {
    inset-inline-start: 0;
    inset-inline-end: 0;
    width: auto;
    max-width: none;
  }

  .e26-home__faces {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: 90px;
    justify-content: center;
    overflow: hidden;
  }

  .e26-home__face {
    z-index: 0;
    transform: translateY(12px);
  }

  .e26-home__face--c {
    width: 107px;
    height: 90px;
    margin-inline-end: -16px;
  }

  .e26-home__face--a {
    width: 103px;
    height: 90px;
    margin-inline-start: -16px;
  }

  .e26-home__bar-block {
    position: relative;
    z-index: 1;
    width: 240.5px;
    flex: 0 0 240.5px;
    max-width: none;
    min-width: 0;
    padding-bottom: 20px;
  }
}
