/* Promo-6 "How to apply" block — resource 2660 */
.fek-howto {
  width: 100%;
  margin: 56px 0;
  font-family: "PT Sans", Arial, sans-serif;
}

.fek-howto * { box-sizing: border-box; }

.fek-howto__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.fek-howto__panel {
  border-radius: 28px;
  border: 1px solid #dce5f0;
  background:
    radial-gradient(circle at 86% 10%, rgba(210, 227, 248, 0.36), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f9fd 100%);
  box-shadow: 0 16px 38px rgba(19, 48, 88, 0.08);
  padding: 42px 42px 34px;
}

.fek-howto__head {
  max-width: 980px;
  margin: 0 auto 26px;
  text-align: left;
}

.fek-howto__title-band {
  display: inline-block;
  max-width: 100%;
  padding: 16px 22px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 78% 22%, rgba(40, 84, 150, 0.36), transparent 42%),
    linear-gradient(135deg, #071f56 0%, #0a255e 58%, #061a42 100%);
  border: 1px solid rgba(199, 154, 82, 0.28);
  box-shadow: 0 12px 26px rgba(7, 31, 86, 0.2);
}

.fek-howto__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fek-howto__line {
  width: 96px;
  height: 2px;
  margin: 18px 0 18px;
  background: linear-gradient(90deg, #b8945e 0%, rgba(184, 148, 94, 0.25) 100%);
}

.fek-howto__lead {
  margin: 0 0 12px;
  color: #25364a;
  font-size: 17px;
  line-height: 1.46;
  font-weight: 700;
}

.fek-howto__text {
  margin: 0;
  color: #3b4e67;
  font-size: 16px;
  line-height: 1.54;
}

.fek-howto__content {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
  gap: 18px;
  align-items: stretch;
}

.fek-howto__sample,
.fek-howto__rules {
  border-radius: 18px;
  border: 1px solid #cfd9e6;
  background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
  box-shadow: 0 10px 22px rgba(19, 48, 88, 0.055);
  overflow: hidden;
}

.fek-howto__sample {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  cursor: zoom-in;
  border: 1px solid #cfd9e6;
}

.fek-howto__sample img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #dce5f0;
  background: #ffffff;
}

.fek-howto__sample-trigger {
  width: 100%;
  text-align: inherit;
}

.fek-howto__sample-trigger:focus-visible {
  outline: 2px solid rgba(10, 59, 146, 0.45);
  outline-offset: 2px;
}

.fek-howto__sample-trigger:hover .fek-howto__zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.fek-howto__zoom-hint {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border-radius: 999px;
  background: rgba(7, 31, 86, 0.9);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  padding: 8px 10px;
  opacity: 0.9;
  transform: translateY(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.fek-howto__zoom {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(6, 26, 66, 0.82);
  margin: 0 !important;
}

.fek-howto__zoom[hidden] {
  display: none !important;
}

.fek-howto__zoom img {
  max-width: min(1280px, 96vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(220, 229, 240, 0.7);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.35);
  background: #ffffff;
}

.fek-howto__zoom-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(7, 31, 86, 0.88);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.fek-howto-zoom-open {
  overflow: hidden;
}

.fek-howto__rules {
  padding: 20px 22px;
}

.fek-howto__list {
  margin: 0;
  padding: 0 0 0 22px;
}

.fek-howto__list li {
  color: #25364a;
  font-size: 14px;
  line-height: 1.42;
  margin: 0 0 12px;
}

.fek-howto__list li:last-child { margin-bottom: 0; }

.fek-howto__list li::marker { color: #0a3b92; }

.fek-howto__list a {
  color: #071f56;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 31, 86, 0.32);
}

.fek-howto__list a:hover {
  color: #0a3b92;
  border-bottom-color: rgba(10, 59, 146, 0.45);
}

@media (max-width: 1199px) {
  .page-content .fek-howto,
  .pcontent .fek-howto,
  .block-tpl .fek-howto {
    width: auto;
    max-width: none;
    margin: 24px 16px 32px;
  }

  .fek-howto__panel { padding: 34px 28px 28px; }
  .fek-howto__title-band { padding: 14px 18px; border-radius: 14px; }
  .fek-howto__lead { font-size: 16px; line-height: 1.45; }
  .fek-howto__text { font-size: 15px; line-height: 1.5; }
  .fek-howto__title { font-size: clamp(24px, 2.7vw, 30px); }
  .fek-howto__list li { font-size: 13.5px; line-height: 1.4; }
}

@media (max-width: 991px) {
  .fek-howto__content {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .page-content .fek-howto,
  .pcontent .fek-howto,
  .block-tpl .fek-howto {
    width: auto;
    max-width: none;
    margin: 18px 10px 28px;
    box-sizing: border-box;
  }

  .fek-howto__panel {
    border-radius: 22px;
    padding: 24px 16px 20px;
  }

  .fek-howto__title {
    font-size: 23px;
    line-height: 1.14;
  }

  .fek-howto__title-band {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .fek-howto__line {
    width: 82px;
    margin: 14px 0 14px;
  }

  .fek-howto__lead {
    font-size: 16px;
    line-height: 1.4;
  }

  .fek-howto__text {
    font-size: 14px;
    line-height: 1.44;
  }

  .fek-howto__sample {
    padding: 8px;
  }

  .fek-howto__sample img {
    width: 100%;
    max-width: none;
  }

  .fek-howto__zoom-hint {
    right: 12px;
    bottom: 12px;
    font-size: 11px;
    padding: 7px 9px;
  }

  .fek-howto__rules {
    padding: 14px 14px;
  }

  .fek-howto__list {
    padding-left: 18px;
  }

  .fek-howto__list li {
    font-size: 13px;
    line-height: 1.38;
    margin-bottom: 10px;
  }
}
