/* ------------------------------
   WordPress base content helpers
------------------------------ */

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
  background: transparent;
  border: 1px solid #f0f0f0;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  width: auto;
  max-width: 98.5%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.wp-caption p.wp-caption-text {
  margin: 0;
  padding: 0 4px 5px;
  font-size: 11px;
  line-height: 17px;
}

/* ------------------------------
   Comments
------------------------------ */

.comm_text p {
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}

ol.comments {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none;
}

.commentlist {
  margin: 0;
  padding: 0;
}

.commentlist li.comment {
  margin: 0 0 20px;
  padding: 20px;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.comment-author {
  margin-bottom: 10px;
  font-weight: 700;
}

.comment-meta {
  margin-bottom: 10px;
  opacity: 0.7;
  font-size: 13px;
}

.comment-respond,
.comments-area {
  margin-top: 30px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: rgba(24, 160, 251, 0.55);
}

.comment-form .submit {
  width: auto;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
  border: 0;
  border-radius: 10px;
}

/* ------------------------------
   Tables
------------------------------ */

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 10px 12px;
  vertical-align: top;
}

/* ------------------------------
   Responsive helpers
------------------------------ */

@media (max-width: 1000px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Mobile adaptive tables */
@media (max-width: 768px) {
  .entry-content table,
  .games-info__cnt table,
  .page-shell table {
    width: 100%;
    table-layout: fixed;
  }

  .entry-content table th,
  .entry-content table td,
  .games-info__cnt table th,
  .games-info__cnt table td,
  .page-shell table th,
  .page-shell table td {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
  }

  .entry-content table th:first-child,
  .entry-content table td:first-child,
  .games-info__cnt table th:first-child,
  .games-info__cnt table td:first-child,
  .page-shell table th:first-child,
  .page-shell table td:first-child {
    width: 32%;
  }

  .entry-content table th:last-child,
  .entry-content table td:last-child,
  .games-info__cnt table th:last-child,
  .games-info__cnt table td:last-child,
  .page-shell table th:last-child,
  .page-shell table td:last-child {
    width: 68%;
  }
}

/* === Wide tables (mobile scroll FIX) === */
@media (max-width: 768px) {

  .wp-block-table.table-wide-mobile {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wp-block-table.table-wide-mobile table {
    min-width: 600px;
    width: max-content;
    table-layout: auto;
  }

  .wp-block-table.table-wide-mobile th,
  .wp-block-table.table-wide-mobile td {
    white-space: nowrap;
  }

}