.wp-page-content {
  margin-bottom: 24px;
}

.wp-page-content > h1 {
  margin-top: 0;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.35;
}

.wp-page-content .entry-content > .home-intro,
.wp-page-content .entry-content > .AY_Block,
.wp-page-content .entry-content > .landing-seo {
  margin-inline: -18px;
}

.AYaGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  padding: 16px;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: var(--theme-radius);
  background: var(--light-color);
  box-shadow: 0 0 4px rgba(0, 0, 0, .14);
}

.news-card a {
  display: grid;
  gap: 10px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--gray-1);
}

.news-card h2,
.news-card h3 {
  margin: 0;
  padding: 0 12px;
  color: var(--header-color);
  font-size: 16px;
  line-height: 1.6;
}

.news-card time {
  padding: 0 12px 12px;
  color: var(--header-color);
  font-size: 13px;
  opacity: .72;
}

.article-meta {
  margin-bottom: 18px;
  color: var(--header-color);
  opacity: .72;
}

.article-body {
  color: var(--header-color);
  font-size: 17px;
  line-height: 1.9;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--theme-radius);
}

.match-detail-shell {
  margin-bottom: 28px;
}

.match-detail-head p {
  margin: 8px 0 0;
  opacity: .78;
}

.match-detail-main {
  margin-bottom: 16px;
  border-radius: var(--theme-radius);
  background: var(--light-color);
  box-shadow: 0 0 4px var(--theme-shadow);
}

.match-watch-wrap {
  margin: 16px 0;
  text-align: center;
}

.match-watch-button,
.page-numbers {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--theme-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-weight: 800;
}

.navigation.pagination {
  padding: 0 16px 16px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers.current {
  background: var(--dark-color);
}

.not-found-box {
  text-align: center;
}

@media (max-width: 640px) {
  .wp-page-content .entry-content > .home-intro,
  .wp-page-content .entry-content > .AY_Block,
  .wp-page-content .entry-content > .landing-seo {
    margin-inline: 0;
  }

  .AYaGrid {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}


html,
body {
  min-height: 100%;
}

body.yalla-style-1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#SiteContent,
.article-wrapper,
.match-detail-shell {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
}

.albaflex {
  min-height: 0 !important;
  gap: 12px;
}

.AY_Match {
  contain: none;
}

.AY_Inner {
  min-height: 136px;
}

.MT_Data {
  min-height: 78px;
  justify-content: center;
}

.AY_Match.not-started .MT_Result,
.AY_Match.is-upcoming .MT_Result,
.AY_Match.not-started .TourName,
.AY_Match.is-upcoming .TourName,
.AY_Match .TourName {
  display: none !important;
}

.MT_Info ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.MT_Info li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
}

.MT_Info li::before {
  margin: 0;
  flex: 0 0 auto;
}

.MT_Info li.mt-channel::before { content: "??"; }
.MT_Info li.mt-commentator::before { content: "??"; }
.MT_Info li.mt-league::before { content: "??"; }

.match-seo-hero {
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--gray-2);
  border-radius: var(--theme-radius);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: #0f1724;
  color: #fff;
  text-align: center;
}

.match-side {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.match-side img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.match-vs {
  font-size: 30px;
  font-weight: 900;
}

.match-live-title,
.match-status-line {
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(20, 184, 166, .35);
  background: rgba(6, 95, 70, .3);
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.match-status-line {
  border-style: dashed;
  background: rgba(15, 23, 42, .5);
  color: var(--header-color);
}

.match-rich-copy {
  margin-top: 0;
}

.match-rich-copy h1,
.match-rich-copy h2 {
  margin-top: 0;
  line-height: 1.5;
}

.match-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  overflow: hidden;
  border-radius: var(--theme-radius);
}

.match-info-table th,
.match-info-table td {
  border: 1px solid var(--gray-2);
  padding: 10px 12px;
  text-align: start;
}

.match-info-table th {
  width: 34%;
  background: rgba(6, 95, 70, .25);
}

html,
body,
#AYaHeader .HdrInner,
.AY_Block,
.AY_Match,
.landing-seo,
.landing-seo-card,
.site-footer,
.home-intro,
.match-detail-main,
.match-rich-copy,
.match-status-line {
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

@media (max-width: 640px) {
  .AY_Inner {
    min-height: 126px;
  }

  .MT_Info ul {
    grid-template-columns: 1fr;
  }

  .MT_Info li {
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .match-seo-hero {
    grid-template-columns: 1fr;
  }
}
