.empty-state {
  width: 100%;
  padding: 30px 20px;
  background-color: #222;
  color: #ccc;
  text-align: center;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

.player-placeholder {
  height: 100%;
  background: #000;
  color: #777;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.fplayer .tabs-b.video-box {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fplayer .tabs-b.video-box > iframe,
.fplayer .tabs-b.video-box > .ap-player,
.fplayer .tabs-b.video-box > .player-placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
}

.fplayer .tabs-loading-layer {
  display: none;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  background: #000;
}

.fplayer.is-tab-loading .tabs-loading-layer {
  display: flex;
}

.tabs-loading-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid var(--accent-color);
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0;
  animation:
    tabs-spinner-show 1ms linear 1000ms forwards,
    tabs-spinner-spin .7s linear infinite;
}

@keyframes tabs-spinner-show {
  to {
    opacity: 1;
  }
}

@keyframes tabs-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

.ap-player {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #000;
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
}

.ap-player button {
  box-sizing: border-box;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  text-transform: none;
}

.ap-player svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ap-center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: #00b2ff !important;
  background-color: #00b2ff !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  transition: opacity .18s ease, transform .18s ease;
}

.ap-player .ap-center-play {
  background: #00b2ff !important;
  background-color: #00b2ff !important;
  border-radius: 50% !important;
}

.ap-center-play svg {
  width: 18px;
  height: 18px;
  margin-left: 4px;
}

.ap-loader {
  position: absolute;
  inset: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.lds-ripple {
  display: inline-block;
  position: absolute;
  width: 96px;
  height: 96px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.lds-ripple div {
  position: absolute;
  border: 1.5px solid #fff;
  opacity: 0;
  border-radius: 50%;
  animation: lds-ripple 2s linear infinite;
  animation-direction: reverse;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -1s;
}

.ap-player.is-loading .ap-center-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.9);
}

.ap-player.is-loading .ap-loader {
  opacity: 1;
}

