/* СГЕНЕРИРОВАНО scripts/build-media-author-css.sh — руками не править, правки вносить в .vue или в media_author.manual.css */

/* resources/js/components/Media/Authors.vue */
:where(.media-authors) .wrapper-app:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  overflow: hidden;
}
:where(.media-authors) .wrapper-app .container:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  box-sizing: border-box;
  max-width: 103.7581rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2254rem;
  padding-top: 0.9803rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4.0849rem;
}
:where(.media-authors) .wrapper-app .grid:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 1.6339rem;
}
:where(.media-authors) .wrapper-app .grid .rows-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-row: 2 span;
  grid-column: 1 span;
}
:where(.media-authors) .wrapper-app .grid .col-1:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 1 span;
}
:where(.media-authors) .wrapper-app .grid .col-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 2 span;
}
:where(.media-authors) .wrapper-app .grid .col-3:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 3 span;
}
:where(.media-authors) .wrapper-app .read-next:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: flex;
  align-items: center;
  justify-content: center;
}
:where(.media-authors) .wrapper-app .read-next__line:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  width: 100%;
  height: 0.0816rem;
  background-color: #CACACE;
}
:where(.media-authors) .wrapper-app .read-next__btn:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  padding: 0.9803rem 5.3104rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3071rem;
  line-height: 1.6339rem;
  white-space: nowrap;
  color: #292C3D;
  border: 0.0816rem solid #f7f7f7;
  border-radius: 3.9215rem;
  background-color: transparent;
  cursor: pointer;
  transition: background 0.3s;
}
:where(.media-authors) .wrapper-app .read-next__btn:hover:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  background-color: rgb(243, 243, 243);
}
@media screen and (max-width: 1024px) {
  :where(.media-authors) .wrapper-app .container:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding: 0 40px;
    padding-top: 12px;
    gap: 20px;
  }
  :where(.media-authors) .wrapper-app .grid:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  :where(.media-authors) .wrapper-app .read-next__btn:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding: 16px 50px;
    font-size: 16px;
    line-height: 20px;
  }
}
@media screen and (max-width: 672px) {
  :where(.media-authors) .wrapper-app .grid .col-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    grid-column: auto;
  }
}
:where(.media-authors) .authors-item:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        margin: 0 auto; display: grid; grid-template-columns: max-content 1fr max-content; gap: 23px;align-items: start;font-size: 20px; line-height: 1;
        width: 100%;
    }

    :where(.media-authors) .authors-item + .authors-item:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        margin-top: 20px;
    }

    :where(.media-authors) .authors-item p:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        margin: 0;
    }

    :where(.media-authors) .authors-item__img:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        width: 75px; height: 70px;border-radius: 20px; object-position: center center; object-fit: cover;
    }

    :where(.media-authors) .authors-item__title:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        font-weight: 700; line-height: 1.6;
    }

    :where(.media-authors) .authors-item__publications:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        font-size: 24px; border-left: 1px solid #CACACE; padding-left: 50px;width: 335px;
    }

    :where(.media-authors) .authors-item__publications p:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        margin-bottom: 12px;
    }

    :where(.media-authors) .authors-item__publications mark:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        background: transparent; font-weight: 700;color: #292C3D;
    }

    :where(.media-authors) .authors-item__publications a:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        font-weight: 500; color: #2A29B2; text-decoration: 1px solid underline;
        text-decoration-line: underline;
    }

    :where(.media-authors) .authors-item__publications a:hover:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        text-decoration-color: transparent;
    }

    @media (max-width: 991px) {
        :where(.media-authors) .authors-item:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            gap: 26px; font-size: 14px;
        }

        :where(.media-authors) .authors-item__publications:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            width: max-content; padding-left: 36px; font-size: 17px;
        }
    }

    @media (max-width: 575px) {
        :where(.media-authors) .authors-item:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            grid-template-columns: 100%; gap:16px; font-size: 20px;
        }

        :where(.media-authors) .authors-item__img:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            width: 180px; height: 167px;
        }

        :where(.media-authors) .authors-item__publications:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            margin-top: 8px; padding-left: 30px;
        }
    }

    :where(.media-authors) .read-next .read-next__btn:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        padding: 0.9803rem 5.3104rem;
        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: 700;
        font-size: 1.3071rem;
        line-height: 1.6339rem;
        white-space: nowrap;
        color: #292C3D;

        border: 2px solid #F1F1F1;
        border-radius: 3.9215rem;
        background-color: transparent;
        cursor: pointer;

        transition: background .3s;
    }

    @media (max-width: 575px) {
        :where(.media-authors) h1:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
            font-size: 1.735625rem;
            margin-bottom: 25px;
        }
    }

