/*
Theme Name: Yobasket Migrated
Version: 0.3.0
*/

:root {
  --yb-blue: #0b56b3;
  --yb-navy: #102f59;
  --yb-ink: #172033;
  --yb-muted: #667085;
  --yb-line: #dfe6ee;
  --yb-bg: #f5f7fa;
  --yb-panel: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--yb-bg);
  color: var(--yb-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--yb-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

header,
.site-header {
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

.header-inner,
.site-header .wrap {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

header img,
.custom-logo,
.site-logo img,
.brand-logo img {
  max-height: 48px;
  width: auto;
}

.menu,
.nav-menu,
.main-navigation {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.menu a,
.nav-menu a,
.main-navigation a {
  color: #111827;
  text-decoration: none;
}

.menu a:hover,
.nav-menu a:hover,
.main-navigation a:hover {
  color: var(--yb-blue);
}

/* Home */
.yb-home {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 34px;
}

.yb-home-feed {
  min-width: 0;
}

.yb-featured,
.yb-card,
.yb-ad,
.content-area,
.side-card {
  background: var(--yb-panel);
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
  overflow: hidden;
}

.yb-featured {
  margin-bottom: 28px;
}

.yb-featured-media,
.yb-card-media {
  display: block;
  background: #fff;
}

.yb-featured img,
.yb-card img,
.yb-ad img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.yb-featured img,
.yb-card img {
  object-fit: contain;
  background: #fff;
}

.yb-featured-body,
.yb-card-body {
  padding: 22px 24px 26px;
}

.yb-featured h1,
.yb-card h2 {
  margin: 0 0 10px;
  color: var(--yb-navy);
  line-height: 1.17;
  letter-spacing: 0;
}

.yb-featured h1 {
  font-size: 30px;
}

.yb-card h2 {
  font-size: 21px;
}

.yb-featured h1 a,
.yb-card h2 a {
  color: var(--yb-navy);
  text-decoration: none;
}

.yb-meta {
  margin-bottom: 14px;
  color: var(--yb-blue);
  font-size: 13px;
  font-weight: 700;
}

.yb-featured p,
.yb-card p {
  margin: 0;
  color: #253246;
  font-size: 15px;
  line-height: 1.7;
  white-space: normal;
  overflow-wrap: break-word;
}

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

.yb-card-media img {
  aspect-ratio: 16 / 9.4;
}

.yb-home-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.yb-ad {
  padding: 12px;
}

.yb-ad img {
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.yb-ad:first-child img {
  max-height: 430px;
}

.yb-ad:nth-child(n+2) img {
  max-height: 150px;
}

/* Single and pages */
.content-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 34px;
}

.single-grid .content-area,
.content-area {
  padding: 26px;
  min-width: 0;
}

.entry-title {
  margin: 0 0 14px;
  color: var(--yb-navy);
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

.entry-meta {
  margin-bottom: 18px;
  color: var(--yb-muted);
  font-size: 13px;
  font-weight: 700;
}

.single-hero,
.page-hero {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.entry-content {
  min-width: 0;
}

.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
  border-radius: 6px;
}

.entry-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  background: #fff;
  border: 1px solid var(--yb-line);
  font-size: 15px;
}

.entry-content td,
.entry-content th {
  border: 1px solid var(--yb-line);
  padding: 8px 10px;
  vertical-align: top;
}

.entry-content tr:nth-child(even) td {
  background: #fafbfe;
}

.entry-content iframe,
iframe {
  max-width: 100%;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
}

.side-rail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card {
  padding: 12px;
}

.side-card img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

/* Equipos LCS */
body.postid-100 .entry-content table,
body.postid-100 .entry-content tbody,
body.postid-100 .entry-content tr,
body.postid-100 .entry-content td {
  display: block;
  width: 100%;
}

body.postid-100 .entry-content tr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.postid-100 .entry-content td {
  border: 0;
  padding: 10px;
  text-align: center;
}

body.postid-100 .entry-content img {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 8px;
}

/* Forms */
.yobasket-draft-form,
.yobasket-form {
  max-width: 720px;
}

.yobasket-draft-form input,
.yobasket-draft-form textarea,
.yobasket-form input,
.yobasket-form textarea {
  width: 100%;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 980px) {
  .yb-home,
  .content-grid {
    width: min(760px, calc(100% - 24px));
    display: block;
  }

  .yb-home-aside,
  .side-rail {
    display: none;
  }

  .yb-card-grid {
    display: block;
  }

  .yb-card {
    margin-bottom: 24px;
  }
}

@media (max-width: 720px) {
  header,
  .site-header {
    overflow: hidden;
  }

  .menu,
  .nav-menu,
  .main-navigation {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .yb-home,
  .content-grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px 10px 36px;
  }

  .yb-featured,
  .yb-card,
  .content-area {
    width: 100%;
    max-width: 100%;
  }

  .yb-featured-body,
  .yb-card-body,
  .content-area {
    padding: 18px 16px 22px;
  }

  .yb-featured h1,
  .entry-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .yb-card h2 {
    font-size: 19px;
    line-height: 1.22;
  }

  .yb-featured p,
  .yb-card p,
  .entry-content {
    font-size: 15px;
    white-space: normal;
    overflow-wrap: break-word;
  }

  body.postid-100 .entry-content tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
  }
}

/* BEGIN YOBASKET HEADER MENU 2026 */
header,
.site-header {
  background: #fff;
  border-bottom: 1px solid #e7ebf0;
}

header {
  padding: 0;
}

header > .wrap,
header > .header-inner,
header > .site-header-inner,
.site-header > .wrap,
.site-header > .header-inner,
.site-header > .site-header-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header-inner,
.header-inner,
header .wrap,
header .site-branding,
header .main-navigation {
  min-width: 0;
}

header .site-branding,
header .brand-logo,
header .site-logo {
  display: flex;
  align-items: center;
}

header img,
.custom-logo,
.site-logo img,
.brand-logo img {
  display: block;
  max-height: 48px;
  width: auto;
}

header nav,
.main-navigation {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

header nav > ul,
header .menu,
header .nav-menu,
.main-navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .menu > li,
header .nav-menu > li,
.main-navigation > ul > li,
.main-navigation .menu > li {
  position: relative;
  margin: 0;
  padding: 18px 0;
}

header .menu a,
header .nav-menu a,
.main-navigation a {
  display: block;
  color: #111827;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

header .menu a:hover,
header .nav-menu a:hover,
.main-navigation a:hover {
  color: var(--yb-blue);
}

header .menu ul,
header .nav-menu ul,
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(18, 36, 64, 0.12);
}

header .menu li:hover > ul,
header .nav-menu li:hover > ul,
.main-navigation li:hover > ul {
  display: block;
}

header .menu ul li,
header .nav-menu ul li,
.main-navigation ul ul li {
  margin: 0;
  padding: 0;
}

header .menu ul a,
header .nav-menu ul a,
.main-navigation ul ul a {
  padding: 9px 10px;
  color: #172033;
}

header .menu ul ul,
header .nav-menu ul ul,
.main-navigation ul ul ul {
  top: 0;
  left: 100%;
}

@media (min-width: 721px) {
  header,
  .site-header {
    min-height: 58px;
  }

  header > .wrap,
  header > .header-inner,
  header > .site-header-inner,
  .site-header > .wrap,
  .site-header > .header-inner,
  .site-header > .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  header nav,
  .main-navigation {
    flex: 1;
  }
}

@media (max-width: 720px) {
  header,
  .site-header {
    padding: 8px 0 0;
  }

  header img,
  .custom-logo,
  .site-logo img,
  .brand-logo img {
    max-height: 42px;
    margin-left: 14px;
  }

  header nav,
  .main-navigation {
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid #edf0f4;
  }

  header nav > ul,
  header .menu,
  header .nav-menu,
  .main-navigation ul {
    justify-content: flex-start;
    gap: 22px;
    width: max-content;
    min-width: 100%;
    padding: 0 14px;
  }

  header .menu > li,
  header .nav-menu > li,
  .main-navigation > ul > li,
  .main-navigation .menu > li {
    padding: 13px 0;
  }

  header .menu a,
  header .nav-menu a,
  .main-navigation a {
    font-size: 14px;
  }

  header .menu ul,
  header .nav-menu ul,
  .main-navigation ul ul {
    display: none !important;
  }
}
/* END YOBASKET HEADER MENU 2026 */

/* BEGIN YOBASKET MOBILE MENU OVERFLOW FIX 2026 */
@media (max-width: 720px) {
  header,
  .site-header,
  header nav,
  .main-navigation {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  header nav > ul,
  header .menu,
  header .nav-menu,
  .main-navigation ul {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px 16px !important;
    padding: 10px 14px !important;
    overflow: hidden !important;
  }

  header .menu > li,
  header .nav-menu > li,
  .main-navigation > ul > li,
  .main-navigation .menu > li {
    padding: 2px 0 !important;
    flex: 0 0 auto !important;
  }

  header .menu a,
  header .nav-menu a,
  .main-navigation a {
    font-size: 13px !important;
  }

  .yb-home,
  .content-grid {
    clear: both;
  }
}
/* END YOBASKET MOBILE MENU OVERFLOW FIX 2026 */

/* BEGIN YOBASKET MOBILE TEXT FIT 2026 */
@media (max-width: 720px) {
  .yb-home {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .yb-featured,
  .yb-card {
    overflow: hidden !important;
  }

  .yb-featured-body,
  .yb-card-body {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .yb-featured h1,
  .yb-card h2,
  .yb-featured p,
  .yb-card p,
  .yb-meta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto;
  }

  .yb-featured h1 {
    font-size: 20px !important;
    line-height: 1.18 !important;
  }

  .yb-card h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .yb-featured p,
  .yb-card p {
    font-size: 14px !important;
    line-height: 1.62 !important;
  }

  .yb-featured img,
  .yb-card img {
    max-width: 100% !important;
    object-fit: contain !important;
  }
}
/* END YOBASKET MOBILE TEXT FIT 2026 */

/* BEGIN YOBASKET PRIMARY NAV MOBILE FIX 2026 */
.primary-nav,
.primary-nav * {
  box-sizing: border-box;
}

.primary-nav ul {
  list-style: none;
}

@media (min-width: 721px) {
  .primary-nav {
    flex: 1;
  }

  .primary-nav > div,
  .primary-nav > ul,
  .primary-nav ul.menu {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .site-header,
  .header-inner,
  .primary-nav,
  .primary-nav > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .header-inner {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .brand-logo {
    display: inline-flex !important;
    margin: 8px 14px 6px !important;
  }

  .brand-logo img {
    margin: 0 !important;
    max-height: 42px !important;
  }

  .primary-nav {
    margin: 0 !important;
    border-top: 1px solid #edf0f4;
  }

  .primary-nav ul,
  .primary-nav ul.menu {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    overflow: hidden !important;
  }

  .primary-nav li {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .primary-nav a {
    display: block !important;
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .primary-nav ul ul {
    display: none !important;
  }

  .site-shell,
  .yb-home {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .yb-featured h1,
  .yb-card h2,
  .yb-featured p,
  .yb-card p {
    overflow-wrap: anywhere !important;
  }
}
/* END YOBASKET PRIMARY NAV MOBILE FIX 2026 */

/* BEGIN YOBASKET MOBILE MENU GRID 2026 */
@media (max-width: 720px) {
  .primary-nav,
  .primary-nav > div,
  .primary-nav ul,
  .primary-nav ul.menu {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .primary-nav ul.menu,
  .primary-nav > ul,
  header .menu,
  header .nav-menu {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 10px !important;
    padding: 10px 12px !important;
  }

  .primary-nav li,
  header .menu > li,
  header .nav-menu > li {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .primary-nav a,
  header .menu a,
  header .nav-menu a {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: left !important;
  }

  .primary-nav ul ul,
  header .menu ul,
  header .nav-menu ul {
    display: none !important;
  }

  .yb-featured h1 {
    font-size: 19px !important;
    line-height: 1.18 !important;
  }

  .yb-featured-body,
  .yb-card-body {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
/* END YOBASKET MOBILE MENU GRID 2026 */

/* BEGIN YOBASKET MOBILE REAL WIDTH FIX 2026 */
@media (max-width: 720px) {
  html,
  body,
  .site-shell,
  .yb-home,
  .yb-home-feed,
  .yb-featured,
  .yb-card-grid,
  .yb-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: hidden !important;
  }

  .yb-home {
    display: block !important;
    padding: 14px 10px 36px !important;
    box-sizing: border-box !important;
  }

  .yb-featured,
  .yb-card {
    box-sizing: border-box !important;
  }

  .yb-featured-body,
  .yb-card-body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 18px 14px 22px !important;
  }

  .yb-featured h1,
  .yb-card h2,
  .yb-featured p,
  .yb-card p,
  .yb-meta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .yb-featured h1 {
    font-size: 19px !important;
    line-height: 1.2 !important;
  }

  .yb-card h2 {
    font-size: 18px !important;
    line-height: 1.22 !important;
  }

  .yb-featured p,
  .yb-card p {
    font-size: 14px !important;
    line-height: 1.58 !important;
  }

  .primary-nav ul.menu,
  .primary-nav > ul,
  header .menu,
  header .nav-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
  }

  .primary-nav a,
  header .menu a,
  header .nav-menu a {
    font-size: 12px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}
/* END YOBASKET MOBILE REAL WIDTH FIX 2026 */

/* BEGIN YOBASKET TABLE VISUAL POLISH 2026 */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 28px;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
}

.entry-content th,
.entry-content td {
  border: 0;
  border-bottom: 1px solid #e8edf3;
  padding: 12px 14px;
  vertical-align: middle;
  color: #172033;
}

.entry-content tr:last-child th,
.entry-content tr:last-child td {
  border-bottom: 0;
}

.entry-content th {
  background: #f3f6fa;
  color: #102f59;
  font-weight: 800;
  text-align: left;
}

.entry-content tr:nth-child(even) td {
  background: #fafbfe;
}

.entry-content table a {
  font-weight: 700;
}

/* Draft, titulos y tablas de palmares: aspecto mas limpio */
body.postid-441 .entry-content table,
body.postid-88 .entry-content table,
body.postid-87 .entry-content table {
  font-size: 15px;
}

body.postid-441 .entry-content td,
body.postid-88 .entry-content td,
body.postid-87 .entry-content td {
  line-height: 1.45;
}

body.postid-441 .entry-content tr:hover td,
body.postid-88 .entry-content tr:hover td,
body.postid-87 .entry-content tr:hover td {
  background: #f1f6fd;
}

/* Evita que tablas antiguas con anchos inline rompan el diseno */
.entry-content table,
.entry-content tbody,
.entry-content tr,
.entry-content td,
.entry-content th {
  max-width: 100%;
}

@media (max-width: 720px) {
  .entry-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }

  .entry-content th,
  .entry-content td {
    min-width: 120px;
    padding: 10px 12px;
    font-size: 14px;
  }

  body.postid-441 .entry-content table,
  body.postid-88 .entry-content table,
  body.postid-87 .entry-content table {
    box-shadow: none;
  }
}
/* END YOBASKET TABLE VISUAL POLISH 2026 */

/* BEGIN YOBASKET TABLES FULL WIDTH 2026 */
.entry-content {
  width: 100%;
  max-width: 100%;
}

.entry-content table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto;
}

.entry-content table[width],
.entry-content td[width],
.entry-content th[width] {
  width: auto;
}

.entry-content td,
.entry-content th {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Paginas donde la tabla/datos son el contenido principal */
body.postid-441 .content-grid,
body.postid-88 .content-grid,
body.postid-87 .content-grid,
body.postid-36 .content-grid,
body.postid-1794 .content-grid,
body.postid-825 .content-grid,
body.postid-124 .content-grid,
body.postid-792 .content-grid {
  width: min(1220px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr);
}

body.postid-441 .side-rail,
body.postid-88 .side-rail,
body.postid-87 .side-rail,
body.postid-36 .side-rail,
body.postid-1794 .side-rail,
body.postid-825 .side-rail,
body.postid-124 .side-rail,
body.postid-792 .side-rail {
  display: none !important;
}

body.postid-441 .content-area,
body.postid-88 .content-area,
body.postid-87 .content-area,
body.postid-36 .content-area,
body.postid-1794 .content-area,
body.postid-825 .content-area,
body.postid-124 .content-area,
body.postid-792 .content-area {
  width: 100%;
  max-width: 100%;
}

/* Tablas antiguas: mejor lectura sin aplastar el contenido */
body.postid-441 .entry-content table,
body.postid-88 .entry-content table,
body.postid-87 .entry-content table,
body.postid-36 .entry-content table,
body.postid-1794 .entry-content table,
body.postid-825 .entry-content table,
body.postid-124 .entry-content table,
body.postid-792 .entry-content table {
  font-size: 15px;
}

body.postid-441 .entry-content table img,
body.postid-88 .entry-content table img,
body.postid-87 .entry-content table img,
body.postid-36 .entry-content table img,
body.postid-1794 .entry-content table img,
body.postid-825 .entry-content table img,
body.postid-124 .entry-content table img,
body.postid-792 .entry-content table img {
  max-width: 100%;
  height: auto;
}

/* Posibles globos/cajas flotantes vacias heredadas */
body.postid-441 .entry-content div:empty,
body.postid-441 .entry-content span:empty {
  display: none !important;
}

body.postid-441 [style*="position: fixed"]:empty,
body.postid-441 [style*="position:absolute"]:empty,
body.postid-441 [style*="position: absolute"]:empty {
  display: none !important;
}

@media (max-width: 720px) {
  body.postid-441 .content-grid,
  body.postid-88 .content-grid,
  body.postid-87 .content-grid,
  body.postid-36 .content-grid,
  body.postid-1794 .content-grid,
  body.postid-825 .content-grid,
  body.postid-124 .content-grid,
  body.postid-792 .content-grid {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content td,
  .entry-content th {
    min-width: 110px;
  }
}
/* END YOBASKET TABLES FULL WIDTH 2026 */

/* BEGIN YOBASKET NESTED TABLES CLEANUP 2026 */
.entry-content table:has(table) {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 18px 0 26px !important;
}

.entry-content table:has(table) > tbody > tr > td,
.entry-content table:has(table) > tr > td {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.entry-content table table {
  width: 100% !important;
  margin: 0 !important;
  border: 1px solid #dfe6ee !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045) !important;
  overflow: hidden !important;
}

.entry-content table p:first-child {
  margin-top: 0;
}

.entry-content table p:last-child {
  margin-bottom: 0;
}

/* Tablas con imagen/cabecera antigua: que no generen bloques raros */
.entry-content table img {
  max-width: 100%;
  height: auto;
}

/* Draft: defensa contra popups/cajas flotantes vacias heredadas */
body.postid-441 .entry-content [class*="tooltip"]:empty,
body.postid-441 .entry-content [class*="popover"]:empty,
body.postid-441 .entry-content [class*="bubble"]:empty,
body.postid-441 [style*="position: fixed"]:empty,
body.postid-441 [style*="position:absolute"]:empty,
body.postid-441 [style*="position: absolute"]:empty {
  display: none !important;
}

/* Paginas de datos: algo mas de aire arriba y tabla protagonista */
body.postid-441 .entry-title,
body.postid-88 .entry-title,
body.postid-87 .entry-title,
body.postid-36 .entry-title,
body.postid-1794 .entry-title,
body.postid-825 .entry-title,
body.postid-124 .entry-title,
body.postid-792 .entry-title {
  margin-bottom: 10px;
}

body.postid-441 .entry-content,
body.postid-88 .entry-content,
body.postid-87 .entry-content,
body.postid-36 .entry-content,
body.postid-1794 .entry-content,
body.postid-825 .entry-content,
body.postid-124 .entry-content,
body.postid-792 .entry-content {
  margin-top: 22px;
}

@media (max-width: 720px) {
  .entry-content table:has(table) {
    display: block;
    overflow: visible;
  }

  .entry-content table:has(table) > tbody,
  .entry-content table:has(table) > tbody > tr,
  .entry-content table:has(table) > tbody > tr > td {
    display: block;
    width: 100%;
  }

  .entry-content table table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* END YOBASKET NESTED TABLES CLEANUP 2026 */

/* BEGIN YOBASKET PALMARES ACCORDIONS 2026 */
.yb-palmares-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 10px;
  background: #f5f7fa;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
}

.yb-palmares-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d8e1ec;
  border-radius: 6px;
  background: #fff;
  color: #102f59;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.yb-palmares-nav a:hover,
.yb-palmares-nav a.is-active {
  background: #102f59;
  border-color: #102f59;
  color: #fff;
}

.yb-palmares-archive-grid {
  grid-template-columns: minmax(0, 1fr);
  width: min(1220px, calc(100% - 32px));
}

.yb-palmares-archive-grid .content-area {
  width: 100%;
  max-width: 100%;
}

.yb-palmares-head .entry-title {
  margin-bottom: 16px;
}

.yb-palmares-accordion {
  display: grid;
  gap: 14px;
}

.yb-accordion-item {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

.yb-accordion-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 16px 18px;
  color: #102f59;
  font-weight: 900;
  list-style: none;
}

.yb-accordion-item summary::-webkit-details-marker {
  display: none;
}

.yb-accordion-item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef3f9;
  color: #102f59;
  font-size: 20px;
  line-height: 1;
}

.yb-accordion-item[open] summary {
  border-bottom: 1px solid #e8edf3;
  background: #f8fafc;
}

.yb-accordion-item[open] summary::after {
  content: "-";
  background: #102f59;
  color: #fff;
}

.yb-accordion-title {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.yb-accordion-meta {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.yb-accordion-body {
  padding: 18px;
}

.yb-accordion-body > *:first-child {
  margin-top: 0;
}

.yb-accordion-body > *:last-child {
  margin-bottom: 0;
}

.yb-accordion-body table {
  margin-top: 0;
}

@media (max-width: 720px) {
  .yb-palmares-archive-grid {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .yb-palmares-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
  }

  .yb-palmares-nav a {
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
    text-align: center;
  }

  .yb-accordion-item summary {
    align-items: flex-start;
    padding: 14px;
  }

  .yb-accordion-title {
    font-size: 15px;
  }

  .yb-accordion-meta {
    display: none;
  }

  .yb-accordion-body {
    padding: 14px;
  }
}
/* END YOBASKET PALMARES ACCORDIONS 2026 */

/* BEGIN YOBASKET SELECTION TABLES POLISH 2026 */
.yb-accordion-body table,
.yb-selection-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 12px 0 22px !important;
  background: #fff !important;
  border: 1px solid #dfe6ee !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045) !important;
}

.yb-accordion-body th,
.yb-accordion-body td,
.yb-selection-table th,
.yb-selection-table td {
  border: 0 !important;
  border-bottom: 1px solid #e8edf3 !important;
  padding: 12px 14px !important;
  color: #172033 !important;
  vertical-align: middle !important;
  line-height: 1.45 !important;
}

.yb-accordion-body tr:last-child td,
.yb-accordion-body tr:last-child th,
.yb-selection-table tr:last-child td,
.yb-selection-table tr:last-child th {
  border-bottom: 0 !important;
}

.yb-accordion-body th,
.yb-selection-table th {
  background: #f3f6fa !important;
  color: #102f59 !important;
  font-weight: 900 !important;
  text-align: left !important;
}

.yb-accordion-body thead th,
.yb-selection-table thead th {
  text-transform: none;
}

.yb-accordion-body thead tr:first-child th,
.yb-selection-table thead tr:first-child th {
  background: #102f59 !important;
  color: #fff !important;
  font-size: 16px !important;
}

.yb-accordion-body tr:nth-child(even) td,
.yb-selection-table tr:nth-child(even) td {
  background: #fafbfe !important;
}

.yb-accordion-body tr:hover td,
.yb-selection-table tr:hover td {
  background: #f1f6fd !important;
}

.yb-selection-photo {
  margin: 20px 0 0;
}

.yb-selection-photo img,
.yb-accordion-body .yb-selection-photo img {
  display: block;
  width: min(760px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.08);
}

@media (max-width: 720px) {
  .yb-accordion-body table,
  .yb-selection-table {
    display: block;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .yb-accordion-body th,
  .yb-accordion-body td,
  .yb-selection-table th,
  .yb-selection-table td {
    min-width: 140px;
    padding: 10px 12px !important;
    font-size: 14px !important;
  }

  .yb-accordion-body thead tr:first-child th,
  .yb-selection-table thead tr:first-child th {
    font-size: 14px !important;
  }
}
/* END YOBASKET SELECTION TABLES POLISH 2026 */

/* BEGIN YOBASKET PHOTOS GALLERY 2026 */
.yb-photo-albums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}

.yb-photo-album {
  display: block;
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.055);
  color: #102f59;
  text-decoration: none;
}

.yb-photo-album img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef3f9;
}

.yb-photo-album-title,
.yb-photo-album-count {
  display: block;
  padding-left: 14px;
  padding-right: 14px;
}

.yb-photo-album-title {
  padding-top: 13px;
  color: #102f59;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.yb-photo-album-count {
  padding-top: 5px;
  padding-bottom: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.yb-photo-back {
  margin: 0 0 18px;
}

.yb-photo-back a {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 6px;
  background: #102f59;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.yb-photo-gallery h2 {
  margin: 0 0 18px;
  color: #102f59;
  font-size: 26px;
}

.yb-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.yb-photo-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3f9;
}

.yb-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .18s ease;
}

.yb-photo-grid a:hover img {
  transform: scale(1.035);
}

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

  .yb-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .yb-photo-albums,
  .yb-photo-grid {
    grid-template-columns: 1fr;
  }
}
/* END YOBASKET PHOTOS GALLERY 2026 */

/* BEGIN YOBASKET PHOTOS VIDEO SUPPORT 2026 */
.yb-photo-video {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0b1220;
}

.yb-photo-video video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0b1220;
}

.yb-video-badge,
.yb-photo-album-video-cover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #102f59;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.yb-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 12px;
}

.yb-photo-album-video-cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  font-size: 18px;
}
/* END YOBASKET PHOTOS VIDEO SUPPORT 2026 */

/* BEGIN YOBASKET COMUNICADOS VISUAL 2026 */
.yb-comunicados-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.yb-comunicados-head {
  margin-bottom: 24px;
}

.yb-section-kicker {
  margin: 0 0 6px;
  color: #0b56b3;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.yb-comunicados-head h1 {
  margin: 0;
  color: #102f59;
  font-size: 34px;
  line-height: 1.12;
}

.yb-comunicados-list {
  display: grid;
  gap: 18px;
}

.yb-comunicado-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
}

.yb-comunicado-media {
  background: #eef3f9;
}

.yb-comunicado-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.yb-comunicado-detail {
  min-width: 0;
}

.yb-comunicado-detail summary {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.yb-comunicado-detail summary::-webkit-details-marker {
  display: none;
}

.yb-comunicado-date {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.yb-comunicado-title {
  color: #102f59;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.18;
}

.yb-comunicado-excerpt {
  color: #253246;
  font-size: 15px;
  line-height: 1.58;
}

.yb-comunicado-toggle {
  justify-self: start;
  margin-top: 5px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #102f59;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.yb-comunicado-detail[open] .yb-comunicado-toggle {
  background: #0b56b3;
}

.yb-comunicado-body {
  padding: 0 24px 24px;
  color: #172033;
}

.yb-comunicado-body img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 820px) {
  .yb-comunicado-card {
    grid-template-columns: 1fr;
  }

  .yb-comunicado-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .yb-comunicados-page {
    width: 100%;
    padding: 18px 10px 38px;
  }

  .yb-comunicados-head h1 {
    font-size: 27px;
  }

  .yb-comunicado-detail summary,
  .yb-comunicado-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .yb-comunicado-title {
    font-size: 20px;
  }
}
/* END YOBASKET COMUNICADOS VISUAL 2026 */

/* BEGIN YOBASKET TITULOS ACCORDION 2026 */
body.postid-88 .yb-accordion-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

body.postid-88 .yb-accordion-toolbar button {
  border: 1px solid #d7e2ef;
  border-radius: 6px;
  background: #fff;
  color: #102f59;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer;
}

body.postid-88 .yb-title-accordion {
  margin: 12px 0;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

body.postid-88 .yb-title-accordion summary {
  padding: 14px 16px;
  background: #f3f6fa;
  color: #102f59;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

body.postid-88 .yb-title-accordion[open] summary {
  border-bottom: 1px solid #dfe6ee;
}

body.postid-88 .yb-title-accordion table {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  body.postid-88 .yb-title-accordion summary {
    font-size: 16px;
    padding: 12px 14px;
  }
}
/* END YOBASKET TITULOS ACCORDION 2026 */

/* BEGIN YOBASKET DOWNLOAD CARDS 2026 */
.yb-download-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.yb-download-card {
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
}

.yb-download-card h2 {
  margin: 0 0 10px;
  color: #102f59;
  font-size: 22px;
}

.yb-download-button {
  display: inline-block;
  margin-top: 8px;
  border-radius: 6px;
  background: #102f59;
  color: #fff !important;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .yb-download-panel {
    grid-template-columns: 1fr;
  }
}
/* END YOBASKET DOWNLOAD CARDS 2026 */

/* BEGIN YOBASKET REGLAMENTOS INTEMPORAL 2026 */
body.postid-43 .entry-meta {
  display: none !important;
}

body.postid-43 .single-hero {
  margin-bottom: 24px;
}
/* END YOBASKET REGLAMENTOS INTEMPORAL 2026 */

/* BEGIN YOBASKET AWARDS VISUAL 2026 */
.yb-awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.yb-award-card,
.yb-award-stats {
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
}

.yb-award-card h2,
.yb-award-stats h2 {
  margin: 0 0 14px;
  color: #102f59;
  font-size: 20px;
}

.yb-award-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
  align-items: center;
  padding: 9px 0 14px;
  border-bottom: 1px solid #edf1f6;
}

.yb-award-row:last-child {
  border-bottom: 0;
}

.yb-award-row span,
.yb-award-row b {
  position: relative;
  z-index: 1;
}

.yb-award-row b {
  color: #102f59;
  text-align: right;
}

.yb-award-row i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 6px;
  border-radius: 999px;
  background: #e8eef6;
  overflow: hidden;
}

.yb-award-row i::after {
  content: "";
  display: block;
  width: calc(var(--p) * 1%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b56b3, #d2a72e);
}

.yb-award-stats {
  margin: 24px 0;
}

.yb-award-stats div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #edf1f6;
}

.yb-award-stats strong {
  color: #102f59;
}

@media (max-width: 720px) {
  .yb-awards-grid {
    grid-template-columns: 1fr;
  }

  .yb-award-stats div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
/* END YOBASKET AWARDS VISUAL 2026 */

/* BEGIN YOBASKET LEGACY AWARDS IMAGES 2026 */
.yb-awards-legacy-note {
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #f6f8fb;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  color: #344154;
  font-size: 15px;
}

.yb-awards-legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.yb-award-image-card {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

.yb-award-image-card h3 {
  margin: 0;
  padding: 14px 16px;
  color: #102f59;
  font-size: 18px;
  line-height: 1.22;
  border-bottom: 1px solid #e8edf3;
  background: #f8fafc;
}

.yb-award-image-card figure {
  margin: 0;
  padding: 16px;
  background: #fff;
}

.yb-award-image-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid #edf0f4;
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 720px) {
  .yb-awards-legacy-grid {
    grid-template-columns: 1fr;
  }

  .yb-award-image-card h3 {
    font-size: 17px;
  }

  .yb-award-image-card figure {
    padding: 12px;
  }
}
/* END YOBASKET LEGACY AWARDS IMAGES 2026 */

/* BEGIN YOBASKET EQUIPOS ORGANIZADOS 2026 */
.yb-teams-page {
  display: grid;
  gap: 30px;
}

.yb-teams-intro {
  margin: 0;
  color: #344154;
  font-size: 15px;
}

.yb-teams-section {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

.yb-teams-section h2 {
  margin: 0;
  padding: 18px 20px;
  color: #102f59;
  font-size: 22px;
  line-height: 1.2;
  border-bottom: 1px solid #e8edf3;
  background: #f8fafc;
}

.yb-teams-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.yb-teams-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}

.yb-teams-table th,
.yb-teams-table td {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #e8edf3;
  vertical-align: middle;
}

.yb-teams-table th {
  background: #f3f6fa;
  color: #102f59;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.yb-teams-table tr:last-child td {
  border-bottom: 0;
}

.yb-teams-table tr:hover td {
  background: #f6f9fd;
}

.yb-team-logo-cell {
  width: 92px;
}

.yb-team-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0;
  border-radius: 6px;
  background: #fff;
}

.yb-team-name {
  color: #172033;
  font-weight: 800;
}

.yb-team-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  background: #eaf3ff;
  color: #0b56b3;
}

.yb-team-status.is-old {
  background: #f1f3f5;
  color: #667085;
}

.yb-teams-empty {
  padding: 18px 20px;
  color: #667085;
}

@media (max-width: 720px) {
  .yb-teams-section h2 {
    font-size: 19px;
    padding: 16px;
  }

  .yb-teams-table th,
  .yb-teams-table td {
    padding: 11px 12px;
  }

  .yb-team-logo-cell {
    width: 72px;
  }

  .yb-team-logo {
    width: 52px;
    height: 52px;
  }
}
/* END YOBASKET EQUIPOS ORGANIZADOS 2026 */

/* BEGIN YOBASKET EQUIPOS CORRECT 2026 */
.yb-equipos-page {
  display: grid;
  gap: 30px;
}

.yb-equipos-section {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

.yb-equipos-section > h2 {
  margin: 0;
  padding: 18px 20px;
  color: #102f59;
  background: #f8fafc;
  border-bottom: 1px solid #e8edf3;
  font-size: 23px;
  line-height: 1.2;
}

.yb-equipos-list {
  display: grid;
  gap: 0;
}

.yb-equipo-card {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  border-bottom: 1px solid #edf0f4;
}

.yb-equipo-card:last-child {
  border-bottom: 0;
}

.yb-equipo-head {
  padding: 18px 18px 18px 20px;
  background: #fbfcfe;
  border-right: 1px solid #edf0f4;
}

.yb-equipo-name {
  margin: 0 0 10px;
  color: #102f59;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0;
}

.yb-equipo-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eaf3ff;
  color: #0b56b3;
  font-size: 12px;
  font-weight: 800;
}

.yb-equipo-badge.is-old {
  background: #f1f3f5;
  color: #667085;
}

.yb-equipo-history {
  padding: 18px 20px;
  color: #253246;
  font-size: 15px;
  line-height: 1.65;
}

.yb-equipo-history p {
  margin: 0;
}

.yb-equipo-history .yb-stat-line {
  display: block;
  padding: 3px 0;
}

@media (max-width: 720px) {
  .yb-equipo-card {
    display: block;
  }

  .yb-equipo-head {
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .yb-equipos-section > h2 {
    font-size: 20px;
    padding: 16px;
  }

  .yb-equipo-history {
    padding: 16px;
    font-size: 14px;
  }
}
/* END YOBASKET EQUIPOS CORRECT 2026 */

/* BEGIN YOBASKET FRONT FOOTER 2026 */
.yb-front,
.yb-front * {
  box-sizing: border-box;
}

.yb-front {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
  display: grid;
  gap: 34px;
}

.yb-front-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: stretch;
}

.yb-front-feature,
.yb-front-panel,
.yb-front-card,
.yb-front-memory,
.yb-site-footer {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 36, 64, 0.045);
  overflow: hidden;
}

.yb-front-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.yb-front-feature-media {
  display: block;
  background: #f8fafc;
}

.yb-front-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.yb-front-feature-body {
  padding: 32px 30px;
  align-self: center;
}

.yb-front-kicker,
.yb-front-card-body span {
  display: block;
  margin-bottom: 10px;
  color: #0b56b3;
  font-size: 13px;
  font-weight: 800;
}

.yb-front-feature h1,
.yb-front-section h2,
.yb-front-card h3 {
  margin: 0;
  color: #102f59;
  letter-spacing: 0;
}

.yb-front-feature h1 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.08;
}

.yb-front-feature h1 a,
.yb-front-card h3 a {
  color: inherit;
  text-decoration: none;
}

.yb-front-feature p,
.yb-front-card p {
  margin: 0;
  color: #253246;
  font-size: 15px;
  line-height: 1.7;
}

.yb-front-panel {
  padding: 24px;
  background: #102f59;
  color: #fff;
}

.yb-front-panel h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
}

.yb-front-actions {
  display: grid;
  gap: 10px;
}

.yb-front-actions a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.yb-front-actions a:hover {
  background: rgba(255,255,255,0.18);
}

.yb-front-section {
  display: grid;
  gap: 18px;
}

.yb-front-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.yb-front-section-head h2 {
  font-size: 25px;
}

.yb-front-section-head a {
  font-weight: 800;
}

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

.yb-front-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yb-front-card-media {
  display: block;
  background: #f8fafc;
}

.yb-front-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
}

