@font-face {
  font-display: swap;
  font-family: 'OpenSansHebrew';
  src: url('/wp-content/themes/esports/fonts/opensanshebrew-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'OpenSansHebrew';
  src: url('/wp-content/themes/esports/fonts/opensanshebrew-regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'OpenSansHebrew';
  src: url('/wp-content/themes/esports/fonts/opensanshebrew-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'OpenSansHebrew';
  src: url('/wp-content/themes/esports/fonts/opensanshebrew-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'OpenSansHebrew';
  src: url('/wp-content/themes/esports/fonts/opensanshebrew-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-display: swap;
  font-family: 'dashicons';
  src: url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.eot');
  src:
    url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.eot?#iefix')
      format('embedded-opentype'),
    url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.woff2') format('woff2'),
    url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.woff') format('woff'),
    url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.ttf') format('truetype'),
    url('https://db.onlinewebfonts.com/t/1909d4a43c13e5f37766baf5a4e14607.svg#dashicons')
      format('svg');
}

:root {
  --white: #ffffff;
  --grey: #1d1f22;
  --medium-grey: #161719;
  --light-grey: #746f80;
  --full-grey: #26272d;
  --non-grey: #2b2f34;
  --black: #0d0e0f;
  --accent: #612695;
  --accent-hover: #9654de;
  --second: #00b5a6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--second);
}

select {
  background-color: transparent;
  outline: none;
  border: none;
  color: white;
  padding: 10px 24px;
  font-size: 15px;
  font-family: unset;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.esport__select {
  background-color: var(--grey);
  position: relative;
  padding-left: 40px;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.esport__select:before {
  content: '';
  width: 20px;
  height: 20px;
  position: absolute;
  background-image: url(/wp-content/themes/esports/img/icon_burger.svg);
  left: 10px;
  top: 12px;
}

.esport__select:after {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  background-image: url(/wp-content/themes/esports/img/arrow.svg);
  right: 10px;
  top: 14px;
}

.esport__select-list {
  display: none;
  position: absolute;
  padding: 0;
  top: 60px;
  z-index: 100;
  list-style: none;
  left: 0;
  background-color: var(--grey);
  width: 100%;
  box-shadow: -4px 0px 12px 0px #161719;
}

.esport__select.active .esport__select-list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

.esport__select-list li {
  margin: 0px 0;
  height: 46px;
  display: flex;
  padding: 0px 30px;
  align-items: center;
}

.esport__select-list li:hover {
  background-color: var(--accent);
}

.esport__select-list li a {
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.esport__select select {
  width: 100%;
}

main {
  display: flex;
  gap: 20px;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.btn-default {
  width: 160px;
  height: 34px;
  background-color: var(--accent);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.btn-default:hover {
  background-color: var(--accent-hover);
}

.wrapper {
  position: relative;
}

section {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  border-radius: 4px;
  background-color: var(--medium-grey);
  padding: 20px;
}
.section-title {
  margin: 20px 0;
}

body {
  font-family: OpenSansHebrew, sans-serif;
  background-color: var(--black);
  color: var(--white);
}

article p {
  margin: 25px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

article h2 {
  display: flex;
  gap: 9px;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 140%;
  align-items: center;
  color: white;
}

article h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 20px 0;
  color: var(--second);
}

article h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 30px 0 20px 0;
  color: white;
}

article a:hover {
  opacity: 0.7;
}

/*BEGIN: Front Page */

.top__news-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 20px 20px;
  grid-auto-flow: row;
  grid-template-areas:
    'news-top news-top news-top2 news-top2'
    'news-top news-top news-top3 news-top3'
    'news-bottom1 news-bottom2 news-bottom3 news-bottom4';
}

.news-top {
  grid-area: news-top;
}

.news-top2 {
  grid-area: news-top2;
}

.news-top3 {
  grid-area: news-top3;
}

.news-bottom1 {
  grid-area: news-bottom1;
}

.news-bottom2 {
  grid-area: news-bottom2;
}

.news-bottom3 {
  grid-area: news-bottom3;
}

.news-bottom4 {
  grid-area: news-bottom4;
}

.news__large {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  padding: 20px;
  gap: 10px;
}

.news__medium {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  padding: 20px;
  justify-content: flex-end;
}

.news__small {
  height: 210px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: end;
  padding: 20px;
  gap: 10px;
  position: relative;
}

.news__small .news__content-title {
  font-size: 16px;
  z-index: 2;
}

.news__container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 20px 20px;
  grid-auto-flow: row;
  grid-template-areas: 'news__list news__list news__list aside';
}

.news__list {
  grid-area: news__list;
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
}

.aside {
  grid-area: aside;
}

.news__item {
  display: flex;
  background-color: var(--grey);
  height: auto;
  min-height: fit-content;
}

.news__item-imagelink {
  width: 32%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.news__item-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.news__item-content {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  justify-content: space-between;
  padding: 20px;
  width: 68%;
}

.news__content-title {
  font-size: 20px;
  color: white;
  z-index: 2;
}

.news__content-subtitle,
.news__content-subtitle p {
  font-size: 16px;
  color: var(--light-grey);
}

.news__content-readmore {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news__content-date {
  font-size: 12px;
  z-index: 2;
  color: white;
  position: relative;
  padding-left: 20px;
}

.news__content-date:before {
  content: '';
  height: 16px;
  width: 16px;
  position: absolute;
  left: 0;
  background-image: url(/wp-content/themes/esports/img/icon_date.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.top__news-image {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  z-index: 1;
  left: 0;
  filter: brightness(70%);
}

@media (max-width: 1200px) {
  .news__container {
    display: flex;
    flex-flow: column nowrap;
  }

  .news__item {
    flex-flow: column nowrap;
    max-height: 400px;
    min-height: fit-content;
  }

  .news__item-image {
    width: 100%;
    height: 200px;
  }
  .news__item-content {
    width: 100%;
  }

  .news__small .news__content-title {
    font-size: 10px;
  }

  .news__content-title {
    font-size: 14px;
  }

  .news__content-subtitle p {
    font-size: 14px;
  }

  .news__item-imagelink {
    width: 100%;
  }
}
@media (max-width: 800px) {
  .top__news-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px 10px;
    grid-template-areas:
      'news-top news-top'
      'news-top2 news-top2'
      'news-top3 news-top3'
      'news-bottom1 news-bottom2'
      'news-bottom3 news-bottom4';
  }

  .news__item-image {
    width: 100%;
    height: 120px;
  }
}

.loadmore__container {
  height: auto;
  width: 100%;
}

.news__container-morenews {
  width: 210px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  cursor: pointer;
}

/*END: Front Page */

/*BEGIN: ASIDE*/

main {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
}

.main__content {
  flex: 1;
  overflow: hidden;
}

/*END: ASIDE*/

/*BEGIN: BREADCRUMBS*/

.breadcrumb__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: white;
  opacity: 0.8;
  text-decoration: none;
  margin-right: 5px;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin-right: 5px;
}

.breadcrumb_last {
  color: #53515d;
}

/*END: BREADCRUMBS*/

/*.mb-5 {*/
/*    display: none;*/
/*}*/

/*BEGIN: 404*/

.container__notfound {
  width: 100%;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notfound-image {
  width: 50%;
}

.notfound__page .top__news-container,
.content__page .top__news-container {
  grid-template-rows: 1fr;
}

@media (max-width: 1100px) {
  .notfound-image {
    width: 100%;
  }
}

/*END: 404*/

/*BEGIN: Single*/

.content__page .section__header {
  width: 100%;
  padding: 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.section__header-image {
  width: 100%;
  height: 600px;
  object-position: center;
  object-fit: cover;
  filter: brightness(0.7);
}

.single_page .section__header .section__header-title {
  bottom: 50px;
  left: 30px;
  font-size: 40px;
}

.content__description p {
  margin: 20px 0;
}

.content__page section {
  display: flex;
  gap: 20px;
}

.content__page .main__container {
  width: 80%;
}

.content__page .aside {
  width: 20%;
}

@media (max-width: 1200px) {
  .content__page section:not(.section__meta, .tournament__header) {
    flex-flow: column-reverse;
  }
  .content__page .main__container,
  .content__page .aside {
    width: 100%;
  }
  .section__header-image {
    height: 250px;
  }
  .single_page .section__header .section__header-title {
    font-size: 18px;
  }
}

blockquote {
  color: white;
  font-size: 20px;
  background-color: #1a2120;
  padding: 10px 10px 10px 60px;
  position: relative;
}

.blitz blockquote p {
  font-size: 20px;
}

blockquote:before {
  content: '';
  position: absolute;
  background-image: url(../img/icon_quote.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 32px;
  height: 24px;
  left: 15px;
  top: 15px;
}

@media (max-width: 900px) {
  blockquote {
    font-size: 16px;
    padding: 0px 0px 3px 40px;
  }
  blockquote:before {
    width: 20px;
    height: 15px;
    left: 10px;
    top: 5px;
  }
}

.section__meta {
  background: none;
  flex-direction: column;
  padding: 0;
}

.page__meta {
  display: flex;
  justify-content: space-between;
}

.page__meta-category {
  padding: 10px 24px;
  border: 1px solid var(--second);
  width: max-content;
  color: white;
  min-width: 100px;
  max-height: fit-content;
  font-size: 16px;
  text-align: center;
}

.page__meta-tag {
  background-color: var(--grey);
  color: white;
  padding: 8px 24px;
}

.page__meta-tags {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}

.page__meta-tag {
  background-color: var(--grey);
  color: white;
  padding: 10px 24px;
}

@media (max-width: 1100px) {
  .section__meta {
    flex-direction: column;
    padding: 20px;
  }
  .page__meta {
    padding: 0 20px;
    order: 2;
  }
  .breadcrumb__wrapper {
    order: 1;
  }
}

@media (max-width: 800px) {
  .breadcrumb__wrapper {
    flex-flow: column nowrap;
    margin: 0;
    align-items: flex-start;
  }
  .breadcrumb {
    padding: 5px 0;
  }
}
/*END: Single*/

/*BEGIN: Aside*/

aside {
  background-color: var(--grey);
  padding: 10px;
  gap: 12px;
  display: flex;
  flex-flow: column;
}

aside figure {
  margin: 0;
}

aside figure img {
  width: 100%;
  object-fit: cover;
}

aside .banner-mob {
  display: none;
}

aside table {
  width: 100%;
}

@media (max-width: 1100px) {
  aside .banner-mob {
    display: block;
  }
  aside .banner {
    display: none;
  }
}

/*END: Aside*/

/*BEGIN: Aside Widgets*/

.bookmakers__aside-image {
  width: 80px;
  object-fit: contain;
  padding-top: 5px;
}

.bookmakers__aside-rating {
  width: fit-content;
  border: 1px solid var(--second);
  border-radius: 50%;
  padding: 4px;
}

.bookmakers__aside-btn {
  width: fit-content;
  padding: 0 20px;
}

.bookmakers__aside-title {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-left: 20px;
}

.bookmakers__aside-title:before {
  content: '';
  position: absolute;
  background-image: url(../img/icon_bookmaker.svg);
  background-size: contain;
  background-repeat: no-repeat;
  height: 17px;
  width: 16px;
  display: flex;
  left: 0;
  top: 2px;
}

.esports__aside-content {
  width: 100%;
}

.esports__aside_widget-table {
  border-collapse: collapse;
}

.esports__aside_widget-table th {
  text-align: left;
  color: #746f80;
  font-size: 12px;
  font-weight: normal;
  box-sizing: border-box;
  padding-bottom: 10px;
  width: 30px;
}

.esports__aside_widget-table thead {
  border-bottom: 2px solid var(--accent);
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  /*.esports__aside-content {*/
  /*    display: none;*/
  /*}*/
  /*.esports__widget.active .esports__aside-content {*/
  /*    display: flex;*/
  /*}*/
}

/*END: Aside Widgets*/

/*BEGIN: Search*/

.search-result {
  margin-bottom: 20px;
}

.search-result p {
  color: #746f80;
  margin-top: 10px;
}

.search-form {
  display: flex;
}

.search-field {
  height: 40px;
  width: 163px;
  background-color: var(--grey);
  border: none;
  color: var(--light-grey);
  font-size: 16px;
  padding-left: 0;
  position: relative;
  outline: none;
}

.search-submit {
  display: none;
}

.search__filter .search-submit {
  display: block;
  background-color: var(--accent);
  background-image: url(../img/icon_large_search.svg);
  background-repeat: no-repeat;
  background-position: center;
  outline: none;
  border: none;
  height: 46px;
  width: 46px;
  border-radius: 2px;
  margin-left: 10px;
  cursor: pointer;
}

.search__filter .search_icon {
  display: none;
}

.search__filter .search-field {
  height: unset;
  padding-left: 20px;
  width: 590px;
}

.search-field:focus-visible {
  border: none;
}

.search_icon {
  height: 40px;
  width: 40px;
  background-color: var(--grey);
  position: relative;
}

.search_icon:before {
  content: '';
  height: 16px;
  width: 16px;
  position: absolute;
  left: 10px;
  top: 10px;
  background-image: url(../img/icon_search.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
}

.search__filter {
  display: flex;
  gap: 20px;
}
@media (max-width: 1100px) {
  .search__filter .search-field {
    width: 400px;
  }
}

@media (max-width: 1100px) {
  .search-field {
    width: 90vw;
  }
}

@media (max-width: 800px) {
  .search__filter {
    flex-flow: row wrap;
  }

  .search__filter .search-field {
    width: 75vw;
  }

  .search-field {
    width: 80vw;
  }
}

/*END: Search*/

/*BEGIN: CAT Tournaments*/

.tournaments__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 10px;
}

.tournaments__header-title {
  margin: 20px 0;
  border-top: 1px solid var(--accent);
  padding-top: 10px;
  font-size: 20px;
}

.tournaments__list-item {
  background: var(--grey);
  padding: 20px;
  display: flex;
  flex-flow: row wrap;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
}

.tournaments__list-item.tier1 {
  background: linear-gradient(284deg, #1d1f22 36.36%, #4a2c0a 100%);
  border-left: 6px solid transparent;
  border-image: linear-gradient(
      337deg,
      #d1974b 57.49%,
      #844a00 73.33%,
      #fdfac3 91.25%,
      #c99e49 100.39%
    )
    1;
}

.tournaments__item-title {
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  color: white;
}

.tournaments__item-image {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.tournaments__item-prizpool {
  width: 100%;
  font-weight: 300;
  position: relative;
  padding-left: 27px;
}

.tournaments__item-date {
  width: 50%;
  font-weight: 300;
  position: relative;
  padding-left: 25px;
}

.tournaments__item-date:before {
  content: '';
  height: 20px;
  width: 20px;
  position: absolute;
  left: 0;
  top: 1px;
  background-image: url(../img/icon_date.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.tournaments__item-prizpool:before {
  content: '';
  height: 20px;
  width: 20px;
  position: absolute;
  left: 0;
  top: 1px;
  background-image: url(../img/icon_prize.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.category__buttons {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

.category__buttons-list {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-flow: row wrap;
}

.category__buttons .esport__select {
  width: 20%;
}

.category__buttons-item {
  background-color: var(--grey);
  color: white;
  padding: 8px 20px;
  border-radius: 4px;
}

.category__buttons-item:hover {
  background-color: var(--accent);
}

@media (max-width: 1100px) {
  .tournaments__item-date {
    width: 100%;
  }
  .tournaments__list {
    grid-template-columns: 1fr;
  }

  .tournaments__list-item {
    gap: 10px;
  }
  .category__buttons {
    width: 100%;
    flex-flow: row wrap;
  }
  .category__buttons .esport__select {
    width: 100%;
  }
}

.pagination__container {
  margin-top: 20px;
}

.pagination__container .nav-links {
  display: flex;
  gap: 10px;
}

.pagination__container .nav-links .page-numbers {
  height: 25px;
  min-width: 25px;
  padding: 0 5px;
  max-width: max-content;
  display: flex;
  background-color: var(--accent);
  color: var(--white);
  justify-content: center;
  align-items: center;
  border-radius: 2px;
}

.pagination__container .nav-links .page-numbers.current,
.pagination__container .nav-links .page-numbers.dots {
  background-color: var(--grey);
}

.pagination__container .nav-links .prev,
.pagination__container .nav-links .next {
  position: relative;
  height: 25px;
  width: 37px;
}

.pagination__container .prev:after,
.pagination__container .next:after {
  content: '';
  height: 14px;
  width: 15px;
  position: absolute;
  top: 25%;
  left: 30%;
  background-image: url(../img/arrow_left.svg);
  background-repeat: no-repeat;
  background-size: contain;
  transform: rotate(180deg);
}

.pagination__container .prev:after {
  transform: rotate(0);
}

/*END: CAT Tournaments*/

/*BEGIN: CAT Teams*/

.teams__list,
#ajax-team-results {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
}

.teams__list-item {
  background-color: var(--grey);
  padding: 20px;
  border-radius: 4px;
}

.teams__item-header {
  display: flex;
  justify-content: space-between;
}

.btn__block {
  display: flex;
  height: auto;
  flex-flow: column;
  justify-content: flex-start;
}

.teams__header {
  display: flex;
  gap: 20px;
  align-items: center;
}

.teams__header-image {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.teams__header-title {
  font-size: 20px;
  color: white;
}

.teams__header-category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  background-color: var(--medium-grey);
  border-radius: 4px;
}

.teams__category-image {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.teams__playerslist {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-flow: row wrap;
}

.teams__playerslist .teams__playerslist-item {
  padding: 6px 12px;
  border: 1px solid var(--second);
  border-radius: 4px;
  font-size: 12px;
  color: var(--second);
}

.teams__playerslist-full {
  display: none;
  gap: 20px;
  flex-flow: row wrap;
  margin-top: 20px;
}

.teams__item-header.active .teams__playerslist-full {
  display: flex;
}

.teams__playerslist-full .teams__playerslist-item {
  border: none;
  color: var(--white);
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
  padding: 0;
  font-size: 16px;
}

.playerslist__item-image {
  height: 158px;
  width: 158px;
  object-fit: contain;
  display: flex;
  align-items: center;
  font-size: 50px;
  color: var(--accent);
  /* padding: 0; */
  justify-content: center;
  background-color: #26292e;
}

.teams__playerslist-name {
  display: flex;
  gap: 10px;
  align-items: center;
}

.playerslist__item-flags {
  height: 15px;
  width: 20px;
}

@media (max-width: 1100px) {
  .teams__item-header {
    flex-flow: column;
    align-items: flex-start;
    gap: 20px;
  }
  .playerslist__item-image {
    height: 140px;
    width: 140px;
  }
}

@media (max-width: 800px) {
  .teams__playerslist-full {
    justify-content: center;
  }
}

/*END: CAT Teams*/

/*BEGIN: Single Tournaments*/
.tournament__page {
  gap: 0;
}

.tournament__page h3 {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 10px;
  color: var(--second);
}

.tournament__page h4 {
  background-color: var(--full-grey);
  padding: 20px;
  margin-bottom: 0;
}

.tournament__page h4 + p {
  background-color: var(--grey);
  padding: 20px;
  margin: 0;
  border-top: 1px solid var(--light-grey);
}

.tournament__page h2 {
  margin: 20px 0;
}

.tournament__page .wp-block-table table tr:first-child td {
  border-bottom: none;
}

.tournament__page .wp-block-table table tr:nth-child(-n + 3) td:first-child {
  color: var(--second);
}

.tournament__page .wp-block-table table tr:nth-child(even) {
  background-color: var(--full-grey);
}

.tournament__header {
  display: flex;
  flex-flow: row nowrap;
}

.tournament__page .section__meta {
  margin-bottom: 20px;
}

.tournament__header-name {
  font-size: 36px;
}

.tournament__header-image {
  height: 110px;
  width: 110px;
  object-fit: contain;
}

.tournament__header-title {
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
}

.tournament__header-category {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: var(--grey);
  padding: 8px 20px;
  width: fit-content;
  font-size: 16px;
}

.tournament__category-image {
  height: 22px;
  width: 22px;
}

.tournament__body-info {
  display: flex;
  gap: 20px;
}
.tournament__body-info .tournaments__item-date,
.tournament__body-info .tournaments__item-prizpool {
  width: 100%;
  font-weight: 400;
  font-size: 16px;
  color: var(--second);
}

.tournament__info-prizpool,
.tournament__info-date {
  display: flex;
  flex-flow: column nowrap;
  gap: 8px;
}

.tournament__info-prizpool p,
.tournament__info-date p {
  font-size: 16px;
  font-weight: bold;
}

.teams__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
  margin-top: 20px;
}

.team__single {
  display: flex;
  background-color: var(--grey);
  height: 104px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.team__single-branding {
  display: flex;
  gap: 20px;
  align-items: center;
}

.team__branding-logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
}

.team__branding-title {
  font-size: 20px;
}

@media (max-width: 1200px) {
  .tournament__header {
    display: flex;
    flex-flow: row nowrap;
  }
  .team__single {
    flex-flow: column wrap;
    height: auto;
    padding: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 800px) {
  .tournament__header {
    display: flex;
    flex-flow: row nowrap;
  }
  .tournament__header-image {
    height: 70px;
    width: 70px;
  }
  .tournament__header-name {
    font-size: 28px;
  }
  .tournament__body-info {
    flex-flow: column nowrap;
  }
  .team__branding-logo {
    height: 40px;
    width: 40px;
  }
  .team__branding-title {
    font-size: 14px;
  }
  .team__single {
    padding: 3px;
  }
}

/*END: Single Tournaments*/

/*BEGIN: Single Teams*/

.teams .content__block {
  border-bottom: 1px solid var(--accent);
  padding: 20px 0px;
}

.teams .teams__playerslist-full {
  display: flex;
}

/*END: Single Teams*/

/*BEGIN: Redactions */

.redaction__list {
  display: flex;
  gap: 20px;
  border-top: 1px solid var(--accent);
  padding-top: 20px;
}

.redaction__list-item {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  background-color: var(--grey);
  padding: 40px;
  width: 285px;
  gap: 10px;
}

.redaction__list-item p {
  margin: 0;
}

.redaction__item-name {
  font-size: 20px;
  display: flex;
  gap: 5px;
  flex-flow: row wrap;
  justify-content: center;
}

.redaction__item-name span {
  color: var(--second);
  width: 100%;
  text-align: center;
}

.redaction__item-role {
  font-size: 16px;
  color: var(--light-grey);
}

@media (max-width: 1100px) {
  .redaction__list {
    flex-flow: row wrap;
    align-items: center;
  }
}

@media (max-width: 800px) {
  .redaction__list {
    justify-content: center;
  }
}

/*END: Redactions */

/*BEGIN: Bookmakers*/

.bookmakers__list {
  margin: 20px 0px;
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
}

.bookmakers__list-item {
  padding: 20px;
  background-color: var(--grey);
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  gap: 20px 20px;
  grid-auto-flow: row;
  grid-template-areas:
    'bm__item-logo bm__item-name bm__item-name bm__item-rating bm__item-bonus bm__item-btn'
    'bm__item-payments1 bm__item-payments1 bm__item-payments1 bm__item-payments2 bm__item-payments2 bm__item-payments2';
}

.bookmakers__list-item.top {
  background: linear-gradient(284deg, rgb(29, 31, 34) 36.36%, rgb(74, 44, 10) 100%);
  border-left: 6px solid transparent;
  border-image: linear-gradient(
      337deg,
      rgb(209, 151, 75) 57.49%,
      rgb(132, 74, 0) 73.33%,
      rgb(253, 250, 195) 91.25%,
      rgb(201, 158, 73) 100.39%
    )
    1 / 1 / 0 stretch;
}

.bm__item-logo img {
  height: 70px;
  object-fit: contain;
  width: 100%;
}

.bookmakers__list-item .title {
  font-size: 10px;
  margin: 0 10px;
  padding-left: 30px;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}

.bookmakers__list-item .title::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 0;
  top: 0px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: red; */
}

.bm__item-rating .title::before {
  background-image: url('../img/icon_rating.svg');
}

.bm__item-bonus .title::before {
  background-image: url('../img/icon_bonus.svg');
}

.bm__item-dep .title::before {
  background-image: url('../img/icon_deposit.svg');
}

.bm__item-payments .title::before {
  background-image: url('../img/icon_star.png');
}

.bookmakers__list-item .subtitle {
  font-size: 20px;
  font-weight: 700;
  margin: 0 10px;
}

.bookmakers__list-item > div {
  height: 70px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
}

.bookmakers__list-item > div.hide {
  display: none;
}

.bm__item-logo {
  grid-area: bm__item-logo;
}

.bm__item-name {
  grid-area: bm__item-name;
  background-color: transparent;
}

.bm__item-name .title {
  font-size: 16px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}

.bm__item-name .subtitle {
  border: 1px solid var(--second);
  width: fit-content;
  border-radius: 2px;
  padding: 3px 6px;
  color: var(--second);
  font-size: 10px;
  margin: 0;
}

.bm__item-rating {
  grid-area: bm__item-rating;
  background-color: #746f800f;
}

.bm__item-bonus {
  grid-area: bm__item-bonus;
  background-color: #746f800f;
}

.bm__item-dep {
  grid-area: bm__item-dep;
  display: none !important;
  background-color: #746f800f;
}

.bm__item-btn {
  grid-area: bm__item-btn;
  justify-content: space-between !important;
}

.bookmakers__more-btn {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.bookmakers__more-btn::after {
  content: '';
  position: absolute;
  height: 10px;
  width: 10px;
  background-size: cover;
  background-image: url(../img/arrow.svg);
  right: 25px;
  top: 3px;
}

.bookmakers__more-btn.active::after {
  transform: rotate(180deg);
}

.bm__item-payments1 {
  grid-area: bm__item-payments1;
  background-color: #746f800f;
}

.bm__item-payments2 {
  grid-area: bm__item-payments2;
  background-color: #746f800f;
}

.bm__item-payments {
  flex-flow: row nowrap !important;
  justify-content: space-between !important;
  align-items: center;
}

.payments-method {
  display: flex;
  gap: 10px;
  padding-right: 20px;
}

.banking__image {
  width: 30px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.banking__image-sbp {
  background-image: url('../img/pay/sbp.png');
}

.banking__image-card {
  background-image: url('../img/pay/card.png');
}

.banking__image-t-pay {
  background-image: url('../img/pay/t-pay.png');
}

.banking__image-sberpay {
  background-image: url('../img/pay/sberpay.png');
}

.banking__image-yoomoney {
  background-image: url('../img/pay/yoomoney.png');
}

.banking__image-cupis {
  background-image: url('../img/pay/cupis.png');
}

@media (max-width: 800px) {
  .bookmakers__list-item {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 10px;
  }
  .bm__item-btn {
    width: 100%;
  }
  .bm__item-btn .btn-default {
    width: 100%;
  }
  .bm__item-logo img {
    width: 150px;
  }
  .bm__item-payments {
    flex-flow: row wrap !important;
    padding: 10px;
  }
}
/*END: Bookmakers*/

/*BEGIN: Comments*/

.comments {
  margin-top: 20px;
}

.comment-respond {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.comment-respond h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--second);
}

.comment-respond form {
  display: grid;
  gap: 1rem;
}

.comment-respond textarea,
.comment-respond input[type='text'],
.comment-respond input[type='email'],
.comment-respond input[type='url'] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  background: #2a2a2a;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}

.comment-respond input[type='submit'] {
  background: var(--accent);
  border: none;
  padding: 12px 25px;
  color: var(--white);
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.comment-respond input[type='submit']:hover {
  background: var(--accent-hover);
}

.commentlist {
  list-style: none;
  padding: 0;
}

.commentlist li {
  background: #26292e;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  color: #ddd;
}

.commentlist li::before {
  display: none;
}

.comment-author {
  display: flex;
  gap: 5px;
  align-items: center;
}

.comment-author a {
  color: var(--white);
  font-weight: bold;
}

.comment-metadata {
  font-size: 0.9rem;
  color: #aaa;
}

.comment-meta a {
  color: var(--white);
  font-size: 12px;
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 5px;
  background-color: var(--accent);
  border-radius: 8px;
}

/*END: Comments*/
