/* Identidade das editorias e dos blogs do Atlético-MG e do Cruzeiro. */
.sports-page.club-atletico-mg,
.oe-club-blog.club-atletico-mg {
  --oe-night: #111316;
  --oe-panel: #252a30;
  --oe-accent: #f3c96c;
  --oe-action: #775108;
  --oe-paper: #f7f6f2;
  --oe-tint: #f7f0de;
  --oe-rule: #dedbd2;
  --oe-soft-white: #ede8dc;
}

.sports-page.club-cruzeiro,
.oe-club-blog.club-cruzeiro {
  --oe-night: #082454;
  --oe-panel: #0b52ad;
  --oe-accent: #9bd1ff;
  --oe-action: #0b4b99;
  --oe-paper: #f2f6fc;
  --oe-tint: #eaf3ff;
  --oe-rule: #d2e0f1;
  --oe-soft-white: #e2efff;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro),
.oe-club-blog {
  background: var(--oe-paper);
  color: #151d29;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero,
.oe-club-blog .banner {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: clamp(29px, 5vw, 61px) clamp(23px, 5vw, 58px);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(118deg, var(--oe-night) 16%, var(--oe-panel) 100%);
  color: white;
  box-shadow: inset 5px 0 var(--oe-accent);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero > *,
.oe-club-blog .banner > * {
  position: relative;
  z-index: 1;
}

.sports-page.club-atletico-mg .hero::after,
.oe-club-blog.club-atletico-mg .banner::after {
  content: 'GALO';
  position: absolute;
  inset: auto -16px -0.18em auto;
  color: #ffffff12;
  font: 900 clamp(106px, 19vw, 254px)/0.92 Arial, sans-serif;
  letter-spacing: -0.075em;
  pointer-events: none;
}

.sports-page.club-cruzeiro .hero::after,
.oe-club-blog.club-cruzeiro .banner::after {
  content: '';
  position: absolute;
  inset: 6% 2% 3% auto;
  width: min(45%, 380px);
  opacity: 0.22;
  background: right center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 270 200' fill='%23fff'%3E%3Cpath d='M0-25 7-8 25-8 11 4 16 22 0 12-16 22-11 4-25-8-7-8Z' transform='translate(176 34) scale(1.08)'/%3E%3Cpath d='M0-25 7-8 25-8 11 4 16 22 0 12-16 22-11 4-25-8-7-8Z' transform='translate(105 93) scale(.84)'/%3E%3Cpath d='M0-25 7-8 25-8 11 4 16 22 0 12-16 22-11 4-25-8-7-8Z' transform='translate(242 94) scale(.9)'/%3E%3Cpath d='M0-25 7-8 25-8 11 4 16 22 0 12-16 22-11 4-25-8-7-8Z' transform='translate(176 168)'/%3E%3Cpath d='M0-25 7-8 25-8 11 4 16 22 0 12-16 22-11 4-25-8-7-8Z' transform='translate(205 111) scale(.52)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero .eyebrow,
.oe-club-blog .banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--oe-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero .eyebrow::before,
.oe-club-blog .banner .eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: currentColor;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero h1,
.oe-club-blog .banner h1 {
  margin: 15px 0 10px;
  max-width: 850px;
  color: white;
  font: 700 clamp(32px, 5vw, 66px)/1.06 Georgia, 'Times New Roman', serif;
  letter-spacing: -0.037em;
  text-wrap: balance;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .hero .intro,
.oe-club-blog .banner .tag {
  max-width: 610px;
  margin: 0;
  color: var(--oe-soft-white);
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.58;
}

/* Editorias. */
.sports-page:is(.club-atletico-mg, .club-cruzeiro) .sports-page-links {
  gap: 6px;
  padding: 9px;
  border: 1px solid var(--oe-rule);
  border-radius: 11px;
  background: white;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .sports-page-links a {
  border-color: transparent;
  background: transparent;
  color: #263449;
  padding: 8px 12px;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .sports-page-links a:hover,
.sports-page.club-atletico-mg .sports-page-links a[href='/noticias/atletico-mg/'],
.sports-page.club-cruzeiro .sports-page-links a[href='/noticias/cruzeiro/'] {
  background: var(--oe-tint);
  color: var(--oe-action);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner {
  display: grid;
  grid-template-columns: minmax(146px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 22px;
  padding: 15px 21px;
  margin: 16px 0 0;
  border-left-color: var(--oe-accent);
  border-radius: 10px;
  background-color: var(--oe-night);
  color: white;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner strong {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--oe-accent);
  font-size: 13px;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner span {
  color: var(--oe-soft-white);
  line-height: 1.5;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner em {
  justify-self: start;
  padding: 5px 11px;
  border: 1px solid #ffffff54;
  border-radius: 6px;
  color: white;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner:hover em {
  background: #ffffff19;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-section {
  margin-top: clamp(24px, 4vw, 44px);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-section > .sectionhead,
.oe-club-blog .sectionhead {
  flex-wrap: wrap;
  gap: 8px 14px;
  border-bottom: 2px solid var(--oe-night);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-section .sectionhead .small,
.oe-club-blog .sectionhead .count {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--oe-tint);
  color: var(--oe-action);
  font-size: 12px;
  font-weight: 700;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid {
  gap: 21px;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid .news-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--oe-rule);
  border-radius: 11px;
  background: white;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid .news-inner {
  padding: 17px 18px 20px;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid .news-label .eyebrow {
  color: var(--oe-action);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid .news-card h3 {
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.24;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid .news-card h3 a:hover {
  color: var(--oe-action);
}

/* Blogs, placares e leitura da crônica. */
.oe-club-blog {
  --accent: var(--oe-accent);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.oe-club-blog > main {
  margin-block: 0;
}

.oe-club-blog .topbar,
.oe-club-blog .footer {
  background: var(--oe-night);
}

.oe-club-blog .topbar {
  border-bottom-color: var(--oe-accent);
}

.oe-club-blog .footer {
  margin-top: auto;
}

.oe-club-blog .topnav a {
  padding: 5px 9px;
  border-radius: 5px;
}

.oe-club-blog .topnav a:hover,
.oe-club-blog .topnav a[aria-current='page'] {
  background: #ffffff14;
  color: var(--oe-accent);
}

.oe-club-blog .personagem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  border-radius: 6px;
  color: var(--oe-soft-white);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner strong::before,
.oe-club-blog .personagem::before {
  content: '';
  flex: 0 0 7px;
  height: 7px;
  background: var(--oe-accent);
  transform: rotate(45deg);
}

.oe-club-blog .posts {
  gap: 18px;
  align-items: stretch;
}

.oe-club-blog .post {
  gap: 12px;
  padding: clamp(18px, 2.4vw, 27px);
  border: 1px solid var(--oe-rule);
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.oe-club-blog .post:hover {
  border-color: var(--oe-action);
}

.oe-club-blog .post:first-child {
  grid-column: span 2;
  border-top: 4px solid var(--oe-action);
  background: linear-gradient(145deg, white 40%, var(--oe-tint));
}

.oe-club-blog .post:only-child {
  grid-column: 1 / -1;
}

.oe-club-blog .post h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
}

.oe-club-blog .post:first-child h3 {
  font-size: clamp(25px, 3.2vw, 37px);
}

.oe-club-blog .post p {
  color: #475366;
  line-height: 1.55;
}

.oe-club-blog .post .result {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f0f2f5;
  color: #435063;
}

.oe-club-blog .post .result.vitoria { background: #e6f5ec; color: #155534; }
.oe-club-blog .post .result.derrota { background: #fcebec; color: #862431; }
.oe-club-blog .post .result.empate { background: #faf0dc; color: #714908; }

.oe-club-blog .post .score {
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid var(--oe-rule);
  border-radius: 6px;
  background: var(--oe-tint);
  color: var(--oe-night);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.35;
}

.oe-club-blog .empty,
.oe-club-blog .article {
  border-color: var(--oe-rule);
  border-radius: 12px;
}

.oe-club-blog .empty {
  border-style: solid;
  border-left: 4px solid var(--oe-action);
  padding: 23px 24px;
  line-height: 1.6;
}

.oe-club-blog .article .eyebrow,
.oe-club-blog .article-sources a,
.oe-club-blog a:hover {
  color: var(--oe-action);
}

.oe-club-blog .article .article-meta {
  padding: 14px 17px;
  border: 1px solid var(--oe-rule);
  border-radius: 8px;
  background: var(--oe-tint);
  color: #39465a;
}

.oe-club-blog .article .article-meta strong {
  color: var(--oe-night);
}

.oe-club-blog .article-body {
  overflow-wrap: anywhere;
}

.oe-club-blog .article-sources {
  border-left-color: var(--oe-action);
  background: var(--oe-tint);
}

.oe-club-blog .logo:hover,
.oe-club-blog .footer a:hover {
  color: var(--oe-accent);
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) a:focus-visible,
.oe-club-blog a:focus-visible {
  outline: 2px solid var(--oe-action);
  outline-offset: 3px;
}

.sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner:focus-visible,
.oe-club-blog :is(.topbar, .footer) a:focus-visible {
  outline-color: var(--oe-accent);
}

@supports selector(main:has(> article)) {
  .oe-club-blog main:has(> .article) .banner {
    padding-block: 23px;
  }

  .oe-club-blog main:has(> .article) .banner h1 {
    font-size: clamp(31px, 4vw, 43px);
  }

  .oe-club-blog main:has(> .article) .banner .tag {
    font-size: 15px;
  }

  .oe-club-blog main:has(> .article) .banner .personagem {
    display: none;
  }
}

@media (max-width: 860px) {
  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner span {
    grid-row: 2;
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner em {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 580px) {
  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .sports-page-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 7px;
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .sports-page-links a {
    display: grid;
    place-items: center;
    padding: 6px 3px;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .news-grid,
  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner,
  .oe-club-blog .posts {
    grid-template-columns: minmax(0, 1fr);
  }

  .sports-page:is(.club-atletico-mg, .club-cruzeiro) .ag-portal-banner :is(span, em),
  .oe-club-blog .post:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .sports-page.club-cruzeiro .hero::after,
  .oe-club-blog.club-cruzeiro .banner::after {
    width: 62%;
    opacity: 0.14;
  }

  .oe-club-blog .topnav {
    gap: 4px;
  }

  .oe-club-blog .topnav a {
    padding-inline: 6px;
  }

  .oe-club-blog .article {
    margin-top: 18px;
    padding: 19px;
  }
}