.yb-front-card-body {
  padding: 18px;
}

.yb-front-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.18;
}

.yb-front-memory {
  padding: 24px;
}

.yb-front-memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.yb-front-memory-grid a {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  color: #102f59;
  text-decoration: none;
  background: #f8fafc;
}

.yb-front-memory-grid strong {
  font-size: 18px;
}

.yb-front-memory-grid span {
  color: #667085;
  font-size: 13px;
}

.yb-site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.yb-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr);
  gap: 38px;
  padding: 34px 28px;
}

.yb-footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.yb-footer-brand p {
  margin: 0;
  color: #4b5563;
}

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

.yb-footer-nav h2 {
  margin: 0 0 12px;
  color: #102f59;
  font-size: 16px;
}

.yb-footer-nav a {
  display: block;
  margin: 7px 0;
  color: #334155;
  text-decoration: none;
  font-weight: 700;
}

.yb-footer-nav a:hover {
  color: #0b56b3;
}

.yb-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  border-top: 1px solid #e8edf3;
  color: #667085;
  font-size: 13px;
}

@media (max-width: 980px) {
  .yb-front-hero,
  .yb-front-feature,
  .yb-footer-inner {
    grid-template-columns: 1fr;
  }

  .yb-front-card-grid,
  .yb-front-card-grid--four,
  .yb-front-memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .yb-front,
  .yb-site-footer {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .yb-front {
    padding-top: 18px;
  }

  .yb-front-feature-body,
  .yb-front-panel,
  .yb-front-memory,
  .yb-footer-inner {
    padding: 20px 16px;
  }

  .yb-front-feature h1 {
    font-size: 25px;
  }

  .yb-front-card-grid,
  .yb-front-card-grid--four,
  .yb-front-memory-grid,
  .yb-footer-nav {
    grid-template-columns: 1fr;
  }

  .yb-front-feature-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .yb-footer-bottom {
    display: grid;
    padding: 14px 16px;
  }
}
/* END YOBASKET FRONT FOOTER 2026 */
/* BEGIN YOBASKET FRONT IMAGES SYSTEM 2026 */
.yb-front-v2 .yb-front-feature--fixed {
  min-height: 430px;
}

.yb-front-v2 .yb-front-feature-media img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.yb-front-v2 .yb-front-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.yb-front-v2 .yb-front-hero-links a,
.yb-front-v2 .yb-front-feature-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 6px;
  background: #102f59;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.yb-front-v2 .yb-front-feature-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.yb-front-v2 .yb-front-feature-strip article {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
}

