/* ===== Блок автора snooker.media — navy + gold ===== */
.author-archive-header__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  background: transporent;
  border-radius: 12px;
  padding: 0px;
  
}

/* Аватар с золотой рамкой */
.author-archive-header__avatar {
  flex-shrink: 0;
}

.author-archive-header__avatar-img {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50%;
  border: 3px solid #d4af37;
  padding: 3px;
  background: #14304d;
  box-sizing: border-box;
  object-fit: cover;
  display: block;
}
.author-archive-yoast-title {
  font-weight: 600;
}
/* Текстовый блок */
.author-archive-header__text {
  gap: 15px;
    display: flex;
    flex-direction: column;
}

/* Имя автора — если в разметке есть заголовок над .author-archive-bio.
   Если имя выводится отдельным элементом (h1/h2) — подставь его селектор сюда */
.author-archive-header__text .author-archive-header__name,
.author-archive-header__text h1,
.author-archive-header__text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

/* Биография */
.author-archive-bio {
  font-size: 15px;
  line-height.7;
  color: black;
  margin: 0;
}

/* Адаптив — на мобильных аватар сверху, текст под ним */
@media (max-width: 600px) {
  .author-archive-header__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0px;
    gap: 18px;
  }
  .author-archive-header__avatar-img {
    width: 110px !important;
    height: 110px !important;
  }
}

/* Один шрифт на всём сайте (перекрывает Oswald в заголовках темы MoreNews) */
:root {
  --newsgame-font-family: "Open Sans", "Noto Sans", "Noto Sans CJK SC", "Noto Sans JP",
    "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

body,
button,
input,
select,
optgroup,
textarea,
.site-title,
.site-branding .site-title,
h1,
h2,
h3,
h4,
h5,
h6,
.main-navigation ul li a,
.read-title,
.read-title h3,
.read-title h4,
.read-descprition,
.entry-content,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content li,
.entry-content blockquote,
.widget-title,
.aft-posts-tabs-panel .nav-tabs > li > a,
.cat-links li a,
.wp-block-tag-cloud a,
.tagcloud a,
.exclusive-posts a,
.font-claude-response-body {
  font-family: var(--newsgame-font-family) !important;
}

/* Main tournaments block */
.newsgame-main-tournaments-section {
  margin: 0 0 24px;
}

.newsgame-home-content-with-tournaments {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.container-wrapper .newsgame-home-content-with-tournaments #primary.newsgame-home-content-with-tournaments__main {
  flex: 1 1 70%;
  width: auto;
  max-width: 70%;
  float: none;
  padding-right: 0;
}

.newsgame-home-content-with-tournaments__aside {
  flex: 0 0 calc(30% - 28px);
  max-width: calc(30% - 28px);
  float: none;
  padding-left: 0;
  padding-top: 2rem;
}

.newsgame-main-tournaments {
  width: 100%;
}

.newsgame-main-tournaments__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.newsgame-main-tournaments__marker {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #0a2540;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.newsgame-main-tournaments__list {
  display: grid;
  gap: 10px;
}

.newsgame-main-tournaments__item {
  margin: 0;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.newsgame-main-tournaments__name {
  margin: 0 0 2px;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.newsgame-main-tournaments__date {
  margin: 0;
  color: #666666;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-home-api-blocks {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.newsgame-match-widget__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.newsgame-match-widget__marker {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #0a2540;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.newsgame-match-widget__list {
  display: grid;
  gap: 10px;
}

.newsgame-match-widget__item {
  margin: 0;
  padding: 13px 16px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
}

.newsgame-match-widget__meta,
.newsgame-match-widget__date {
  margin: 0;
  color: #666666;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.newsgame-match-widget__teams {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: baseline;
  margin: 4px 0;
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.newsgame-match-widget__teams span {
  color: #666666;
  font-size: 13px;
  font-weight: 600;
}

.newsgame-match-widget__teams--result {
  justify-content: space-between;
}

.newsgame-match-widget__score {
  color: #0a2540 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.aft-dark-mode .newsgame-main-tournaments__title,
body.aft-dark-mode .newsgame-main-tournaments__name,
body.aft-dark-mode .newsgame-match-widget__title,
body.aft-dark-mode .newsgame-match-widget__teams {
  color: #ffffff;
}

body.aft-dark-mode .newsgame-main-tournaments__item,
body.aft-dark-mode .newsgame-match-widget__item {
  background: #1f1f1f;
  border-color: rgba(255, 255, 255, 0.15);
}

body.aft-dark-mode .newsgame-main-tournaments__date,
body.aft-dark-mode .newsgame-match-widget__meta,
body.aft-dark-mode .newsgame-match-widget__date,
body.aft-dark-mode .newsgame-match-widget__teams span {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 640px) {
  .newsgame-home-content-with-tournaments {
    display: block;
  }

  .container-wrapper .newsgame-home-content-with-tournaments #primary.newsgame-home-content-with-tournaments__main,
  .newsgame-home-content-with-tournaments__aside {
    max-width: none;
    width: 100%;
  }

  .newsgame-home-content-with-tournaments__aside {
    margin-top: 24px;
  }

  .newsgame-main-tournaments {
    max-width: none;
  }

  .newsgame-main-tournaments__title {
    font-size: 22px;
  }
}