.com_content.view-article #t4-main-body .sidebar-r {
  display: none;
}

.com_sh404sef.view-error404 #t4-main-body .sidebar-r {
  display: none;
}

.com_content.view-article #t4-main-body .t4-row > .t4-col.col-md {
  flex: 0 0 100%;
  max-width: 100%;
}

.com_sh404sef.view-error404 #t4-main-body .t4-row > .t4-col.col-md {
  flex: 0 0 100%;
  max-width: 100%;
}

.com_content.view-article .com-content-article.item-page .article-body {
  max-width: 1120px;
}

.com_content.view-article .com-content-article.item-page ul.tags {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.com_content.view-article .com-content-article.item-page ul.tags > li {
  margin: 0;
}

.com_content.view-article .com-content-article.item-page ul.tags > li > a {
  align-items: center;
  display: inline-flex;
  min-height: 36px;
}

.leetor-download-actions {
  align-items: stretch;
  background: #f5f7fa;
  border: 1px solid rgba(32, 50, 78, 0.12);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 1.15fr) minmax(220px, 0.85fr);
  margin: 18px 0 28px;
  padding: 16px;
}

.leetor-download-actions > span {
  display: flex;
}

.leetor-download-actions .btn {
  align-items: center;
  display: flex;
  font-size: 18px !important;
  justify-content: center;
  min-height: 56px;
  padding: 12px 18px;
  text-align: center;
  width: 100%;
}

.leetor-download-actions .leetor-download-partner {
  background: #fff;
  border: 1px solid #2474d2;
  color: #185ca9;
}

.leetor-download-actions .leetor-download-partner:hover,
.leetor-download-actions .leetor-download-partner:focus {
  background: #edf5ff;
  color: #114b8d;
}

.com_content.view-article .shots {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.com_content.view-article .shots .thumbnail {
  display: block;
  margin: 0;
}

.com_content.view-article .shots img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.com_content.view-article .darea > a.thumbnail,
.com_content.view-article .darea > p:empty {
  display: none;
}

.com_tags.view-tag .com-tags-tag__category img,
.com_content.view-featured .item-intro img,
.com_content.view-category .item-intro img {
  height: auto;
  max-width: 100%;
}

@media (max-width: 767.98px) {

  .com_tags.view-tag #t4-main-body .sidebar-r {
    display: none;
  }

  .com_tags.view-tag #t4-main-body .t4-row > .t4-col.col-md {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .navbar-brand.logo-text {
    max-width: calc(100vw - 88px);
    min-width: 0;
    white-space: normal;
  }

  .navbar-brand.logo-text .site-name,
  .navbar-brand.logo-text .site-slogan {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .navbar-brand.logo-text .site-slogan {
    font-size: 12px;
    line-height: 1.25;
  }

  .leetor-download-actions {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 12px;
  }

  .leetor-download-actions .btn {
    font-size: 17px !important;
    min-height: 52px;
  }

  .com_content.view-article .shots {
    grid-template-columns: 1fr;
  }

  .com_content.view-article .introtable,
  .com_tags.view-tag .introtable,
  .com_content.view-featured .introtable,
  .com_content.view-category .introtable {
    width: 100%;
  }

  .com_content.view-article .introtable td,
  .com_tags.view-tag .introtable td,
  .com_content.view-featured .introtable td,
  .com_content.view-category .introtable td {
    display: block;
    width: 100%;
  }

  .com_content.view-article .introtable img,
  .com_tags.view-tag .introtable img,
  .com_content.view-featured .introtable img,
  .com_content.view-category .introtable img {
    margin: 0 auto 12px;
    padding-right: 0 !important;
  }

  .com_tags.view-tag .pagination a,
  .com_content.view-featured .pagination a,
  .com_content.view-category .pagination a,
  #t4-header a,
  #t4-header button {
    min-height: 44px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .com_content.view-article .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .leetor-download-actions .btn {
    transition: none;
  }
}