.yb-front-v2 .yb-front-feature-strip img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.yb-front-v2 .yb-front-feature-strip div {
  padding: 24px;
}

.yb-front-v2 .yb-front-feature-strip span,
.yb-front-v2 .yb-front-kicker {
  color: var(--yb-blue);
  font-size: 13px;
  font-weight: 800;
}

.yb-front-v2 .yb-front-feature-strip h2 {
  margin: 8px 0 10px;
  color: var(--yb-navy);
  font-size: 25px;
  line-height: 1.15;
}

.yb-front-v2 .yb-front-feature-strip p {
  margin: 0 0 18px;
  color: #253246;
}

.yb-front-v2 .yb-front-memory--image {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
}

.yb-front-v2 .yb-front-memory--image > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.yb-front-v2 .yb-front-memory--image > div {
  padding: 28px 28px 28px 0;
}

@media (max-width: 900px) {
  .yb-front-v2 .yb-front-feature-strip,
  .yb-front-v2 .yb-front-memory--image {
    grid-template-columns: 1fr;
  }

  .yb-front-v2 .yb-front-memory--image > div {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .yb-front-v2 .yb-front-feature-media img {
    min-height: 280px;
  }

  .yb-front-v2 .yb-front-feature-strip article {
    grid-template-columns: 1fr;
  }

  .yb-front-v2 .yb-front-feature-strip img {
    min-height: 210px;
  }
}
/* END YOBASKET FRONT IMAGES SYSTEM 2026 */

/* BEGIN YOBASKET FRONT VISUAL REFINE 2026 */
.yb-front-v2 {
  padding-top: 28px;
}

.yb-front-v2 .yb-front-hero {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
}

.yb-front-v2 .yb-front-feature--fixed {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, 0.82fr);
  min-height: 420px;
}

