.news-block{
  position: relative;
  width: 100%;
  background-color: #fff;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 1px solid #d4d4e1;
  margin-bottom: 10px;
}
.news-block-title{
  font-weight: 700;
  font-size: 22px;
  font-family: pfdm;
}
.news-block-date{
  height: 25px;
  position: relative;
}
.news-block-date-2{
  height: 37px;
  position: relative;
}
.news-block-2{
  width: 100%;
  position: relative;
  white-space: nowrap;
}
.news-block-date-ico{
  height: 25px;
  width: 25px;
  display: inline-block;
  vertical-align: middle;
  background-position: left;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-image: url('../media/img/png/calen.png');
  border-right: 1px solid #303036;
  opacity: 0.65;
}
.sevices-block-2-text-p{
  white-space: pre-wrap;
}
.news-block-date-2 > p{
  font-family: pfdm;
  display: inline-block;
  vertical-align: middle;
  padding-top: 9px;
  padding-left: 4px;
}
.news-block-date > p{
  font-family: pfdm;
  display: inline-block;
  vertical-align: middle;
  padding-top: 9px;
  padding-left: 4px;
}
.news-block-text{
  font-family: pfdm;
  margin-top: 20px;
  margin-bottom: 20px;
}
.news-btn-block{
  height: 38px;
  width: 150px;
  white-space: nowrap;
  background-color: #018283;
  border-radius: 7px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  margin-top: 7px;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 15px;
}
.news-block-main-btn-1-1{
  position: absolute;
  height: 0px;
  width: 0px;
  background-color: #149394;
  border-radius: 500px;
  right: -30px;
  top: -48px;
  transition: all 0.45s;
  animation: heart infinite 1.9s;
}
.news-block-main-btn-1-2{
  position: absolute;
  height: 0px;
  width: 0px;
  background-color: #27aaab;
  border-radius: 500px;
  right: -50px;
  top: -34px;
  transition: all 0.35s;
  animation: heart infinite 1.9s;
}
.news-btn-block:hover > .news-block-main-btn-1-1{
  height: 130px;
  width: 130px;
}
.news-btn-block:hover > .news-block-main-btn-1-2{
  height: 110px;
  width: 110px;
}
.news-btn-block-text{
  color: #fff;
  width: 64px;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  font-family: pfdm;
  font-size: 14px;
  margin-top: 9px;
  z-index: 1;
}
.news-btn{
  width: 100%;
  font-family: pfdm;
  text-align: center;
  margin-top: 100px;

}
.news-btn-elem{
  display: inline-block;
  vertical-align: middle;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #018283;
  cursor: pointer;
  margin-top: -9px;
  margin-left: 3px;
  color: #fff;
  margin-right: 3px;
  border-radius: 7px;
  transition: 0.15s all;
  border: 2px solid #018283;
}
.news-btn-elem:hover{
  background-color: #fff;
  color: #018283;
}