@keyframes lds-ripple {
  100% {
    top: 43px;
    left: 43px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  95% {
    top: 43px;
    left: 43px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  0% {
    top: 0;
    left: 0;
    width: 86px;
    height: 86px;
    opacity: 0;
  }
}

.ap-controls {
  position: absolute;
  right: 18px;
  bottom: 14px;
  left: 18px;
  z-index: 2;
  display: flex;
  height: 26px;
  align-items: center;
}

.ap-control-button {
  flex: 0 0 auto;
  color: #fff !important;
}

.ap-play-button {
  width: 32px !important;
  height: 32px !important;
  margin-right: 5px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.ap-play-button:hover {
  background-color: #00b2ff !important;
}

.ap-play-button svg {
  height: 18px;
  width: 18px;
}

.ap-progress {
  position: relative;
  flex: 1 1 auto;
  min-width: 80px;
  height: 5px;
  border-radius: 999px;
  background: #5b5b5b;
  cursor: default;
}

.ap-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}

.ap-time {
  flex: 0 0 auto;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  margin-left: 9px;
  margin-right: 5px;
}

.ap-volume {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.ap-icon-button {
  position: relative;
  display: flex !important;
  width: 32px !important;
  height: 32px !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border-radius: 4px !important;
  transition: background-color .17s ease-in-out;
}

.ap-icon-button svg {
  width: 18px;
  height: 18px;
}

.ap-player .ap-icon-button:hover {
  background-color: #00b2ff !important;
}

.ap-volume-track {
  position: relative;
  width: 90px;
  height: 5px;
  border-radius: 999px;
  background: #5b5b5b;
  margin: 0 5px;
}

.ap-volume-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  border-radius: inherit;
  background: #00b2ff;
}

.ap-volume-thumb {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.ap-captions-button svg,
.ap-settings-button svg {
  width: 18px;
  height: 18px;
}

.ap-hd-badge {
  position: absolute;
  top: 4.5px;
  right: 1.5px;
  padding: 1px 2px;
  color: #fff;
  background: #00b2ff;
  letter-spacing: .3px;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  font-weight: 700;
  border-radius: 2px;
  line-height: 1;
  pointer-events: none;
}

.btn-menu,
.btn-close {
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  border: 0 !important;
}

.btn-menu:hover,
.btn-close:hover {
  background: transparent !important;
  color: var(--accent-color) !important;
}

.search input[type="submit"] {
  margin-top: 10px;
}

.filter-box input[type="submit"] {
  width: 100%;
  padding: 0;
}

.fshare span {
  display: inline-block;
}

.fcompl span[role="button"] {
  cursor: pointer;
}

.fcompl span[role="button"]:hover {
  color: #fff;
}

.complaint-modal-body {
  white-space: normal;
}

.complaint-form {
  margin: 0;
}

.complaint-field {
  display: block;
  margin-bottom: 16px;
  color: #ddd;
  font-size: 14px;
  font-weight: 600;
}

.complaint-field:last-child {
  margin-bottom: 0;
}

.complaint-field span {
  display: block;
  margin-bottom: 8px;
}

.complaint-field textarea {
  display: block;
  width: 100%;
  min-height: 130px;
  padding: 12px 15px;
  border: 0 !important;
  background-color: #333;
  color: #fff;
  box-shadow: none;
  resize: vertical;
}

.complaint-field input {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  border: 0 !important;
  background-color: #333;
  color: #fff;
  box-shadow: none;
}

.complaint-field textarea:focus,
.complaint-field input:focus {
  background-color: #3a3a3a;
  box-shadow: none;
}

.complaint-modal-footer {
  gap: 10px;
}

.header-in {
  z-index: 30;
}

.header-links {
  z-index: 10;
}

.header-link-icon-news {
  background-color: var(--accent-color);
  mask: url("/theme/icons/header-links/newspaper-news.svg") center / contain no-repeat;
  -webkit-mask: url("/theme/icons/header-links/newspaper-news.svg") center / contain no-repeat;
}

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

.news-grid .empty-state {
  grid-column: 1 / -1;
}

.news-grid-compact {
  grid-template-columns: 1fr;
  gap: 14px;
}

.news-card {
  overflow: hidden;
  background-color: #222;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.15);
}

.news-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #111;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .25s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 12px 14px 14px;
}

.news-card h2 {
  margin: 0 0 9px;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.news-card h2 a {
  color: #eee;
}

.news-card h2 a:hover {
  color: var(--accent-color);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #999;
  font-size: 12px;
  line-height: 15px;
}

.news-comments-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.news-comments-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: var(--accent-color);
  mask: url("/theme/icons/comments-bubbles.svg") center / contain no-repeat;
  -webkit-mask: url("/theme/icons/comments-bubbles.svg") center / contain no-repeat;
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 20px;
  align-items: start;
}

.news-detail-main {
  min-width: 0;
}

.news-detail-header {
  margin-bottom: 16px;
}

.news-detail-header h1 {
  margin: 0 0 10px;
  color: #eee;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.news-detail-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 20px;
  background-color: #111;
}

.news-content {
  color: #ccc;
  font-size: 15px;
  line-height: 1.65;
}

.news-content p {
  margin: 0 0 16px;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  margin: 24px 0 12px;
  color: #eee;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.news-content h1 {
  font-size: 28px;
}

.news-content h2 {
  font-size: 24px;
}

.news-content h3 {
  font-size: 21px;
}

.news-content h4,
.news-content h5,
.news-content h6 {
  font-size: 18px;
}

.news-content a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-content strong,
.news-content b {
  color: #eee;
  font-weight: 700;
}

.news-content em,
.news-content i {
  font-style: italic;
}

.news-share {
  margin-top: 20px;
  margin-bottom: 20px;
}

.news-detail-sidebar .frels-title {
  margin-bottom: 7px;
}

@media screen and (max-width: 590px) {
  .player-placeholder,
  .ap-player {
    height: 300px;
  }

  .fplayer .tabs-loading-layer {
    height: 300px;
  }
}

@media screen and (max-width: 950px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid-compact {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 760px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
  }

  .news-detail-sidebar {
    padding: 15px 10px;
  }

  .news-detail-header h1 {
    font-size: 26px;
  }
}

@media screen and (max-width: 470px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card h2 {
    font-size: 17px;
  }

  .news-detail-header h1 {
    font-size: 23px;
  }

  .player-placeholder,
  .ap-player {
    height: 250px;
  }

  .fplayer .tabs-loading-layer {
    height: 250px;
  }

  .ap-volume-track {
    display: none;
  }
}