.yb-front-v2 .yb-front-feature-media {
  position: relative;
  overflow: hidden;
}

.yb-front-v2 .yb-front-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 42, 0.16), rgba(6, 20, 42, 0));
  pointer-events: none;
}

.yb-front-v2 .yb-front-feature-media img {
  min-height: 420px;
}

.yb-front-v2 .yb-front-feature-body {
  align-self: center;
  padding: 36px 34px;
}

.yb-front-v2 .yb-front-feature-body h1 {
  margin-top: 8px;
  font-size: 38px;
  line-height: 1.05;
}

.yb-front-v2 .yb-front-feature-body p {
  max-width: 390px;
  font-size: 16px;
  line-height: 1.68;
}

.yb-front-v2 .yb-front-hero-links {
  gap: 11px;
}

.yb-front-v2 .yb-front-hero-links a,
.yb-front-v2 .yb-front-feature-strip a {
  min-height: 38px;
  padding: 10px 16px;
  border-radius: 7px;
  box-shadow: 0 8px 16px rgba(16, 47, 89, 0.14);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.yb-front-v2 .yb-front-hero-links a:hover,
.yb-front-v2 .yb-front-feature-strip a:hover,
.yb-front-v2 .yb-front-actions a:hover {
  background: #0b56b3;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(16, 47, 89, 0.18);
}

.yb-front-v2 .yb-front-panel {
  padding: 24px;
  border-radius: 8px;
  background: #103764;
  box-shadow: 0 16px 34px rgba(16, 47, 89, 0.16);
}

.yb-front-v2 .yb-front-panel h2 {
  margin-bottom: 18px;
  font-size: 23px;
}

.yb-front-v2 .yb-front-actions {
  gap: 10px;
}

.yb-front-v2 .yb-front-actions a {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.16s ease, background 0.16s ease;
}

.yb-front-v2 .yb-front-section {
  margin-top: 34px;
}

.yb-front-v2 .yb-front-section-head {
  margin-bottom: 18px;
}

.yb-front-v2 .yb-front-section-head h2 {
  font-size: 26px;
  line-height: 1.15;
}

.yb-front-v2 .yb-front-card {
  border-radius: 8px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.yb-front-v2 .yb-front-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 36, 64, 0.1);
}

