/* Engeros uus kujundus. See fail on KOOSTATUD skriptiga redesign-tools/build_css.py:
   reeglid tulevad kujundusnäidistest (Engeros-kujundus/(näidist ei ole)) ja failist redesign-tools/css/partner-extra.css.
   Ära muuda seda faili käsitsi: muuda lähtefaili ja käivita skript uuesti. */
main.yl { padding-top: 0; padding-bottom: 0; }
main.yl[hidden] { display: none !important; }
.yl a { text-decoration: none; }
.yl .block { padding-block: 34px; }
.yl .block.band { background: var(--band); }
.ph { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; color: #fff; min-height: 316px; display: flex; align-items: center; margin-top: 8px; background: radial-gradient(46% 90% at 0% 100%, rgba(200, 32, 42, .28) 0%, rgba(200, 32, 42, 0) 70%), radial-gradient(50% 82% at 74% 50%, #505257 0%, rgba(80, 82, 87, 0) 100%), linear-gradient(100deg, #17181a 30%, #1f2023 100%); }
.ph-in { box-sizing: border-box; width: min(610px, 100%); padding: 32px 0 30px 34px; min-width: 0; }
.ph .eyebrow { color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.ph h1 { margin: 6px 0 0; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.08; color: #fff; text-wrap: balance; }
.ph-in > p { margin: 10px 0 0; max-width: 56ch; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); text-wrap: pretty; }
.yl-btns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.yl .btn svg { width: 18px; height: 18px; flex: none; }
.yl .btn { gap: 9px; }
.ph .btn-dark { background: rgba(255, 255, 255, .12); color: #fff; border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) {
  .ph .btn-dark:hover { background: rgba(255, 255, 255, .22); }
}
.yl-first { margin-top: 26px; }
.yl-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.yl-h h2 { margin: 0; font-size: clamp(21px, 2vw, 27px); }
.yl-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.yl-more svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
@media (hover: hover) {
  .yl-more:hover svg { transform: translateX(3px); }
}
.yl .grid { margin: 0; }
.yl-c { padding-top: 30px; }
.yl-ct { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.yl-cl { box-sizing: border-box; display: flex; align-items: center; gap: 13px; min-height: 76px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 160ms ease, box-shadow 240ms ease; }
@media (hover: hover) {
  .yl-cl:hover { border-color: var(--line-strong); box-shadow: 0 10px 26px rgba(0, 0, 0, .09); }
}
.yl-cl i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--band); }
.yl-cl svg { width: 21px; height: 21px; }
.yl-cl span { min-width: 0; }
.yl-cl b { display: block; font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.yl-cl small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.35; color: var(--ink-soft); }
.yl .nw { white-space: nowrap; }
@media (max-width: 1180px) {
  .yl-ct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-in { width: min(540px, 62%); }
}
@media (max-width: 860px) {
  .yl .block { padding-block: 24px; }
  .ph { display: block; min-height: 0; border-radius: 18px; margin-top: 6px; }
  .ph-in { width: auto; padding: 18px 16px 16px; }
  .ph h1 { font-size: 26px; }
  .ph-in > p { font-size: 14.5px; margin-top: 8px; }
  .yl-btns .btn { flex: 1 1 auto; justify-content: center; min-height: 46px; }
  .yl-h { margin-bottom: 12px; }
  .yl-ct { grid-template-columns: 1fr; gap: 8px; }
  .yl-cl { min-height: 64px; padding: 10px 14px; }
  .yl .band .grid, .yl-sc .grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .yl .band .grid::-webkit-scrollbar { display: none; }
  .yl .band .grid > * { flex: 0 0 min(300px, 80vw); scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .yl * { transition: none !important; }
}
.em-i { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.em-i svg { width: 25px; height: 25px; }
@media (min-width: 861px) {
  .yl .band .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
@media (min-width: 1100px) {
  .yl .band .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 861px) and (max-width: 1099px) {
  .yl .band .grid > :nth-child(4) { display: none; }
}
.ph .yl-sub { margin-top: 8px; font-size: 18px; font-weight: 600; color: #fff; line-height: 1.35; }
.yl-p { min-height: 330px; }
.yl-art-ca { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); width: 430px; }
.yl-art-ca img { display: block; width: 100%; height: auto; }
.yl-logo { position: absolute; z-index: 1; right: 40px; top: 34px; color: #fff; }
.yl-logo svg { display: block; height: 27px; width: auto; }
.yl-kbp { position: absolute; z-index: -1; right: 0; bottom: 8px; height: 300px; width: auto; -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 30%); mask-image: linear-gradient(90deg, transparent 4%, #000 30%); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .4)); }
.yl-kbh { min-height: 360px; }
.yl-kbh .yl-kbp { height: 290px; }
.yl-mep { position: absolute; z-index: -1; right: 0; top: 0; width: 56%; height: 100%; object-fit: cover; object-position: 50% 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%); mask-image: linear-gradient(90deg, transparent 0, #000 34%); filter: brightness(.82) contrast(1.04); }
.yl-logo-me { display: none; }
.yl-no { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.yl-no i { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.yl-no i svg { width: 25px; height: 25px; }
.yl-no h2 { margin: 0; font-size: 20px; }
.yl-no p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 62ch; text-wrap: pretty; }
.yl-no .yl-btns { margin: 0; flex-wrap: nowrap; }
.tcs { display: flex; gap: 6px; margin: -4px 0 16px; }
.tc { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; transition: border-color 160ms ease, background-color 160ms ease; }
@media (hover: hover) {
  .tc:hover { border-color: var(--ink); }
}
.tc b { font-weight: 600; }
.tc span { color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.tc[aria-pressed="true"] { border-color: var(--graphite); background: var(--graphite); color: #fff; }
.tc[aria-pressed="true"] span { color: rgba(255, 255, 255, .72); }
.js .yl-kb:not(.is-all) .x8 { display: none; }
.js .is-hid { display: none !important; }
.yl-mw { display: flex; justify-content: center; margin-top: 20px; }
.yl-acr { padding-top: 0 !important; }
.yl-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yl-gal img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.yl-src { margin: 12px 0 0; font-size: 14px; color: var(--ink-soft); }
.yl-src a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) {
  .yl-art-ca { width: 310px; right: 30px; }
  .yl-kbh .yl-kbp { height: 210px; }
  .yl-no { grid-template-columns: auto minmax(0, 1fr); }
  .yl-no .yl-btns { grid-column: 2; }
  .tcs { overflow-x: auto; scrollbar-width: none; }
  .tc { flex: none; }
}
@media (max-width: 860px) {
  .ph .yl-sub { font-size: 16px; }
  .yl-p { display: flex; flex-direction: column; }
  .yl-p .ph-in { order: 2; }
  .yl-art-ca { order: 1; position: static; transform: none; width: min(270px, 70%); margin: 24px auto 0; }
  .yl-logo { order: 0; position: static; padding: 20px 16px 0; }
  .yl-logo svg { height: 22px; }
  .yl-kbp, .yl-kbh .yl-kbp { order: 1; position: static; align-self: flex-end; width: auto; height: 176px; margin-top: 2px; }
  .ph.yl-p { background: radial-gradient(80% 40% at 0% 100%, rgba(200, 32, 42, .24) 0%, rgba(200, 32, 42, 0) 75%), radial-gradient(80% 34% at 60% 18%, #505257 0%, rgba(80, 82, 87, 0) 100%), #17181a; }
  .yl-mep { order: 1; position: static; width: 100%; height: 190px; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 26%); mask-image: linear-gradient(0deg, transparent 0, #000 26%); }
  .yl-p .ph-in { padding-top: 12px; }
  .yl-no { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px; }
  .yl-no .yl-btns { grid-column: 1; flex-wrap: wrap; }
  .tcs { margin: -2px -16px 14px; padding: 0 16px; }
  .yl-gal { grid-template-columns: 1fr; gap: 10px; }
  .yl-kb .yl-more { display: none; }
  .js .yl-kb:not(.is-all) .x4 { display: none; }
}
.yl-kb .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) {
  .yl-kb .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .yl-kb .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 560px) {
  .yl-kb .grid { grid-template-columns: minmax(0, 1fr); }
}
.yl-mw[hidden], html:not(.js) .yl-mw, html:not(.js) .yl-kb .tcs { display: none; }
@media (min-width: 861px) {
  .yl-mw4 { display: none; }
}
.ph h2.yl-sub { letter-spacing: -.01em; }
.tc:focus-visible, .yl-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
