:root {
  --black: #000000;
  --black-soft: #070707;
  --white: #ffffff;
  --paper: #f4f5f7;
  --line: #e5e7eb;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #111827;
  --muted: #6b7280;
  --gold: #EFB810;
  --gold-soft: #EFB810;
  --blue: #0057b8;
  --shadow: 0 12px 30px rgba(17, 24, 39, .08);
  --container: 1180px;
  --brand-height: 82px;
  --nav-height: 48px;
  --font-main: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 9999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  clip: auto;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.brand-bar {
  min-height: var(--brand-height);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand-inner {
  min-height: var(--brand-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.brand img {
  width: clamp(230px, 24vw, 350px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #d9dde4;
  border-radius: 50%;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--black);
  background: #f7f7f7;
  border-color: #aeb5c0;
  transform: translateY(-1px);
}

.social-links svg,
.search-form svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.search-form {
  width: min(260px, 23vw);
  height: 40px;
  display: flex;
  align-items: center;
  color: #111827;
  background: #f8f8f9;
  border: 1px solid #d7dce4;
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.search-form:focus-within {
  background: var(--white);
  border-color: #9ca3af;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, .07);
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 6px 0 17px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-form input::placeholder {
  color: #757b86;
}

.search-form button {
  width: 44px;
  min-width: 44px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #111827;
  background: transparent;
}

.menu-toggle {
  display: none;
  grid-column: 1;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--black);
  background: #f5f5f6;
  border: 1px solid #d7dce4;
  border-radius: 12px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  min-height: var(--nav-height);
  color: var(--white);
  background: #101820;
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.nav-link {
  position: relative;
  min-height: var(--nav-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: rgba(255, 255, 255, .9);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: var(--gold-soft);
  border-radius: 999px 999px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--white);
  background: #111111;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link-highlight {
  color: var(--gold-soft);
}

.site-main {
  padding: 0 0 42px;
}

.ad-section {
  padding: 22px 0 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.ad-label {
  width: min(100% - 32px, var(--container));
  margin: 0 auto 4px;
  color: #8b8f98;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: .08em;
}

.horizontal-ad {
  width: min(100%, 970px);
  min-height: 90px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.25fr 150px 1.6fr .9fr auto;
  align-items: center;
  gap: 0;
  color: #081224;
  background: #ffffff;
  border: 1px solid #1f2937;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.ad-brand {
  min-height: 90px;
  display: flex;
  align-items: center;
  padding: 0 26px;
  color: #081224;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: .08em;
}

.ad-brand span {
  color: #d60000;
}

.ad-visual {
  align-self: stretch;
  min-height: 90px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .18)),
    radial-gradient(circle at 75% 30%, rgba(242, 201, 76, .42), transparent 32%),
    linear-gradient(135deg, #dbe7f5 0%, #7691b4 45%, #14213d 100%);
}

.ad-copy,
.ad-price {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #071026;
  color: var(--white);
}

.ad-copy {
  padding: 0 24px;
  border-left: 5px solid #d60000;
}

.ad-copy span,
.ad-price span,
.ad-price small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}

.ad-copy strong {
  margin-top: 4px;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.05;
}

.ad-price {
  padding: 0 20px;
  align-items: flex-start;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.ad-price strong {
  margin: 2px 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  white-space: nowrap;
}

.ad-price small {
  font-size: 8px;
}

.ad-button {
  align-self: stretch;
  min-width: 132px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  color: var(--white);
  background: #e10600;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.scores-section {
  background: #eef0f3;
  border-top: 1px solid #dde1e7;
  border-bottom: 1px solid #dde1e7;
}

.scores-wrap {
  width: min(100%, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 104px;
  overflow: hidden;
  background: #f8f9fb;
  border-left: 1px solid #e0e3e8;
  border-right: 1px solid #e0e3e8;
}

.scores-filter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 14px 16px;
  background: #f5f6f8;
  border-right: 1px solid #e0e3e8;
}

.scores-filter strong {
  color: #111111;
  font-size: 15px;
  font-weight: 800;
}

.scores-filter button {
  width: 86px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 12px;
  color: #111111;
  background: var(--white);
  border: 1px solid #d9dfe7;
  box-shadow: 0 4px 10px rgba(17, 24, 39, .08);
}

.scores-board {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(470px, 1.25fr);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #a5adbb #eef0f3;
}

.scores-board::-webkit-scrollbar {
  height: 7px;
}

.scores-board::-webkit-scrollbar-track {
  background: #eef0f3;
}

.scores-board::-webkit-scrollbar-thumb {
  background: #a5adbb;
  border-radius: 999px;
}

.league-block {
  min-width: 360px;
  padding: 9px 12px 10px;
  border-right: 1px solid #e0e3e8;
}

.league-block-wide {
  min-width: 560px;
}

.league-block h2,
.league-title-line h2 {
  margin: 0 0 7px;
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.league-block h2 span {
  margin-right: 5px;
  opacity: .7;
}

.league-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid #111111;
  margin-bottom: 0;
}

.league-title-line h2 {
  margin-bottom: 8px;
}

.league-title-line a {
  margin-bottom: 8px;
  color: #006fd6;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.match-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
}

.match-card {
  position: relative;
  width: 188px;
  min-height: 72px;
  padding: 21px 9px 7px;
  background: var(--white);
  border-top: 2px solid #111111;
  box-shadow: 0 3px 11px rgba(17, 24, 39, .12);
}

.league-title-line + .match-row .match-card {
  border-top: 0;
}

.match-status {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  display: block;
  color: #9a9a9a;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.team-line {
  min-height: 26px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.1;
}

.team-line span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-line strong {
  height: 27px;
  display: grid;
  place-items: center;
  color: #555555;
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 20px;
  font-weight: 800;
}

.flag,
.team-badge {
  width: 22px;
  height: 15px;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.flag-eg {
  background: linear-gradient(#ce1126 0 33%, #fff 33% 66%, #111 66%);
}

.flag-ru {
  background: linear-gradient(#fff 0 33%, #0039a6 33% 66%, #d52b1e 66%);
}

.flag-ie {
  background: linear-gradient(90deg, #169b62 0 33%, #fff 33% 66%, #ff883e 66%);
}

.flag-qa {
  background: linear-gradient(90deg, #fff 0 26%, #8a1538 26%);
}

.team-badge {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  box-shadow: none;
}

.badge-green { background: #178a42; }
.badge-red { background: #bd1e2d; }
.badge-blue { background: #184a9b; }
.badge-yellow { background: #f2c94c; color: #111111; }

.score-next {
  width: 48px;
  min-width: 48px;
  min-height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #c7cbd1;
  font-size: 38px;
  line-height: 1;
}



/* Noticias */
.news-section {
  padding: 22px 0 42px;
  background: #ffffff;
}

.news-container {
  max-width: 980px;
}

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid #111111;
}

.news-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.news-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(295px, .92fr);
  gap: 14px;
  align-items: start;
}

.featured-news-card,
.side-news-card {
  background: #ffffff;
}

.featured-news-media,
.side-news-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e8ebf0;
}

.featured-news-media {
  aspect-ratio: 16 / 8.75;
}

.featured-news-media img,
.side-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.featured-news-card:hover img,
.side-news-card:hover img {
  transform: scale(1.018);
}

.play-button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.play-button svg {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.play-button circle {
  fill: rgba(255, 255, 255, .92);
}

.play-button path {
  fill: #111111;
}

.play-button-large svg {
  width: 58px;
  height: 58px;
}

.play-button-small svg {
  width: 34px;
  height: 34px;
}

.featured-news-body {
  padding: 11px 0 0;
}

.news-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: #c40000;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured-news-body h3,
.side-news-card h3 {
  margin: 0;
  color: #111111;
  font-weight: 800;
  letter-spacing: -.035em;
}

.featured-news-body h3 {
  max-width: 660px;
  font-size: clamp(28px, 3.7vw, 42px);
  line-height: .98;
}

.featured-news-body h3 a,
.side-news-card h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size .2s ease, color .2s ease;
}

.featured-news-body h3 a:hover,
.featured-news-body h3 a:focus-visible,
.side-news-card h3 a:hover,
.side-news-card h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin-top: 9px;
  color: #111111;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.comment-count {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #1b76c9;
}

.comment-count svg {
  fill: currentColor;
}

.side-news-list {
  display: grid;
  gap: 12px;
}

.side-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 12px;
  min-height: 116px;
  padding: 10px;
  background: #f3f4f7;
  transition: background .2s ease;
}

.side-news-card:hover {
  background: #eceef3;
}

.side-news-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-news-card .news-kicker {
  margin-bottom: 6px;
  font-size: 10px;
}

.side-news-card h3 {
  font-size: 17px;
  line-height: 1.03;
}

.side-news-card .news-meta {
  margin-top: 8px;
  font-size: 9px;
}

.side-news-media {
  min-height: 96px;
  aspect-ratio: 1.38 / 1;
}

@media (max-width: 1100px) {
  .horizontal-ad {
    grid-template-columns: 1fr 120px 1.3fr auto;
  }

  .ad-price {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --brand-height: 68px;
    --nav-height: 52px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-inner {
    grid-template-columns: 48px 1fr 48px;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .brand {
    grid-column: 2;
  }

  .brand img {
    width: min(210px, 52vw);
    max-height: 47px;
  }

  .header-actions {
    grid-column: 3;
  }

  .social-links {
    display: none;
  }

  .search-form {
    width: 42px;
    height: 42px;
    background: #f5f5f6;
    border-radius: 12px;
  }

  .search-form input {
    width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  .search-form.is-open,
  .search-form:focus-within {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 12px;
    z-index: 1200;
    width: auto;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  }

  .search-form.is-open input,
  .search-form:focus-within input {
    width: 100%;
    padding: 0 8px 0 16px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    inset: var(--brand-height) 0 auto 0;
    min-height: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .22);
  }

  .menu-open .main-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-inner {
    width: 100%;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 6px 0;
  }

  .nav-link {
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 22px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-link::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 4px;
    height: auto;
    border-radius: 0 999px 999px 0;
    transform: scaleY(0);
  }

  .nav-link:hover::after,
  .nav-link:focus-visible::after,
  .nav-link.is-active::after {
    transform: scaleY(1);
  }

  .site-main {
    padding-bottom: 28px;
  }

  .ad-section {
    padding: 15px 0 14px;
  }

  .horizontal-ad {
    min-height: 86px;
    grid-template-columns: 1fr 1.1fr auto;
  }

  .ad-brand {
    min-height: 86px;
    padding: 0 16px;
    font-size: 22px;
  }

  .ad-visual,
  .ad-price {
    display: none;
  }

  .ad-copy {
    min-height: 86px;
    padding: 0 14px;
    border-left-width: 4px;
  }

  .ad-copy strong {
    font-size: 17px;
  }

  .ad-button {
    min-width: 96px;
    padding: 0 14px;
    font-size: 12px;
  }

  .scores-wrap {
    grid-template-columns: 1fr;
    border-inline: 0;
  }

  .scores-filter {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 11px 16px;
    border-right: 0;
    border-bottom: 1px solid #e0e3e8;
  }

  .scores-board {
    grid-template-columns: repeat(2, minmax(350px, 1fr));
  }
}

@media (max-width: 560px) {
  .brand img {
    width: min(186px, 50vw);
  }

  .horizontal-ad {
    grid-template-columns: 1fr auto;
  }

  .ad-copy {
    display: none;
  }

  .ad-brand {
    font-size: 21px;
  }

  .scores-board {
    grid-template-columns: repeat(2, minmax(330px, 1fr));
  }

  .league-block {
    min-width: 330px;
    padding-inline: 10px;
  }

  .league-block-wide {
    min-width: 520px;
  }

  .match-card {
    width: 162px;
  }

  .team-line {
    grid-template-columns: 20px minmax(0, 1fr) 22px;
    gap: 7px;
    font-size: 14px;
  }

  .team-line strong {
    font-size: 18px;
  }
}
@media (max-width: 1050px) {
  .news-container {
    max-width: 940px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .side-news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .side-news-card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 0;
    overflow: hidden;
  }

  .side-news-content {
    order: 2;
    padding: 11px;
  }

  .side-news-media {
    order: 1;
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .news-section {
    padding: 18px 0 34px;
  }

  .news-header {
    align-items: center;
    margin-bottom: 10px;
  }

  .news-grid {
    gap: 16px;
  }

  .featured-news-media {
    aspect-ratio: 16 / 9;
  }

  .featured-news-body h3 {
    font-size: clamp(26px, 8.8vw, 38px);
  }

  .side-news-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .side-news-card {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 10px;
    padding: 9px;
  }

  .side-news-content {
    order: initial;
    padding: 0;
  }

  .side-news-media {
    order: initial;
    min-height: 86px;
    aspect-ratio: 1.25 / 1;
  }

  .side-news-card h3 {
    font-size: 16px;
  }
}

@media (max-width: 460px) {
  .news-header h2 {
    font-size: 24px;
  }

  .side-news-card {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .side-news-content {
    padding: 11px;
  }

  .side-news-media {
    width: 100%;
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
}


/* Ajuste v5: alineación general, banner real y header compacto al hacer scroll */
:root {
  --content-width: 980px;
  --brand-red: #c40000;
}

.site-header {
  transition: transform .26s ease, box-shadow .22s ease;
  will-change: transform;
}

body.scrolling-down:not(.menu-open) .site-header {
  transform: translateY(-100%);
}

.compact-scroll-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: 46px;
  color: #111111;
  background: #EFB810;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  transform: translateY(-110%);
  transition: transform .24s ease;
  pointer-events: none;
}

body.scrolling-down:not(.menu-open) .compact-scroll-bar {
  transform: translateY(0);
  pointer-events: auto;
}

.compact-inner {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.compact-brand {
  height: 34px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: transparent;
  border-radius: 0;
  line-height: 0;
}

.compact-brand img {
  width: 164px;
  height: auto;
  max-height: 31px;
  object-fit: contain;
  filter: none;
}

.compact-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.compact-nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #111111;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.compact-nav a:hover,
.compact-nav a:focus-visible {
  color: #000000;
  background: rgba(255, 255, 255, .22);
}

.ad-section {
  padding: 20px 0 16px;
}

.ad-container {
  max-width: var(--content-width);
}

.horizontal-ad-image {
  width: min(100%, 970px);
  margin-inline: auto;
  display: block;
  line-height: 0;
  background: #ffffff;
  border: 1px solid #1f2937;
  overflow: hidden;
}

.horizontal-ad-image img {
  width: 100%;
  height: auto;
  display: block;
}

.scores-section {
  background: #eef0f3;
}

.scores-wrap {
  width: min(100% - 32px, var(--content-width));
  min-height: 94px;
  grid-template-columns: 126px minmax(0, 1fr);
}

.scores-filter {
  padding: 13px 14px;
}

.scores-board {
  grid-template-columns: minmax(330px, 340px) minmax(490px, 1fr);
}

.league-block {
  min-width: 330px;
  padding: 8px 10px 9px;
}

.league-block-wide {
  min-width: 490px;
}

.match-row {
  gap: 8px;
}

.match-card {
  width: 158px;
  min-height: 68px;
  padding: 20px 8px 6px;
}

.score-next {
  width: 42px;
  min-width: 42px;
  min-height: 68px;
}

.team-line {
  min-height: 24px;
  grid-template-columns: 21px minmax(0, 1fr) 23px;
  gap: 7px;
  font-size: 14px;
}

.team-line strong {
  height: 25px;
  font-size: 18px;
}

.news-container {
  max-width: var(--content-width);
}

@media (max-width: 900px) {
  body.scrolling-down:not(.menu-open) .site-header {
    transform: translateY(-100%);
  }

  .compact-scroll-bar,
  .compact-inner {
    height: 44px;
  }

  .compact-inner {
    justify-content: flex-start;
    gap: 12px;
    overflow: hidden;
  }

  .compact-brand {
    min-width: 142px;
    height: 32px;
    padding-inline: 12px;
  }

  .compact-brand img {
    width: 122px;
    max-height: 23px;
  }

  .compact-nav {
    flex: 1;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .compact-nav::-webkit-scrollbar {
    display: none;
  }

  .compact-nav a {
    min-height: 44px;
    padding: 0 13px;
    font-size: 13px;
  }

  .ad-section {
    padding: 14px 0 12px;
  }

  .horizontal-ad-image {
    border-color: #293241;
  }

  .scores-wrap {
    width: min(100% - 24px, var(--content-width));
    grid-template-columns: 1fr;
  }

  .scores-board {
    grid-template-columns: minmax(330px, 340px) minmax(490px, 1fr);
  }
}

@media (max-width: 560px) {
  .compact-brand {
    min-width: 124px;
  }

  .compact-brand img {
    width: 108px;
  }

  .scores-wrap {
    width: 100%;
    border-inline: 0;
  }
}


/* Ajuste v6: redes limpias, búsqueda solo icono, logo compacto sin fondo y carrusel inferior */
.social-links {
  gap: 14px;
}

.social-links a {
  width: 24px;
  height: 32px;
  color: #111827;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #c40000;
  background: transparent;
  border-color: transparent;
  transform: translateY(-1px);
}

.social-links svg {
  width: 19px;
  height: 19px;
}

.search-form.search-form-icon {
  width: 34px;
  height: 34px;
  color: #111827;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.search-form.search-form-icon:focus-within {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.search-form.search-form-icon button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  color: #111827;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.search-form.search-form-icon button:hover,
.search-form.search-form-icon button:focus-visible {
  color: #c40000;
  background: rgba(196, 0, 0, .07);
  transform: translateY(-1px);
}

.search-form.search-form-icon svg {
  width: 22px;
  height: 22px;
}

.compact-brand {
  height: 46px;
  min-width: 178px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.compact-brand img {
  width: 166px;
  max-height: 34px;
}

.tv-carousel-section {
  padding: 0 0 52px;
  background: #ffffff;
}

.tv-carousel-container {
  max-width: var(--content-width);
}

.tv-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.tv-carousel-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.tv-carousel-logo img {
  width: 172px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.tv-carousel-more {
  color: #006fd6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.tv-carousel-shell {
  position: relative;
}

.tv-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 206px;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: thin;
  scrollbar-color: #a5adbb #f3f4f7;
}

.tv-carousel-track::-webkit-scrollbar {
  height: 7px;
}

.tv-carousel-track::-webkit-scrollbar-track {
  background: #f3f4f7;
}

.tv-carousel-track::-webkit-scrollbar-thumb {
  background: #a5adbb;
  border-radius: 999px;
}

.tv-carousel-card {
  min-width: 0;
  background: #ffffff;
  scroll-snap-align: start;
}

.tv-carousel-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.tv-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.tv-carousel-card:hover .tv-carousel-media img {
  transform: scale(1.025);
}

.tv-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.tv-play svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.tv-play circle {
  fill: rgba(255, 255, 255, .9);
}

.tv-play path {
  fill: #111111;
}

.tv-carousel-body {
  padding-top: 7px;
}

.tv-carousel-body span {
  display: block;
  margin-bottom: 5px;
  color: #c40000;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tv-carousel-body h3 {
  margin: 0;
  color: #111111;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.tv-carousel-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.tv-carousel-body h3 a:hover,
.tv-carousel-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.tv-carousel-body small {
  display: block;
  margin-top: 7px;
  color: #111111;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.tv-carousel-arrow {
  position: absolute;
  top: 41px;
  z-index: 2;
  width: 34px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(17, 24, 39, .72);
  font-size: 34px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s ease, background .2s ease;
}

.tv-carousel-shell:hover .tv-carousel-arrow,
.tv-carousel-arrow:focus-visible {
  opacity: 1;
}

.tv-carousel-arrow:hover {
  background: #c40000;
}

.tv-carousel-prev {
  left: 0;
}

.tv-carousel-next {
  right: 0;
}

@media (max-width: 900px) {
  .header-actions {
    gap: 10px;
  }

  .social-links {
    gap: 10px;
  }

  .search-form.search-form-icon,
  .search-form.search-form-icon button {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }

  .compact-brand {
    min-width: 146px;
    height: 44px;
  }

  .compact-brand img {
    width: 138px;
    max-height: 29px;
  }

  .tv-carousel-section {
    padding-bottom: 40px;
  }

  .tv-carousel-track {
    grid-auto-columns: minmax(178px, 46vw);
    gap: 11px;
  }

  .tv-carousel-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-inner {
    grid-template-columns: 42px 1fr auto;
  }

  .social-links a:nth-child(2),
  .social-links a:nth-child(3) {
    display: none;
  }

  .tv-carousel-logo img {
    width: 145px;
  }

  .tv-carousel-track {
    grid-auto-columns: 72vw;
  }
}


/* Ajuste v7: noticias estáticas sin botón de video */
.play-button,
.tv-play {
  display: none !important;
}

/* Ajuste v7: banner secundario + bloque editorial inferior */
.ad-section-mid {
  padding: 0 0 26px;
  background: #ffffff;
  border-bottom: 0;
}

.latest-news-section {
  padding: 0 0 56px;
  background: #ffffff;
}

.latest-news-container {
  max-width: var(--content-width);
}

.latest-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.latest-news-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.045em;
}

.latest-news-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.latest-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1.28fr) 300px;
  gap: 22px;
  align-items: start;
}

.latest-feature-card {
  min-width: 0;
  background: #ffffff;
}

.latest-feature-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.latest-feature-media img,
.latest-list-media img,
.latest-ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-feature-body {
  padding-top: 13px;
}

.latest-feature-body h3 {
  margin: 7px 0 0;
  color: #111111;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.055em;
}

.latest-news-list {
  display: grid;
  gap: 12px;
}

.latest-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  min-height: 118px;
  padding: 12px;
  background: #f3f4f6;
}

.latest-list-body {
  min-width: 0;
}

.latest-list-body h3 {
  margin: 6px 0 0;
  color: #111111;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.latest-feature-body h3 a,
.latest-list-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.latest-feature-body h3 a:hover,
.latest-feature-body h3 a:focus-visible,
.latest-list-body h3 a:hover,
.latest-list-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.latest-list-media {
  display: block;
  min-height: 94px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

.latest-ad {
  margin: 0;
  width: 300px;
}

.latest-ad p {
  margin: 0 0 5px;
  color: #777d86;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  letter-spacing: .08em;
}

.latest-ad a {
  display: block;
  width: 300px;
  height: 600px;
  overflow: hidden;
  background: #0b1120;
}

@media (max-width: 1120px) {
  .latest-news-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .latest-ad {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .ad-section-mid {
    padding-bottom: 22px;
  }

  .latest-news-section {
    padding-bottom: 40px;
  }

  .latest-news-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .latest-list-card {
    grid-template-columns: minmax(0, 1fr) 118px;
    min-height: 92px;
    gap: 10px;
    padding: 9px;
  }

  .latest-list-body h3 {
    font-size: 16px;
  }

  .latest-feature-body h3 {
    font-size: clamp(25px, 9vw, 36px);
  }
}

@media (max-width: 460px) {
  .latest-list-card {
    grid-template-columns: 1fr;
    padding: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
  }

  .latest-list-body {
    padding: 9px 0 12px;
  }

  .latest-list-media {
    order: -1;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .latest-ad,
  .latest-ad a {
    width: min(300px, 100%);
  }
}


/* Ajuste v8: bloque vertical refinado + bloque editorial 1 horizontal y 6 noticias */
.latest-feature-card {
  background: #f3f4f6;
}

.latest-feature-body {
  padding: 13px 12px 14px;
}

.latest-news-list {
  gap: 13px;
}

.magazine-news-section {
  padding: 0 0 64px;
  background: #ffffff;
}

.magazine-news-container {
  max-width: var(--content-width);
}

.magazine-lead-card {
  display: grid;
  grid-template-columns: minmax(285px, .74fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 18px;
  background: #eef1f5;
  overflow: hidden;
}

.magazine-lead-media,
.magazine-card-media {
  display: block;
  overflow: hidden;
  background: #111827;
}

.magazine-lead-media {
  min-height: 210px;
}

.magazine-lead-media img,
.magazine-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.magazine-lead-card:hover .magazine-lead-media img,
.magazine-card:hover .magazine-card-media img {
  transform: scale(1.02);
}

.magazine-lead-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
}

.magazine-lead-body h3 {
  max-width: 620px;
  margin: 6px 0 10px;
  color: #111111;
  font-size: clamp(24px, 2.65vw, 34px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.05em;
}

.magazine-lead-body p {
  max-width: 650px;
  margin: 0;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.magazine-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.magazine-card {
  min-width: 0;
  background: #f3f4f6;
  overflow: hidden;
}

.magazine-card-media {
  aspect-ratio: 16 / 9;
}

.magazine-card-body {
  padding: 12px 12px 14px;
}

.magazine-card-body h3 {
  margin: 6px 0 0;
  color: #111111;
  font-size: clamp(19px, 1.65vw, 25px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

.magazine-lead-body h3 a,
.magazine-card-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.magazine-lead-body h3 a:hover,
.magazine-lead-body h3 a:focus-visible,
.magazine-card-body h3 a:hover,
.magazine-card-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

@media (max-width: 900px) {
  .magazine-lead-card {
    grid-template-columns: 1fr;
  }

  .magazine-lead-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .magazine-lead-body {
    padding: 17px 16px 18px;
  }

  .magazine-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .magazine-news-section {
    padding-bottom: 44px;
  }

  .magazine-card-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .magazine-card-body h3 {
    font-size: 22px;
  }
}

/* Ajuste v9: bloque inferior de 6 noticias + widget deportivo lateral */
.deep-news-section {
  padding: 0 0 44px;
  background: #ffffff;
}

.deep-news-container {
  max-width: var(--content-width);
}

.deep-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.deep-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.deep-news-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

.deep-news-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.deep-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.deep-news-card {
  min-width: 0;
  background: #f3f4f6;
  overflow: hidden;
  transition: background .2s ease, transform .2s ease;
}

.deep-news-card:hover {
  background: #eceef3;
}

.deep-news-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111827;
}

.deep-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.deep-news-card:hover .deep-news-media img {
  transform: scale(1.025);
}

.deep-news-body {
  padding: 11px 11px 13px;
}

.deep-news-body h3 {
  margin: 5px 0 0;
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.deep-news-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.deep-news-body h3 a:hover,
.deep-news-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.sports-widget {
  position: sticky;
  top: 62px;
  width: 300px;
  padding: 0;
  background: #ffffff;
}

.sports-widget > h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.025em;
  border-bottom: 2px solid #111111;
}

.sports-group {
  margin-bottom: 10px;
}

.sports-group > h3 {
  margin: 0 0 6px;
  padding: 10px 12px;
  color: #ffffff;
  background: #202020;
  border-radius: 6px 6px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.sports-match {
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  grid-template-areas:
    "home score away"
    "info info info";
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 11px 10px 8px;
  background: #ffffff;
  border-top: 5px solid #a72a24;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .12);
}

.sports-team {
  min-width: 0;
  display: grid;
  gap: 6px;
  align-items: center;
  color: #111111;
}

.sports-team-left {
  grid-area: home;
  justify-items: start;
  text-align: left;
}

.sports-team-right {
  grid-area: away;
  justify-items: end;
  text-align: right;
}

.club-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .4), 0 3px 8px rgba(17, 24, 39, .18);
}

.club-psg { background: linear-gradient(135deg, #112b5f, #e31737); }
.club-bay { background: linear-gradient(135deg, #d0021b, #0057b8); }
.club-atm { background: linear-gradient(135deg, #c40000, #ffffff 48%, #1b3f8b); color: #111111; }
.club-ars { background: linear-gradient(135deg, #d00027, #f0c044); }

.sports-team strong {
  max-width: 92px;
  overflow: hidden;
  color: #111111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sports-score {
  grid-area: score;
  display: grid;
  grid-template-columns: 1fr 18px 1fr;
  align-items: center;
  justify-items: center;
  gap: 2px;
  color: #a72a24;
}

.sports-score span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #a72a24;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
}

.sports-score em {
  color: #a72a24;
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
}

.sports-info {
  grid-area: info;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  align-items: center;
  gap: 8px;
  margin: 9px -10px -8px;
  padding: 8px 10px;
  color: #111111;
  background: #f4f5f7;
  border-top: 1px solid #dfe3ea;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.sports-info b {
  justify-self: end;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .deep-news-layout {
    grid-template-columns: 1fr;
  }

  .sports-widget {
    position: static;
    width: 100%;
    max-width: 640px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .deep-news-section {
    padding-bottom: 46px;
  }

  .deep-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .deep-news-body h3 {
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .deep-news-grid {
    grid-template-columns: 1fr;
  }

  .deep-news-body h3 {
    font-size: 21px;
  }

  .sports-match {
    grid-template-columns: 1fr 80px 1fr;
    padding-inline: 9px;
  }

  .club-mark {
    width: 38px;
    height: 38px;
  }

  .sports-info {
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
  }

  .sports-info b {
    grid-column: 1 / -1;
    justify-self: center;
  }
}


/* Bottom ad + compact news block */
.bottom-ad-section {
  padding: 10px 0 12px;
  background: #ffffff;
}

.bottom-ad-container {
  display: grid;
  justify-items: center;
}

.bottom-ad-link {
  display: block;
  width: min(100%, 970px);
  line-height: 0;
  border-top: 1px solid #101010;
  border-bottom: 1px solid #101010;
  overflow: hidden;
}

.bottom-ad-link img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.compact-news-section {
  padding: 6px 0 36px;
  background: #ffffff;
}

.compact-news-container {
  max-width: 970px;
}

.compact-news-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  border-bottom: 2px solid #111111;
}

.compact-news-header h2 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.compact-news-header a {
  margin-bottom: 4px;
  color: #006fc9;
  font-size: 13px;
  font-weight: 800;
}

.compact-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.compact-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  min-height: 136px;
  background: #f2f3f5;
  overflow: hidden;
}

.compact-news-body {
  padding: 13px 10px 11px;
  min-width: 0;
}

.compact-news-body h3 {
  margin: 6px 0 12px;
  color: #111111;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.compact-news-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.compact-news-body h3 a:hover,
.compact-news-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.compact-news-media {
  min-height: 136px;
  line-height: 0;
  background: #0f1724;
}

.compact-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 950px) {
  .compact-news-grid {
    grid-template-columns: 1fr;
  }

  .compact-news-card {
    grid-template-columns: minmax(0, 1fr) 38%;
  }
}

@media (max-width: 560px) {
  .bottom-ad-section {
    padding-top: 18px;
  }

  .compact-news-section {
    padding-bottom: 44px;
  }

  .compact-news-card {
    grid-template-columns: 1fr;
  }

  .compact-news-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .compact-news-body h3 {
    font-size: 21px;
  }
}


/* v12: bloque inferior estilo MARCA: 9 noticias + línea de tiempo */
.nine-news-section {
  padding: 0 0 74px;
  background: #ffffff;
}

.nine-news-container {
  max-width: 970px;
}

.nine-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 22px;
  align-items: start;
}

.nine-news-main,
.news-timeline {
  min-width: 0;
}

.nine-news-header,
.news-timeline-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.nine-news-header h2,
.news-timeline-header h2 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.055em;
}

.nine-news-header a,
.news-timeline-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.nine-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 13px;
}

.nine-news-card {
  min-width: 0;
  background: #f2f3f5;
  overflow: hidden;
  transition: background .2s ease;
}

.nine-news-card:hover {
  background: #eceef3;
}

.nine-news-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101827;
}

.nine-news-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.nine-news-card:hover .nine-news-media img {
  transform: scale(1.025);
}

.nine-news-body {
  padding: 10px 10px 12px;
}

.nine-news-body .news-kicker {
  font-size: 10px;
  letter-spacing: .18em;
}

.nine-news-body h3 {
  margin: 5px 0 10px;
  color: #111111;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.052em;
}

.nine-news-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.nine-news-body h3 a:hover,
.nine-news-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.news-timeline {
  border-top: 5px solid #eef0f4;
  padding-top: 12px;
}

.news-timeline-header {
  margin-bottom: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid #111111;
}

.news-timeline-header h2 {
  font-size: 18px;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.news-timeline-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}

.news-timeline-list::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 3px;
  width: 1px;
  background: #cf1515;
}

.news-timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 9px;
  padding: 0 0 15px;
}

.news-timeline-list li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -18px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #cf1515;
}

.news-timeline-list time {
  color: #d30000;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: .02em;
}

.news-timeline-list a {
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.015em;
}

.news-timeline-list a:hover,
.news-timeline-list a:focus-visible {
  color: #c40000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .nine-news-layout {
    grid-template-columns: 1fr;
  }

  .news-timeline {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nine-news-section {
    padding-bottom: 52px;
  }

  .nine-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nine-news-body h3 {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .nine-news-grid {
    grid-template-columns: 1fr;
  }

  .nine-news-body h3 {
    font-size: 21px;
  }

  .news-timeline-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}


/* v13: bloque editorial inferior estilo MARCA con banner vertical */
.editorial-news-section {
  padding: 0 0 80px;
  background: #ffffff;
}

.editorial-news-container {
  max-width: 970px;
}

.editorial-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.editorial-news-main,
.editorial-news-board {
  min-width: 0;
}

.editorial-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.editorial-news-header h2 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.editorial-news-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.editorial-news-board {
  display: grid;
  gap: 16px;
}

.editorial-news-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 3px solid #eef0f4;
}

.editorial-news-top-media,
.editorial-news-feature-media,
.editorial-news-item-media {
  display: block;
  overflow: hidden;
  background: #101827;
}

.editorial-news-top-media {
  aspect-ratio: 16 / 9;
}

.editorial-news-feature-media,
.editorial-news-item-media {
  aspect-ratio: 16 / 9;
}

.editorial-news-top-media img,
.editorial-news-feature-media img,
.editorial-news-item-media img,
.editorial-ad img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editorial-news-top-body {
  align-self: center;
  padding-right: 10px;
}

.editorial-news-top-body h3 {
  margin: 5px 0 12px;
  color: #111111;
  font-size: 28px;
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.058em;
}

.editorial-news-top-body h3 a,
.editorial-news-feature-body h3 a,
.editorial-news-item-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.editorial-news-top-body h3 a:hover,
.editorial-news-top-body h3 a:focus-visible,
.editorial-news-feature-body h3 a:hover,
.editorial-news-feature-body h3 a:focus-visible,
.editorial-news-item-body h3 a:hover,
.editorial-news-item-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.editorial-news-bottom {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1fr);
  gap: 16px;
}

.editorial-news-feature {
  min-width: 0;
  background: #f2f3f5;
}

.editorial-news-feature-body {
  padding: 10px 10px 12px;
}

.editorial-news-feature-body h3 {
  margin: 5px 0 12px;
  color: #111111;
  font-size: 23px;
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.editorial-news-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.editorial-news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 10px 10px 10px 12px;
  background: #f2f3f5;
}

.editorial-news-item-body {
  min-width: 0;
}

.editorial-news-item-body .news-kicker,
.editorial-news-feature-body .news-kicker,
.editorial-news-top-body .news-kicker {
  font-size: 10px;
  letter-spacing: .18em;
}

.editorial-news-item-body h3 {
  margin: 5px 0 9px;
  color: #111111;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -.052em;
}

.editorial-news-item-media {
  min-width: 132px;
}

.editorial-ad {
  align-self: start;
}

.editorial-ad .ad-label {
  display: block;
  margin-bottom: 4px;
  color: #777777;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.editorial-ad a {
  display: block;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.editorial-ad img {
  object-fit: cover;
}

@media (max-width: 980px) {
  .editorial-news-layout {
    grid-template-columns: 1fr;
  }

  .editorial-ad {
    display: none;
  }
}

@media (max-width: 760px) {
  .editorial-news-section {
    padding-bottom: 56px;
  }

  .editorial-news-top,
  .editorial-news-bottom {
    grid-template-columns: 1fr;
  }

  .editorial-news-top-body {
    padding: 0;
  }

  .editorial-news-top-body h3 {
    font-size: 28px;
  }

  .editorial-news-feature-body h3 {
    font-size: 23px;
  }
}

@media (max-width: 560px) {
  .editorial-news-item {
    grid-template-columns: 1fr;
  }

  .editorial-news-item-media {
    min-width: 0;
    order: -1;
  }

  .editorial-news-item-body h3 {
    font-size: 21px;
  }
}


/* v14: último bloque de 9 noticias + footer final */
.final-showcase-section {
  padding: 0 0 72px;
  background: #ffffff;
}

.final-showcase-container {
  max-width: 970px;
}

.final-showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #111111;
}

.final-showcase-header h2 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.final-showcase-header a {
  color: #006fd6;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.final-showcase-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 14px;
}

.final-showcase-card {
  min-width: 0;
  background: #f2f3f5;
  overflow: hidden;
  transition: background .2s ease;
}

.final-showcase-card:hover {
  background: #eceef3;
}

.final-showcase-card.is-hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.final-showcase-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101827;
}

.final-showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .24s ease;
}

.final-showcase-card:hover .final-showcase-media img {
  transform: scale(1.025);
}

.final-showcase-body {
  padding: 10px 10px 12px;
}

.final-showcase-body .news-kicker {
  font-size: 10px;
  letter-spacing: .18em;
}

.final-showcase-body h3 {
  margin: 5px 0 10px;
  color: #111111;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.03;
  letter-spacing: -.05em;
}

.final-showcase-card.is-hero .final-showcase-body h3 {
  font-size: 26px;
  line-height: 1.01;
  letter-spacing: -.058em;
}

.final-showcase-body h3 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  transition: background-size .2s ease, color .2s ease;
}

.final-showcase-body h3 a:hover,
.final-showcase-body h3 a:focus-visible {
  color: #c40000;
  background-size: 100% 2px;
}

.site-footer {
  margin-top: 0;
  background: #101820;
  color: #e9eef7;
}

.site-footer-top {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(155px, .8fr)) auto;
  gap: 32px;
  align-items: start;
  padding: 42px 0 34px;
}

.footer-brand img {
  width: min(210px, 100%);
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 360px;
  color: #cdd6e5;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h3,
.footer-social-wrap h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-brand a {
  color: #d6deea;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: #ffffff;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer-disclaimer {
  background: #101820;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-disclaimer-inner {
  padding: 30px 0 32px;
}

.footer-disclaimer-inner p {
  margin: 0 auto;
  max-width: 1220px;
  color: #f3f7ff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 980px) {
  .final-showcase-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-showcase-card.is-hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .final-showcase-section {
    padding-bottom: 54px;
  }

  .final-showcase-card.is-hero .final-showcase-body h3 {
    font-size: 24px;
  }

  .site-footer-inner {
    gap: 24px 18px;
    padding: 34px 0 28px;
  }

  .footer-disclaimer-inner p {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .final-showcase-board,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

  .final-showcase-body h3,
  .final-showcase-card.is-hero .final-showcase-body h3 {
    font-size: 22px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .footer-disclaimer-inner {
    padding: 24px 0 28px;
  }

  .footer-disclaimer-inner p {
    font-size: 14px;
    line-height: 1.6;
  }
}


/* v16: detalle de noticia estilo MARCA / portal deportivo */
.article-page {
  background: #ffffff;
}

.article-detail-main {
  background: #ffffff;
  padding-bottom: 0;
}

.article-top-ad {
  width: min(100% - 32px, 970px);
  margin: 28px auto 30px;
  text-align: center;
}

.article-top-ad span {
  display: block;
  margin-bottom: 4px;
  color: #777777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.article-top-ad a,
.article-top-ad img {
  display: block;
  width: 100%;
}

.article-top-ad img {
  height: auto;
  object-fit: cover;
}

.article-rail-shell {
  width: min(100% - 28px, 1320px);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: 160px minmax(0, 820px) 160px;
  gap: 26px;
  align-items: start;
  justify-content: center;
}

.article-side-ad {
  position: sticky;
  top: 88px;
}

.article-side-ad a,
.article-side-ad img {
  display: block;
}

.article-side-ad img {
  width: 160px;
  height: auto;
  max-height: 610px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.article-detail {
  min-width: 0;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #777777;
  font-size: 13px;
  font-weight: 700;
}

.article-breadcrumb a {
  color: #111111;
}

.article-breadcrumb a:hover,
.article-breadcrumb a:focus-visible {
  color: #c40000;
}

.article-hero {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e5ea;
}

.article-section-label {
  display: inline-block;
  margin-bottom: 9px;
  color: #c40000;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #111111;
  font-size: clamp(38px, 4.9vw, 60px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -.062em;
}

.article-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4f5862;
  font-size: 20px;
  line-height: 1.42;
  letter-spacing: -.025em;
}

.article-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: #222222;
  font-size: 12px;
  text-transform: uppercase;
}

.article-author-row div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.article-author-row strong {
  font-weight: 950;
}

.article-author-row span {
  color: #777777;
  font-weight: 700;
}

.article-content-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.article-share {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0a73c9;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.article-share a:hover,
.article-share a:focus-visible {
  transform: translateY(-2px);
  background: #0a73c9;
  color: #ffffff;
}

.article-share svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.article-body {
  min-width: 0;
  color: #222222;
}

.article-main-image {
  margin: 0 0 22px;
}

.article-main-image img {
  display: block;
  width: 100%;
  height: auto;
  background: #101820;
}

.article-main-image figcaption {
  margin-top: 7px;
  color: #777777;
  font-size: 12px;
  line-height: 1.35;
}

.article-body p {
  margin: 0 0 20px;
  color: #222222;
  font-size: 20px;
  line-height: 1.62;
  letter-spacing: -.025em;
}

.article-body .article-lead {
  font-size: 22px;
  line-height: 1.55;
}

.article-body h2 {
  margin: 30px 0 13px;
  color: #111111;
  font-size: 25px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.article-body ul {
  margin: 0 0 22px 20px;
  padding: 0;
  color: #222222;
  font-size: 19px;
  line-height: 1.6;
}

.article-body li + li {
  margin-top: 7px;
}

.article-related-inline {
  float: right;
  width: min(320px, 45%);
  margin: 4px 0 18px 24px;
  background: #f1f3f6;
}

.article-related-inline h2 {
  margin: 0;
  padding: 9px 14px;
  background: #c40000;
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0;
}

.article-related-links {
  display: grid;
}

.article-related-links a {
  padding: 12px 14px;
  color: #006fd6;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
  border-bottom: 1px solid #dde1e8;
}

.article-small-news {
  clear: both;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 4px solid #eef0f4;
}

.article-small-news header {
  margin-bottom: 12px;
  border-bottom: 2px solid #111111;
}

.article-small-news h2 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 22px;
  text-transform: none;
}

.article-small-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-small-grid article {
  background: #f2f3f5;
}

.article-small-grid a,
.article-small-grid img {
  display: block;
}

.article-small-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101820;
}

.article-small-grid span {
  display: block;
  padding: 10px 10px 0;
  color: #c40000;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.article-small-grid strong {
  display: block;
  padding: 5px 10px 13px;
  color: #111111;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.article-comments {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 4px solid #eef0f4;
}

.article-comments h2 {
  margin: 0 0 24px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.article-comment-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 0 0;
}

.article-comment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e7edf5;
  color: #bdc7d4;
}

.article-comment-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.article-comment-box strong {
  color: #c40000;
  font-size: 16px;
  font-weight: 950;
}

.article-comment-box button {
  width: min(100%, 620px);
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0072ce;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,114,206,.22);
  transition: background .2s ease, transform .2s ease;
}

.article-comment-box button:hover,
.article-comment-box button:focus-visible {
  background: #005eaa;
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .article-rail-shell {
    grid-template-columns: minmax(0, 820px) 160px;
  }

  .article-side-ad-left {
    display: none;
  }
}

@media (max-width: 980px) {
  .article-top-ad {
    margin-top: 20px;
  }

  .article-rail-shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 820px);
    margin-bottom: 52px;
  }

  .article-side-ad {
    display: none;
  }

  .article-content-wrap {
    grid-template-columns: 1fr;
  }

  .article-share {
    position: static;
    display: flex;
    gap: 8px;
    padding-top: 0;
    order: 2;
  }

  .article-body {
    order: 1;
  }

  .article-related-inline {
    float: none;
    width: 100%;
    margin: 10px 0 22px;
  }
}

@media (max-width: 680px) {
  .article-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }

  .article-hero h1 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .article-subtitle {
    font-size: 18px;
  }

  .article-author-row div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .article-body p,
  .article-body .article-lead {
    font-size: 18px;
    line-height: 1.58;
  }

  .article-body h2 {
    font-size: 23px;
  }

  .article-body ul {
    font-size: 17px;
  }

  .article-small-grid {
    grid-template-columns: 1fr;
  }

  .article-small-grid strong {
    font-size: 21px;
  }
}


/* WP v2: conservar estructura exacta del HTML original */
.admin-bar .site-header {
  top: 32px;
}

body {
  margin: 0;
}

.main-nav .nav-inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
}

.main-nav .nav-link {
  text-decoration: none;
}

.archive-main {
  padding: 42px 0 72px;
  background: #fff;
}

.article-comment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 620px);
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: #0072ce;
  color: #ffffff;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,114,206,.22);
  transition: background .2s ease, transform .2s ease;
}

.article-comment-button:hover,
.article-comment-button:focus-visible {
  background: #005eaa;
  color: #ffffff;
  transform: translateY(-1px);
}

.wp-comments {
  width: min(100%, 620px);
  margin: 28px auto 0;
}

.wp-comments .comment-form label {
  display: block;
  margin: 0 0 6px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.wp-comments textarea,
.wp-comments input[type="text"],
.wp-comments input[type="email"],
.wp-comments input[type="url"] {
  width: 100%;
  border: 1px solid #d9dee7;
  border-radius: 4px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
}

.wp-comments .submit {
  border: 0;
  border-radius: 4px;
  background: #0072ce;
  color: #fff;
  padding: 12px 18px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.single-post .article-side-ad img {
  width: 160px;
  height: auto;
  max-height: 601px;
  object-fit: cover;
}

@media (min-width: 1181px) {
  .single-post .article-rail-shell {
    width: min(100% - 40px, 1390px);
    grid-template-columns: 160px minmax(0, 820px) 160px;
    gap: 84px;
    justify-content: center;
    align-items: start;
    margin-top: 0;
  }

  .single-post .article-side-ad {
    position: sticky;
    top: 88px;
    margin-top: -30px;
    z-index: 1;
  }

  .single-post .article-side-ad-left {
    justify-self: end;
    transform: translateX(-8px);
  }

  .single-post .article-side-ad-right {
    justify-self: start;
    transform: translateX(8px);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 1180px) {
  .single-post .article-side-ad {
    margin-top: 0;
    transform: none;
  }
}


/* WP v6: iframes editables del home */
.home-score-iframe {
  width: 100%;
  background: #f2f4f7;
  border-top: 1px solid #dde1e8;
  border-bottom: 1px solid #dde1e8;
  display: flex;
  justify-content: center;
  padding: 0;
}

.home-score-iframe iframe {
  width: min(100%, 1180px);
  min-height: 84px;
  border: 0;
  display: block;
}

.sports-widget-iframe iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}


/* WP v7: refinamientos puntuales solicitados */
/* 1) Marcador superior sin fondo gris exterior: queda solo el widget. */
.scores-section {
  background: #ffffff;
  border-top: 0;
  border-bottom: 0;
}

.scores-wrap {
  background: transparent;
  border-left: 0;
  border-right: 0;
}

.home-score-iframe {
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

/* 2) Recomendados del detalle más compactos, estilo portal deportivo. */
.article-small-news {
  margin-top: 34px;
  padding-top: 18px;
}

.article-small-news header {
  margin-bottom: 12px;
}

.article-small-grid {
  grid-template-columns: repeat(3, minmax(0, 165px));
  gap: 18px;
  align-items: start;
}

.article-small-grid article {
  background: transparent;
}

.article-small-grid a {
  color: #111111;
}

.article-small-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-small-grid span {
  padding: 9px 0 0;
  font-size: 10px;
  letter-spacing: .14em;
}

.article-small-grid strong {
  padding: 5px 0 0;
  font-size: 14px;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.article-small-grid a:hover strong,
.article-small-grid a:focus-visible strong {
  color: #c40000;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .article-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .article-small-grid strong {
    font-size: 15px;
  }
}

@media (max-width: 440px) {
  .article-small-grid {
    grid-template-columns: 1fr;
  }
}


/* WP v8: ajuste final solicitado */
/* Recomendados del detalle: miniaturas forzadas a 174x116 px. */
.single-post .article-small-news {
  margin-top: 30px;
  padding-top: 16px;
}

.single-post .article-small-grid {
  display: grid;
  grid-template-columns: repeat(3, 174px) !important;
  gap: 18px !important;
  justify-content: start;
  align-items: start;
}

.single-post .article-small-grid article {
  width: 174px !important;
  max-width: 174px !important;
  background: transparent !important;
}

.single-post .article-small-grid a {
  width: 174px !important;
  max-width: 174px !important;
  display: block !important;
}

.single-post .article-small-grid img,
.single-post .article-small-grid .wp-post-image {
  width: 174px !important;
  min-width: 174px !important;
  max-width: 174px !important;
  height: 116px !important;
  min-height: 116px !important;
  max-height: 116px !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.single-post .article-small-grid span {
  width: 174px !important;
  max-width: 174px !important;
  padding: 8px 0 0 !important;
  font-size: 10px !important;
}

.single-post .article-small-grid strong {
  width: 174px !important;
  max-width: 174px !important;
  padding: 4px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.18 !important;
}

/* Marcador superior: sin fondo gris exterior ni líneas horizontales fuera del widget. */
.home .scores-section,
.front-page .scores-section,
.scores-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home .scores-section::before,
.home .scores-section::after,
.front-page .scores-section::before,
.front-page .scores-section::after,
.scores-section::before,
.scores-section::after {
  display: none !important;
  content: none !important;
}

.home .scores-wrap,
.front-page .scores-wrap,
.scores-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home .home-score-iframe,
.front-page .home-score-iframe,
.home-score-iframe {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.home .home-score-iframe iframe,
.front-page .home-score-iframe iframe,
.home-score-iframe iframe {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Evita que el contenedor del marcador pinte líneas laterales cuando hay iframe o widget estático. */
.home .scores-filter,
.front-page .scores-filter,
.home .scores-board,
.front-page .scores-board {
  box-shadow: none !important;
}

@media (max-width: 680px) {
  .single-post .article-small-grid {
    grid-template-columns: repeat(2, 174px) !important;
    gap: 16px !important;
  }
}

@media (max-width: 420px) {
  .single-post .article-small-grid {
    grid-template-columns: 174px !important;
  }
}