.yb-front-v2 .yb-front-card-media {
  position: relative;
}

.yb-front-v2 .yb-front-card-media img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.yb-front-v2 .yb-front-card-body {
  padding: 18px 18px 20px;
}

.yb-front-v2 .yb-front-card-body span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eef5ff;
  color: #0b56b3;
  font-size: 12px;
  font-weight: 850;
}

.yb-front-v2 .yb-front-card-body h3 {
  font-size: 18px;
  line-height: 1.18;
}

.yb-front-v2 .yb-front-feature-strip {
  align-items: stretch;
}

.yb-front-v2 .yb-front-feature-strip article {
  min-height: 245px;
}

.yb-front-v2 .yb-front-feature-strip img {
  min-height: 245px;
}

.yb-front-v2 .yb-front-feature-strip div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yb-front-v2 .yb-front-feature-strip a {
  align-self: flex-start;
  margin-top: auto;
}

.yb-front-v2 .yb-front-memory--image {
  grid-template-columns: 300px minmax(0, 1fr);
  margin-bottom: 16px;
}

.yb-front-v2 .yb-front-memory--image > div {
  padding: 30px 30px 30px 0;
}

.yb-front-v2 .yb-front-memory-grid {
  gap: 14px;
}

.yb-front-v2 .yb-front-memory-grid a {
  min-height: 92px;
  padding: 17px;
  border-radius: 8px;
  background: #f8fbff;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.yb-front-v2 .yb-front-memory-grid a:hover {
  transform: translateY(-1px);
  border-color: #b8cbe4;
  background: #fff;
}

