/* ============================================================
   fullstory.css — стили компонента fullstory (BEM)
   Сущность: modules/fullstory.tpl
   ============================================================ */


/* === BTN (бывший a.btn-view) === */

.fullstory__btn {
  background: rgba(85, 178, 253, 0.10);
  padding: 0 10px;
  color: #55b2fd;
  border-radius: 8px;
  width: 160px;
  height: 47px;
  border: 1px solid rgba(85, 178, 253, 0.28);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: block;
  line-height: 47px;
  text-align: -webkit-center;
  float: right;
  margin-right: 10px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.fullstory__btn:hover {
  background: rgba(85, 178, 253, 0.22);
  border-color: rgba(85, 178, 253, 0.65);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(85, 178, 253, 0.35), 0 4px 12px rgba(85, 178, 253, 0.20);
  transform: translateY(-2px);
}

.fullstory__btn:active {
  background: rgba(85, 178, 253, 0.30);
  border-color: rgba(85, 178, 253, 0.80);
  color: #fff;
  box-shadow: 0 0 8px rgba(85, 178, 253, 0.20);
  transform: translateY(0);
  text-decoration: none;
}

.fullstory__btn::after {
  content: "";
  display: block;
  margin-top: -45px;
  margin-left: 50px;
}

/* === BTN ICON (бывший span.ic-sx22 из menu.css) === */

.fullstory__btn-icon {
  width: 21px;
  height: 21px;
  background: url("../../icons/ic22.png") no-repeat;
  background-size: contain;
  float: left;
  margin-top: 8px;
}

/* === CELL LABEL (бывший .ttle из ech.css) === */

.fullstory__cell-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e0e0e0;
  margin: 0;
}

.fullstory__cell-label a {
  color: #7395ae;
  transition: 0.3s;
}

.fullstory__cell-label a:hover {
  color: #eee;
  transition: 0.3s;
  text-decoration: none;
}

/* === SMALL (бывший .f90 из ech.css) === */

.fullstory__small {
  font-size: 90%;
}

/* === MEDIA GRID (бывший inline style="display: grid;") === */

.fullstory__media-grid {
  display: grid;
}

/* === CAT SUBTITLE (бывший inline style="font-size: 85%;") === */

.fullstory__cat-subtitle {
  font-size: 85%;
  margin: 0;
  color: #96afc0;
}

/* === TITLE (бывший h6 + mb-0) === */

.fullstory__title {
  margin-bottom: 0;
}

/* === MAIN (бывший card mb-5) === */

.fullstory__main {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background: hsla(240, 7%, 12%, 0.88);
  padding: 25px 10px;
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  background-clip: border-box;
  border-radius: 10px;
  margin-bottom: 2.5rem;
}

/* === MAIN BODY (бывший card-body) === */

.fullstory__main-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1.25rem;
}

/* === ACTIONS (бывший float-right на dropdown) === */

.fullstory__actions {
  float: right;
}

/* === ACTIONS TOGGLE (бывший btn btn-sm btn-light pt-1) === */

.fullstory__actions-toggle {
  display: inline-block;
  font-weight: 400;
  color: #adb7be;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(90, 185, 234, 0.14);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .fullstory__actions-toggle { transition: none; }
}

.fullstory__actions-toggle:hover {
  color: #e0e0e0;
  background-color: hsla(240, 7%, 12%, 0.20);
  text-decoration: none;
}

.fullstory__actions-toggle:focus {
  color: #e0e0e0;
  background-color: hsla(240, 7%, 12%, 0.20);
  outline: 0;
}

.fullstory__actions-toggle:not(:disabled):not(.disabled):active {
  color: #e0e0e0;
  background-color: hsla(240, 7%, 12%, 0.10);
}

/* === ACTIONS MENU RIGHT (бывший dropdown-menu-right) === */

.fullstory__actions-menu--right {
  right: 0;
  left: auto;
}

/* === ACTION ITEM (бывший dropdown-item) === */

.fullstory__action-item {
  display: block;
  width: 100%;
  padding: 0.45rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #adb7be;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.fullstory__action-item:hover,
.fullstory__action-item:focus {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

/* === EDIT ALERT (бывший alert + mb-0 mt-3 p-2 pl-3 pr-3 + f90) === */

.fullstory__edit-alert {
  margin-bottom: 0;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 90%;
}

/* === FOOTER (бывший card-footer) === */

.fullstory__footer {
  padding: 0.75rem 1.25rem;
  background-color: hsla(240, 7%, 12%, 0.88);
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  border-top: 1px solid rgba(90, 185, 234, 0.15);
}

/* === ROW (бывший row) === */

.fullstory__row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  justify-content: center;
}

/* === CELL (бывший col-6 col-sm-6 col-md-4 col-lg-3 mb-3 mb-md-3 mb-lg-0) === */

.fullstory__cell {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .fullstory__cell {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

@media (min-width: 992px) {
  .fullstory__cell {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 0;
  }
}

/* === MEDIA (бывший media) === */

.fullstory__media {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
}

/* === MEDIA ICON (бывший align-self-center mr-2 на SVG) === */

.fullstory__media-icon {
  -ms-flex-item-align: center;
  align-self: center;
  margin-right: 0.5rem;
}

/* === MEDIA BODY (бывший media-body) === */

.fullstory__media-body {
  -ms-flex: 1;
  flex: 1;
}

/* === CAPTION (бывший fullstory__small text-muted) === */

.fullstory__caption {
  font-size: 90%;
  color: #96afc0;
}

/* === CAT TITLE (бывший m-0 fullstory__cat-title text-truncate) === */

.fullstory__cat-title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === COMMENTS (бывший card mb-3 w-100) === */

.fullstory__comments {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background: hsla(240, 7%, 12%, 0.88);
  padding: 25px 10px;
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  background-clip: border-box;
  border-radius: 10px;
  margin-bottom: 1rem;
  width: 100%;
}

/* === COMMENTS BODY (бывший card-body p-3) === */

.fullstory__comments-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  min-height: 1px;
  padding: 1rem;
}

/* === POST VOTE (PHP-plugin: переименование невозможно) === */

.post-vote{display:block;text-align:center}
.post-vote:after{display:block;clear:both;content:''}
.post-vote>span{display:block;border-left:1px solid #ececec;border-right:1px solid #ececec;padding:14px 0}
.post-vote>span strong span{display:block;font-size:23px;margin-top:0;color:#444}
.post-vote>span span{color:#555;display:block;font-size:12px;margin-top:2px}
.post-vote a{display:block;padding:2px 0;font-size:36px;line-height:36px;color:#c5c5c5;border:1px solid #ececec}
.post-vote a:hover{background-color:#aaa;color:#fff;border-color:#aaa}
.post-vote a:first-child{border-radius:3px 3px 0 0}
.post-vote a:last-child{border-radius:0 0 3px 3px}
