/*
Theme Name: GOODWEB Litespeed
Theme URI: https://www.goodweb.od.ua/
Author: GOODWEB
Author URI: https://www.goodweb.od.ua/
Description: Ultra-light theme. Admin color palette with visual swatches, Montserrat, Font Awesome.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goodweb-litespeed
Tags: elementor, minimal, fast, litespeed, custom-colors
*/

/* ===== РЕЗЮМЕ-РЕЙТИНГИ (полная версия) ===== */
/* [gwls_rating_full] */
.gwls-rating-summary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:14px;
  color:#111827; /* var(--gw-gray-900) */
}

.gwls-rating-summary__stars{
  display:inline-flex;
  gap:2px;
  color:#f59e0b;
}
.gwls-rating-summary__stars i{
  font-size:15px;
}

.gwls-rating-summary__avg{
  font-weight:600;
}

.gwls-rating-summary__count{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:13px;
  color:#6b7280; /* var(--gw-gray-500) */
}

/* Если для полного рейтинга нужно оставить место при 0 отзывов */
.gwls-rating-empty{
  visibility:hidden;
}

/* ===== КОРОТКИЙ РЕЙТИНГ: одна "прогресс"-звезда ===== */
/* [gwls_rating_short] */
.gwls-rating-compact{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:14px;
  color:#111827;
}

/* Контейнер звезды */
.gwls-one-star{
  position:relative;
  display:inline-block;
  width:1.2em;
  height:1.2em;
  font-size:1.1em;
  line-height:1;
}

/* Оба слоя занимают всю высоту, сидят друг над другом */
.gwls-one-star__bg,
.gwls-one-star__fg{
  position:absolute;
  top:0;
  left:0;
  height:100%;
}