.yb-front-v2 .yb-front-memory-grid strong {
  font-size: 16px;
}

.yb-front-v2 .yb-front-memory-grid span {
  margin-top: 7px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .yb-front-v2 .yb-front-hero {
    grid-template-columns: 1fr;
  }

  .yb-front-v2 .yb-front-panel {
    display: block;
  }
}

@media (max-width: 760px) {
  .yb-front-v2 {
    padding-top: 14px;
  }

  .yb-front-v2 .yb-front-feature--fixed {
    display: block;
    min-height: 0;
  }

  .yb-front-v2 .yb-front-feature-media img {
    min-height: 260px;
  }

  .yb-front-v2 .yb-front-feature-body {
    padding: 24px 20px;
  }

  .yb-front-v2 .yb-front-feature-body h1 {
    font-size: 30px;
  }

  .yb-front-v2 .yb-front-hero-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yb-front-v2 .yb-front-hero-links a {
    width: 100%;
  }

  .yb-front-v2 .yb-front-panel {
    padding: 20px;
  }

  .yb-front-v2 .yb-front-feature-strip article {
    min-height: 0;
  }

  .yb-front-v2 .yb-front-memory--image > div {
    padding: 22px;
  }
}
/* END YOBASKET FRONT VISUAL REFINE 2026 */

/* BEGIN YOBASKET VIAL MASTERS NATIVE 2026 */
.yb-front-v2 .yb-front-vial-card {
  position: relative;
  border-color: #c9d8ea;
}

.yb-front-v2 .yb-front-vial-card .yb-front-card-body span {
  background: #fff4d6;
  color: #7a5200;
}

.yb-front-v2 .yb-front-vial-card h3 a {
  color: #102f59;
}

.yb-front-v2 .yb-front-vial-card p {
  margin: 8px 0 0;
  color: #36465c;
  font-size: 14px;
  line-height: 1.45;
}

.yb-front-v2 .yb-front-sponsor-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 36, 64, 0.07);
}

.yb-front-v2 .yb-front-sponsor-band img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.yb-front-v2 .yb-front-sponsor-band > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 34px;
}

.yb-front-v2 .yb-front-sponsor-band span {
  color: #7a5200;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.yb-front-v2 .yb-front-sponsor-band h2 {
  margin: 8px 0 10px;
  color: #102f59;
  font-size: 30px;
  line-height: 1.1;
}

.yb-front-v2 .yb-front-sponsor-band p {
  max-width: 430px;
  margin: 0 0 20px;
  color: #253246;
  font-size: 16px;
  line-height: 1.62;
}

.yb-front-v2 .yb-front-sponsor-band a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 7px;
  background: #102f59;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(16, 47, 89, 0.14);
}

.yb-front-v2 .yb-front-sponsor-band a:hover {
  background: #0b56b3;
}

