body.pr-center-page {
  --pr-accent: var(--main-color);
  background: #fff;
  color: #1d1d1f;
}

/* PR CENTER already exposes its content tabs below the hero. */
body.pr-center-page #header .mega-menu {
  display: none !important;
}

.pr-center-hero {
  min-height: 520px;
  padding: calc(var(--header-height) + 64px) 24px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.34), rgba(8, 10, 12, 0.62)),
    url('https://cdn.mcbots.org/page-assets/pr-news/pr-news-hero-generated.webp') center / cover;
  border-bottom: 1px solid rgba(29, 29, 31, 0.1);
  text-align: center;
}

.pr-center-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.pr-center-hero h1 {
  margin: 20px 0 0;
  font-size: 56px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}

.pr-center-shell {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 120px;
}

.pr-center-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-top: 120px;
  padding: 5px;
  border: 1px solid rgba(29, 29, 31, 0.12);
  border-radius: 999px;
  background: #fff;
}

.pr-center-tabs::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 5px;
  bottom: 5px;
  left: calc(var(--pr-tab-hover-index, var(--pr-tab-index, 0)) * 33.3333% + 5px);
  width: calc(33.3333% - 10px);
  border-radius: 999px;
  background: var(--pr-accent);
  transition: left 0.28s ease;
}

.pr-center-tabs a {
  position: relative;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 999px;
  color: #858585;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pr-center-tabs a:hover,
.pr-center-tabs a.is-active {
  color: #fff;
}

.pr-center-panel[hidden] {
  display: none;
}

.pr-center-section-head {
  padding: 76px 0 32px;
}

.pr-center-section-head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.04em;
}

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

.pr-center-card {
  display: grid;
  min-height: 0;
  align-content: start;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 22px;
  background: #fff;
}

.pr-center-card-media {
  position: relative;
  aspect-ratio: 1.48 / 1;
  margin: 0;
  overflow: hidden;
  background: #f5f5f7;
}

.pr-center-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pr-center-card:hover .pr-center-card-media img {
  transform: scale(1.04);
}

.pr-center-card-body {
  display: grid;
  gap: 18px;
  padding: 28px 30px 34px;
}

.pr-center-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #999;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

.pr-center-card-meta span {
  color: var(--pr-accent);
}

.pr-center-card-body h3 {
  margin: 0;
  color: #1d1d1f;
  font-size: 24px;
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.pr-center-card-body time {
  color: #67727e;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.pr-center-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 67px;
  background: rgba(255, 255, 255, 0.92);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transform: translate(-50%, -50%);
}

.pr-center-play::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 23px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid var(--pr-accent);
}

.pr-center-empty {
  padding: 80px 20px;
  color: #6e6e73;
  font-size: 18px;
  text-align: center;
}

@media (max-width: 1024px) {
  .pr-center-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .pr-center-hero { min-height: 360px; padding: calc(var(--header-height) + 42px) 20px 56px; }
  .pr-center-hero h1 { margin-top: 0; font-size: 40px; }
  .pr-center-shell { width: calc(100% - 40px); padding-bottom: 72px; }
  .pr-center-tabs { margin-top: 72px; }
  .pr-center-tabs a { padding: 14px 8px; font-size: 15px; }
  .pr-center-section-head { padding: 48px 0 24px; }
  .pr-center-section-head h2 { font-size: 30px; }
  .pr-center-grid { grid-template-columns: 1fr; }
  .pr-center-card { min-height: auto; }
  .pr-center-card-body { padding: 22px 18px 28px; }
}
