/* Hero styles are scoped so the rest of the catalog keeps its layout. */
@font-face {
  font-family: Manrope;
  src: url("Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
/* Local copies of the Geologica 800 Cyrillic and Latin subsets from Google Fonts. */
@font-face {
  font-family: Geologica;
  src: url("Geologica-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Geologica;
  src: url("Geologica-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.greetings-hero {
  --hero-ink: #111b38;
  --hero-muted: #607292;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 18px;
  width: 100%;
  max-width: 1928px;
  min-height: 0;
  color: var(--hero-ink);
  font-family: Manrope, system-ui, sans-serif;
}
.greetings-hero .greetings-hero__main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 24px 31px;
  border-radius: 34px;
  background:
    radial-gradient(circle 225px at calc(100% + 45px) 370px, transparent calc(100% - 3px), #fff calc(100% - 2px) calc(100% + 1px), transparent calc(100% + 2px)),
    linear-gradient(120deg, #eaf4ff 0%, #eaf4ff 65%, #d8eafe 100%);
}
.greetings-hero__main > * { position: relative; z-index: 1; }
.greetings-hero__main::before, .greetings-hero__main::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
.greetings-hero__main::before {
  z-index: 0;
  top: -255px;
  right: -162px;
  width: 460px;
  height: 460px;
  border: 75px solid #8fc6ff3d;
}
.greetings-hero__main::after {
  z-index: 0;
  bottom: -142px;
  left: -125px;
  width: 180px;
  height: 180px;
  background: #b6dfff;
}
.greetings-hero__main .hero-breadcrumbs {
  flex: 0 0 auto;
  margin: 0 0 20px;
  color: #5d7096;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
}
.greetings-hero__rubric {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  max-width: 100%;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #d7ebff;
  color: #0878e9;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}
.greetings-hero__rubric-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.greetings-hero__rubric-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.greetings-hero .greetings-hero__title {
  position: relative;
  max-width: 100%;
  margin: 0;
  color: #111b38;
  font-family: Geologica, sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.035em;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  line-height: 1.1;
  text-align: left;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.greetings-hero .greetings-hero__description { position: relative; min-width: 0; margin-top: 14px; }
.greetings-hero .greetings-hero__description p {
  margin: 0;
  color: #607292;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -.01em;
}
.greetings-hero .greetings-hero__more {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #4775ae;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(100% - 2px) / calc(100% - 34px) 1px no-repeat;
}
.greetings-hero .greetings-hero__more::after { content: "→"; width: 22px; margin-left: 12px; font-size: 22px; }
.greetings-hero__side {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 10px;
  min-width: 0;
}
.greetings-hero__side::after {
  position: absolute;
  top: 138px;
  right: 0;
  left: 0;
  z-index: 1;
  height: 14px;
  color: #8090ab;
  background: linear-gradient(#e1e8f2, #e1e8f2) right 7px / calc(100% - 92px) 1px no-repeat;
  content: "ДЛЯ АВТОРОВ";
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .07em;
  pointer-events: none;
}
.greetings-hero .greetings-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 12px;
  min-width: 0;
  min-height: 130px;
  box-sizing: border-box;
  margin: 0;
  padding: 29px 0 0;
  box-sizing: border-box;
  list-style: none;
  container-type: normal;
}
.greetings-hero .greetings-stats--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.greetings-hero .greetings-stats--count-1 { grid-template-columns: minmax(0, 1fr); }
.greetings-hero .greetings-stats::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  content: "В ЭТОМ РАЗДЕЛЕ";
  color: #8090ab;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.greetings-hero .greetings-stats::after {
  position: absolute;
  top: 7px;
  right: 0;
  left: 115px;
  height: 1px;
  background: #e1e8f2;
  content: "";
}
.greetings-hero .greetings-stats__item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 38px 2px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 4px;
  align-content: center;
  min-width: 0;
  min-height: 100px;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  border: 0;
  border-radius: 24px;
  font-family: inherit;
}
.greetings-hero .greetings-stats__item > * { position: relative; z-index: 1; }
.greetings-stats__item::before,
.greetings-stats__item::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.greetings-stats__item::before {
  right: -58px;
  bottom: -88px;
  width: 116px;
  height: 116px;
  border: 8px solid var(--stats-arc);
}
.greetings-stats__item::after {
  right: -68px;
  bottom: -103px;
  width: 140px;
  height: 140px;
  border: 6px solid var(--stats-arc-soft);
}
.greetings-stats__item--stihi,
.greetings-stats__item--all {
  --stats-arc: rgba(95, 175, 255, .16);
  --stats-arc-soft: rgba(95, 175, 255, .10);
  background: linear-gradient(125deg, #f1f8ff, #e5f1ff);
}
.greetings-stats__item--proza {
  --stats-arc: rgba(69, 219, 139, .16);
  --stats-arc-soft: rgba(69, 219, 139, .10);
  background: linear-gradient(125deg, #f2fcf6, #e5f9ed);
}
.greetings-stats__item--sms {
  --stats-arc: rgba(255, 163, 92, .17);
  --stats-arc-soft: rgba(255, 163, 92, .10);
  background: linear-gradient(125deg, #fff8f5, #fff0e8);
}
.greetings-hero .greetings-stats__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.greetings-hero .greetings-stats__icon::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 2px;
  height: 32px;
  border-radius: 2px;
  background: rgba(92, 113, 148, .38);
  content: "";
  transform: translateY(-50%);
}
.greetings-stats__item--stihi .greetings-stats__icon,
.greetings-stats__item--all .greetings-stats__icon { background: linear-gradient(145deg, #39a9ff, #0969f8); color: #fff; }
.greetings-stats__item--proza .greetings-stats__icon { background: linear-gradient(145deg, #50dd84, #0cb943); color: #fff; }
.greetings-stats__item--sms .greetings-stats__icon { background: linear-gradient(145deg, #ffb25b, #ff750b); color: #fff; }
.greetings-stats__symbol { width: 22px; height: 22px; }
.greetings-hero .greetings-stats__number {
  display: block;
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  color: var(--hero-ink);
  font-family: Geologica, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.greetings-hero .greetings-stats__label {
  display: block;
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  color: var(--hero-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}
.greetings-hero .publish-card {
  position: relative;
  display: grid;
  grid-column: auto;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "icon copy copy" "icon copy copy" "benefits benefits action";
  align-items: start;
  align-content: stretch;
  gap: 0 20px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin: 15px 0 0;
  padding: 22px 26px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(125deg, #f5f2ff, #e8e1ff);
  font-family: inherit;
}
.greetings-hero .publish-card::before {
  position: absolute;
  right: -120px;
  bottom: -275px;
  width: 420px;
  height: 420px;
  border: 62px solid rgba(166, 140, 255, .12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.greetings-hero .publish-card__icon {
  position: relative;
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #e9e3ff;
  color: #7c4cff;
}
.greetings-hero .publish-card__icon::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 2px;
  height: 52px;
  border-radius: 2px;
  background: #d2c7ff;
  content: "";
  transform: translateY(-50%);
  z-index: 1;
}
.greetings-hero .publish-card__icon .icon { width: 27px; height: 27px; }
.publish-card__copy { grid-area: copy; min-width: 0; }
.greetings-hero .publish-card__title {
  margin: 0 0 8px;
  color: var(--hero-ink);
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 32px;
  letter-spacing: -.035em;
}
.greetings-hero .publish-card__description {
  margin: 0;
  color: var(--hero-muted);
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 26px;
}
.publish-card__quick-start {
  position: absolute;
  top: 14px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #8373a6;
  cursor: default;
  font-family: Manrope, sans-serif;
  font-size: 0;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.publish-card__quick-start::after {
  content: "Быстрый старт";
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}
.publish-card__quick-start br { display: none; }
.publish-card__quick-start-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.publish-card__benefits {
  grid-area: benefits;
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 9px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--hero-ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.publish-card__benefit { display: inline-flex; align-items: center; gap: 5px; }
.publish-card__benefit::before {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid #a28cff;
  border-radius: 50%;
  color: #8667f8;
  content: "✓";
  font-size: 12px;
}
.greetings-hero .publish-card__button {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: end;
  width: auto;
  min-height: 46px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(100deg, #6547f5, #7948ff);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.greetings-hero .publish-card__button:hover { color: #fff; filter: brightness(.96); }
.greetings-hero .publish-card__button:focus-visible { outline: 3px solid #9879ff; outline-offset: 2px; }
.greetings-hero .publish-card__arrow { width: 19px; height: 19px; }
@media (min-width: 1101px) {
  .greetings-hero .greetings-stats { min-height: 115px; gap: 10px; }
  .greetings-hero .greetings-stats__item { min-height: 86px; padding: 6px 12px; }
  .greetings-hero__side::after { top: 123px; }
  .greetings-hero .publish-card {
    min-height: 158px;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "icon copy copy" "icon copy copy" "benefits benefits action";
    gap: 4px 10px;
    padding: 18px;
  }
  .greetings-hero .publish-card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .greetings-hero .publish-card__icon::after { height: 64px; right: -14px; }
  .greetings-hero .publish-card__icon .icon { width: 23px; height: 23px; }
  .publish-card__quick-start { top: 18px; right: 18px; }
  .publish-card__benefits { gap: 5px; font-size: 10px; }
  .greetings-hero .publish-card__button { min-height: 32px; padding-inline: 10px; font-size: 12px; }
  .greetings-hero .publish-card__title { margin-bottom: 6px; font-size: 19px; line-height: 25px; }
  .greetings-hero .publish-card__description { font-size: 13px; line-height: 19px; }
}
@media (max-width: 1100px) {
  .greetings-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .greetings-hero .greetings-hero__main { min-height: 0; }
  .greetings-hero__side { grid-template-rows: auto auto; gap: 12px; }
  .greetings-hero__side::after { top: 151px; }
  .greetings-hero .greetings-stats__item { min-height: 110px; }
  .greetings-hero .publish-card {
    margin-top: 20px;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-areas: "icon copy copy" "benefits benefits action";
    gap: 10px 16px;
  }
}
@media (max-width: 600px) {
  .greetings-hero { gap: 12px; }
  .greetings-hero .greetings-hero__main { padding: 18px; border-radius: 20px; }
  .greetings-hero__main .hero-breadcrumbs { margin-bottom: 20px; font-size: 12px; line-height: 18px; }
  .greetings-hero__rubric { margin-bottom: 14px; font-size: 12px; line-height: 17px; }
  .greetings-hero .greetings-hero__more { font-size: 12px; line-height: 18px; }
  .greetings-hero .greetings-stats { gap: 6px; }
  .greetings-hero .greetings-stats__item { min-height: 108px; padding: 8px; border-radius: 16px; }
  .greetings-hero .greetings-stats__icon { width: 30px; height: 30px; margin-bottom: 4px; border-radius: 9px; }
  .greetings-stats__symbol { width: 19px; height: 19px; }
  .greetings-hero .greetings-stats__number { font-size: 22px; line-height: 27px; }
  .greetings-hero .greetings-stats__label { font-size: 11px; line-height: 15px; overflow-wrap: anywhere; }
  .greetings-hero .publish-card {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas: "icon copy" "benefits benefits" "action action";
    padding: 16px;
    border-radius: 20px;
  }
  .greetings-hero .publish-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .greetings-hero .publish-card__icon .icon { width: 20px; height: 20px; }
  .greetings-hero .publish-card__title { font-size: 18px; line-height: 24px; }
  .greetings-hero .publish-card__description { font-size: 12px; line-height: 18px; }
  .publish-card__copy { padding-right: 115px; }
  .publish-card__description br { display: none; }
  .publish-card__quick-start { display: inline-flex; top: 16px; right: 16px; }
  .publish-card__benefits { gap: 7px; font-size: 10px; }
  .greetings-hero .publish-card__button { justify-self: start; min-height: 36px; font-size: 12px; }
}
@media (max-width: 767px) {
  .greetings-hero .greetings-hero__title {
    font-size: 30px;
    line-height: 1.1;
  }
  .greetings-hero .greetings-hero__description p {
    font-size: 14px;
    line-height: 21px;
  }
}