/* ── Статья: единый визуал контента (порт .rte-html в фирменный стиль) ── */
.article {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 4px;
}
.article-cover {
  margin: 8px 0 18px;
  border-radius: 14px;
  overflow: hidden;
}
.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.article-title {
  font-family: pfdb;
  font-size: 30px;
  line-height: 1.25;
  color: #1c2b2b;
  margin: 6px 0 12px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.article-date {
  font-family: pfdm;
  font-size: 14px;
  color: #7a8a8a;
}
.article-cat {
  display: inline-block;
  font-family: pfdm;
  font-size: 13px;
  color: #149394;
  background: #e6f4f4;
  border: 1px solid #c7e6e6;
  border-radius: 999px;
  padding: 3px 12px;
  text-decoration: none;
  transition: .15s;
}
.article-cat:hover { background: #149394; color: #fff; }

/* Контент статьи — единый стиль с админ-редактором */
.article-content {
  font-family: pfdm;
  font-size: 17px;
  line-height: 1.7;
  color: #2a3a3a;
}
.article-content p { margin: 0 0 1em; }
.article-content h2 { font-family: pfdb; font-size: 24px; line-height: 1.3; color: #1c2b2b; margin: 1.4em 0 .5em; }
.article-content h3 { font-family: pfdb; font-size: 20px; color: #1c2b2b; margin: 1.2em 0 .4em; }
.article-content h4 { font-family: pfdb; font-size: 17px; color: #1c2b2b; margin: 1em 0 .3em; }
.article-content ul { list-style: disc; padding-left: 1.6em; margin: 0 0 1em; }
.article-content ol { list-style: decimal; padding-left: 1.6em; margin: 0 0 1em; }
.article-content li { margin: .3em 0; }
.article-content a { color: #149394; text-decoration: underline; }
.article-content a:hover { color: #0f7373; }
.article-content strong { font-weight: 700; }
.article-content mark { background: #fdf2b8; padding: 0 .15em; border-radius: 3px; }
.article-content blockquote { border-left: 3px solid #149394; padding: .2em 0 .2em 1em; margin: 1em 0; color: #5a6a6a; font-style: italic; }
.article-content code { font-family: ui-monospace, monospace; font-size: .9em; background: #eef5f5; padding: .1em .35em; border-radius: 4px; }
.article-content pre { background: #eef5f5; padding: .9em 1em; border-radius: 8px; overflow: auto; margin: 1em 0; }
.article-content img { max-width: 100%; height: auto; border-radius: 10px; margin: .8em 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.article-content th, .article-content td { border: 1px solid #d6e6e6; padding: .55em .8em; text-align: left; }
.article-content th { background: #f0f8f8; font-family: pfdb; }
.article-content hr { border: none; border-top: 1px solid #e0ecec; margin: 1.6em 0; }

/* ── Похожие статьи ── */
.related {
  max-width: 1100px;
  margin: 12px auto 50px;
  padding: 28px 4px 0;
  border-top: 1px solid #e6efef;
}
.related-title { font-family: pfdb; font-size: 24px; color: #1c2b2b; margin: 0 0 18px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6efef;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  transition: .18s;
}
.related-card:hover { border-color: #149394; box-shadow: 0 6px 22px rgba(20,147,148,.12); transform: translateY(-2px); }
.related-cover {
  height: 130px;
  background: #e6f4f4 center/cover no-repeat;
}
.related-body { padding: 12px 14px 16px; }
.related-card-title { font-family: pfdb; font-size: 16px; line-height: 1.3; color: #1c2b2b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.related-card-date { font-family: pfdm; font-size: 13px; color: #8a9a9a; margin-top: 8px; }

@media (max-width: 600px) {
  .article-title { font-size: 24px; }
  .article-content { font-size: 16px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Листинг новостей: фильтры + сетка карточек ── */
.news-head { font-family: pfdb; font-size: 30px; color: #1c2b2b; margin: 6px 0 18px; }
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}
.news-search, .news-select, .news-date {
  font-family: pfdm;
  font-size: 15px;
  color: #2a3a3a;
  border: 1px solid #d6e6e6;
  border-radius: 10px;
  padding: 9px 12px;
  background: #fff;
  outline: none;
  transition: .15s;
}
.news-search { flex: 1 1 220px; min-width: 180px; }
.news-search:focus, .news-select:focus, .news-date:focus { border-color: #149394; box-shadow: 0 0 0 3px rgba(20,147,148,.12); }
.news-filter-btn {
  font-family: pfdb;
  font-size: 15px;
  color: #fff;
  background: #149394;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  cursor: pointer;
  transition: .15s;
}
.news-filter-btn:hover { background: #0f7373; }
.news-empty { font-family: pfdm; font-size: 16px; color: #7a8a8a; padding: 40px 0; text-align: center; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}
.ncard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6efef;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: .18s;
}
.ncard:hover { border-color: #149394; box-shadow: 0 8px 26px rgba(20,147,148,.13); transform: translateY(-3px); }
.ncard-cover {
  height: 160px;
  background: #e6f4f4 center/cover no-repeat;
  position: relative;
}
.ncard-cover:not([style])::after {
  content: "Альтера Аудит";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: pfdb;
  color: #9cc7c7;
  font-size: 16px;
}
.ncard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ncard-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ncard-cat {
  font-family: pfdm; font-size: 12px; color: #149394;
  background: #e6f4f4; border-radius: 999px; padding: 2px 10px;
}
.ncard-title { font-family: pfdb; font-size: 18px; line-height: 1.3; color: #1c2b2b; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-text { font-family: pfdm; font-size: 14px; line-height: 1.55; color: #5a6a6a; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.ncard-date { font-family: pfdm; font-size: 13px; color: #8a9a9a; }
.ncard-more { font-family: pfdb; font-size: 14px; color: #149394; }

.news-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 10px 0 40px; }
.news-pager-btn {
  font-family: pfdb; font-size: 15px; color: #149394; text-decoration: none;
  border: 1px solid #c7e6e6; border-radius: 10px; padding: 9px 20px; transition: .15s;
}
.news-pager-btn:hover { background: #149394; color: #fff; border-color: #149394; }
.news-pager-info { font-family: pfdm; font-size: 14px; color: #7a8a8a; }

@media (max-width: 600px) {
  .news-head { font-size: 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-search { flex-basis: 100%; }
}

/* ── Правки отступов (фидбек): верхний отступ + выравнивание по контейнеру (лево) ── */
.article {
  max-width: 900px;
  margin: 34px 0 44px;
  padding: 0;
}
.news-head { margin-top: 30px; }
.related { max-width: none; padding-top: 30px; }

/* ── Фильтр-бар листинга: крупный поиск + компактные кастомные контролы ── */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 28px;
}
.news-search-wrap {
  position: relative;
  flex: 1 1 320px;
  min-width: 220px;
}
.news-search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
  color: #9bb3b3;
}
.news-search {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  font-family: pfdm;
  font-size: 16px;
  color: #1c2b2b;
  border: 1px solid #d6e6e6;
  border-radius: 12px;
  padding: 0 16px 0 44px;
  background: #fff;
  outline: none;
  transition: .15s;
}
.news-search:focus { border-color: #149394; box-shadow: 0 0 0 3px rgba(20,147,148,.12); }
.news-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Кастомный дропдаун (не нативный select) */
.fdrop { position: relative; }
.fdrop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  height: 46px;
  font-family: pfdm;
  font-size: 14px;
  color: #34504f;
  background: #fff;
  border: 1px solid #d6e6e6;
  border-radius: 12px;
  padding: 0 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: .15s;
}
.fdrop-trigger:hover { border-color: #149394; color: #149394; }
.fdrop-arrow {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .18s;
  opacity: .6;
}
.fdrop.open .fdrop-arrow { transform: rotate(-135deg); opacity: 1; }
.fdrop-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #e0ecec;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(20,60,60,.16);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .16s;
}
.fdrop.open .fdrop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.fdrop-opt {
  display: block;
  width: 100%;
  text-align: left;
  font-family: pfdm;
  font-size: 14px;
  color: #34504f;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: .12s;
}
.fdrop-opt:hover { background: #eef7f7; }
.fdrop-opt.is-sel { background: #149394; color: #fff; }
.fdrop-menu-pad { padding: 14px; min-width: 230px; }
.fdrop-field { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: pfdm; font-size: 14px; color: #7a8a8a; }
.fdrop-field span { width: 22px; }
.fdrop-field input[type=date] {
  flex: 1; font-family: pfdm; font-size: 14px; color: #1c2b2b;
  border: 1px solid #d6e6e6; border-radius: 9px; padding: 8px 10px; outline: none;
}
.fdrop-field input[type=date]:focus { border-color: #149394; }
.fdrop-apply {
  width: 100%; font-family: pfdb; font-size: 14px; color: #fff;
  background: #149394; border: none; border-radius: 9px; padding: 10px; cursor: pointer; margin-top: 2px;
}
.fdrop-apply:hover { background: #0f7373; }
.news-find {
  box-sizing: border-box; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: pfdb; font-size: 15px; color: #fff;
  background: #149394; border: none; border-radius: 12px; padding: 0 24px; cursor: pointer; transition: .15s;
}
.news-find:hover { background: #0f7373; }

@media (max-width: 700px) {
  .news-controls { width: 100%; }
  .fdrop, .fdrop-trigger { flex: 1; }
  .news-find { flex: 1; }
}

/* ── Вакансии: листинг (карточки) ── */
.vac-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 18px 0 8px; }
@media (min-width: 720px) { .vac-grid { grid-template-columns: 1fr 1fr; } }
.vac-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid #e6efef; border-radius: 14px;
  padding: 18px 20px; text-decoration: none; transition: .18s;
}
.vac-card:hover { border-color: #149394; box-shadow: 0 8px 26px rgba(20,147,148,.13); transform: translateY(-2px); }
.vac-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.vac-card-title { font-family: pfdb; font-size: 19px; line-height: 1.3; color: #1c2b2b; }
.vac-card-salary { font-family: pfdb; font-size: 15px; color: #149394; white-space: nowrap; }
.vac-card-dept { font-family: pfdm; font-size: 13px; color: #8a9a9a; }
.vac-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.vac-badge { font-family: pfdm; font-size: 12px; color: #34504f; background: #eef7f7; border-radius: 999px; padding: 3px 11px; }
.vac-card-text { font-family: pfdm; font-size: 14px; line-height: 1.55; color: #5a6a6a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vac-card-more { font-family: pfdb; font-size: 14px; color: #149394; margin-top: 2px; }
.vac-empty { font-family: pfdm; font-size: 15px; color: #7a8a8a; background: #f4f8f8; border: 1px dashed #cfe3e3; border-radius: 12px; padding: 20px; text-align: center; margin: 16px 0; }

/* ── Вакансия: детальная страница ── */
.vac-archived-banner {
  display: flex; align-items: center; gap: 10px;
  background: #fff4e5; border: 1px solid #ffd9a8; color: #8a5a12;
  border-radius: 12px; padding: 12px 16px; margin: 0 0 20px;
  font-family: pfdm; font-size: 15px;
}
.vac-head { margin-bottom: 18px; }
.vac-title { font-family: pfdb; font-size: 30px; line-height: 1.2; color: #1c2b2b; margin: 0 0 10px; }
.vac-salary { font-family: pfdb; font-size: 22px; color: #149394; margin-bottom: 12px; }
.vac-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.vac-meta .vac-badge { font-size: 13px; padding: 4px 13px; }
.vac-apply { margin-top: 36px; padding-top: 28px; border-top: 1px solid #e6efef; }
.vac-apply-title { font-family: pfdb; font-size: 22px; color: #1c2b2b; margin: 0 0 16px; }
.vac-others { margin-top: 44px; margin-bottom: 76px; }
.vac-others-title { font-family: pfdb; font-size: 22px; color: #1c2b2b; margin: 0 0 16px; }

@media (max-width: 600px) { .vac-title { font-size: 24px; } .vac-salary { font-size: 19px; } }
.vac-consent { font-family: pfdm; font-size: 12px; color: #8a9a9a; margin-top: 12px; line-height: 1.5; }
.vac-consent a { color: #149394; }

/* ── Вакансия: двухколоночный лейаут (контент + форма) ── */
.vac-row { display: flex; flex-wrap: wrap; align-items: flex-start; margin-left: -10px; margin-right: -10px; margin-top: 32px; }
.vac-row > [class*='col-'] { padding-left: 10px; padding-right: 10px; }
.vac-article { max-width: none; margin: 0 0 24px; }
.vac-apply-aside { position: sticky; top: 24px; margin-top: 0; }
.vac-apply-aside .cf-title { font-family: pfdb; font-size: 20px; color: #1c2b2b; margin: 0 0 14px; }
@media (max-width: 991px) { .vac-apply-aside { position: static; margin-top: 20px; } }

/* ── Фикс: карточки-ссылки внутри .article-content не должны подчёркиваться ── */
.article-content .vac-card, .article-content .ncard, .article-content .related-card,
.vac-card, .ncard, .related-card,
.vac-card:hover, .ncard:hover, .related-card:hover,
.article-content .vac-card:hover, .article-content .ncard:hover, .article-content .related-card:hover {
  text-decoration: none;
}

/* ── Кастомные блоки в контенте: галереи / одиночные карточки ── */
.vac-grid--single { grid-template-columns: 1fr; max-width: 520px; }
.gal-grid { display: grid; gap: 16px; margin: 20px 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gal-grid--employees { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gal-card { background: #fff; border: 1px solid #e6efef; border-radius: 14px; padding: 20px; text-align: center; }
.gal-ava { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px; background: #eef4f4 center/cover no-repeat; }
.gal-ava--lg { width: 110px; height: 110px; border-radius: 14px; }
.gal-card-title { font-family: pfdb; font-size: 16px; color: #1c2b2b; }
.gal-card-sub { font-family: pfdm; font-size: 13px; color: #8a9a9a; margin-top: 3px; }
.gal-card-text { font-family: pfdm; font-size: 13.5px; line-height: 1.55; color: #5a6a6a; margin-top: 8px; }
.gal-card--emp { padding: 18px 14px; }
.gal-doc { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.gal-doc-cover { aspect-ratio: 3/4; border-radius: 10px; border: 1px solid #e6efef; background: #f4f8f8 center/cover no-repeat; }
.gal-doc-title { font-family: pfdm; font-size: 13.5px; color: #34504f; text-align: center; }
.gal-news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6efef; border-radius: 14px; overflow: hidden; text-decoration: none; transition: .18s; }
.gal-news-card:hover { border-color: #149394; box-shadow: 0 8px 24px rgba(20,147,148,.12); }
.gal-news-cover { aspect-ratio: 16/9; background: #dfeceb center/cover no-repeat; }
.gal-news-body { padding: 14px 16px 16px; }
.gal-news-title { font-family: pfdb; font-size: 16px; line-height: 1.3; color: #1c2b2b; }
.gal-news-text { font-family: pfdm; font-size: 13px; line-height: 1.5; color: #5a6a6a; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-news-date { font-family: pfdm; font-size: 12px; color: #9aa7a7; margin-top: 8px; }
.article-content .gal-grid a, .article-content .gal-doc, .article-content .gal-news-card { text-decoration: none; }