/* Серая (точнее фиолетовая) звезда сзади, всегда 100% ширины */
.gwls-one-star__bg{
  width:100%;
  color:#807bc8; /* фон-звезда под рейтингом */
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Жёлтая заливка спереди, ширина задаётся через style="width:XX%;" */
.gwls-one-star__fg{
  width:100%; /* переопределяется инлайном width:80% и т.п. */
  color:#f59e0b;
  z-index:2;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:flex-start; /* ВАЖНО: чтобы иконка не центрировалась и резалась справа */
}

/* Иконки внутри слоёв */
.gwls-one-star__bg i,
.gwls-one-star__fg i{
  display:block;
  line-height:1;
}

/* Числовое значение рейтинга */
.gwls-rating-compact__value{
  font-weight:600;
}

/* Кол-во отзывов */
.gwls-rating-compact__count{
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:13px;
  color:#6b7280;
}















/* ===== Авторский блок: [gwls_author_box] ===== */
.gwls-author-card{
  margin:0px;
  padding:18px 20px 20px;
  border-radius:18px;
  border:1px solid #e5e7eb;
  background:linear-gradient(135deg, #f9fafb 0%, #f3f4ff 45%, #ffffff 100%);
  box-shadow:0 14px 38px rgba(15,23,42,0.12);
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:#111827;
}

/* ===== Команда: [gwls_team] ===== */
.gwls-team-grid{
  display:grid;
  gap:20px;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  margin:24px 0;
  --team-accent:#0ea5a5;
  --team-accent-2:#0284c7;
  --team-ink:#0f172a;
  --team-muted:#475569;
}
.gwls-team-card{
  position:relative;
  padding:22px 18px 18px;
  border-radius:12px;
  border:2px solid rgba(14,165,165,0.25);
  background:linear-gradient(180deg, #f8fbfc 0%, #ffffff 75%);
  box-shadow:0 12px 28px rgba(15,23,42,0.12);
  overflow:hidden;
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:var(--team-ink);
}
.gwls-team-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:6px;
  background:linear-gradient(90deg, var(--team-accent), var(--team-accent-2));
}
.gwls-team-card::after{
  content:"MITARBEITER";
  position:absolute;
  top:10px;
  right:10px;
  font-size:9px;
  font-weight:700;
  letter-spacing:.22em;
  padding:4px 8px 4px 26px;
  border-radius:6px;
  text-transform:uppercase;
  background:rgba(14,165,165,0.12) url("https://solny.de/wp-content/uploads/2025/10/solny-icon.svg") no-repeat 6px center;
  background-size:14px 14px;
  color:#0f766e;
  border:1px solid rgba(14,165,165,0.28);
}
.gwls-team-card__top{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:10px;
}
.gwls-team-card__avatar{
  width:112px;
  height:112px;
  border-radius:999px;
  overflow:hidden;
  border:2px solid var(--team-accent);
  background:#fff;
  box-shadow:none;
  flex:0 0 auto;
}
.gwls-team-card__avatar-img{
  width:100%;
  height:100%;
  border-radius:999px;
  object-fit:cover;
  display:block;
}
.gwls-team-card__meta{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.gwls-team-card__role{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#0f766e;
  padding:4px 8px;
  border-radius:6px;
  border:1px solid rgba(14,165,165,0.3);
  background:rgba(14,165,165,0.12);
}
.gwls-team-card__role i{
  font-size:12px;
  color:var(--role-color, var(--team-accent));
}
.gwls-team-card__name{
  font-size:17px;
  font-weight:700;
  margin-top:6px;
  color:var(--team-ink);
}
.gwls-team-card__desc{
  margin:10px 0 8px;
  color:var(--team-muted);
  font-size:14px;
  line-height:1.5;
  text-align:center;
}
.gwls-team-card__extra{
  list-style:none;
  padding:0;
  margin:0 0 12px;
  display:grid;
  gap:8px;
}
.gwls-team-card__extra-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  justify-content:center;
  font-size:13px;
  color:#1f2937;
}
.gwls-team-card__extra-item i{
  color:var(--team-accent);
  margin-top:3px;
}
.gwls-team-card__extra-title{
  font-weight:600;
  font-size:13px;
  text-align:left;
}
.gwls-team-card__extra-text{
  font-size:12px;
  color:#64748b;
  text-align:left;
}
.gwls-team-card__actions{
  margin-top:10px;
  text-align:center;
}
.gwls-team-card__btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:none;
  border-radius:8px;
  padding:10px 14px;
  font-weight:600;
  font-size:14px;
  background:linear-gradient(90deg, var(--team-accent), var(--team-accent-2));
  color:#fff;
  box-shadow:0 10px 18px rgba(14,165,165,0.25);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.gwls-team-card__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(14,165,165,0.3);
}

.gwls-team-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  --team-accent:#0ea5a5;
  --team-accent-2:#0284c7;
}
.gwls-team-modal.is-open{display:flex;}
.gwls-team-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,0.55);
  backdrop-filter:blur(6px);
}
.gwls-team-modal__dialog{
  position:relative;
  width:min(640px, 92vw);
  background:linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
  border-radius:14px;
  border:1px solid rgba(14,165,165,0.2);
  padding:24px;
  box-shadow:0 18px 50px rgba(15,23,42,0.28);
  z-index:1;
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.gwls-team-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border-radius:8px;
  border:1px solid rgba(14,165,165,0.25);
  background:#fff;
  font-size:22px;
  line-height:22px;
  cursor:pointer;
}
.gwls-team-modal__header{margin-bottom:12px;}
.gwls-team-modal__title{
  font-size:20px;
  font-weight:600;
  color:#0f172a;
}
.gwls-team-modal__manager{
  margin-top:6px;
  display:flex;
  flex-direction:column;
  gap:6px;
  color:#475569;
}
.gwls-team-modal__name{
  font-size:16px;
  font-weight:600;
  color:#0f172a;
}
.gwls-team-modal__role{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#0f766e;
}
.gwls-team-modal__contacts{
  list-style:none;
  padding:0;
  margin:12px 0 16px;
  display:grid;
  gap:8px;
}
.gwls-team-modal__contacts li{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#334155;
}
.gwls-team-modal__contacts i{
  color:var(--team-accent);
}
.gwls-team-modal__contacts a{
  color:#0f172a;
  text-decoration:none;
}
.gwls-team-modal__form{
  display:grid;
  gap:12px;
}
.gwls-team-field label{
  display:block;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#64748b;
  margin-bottom:6px;
}
.gwls-team-field input,
.gwls-team-field textarea{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:10px 12px;
  font-family:inherit;
  font-size:14px;
  background:#fff;
}
.gwls-team-field textarea{
  resize:vertical;
  min-height:90px;
}
.gwls-team-consent{
  font-size:12px;
  color:#475569;
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.gwls-team-consent a{
  color:var(--team-accent);
  text-decoration:none;
}
.gwls-team-submit{
  border:none;
  border-radius:8px;
  padding:12px 18px;
  background:linear-gradient(90deg, var(--team-accent), var(--team-accent-2));
  color:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
}
.gwls-team-status{
  font-size:13px;
  min-height:18px;
}
.gwls-team-status.is-success{color:#16a34a;}
.gwls-team-status.is-error{color:#dc2626;}
body.gwls-modal-open{overflow:hidden;}

@media (max-width: 680px){
  .gwls-team-card{padding:18px 16px 16px;}
  .gwls-team-modal__dialog{padding:20px;}
}

.gwls-author-card__header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

/* Аватар: круг с градиентной рамкой */
.gwls-author-card__avatar{
  flex:0 0 auto;
  width:70px;
  height:70px;
  border-radius:999px;
  padding:3px;
  background:linear-gradient(135deg,#352ebb,#7f7bc8);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 25px rgba(55,65,81,0.35);
  overflow:hidden; /* обрезаем всё лишнее внутри */
}
.gwls-author-card__avatar-img{
  width:100%;
  height:100%;
  border-radius:999px;
  object-fit:cover;
  display:block;
}

.gwls-author-card__meta{
  flex:1;
  min-width:0;
}

.gwls-author-card__label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#6b7280;
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:2px;
}
.gwls-author-card__label i{
  font-size:11px;
  color:#7f7bc8;
}

.gwls-author-card__name{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#111827;
}

/* Контейнер под роль-бейдж */
.gwls-author-card__role{
  margin-top:4px;
}

/* Сам бейдж роли из CRM */
.gwls-role-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:500;
}
.gwls-role-badge i{
  font-size:12px;
  opacity:.9;
}

/* Статистика */
.gwls-author-card__stats{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:12px 0 10px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,0.8);
  border:1px solid #e5e7eb;
}

.gwls-author-card__stat{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:140px;
}

.gwls-author-card__stat-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#352ebb;
  box-shadow:0 0 0 1px rgba(127,123,200,0.35);
}
.gwls-author-card__stat-icon i{
  font-size:15px;
}