@media (max-width: 760px) {
  .yb-front-v2 .yb-front-sponsor-band {
    grid-template-columns: 1fr;
  }

  .yb-front-v2 .yb-front-sponsor-band img {
    min-height: 210px;
  }

  .yb-front-v2 .yb-front-sponsor-band > div {
    padding: 24px 20px;
  }
}
/* END YOBASKET VIAL MASTERS NATIVE 2026 */

/* BEGIN YOBASKET HEADER LOGO 3D 2026 */
.site-header,
header.site-header,
header {
  overflow: visible !important;
  position: relative;
  z-index: 20;
}

.header-inner,
.site-header .header-inner {
  overflow: visible !important;
  min-height: 56px;
}

.brand-logo {
  position: relative;
  z-index: 30;
  display: inline-flex !important;
  align-items: center;
  margin-top: -14px;
  margin-bottom: -18px;
  transform: translateY(4px);
}

.brand-logo img,
.site-logo img,
.custom-logo,
header .brand-logo img {
  max-height: 78px !important;
  width: auto !important;
  filter: drop-shadow(0 12px 12px rgba(16, 47, 89, 0.24));
}

@media (max-width: 720px) {
  .header-inner,
  .site-header .header-inner {
    min-height: 52px;
  }

  .brand-logo {
    margin-top: -8px !important;
    margin-bottom: -10px !important;
    margin-left: 12px !important;
    transform: translateY(2px);
  }

  .brand-logo img,
  .site-logo img,
  .custom-logo,
  header .brand-logo img {
    max-height: 58px !important;
  }
}
/* END YOBASKET HEADER LOGO 3D 2026 */

/* BEGIN YOBASKET HEADER LOGO LOWER 2026 */
.brand-logo {
  margin-top: -6px !important;
  margin-bottom: -22px !important;
  transform: translateY(10px) !important;
}

@media (max-width: 720px) {
  .brand-logo {
    margin-top: -2px !important;
    margin-bottom: -12px !important;
    transform: translateY(6px) !important;
  }
}
/* END YOBASKET HEADER LOGO LOWER 2026 */

/* BEGIN YOBASKET STATS VISUAL 2026 */
.yb-stats-page {
  display: grid;
  gap: 26px;
}

.yb-stats-intro {
  max-width: 780px;
  color: #253246;
  font-size: 16px;
  line-height: 1.7;
}

.yb-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.yb-stat-card {
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
  overflow: hidden;
}

.yb-stat-card header {
  padding: 18px 20px;
  background: #102f59;
  color: #fff;
  border: 0;
}

.yb-stat-card h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}

.yb-stat-leader {
  padding: 18px 20px 4px;
}

.yb-stat-leader strong {
  display: block;
  color: #102f59;
  font-size: 18px;
  line-height: 1.25;
}

.yb-stat-leader span {
  color: #667085;
  font-weight: 700;
}

.yb-stat-list {
  display: grid;
  gap: 10px;
  padding: 14px 20px 20px;
}

.yb-stat-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 56px 56px 56px;
  gap: 10px;
  align-items: center;
  color: #172033;
  font-size: 14px;
}

.yb-stat-rank {
  color: #667085;
  font-weight: 800;
}

.yb-stat-name {
  min-width: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.yb-stat-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.yb-stat-bar {
  grid-column: 2 / -1;
  height: 8px;
  overflow: hidden;
  background: #eef2f7;
  border-radius: 999px;
}

.yb-stat-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #0b56b3, #d62839);
  border-radius: inherit;
}

.yb-stat-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.yb-stat-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 0;
  box-shadow: none;
  border: 0;
}

.yb-stat-table th,
.yb-stat-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e8edf3;
  vertical-align: middle;
}

.yb-stat-table th {
  background: #f3f6fa;
  color: #102f59;
  font-size: 13px;
  text-align: left;
}

.yb-stat-table td:nth-child(1),
.yb-stat-table td:nth-child(3),
.yb-stat-table td:nth-child(4),
.yb-stat-table td:nth-child(5),
.yb-stat-table th:nth-child(1),
.yb-stat-table th:nth-child(3),
.yb-stat-table th:nth-child(4),
.yb-stat-table th:nth-child(5) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .yb-stats-grid {
    grid-template-columns: 1fr;
  }

  .yb-stat-row {
    grid-template-columns: 28px minmax(0, 1fr) 48px 48px 48px;
  }
}
/* END YOBASKET STATS VISUAL 2026 */

/* BEGIN YOBASKET STATS INDEX 2026 */
.yb-stats-index {
  display: grid;
  gap: 24px;
}

.yb-stats-index-intro {
  max-width: 780px;
  color: #253246;
  font-size: 16px;
  line-height: 1.7;
}

.yb-stats-season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.yb-stats-season-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 36, 64, 0.055);
  text-decoration: none;
}

.yb-stats-season-card:hover {
  border-color: #9db7d8;
  transform: translateY(-1px);
}

.yb-stats-season-card strong {
  color: #102f59;
  font-size: 20px;
  line-height: 1.2;
}