/* resources/js/components/Media/Author.vue */
:where(.media-author) .wrapper-app:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  overflow: hidden;
}
:where(.media-author) .wrapper-app .container:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  box-sizing: border-box;
  max-width: 103.7581rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2254rem;
  padding-top: 0.9803rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 4.0849rem;
}
:where(.media-author) .wrapper-app .grid:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 1.6339rem;
}
:where(.media-author) .wrapper-app .grid .rows-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-row: 2 span;
  grid-column: 1 span;
}
:where(.media-author) .wrapper-app .grid .col-1:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 1 span;
}
:where(.media-author) .wrapper-app .grid .col-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 2 span;
}
:where(.media-author) .wrapper-app .grid .col-3:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  grid-column: 3 span;
}
:where(.media-author) .wrapper-app .read-next:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: flex;
  align-items: center;
  justify-content: center;
}
:where(.media-author) .wrapper-app .read-next__line:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  width: 100%;
  height: 0.0816rem;
  background-color: #CACACE;
}
:where(.media-author) .wrapper-app .read-next__btn:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  padding: 0.9803rem 5.3104rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3071rem;
  line-height: 1.6339rem;
  white-space: nowrap;
  color: #292C3D;
  border: 0.0816rem solid #f7f7f7;
  border-radius: 3.9215rem;
  background-color: transparent;
  cursor: pointer;
  transition: background 0.3s;
}
:where(.media-author) .wrapper-app .read-next__btn:hover:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  background-color: rgb(243, 243, 243);
}
@media screen and (max-width: 1024px) {
  :where(.media-author) .wrapper-app .container:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding: 0 40px;
    padding-top: 12px;
    gap: 20px;
  }
  :where(.media-author) .wrapper-app .grid:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
  }
}
@media screen and (max-width: 768px) {
  :where(.media-author) .wrapper-app .read-next__btn:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding: 16px 50px;
    font-size: 16px;
    line-height: 20px;
  }
}
@media screen and (max-width: 672px) {
  :where(.media-author) .wrapper-app .grid .col-2:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    grid-column: auto;
  }
}
:where(.media-author) .component .popular-article:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  position: relative;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 3.35rem;
}
:where(.media-author) .component .popular-article:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root])))::before {
  content: "";
  position: absolute;
  left: -12rem;
  top: 50%;
  width: 10.1699rem;
  height: 0.3267rem;
  background-color: #F42A3E;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  :where(.media-author) .component .popular-article:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding-left: 26px;
    font-size: 24px;
    line-height: 48px;
  }
  :where(.media-author) .component .popular-article:not([data-html] *):not(:where([data-child] *:not([data-slot], [data-slot] *, [data-slot-root])))::before {
    left: -9.5rem;
    height: 4px;
  }
}

/* resources/js/components/Media/ExpertMax.vue */
:where(.media-author) .expert-max:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: flex;
  align-items: stretch;
}
:where(.media-author) .expert-max .image:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  width: 19rem;
  height: 19rem;
  flex-shrink: 0;
  margin-right: 1.9607rem;
  font-size: 0;
  border-radius: 30px;
  background: #F5F5F5;
  overflow: hidden;
}
:where(.media-author) .expert-max .image img:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:where(.media-author) .expert-max .content:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.268rem 6.5359rem;
  border-radius: 30px;
  background: #F5F5F5;
}
:where(.media-author) .expert-max .name:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  margin-bottom: 0.4902rem;
  font-weight: 700;
  font-size: 1.9607rem;
  line-height: 2.6144rem;
  color: #292C3D;
}
:where(.media-author) .expert-max .name a:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  color: #F42A3E;
}
:where(.media-author) .expert-max .wrapper:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:where(.media-author) .expert-max .title:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.634rem;
  line-height: 1.634rem;
  color: #292C3D;
}
:where(.media-author) .expert-max .position:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))), :where(.media-author) .expert-max .desc:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  margin-right: 1.634rem;
  flex: 0 1 44.3627rem;
  font-weight: 400;
  font-size: 1.634rem;
  line-height: 1.634rem;
  color: #292C3D;
}
:where(.media-author) .expert-max .desc:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
:where(.media-author) .expert-max .publications:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  padding-left: 4.085rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 1.9607rem;
  line-height: 2.0425rem;
  color: #292C3D;
  white-space: nowrap;
  border-left: 1px solid #CACACE;
}
@media screen and (max-width: 768px) {
  :where(.media-author) .expert-max .image:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  :where(.media-author) .expert-max .content:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding: 30px;
  }
  :where(.media-author) .expert-max .name:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 24px;
  }
  :where(.media-author) .expert-max .wrapper:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    flex-direction: column;
    align-items: flex-start;
  }
  :where(.media-author) .expert-max .desc:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    margin-right: 0;
    margin-bottom: 20px;
    flex: 0 1 auto;
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  :where(.media-author) .expert-max .title:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  :where(.media-author) .expert-max .position:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    margin-right: 0;
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  :where(.media-author) .expert-max .publications:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding-left: 20px;
    font-size: 18px;
    line-height: 24px;
  }
}
@media screen and (max-width: 768px) {
  :where(.media-author) .expert-max:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    flex-direction: column;
  }
}
@media screen and (max-width: 480px) {
  :where(.media-author) .expert-max:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    flex-direction: column;
  }
  :where(.media-author) .expert-max .image:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    margin-right: 0;
    margin-bottom: 20px;
  }
  :where(.media-author) .expert-max .desc:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))),