.gwls-author-card__stat-text{
  display:flex;
  flex-direction:column;
}

.gwls-author-card__stat-value{
  font-size:16px;
  font-weight:600;
  color:#111827;
}
.gwls-author-card__stat-label{
  font-size:12px;
  color:#6b7280;
}

/* контейнер под рейтинг внутри статистики */
.gwls-author-card__stat-value--rating .gwls-rating-compact,
.gwls-author-card__stat-value--rating .gwls-rating-summary{
  margin:0;
}

/* Био автора */
.gwls-author-card__bio{
  margin-top:8px;
  font-size:13px;
  line-height:1.7;
  color:#374151;
}
.gwls-author-card__bio p{
  margin:0 0 4px;
}

/* Ссылка "Все статьи автора" */
.gwls-author-card__footer{
  margin-top:10px;
}
.gwls-author-card__more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:#352ebb;
  text-decoration:none;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(53,46,187,0.04);
  border:1px solid rgba(127,123,200,0.45);
}
.gwls-author-card__more i{
  font-size:13px;
}
.gwls-author-card__more:hover{
  background:rgba(53,46,187,0.09);
}

/* Адаптив */
@media (max-width:600px){
  .gwls-author-card{
    padding:16px 14px 18px;
  }
  .gwls-author-card__header{
    align-items:flex-start;
  }
  .gwls-author-card__stats{
    flex-direction:column;
  }
}









/* ===== ВЕРТИКАЛЬНЫЙ СПИСОК СТАТЕЙ: [gwls_posts_row] (БЕЗ ИЗОБРАЖЕНИЯ) ===== */
.gwls-poststrip{
  margin:32px 0;
  padding:16px 18px 18px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#ffffff;
  font-family:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:#111827;
}