.yb-stats-season-card span {
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.yb-stats-season-card em {
  color: #0b56b3;
  font-style: normal;
  font-weight: 800;
}

@media (max-width: 720px) {
  .yb-stats-season-grid {
    grid-template-columns: 1fr;
  }
}
/* END YOBASKET STATS INDEX 2026 */

/* BEGIN YOBASKET DRAFT FLOATING BUBBLE FIX 2026 */
body.postid-441 .tooltip,
body.postid-441 .ui-tooltip,
body.postid-441 .qtip,
body.postid-441 #cluetip,
body.postid-441 [role="tooltip"],
body.postid-441 [class*="tooltip"],
body.postid-441 [id*="tooltip"],
body.postid-441 [class*="popover"],
body.postid-441 [id*="popover"],
body.postid-441 [class*="bubble"],
body.postid-441 [id*="bubble"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* END YOBASKET DRAFT FLOATING BUBBLE FIX 2026 */

/* BEGIN YOBASKET CROSS PROJECTS 2026 */
.yb-project-page{display:grid;gap:20px}
.yb-project-lead{max-width:820px;margin:0;color:#253246;font-size:18px;line-height:1.7}
.yb-project-kicker{margin:0;color:#0b56b3;font-size:13px;font-weight:800;text-transform:uppercase}
.yb-project-panel{padding:22px 24px;background:#fff;border:1px solid #dfe6ee;border-radius:8px}
.yb-project-panel h2{margin:0 0 10px;color:#102f59;font-size:21px}
.yb-project-button{display:inline-flex;padding:10px 16px;color:#fff!important;background:#123b73;border-radius:6px;font-weight:800;text-decoration:none}
.yb-project-button-accent{color:#102f59!important;background:#f0c84b}
.yb-sponsor-highlight{color:#fff;background:#102f59;border-color:#102f59}
.yb-sponsor-highlight h2{color:#fff}
.yb-project-disclosure,.yb-project-source{margin:0;color:#667085;font-size:13px}
.yb-reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.yb-front-community{display:block;padding:24px}
.yb-front-community .yb-front-section-head{margin-bottom:18px}
.yb-front-community .yb-front-section-head span{color:#0b56b3;font-size:12px;font-weight:800;text-transform:uppercase}
.yb-front-community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.yb-front-community-grid>a{display:grid;gap:7px;padding:18px;color:#172033;background:#f7f9fc;border:1px solid #dfe6ee;border-radius:7px;text-decoration:none}
.yb-front-community-grid strong{color:#102f59;font-size:18px}
.yb-front-community-grid span{color:#526074;line-height:1.5}
.yb-front-community-grid em{color:#0b56b3;font-style:normal;font-weight:800}
@media(max-width:720px){.yb-reading-grid,.yb-front-community-grid{grid-template-columns:1fr}.yb-project-panel,.yb-front-community{padding:18px 16px}}
/* END YOBASKET CROSS PROJECTS 2026 */

/* BEGIN YOBASKET PROJECT FOOTER GRID 2026 */
.yb-footer-nav {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .yb-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* END YOBASKET PROJECT FOOTER GRID 2026 */

/* BEGIN YOBASKET PROJECT ATTRIBUTION 2026 */
.yb-project-attribution {
  margin: 0;
  padding: 16px 18px;
  color: #253246;
  background: #f3f6fa;
  border-left: 4px solid #0b56b3;
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}
/* END YOBASKET PROJECT ATTRIBUTION 2026 */
/* BEGIN YOBASKET LEGAL PAGES 2026 */
.yb-legal-page{display:grid;gap:8px;max-width:900px}
.yb-legal-page h2{margin:24px 0 4px;color:#102f59;font-size:21px}
.yb-legal-page p,.yb-legal-page li{color:#253246;line-height:1.7}
.yb-legal-page ul{margin:4px 0 10px;padding-left:22px}
.yb-legal-updated{color:#667085!important;font-size:14px}
.yb-footer-legal{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin-top:24px;padding:18px 16px;border-top:1px solid rgba(255,255,255,.18)}
.yb-footer-legal a{color:inherit;font-size:13px;font-weight:700}
@media(max-width:720px){.yb-footer-legal{justify-content:flex-start}}
/* END YOBASKET LEGAL PAGES 2026 */

/* ============================================================
   YOBASKET FIX GALERIAS BLOQUES GRISES
   Hace que miniaturas, enlaces y vídeos rellenen la tarjeta.
   Evita huecos grises visibles en las galerías migradas.
   ============================================================ */

.yb-photo-grid .yb-photo-item {
  position: relative;
  overflow: hidden;
  background: #eaf0f7;
  border-radius: 8px;
}

.yb-photo-grid .yb-photo-item-link,
.yb-photo-grid .yb-photo-item a {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  line-height: 0;
}

.yb-photo-grid .yb-photo-item img,
.yb-photo-grid .yb-photo-item video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.yb-photo-grid .yb-photo-item video {
  background: #050b14;
}

.yb-photo-grid .yb-photo-item video + .yb-photo-video-label,
.yb-photo-grid .yb-photo-item .yb-photo-video-label {
  z-index: 2;
}

/* En navegadores modernos, si una tarjeta queda sin imagen ni vídeo, se oculta. */
.yb-photo-grid .yb-photo-item:not(:has(img)):not(:has(video)) {
  display: none;
}

/* En tarjetas de vídeo sin poster claro, evita que parezcan huecos vacíos. */
.yb-photo-grid .yb-photo-item:has(video)::after {
  content: "Vídeo";
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 5px;
  background: #003b7a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

/* ============================================================
   YOBASKET FIX GALERIAS BLOQUES GRISES V2
   Oculta celdas vacías/rotas y evita tarjetas grises en galerías.
   ============================================================ */

.yb-photo-grid > * {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
}

.yb-photo-grid > *:not(:has(img)):not(:has(video)) {
  display: none !important;
}

.yb-photo-grid > *[data-yb-hidden-empty="1"] {
  display: none !important;
}

.yb-photo-grid > * img,
.yb-photo-grid > * video {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
}

.yb-photo-grid > *.yb-video-card {
  background: #050b14 !important;
}

.yb-photo-grid > *.yb-video-fallback {
  background: #050b14 !important;
}

.yb-photo-grid > *.yb-video-fallback video {
  opacity: .22;
}

.yb-photo-grid > *.yb-video-fallback::before {
  content: "Ver vídeo";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #003b7a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

/* ============================================================
   YOBASKET FIX FOTOS VERTICALES GALERIA V3
   Las fotos mantienen proporción. Los vídeos siguen rellenando.
   ============================================================ */

.yb-photo-grid > * {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef4fb !important;
}

.yb-photo-grid > * a,
.yb-photo-grid > * .yb-photo-item-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Fotos: no deformar ni forzar a formato horizontal */
.yb-photo-grid > * img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: auto !important;
}

/* Vídeos: sí pueden ocupar toda la tarjeta */
.yb-photo-grid > * video {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
}

/* Si una tarjeta contiene vídeo, mantenemos fondo oscuro */
.yb-photo-grid > *.yb-video-card,
.yb-photo-grid > *.yb-video-fallback {
  background: #050b14 !important;
}

/* Si una tarjeta contiene imagen real, fondo claro limpio */
.yb-photo-grid > *.yb-has-real-media:not(.yb-video-card):not(.yb-video-fallback) {
  background: #eef4fb !important;
}

/* ============================================================
   YOBASKET FIX PROPORCION VISUAL GALERIA V4
   Las tarjetas de foto toman la proporción real de la miniatura.
   Evita que las verticales se vean dentro de cajas horizontales.
   ============================================================ */

.yb-photo-grid {
  align-items: start !important;
}

.yb-photo-grid > * {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: block !important;
  background: transparent !important;
}

.yb-photo-grid > * a,
.yb-photo-grid > * .yb-photo-item-link {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 0 !important;
}

.yb-photo-grid > * img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* Los vídeos mantienen tarjeta controlada para no crear bloques raros. */
.yb-photo-grid > * video {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 650px !important;
  object-fit: contain !important;
  background: #050b14 !important;
}

/* Si alguna regla antigua fuerza altura o formato, esta gana por estar al final. */
.yb-photo-grid .yb-photo-item,
.yb-photo-grid .yb-photo-card,
.yb-photo-grid figure {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

/* ============================================================
   YOBASKET LIGHTBOX CARRUSEL GALERIA V1
   Vista ampliada con navegación anterior/siguiente.
   ============================================================ */

.yb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 18, 0.92);
  padding: 24px;
}

.yb-lightbox.is-open {
  display: flex;
}

.yb-lightbox__figure {
  position: relative;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.yb-lightbox__image {
  display: block;
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  background: #ffffff;
}

.yb-lightbox__caption {
  margin-top: 10px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  opacity: 0.88;
}

.yb-lightbox__counter {
  position: fixed;
  left: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  opacity: 0.82;
}

.yb-lightbox__close,
.yb-lightbox__prev,
.yb-lightbox__next {
  position: fixed;
  z-index: 1000000;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.yb-lightbox__close:hover,
.yb-lightbox__prev:hover,
.yb-lightbox__next:hover,
.yb-lightbox__close:focus-visible,
.yb-lightbox__prev:focus-visible,
.yb-lightbox__next:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
  transform: scale(1.04);
}

.yb-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.yb-lightbox__prev,
.yb-lightbox__next {
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  font-size: 36px;
  line-height: 1;
}

.yb-lightbox__prev {
  left: 18px;
}

.yb-lightbox__next {
  right: 18px;
}

body.yb-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .yb-lightbox {
    padding: 12px;
  }

  .yb-lightbox__image {
    max-width: 96vw;
    max-height: 78vh;
  }

  .yb-lightbox__prev,
  .yb-lightbox__next {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .yb-lightbox__prev {
    left: 8px;
  }

  .yb-lightbox__next {
    right: 8px;
  }

  .yb-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

/* ============================================================
   YOBASKET LIGHTBOX GALERIA V1
   Carrusel ampliado para fotografías.
   ============================================================ */

.yb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 18, 0.92);
  padding: 24px;
}

.yb-lightbox.is-open {
  display: flex;
}

.yb-lightbox__image {
  display: block;
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.yb-lightbox__caption {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 18px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.9;
}

.yb-lightbox__close,
.yb-lightbox__prev,
.yb-lightbox__next {
  position: fixed;
  z-index: 1000000;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yb-lightbox__close:hover,
.yb-lightbox__prev:hover,
.yb-lightbox__next:hover {
  background: rgba(255,255,255,0.30);
}

.yb-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 30px;
}

.yb-lightbox__prev,
.yb-lightbox__next {
  top: 50%;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  font-size: 42px;
}

.yb-lightbox__prev {
  left: 18px;
}

.yb-lightbox__next {
  right: 18px;
}

.yb-lightbox__counter {
  position: fixed;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
}

body.yb-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .yb-lightbox {
    padding: 12px;
  }

  .yb-lightbox__image {
    max-width: 96vw;
    max-height: 78vh;
  }

  .yb-lightbox__prev,
  .yb-lightbox__next {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .yb-lightbox__prev {
    left: 8px;
  }

  .yb-lightbox__next {
    right: 8px;
  }
}