:where(.media-author) .expert-max .position:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))),
:where(.media-author) .expert-max .title:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    font-size: 18px;
    line-height: 24px;
  }
}
:where(.media-author .expert-max) a.authors-item__publications:not([data-html] *):not(:where(.expert-max [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
        font-weight: 500; color: #2A29B2; text-decoration: 1px solid underline;
        text-decoration-line: underline;
    }

/* resources/js/components/Media/BlockArticle.vue */
:where(.media-author) .component .popular-article:not([data-html] *):not(:where(.component [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
  position: relative;
  font-size: 3.35rem;
  font-weight: 700;
  line-height: 3.35rem;
}
:where(.media-author) .component .popular-article:not([data-html] *):not(:where(.component [data-child] *:not([data-slot], [data-slot] *, [data-slot-root])))::before {
  content: "";
  position: absolute;
  left: -12rem;
  top: 50%;
  width: 10.1699rem;
  height: 0.3267rem;
  background-color: #F42A3E;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  :where(.media-author) .component .popular-article:not([data-html] *):not(:where(.component [data-child] *:not([data-slot], [data-slot] *, [data-slot-root]))) {
    padding-left: 26px;
    font-size: 24px;
    line-height: 48px;
  }
  :where(.media-author) .component .popular-article:not([data-html] *):not(:where(.component [data-child] *:not([data-slot], [data-slot] *, [data-slot-root])))::before {
    left: -9.5rem;
    height: 4px;
  }
}


/* ===== Вручную (scripts/build-media-author-css.sh дописывает этот файл в конец media_author.css) ===== */

/* Имя автора — h1 вместо корня components/Common/PersonLink.vue (div): без стилей заголовка */
:where(.media-author) .expert-max .name h1 {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: none;
}
/* PersonLink.vue: a { color: inherit } (scoped) */
:where(.media-author) .expert-max .name h1 a {
    color: inherit;
}

/* base.css SPA (в layout2 его нет): h1 { font-size: 4.17rem; font-weight: bold } — вес 0, чтобы scoped-правило Authors.vue для мобильных его перебивало */
:where(.media-authors .container > .container > h1) {
    font-size: 4.17rem;
    font-weight: bold;
}
/* В SPA box-sizing по умолчанию content-box (layout2 ставит border-box всем): колонка «Публикации»
   — width 335px + padding 50px */
:where(.media-authors) .authors-item__publications {
    box-sizing: content-box;
}
/* Ссылки «Про Медиа», «Авторы» и форматов в шапке: на Vue-страницах авторов content-box (40px), на /media — 38px */
:where(.media-authors, .media-author) .headline__categories a {
    box-sizing: content-box;
}

/* base.css SPA: input, button { border: 1px solid transparent } — в layout2 border: 0 (форма подписки ниже на 4px) */
:where(.media-authors, .media-author) :is(input, button) {
    border: 1px solid transparent;
}
/* media.css берёт глобальный блок Media/Detail.vue (.headline .top-wrapper { margin-bottom: 0.6339rem !important }),
   на проде он действует только после захода на статью; у Headline.vue — 1.6339rem */
:where(.media-authors, .media-author) .headline .top-wrapper {
    margin-bottom: 1.6339rem !important;
}
/* media.css: .media .wrapper (карточки ленты: uppercase, 700, margin-bottom) задевает обёртку ExpertMax.vue */
:where(.media-author) .expert-max .wrapper {
    margin-bottom: 0;
    min-height: 0;
    width: auto;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    text-transform: none;
}
/* media.css: .media .desc { display: -webkit-box } — пустое описание слайдера не схлопывает margin (как во Vue) */
:where(.media-author) .media-courses > .desc {
    display: block;
}