/* Заголовок + фильтры */
.gwls-poststrip-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.gwls-poststrip-title{
  margin:0;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  font-weight:700;
  color:#111827;
}
.gwls-poststrip-title i{
  font-size:16px;
  color:#7f7bc8;
}

/* Фильтры */
.gwls-poststrip-filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.gwls-poststrip-filterbtn{
    font-family: 'Montserrat';
  border:1px solid #e5e7eb;
  background:#f9fafb;
  padding:6px 10px;
  border-radius:8px;
  font-size:15px;
  font-weight:600;
  color:#4b5563;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease, transform .02s ease;
}
.gwls-poststrip-filterbtn i{
  font-size:12px;
}
.gwls-poststrip-filterbtn:hover{
  background:#eef2ff;
  border-color:#d1d5ff;
}
.gwls-poststrip-filterbtn.is-active{
  background:linear-gradient(90deg,#352ebb,#7f7bc8);
  color:#ffffff;
  border-color:transparent;
  box-shadow:0 0 0 1px rgba(127,123,200,0.4);
}
.gwls-poststrip-filterbtn.is-active i{
  color:#ffffff;
}

/* === ВЕРТИКАЛЬНЫЙ СПИСОК КАРТОЧЕК === */
.gwls-poststrip-list{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:visible;
}

.gwls-poststrip-item{
  flex:1 1 auto;
  min-width:0;
}

/* Карточка БЕЗ изображения */
.gwls-poststrip-card{
  display:flex;
  flex-direction:column;
  width:100%;
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  text-decoration:none;
  color:inherit;
  box-shadow:0 6px 16px rgba(15,23,42,0.08);
  transition:transform .08s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  padding:10px 12px 11px;
}
.gwls-poststrip-card:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,0.16);
  border-color:#d1d5ff;
  background:#ffffff;
}

/* Полностью скрываем блок с изображением (он есть в HTML, но не показываем) */
.gwls-poststrip-thumb-wrap{
  display:none !important;
}

/* Контент карточки */
.gwls-poststrip-body{
  padding:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.gwls-poststrip-title-inner{
  margin:0;
  font-size:15px;
  font-weight:600;
  color:#111827;
  line-height:1.4;
}

/* Рейтинг + мета */
.gwls-poststrip-meta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:4px;
}

.gwls-poststrip-rating{
  flex:1;
  min-width:0;
}
.gwls-poststrip-rating .gwls-rating-compact{
  font-size:12px;
}
.gwls-poststrip-rating .gwls-rating-compact__count{
  font-size:11px;
}

/* просмотры + комментарии */
.gwls-poststrip-meta{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#6b7280;
}
.gwls-poststrip-meta-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.gwls-poststrip-meta-item i{
  font-size:11px;
}

/* дата */
.gwls-poststrip-meta-item--date span{
  color:#9ca3af; /* чуть светлее, чтобы дата визуально была вторична */
}

.gwls-poststrip-date i{
  font-size:11px;
}

/* Адаптив */
@media (max-width:640px){
  .gwls-poststrip{
    padding:14px 12px 16px;
  }
  .gwls-poststrip-card{
    padding:9px 10px 10px;
  }
}



/* Активная карточка (текущий пост) */
.gwls-poststrip-card--current{
  border-color:#352ebb;
  box-shadow:
    0 0 0 1px rgba(53,46,187,0.45),
    0 12px 28px rgba(15,23,42,0.20);
  background:linear-gradient(135deg,#f5f4ff,#ffffff);
}
.gwls-poststrip-card--current:hover{
  transform:none; /* чтобы активная не "прыгала" при наведении */
}

/* Бейдж "Aktueller Artikel" над заголовком */
.gwls-poststrip-current-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:600;
  color:#352ebb;
  background:rgba(53,46,187,0.06);
  border-radius:999px;
  padding:3px 8px;
  margin-bottom:3px;
}
.gwls-poststrip-current-label i{
  font-size:10px;
}
