@font-face {
    font-family: "GothamProRegular";
    src: url("../fonts/GothamProRegular/GothamProRegular.eot");
    src: url("../fonts/GothamProRegular/GothamProRegular.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProRegular/GothamProRegular.woff") format("woff"), url("../fonts/GothamProRegular/GothamProRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProBold";
    src: url("../fonts/GothamProBold/GothamProBold.eot");
    src: url("../fonts/GothamProBold/GothamProBold.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProBold/GothamProBold.woff") format("woff"), url("../fonts/GothamProBold/GothamProBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProBlack";
    src: url("../fonts/GothamProBlack/GothamProBlack.eot");
    src: url("../fonts/GothamProBlack/GothamProBlack.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProBlack/GothamProBlack.woff") format("woff"), url("../fonts/GothamProBlack/GothamProBlack.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProItalic";
    src: url("../fonts/GothamProItalic/GothamProItalic.eot");
    src: url("../fonts/GothamProItalic/GothamProItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProItalic/GothamProItalic.woff") format("woff"), url("../fonts/GothamProItalic/GothamProItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProMedium";
    src: url("../fonts/GothamProMedium/GothamProMedium.eot");
    src: url("../fonts/GothamProMedium/GothamProMedium.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProMedium/GothamProMedium.woff") format("woff"), url("../fonts/GothamProMedium/GothamProMedium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProLight";
    src: url("../fonts/GothamProLight/GothamProLight.eot");
    src: url("../fonts/GothamProLight/GothamProLight.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProLight/GothamProLight.woff") format("woff"), url("../fonts/GothamProLight/GothamProLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProMediumItalic";
    src: url("../fonts/GothamProMediumItalic/GothamProMediumItalic.eot");
    src: url("../fonts/GothamProMediumItalic/GothamProMediumItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProMediumItalic/GothamProMediumItalic.woff") format("woff"), url("../fonts/GothamProMediumItalic/GothamProMediumItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProLightItalic";
    src: url("../fonts/GothamProLightItalic/GothamProLightItalic.eot");
    src: url("../fonts/GothamProLightItalic/GothamProLightItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProLightItalic/GothamProLightItalic.woff") format("woff"), url("../fonts/GothamProLightItalic/GothamProLightItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProBoldItalic";
    src: url("../fonts/GothamProBoldItalic/GothamProBoldItalic.eot");
    src: url("../fonts/GothamProBoldItalic/GothamProBoldItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProBoldItalic/GothamProBoldItalic.woff") format("woff"), url("../fonts/GothamProBoldItalic/GothamProBoldItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "GothamProBlackItalic";
    src: url("../fonts/GothamProBlackItalic/GothamProBlackItalic.eot");
    src: url("../fonts/GothamProBlackItalic/GothamProBlackItalic.eot?#iefix")format("embedded-opentype"), url("../fonts/GothamProBlackItalic/GothamProBlackItalic.woff") format("woff"), url("../fonts/GothamProBlackItalic/GothamProBlackItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: MullerExtraBold;
    src: url("/sources/base/fonts/MullerExtraBold/MullerExtraBold.eot?") format("eot"), url("/sources/base/fonts/MullerExtraBold/MullerExtraBold.woff") format("woff"), url("/sources/base/fonts/MullerExtraBold/MullerExtraBold.ttf") format("truetype"), url("/sources/base/fonts/MullerExtraBold/MullerExtraBold.otf") format("otf");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: MullerLight;
    src: url("/sources/base/fonts/MullerLight/MullerLight.eot?") format("eot"), url("/sources/base/fonts/MullerLight/MullerLight.woff") format("woff"), url("/sources/base/fonts/MullerLight/MullerLight.ttf") format("truetype"), url("/sources/base/fonts/MullerLight/MullerLight.otf") format("otf");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: MullerLightItalic;
    src: url("/sources/base/fonts/MullerLightItalic/MullerLightItalic.eot?") format("eot"), url("/sources/base/fonts/MullerLightItalic/MullerLightItalic.woff") format("woff"), url("/sources/base/fonts/MullerLightItalic/MullerLightItalic.ttf") format("truetype"), url("/sources/base/fonts/MullerLightItalic/MullerLightItalic.otf") format("otf");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: MullerRegular;
    src: url("/sources/base/fonts/MullerRegular/MullerRegular.eot?") format("eot"), url("/sources/base/fonts/MullerRegular/MullerRegular.woff") format("woff"), url("/sources/base/fonts/MullerRegular/MullerRegular.ttf") format("truetype"), url("/sources/base/fonts/MullerRegular/MullerRegular.otf") format("otf");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: MullerThinItalic;
    src: url("/sources/base/fonts/MullerThinItalic/MullerThinItalic.eot?") format("eot"), url("/sources/base/fonts/MullerThinItalic/MullerThinItalic.woff") format("woff"), url("/sources/base/fonts/MullerThinItalic/MullerThinItalic.ttf") format("truetype"), url("/sources/base/fonts/MullerThinItalic/MullerThinItalic.otf") format("otf");
    font-weight: normal;
    font-style: normal
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --pl-orange: #ff8f2b;
    --pl-white: #fff;
    --pl-orange-soft: rgba(255, 143, 43, 0.3);
    --pl-orange-gr: linear-gradient(0deg, #FF8000 0%, #FFBD58 100%);
    --pl-bg: #f4f5f9;
    --pl-text-main: #111827;
    --pl-text-muted: #6b7280;
    --pl-card-radius: 24px;
    --pl-shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    --pl-blue: #3aa8ff;
}

.card .souvenir {border-radius:12px;border:2px var(--pl-orange) dashed; background:  var(--pl-orange-soft);padding:5px; font-size:clamp(13px, 2vw, 15px); line-height:1.1; }

.card .member-name {font-size:clamp(15px, 2vw, 18px);}
.card .member-tg {font-size:clamp(13px, 2vw, 16px); line-height:1.1;}

.gem-blue{
  color: var(--pl-blue);
  filter: drop-shadow(0 0 6px rgba(58,168,255,0.35));
}
.gem-text {color: var(--pl-blue);}

.gem-blue-soft{
  color: var(--pl-blue);
  opacity: 0.08;
}


body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: #5f5f5f;
    line-height: 160%;
}

p {
    margin: 0 0 20px;
}
a, a:hover, a:active, a:focus {color:var(--pl-text-main); }
 a:hover, a:active, a:focus {text-decoration:none;}
.wrapper {
    max-width: 1170px;
    margin: 0 auto;
}


.breadcrumb * {font-size:clamp(11px, 2vw, 13px);}

@media (max-width: 575.98px) {
  nav[aria-label="breadcrumb"] {
    display: none;
  }
  .card .actions-member>* {width:100%;}
 
}

.container {max-width:1200px;}
.block-p {
  position: relative;
  border-radius: 26px;
  overflow:hidden;

  /* полупрозрачный #f1f1f1, чтобы работал blur */
  background-color: #f3f3f3;

  /* если нужен именно эффект стекла */
  backdrop-filter: blur(62px);
  -webkit-backdrop-filter: blur(62px);


  /* фон блока — полупрозрачный #f1f1f1, чтобы работал blur */
  background-image:
    linear-gradient(
      rgba(241, 241, 241, 0.8),
      rgba(241, 241, 241, 0.8)
    ),
    radial-gradient(
     140% 140% at 0% 0%,  
      rgba(141, 142, 145, 0.5) 0%,   /* #8D8E91, 70% */
      rgba(64, 66, 80, 0.0) 49%,     /* #404250, 0% */
      rgba(141, 142, 145, 0.5) 100%  /* #8D8E91, 70% */
    );

  /* толщина и механизм градиентного бордера */
  border: 1.93px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.1);

}

.block-p .heading {
  border-radius: 999px;
  border: 1px solid transparent;

  background-image:
    /* заливка */
    linear-gradient(
      rgba(241,241,241,1),
      rgba(241,241,241,1)
    ),
    /* градиент-рамка по диагонали */
    radial-gradient(
      140% 140% at 0% 0%,              /* эллипс, центр в верхнем левом */
      rgba(141,142,145,0.7) 0%,
      rgba(64,66,80,0.1) 49%,
      rgba(141,142,145,0.7) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  margin-bottom: clamp(15px, 4vw, 25px);
}


.block-p .subblock-p { border-radius: 20px;
  border: 1px solid transparent;

  background-image:
    /* заливка */
    linear-gradient(
      rgba(249,249,249,1),
      rgba(249,249,249,1)
    ),
    /* градиент-рамка по диагонали */
    radial-gradient(
      140% 140% at 0% 0%,              /* эллипс, центр в верхнем левом */
      rgba(141,142,145,0.7) 0%,
      rgba(64,66,80,0.1) 49%,
      rgba(141,142,145,0.7) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  margin-bottom: clamp(15px, 4vw, 25px);}

.block-p .heading h2 {
    font-size:15px; 
    font-weight:bold;
    margin: 0;
    padding:8px 15px;
}





.subblock-p h3.card-title {text-align:center; text-transform:uppercase; font-size:15px;}

.btn {border-radius:999px;}

.btn-outline-secondary:hover {background:#f1f1f1;color:#1f1f1f;}

/* Вкладки на странице подписок: закругление и выделение как в боковом меню */
#subsTabs .nav-link{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.4rem;
    border-radius:999px;
    padding:10px 14px;
    font-weight:600;
    color:var(--pl-text-main);
    background:transparent;
}
#subsTabs .nav-link:not(.active):hover{
    background:rgba(15,23,42,.03);
    color:var(--pl-text-main);
}
#subsTabs .nav-link.active{
    background:var(--pl-orange-gr);
    color:#fff;
}
/* Счётчик во вкладке — выровнен по центру, без сдвига вниз */
#subsTabs .nav-link .badge{
    display:inline-flex;
    align-items:center;
    line-height:1;
    background:rgba(0,0,0,.12);
    color:inherit;
}
#subsTabs .nav-link.active .badge{
    background:rgba(255,255,255,.35);
    color:#fff;
}

/* Тонкая кнопка подписки (профиль): как обычная кнопка сайта —
   серый ховер, жёлтый при клике, нейтральный вид «Вы подписаны». */
.btn-subscribe-slim{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex-shrink:0;
    white-space:nowrap;
    border-radius:999px;
    padding:5px 14px;
    font-size:14px;
    font-weight:600;
    line-height:1.2;
    color:var(--pl-text-main);
    background:#fff;
    border:1px solid #e2e2e2;
    cursor:pointer;
    transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-subscribe-slim .js-subscribe-icon{
    margin:0;
    background:none;
    -webkit-text-fill-color:#9a9a9a;
    color:#9a9a9a;
}
.btn-subscribe-slim:hover{
    background:#f1f1f1;
    color:#1f1f1f;
    border-color:#d6d6d6;
}
.btn-subscribe-slim:focus,
.btn-subscribe-slim:focus-visible{
    outline:none;
    box-shadow:none;
}
/* Клик — жёлтый, как у остальных кнопок */
.btn-subscribe-slim:active{
    background:var(--pl-orange-gr);
    border-color:var(--pl-orange);
    color:#fff;
}
.btn-subscribe-slim:active .js-subscribe-icon{
    -webkit-text-fill-color:#fff;
    color:#fff;
}
/* Уже подписан — тот же нейтральный вид, что и в «участниках» */
.btn-subscribe-slim.is-subscribed{
    border-color:#e2e2e2;
    color:var(--pl-text-main);
    background:#fff;
}
.btn-subscribe-slim.is-subscribed .js-subscribe-icon{
    -webkit-text-fill-color:#9a9a9a;
    color:#9a9a9a;
}

/* Мобильная адаптация поиска и кнопок в «Участниках планеты» */
@media (max-width: 575.98px){
    /* Группа поиска (имя + id) занимает всю ширину; поле id переносим
       ПОД поле имени, чтобы ничего не выходило за рамки экрана.
       align-items:stretch с !important — перебиваем bootstrap .align-items-center,
       иначе поле имени осталось бы узким и по центру. */
    .members-search-group{
        min-width:0 !important;
        max-width:none !important;
        flex-basis:100%;
        width:100%;
        flex-direction:column;
        align-items:stretch !important;
        gap:8px !important;
    }
    /* Оба поля одинаковой ширины — во всю строку. */
    .members-search-q,
    .members-search-uid{
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        flex:0 0 auto !important;
    }
}
@media (max-width: 767.98px){
    /* Кнопки в карточке участника во всю ширину, чтобы не вылезали за край */
    .actions-member{ align-items:stretch !important; }
    .actions-member > .text-center{ width:100%; }
    .actions-member .btn,
    .actions-member .js-subscribe-btn{ width:100%; }
}
/* Строки списка подписок: на узком экране кнопка переносится под имя
   и занимает всю ширину, чтобы не вылезала за край карточки. */
@media (max-width: 575.98px){
    .subs-row{ flex-wrap:wrap; }
    .subs-row .subs-row-action{ width:100%; }
    .subs-row .subs-row-action .btn,
    .subs-row .subs-row-action .js-subscribe-btn{ width:100%; }
}

/* Кликабельный счётчик подписчиков в профиле */
.subscribers-link{ cursor:pointer; transition:color .15s ease; }
.subscribers-link:hover{ color:var(--pl-orange) !important; text-decoration:underline !important; }

/* Страница уведомлений: секции по типам */
.notif-section-title{
    font-size:18px;
    font-weight:700;
    margin:0 0 14px;
}
.notif-section-title i{ color:var(--pl-orange); margin-right:6px; }

.notif-people-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(230px, 1fr));
    gap:14px;
}
.notif-person-card{
    display:flex;
    align-items:center;
    gap:12px;
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    padding:12px 14px;
}
.notif-person-avatar{
    width:56px;
    height:56px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}
.notif-person-date{ font-size:12px; color:#9a9a9a; }
.notif-person-name{ display:block; font-weight:700; color:#1f1f1f; }

.notif-list{
    background:#fff;
    border:1px solid #ececec;
    border-radius:16px;
    overflow:hidden;
}
.notif-list .notification-page-row{ border:0; border-bottom:1px solid #f3f3f3; }
.notif-list .notification-page-row:last-child{ border-bottom:0; }
.notif-list .notification-page-row.is-unread{ background:#fff8f0; }

.pl-care-btn{
    background: var(--pl-orange-gr);
    color: var(--pl-white);
    border-radius: 18px;
    box-shadow: var(--pl-shadow-soft);
}

.pl-care-btn:hover{
    color: var(--pl-white);
    box-shadow: 0 22px 55px rgba(255,143,43,.35);
    transform: translateY(-1px);
}


.list-group-item {background-color: rgba(255,255,255,0.5);}


.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== Swiper: тренинги, всё внутри контейнера + стрелки снизу ===== */

.trening-swiper{
  position: relative;
  overflow: hidden;          /* контент не выходит за рамки */
  padding: 0;                /* без боковых полей */
}

/* слайды */
.trening-swiper .swiper-slide{
  height: auto;
}

/* картинки/карточки внутри — на всякий случай */
.trening-swiper .trening-card,
.trening-swiper .trening-img{
  border-radius: 16px;       /* под ваш стиль (если нужно) */
}
.trening-swiper .trening-img{
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Стрелки снизу (НЕ перекрывают карточки) ---- */
.trening-swiper .swiper-button-prev,
.trening-swiper .swiper-button-next{
  position: absolute;
  top: auto;
  bottom: 10px;              /* стрелки внутри блока, но внизу */
  transform: none;
  width: 32px;
  height: 32px;
  color: #666;
  z-index: 10;
}

/* расположение снизу по краям */
.trening-swiper .swiper-button-prev{ left: 14px; }
.trening-swiper .swiper-button-next{ right: 14px; }

/* уменьшаем стандартные стрелки Swiper */
.trening-swiper .swiper-button-prev::after,
.trening-swiper .swiper-button-next::after{
  font-size: 14px;
  font-weight: 700;
}

/* ---- ВАЖНО: добавляем нижний "воздух", чтобы стрелки не залезали на карточки ---- */
.trening-swiper .swiper-wrapper{
  padding-bottom: 56px;      /* место под стрелки внизу */
}

/* если стрелки не нужны при малом количестве карточек (Swiper watchOverflow) */
.trening-swiper.swiper-initialized.swiper-locked .swiper-button-prev,
.trening-swiper.swiper-initialized.swiper-locked .swiper-button-next{
  display: none;
}

/* мобилка: можно ещё уменьшить нижний отступ */
@media (max-width: 575px){
  .trening-swiper .swiper-wrapper{
    padding-bottom: 46px;
  }
}


/* мобилка */
@media (max-width: 575px){
  .trening-swiper{
    --nav-space: 0px;
  }
  .trening-swiper .swiper-button-prev,
  .trening-swiper .swiper-button-next{
    display:none;
  }
}

.trening-p-bar {
  position:absolute;
  bottom:10px;
  right:5%;left:5%;
  z-index:3;
  width:90%
}
.trening-p-bar small {color:#fff}
.trening-progress{
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  overflow: hidden;
  margin-top: 2px;

}

.trening-progress__bar{
  display:block;
  height:100%;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
}


/* ===== Доступные курсы: list view ===== */

.course-row{
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ===== Сетка тренингов: 2 равные колонки, карточки одного размера ===== */
.trening-masonry{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;        /* все ряды одной высоты → карточки одного размера */
  gap: 18px;
}
.trening-masonry > *{
  display: flex;              /* тянем карточку на всю высоту ячейки */
  flex-direction: column;
  margin: 0;
  padding: 0;                 /* сброс бутстрап-gutter у .col-12 (заблок. карточки) */
  min-width: 0;               /* длинный текст не распирает колонку */
}
/* Служебные теги внутри сетки: правило `> *` выше перебивает их браузерный
   display:none, и <style> отрисовывался как видимая ячейка с текстом CSS.
   Возвращаем скрытие (специфичность выше, чем у `> *`, !important не нужен). */
.trening-masonry > style,
.trening-masonry > script{
  display: none;
}
.trening-masonry a.text-decoration-none,
.trening-masonry .course-row{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
@media (max-width: 767.98px){
  .trening-masonry{
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

.course-row__inner{
  display: flex;
  flex-direction: column;   /* обложка сверху, текст под ней — не зависим от высоты текста */
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

/* картинка 1/4 — окно 16:9, обложка заполняет его целиком */
.course-row__img{
  flex: none;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;     /* обложка сверху во всю ширину карточки, ровно 16:9 */
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-row__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;  /* окно 16:9 = форма баннера → заполняет целиком, без обрезки */
  display: block;
}

/* текст под обложкой */
.course-row__body{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
}

/* верхние лейблы */
.course-row__toplabels{
  margin-bottom: 6px;
}
.course-row__toplabels .badge{
  margin-right: 6px;
  margin-bottom: 6px;
}

/* заголовок */
.course-row__title{
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 6px;
}

/* категория/автор */
.course-row__cats,
.course-row__author{
  font-size: 13px;
  line-height: 1.25;
  margin-bottom: 6px;
}

/* строка уроки/видео */
.course-row__line{
  font-size: 13px;
  margin-top: 2px;
}
.course-row__sep{
  margin: 0 8px;
  color: #aaa;
}

/* бейджи эксклюзив/консультация */
.course-row__badges{
  margin-top: 8px;
}
.course-row__badges .badge{
  margin-right: 6px;
}

/* ценность курса */
.course-row__value{
  margin-top: auto;    /* статус/цена — к низу карточки, чтобы карточки были ровными */
  padding-top: 10px;
  font-size: 13px;
}
.course-row__old{
  margin-left: 8px;
  text-decoration: line-through;
  color: #888;
}
.course-row__new{
  margin-left: 10px;
  font-weight: 700;
}

/* мобилка: блок под блоком */
@media (max-width: 575px){
  .course-row__inner{
    flex-direction: column;
  }
  .course-row__img{
    flex: none;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    aspect-ratio: 16 / 9;   /* на телефоне баннер сверху во всю ширину, 16:9 */
  }
  .course-row__title{
    font-size: 16px;
  }
}


/* Оранжевые чекбоксы */
.form-check-input:checked {
    background-color: var(--pl-orange);
    border-color: var(--pl-orange);
}

.form-check-input:focus {
    border-color: var(--pl-orange);
    box-shadow: 0 0 0 0.15rem var(--pl-orange-soft);
}

/* Hover */
.form-check-input:hover {
    cursor: pointer;
}


.btn-link {
    color: var(--pl-text-muted);
}

.btn-link:hover {
    color: #555; /* чуть темнее оранжевого */
    text-decoration: underline;
}

.filters-bar {
 border: 1px solid transparent;
 border-radius: 20px;
  background-image:
    /* заливка */
    linear-gradient(
      rgba(249,249,249,1),
      rgba(249,249,249,1)
    ),
    /* градиент-рамка по диагонали */
    radial-gradient(
      140% 140% at 0% 0%,              /* эллипс, центр в верхнем левом */
      rgba(141,142,145,0.7) 0%,
      rgba(64,66,80,0.1) 49%,
      rgba(141,142,145,0.7) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
    padding: 12px 16px;
}



.gr-font {
background: linear-gradient(0deg, #FF8000 0%, #FFBD58 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent; /* чтобы был виден именно фон */
}



.table>:not(caption)>*>* {background:transparent;}

.profile-form label {font-weight:bold;font-size:14px;}

.text-small {font-size:80%}

/* -------------------- Шапка -------------------- */




.header {
    padding-top: 12px;
    padding-bottom: 12px;
}






.header .navbar.navbar-light {
    background: #F1F1F1;
    border-radius: 20px; 
    padding: 8px 24px;
    border: none;
}



.planet-logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 12px;
      margin-right: .75rem;
     
    }

    .planet-logo-text {
      text-transform: uppercase;
      font-weight: 900;
      font-size: 1rem;
      font-size:20px;
    }

    .planet-logo-sub {
      font-size: 11px;
    }

/* верхнее меню (Кабинет / Обучение / Структура) */


 @media (min-width: 992px) {
 .header .navbar-nav {gap:40px}
 }

.header .navbar-nav .nav-link {
    font-weight: 400;
    font-size: clamp(14px, 1vw, 16px);
    color: var(--pl-text-main);
}

.header .navbar-nav .nav-link.active,
.header .navbar-nav .nav-link:hover {
    color: var(--pl-text-main);
}

/* кнопка выхода */
.header .btn.btn-warning,
.header .btn.btn-primary, .btn-primary {
    background: var(--pl-orange-gr);
    border-color: var(--pl-orange);
    border-radius: 999px;
    padding-inline: 18px;
    font-weight: 600;
    color:#fff;
}

.header .btn.btn-warning:hover,
.header .btn.btn-primary:hover {
	color:#fff;
	box-shadow: 0 10px 20px var(--pl-orange-soft);
}

/* Без синего bootstrap при наведении/клике: всегда фирменный оранжевый */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary.active,
.btn-check:checked + .btn-primary {
    background: var(--pl-orange-gr);
    border-color: var(--pl-orange);
    color: #fff;
    box-shadow: none;
}

/* -------------------- Макет: левое меню + контент -------------------- */

.main-content.container {
    margin-top: clamp(15px, 2vw, 20px);
    margin-bottom: 40px;
}

/* левое меню */
.main-menu {
 padding: 20px 16px;
 border-radius: 20px;
 background-color: #f5f5f5;
  /* если нужен именно эффект стекла */
 /* фон блока — полупрозрачный #f1f1f1, чтобы работал blur */
  border-image:
	radial-gradient(
	  circle,
	  rgba(141, 142, 145, 0.7) 0%,
	  rgba(64, 66, 80, 0.0) 49%,
	  rgba(141, 142, 145, 0.7) 100%
	);

  /* толщина и механизм градиентного бордера */
  border: 1.93px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;

  /* блюр как в макете */
  backdrop-filter: blur(62px);
  -webkit-backdrop-filter: blur(62px);

  /* внутренняя тень (inner shadow) */
  box-shadow: inset 0 5px 5.7px rgba(143, 143, 143, 0.08);
}

/* пункт меню */
.main-menu .nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--pl-text-main);
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 600;
}

.main-menu .nav-pills .nav-link  .fa-solid {
 background: linear-gradient(0deg, #FF8000 0%, #FFBD58 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent; /* чтобы был виден именно фон */

}

/* Иконки одной ширины (как fa-fw) — названия пунктов стоят ровно в одну
   вертикальную линию, а не «прыгают» из-за разной ширины значков. */
.main-menu .nav-pills .nav-link > i {
    flex: 0 0 1.25em;
    width: 1.25em;
    text-align: center;
}

/* активный пункт меню */
.main-menu .nav-pills .nav-link.active {
    background: var(--pl-orange-gr);
    color: #ffffff;
}
.main-menu .nav-pills .nav-link.active   .fa-solid { 
 background: none;                 /* убираем градиент */
  -webkit-background-clip: border-box;
          background-clip: border-box;
  -webkit-text-fill-color: #fff;    /* показываем белый */
  color: #fff;        

}
/* hover */
.main-menu .nav-pills .nav-link:not(.active):hover {
    background: rgba(15, 23, 42, 0.03);
    color: var(--pl-text-main);
}

/* блок с данными профиля внизу меню */
.main-menu .profile-card {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
}

/* правый блок с тренингами – «карточка» по центру */

/* на маленьких экранах меню наверх, контент – без сильной карточности */
@media (max-width: 991.98px) {
    .main-content.container {
        margin-top: 16px;
    }

    .main-menu {
        margin-bottom: 16px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
    }

    .content {
        box-shadow: none;
    }
}

/* сводка общая */

.cabinet-summary {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  /* потом сюда можно добавить ещё карточки, они нормально встанут */
}

/* сама карточка */
.summary-card {
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(241, 241, 241, 0.85); /* твой #f1f1f1 с лёгкой прозрачностью */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(141, 142, 145, 0.25);
  box-shadow: inset 0 5px 6px rgba(143, 143, 143, 0.08);
}

/* заголовок карточки */
.summary-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

/* строка “метка — значение” */
.summary-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  line-height: 1.4;
  padding: 4px 0;
}

.summary-label {
  color: #777;
}

.summary-value {
  font-weight: 600;
  color: #111;
}

.summary-value-muted {
  color: #444;
  font-weight: 500;
}

/* на маленьких экранах */
@media (max-width: 576px) {
  .summary-card {
    padding: 14px 12px;
  }

  .summary-card-title {
    font-size: 13px;
  }

  .summary-card-row {
    font-size: 13px;
  }
}

/* карточка партнера */
.partner-card {line-height:130%}
.partner-card .partner-name {font-size:clamp(12px, 2vw, 16px);font-weight:bold;}
.partner-card .partner-profile {font-size:clamp(9px, 2vw, 11px); color:var(--pl-orange)}
.partner-card .partner-tg {font-size:clamp(11px, 2vw, 12px)}
.partner-card .partner-tg i {font-size:clamp(13px, 2vw, 15px)}
.partner-card .partner-phone .p-phone {font-size:clamp(17px, 3vw, 18px);font-weight:bold;}
.partner-card .partner-phone .fa-phone {background: linear-gradient(
  180deg,
  #E0E0E0 0%,
  #C0C0C0 100%
);border-radius:999px;padding:8px;
}
.partner-card .partner-phone .icon {font-size: 7px;}
.partner-card .partner-phone .p-phone-desc {font-size:clamp(9px, 1vw, 11px)}




.card, .card-img {border-radius:10px;overflow:hidden}




.experts-checkbox-group{
    text-align: left;
    border-radius: 8px;
    margin-bottom: 10px;
}

.content .info-user {
    border-right: 2px solid #dbe0e7;
    padding-bottom: 144px;
    width: 100%;
}

.content a:hover img {
    opacity: 0.8;
}

.content .name {
    font-size: 17px;
    margin-top: 10px;
    font-weight:bold;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.content .info-user .status-onn {
    margin-top: 11px;
    font-size: 17px;
    color: #e0e4ea;
    margin-bottom: 22px;
}

.content .info-user .status-off {
    margin-top: 11px;
    color: #1f1f1f;
    margin-bottom: 22px;
}

.content .info-user .change-page,
.content .info-user .change-photo,
.content .info-user .change-mini,
.content .info-user .change-100kursov{
    position: relative;
    font-family: GothamProLight, sans-serif;
    color: #5f5f5f;
    margin-bottom: 23px;
    text-align: left;
    margin-left: 40px;
}

.content .info-user a .change-page:hover,
.content .info-user a .change-photo:hover,
.content .info-user a .change-mini:hover,
.content .info-user a .change-100kursov:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: #5f5f5f;
}

.content .info-user .change-page::before,
.content .info-user .change-photo::before,
.content .info-user .change-mini::before,
.content .info-user .change-100kursov::before{
    display: inline-block;
    margin-right: 10px;
    content: "";
    width: 28px;
    height: 28px;
    vertical-align: middle;
}

.content .info-user .change-page::before {
    background: url("/sources/base/img/change-page.png");
}

.content .info-user .change-photo::before {
    background: url("/sources/base/img/change-photo.png");
}

.content .info-user .change-mini::before {
    background: url("/sources/base/img/change-mini.png");
}
.content .info-user .change-100kursov::before {
    background: url("/sources/base/img/logo_100kursov.png");
    background-size: contain;
}


.content .materials .info {
    margin-bottom: 35px;
}

.content .materials .info a {
    font-size: 17px;
    color: #1f1f1f;
    margin-right: 25px;
}

.content .materials .info span {
    color: #1f1f1f;
}

.content .materials .info-activity {
    margin-bottom: 30px;
    text-align: left;
}

.content .materials span.activity {
    font-size: 17px;
}

.content .materials span.green {
    color: #049372;
}

.content .materials span.gray {
    color: #1f1f1f;
}

.content .materials a.improve {
    font-family: GothamProLight, sans-serif;
    font-size: 13px;
    color: #62bca7;
    border: 1px solid #23a184;
    padding: 5px 10px;
    border-radius: 13px;
}

.content .materials a.improve:hover {
    text-decoration: none;
    background: #07614c;
    color: #fff;
}

.content .materials a.extend {
    padding: 5px 25px;
    margin-left: 8px;
}

.content .materials a.activate {
    margin-left: 41px;
}

.content .materials ul.statistics {
    margin: 0;
    padding: 0;
}

.content .materials ul.statistics li {
    color: #1f1f1f;
    margin-right: 30px;
    font-size: 17px;
    list-style: none;
    display: inline-block;
}

.content .materials ul.statistics li:last-of-type {
    margin: 0;
}

.structure-list a.target {font-weight:bold}

.block {
    background: #ffffff;
    text-align: center;
    padding-top: 26px;
    border-radius: 8px;
    margin-top: 20px;
}

.block .unit {
    color: #1f1f1f;
}

.block .title {
    font-family: GothamProMedium, sans-serif;
    font-size: 21px;
    color: #049372;
    margin: 15px 0;
}

.block img {
    width: 100%;
    height: 196px;
}

.block img:hover {
    opacity: 0.8;
}

.footer-top {
    min-height: 300px;
    background-color: #049372;
    padding-top: 90px;
    padding-bottom: 45px;
    margin-top: 23px;
}
.footer-top-block2 img {border-radius:60px;}
.footer-top-block1 img {width:120px;height:120px;border-radius:60px;object-fit: cover}
.footer-top .footer-top-block .footer-img {
    float: left;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: table;
}

.footer-top .footer-top-block .footer-content {
    vertical-align: middle;
    display: inline-block;
    margin: auto 20px;
}

.footer-top .footer-top-block .footer-content .title {
    color: #efefef;
    font-family: MullerRegular, sans-serif;
    font-size: 13px;
    line-height: 13px;
    margin-bottom: 18px;
}

.footer-top .footer-top-block .footer-content a {
    color: #3ecaff;
    font-family: MullerRegular, sans-serif;
    font-size: 22px;
    display: inline-block;
    border-bottom: 1px dashed #3ecaff;
}

.footer-top .footer-top-block .footer-content a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.footer-top .footer-top-block .footer-content .email {
    color: white;
    font-family: MullerLight, sans-serif;
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 14px;
}

.footer-top .footer-top-block .footer-content a.politics {
    font-size: 14px;
}

.footer-bottom {
    background-color: #00523f;
    color: #feffff;
    font-family: MullerLight, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .main-menu .info-tutor {
        padding-bottom: 140px;
    }
    .main-menu .name img {
        display: block;
        margin: 10px auto;
    }
    .content .info-user {
        padding-bottom: 311px;
    }
    .content .materials ul.statistics li {
        display: block;
        margin: 0 0 60px 0;
    }
}
@media screen and (max-width: 992px) {
    .content .info-user {
        padding-bottom: 50px;
        border: none;
    }
    .info-user a {
        display: block;
    }
    .content .info-user .change-page, 
    .content .info-user .change-photo, 
    .content .info-user .change-mini {
        display: inline-block;
        margin-left: 0;
    }
    .content .materials .info,
    .content .materials .info-activity {
        text-align: center;
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    /*
       Телефон: 16px (крупнее 15px компьютера, читается легко) и интервал ЧИСЛОМ.
       Был 18px и line-height: 160% у body — процент наследуется готовыми
       пикселями (28,8px), поэтому у мелкого текста (подписи, подвал, подсказки)
       строки шли через 28,8px и страницы растягивались в простыню.
    */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    /* Длинный текст статей — чуть свободнее остального. */
    .article-body-html { line-height: 1.6; }
    .header {
        position: relative;
        margin: 0;
    }
    .header .logo {
        margin-left: 50px;
    }
    .header .menu {
        display: none;
    }
    .header a.line {
        display: block;
        position: absolute;
        height: 31px;
        width: 37px;
        top: -41px;
        right: 40px;
        border: 1px solid #8a8888;
        padding: 8px 0 0 6px;
        border-radius: 3px;
    }
    .header a .menu-mob-btn {
        background-color: #000;
        width: 23px;
        height: 1px;
        box-shadow: 0 6px 0 0 #000, 0 12px 0 0 #000;
    }
    .header a.line:hover {
        opacity: 0.4;
    }
    .menu-mob {
        display: none;
    }
    .menu-mob ul {
        background: #fff;
        margin: 0 0 10px;
        padding: 0;
    }
    .menu-mob li {
        list-style: none;
        text-align: center;
    }
    .menu-mob li a {
        display: inline-block;
        color: #1f1f1f;
        padding: 25px 0;
        width: 100%;
        border-bottom: 1px dotted #ccc;
    }
    .menu-mob li a:hover,
    .menu-mob li a:focus {
        background: #ededed;
        text-decoration: none;
    }
    .main-menu {
        border-radius: 0;
        padding: 0;
    }
    .main-menu ul {
        padding: 0;
        margin-bottom: 40px;
    }
    .main-menu ul::after {
        display: none;
    }
    .main-menu ul li {
        text-align: center;
    }
    .main-menu ul li a {
        position: relative;
        width: 100%;
        font-size: 14px;
        padding: 20px 0;
    }
    .main-menu ul li a:not(.rub) {
        border-bottom: 1px dotted #ccc;
    }
    .main-menu ul li a:not(.rub):hover {
        border: none;
        box-shadow: none;
    }
    .main-menu ul li a::before,
    .main-menu ul li a.records::before,
    .main-menu ul li a.structure::before,
    .main-menu ul li a.balance::before {
        left: 270px;
    }
    .main-menu ul li a.rub::before {
        left: 330px;
    }
    .main-menu ul li a:hover,
    .main-menu ul li a:focus {
        background: #ededed;
    }
    .main-menu p {
        font-size: 23px;
        border: none;
        text-decoration: underline;
    }
    .main-menu .phone,
    .main-menu .telegram {
        text-align: center;
        font-size: 20px;
    }
    .main-menu .phone::before,
    .main-menu .telegram::before {
        left: 220px;
    }
    .main-menu .info-tutor {
        padding: 0 0 1px 0;
        margin-bottom: 45px;
    }
    .content {
        border-radius: 0;
        margin-left: 0;
    }
    .content .info-user {
        padding: 0;
        border: none;
        width: 100%;
        text-align: center;
    }
    .content .info-user .status-off {
        margin-bottom: 45px;
    }
    .content .info-user .change-page,
    .content .info-user .change-photo,
    .content .info-user .change-mini {
        text-align: center;
        margin-left: 0;
    }
    .content .info-user .change-page::before,
    .content .info-user .change-photo::before,
    .content .info-user .change-mini::before {
        left: 195px;
    }
    .content .materials a.improve {
        font-size: 19px;
        border-radius: 16px;
    }
    .content .materials a.extend {
        padding: 5px 31px;
    }
    .content .materials ul.statistics li,
    .content .materials ul.statistics li:last-of-type {
        margin-bottom: 150px;
    }
    .footer-top {
        padding-top: 25px;
    }
    .footer-top .footer-top-block {
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-bottom p {
        margin: 0;
    }
}

@media screen and (max-width: 640px) {
    .header a.line {
        top: -39px;
    }
    .main-menu ul li a::before,
    .main-menu ul li a.records::before,
    .main-menu ul li a.structure::before,
    .main-menu ul li a.balance::before {
        left: 217px;
    }
    .main-menu ul li a.rub::before {
        left: 278px;
    }
    .main-menu .phone::before,
    .main-menu .telegram::before {
        left: 141px;
    }
    .content .info-user .change-page::before,
    .content .info-user .change-photo::before,
    .content .info-user .change-mini::before {
        left: 127px;
    }
}

@media screen and (max-width: 480px) {
    .main-menu ul li a::before,
    .main-menu ul li a.records::before,
    .main-menu ul li a.structure::before,
    .main-menu ul li a.balance::before {
        left: 148px;
    }
    .main-menu ul li a.rub::before {
        left: 192px;
    }
    .main-menu .phone::before,
    .main-menu .telegram::before {
        left: 74px;
    }
    .content .info-user .change-page::before,
    .content .info-user .change-photo::before,
    .content .info-user .change-mini::before {
        left: 45px;
    }
    .content .materials .info {
        text-align: center;
        margin-left: 0;
    }
    .content .materials .info-activity {
        text-align: center;
        margin-left: 0;
    }
}

@media screen and (max-width: 400px) {
    .main-menu ul li a::before,
    .main-menu ul li a.records::before,
    .main-menu ul li a.structure::before,
    .main-menu ul li a.balance::before {
        left: 53px;
    }
    .main-menu ul li a.rub::before {
        left: 113px;
    }
    .main-menu .phone::before,
    .main-menu .telegram::before {
        left: 0;
    }
    .content .info-user .change-page::before,
    .content .info-user .change-photo::before,
    .content .info-user .change-mini::before {
        display: none;
    }
    .content .materials .info a {
        display: inline-block;
        margin: 0 0 10px 0;
    }
    .content .materials a.extend,
    .content .materials a.activate,
    .content .materials a.take-off {
        display: inline-block;
        margin: 10px 0 0 0;
    }
    .footer-top img {
        margin-bottom: 10px;
    }
}

.padding-0 {
    padding: 0;
}

.main-menu ul li.active {
    text-decoration: none;
    opacity: 0.8;
    border-left: 2px solid #049372;
    box-shadow: inset 7px 0 6px -7px #049372;
}

.main-menu ul li.active:hover {
    border: none;
    box-shadow: none;
    opacity: 1;
}

.content.balance {
    padding-bottom: 39px;
}

.content.balance .active {
    text-align: center;
}

.content.balance .active h1 {
    font-family: GothamProMedium, sans-serif;
    font-size: 21px;
    color: #1e2a40;
    margin-top: 18px;
    margin-bottom: 20px;
}



.content.balance .materials .info-activity {
    margin-top: 0;
    text-align: center;
    margin-left: 0;
    margin-bottom: 25px;
}

.content .materials a.take-off {
    margin-left: 85px;
    padding: 5px 36px;
}

.content .materials span.rub {
    position: relative;
}

.content .materials span.rub::after {
    position: absolute;
    content: "";
    background: url("/sources/base/img/rub.png");
    width: 10px;
    height: 12px;
}

.content.balance .plus,
.content.balance .minus {
    text-align: left;
    color: #1f1f1f;
}

.content.balance .plus {
    border-right: 2px solid #dbe0e7;
}

.content.balance h3,
.content.balance h3 {
    font-family: GothamProMedium, sans-serif;
    font-size: 15px;
    text-align: center;
    color: #1f1f1f;
    margin: 0 0 28px 0;
}

.content.balance label {
    font-size: 17px;
    font-weight: normal;
    vertical-align: middle;
}

.experts-checkbox,
.content.balance input[type="radio"],
.content.experts input[type="radio"],
.content.experts input[type="checkbox"] {
    vertical-align: bottom;
    width: 26px;
    height: 26px;
    box-shadow: 2px 3px 7px 0 #1b1b1b;
    border-radius: 999px;
    -webkit-appearance: inherit;
    border: 1px solid #999999;
    position: relative;
    box-sizing: border-box;
    opacity: 0.6;
    margin: 0 0 0 10px;
}
.experts-checkbox:checked:before,
.content.balance input[type="radio"]:checked:before,
.content.experts input[type="radio"]:checked:before,
.content.experts input[type="checkbox"]:checked:before {
    content: "";
    position: absolute;
    border-radius: 999px;
    left: 25%;
    top: 25%;
    width: 50%;
    height: 50%;
    background: #999999;
}

.content.balance input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
.content.experts input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: none;
}

.content.balance .info,
.content.experts .info {
    margin-bottom: 10px;
}

.content.balance .plus .info ul {
    width: 295px;
    height: 33px;
    text-align: center;
    margin: 10px 0 42px 90px;
    padding: 0;
    border-radius: 16px;
    box-shadow: inset 2px 3px 15px -4px #201e1c;
}

.content.balance .plus .info ul li {
    display: inline-block;
    padding: 9px 11px 8px 11px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 17px;
}

.content.balance .plus .info ul li:hover {
    background: #049372;
}

.content.balance table {
 //   margin-left: 90px;
}

.content.balance table tr:not(:last-of-type) {
    border-bottom: 1px solid #dbe0e7;
}

.content.balance table td.date {
    color: #577484;
    padding: 9px 71px 9px 0;
}

.content.balance table td.sum {
    font-family: GothamProMedium, sans-serif;
    font-size: 16px;
    color: #171717;
    padding: 0 19px 0 0;
}
.content.balance table td.status{
    font-size: 13px;
    font-family: inherit;
}
.payout-left {
    text-align: center;
    display: block;
    color: gray;
    font-size: 13px;
    margin-bottom: 15px;
}
.content.balance table td.points a {
    position: relative;
    display: block;
    background: url("/sources/base/img/points.png") no-repeat 0 0;
    width: 22px;
    height: 11px;
}

.content.balance table td.points a:hover {
    background: url("/sources/base/img/points-activ.png") no-repeat 0 0;
    width: 22px;
    height: 11px;
}
/*.content.balance table td.points a::after {
    position: absolute;
    top: 14px;
    left: 20px;
    content: "";
    width: 112px;
    height: 60px;
    z-index: 10000;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 2px 3px 0px #ababab;
}*/

@media screen and (max-width: 1024px) {
    .main-menu .info-tutor.balance {
        padding-bottom: 5px;
    }
    .content.balance {
        padding-bottom: 62px;
    }
    .content.balance table td.date {
        padding: 9px 50px 9px 0;
    }
}
@media screen and (max-width: 992px) {
    .content.balance label,
    .content.balance table,
    .content.balance .plus .info ul {
        margin-left: 40px;
    }
}
@media screen and (max-width: 768px) {
    .content .materials a.take-off {
        padding: 5px 50px;
    }
    .content.balance .plus,
    .content.balance .minus {
        text-align: center;
    }
    .content.balance .plus {
        border: none;
    }
    .content.balance .plus label {
        margin-left: 0;
    }
    .content.balance .plus .info ul {
        width: 192px;
        margin: 10px auto 35px;
    }
    .content.balance table {
        margin: 20px auto;
        
    }
}

@media screen and (max-width: 480px) {
    .content.balance .materials .info-activity {
        margin-bottom: 52px;
    }
}

@media screen and (max-width: 320px) {
    .content .materials a.take-off {
        margin-left: 0;
    }
    .content.balance table td.date {
        padding: 9px 35px 9px 0;
    }
}

.main-menu .info-tutor.schedule {
    padding-bottom: 99px;
}

.content.schedule {
    text-align: center;
    margin-bottom: 20px;
}

.content img {
    max-width: 100%;
}

.content.schedule-2 {
    border-radius: 8px;
    margin-left: 0;
}

.content .stars {
    background: url("/sources/base/img/stars.png");
    width: 85px;
    height: 15px;
    margin: 15px auto;
}

.content.schedule .sign-in {
    font-family: GothamProMedium, sans-serif;
    font-size: 21px;
    color: #049372;
    margin: 8px 0 11px 0;
}

/*.content .date,*/
.content .status {
    font-family: GothamProMedium, sans-serif;
    color: #1f1f1f;
    margin-bottom: 35px;
}
.content .date {
    margin-bottom: 35px;
}
.content .sign-in {
    font-family: GothamProMedium, sans-serif;
}

.content.schedule p {
    display: block;
    text-align: left;
    padding-left: 55px;
    margin-right: 10px;
    position: relative;
    font-size: 14px;
    color: #1f1f1f;
}

.content.schedule p::before {
    position: absolute;
    top: -8px;
    left: 10px;
    content: "";
    background: url("/sources/base/img/check.png");
    width: 38px;
    height: 38px;
}
.content.schedule p.comments {
    position: relative;
    padding-left: 15px;
    margin-top: 10px;
}

.content.schedule p.comments .link-delete {
    position: absolute;
    top:5px;
    right:5px;
    color:gray;
    font-size: 13px;
}
.content.schedule p.comments .link-delete:hover {
    text-decoration: none;
    color:red;
}

.content.schedule p.comments::before {
    content: none;
}
.content.schedule p.comments .img-circle {
    vertical-align: top;
    float: left;
    margin-right: 15px;
}
.content.schedule p.comments span.name {
    font-family: "GothamProLight", sans-serif;
    color: #049372;
    font-size: 15px;
    margin-left: 10px;
    display: block;
    min-height: 14px;
}
.content.schedule p.comments u {
    font-family: "GothamProLight", sans-serif;
    display: inline-block;
    color: #dbe0e7;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 10px;
}
.content.schedule p.comments span.text-comment {
    margin-left: 50px;
}
.content.schedule p.comments .btn-link {
    color: #67b8ea;
    text-decoration: underline;
    padding: 0;
    margin-left: 48px;
}
.content.schedule p.comments .btn-link:hover {
    opacity: 0.8;
    text-decoration: none;
}
.content.schedule p.comments .btn-link:focus {
    border: none;
    outline: none;
}
.btn.submit {
    background: #29a588;
    border-radius: 18px;
    color: #fff;
    padding: 5px 14px;
    float: right;
    margin-right: 10px;
    margin-bottom: 15px;
}
.form-control {
    display: inline-block;
    width: 88%;
    outline: none;
    /*border: none;*/
    margin: 5px 0;
    -moz-appearance: none;
    -webkit-box-shadow: none;
    resize: none;
}
.form-control:focus {
    outline: none;
    box-shadow: none;
}
.btn-link {
    font-size: 12px;
    margin-top: 7px;
}

.content.schedule img.picture {
    width: 100%;
    height: 152px;
}

@media screen and (max-width: 1024px) {
    .main-menu .info-tutor.schedule {
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 768px) {
    .content.schedule p {
        text-align: center;
    }
}


./*content.structure {
    text-align: left;
}
.content.structure-2 {
    border-radius: 8px;
}
.content.structure .name {
    font-family: "GothamPro", sans-serif;
    font-size: 16px;
    color: #577484;
}
.content.structure .badge {
    background-color: #ff8f2b;
    width: 19px;
    height: 19px;
    padding: 4px 6px;
    margin-left: 26px;
    box-shadow: 0px 0px 13px 0px #ff8f2b;
}
.content.structure img.line {
    max-width: 200px;
}
.content.structure ul {
    margin: 0;
    padding: 0;
}
.content.structure ul li {
    list-style: none;
    border-left: 1px solid #ccc;
    margin: 10px 0;
}
.content.structure ul li a {
    display: block;
    padding: 5px 5px;
    color: #577484;
}
.content.structure ul li a .badge {
    margin-left: 10px;
    margin-right: 10px;
}
.content.structure ul li ul {
    padding: 0 0 0 20px;
}
.content.structure .glyphicon {
    font-size: 8px;
    color: #577484;
    margin: 0 10px 0 3px;
}
.content.structure-2 {
    padding: 20px 0;
}
.content.structure table {
    text-align: center;
    width: 100%
}
.content.structure table.left {
    border-right: 1px solid #ccc;
    width: 100%;
}
.content.structure table td {
    font-family: "GothamProMedium", sans-serif;
    color: #2a2a2a;
    padding: 18px 36px;
}
.content.structure table td.title {
    font-family: "GothamPro", sans-serif;   
    font-size: 16px;
    color: #1e2a40;
    padding: 18px 0;
}

@media screen and (max-width: 1024px) {
    .content.structure table td {
        padding: 18px 15px;
    }
}
@media screen and (max-width: 992px) {
    .content.structure table.left {
        border: none;
    }
}
@media screen and (max-width: 768px) {
    .content.structure-2,
    .content.structure {
        padding: 27px 0 0 35px;
    }
    .content.structure table {
        margin: 0 auto;
    }
    .content.structure table.left {
        border-right: 0;
        border-bottom: 1px solid #ccc;
    }  
}*/

.border-none {
    border: none !important;
}
.content.experts {
    padding: 27px 0 20px 20px;
    text-align: left;
}
.content.experts .info {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 30px;
}
.content.experts label {
    font-family: GothamPro, sans-serif;
    font-size: 17px;
    font-weight: normal;
    color: #1f1f1f;
}
.content .status {
    margin-bottom: 20px;
}
.content .comments a {
    display: block;
    font-family: GothamProLight, sans-serif;
    color: #009ce3;
    margin-bottom: 20px;
}
.content .telegram a {
    position: relative;
    font-family: GothamProLight, sans-serif;
    color: #2a2a2a;
}
.content .telegram a::before {
    position: absolute;
    content: "";
    background: url("/sources/base/img/icon-telegram.png");
    width: 31px;
    height: 31px;
    top: -7px;
    left: -36px;
}
.content.experts-n {
    border-radius: 0;
    border-right: 2px solid #ccc;
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.next a {
    display: inline-block;
    font-family: GothamProMedium, sans-serif;
    color: #1f1f1f;
    float: right;
}

.ava{
    display: inline-block;
    padding: 0!important;
}

.about{
    display: inline-block;
    padding: 10px 0;
}

.referal_user{
    color: white;
    width: 250px;
    height: 100px;
    padding: 10px 0;
}


@media screen and (max-width: 992px) {
    .content.experts-n {
        border-right: none;
        border-bottom: 2px solid #ccc !important;
    }
}
@media screen and (max-width: 768px) {
    .content.experts {
        padding: 10px 0;
    }
}


.table.profile-table td {vertical-align:middle;padding:16px 8px;border:none;}
.selects_birthdate select {display:inline-block;width:32%;}
.circle-int {margin-top:14px;}
.page-content {padding:30px;text-align: left;}
#payments_div {line-height:25px;margin: 10px auto;}
a{ cursor: pointer!important;}

.comments-box{
    height: 200px;
    overflow-y: scroll;
}


textarea{
    overflow: hidden;
    width: 100%!important;
}

/* Контейнер пагинации */
.pagination {
    gap: 6px;
}

/* Общий стиль кнопок */
.pagination .page-link {
    border: none;
    color: var(--pl-text-main);
    background-color: var(--pl-white);
    padding: 8px 14px;
    font-weight: 500;
    box-shadow: var(--pl-shadow-soft);
    transition: all 0.2s ease;
}

/* Hover */
.pagination .page-link:hover {
    background-color: var(--pl-orange-soft);
    color: var(--pl-text-main);
}

/* Активная страница */
.pagination .page-item.active .page-link {
    background: var(--pl-orange-gr);
    color: var(--pl-white);
    box-shadow: 0 8px 20px rgba(255, 143, 43, 0.35);
}

/* Стрелки и крайние элементы — «пилюли» */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 999px;
    padding-left: 16px;
    padding-right: 16px;
}

/* Внутренние страницы — мягкие */
.pagination .page-item:not(:first-child):not(:last-child) .page-link {
    border-radius: 12px;
}

/* Disabled (если понадобится) */
.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* Убираем стандартный focus Bootstrap */
.pagination .page-link:focus {
    box-shadow: none;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 33px;
    text-align: left;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-left: 14px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 33px;
    user-select: none;
    -webkit-user-select: none;
}

.structure a {
    position: relative;
}
.structure a:hover .div-tooltip{
    display: block;
}
.div-tooltip {
    position: absolute;
    top:22px;
    left:0;
    padding:10px;
    background: #f5faf9;
    border: 2px solid #EEE;
    margin-left:20%;
    z-index: 1000;
    display: none;
    color: #577484;
}
.div-tooltip p {
    margin:5px 0;
}

@media screen and (max-width: 1230px) {
    .main-menu ul li a::before{
        margin-right:30px;
    }
    .main-menu ul li.rub a{
        padding: 14px 0 15px 61px;
    }
}

@media screen and (max-width: 1024px) {
    .main-menu ul li a::before{
        margin-right:10px;
    }
    .main-menu ul li.rub a{
        padding: 14px 0 15px 41px;
    }
}

.color-gray {
    color:gray;
}
.color-green {
    color:green;
}
.color-red {
    color:red;
}

#link-100kursov {
    text-align: center;
}
#link-100kursov .user_info {
    padding: 10px;
    background: #edf4fa;
    margin: 10px;
}
#link-100kursov .user_info p {
    text-align: center;
}
#link-100kursov .user_info img {
    max-width:150px;
}

.span-link {
    cursor: pointer;
    text-decoration: underline;
}
.span-link:hover {
    text-decoration: none;
}

.transfer_balance {
    display: none;;
}
.transfer_balance {
    margin:30px 0 50px 0;
}
.transfer_balance h2 {
    margin-bottom:30px;
}
.transfer_balance p {
    margin:0 0 5px 0;
    font-weight: bold;
    font-size: 13px;
}
.transfer_balance p.text-muted {
    color:#999;
    font-size:12px;
}
.transfer_balance .alert {
    margin-top: 5px;
}

.transfer_points{
    display: none;
    padding-bottom: 20px;
}

.transfer_points-header{

}

.transfer_points-content{
    display: flex;
    justify-content: space-around;
}

.transfer_points-content-item{
    width: calc(50% - 6px);
}

.transfer_points-content-item button[type="submit"]{
    margin-top: 10px;
}

.transfer_points .alert{
    margin-top: 20px;
}


.field-required {
    color: red;
    font-size: 120%;
    vertical-align: middle;
}

/*** Тренинги ******/

.trenings-list {
    padding: 0 10px;
}
.trenings-list li {
    padding:8px;
    list-style: none;
}

.trening .card .labels-line {position: absolute; top: 5px; right: 10px;z-index:3}
.trening .card .label {font-size:8px;font-weight:bold;text-transform: uppercase;border-radius:999px;line-height:160%;    display: inline-block;
    padding: 3px 7px 0;vertical-align:middle;white-space:nowrap;}
.trening .card .label.red {background:rgba(236,0,0,0.75);color:#fff;}
.trening .card .label.gray {background:rgba(27,27,27,0.88);color:#fff;}
.trening .card .label.orange {background:rgba(246, 138, 21, 0.738);color:#fff;}



.trening .trening-img {object-fit: cover;aspect-ratio: 20 / 9;}


/* Состояние "залочено" */
.trening-card_locked .trening-img {
    filter: grayscale(1);
    opacity: 0.5;
}

/* Полупрозрачная тёмная плашка поверх картинки */
.locked-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

/* Показываем оверлей только для залоченных карточек */
.trening-card_locked .locked-overlay {
    opacity: 1;
}

/* Текст на оверлее */
.locked-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    text-transform: none;
    font-weight: 500;
}
.locked-text .fa-solid, .trening .heading .fa-solid {font-size:12px;}

/* Кнопка "Оформить подписку" под карточкой */
.trening-card_locked .card-body {
    padding: 0.75rem 0.75rem 0.9rem;
}

/* На маленьких экранах чуть уменьшим размер текста */
@media (max-width: 576px) {
    .locked-text {
        font-size: 12px;
    }
}
.videoWrapper.ratio.ratio-16x9 {
  position: relative;
  width: 100%;
  padding: 0;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  margin-bottom: 35px;
}

/* вот это главное: убираем bootstrap before только у старого wrapper */
.videoWrapper.ratio.ratio-16x9::before {
  display: none !important;
  content: none !important;
}

/* Сам iframe — абсолютный, растянутый */
.videoWrapper.ratio.ratio-16x9 > iframe[src*="vkvideo.ru/video_ext.php"],
.videoWrapper.ratio.ratio-16x9 > iframe[src*="vk.com/video_ext.php"] {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.embed-video-css {
  margin: 35px 0;
  position: relative !important;
  width: 100%;
}

.embed-video-css iframe {
  display: block;
}
.btn-close{
    
    border: 1px solid #b8b8b8;
    color: #5f5f5f;
}

#add_number_phone .form-group {position: relative;}
#phone_code, #add_number_phone .select2 {position: absolute; width: 90px; border: none; box-shadow: none;}
#add_number_phone .select2-selection--single {border: none !important; background-color: #fff !important;}
#add_number_phone .select2-selection--single span {display: inherit;}
#add_number_phone .select2-container {position: absolute; left: 3px; top: 30px; }
#add_number_phone .select2-container--default .select2-selection--single .select2-selection__rendered {line-height: 30px; font-family: "GothamProLight", sans-serif; font-size: 16px; color: #5f5f5f;}
.select2-results {font-size: 16px;}
#add_number_phone .form-control {height: 40px;}
#add_phone {padding-left: 100px;}

#edit_phone_code  {position: absolute; width: 100px; border: none; box-shadow: none;}
#edit_phone_block {display: flex;}
#edit_phone_block .select2 {margin: 5px 10px 5px 0;}

@media only screen and (max-width: 1125px) {
    .container {display: inline-block;}
}

.products .row:not(:first-child) {margin-top: 20px;}
.products .row .col-md-4 {width: 33.3%;}
.products .form-control {width: 99%;}
.products button {width: auto; height: auto; padding: 10px 20px;}
.products button.btn-xs {padding: 5px 10px;}

.mt-10 {margin-top: 10px;}
.mt-20 {margin-top: 20px;}

.cabinet-content {text-align: left; padding: 20px 60px;}
.cabinet-content .avatar {width: 60px; height: 60px; border-radius: 50%;}

.cabinet-content .producer-block {width: 100%; position: relative; margin-bottom: 60px;}

.cabinet-content .producer-block div:first-child {padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid #ddd;}
.cabinet-content .producer-block div:not(:first-child) {display: inline-block; width: 24%;}

.building-page {width: 100%; border: 3px dashed #049372; padding: 20px; margin-top: 30px; text-align: center; font-size: 18px; font-weight: bold; border-radius: 10px;}
.round-handred-school {width: 200px; height: 200px; background-color: #049372; border-radius: 50%; color: #ffffff; font-size: 48px; text-align: center; line-height: 200px; margin: 0 auto;}

.submenu {margin: 15px 0 30px 0;}
.submenu a, .h4-with-btn a {position: relative; font-family: GothamProLight, sans-serif; font-weight: bold; font-size: 14px; color: #5f5f5f; border: 1px solid #5f5f5f; padding: 5px 10px; border-radius: 13px; text-decoration: none; margin-right: 10px;}
.submenu a:hover, .h4-with-btn a:hover, .submenu a.active {color: #fff; background-color: #5f5f5f; -webkit-transition: all .35s ease; -moz-transition: all .35s ease; -ms-transition: all .35s ease; -o-transition: all .35s ease; transition: all .35s ease;}
.submenu a>label {position: absolute; top: -14px; right: -12px; background-color: crimson; border-radius: 50%; text-align: center; font-size: 10px; color: #fff; width: 24px; height: 24px; line-height: 240%;}

.notice {position: absolute;top: -10px;right: -8px;background: #f00;color: #fff;display: block;line-height: 25px;width: 25px;height: 25px;z-index: 10;border-radius: 13px;font-size: 11px;}
.cabinet-content .notice {
    text-align: center;
}
.color-white {color:#fff !important;}

.stock .schedule.content {height: 680px;}
.stock .comments-box {height: 230px;}
.stock .comments-box p>a {line-height: 150%; text-decoration: none; color: #2a2a2a ;}
.stock .comments-box p>a:hover {color: #2bbd9b ;}
.stock .form-control {width: 100%;}

.applications {background-color: #fff; height: 400px; border-radius: 8px; padding: 20px; margin: 0 20px 20px; text-align: center;}
.applications button {width: 40%; height: 56px;}
.applications a {text-decoration: none; color: #2a2a2a ;}
.applications a:hover {color: #2bbd9b ;}
.applications .cancel, .experts-checkbox-group .cancel, .btn-cancel {background-color: #ddd; color: #333; background-image: none;}
.applications-box {height: 150px; overflow-y: scroll;}

.my-applications {background-color: #fff; height: 360px; border-radius: 8px; padding: 20px; margin: 0 20px 20px; text-align: center;}
.my-applications .button--delete, .requests .button--delete {background-image: none; background-color: tomato;}

.requests td {vertical-align: middle !important;}

.capitalize {text-transform: capitalize;}

.stock .experts-checkbox-group {display: inline-flex; vertical-align: top;}
.experts-checkbox-group button {width: 146px; height: 40px;}
.stock .experts-checkbox-group div {margin-right: 10px;}

.submenu--links {margin-bottom: 30px;}
.submenu--links a{color: #5f5f5f; text-decoration: none; font-size: 18px;}
.submenu--links a:hover, .submenu--links .active {color: #2bbd9b;}

.table a {text-decoration: none; color: #2a2a2a ;}
.table a:hover {color: #2bbd9b ;}

button.btn-small {width: 150px; height: 50px;}
button.btn-middle {width: 180px; height: 50px;}
button.btn-disabled {background-image: none; background-color: #8197a3;}

.submenu button.btn-small {width: auto; height: auto; padding: 6px 12px; margin-right: 10px;font-size: 14px; vertical-align: inherit;}

a.btn--link {display: inline-block; font-family: "GothamProMedium", sans-serif; text-decoration: none; padding: 10px; border-radius: 30px; border: none; outline: none; vertical-align: top;}
a.btn--link:hover {color: #fff;}
a.btn--link.success {color: #ffffff; background-image: linear-gradient(17deg, #049372 0%, #2bbd9b 100%);}
a.btn--link.danger {color: #fff; background-color: tomato;}

a.btn--link.info {background-color: #337ab7; color: #fff;}

.cabinet-menu--horizontal {text-align: left;}
.cabinet-menu--horizontal a {display: inline-block; text-decoration: none; font-family: GothamProLight, sans-serif; font-size: 13px; color: #62bca7; border: 1px solid #23a184; padding: 5px 10px; border-radius: 13px; -webkit-transition: all .35s ease; -moz-transition: all .35s ease; -ms-transition: all .35s ease; -o-transition: all .35s ease; transition: all .35s ease;}
.cabinet-menu--horizontal a:hover, .cabinet-menu--horizontal a.active {background-color: #07614c; color: #fff; -webkit-transition: all .35s ease; -moz-transition: all .35s ease; -ms-transition: all .35s ease; -o-transition: all .35s ease; transition: all .35s ease;}

.apllication-block {background-color: #fff; min-height: 200px; height: auto; padding: 20px 0 0 0; border-radius: 8px; margin-bottom: 20px; text-align: left;}
.apllication-block .application-info {width: 30%; position: relative; height: 100%; text-align: center; display: inline-block;}
.apllication-block .application-info .img-circle {width: 120px; height: 120px; margin-bottom: 15px;}
.apllication-block .application-info .name {font-family: GothamProMedium, sans-serif; color: #049372; font-size: 21px; margin-bottom: 15px;}
.apllication-block p {margin-bottom: 15px;}
.apllication-block p:last-child {margin-bottom: 0;}
.apllication-block .application-text {width: 69%; height: 100%; min-height: 220px; display: inline-block; vertical-align: top; padding: 0 20px; border-left: 1px solid #ddd;}
.apllication-block .application-footer {width: 100%; display: block; text-align: right; padding: 20px;}

.loading-page {
    cursor: wait;
}
.loading-page * {
    cursor: wait !important;
}
.div-table {
    background: #fff;
}
.table tr:first-child td {
    border-top: none !important;
}
.schedule.content .name {
    font-size: 14px;
}
.content.schedule .sign-in {
    font-size: 17px;
}
.content.schedule p {
    font-size: 13px;
}
.comments-list{
    border-bottom: 1px solid #ccc;
}

.comments-list:last-child{
    border-bottom: 0;
}

.comments-list:nth-last-child(2){
    border-bottom: 0;
}

.comments-list>div{
    padding: 14px 10px;
    border-bottom: 1px solid #ccc;
}

.comments-list>div:last-child{
    border-bottom: 0;
}

.comments-list>div>u{
    color: #8c8c8c;
    display: block;
    font-size: 12px;
    text-decoration: none;
}

.comments-list .text-comment{
    color: #1f1f1f;
    margin-top: 10px;
}

.show-expert-messages-block{
    padding-top: 20px;
    border-top: 1px solid #ccc;
}

.pr-50{
    padding-right: 50px !important;
}

.no-reade-message{
    border-left: 4px solid #049372;
}



.badge-red{
    background-color: red;
    color: #fff;
}

.vertical-align-middle{
    vertical-align: middle !important;
}

a.btn-middle{
    background-image: linear-gradient(17deg, #049372 0%, #2bbd9b 100%);
    border-radius: 30px;
    border: none;
    outline: none;
    display: inline-block;
    font-family: "GothamProMedium", sans-serif;
    color: #ffffff;
    padding: 4px 10px;
}

a.btn-middle:hover{
    color: #ffffff;
}

.message-success,
.message-error{
    padding: 20px;
    font-weight: bold;
}

.message-success{
    color: #049372;
}

.message-error{
    color: red;
}

.message-error.in-profile {
    padding: 50px;
    margin-bottom: 20px;
    background: rgba(255, 0, 0, 0.17);
}
.message-success.in-profile {
    padding: 50px;
    margin-bottom: 20px;
    background: rgba(0, 255, 29, 0.17);
}

.no-gift {
    opacity: 0.6;
}
.no-gift img {
    opacity: 0.6;
    max-width: 70px;
    margin-bottom: 12px;
}
.rate.star:hover {
    opacity: 0.8;
}
.members-gift-img-block {
    text-align: center;
    margin-bottom: 15px;
}
.members-gift-img-block img {
    max-width:200px;
    max-height:200px;
}
.font-weight-bold {
    font-weight: bold;
}

.v-profile .telegram-info {font-size:12px;}

/* Ссылки в блоке Telegram (личный аккаунт и канал): подчёркнуты,
   при наведении подчёркивание убирается. Подпись «Канал:» — вне ссылки,
   поэтому не подчёркивается. */
.telegram-info a{
    text-decoration: underline;
    text-underline-offset: 2px;
}

.telegram-info a:hover,
.telegram-info a:focus{
    text-decoration: none;
}

.v-profile  .avatar-wrapper {
    position: relative;
    overflow: hidden;

    cursor: pointer;
}

.v-profile  .avatar-img {
    display: block;
}

.v-profile  .avatar-overlay {
    position: absolute;
    inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem;
    /* блюр по фону */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.v-profile  .avatar-overlay i {
    font-size: 1.2rem;
}

.v-profile  .avatar-wrapper:hover .avatar-overlay {
    opacity: 1;
}


.v-profile  .nav-pills {
 background-color: #fff;
 /* фон блока — полупрозрачный #f1f1f1, чтобы работал blur */
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 1)
    ),
    radial-gradient(
     140% 140% at 0% 0%,  
      rgba(141, 142, 145, 0.5) 0%,   /* #8D8E91, 70% */
      rgba(64, 66, 80, 0.0) 49%,     /* #404250, 0% */
      rgba(141, 142, 145, 0.5) 100%  /* #8D8E91, 70% */
    );

  /* толщина и механизм градиентного бордера */
  border: 1.93px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;

  border-radius:999px;

}
.v-profile .nav-pills .nav-link {color: var(--pl-text-main);font-weight:bold;font-size:13px;}
.v-profile .nav-pills .nav-link.active, .v-profile .nav-pills .show>.nav-link

{

 background-color: #fff;
 /* фон блока — полупрозрачный #f1f1f1, чтобы работал blur */
  background-image:
    linear-gradient(
      rgba(241, 241, 241, 1),
      rgba(241, 241, 241, 1)
    ),
    radial-gradient(
     140% 140% at 0% 0%,  
      rgba(141, 142, 145, 0.5) 0%,   /* #8D8E91, 70% */
      rgba(64, 66, 80, 0.0) 49%,     /* #404250, 0% */
      rgba(141, 142, 145, 0.5) 100%  /* #8D8E91, 70% */
    );

  /* толщина и механизм градиентного бордера */
  border: 1.93px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;

  border-radius:999px;

  color: var(--pl-text-main);

}

#cabinetOffcanvasLabel {}

    /* FOOTER */

    footer {
      padding: 2.5rem 0 2rem;
      background: #030305;
      border-top: 1px solid rgba(255,255,255,0.05);
      font-size: .8rem;
      color: var(--pl-white);
    }
    @media (min-width: 480px) and (max-width: 992px) {
    
    .ceo-block , .phone-block {width:50%;}
    
    }
    
     @media (max-width: 992px) {
     footer {padding-left:2.7rem;padding-right:2.7rem;}
     footer .row {row-gap:2rem;}
     }
     .footer-name {font-size:clamp(6.45px, 2vw, 11.55px);}
     .footer-name .name {font-size:clamp(12.5px, 2vw, 18.55px);}

    .footer-avatar {
      width: clamp(60px, 1vw, 70px);
      height: clamp(60px, 1vw, 70px);
      border-radius: 999px;
      background: radial-gradient(circle at 30% 20%, #fff 0, #ffe9c4 30%, var(--accent) 60%, #7b3200 100%);
      margin-right: .75rem;
      flex-shrink: 0;
    }
    
.footer-icon, .set-icon {
  width: 35px !important;
  height: 35px;
  flex: 0 0 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #E0E0E0 0%, #C0C0C0 100%);
  margin-right: .75rem;
  color: var(--pl-text-main);
  font-size: 17px;
  line-height: 1;
}

.set-icon {margin-right: 0;}

.p-care.footer-icon, .p-care.set-icon  { background:var(--pl-orange-gr)}


    .footer-title {
      font-weight: 600;
      color: #fff;
      font-size: .85rem;
      margin-bottom: .15rem;
    }
    
   

    .footer-phone a {
      color: #fff;
      font-size:clamp(14.45px, 2vw, 18px);
      font-weight:bold;
    }
    
    .footer-phone .icon {font-size:6px!important;color:var(--pl-orange);}
    .footer-phone .desc-phone * {line-height:140%;font-size:clamp(9.45px, 1vw, 14.55px);}

    .footer-links a, .requisites {
      color: var(--pl-white);
      font-size:13px;
      display:block;
    }

    .footer-links a:hover {
      color: var(--pl-white);
      
    }
    

    .footer-bottom {
      font-size: .72rem;
      color: #626370;
      margin-top: 1rem;
    }

    /* Подсказка «Установить приложение» в подвале — компактнее */
    #pwaInstallHint { font-size: 13px; line-height: 1.45; padding: 10px 12px; }
    
.pl-article-card2{
  position: relative;
}

/* Оверлей-ссылка кликабельная */
.pl-card2-link{
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ВЕСЬ контент не перехватывает клики (клик проходит "вниз" на overlay) */
.pl-article-card2-body,
.pl-article-card2-cover{
  position: relative;
  z-index: 3;              /* может быть выше, это уже не важно */
  pointer-events: none;    /* ключ */
}

/* Но интерактивные элементы должны быть кликабельны */
.pl-card2-actions a,
.pl-card2-actions button,
.pl-card2-actions i{
  pointer-events: auto;    /* ключ */
  position: relative;
  z-index: 5;
}


.pl-articles-section{
  margin-top: 14px;
}

.pl-articles-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 12px;
}

.pl-articles-title{
  font-size: 16px;
  font-weight: 700;
  color: var(--pl-text-main);
}

.pl-articles-manage{
  font-size: 13px;
  text-decoration:none;
  color: var(--pl-text-main);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: var(--pl-white);
}
.pl-articles-manage:hover{
  border-color: rgba(255,143,43,.35);
  text-decoration:none;
}

.pl-articles-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .pl-articles-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .pl-articles-grid{ grid-template-columns: 1fr; }
}

.pl-article-card2{
  position: relative;

  display: flex;
  flex-direction: column;
  height: 100%; /* важно для grid: карточки одной высоты */
}

.pl-article-card2-body{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto; /* занимает всё доступное */
}

/* прижимаем кнопки вниз */
.pl-card2-actions{
  margin-top: auto;
}


/* card */
.pl-article-card2{
  border-radius: var(--pl-card-radius);
  overflow:hidden;
  background: var(--pl-white);
  box-shadow: var(--pl-shadow-soft);
  border: 1px solid rgba(17,24,39,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.pl-article-card2:hover{
  transform: translateY(-2px);
  border-color: rgba(255,143,43,.35);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
}

.pl-article-card2-cover{
  position: relative;
  width: 100%;
  aspect-ratio: 16/6;
  background: #e9ebf2;
  background-size: cover;
  background-position: center;
  display:block;
}

.pl-article-card2-cover:before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(17,24,39,.0) 40%, rgba(17,24,39,.45) 100%);
}

.pl-card2-pill{
  position:absolute;
  left: 12px;
  top: 12px;
  z-index:2;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(17,24,39,.10);
  backdrop-filter: blur(6px);
  color: var(--pl-text-main);
}
.pl-card2-pill.is-muted{
  opacity: .9;
}

.pl-article-card2-body{
  padding: 12px 14px 14px;
}

.pl-card2-date{
  font-size: 12px;
  color: var(--pl-text-muted);
  margin-bottom: 6px;
}

.pl-card2-title{
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--pl-text-main);
  margin-bottom: 8px;
}
.pl-card2-title a{
  color: inherit;
  text-decoration:none;
}
.pl-card2-title a:hover{
  text-decoration:none;
}

.pl-card2-meta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  font-size: 12px;
  color: var(--pl-text-muted);
  margin-bottom: 10px;
}
.pl-card2-meta i{ margin-right: 6px; opacity:.75; }

.pl-card2-excerpt{
  font-size: 13px;
  color: var(--pl-text-main);
  opacity: .92;
  line-height: 1.35;
  margin-bottom: 12px;


}

.pl-card2-actions{
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content:flex-end;
}

.pl-btn2{
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1;
  text-decoration:none;
  border: none;
  background: var(--pl-orange-gr);
  color: #111827;
  box-shadow: 0 10px 24px rgba(255,143,43,.22);
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.pl-btn2:hover{ text-decoration:none; filter: saturate(1.05); }

.pl-btn2-icon{
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content:center;
  background: var(--pl-white);
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: none;
}
.pl-btn2-icon:hover{
  border-color: rgba(255,143,43,.35);
  filter:none;
}

.pl-articles-empty{
  color: var(--pl-text-muted);
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.6);
  border: 1px dashed rgba(17,24,39,.12);
}


.article-cover {
  position: relative;
  aspect-ratio: 16 / 6;
  min-height: 260px;
  /* Ширина строго по колонке: иначе браузер переводит min-height через
     aspect-ratio в минимальную ширину (на телефоне 260 × 16/9 = 462px), шапка
     вылезает за карточку и обрезает заголовок справа. */
  width: 100%;
  min-width: 0;
  border-radius: 24px 24px 0 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.article-no-cover {
  position: relative;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background:#eee;
}

/* затемнение для читаемости */
.article-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.05) 0%,
      rgba(0,0,0,0.35) 100%
    );
}

/* контейнер текста */
.article-cover-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 28px;
  color: #fff;
  z-index: 2;
}

/* мета над заголовком */
.article-cover-meta {
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;        /* дата, просмотры, время, кристаллы, оценка — на узком экране в две строки */
  gap: 4px 14px;
  margin-bottom: 6px;
}

.article-cover-meta i {
  margin-right: 4px;
}

/* заголовок */
.article-cover-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
}

/* адаптация под мобилку */
@media (max-width: 768px) {
  .article-cover {
    aspect-ratio: 16 / 9;
  }

  .article-cover-title {
    font-size: 22px;
  }

  .article-cover-content {
    padding: 16px 18px;
  }
}

/* Телефон: шапка растёт под длинный заголовок, а не обрезает его сверху.
   Короткий заголовок — как раньше, внизу картинки. */
@media (max-width: 575.98px) {
  .article-cover {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .article-cover-content {
    position: relative;
    padding-top: 76px; /* место под кнопку «Назад» */
  }
}

   .article-content {background:#f9f9f9}

   .article-content img { max-width: 100%; height: auto; }

   .article-content figure { margin: 0 0 16px; }
   .article-content figure img { display:block; max-width: 100%; height: auto; }

   .article-content figure.img-full { width: 100%; float: none; margin: 0 0 16px; }
   .article-content figure.img-half { width: 48%; }

   .article-content figure.img-left { float: left; margin: 0 16px 16px 0; }
   .article-content figure.img-right { float: right; margin: 0 0 16px 16px; }

   .article-content figure figcaption { font-size: 13px; color: #666; margin-top: 6px; }

    /* На мобильных половинки становятся 100% и идут над текстом */
    @media (max-width: 368px){
    .article-content  figure.img-half { width: 100% !important; }
    .article-content  figure.img-left, figure.img-right { float: none !important; margin: 0 0 16px !important; }
    }

    .article-content .callout { padding: 12px 14px; border-left: 4px solid #2b7cff; background: #f3f8ff; border-radius: 6px; margin: 14px 0; }
    .article-content .callout strong { display:block; margin-bottom: 6px; }
    .article-content .qa { padding: 12px 14px; border: 1px solid #eee; border-radius: 6px; margin: 14px 0; background:#fff; }
    .article-content .qa .q { font-weight: 700; margin-bottom: 8px; }
    .article-content .divider { border-top: 1px solid #e6e6e6; margin: 18px 0; }

    .article-content .clearfix { clear: both; }

    .article-content .video-embed { margin: 14px 0; }
    .article-content .video-embed .video-ratio { position: relative; padding-top: 56.25%; width: 100%; overflow: hidden; background: #000; border-radius: 8px; }
    .article-content .video-embed iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:0; }
    .article-content h3 {padding:10px 0 7px 0;font-size:1.35rem;font-weight:bold;}
    .article-content h2 {padding:13px 0 9px 0;font-size:1.45rem;font-weight:bold;}

/*
   Единый шрифт в статьях. При вставке из Word и с сайтов в текст попадают
   свои шрифты и размеры (Times New Roman 12pt, Segoe UI 10.5pt, Arial…) —
   статьи выглядели разнобоем. Приводим текст к шрифту и размеру сайта;
   жирный, курсив, заголовки, списки и цвета остаются.
   Не трогаем код, иконки и символы Word из шрифтов Symbol/Wingdings (иначе квадратики и «§»).
*/
.article-body-html *:not(code):not(pre):not(kbd):not(samp):not([class*="fa-"]):not([style*="Symbol"]):not([style*="Wingdings"]):not([style*="Webdings"]) { font-family: inherit !important; }
.article-body-html *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(sub):not(sup):not(small):not(figcaption) { font-size: inherit !important; line-height: inherit !important; }
.article-body-html h1 { font-size: 1.6rem !important; }
.article-body-html h2 { font-size: 1.45rem !important; }
.article-body-html h3 { font-size: 1.35rem !important; }
.article-body-html h4, .article-body-html h5, .article-body-html h6 { font-size: 1.15rem !important; }

/*
   Таблицы из Word (рамки с текстом) приходят с жёсткой шириной: width="602",
   style="width: 451.3pt". На телефоне они были шире колонки и текст обрезался
   справа. Сужаем по колонке; на компьютере ширина прежняя.
*/
.article-body-html table { max-width: 100% !important; }
@media (max-width: 767.98px) {
  /* Во всю ширину колонки (рамки из Word так и задуманы); Safari не всегда сужает только по max-width */
  .article-body-html table { width: 100% !important; }
  /* Слово рвётся, только если целиком не влезает в ячейку */
  .article-body-html td, .article-body-html th { width: auto !important; overflow-wrap: break-word; }
}
/* Слова, склеенные неразрывными пробелами (&nbsp; из Word/Telegram), не переносились
   и обрезались справа на телефоне. Переносим, только если строка не влезает. */
.article-body-html { overflow-wrap: break-word; }

/*
   Белый фон абзацев из Word (background: white) на сером фоне статьи
   давал белые полосы. Убираем только белый — цветное выделение остаётся.
*/
.article-body-html [style*="background: white" i],
.article-body-html [style*="background: #ffffff" i],
.article-body-html [style*="background: #fff;" i],
.article-body-html [style*="background: rgb(255, 255, 255)" i],
.article-body-html [style*="background: rgb(255,255,255)" i],
.article-body-html [style*="background: rgb(255 255 255)" i],
.article-body-html [style*="background: rgba(255, 255, 255, 1)" i],
.article-body-html [style*="background:white" i],
.article-body-html [style*="background:#ffffff" i],
.article-body-html [style*="background:#fff;" i],
.article-body-html [style*="background:rgb(255, 255, 255)" i],
.article-body-html [style*="background:rgb(255,255,255)" i],
.article-body-html [style*="background:rgb(255 255 255)" i],
.article-body-html [style*="background:rgba(255, 255, 255, 1)" i],
.article-body-html [style*="background-color: white" i],
.article-body-html [style*="background-color: #ffffff" i],
.article-body-html [style*="background-color: #fff;" i],
.article-body-html [style*="background-color: rgb(255, 255, 255)" i],
.article-body-html [style*="background-color: rgb(255,255,255)" i],
.article-body-html [style*="background-color: rgb(255 255 255)" i],
.article-body-html [style*="background-color: rgba(255, 255, 255, 1)" i],
.article-body-html [style*="background-color:white" i],
.article-body-html [style*="background-color:#ffffff" i],
.article-body-html [style*="background-color:#fff;" i],
.article-body-html [style*="background-color:rgb(255, 255, 255)" i],
.article-body-html [style*="background-color:rgb(255,255,255)" i],
.article-body-html [style*="background-color:rgb(255 255 255)" i],
.article-body-html [style*="background-color:rgba(255, 255, 255, 1)" i] { background: transparent !important; }

.article-author {
  font-size: 14px;
  color: #374151;
}

.article-author .author-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author .author-name {
  font-weight: 600;
  line-height: 1.2;
}
.a-info {background:#f3f3f3}

.article-topics .article-topic {
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  opacity: 0.85;
  pointer-events: none; /* на всякий случай */
}

/* ============================================================
   Лента статей: стабильная геометрия обложки.
   Высота изображения больше не зависит от количества текста справа.
   ============================================================ */

.pl-article-cover{
  width: 100%;
  aspect-ratio: 16 / 8.5;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Правая часть не должна раздувать карточку бесконечным текстом */
.pl-feed-article-info-inner{
  min-width: 0;
}

.pl-feed-article-topics{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Десктоп: фиксируем форму левой части независимо от высоты текста */
@media (min-width: 992px){
  .pl-feed-article-row{
    align-items: stretch;
  }

  .pl-feed-article-media{
    align-self: flex-start;
  }

  .pl-feed-article-media-link,
  .pl-feed-article-media-inner{
    display: block;
    width: 100%;
  }

  .pl-article-cover{
    aspect-ratio: 16 / 8.5;
    height: auto;
    min-height: 0;
  }

  .pl-feed-article-info-inner{
    height: 100%;
  }
}

/* Мобильная версия остаётся естественной: картинка сверху */
@media (max-width: 991.98px){
  .pl-article-cover{
    aspect-ratio: 16 / 9;
  }
}



.pl-excerpt-3{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;   /* ← ровно 3 строки */
  overflow: hidden;

  /* необязательно, но улучшает вид */
  line-height: 1.45;
  max-height: calc(1.35em * 3);
}

.pl-author-avatar{
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: center / cover no-repeat;
  flex-shrink: 0;
}

@media (min-width: 992px){
  .pl-author-avatar{
    width: 36px;
    height: 36px;
  }
}


/* ============================================================
   Отложенные сообщения: шторка выбора времени и список.
   Используется и чатом (/cabinet/chat/), и личкой (/cabinet/messages/).
   На десктопе — окно по центру, на телефоне — шторка снизу во всю ширину.
   ============================================================ */

.planet-sched {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.planet-sched[hidden] { display: none; }

.planet-sched__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.45);
}

.planet-sched__sheet {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(17,24,39,.25);
    display: flex;
    flex-direction: column;
    /* dvh учитывает экранную клавиатуру; vh — запасной для старых браузеров */
    max-height: 85vh;
    max-height: 85dvh;
}

.planet-sched__sheet--wide { max-width: 560px; }

.planet-sched__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(17,24,39,.08);
}

.planet-sched__x {
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 4px;
}

.planet-sched__body {
    padding: 16px;
    overflow-y: auto;   /* длинный список прокручивается внутри шторки */
    -webkit-overflow-scrolling: touch;
}

.planet-sched__foot {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(17,24,39,.08);
}

.planet-sched__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.planet-sched__quick-btn {
    border: 1px solid rgba(17,24,39,.15);
    background: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
}

.planet-sched__quick-btn:hover { border-color: rgba(255,143,43,.55); }

.planet-sched__label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

/* Дата и «Повторять» — во всю ширину окна, одна под другой ровно
   (общее .form-control на сайте — 88% ширины). */
.planet-sched__sheet input.form-control[type="datetime-local"] { width: 100%; }
.planet-sched__sheet .form-control + .planet-sched__label { margin-top: 10px; }

.planet-sched__hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

.planet-sched__error {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(220,38,38,.08);
    color: #b91c1c;
    font-size: 13px;
}

.planet-sched__error[hidden] { display: none; }

.planet-sched__item {
    border: 1px solid rgba(17,24,39,.1);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
}

.planet-sched__item-when {
    font-size: 12px;
    color: #b45309;
    margin-bottom: 6px;
}

.planet-sched__item-text {
    white-space: pre-wrap;
    word-break: break-word;      /* длинная ссылка не растянет шторку */
    overflow-wrap: anywhere;
    margin-bottom: 10px;
}

.planet-sched__item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.planet-sched__edit textarea,
.planet-sched__edit input,
.planet-sched__edit select {
    width: 100%;
    margin-bottom: 8px;
}

.planet-sched__edit[hidden] { display: none; }

@media (max-width: 575.98px) {
    /* На телефоне окно тоже по центру, как остальные модалки на сайте.
       Шторка снизу тут не прижилась. Скругление остаётся со всех сторон
       из базового правила, отступ по краям — чтобы окно не липло к рамке. */
    .planet-sched { padding: 12px; }

    .planet-sched__sheet,
    .planet-sched__sheet--wide {
        max-width: 100%;
        /* dvh учитывает экранную клавиатуру; vh — запасной для старых браузеров */
        max-height: 86vh;
        max-height: 86dvh;
    }

    /* Быстрые кнопки растягиваем на всю строку, чтобы не рвались по одной */
    .planet-sched__quick-btn { flex: 1 1 auto; }
}


/* ============================================================
   Лента статей: masonry-карточки с обложкой сверху.
   ============================================================ */

.pl-article-masonry{
  columns: 2;
  column-gap: 18px;
}

.pl-article-masonry .js-article-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
}

.pl-feed-article-card{
  width: 100%;
  height: auto;
  border-radius: 24px !important;
  overflow: hidden;
  background: var(--pl-white);
  box-shadow: var(--pl-shadow-soft);
}

.pl-feed-article-media,
.pl-feed-article-media-link,
.pl-feed-article-media-inner{
  display: block;
  width: 100%;
}

.pl-feed-article-media-inner{
  position: relative;
}

.pl-feed-article-media .pl-article-cover,
.pl-feed-article-media-inner .pl-article-cover,
.pl-feed-article-card .pl-article-cover{
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 6 !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pl-feed-article-info{
  width: 100%;
}

.pl-feed-article-info-inner{
  height: auto !important;
  min-height: 0;
  overflow: visible;
}

.pl-feed-article-title{
  margin-bottom: 10px;
}

.pl-feed-article-title a{
  color: var(--pl-text-main) !important;
}

.pl-feed-article-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.pl-feed-article-excerpt{
  -webkit-line-clamp: 4;
  max-height: calc(1.45em * 4);
}

.pl-feed-article-topics{
  -webkit-line-clamp: 3;
}

.pl-feed-article-card .pl-author-avatar{
  width: 34px;
  height: 34px;
}

/* Кнопка не растягивает карточку, но остаётся внизу контентного блока */
.pl-feed-article-card .mt-auto{
  margin-top: 16px !important;
}

/* Планшеты и телефоны — одна колонка */
@media (max-width: 991.98px){
  .pl-article-masonry{
    columns: 1;
  }

  .pl-feed-article-card{
    max-width: 100%;
  }
}

/* На широких экранах немного компактнее текст, чтобы сетка не становилась тяжёлой */
@media (min-width: 992px){
  .pl-feed-article-title{
    font-size: 17px !important;
  }

  .pl-feed-article-info-inner{
    padding: 16px 18px 18px !important;
  }
}


/* ============================================================
   Masonry v2: чистая обложка без дублирования заголовка.
   ============================================================ */

.pl-feed-article-card .pl-feed-article-media-inner{
  overflow: hidden;
}

.pl-feed-article-card .pl-article-cover{
  position: relative;
}

/* На случай старой разметки — скрываем любой текстовый оверлей внутри обложки */
.pl-feed-article-card .pl-feed-article-media-inner > div[style*="position:absolute"][style*="bottom:0"]{
  display: none !important;
}

.pl-feed-article-meta{
  margin-bottom: 18px !important;
  font-size: 12px !important;
  line-height: 1.3;
}

.pl-feed-article-title{
  margin-bottom: 8px !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
}

.pl-feed-article-card .pl-feed-article-info-inner > .d-flex.align-items-center.mb-2{
  margin-bottom: 6px !important;
}

.pl-feed-article-excerpt{
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

.pl-feed-article-topics{
  margin-top: 8px !important;
}

.pl-feed-article-card .mt-auto{
  padding-top: 12px !important;
  margin-top: 0 !important;
}


/* ============================================================
   Masonry v3: лёгкая подложка карточек.
   ============================================================ */

.pl-feed-article-card{
  background: rgba(255,255,255,.74) !important;
  border: 1px solid rgba(17,24,39,.06) !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.06) !important;
  border-radius: 24px !important;
}

.pl-feed-article-info{
  background: rgba(255,255,255,.76);
}

/* Чуть мягче отделяем карточку от общего серого блока */
.pl-feed-article-card:hover{
  box-shadow: 0 12px 30px rgba(15,23,42,.09) !important;
}


/* ============================================================
   Masonry v4: цельная карточка статьи.
   Обложка и контент — один визуальный объект.
   ============================================================ */



.pl-article-masonry .js-article-item{
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
}

.pl-feed-article-card{
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;

  overflow: hidden !important;
  border-radius: 22px !important;

  background: #f9f9f9 !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow: 0 10px 28px rgba(15,23,42,.10) !important;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.pl-feed-article-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,143,43,.22) !important;
  box-shadow: 0 16px 34px rgba(15,23,42,.14) !important;
}

/* Обложка — верх карточки, отдельной внешней тени и радиуса у неё нет */
.pl-feed-article-media-link,
.pl-feed-article-media-inner{
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pl-feed-article-media-inner{
  overflow: hidden;
  border-radius: 0;
}

.pl-feed-article-card .pl-article-cover{
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 6 !important;
  margin: 0;

  border-radius: 0 !important;
  box-shadow: none !important;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Текст — продолжение той же карточки */
.pl-feed-article-info{
  width: 100%;
  margin: 0;
  background: #f9f9f9 !important;
  border: 0;
}

.pl-feed-article-info-inner{
  height: auto !important;
  min-height: 0;
  padding: 16px 18px 18px !important;
  overflow: visible;
}

/* Убираем любые случайные "внутренние карточки" */
.pl-feed-article-info,
.pl-feed-article-info-inner{
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Чуть чётче разделяем обложку и информационную часть */
.pl-feed-article-info{
  border-top: 1px solid rgba(17,24,39,.045);
}

.pl-feed-article-meta{
  margin-bottom: 21px !important;
}

.pl-feed-article-title{
  margin-bottom: 10px !important;
}

.pl-feed-article-excerpt{
  margin-top: 10px !important;
}

.pl-feed-article-topics{
  margin-top: 10px !important;
}

.pl-feed-article-card .mt-auto{
  margin-top: 14px !important;
  padding-top: 0 !important;
}

/* Телефон и планшет: одна колонка и чуть меньшие интервалы */
@media (max-width: 991.98px){
  .pl-article-masonry{
    columns: 1;
  }

  .pl-article-masonry .js-article-item{
    margin-bottom: 20px;
  }

  .pl-feed-article-card{
    border-radius: 20px !important;
  }
}


/* Вся карточка статьи кликабельна */
.pl-feed-article-card{
  cursor: pointer;
}

.pl-feed-article-card:focus-visible{
  outline: 2px solid var(--pl-orange);
  outline-offset: 3px;
}


.pl-article-masonry{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;

  column-count: unset !important;
  columns: unset !important;
}

.pl-article-masonry > .js-article-item{
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  break-inside: auto !important;
}

@media (max-width: 991.98px){
  .pl-article-masonry{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   ЛЕНТА СТАТЕЙ — ФИНАЛЬНЫЕ ПРАВИЛА MASONRY
   Единообразно для "Все статьи", "Новости Планеты" и "Мои подписки".
   Этот блок намеренно расположен в самом конце файла и перебивает
   предыдущие экспериментальные версии стилей карточек.
   ============================================================ */

/* Контейнер ленты всегда занимает всю доступную ширину */
#js-articles-list.pl-article-masonry{
  display: block !important;
  width: 100% !important;
  max-width: none !important;

  -webkit-column-count: 2 !important;
  -moz-column-count: 2 !important;
  column-count: 2 !important;

  -webkit-column-gap: 20px !important;
  -moz-column-gap: 20px !important;
  column-gap: 20px !important;
}

/* Каждая статья — отдельный masonry-элемент */
#js-articles-list.pl-article-masonry > .js-article-item{
  display: inline-block !important;
  width: 100% !important;
  max-width: 100% !important;

  margin: 0 0 24px !important;
  padding: 0 !important;

  vertical-align: top;

  -webkit-column-break-inside: avoid !important;
  page-break-inside: avoid !important;
  break-inside: avoid-column !important;
}

/* Цельная карточка */
#js-articles-list .pl-feed-article-card{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;

  overflow: hidden !important;
  border-radius: 22px !important;

  background: #f9f9f9 !important;
  border: 1px solid rgba(17,24,39,.08) !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;

  cursor: pointer;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

#js-articles-list .pl-feed-article-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,143,43,.22) !important;
  box-shadow: 0 16px 34px rgba(15,23,42,.14) !important;
}

#js-articles-list .pl-feed-article-card:focus-visible{
  outline: 2px solid var(--pl-orange);
  outline-offset: 3px;
}

/* Обложка — верхняя часть той же карточки */
#js-articles-list .pl-feed-article-media-link,
#js-articles-list .pl-feed-article-media-inner{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

#js-articles-list .pl-feed-article-media-inner{
  overflow: hidden;
  border-radius: 0;
}

#js-articles-list .pl-feed-article-card .pl-article-cover{
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;

  /* одинаковая пропорция с обложкой внутри статьи */
  aspect-ratio: 16 / 6 !important;

  margin: 0;
  border-radius: 0 !important;
  box-shadow: none !important;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Информационная часть — продолжение карточки */
#js-articles-list .pl-feed-article-info{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;

  background: #f9f9f9 !important;
  border: 0;
  border-top: 1px solid rgba(17,24,39,.045);

  border-radius: 0 !important;
  box-shadow: none !important;
}

#js-articles-list .pl-feed-article-info-inner{
  width: 100%;
  height: auto !important;
  min-height: 0;

  padding: 16px 18px 18px !important;

  overflow: visible;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Текст карточки */
#js-articles-list .pl-feed-article-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;

  margin-bottom: 21px !important;

  font-size: 12px !important;
  line-height: 1.3;
}

#js-articles-list .pl-feed-article-title{
  margin-bottom: 10px !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
}

#js-articles-list .pl-feed-article-excerpt{
  margin-top: 10px !important;
  margin-bottom: 8px !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;

  line-height: 1.45;
  max-height: calc(1.45em * 4);
}

#js-articles-list .pl-feed-article-topics{
  margin-top: 10px !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

#js-articles-list .pl-feed-article-card .mt-auto{
  margin-top: auto !important;
  padding-top: 18px !important;
}

/* Планшеты и телефоны — одна колонка */
@media (max-width: 991.98px){
  #js-articles-list.pl-article-masonry{
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
  }

  #js-articles-list.pl-article-masonry > .js-article-item{
    margin-bottom: 20px !important;
  }

  #js-articles-list .pl-feed-article-card{
    border-radius: 20px !important;
  }
}


/* ============================================================
   ЛЕНТА СТАТЕЙ — ФИНАЛЬНАЯ СЕТКА
   Порядок строго слева направо и сверху вниз:
   1 → 2
   3 → 4
   5 → 6

   Намеренно перебивает старые masonry/column-count правила выше.
   ============================================================ */

#js-articles-list.pl-article-masonry{
  display: grid !important;
  width: 100% !important;
  max-width: none !important;

  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 20px !important;

  columns: unset !important;
  column-count: unset !important;
  -webkit-column-count: unset !important;
  -moz-column-count: unset !important;

}

#js-articles-list.pl-article-masonry > .js-article-item{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  break-inside: auto !important;
  page-break-inside: auto !important;
  -webkit-column-break-inside: auto !important;
}

#js-articles-list.pl-article-masonry > .js-article-item > .pl-feed-article-card{
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

#js-articles-list .pl-feed-article-info{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#js-articles-list .pl-feed-article-info-inner{
  flex: 1 1 auto;
}

@media (max-width: 991.98px){
  #js-articles-list.pl-article-masonry{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

#js-articles-list .pl-feed-article-info{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#js-articles-list .pl-feed-article-info-inner{
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column !important;
}

/* Новости Планеты в боковой сводке */
.summary-card-news .summary-card-title .nav-link {
  color: inherit;
}

.summary-news-list {
  display: grid;
  gap: 0;
}

.summary-news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(17, 24, 39, 0.07);
  text-decoration: none;
}

.summary-news-item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.summary-news-title {
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--pl-text-main);
}

.summary-news-item small {
  color: var(--pl-text-muted);
  font-size: 11px;
  white-space: nowrap;
}

.summary-news-item:hover .summary-news-title {
  text-decoration: underline;
}

/* ===== Статьи: авторская маркировка и сигналы читателей ===== */
.article-author-labels{
  background: rgba(249,249,249,.92);
  border-top: 1px solid rgba(17,24,39,.06);
}
.article-author-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  color:var(--pl-text-muted);
  font-size:12px;
  line-height:1.2;
}
.article-feedback-signals{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(17,24,39,.08);
}
.article-feedback-signals__hint{
  color:var(--pl-text-muted);
  font-size:12px;
  margin-right:2px;
}
.article-signal-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(17,24,39,.12);
  background:#fff;
  color:var(--pl-text-muted);
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  line-height:1;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease, color .15s ease, opacity .15s ease;
}
.article-signal-btn:hover{
  border-color:rgba(255,143,43,.45);
  color:var(--pl-text-main);
}
.article-signal-btn.is-active{
  border-color:rgba(255,143,43,.45);
  background:var(--pl-orange-soft);
  color:var(--pl-text-main);
}
.article-signal-btn:disabled{opacity:.6;cursor:default;}
.article-feedback-signals__message{
  min-height:16px;
  color:var(--pl-text-muted);
  font-size:12px;
}
.article-feedback-signals__message.is-error{color:#b42318;}

@media (max-width:575.98px){
  .article-feedback-signals{align-items:flex-start;}
  .article-feedback-signals__hint{flex:0 0 100%;margin-bottom:2px;}
  .article-feedback-signals__message{flex:0 0 100%;}
}


/* ===== Кнопка «Наверх» ===== */
.pl-back-to-top{
  position:fixed;
  right:clamp(14px,2vw,24px);
  bottom:max(18px, env(safe-area-inset-bottom));
  z-index:1040;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:9px 14px;
  border:1px solid rgba(17,24,39,.12);
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--pl-text-main);
  box-shadow:0 10px 28px rgba(15,23,42,.14);
  font-size:13px;
  font-weight:600;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease, border-color .18s ease;
}
.pl-back-to-top:hover{
  border-color:rgba(255,143,43,.45);
}
.pl-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
@media (max-width:575.98px){
  .pl-back-to-top{
    width:42px;
    height:42px;
    min-height:42px;
    padding:0;
    right:12px;
    bottom:max(12px, env(safe-area-inset-bottom));
  }
  .pl-back-to-top span{display:none;}
}

/* Символичные медали у имени (как значок в VK) */
.pl-medals{
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin-left:6px;
  vertical-align:middle;
  flex-wrap:wrap;
  line-height:1;
}
.pl-medals__item{
  display:inline-flex;
  width:18px;
  height:18px;
  flex:0 0 18px;
}
.pl-medals__item img{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
}
h2.name .pl-medals,
.author-name .pl-medals,
.pl-comment__name + .pl-medals,
.chat-message__author + .pl-medals{
  margin-left:6px;
}
.pl-comment__name{
  display:inline;
}
.pl-new-medal-modal .modal-body{
  text-align:center;
}
.pl-new-medal-modal img{
  max-width:260px;
  width:100%;
  height:auto;
  background:transparent;
  margin:0 auto 12px;
}

/* select2 прячет исходный <select> (1px, absolute). У полей с .w-100 Bootstrap
   растягивал его обратно на 100% (!important) — в профиле на планшете страна
   и город делали страницу шире экрана. Селектор сильнее, чем .w-100. */
select.select2-hidden-accessible { width: 1px !important; }
