/* =============================================
   PORTAL77 — STYLESHEET v2
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #0a0a0a;
  --dark:         #171717;
  --dark-2:       #222;
  --gray:         #555;
  --gray-light:   #888;
  --light:        #f7f7f7;
  --light-2:      #efefef;
  --white:        #ffffff;
  --yellow:       #f5c518;
  --yellow-dark:  #d4a800;
  --red:          #c8000a;
  --red-dark:     #a00008;
  --border:       #e4e4e4;
  --font:         'Inter', 'Segoe UI', Arial, sans-serif;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.07);
  --shadow:       0 3px 16px rgba(0,0,0,0.10);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.13);
  --shadow-hover: 0 12px 36px rgba(0,0,0,0.18);
  --transition:   0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

h1,h2,h3,h4 { font-weight: 900; line-height: 1.15; color: var(--black); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   FADE-IN ANIMATION
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s var(--transition) both;
}

/* staggered delay for grid items */
.cards-grid .card:nth-child(1),
.secondary-strip .card:nth-child(1) { animation-delay: 0.05s; }
.cards-grid .card:nth-child(2),
.secondary-strip .card:nth-child(2) { animation-delay: 0.12s; }
.cards-grid .card:nth-child(3),
.secondary-strip .card:nth-child(3) { animation-delay: 0.19s; }
.cards-grid .card:nth-child(4) { animation-delay: 0.26s; }
.cards-grid .card:nth-child(5) { animation-delay: 0.33s; }
.cards-grid .card:nth-child(6) { animation-delay: 0.40s; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  box-shadow: 0 2px 20px rgba(0,0,0,0.55);
  transition: padding var(--transition);
}

/* header shrinks on scroll — class toggled via JS */
.site-header.scrolled .header-top { display: none; }
.site-header.scrolled .header-main { padding: 8px 0; }

.header-top { display: none; }

.header-main { padding: 12px 0; transition: padding var(--transition); }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo */
.logo {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  white-space: nowrap;
  transition: transform var(--transition);
}
.logo:hover { transform: scale(1.03); }
.logo span { color: var(--yellow); }

/* Nav */
.main-nav ul { display: flex; gap: 0; align-items: center; }
.main-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 7px 10px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.nav-cta {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  padding: 8px 15px;
  border-radius: var(--radius);
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover {
  background: var(--yellow-dark);
  color: var(--black);
  box-shadow: 0 3px 12px rgba(245,197,24,0.3);
  transform: translateY(-1px);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.55);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.header-social-link:hover {
  color: var(--yellow);
  background: rgba(255,255,255,0.07);
}
.header-social-link svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}
@media (max-width: 768px) {
  .header-social { display: none; }
}

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* =============================================
   NAV DROPDOWN
   ============================================= */
.main-nav ul li { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.has-dropdown > a::after { display: none; }
.drop-arrow { font-size: 0.55rem; opacity: 0.55; transition: transform var(--transition); display: inline-block; line-height: 1; }
.has-dropdown:hover .drop-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
  padding: 6px 0;
  list-style: none;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li { display: block; }
.nav-dropdown li + li { border-top: 1px solid rgba(255,255,255,0.05); }
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
  white-space: nowrap;
}
.nav-dropdown li a:hover { color: var(--yellow); background: rgba(255,255,255,0.05); }
.nav-dropdown li a::after { display: none !important; }

@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.04);
    display: none;
    padding: 0;
  }
  .has-dropdown.open .nav-dropdown { display: block; }
  .has-dropdown.open .drop-arrow { transform: rotate(180deg); }
  .nav-dropdown li a { padding: 10px 24px; border-bottom: 1px solid rgba(255,255,255,0.04); }
}

/* =============================================
   BREAKING TICKER
   ============================================= */
.breaking-bar {
  background: #f0c000;
  padding: 5px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.breaking-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow: hidden; }
.breaking-label {
  background: var(--black);
  color: var(--yellow);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 11px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.ticker-wrapper { overflow: hidden; flex: 1; }
.ticker-text {
  white-space: nowrap;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--black);
  animation: ticker 32s linear infinite;
}
@keyframes ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* =============================================
   LAYOUT WRAPPER
   ============================================= */
.site-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 32px 0 56px;
}
.main-content { min-width: 0; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--black);
}
.section-title {
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--yellow);
  border-radius: 3px;
}
.section-header a {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), opacity var(--transition);
}
.section-header a:hover { opacity: 0.6; gap: 7px; }

/* =============================================
   BADGE
   ============================================= */
.badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  padding: 3px 9px;
  border-radius: 4px;
}
.badge-red    { background: var(--red);    color: var(--white); }
.badge-yellow { background: var(--yellow); color: var(--black); }
.badge-dark   { background: var(--dark);   color: var(--white); }
.badge-gray   { background: #777;          color: var(--white); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--yellow); color: var(--black); }
.btn-primary:hover {
  background: var(--yellow-dark);
  box-shadow: 0 6px 22px rgba(245,197,24,0.45);
}

.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-outline { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.btn-outline:hover { background: var(--yellow); color: var(--black); }

.btn-dark { background: var(--dark-2); color: var(--white); }
.btn-dark:hover { background: #333; box-shadow: var(--shadow-md); }

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(200,0,10,0.35); }

.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: 0.78rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--dark);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  transition: opacity 0.5s ease, transform 0.8s ease;
}
.hero:hover .hero-img {
  opacity: 0.78;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.02) 68%, transparent 100%),
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0.06) 60%, transparent 78%);
}
.hero-content {
  position: relative;
  padding: 20px 44px 38px;
  color: var(--white);
  max-width: 74%;
}
.hero-content .badge { margin-bottom: 10px; }
.hero-content .btn { padding: 4px 13px; font-size: 0.70rem; line-height: 1.4; border-radius: var(--radius); }
.hero-title {
  font-size: clamp(1.2rem, 1.85vw, 1.72rem);
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.28;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
  letter-spacing: -0.03em;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.hero-summary {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  max-width: 100%;
  line-height: 1.55;
  font-weight: 400;
  word-break: normal;
  overflow-wrap: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* =============================================
   SECONDARY STRIP
   ============================================= */
.secondary-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 32px;
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(0,0,0,0.08);
}

.card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  position: relative;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img-wrap img { transform: scale(1.07); }

/* subtle read-time overlay on card image */
.card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 50%);
  pointer-events: none;
}

.card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.card-date { font-size: 0.72rem; color: var(--gray-light); font-weight: 500; }
.card-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 9px;
  flex: 1;
  color: var(--black);
  transition: color var(--transition);
}
.card:hover .card-title { color: var(--black); }
.card-summary { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* horizontal mini card */
.card-h { flex-direction: row; align-items: stretch; }
.card-h .card-img-wrap { width: 115px; min-width: 115px; aspect-ratio: unset; }
.card-h .card-body { padding: 13px 15px; }
.card-h .card-title { font-size: 0.88rem; line-height: 1.35; }

/* =============================================
   CARDS GRIDS
   ============================================= */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 36px; }
.cards-grid-4 { grid-template-columns: repeat(4,1fr); }

/* =============================================
   FEATURE BLOCK (CTA Escalação) — MUITO MAIS FORTE
   ============================================= */
/* =============================================
   FEATURE BLOCK — strip editorial escalação
   ============================================= */
.feature-block {
  background: #101113;
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}

.feature-block::before { display: none; }

.feature-block-text {
  flex: 1;
  min-width: 0;
}

.feature-block-text h2 {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 900;
  margin-bottom: 3px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-block-text h2 span { color: var(--yellow); }

.feature-block-text p {
  color: rgba(255,255,255,0.4);
  font-size: 0.79rem;
  max-width: none;
  line-height: 1.5;
  margin-bottom: 0;
}

.feature-tagline { display: none; }

.feature-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* mini campo — pequeno e decorativo */
.feature-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.28;
}

.fv-field {
  width: 58px;
  height: 82px;
  border: 1.5px solid rgba(245,197,24,0.65);
  border-radius: 4px;
  position: relative;
  background: transparent;
  overflow: hidden;
}

.fv-midline {
  position: absolute;
  left: 0; right: 0;
  top: 50%; height: 1px;
  background: rgba(245,197,24,0.45);
}

.fv-circle {
  position: absolute;
  width: 20px; height: 20px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(245,197,24,0.4);
}

.fv-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 15px;
  border: 1px solid rgba(245,197,24,0.3);
}

.fv-box-top { top: 0; border-top: none; border-radius: 0 0 3px 3px; }
.fv-box-bot { bottom: 0; border-bottom: none; border-radius: 3px 3px 0 0; }

.fv-player {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(245,197,24,0.75);
  transform: translate(-50%, -50%);
}

.fv-gk { left: 50%; top: 91%; background: rgba(245,197,24,0.45); border: 1px solid rgba(245,197,24,0.65); }
.fv-d1 { left: 18%; top: 76%; }
.fv-d2 { left: 39%; top: 76%; }
.fv-d3 { left: 61%; top: 76%; }
.fv-d4 { left: 82%; top: 76%; }
.fv-m1 { left: 25%; top: 57%; }
.fv-m2 { left: 50%; top: 57%; }
.fv-m3 { left: 75%; top: 57%; }
.fv-a1 { left: 22%; top: 32%; }
.fv-a2 { left: 50%; top: 22%; background: rgba(204,0,0,0.65); }
.fv-a3 { left: 78%; top: 32%; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.widget-title {
  background: var(--black);
  color: var(--white);
  padding: 13px 18px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-body { padding: 8px 0; }

/* Most read */
.most-read-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), padding-left var(--transition);
}
.most-read-list li:last-child { border-bottom: none; }
.most-read-list li:hover { background: var(--light); padding-left: 22px; }
.mr-num {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--light-2);
  line-height: 1;
  min-width: 32px;
  font-variant-numeric: tabular-nums;
}
.most-read-list li:first-child .mr-num { color: var(--yellow); }
.most-read-list li:nth-child(2) .mr-num { color: var(--dark); }
.most-read-list li:nth-child(3) .mr-num { color: #888; }
.mr-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--dark);
  transition: color var(--transition);
}
.most-read-list li:hover .mr-title { color: var(--black); }

/* Recent list */
.recent-list li {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: pointer;
  transition: background var(--transition);
}
.recent-list li:last-child { border-bottom: none; }
.recent-list li:hover { background: var(--light); }
.recent-list .recent-thumb {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #ccc;
  transition: transform var(--transition);
}
.recent-list li:hover .recent-thumb { transform: scale(1.04); }
.recent-title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--dark);
  transition: color var(--transition);
}
.recent-list li:hover .recent-title { color: var(--black); }
.recent-date { font-size: 0.7rem; color: var(--gray-light); margin-top: 3px; }

/* Social */
.social-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 700;
  font-size: 0.83rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.social-btn:hover { transform: translateX(3px); box-shadow: var(--shadow-md); filter: brightness(1.08); }
.social-btn.ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.tw  { background: #1da1f2; }
.social-btn.yt  { background: #ff0000; }
.social-count { font-size: 0.72rem; opacity: 0.88; font-weight: 600; }

/* =============================================
   ARTICLE
   ============================================= */
.article-header { margin-bottom: 0; }

/* Título do artigo — tamanho controlado independente do h1 global */
.article-header h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-top: 16px !important; /* override inline style do post.js */
  margin-bottom: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0 0;
  font-size: 0.84rem;
  color: var(--gray-light);
  flex-wrap: wrap;
  font-weight: 500;
}
.article-meta strong { color: var(--dark); }
.article-meta-sep { opacity: 0.4; font-size: 0.75rem; }

.article-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-top: 32px;
  margin-bottom: 0;
  background: #1a1a1a;
  display: block;
}
.article-caption {
  font-size: 0.77rem;
  color: #999;
  margin: 10px 0 44px;
  padding: 8px 0 0 12px;
  border-left: 3px solid var(--border);
  font-style: italic;
  line-height: 1.5;
}

/* Quando não há imagem destacada, o body começa logo depois do share-bar */
.article-body { font-size: 1.12rem; line-height: 1.92; color: #1c1c1e; margin-top: 36px; }
.article-body p { margin-bottom: 28px; }

/* Parágrafo de abertura — lead editorial */
.article-body > p:first-of-type {
  font-size: 1.18rem;
  line-height: 1.85;
  color: #111;
  font-weight: 400;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 52px 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-size: 1.22rem;
  margin: 36px 0 12px;
  letter-spacing: -0.015em;
}
.article-body h4 { font-size: 1.07rem; margin: 28px 0 10px; }

.article-body blockquote {
  border-left: 4px solid var(--yellow);
  background: var(--light);
  padding: 22px 28px;
  margin: 40px 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

/* Listas geradas pelo Gutenberg */
.article-body ul,
.article-body ol { margin: 0 0 28px 28px; line-height: 1.85; }
.article-body li { margin-bottom: 8px; }

/* Imagens inline do Gutenberg */
.article-body img { width: 100%; height: auto; border-radius: var(--radius); margin: 8px 0 4px; }
.article-body figure { margin: 36px 0; }
.article-body figcaption {
  font-size: 0.77rem;
  color: #999;
  margin-top: 8px;
  font-style: italic;
  padding-left: 12px;
  border-left: 3px solid var(--border);
  line-height: 1.5;
}

/* Separador de código/pré dentro do artigo */
.article-body pre,
.article-body code {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  padding: 2px 6px;
}
.article-body pre {
  padding: 18px 22px;
  overflow-x: auto;
  margin-bottom: 28px;
}
.article-body pre code { background: none; border: none; padding: 0; }

.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0;
  padding: 22px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  flex-wrap: wrap;
}
.share-bar strong { font-size: 0.87rem; font-weight: 700; }

/* Share bar dentro do article-header: separador leve, sem dupla borda */
.article-header .share-bar {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
}
.share-btn {
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.share-btn.fb  { background: #1877f2; }
.share-btn.tw  { background: #1da1f2; }
.share-btn.wpp { background: #25d366; }

/* Share buttons como links <a> (post.html) */
a.share-btn { display: inline-block; text-decoration: none; color: var(--white); }

/* Estado de carregamento do post */
.post-loading {
  padding: 4rem 0;
  text-align: center;
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.8rem;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: #aaa; transition: color var(--transition); }
.breadcrumb a:hover { color: var(--dark); }
.breadcrumb .current { color: var(--dark); font-weight: 700; }

/* =============================================
   RELATED
   ============================================= */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; }

/* =============================================
   ESCALAÇÃO — Full-screen app
   ============================================= */

/* ── App: flex row, ocupa todo espaço disponível ── */
.esc-builder {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0e0f11;
}

/* ── Painel campo (75%) ── */
.esc-field-panel {
  flex: 0 0 75%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ── Toolbar compacta ── */
.esc-toolbar {
  background: #17181e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 40px;
  box-sizing: border-box;
}

.esc-toolbar-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.esc-form-pills { display: flex; gap: 4px; }

.esc-form-btn {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: transparent;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  transition: all 0.14s;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.esc-form-btn:hover  { border-color: rgba(255,255,255,0.32); color: #fff; }
.esc-form-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.esc-toolbar-actions { display: flex; gap: 5px; margin-left: auto; flex-shrink: 0; }

.esc-action-btn {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.14s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  display: flex; align-items: center;
}
.esc-action-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.78); }
.esc-action-btn--ghost:hover { border-color: rgba(255,80,80,0.5); color: #ff6060; }
.esc-action-btn--primary { background: var(--yellow); border-color: var(--yellow); color: var(--black); font-weight: 800; }
.esc-action-btn--primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }

/* ── Hint ── */
.esc-hint {
  text-align: center;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  padding: 2px 14px 3px;
  font-weight: 500;
  flex-shrink: 0;
}

/* ── Campo wrap — preenche TODO o espaço disponível ── */
.esc-pitch-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
}

/* ── Campo — 100% do wrap, sem margem, sem aspecto forçado ── */
.esc-pitch {
  position: absolute;
  inset: 0;
  overflow: visible;
}

/* Fundo do campo */
.esc-pitch-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #252528 0%, #161618 100%);
  overflow: hidden;
  z-index: 0;
}

.esc-pitch-noise {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.esc-pitch-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 16%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}
.esc-pitch-logo img { width: 100%; filter: invert(1); }

.esc-pitch-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
}

/* ── Slots ── */
.esc-slots { position: absolute; inset: 0; z-index: 3; overflow: visible; }

.esc-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; user-select: none; touch-action: none;
  transition: transform 0.16s ease, filter 0.16s ease, opacity 0.16s ease;
}

.esc-slot-inner { position: relative; }

.esc-slot--filled { cursor: grab; }
.esc-slot--filled:hover { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1.12); }

.esc-slot--empty { cursor: default; }
.esc-slot--empty:hover .esc-slot-photo {
  border-color: rgba(245,197,24,0.5);
  background: rgba(245,197,24,0.05);
}

.esc-slot--target .esc-slot-photo {
  border-color: var(--yellow) !important;
  box-shadow: 0 0 0 7px rgba(245,197,24,0.28) !important;
  transform: scale(1.12);
}

.esc-slot--dragging { opacity: 0.15; pointer-events: none; transition: none; }

/* ── Foto do jogador — grande ── */
.esc-slot-photo {
  width: clamp(50px, 6.5vw, 96px);
  height: clamp(50px, 6.5vw, 96px);
  border-radius: 50%; overflow: hidden;
  border: 3px solid var(--yellow);
  box-shadow: 0 0 0 4px rgba(245,197,24,0.16), 0 8px 28px rgba(0,0,0,0.9);
  background: #0f0f12; flex-shrink: 0;
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.esc-slot-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; pointer-events: none;
}

/* Slot vazio */
.esc-slot-photo--empty {
  border: 2px dashed rgba(255,255,255,0.16);
  box-shadow: none; background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
}

.esc-slot-label {
  font-size: clamp(0.46rem, 0.58vw, 0.64rem);
  font-weight: 900; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.1em; line-height: 1;
}

.esc-slot-plus {
  font-size: clamp(0.9rem, 1.2vw, 1.5rem);
  font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1;
}

/* ── Nome do jogador — legível ── */
.esc-slot-name {
  font-size: clamp(0.72rem, 1.1vw, 1.1rem);
  font-weight: 900; color: var(--yellow);
  text-shadow: 0 1px 0 #000, 0 2px 12px rgba(0,0,0,1), 0 0 28px rgba(0,0,0,0.95);
  text-transform: uppercase; white-space: normal; word-break: break-word;
  max-width: clamp(88px, 10.5vw, 150px);
  text-align: center; letter-spacing: 0.05em; line-height: 1.15;
  pointer-events: none;
}

.esc-slot-name--empty {
  font-size: clamp(0.46rem, 0.58vw, 0.6rem);
  font-weight: 700; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* Ghost de drag */
.esc-drag-ghost {
  position: fixed; pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%) scale(1.1);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  filter: drop-shadow(0 12px 32px rgba(245,197,24,0.7));
  opacity: 0.95; transition: none !important;
}

/* ── Painel elenco (25%) ── */
.esc-roster-panel {
  flex: 0 0 25%;
  background: #13141a;
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; overflow: hidden;
}

.esc-roster-header {
  padding: 9px 14px 7px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.62rem; font-weight: 900;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase; letter-spacing: 0.12em;
  flex-shrink: 0;
}

.esc-roster-body {
  overflow-y: auto; flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.esc-roster-body::-webkit-scrollbar { width: 3px; }
.esc-roster-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.esc-roster-group-label {
  grid-column: 1 / -1;
  font-size: 0.65rem; font-weight: 900;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 7px 10px 3px;
  background: rgba(255,255,255,0.02);
}

.esc-roster-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 16px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: grab; user-select: none; touch-action: none;
  transition: background 0.13s; text-align: center;
}
.esc-roster-card:hover:not(.esc-roster-card--used) { background: rgba(255,255,255,0.065); }
.esc-roster-card--used { opacity: 0.26; cursor: default; pointer-events: none; }

.esc-roster-card-photo {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25); background: #1e1e24;
  flex-shrink: 0;
}
.esc-roster-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; pointer-events: none;
}

.esc-roster-card-info { min-width: 0; width: 100%; }

.esc-roster-card-name {
  font-size: 0.84rem; font-weight: 700;
  color: rgba(255,255,255,0.95);
  white-space: normal; word-break: break-word;
  line-height: 1.25; text-align: center;
}

.esc-roster-card-pos {
  font-size: 0.7rem; font-weight: 900;
  color: var(--yellow);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
}

.esc-roster-drag-icon { display: none; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--black); color: rgba(255,255,255,0.55); }

.footer-top-bar { background: var(--yellow); height: 2px; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer-site-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 0;
}
.footer-tagline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.77rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  white-space: nowrap;
}
.footer-links a:hover { color: var(--yellow); }

.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
  border-radius: 6px;
}
.footer-social a:hover { color: var(--yellow); }
.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 9px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

/* =============================================
   TOAST & SCROLL TOP
   ============================================= */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--dark);
  color: var(--white);
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.87rem;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  z-index: 9999;
  transform: translateY(90px);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  pointer-events: none;
  border-left: 3px solid var(--yellow);
}
.toast.show { transform: translateY(0); opacity: 1; }

.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s, transform 0.3s, background var(--transition), box-shadow var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--black); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 1440px) {
  .hero { min-height: 640px; }
  .cards-grid { gap: 28px; }
}

@media (max-width: 1200px) {
  .site-wrapper { grid-template-columns: 1fr 270px; gap: 28px; }
}

@media (max-width: 1024px) {
  .site-wrapper { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2,1fr); }
  /* footer: layout handled by footer-inner flex */
  .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .esc-roster-panel { flex: 0 0 220px; }
  .esc-field-panel   { flex: 1; }
  .esc-toolbar { gap: 8px; }
  .esc-toolbar-title { display: none; }
  .feature-block { padding: 16px 22px; gap: 16px; }
}

@media (max-width: 768px) {
  /* Mobile: empilhar campo + elenco */
  .esc-builder { flex-direction: column; }
  .esc-field-panel { flex: 1; min-height: 0; }
  .esc-roster-panel { flex: 0 0 240px; border-left: none; border-top: 1px solid rgba(255,255,255,0.07); }
  .esc-roster-body { grid-template-columns: repeat(4, 1fr); }
  .esc-slot { gap: 3px; }
  .esc-form-pills { gap: 3px; }
  .esc-form-btn { padding: 4px 8px; font-size: 0.65rem; }
  .esc-toolbar-actions { gap: 4px; }
  .esc-action-btn { padding: 4px 8px; font-size: 0.65rem; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #111;
    padding: 10px 20px 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav.open ul { flex-direction: column; gap: 0; }
  .main-nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .main-nav.open a::after { display: none; }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .secondary-strip { grid-template-columns: 1fr; }
  .site-logo { height: 58px; }
  .hero { min-height: 340px; }
  .hero-content { padding: 20px 22px 30px; }
  .feature-block { padding: 14px 18px; gap: 14px; }
  .feature-visual { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr; }

  /* Artigo mobile */
  .article-header h1 { font-size: clamp(1.55rem, 5vw, 2.1rem); }
  .article-body { font-size: 1.05rem; line-height: 1.88; margin-top: 24px; }
  .article-body > p:first-of-type { font-size: 1.1rem; }
  .article-featured-img { margin-top: 20px; }
  .article-caption { margin-bottom: 28px; }
  .article-body blockquote { padding: 16px 20px; font-size: 1.07rem; }
}

@media (max-width: 480px) {
  .esc-roster-panel { height: 220px; max-height: 220px; }
  .esc-roster-body { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 14px; }
  .cards-grid, .cards-grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .related-grid { grid-template-columns: 1fr; }
  .hero { min-height: 280px; border-radius: var(--radius); }
  .hero-content { padding: 18px 18px 24px; }
  .site-logo { height: 48px; }
  .feature-block { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .feature-cta { width: 100%; justify-content: center; }

  /* Artigo mobile pequeno */
  .article-header h1 { font-size: clamp(1.45rem, 6vw, 1.85rem); }
  .article-body { font-size: 1rem; line-height: 1.82; }
  .article-body > p:first-of-type { font-size: 1.05rem; }
  .article-featured-img { aspect-ratio: 4/3; border-radius: var(--radius); }
  .article-body h2 { font-size: 1.25rem; margin: 36px 0 14px; }
  .article-body h3 { font-size: 1.1rem; margin: 28px 0 10px; }
  .article-body blockquote { padding: 14px 16px; font-size: 1rem; margin: 28px 0; }
  .article-body ul, .article-body ol { margin-left: 20px; }
  .share-bar { gap: 8px; }
}

/* =============================================
   LOGO
   ============================================= */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.logo-link:hover { transform: scale(1.03); opacity: .92; }

/* Primary site logo — swap src to your own file */
.site-logo {
  height: 82px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* Legacy logo-img alias */
.logo-img { height: 40px; width: auto; display: block; }

.footer-logo-img { height: 28px; width: auto; display: block; object-fit: contain; }

/* =============================================
   AD SLOTS
   ============================================= */
.ad-wrap { width: 100%; }

.ad-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 5px;
}

.ad-slot {
  background: #fafafa;
  border: 1.5px dashed #ddd;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  overflow: hidden;
}
.ad-slot:hover { border-color: #bbb; background: #f4f4f4; }

.ad-slot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.ad-slot-icon { font-size: 1.3rem; opacity: .3; }
.ad-slot-text { font-size: 0.78rem; color: #bbb; font-weight: 600; letter-spacing: .3px; }
.ad-slot-dim  { font-size: 0.64rem; color: #ccc; font-family: 'Courier New', monospace; }

/* Leaderboard — horizontal, topo */
.ad-leaderboard { margin: 0 0 40px; }
.ad-leaderboard .ad-slot { height: 90px; max-width: 970px; margin: 0 auto; }

/* Mid-content */
.ad-mid { margin: 0 0 44px; }
.ad-mid .ad-slot { height: 90px; }

/* Sidebar rectangle */
.ad-sidebar .ad-slot { height: 250px; border-radius: 0 0 var(--radius) var(--radius); }
.ad-sidebar .widget-body { padding: 0; }

/* In-article */
.ad-article { margin: 32px 0; }
.ad-article .ad-slot { height: 90px; }

/* =============================================
   NAV — LOJA
   ============================================= */
.main-nav a.nav-shop {
  color: rgba(255,255,255,0.8);
}
.main-nav a.nav-shop:hover { color: var(--yellow); }

/* =============================================
   SECTION BG ALTERNATION
   ============================================= */
.section-band {
  background: var(--light);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 52px calc(50vw - 50%);
}

/* =============================================
   SHOP BANNER
   ============================================= */
.shop-banner {
  background: var(--black);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200,0,10,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(245,197,24,0.08) 0%, transparent 55%);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.shop-banner::after {
  content: '🛍️';
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .07;
  pointer-events: none;
}
.shop-banner-text .badge { margin-bottom: 12px; }
.shop-banner-text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
  line-height: 1.15;
}
.shop-banner-text h2 span { color: var(--yellow); }
.shop-banner-text p {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  margin-bottom: 24px;
  max-width: 400px;
  line-height: 1.65;
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }

.product-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: .97rem; font-weight: 800; color: var(--black); margin-bottom: 4px; line-height: 1.3; }
.product-desc { font-size: .8rem; color: var(--gray); margin-bottom: 14px; flex: 1; line-height: 1.5; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-price-old { font-size: .72rem; color: #aaa; text-decoration: line-through; display: block; line-height: 1; }
.product-price { font-size: 1.2rem; font-weight: 900; color: var(--red); line-height: 1.2; }

.btn-buy {
  background: var(--black);
  color: var(--white);
  font-size: .75rem;
  font-weight: 800;
  padding: 9px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-buy:hover {
  background: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(200,0,10,.3);
}

/* =============================================
   RESPONSIVE — novas seções (legado)
   ============================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .shop-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .shop-banner::after { display: none; }
  .logo-img { height: 34px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .logo-img { height: 30px; }
}

/* =============================================
   NEXT MATCH BAR
   ============================================= */
.nm-label {
  background: var(--black);
  color: #f0c000;
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nm-crest {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.nm-cta {
  background: var(--black);
  color: #f0c000;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nm-cta:hover { background: #222; }
.nm-content {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--black);
  overflow: hidden;
  flex-wrap: nowrap;
}
.nm-team { font-weight: 900; font-size: 0.9rem; color: #111; white-space: nowrap; }
.nm-vs { font-weight: 900; font-size: 1rem; color: rgba(0,0,0,0.45); flex-shrink: 0; }
.nm-divider { width: 1px; height: 16px; background: rgba(0,0,0,0.22); flex-shrink: 0; }
.nm-info {
  font-size: 0.79rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #333;
}

/* =============================================
   HERO LAYOUT (hero grande + 2 cards lateral)
   ============================================= */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}
.hero-layout .hero {
  margin-bottom: 0;
  height: 100%;
  min-height: 460px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-side .card { flex: 1; min-height: 0; }
.hero-side .card-img-wrap { aspect-ratio: unset; height: 148px; }

/* =============================================
   VIDEO GRID
   ============================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: block;
}
.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.video-card:hover .video-thumb-wrap img {
  transform: scale(1.06);
  opacity: 0.8;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 50%, rgba(0,0,0,0.08) 100%);
  transition: background 0.3s ease;
}
.video-card:hover .video-play-overlay { background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.15) 100%); }
.video-play-btn {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.45);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: var(--yellow);
  box-shadow: 0 8px 28px rgba(245,197,24,0.5);
}
.video-body { padding: 13px 15px 15px; }
.video-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 5px;
  transition: color var(--transition);
}
.video-card:hover .video-title { color: var(--dark-2); }
.video-meta { font-size: 0.7rem; color: var(--gray-light); }

/* =============================================
   RESPONSIVE — hero-layout e video-grid (legado)
   ============================================= */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr 290px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-layout .hero { min-height: 320px; }
  .hero-side { flex-direction: row; }
  .hero-side .card-img-wrap { height: 110px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .hero-side { flex-direction: column; }
  .video-grid { grid-template-columns: 1fr; }
  .nm-info:nth-child(n+4) { display: none; }
}

/* =============================================
   HOME GRID
   Estrutura: hero esquerda + 2 cards direita
              3 cards pequenos abaixo do hero
   ============================================= */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

/* Coluna esquerda: hero + 3 cards pequenos */
.home-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.home-left .hero {
  flex: 1;
  min-height: 360px;
  margin-bottom: 0;
}

/* 3 cards alinhados abaixo do hero */
.small-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.small-cards-row .card-img-wrap {
  aspect-ratio: unset;
  height: 120px;
}

.small-cards-row .card-body {
  padding: 13px 15px 16px;
}

.small-cards-row .card-title {
  font-size: 0.9rem;
  line-height: 1.3;
}

.small-cards-row .card-summary { display: none; }

/* Coluna direita: 2 cards empilhados */
.home-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.home-right .card {
  flex: 1;
  min-height: 0;
}

.home-right .card-img-wrap {
  aspect-ratio: unset;
  height: 150px;
  flex-shrink: 0;
}

.home-right .card-body {
  padding: 14px 16px 18px;
}

/* =============================================
   RESPONSIVE — home-grid
   ============================================= */
@media (max-width: 1100px) {
  .home-grid { grid-template-columns: 1fr 270px; }
}

@media (max-width: 768px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-left .hero { min-height: 300px; flex: none; }
  .home-right { flex-direction: row; }
  .home-right .card-img-wrap { height: 120px; }
  .small-cards-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 580px) {
  .home-right { flex-direction: column; }
  .small-cards-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .small-cards-row { grid-template-columns: 1fr; }
  .nm-info:nth-child(n+4) { display: none; }
}

/* =============================================
   EDITORIAL LAYOUT (sem sidebar)
   2fr | 1fr  →  3 cards horizontais  →  vídeos
   ============================================= */
.editorial-wrap {
  padding: 20px 0 48px;
}

/* ── Topo: hero (2fr) + 2 cards empilhados (1fr) ── */
.editorial-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 480px;
  gap: 20px;
  margin-bottom: 20px;
}

/* Hero ocupa 100% da célula */
.editorial-top > .hero {
  margin-bottom: 0;
  height: 100%;
  min-height: 0;
}

/* Wrapper do hero gerado pelo WordPress (wordpress-posts.js) */
.editorial-top > #hero-post {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.editorial-top > #hero-post > .hero {
  height: 100%;
  min-height: 0;
  margin-bottom: 0;
}

/* Coluna direita: flex-column que ocupa os 480px do grid-row */
.editorial-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards laterais: estilo hero — imagem de fundo + gradiente + texto branco */
.editorial-right .card {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
  background: var(--dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
  /* sobrescreve o display:flex padrão — filhos ficam absolutos */
  display: block;
}

.editorial-right .card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.32);
  transform: translateY(-2px);
}

/* Imagem ocupa o card inteiro */
.editorial-right .card-img-wrap {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: unset;
  flex-shrink: unset;
}

.editorial-right .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.9;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.editorial-right .card:hover .card-img-wrap img {
  transform: scale(1.05);
  opacity: 0.78;
}

/* Gradiente + texto na parte inferior do card */
.editorial-right .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  flex: unset;
  overflow: visible;
}

.editorial-right .card-meta {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-right .card-date {
  color: rgba(255,255,255,0.65);
}

.editorial-right .card-title {
  font-size: 0.93rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.editorial-right .card-summary {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Linha abaixo: 3 cards HORIZONTAIS ── */
.news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

/* Card horizontal: imagem esquerda, texto direita */
.news-row .card {
  flex-direction: row;
  align-items: stretch;
  height: 140px;
}

.news-row .card-img-wrap {
  width: 140px;
  min-width: 140px;
  height: 100%;
  aspect-ratio: unset;
  flex-shrink: 0;
}

.news-row .card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.news-row .card-title {
  font-size: 0.87rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-row .card-summary { display: none; }

/* ── Vídeos: gap consistente com o grid acima ── */
.editorial-wrap .video-grid {
  gap: 20px;
  margin-bottom: 28px;
}

/* ── Section header dos vídeos (direto após hero) ── */
.editorial-wrap .section-header {
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
}

.editorial-wrap .feature-block {
  margin-bottom: 0;
}

/* =============================================
   ÚLTIMAS NOTÍCIAS — lista numerada
   ============================================= */
/* Wrapper da lista única */
.latest-columns {
  margin-bottom: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Lista única (ol) */
.latest-list {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-item {
  border-bottom: 1px solid var(--border);
}

.latest-item:last-child { border-bottom: none; }

.latest-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  transition: background var(--transition);
  min-height: 80px;
}
.latest-link:hover { background: var(--light); }

.latest-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark-2);
  line-height: 1;
  min-width: 36px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  padding-top: 2px;
  flex-shrink: 0;
}

.latest-body { flex: 1; min-width: 0; }

.latest-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.latest-date {
  font-size: 0.69rem;
  color: var(--gray-light);
  font-weight: 500;
}

.latest-title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
  transition: color var(--transition);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.latest-link:hover .latest-title { color: var(--dark-2); }

/* =============================================
   RESPONSIVE — editorial
   ============================================= */
@media (max-width: 1100px) {
  .editorial-top { grid-template-columns: 5fr 3fr; grid-template-rows: 440px; gap: 16px; }
  .editorial-right .card-img-wrap { height: 110px; }
}

@media (max-width: 768px) {
  .editorial-top { grid-template-columns: 1fr; grid-template-rows: auto; gap: 16px; }

  /* Hero: precisamos nomear #hero-post pois o seletor > .hero não alcança o neto
     e o desktop tem min-height:0 de alta especificidade que precisa ser anulado */
  .editorial-top > #hero-post { height: 300px; min-height: 0; }
  .editorial-top > #hero-post > .hero,
  .editorial-top > .hero { height: 300px; min-height: 0; }

  /* Conteúdo do hero: ocupa largura total e imagem fica centrada no topo */
  #hero-post .hero-content { max-width: 100%; padding: 16px 22px 24px; }
  #hero-post .hero-img { object-position: center top; }

  /* Hero title: fonte menor e até 4 linhas no mobile */
  .hero-title {
    font-size: clamp(1.15rem, 4.5vw, 1.6rem);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  .hero-summary {
    font-size: 0.82rem;
    margin-bottom: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* Cards laterais: lado a lado com altura fixa */
  .editorial-right { flex-direction: row; gap: 12px; height: 200px; }
  .editorial-right .card-img-wrap { position: absolute; inset: 0; height: 100%; }
  .editorial-right .card-img-wrap img { object-position: center top; }

  /* Middle posts: card horizontal, imagem top */
  .news-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 24px; }
  .news-row .card { height: 120px; }
  .news-row .card-img-wrap { width: 110px; min-width: 110px; }
  .news-row .card-img-wrap img { object-position: center top; }

  .editorial-wrap .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 580px) {
  /* Cards laterais: empilhados em coluna com altura própria */
  .editorial-right { flex-direction: column; height: auto; }
  /* flex: none evita que flex-basis:0 do flex:1 base colapse o card no eixo vertical */
  .editorial-right .card { height: 200px; flex: none; width: 100%; }
  .nm-info:nth-child(n+4) { display: none; }
}

@media (max-width: 400px) {
  .editorial-top > #hero-post { height: 240px; }
  .editorial-top > #hero-post > .hero,
  .editorial-top > .hero { height: 240px; }
  .news-row .card { height: auto; flex-direction: column; }
  .news-row .card-img-wrap { width: 100%; height: 130px; min-width: unset; }
  .news-row .card-img-wrap img { object-position: center top; }
  .editorial-wrap .video-grid { grid-template-columns: 1fr; }
}

/* =============================================
   PAGE HERO — faixa compacta unificada
   Vídeos · Campeonatos · Elenco · Colunas
   ============================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: #0d0d10;
  margin-bottom: 28px;
  padding: 18px 32px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

/* Overlay gradiente — legibilidade sobre a imagem */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13,13,16,1)    0%,
    rgba(13,13,16,0.94) 42%,
    rgba(13,13,16,0.58) 68%,
    rgba(13,13,16,0.14) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Imagem temática por página (troque os arquivos em assets/img/heros/) */
.page-hero--videos      { background-image: url('assets/img/heros/videos-bg.jpg');      background-size: cover; background-position: right center; }
.page-hero--campeonatos { background-image: url('assets/img/heros/campeonatos-bg.jpg'); background-size: cover; background-position: right center; }
.page-hero--elenco      { background-image: url('assets/img/heros/elenco-bg.jpg');      background-size: cover; background-position: right center; }
.page-hero--colunas     { background-image: url('assets/img/heros/colunas-bg.jpg');     background-size: cover; background-position: right center; }

/* Corpo de texto (sempre sobre o overlay) */
.page-hero-body {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Conteúdo lateral (pills, botão YouTube) */
.page-hero-side {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Breadcrumb dentro do hero */
.page-hero .breadcrumb          { padding: 0; margin-bottom: 6px; font-size: 0.68rem; color: rgba(255,255,255,0.3); }
.page-hero .breadcrumb a        { color: rgba(255,255,255,0.3); }
.page-hero .breadcrumb a:hover  { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb .current { color: rgba(255,255,255,0.52); font-weight: 600; }

.page-hero-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--yellow);
  margin-bottom: 4px;
}

.page-hero-title {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 4px;
}
.page-hero-title span { color: var(--yellow); }

.page-hero-subtitle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  margin: 0;
  line-height: 1.5;
  max-width: 500px;
}

@media (max-width: 860px) {
  .page-hero { flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 24px; }
  .page-hero::before { background: rgba(13,13,16,0.93); }
  .page-hero-side { width: 100%; }
}
@media (max-width: 580px) {
  .page-hero { padding: 14px 18px; min-height: 100px; }
  .page-hero-side { display: none; }
}

/* =============================================
   PÁGINA CAMPEONATOS
   ============================================= */
.camp-page { padding: 28px 0 60px; }

/* Status pills à direita */
.camp-hero-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.camp-stat-pill {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 128px;
  cursor: default;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.camp-stat-pill:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.camp-stat-comp {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
}
.camp-stat-val {
  font-size: 0.96rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.camp-stat-detail {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  white-space: nowrap;
}
.camp-stat-pill.is-champion {
  border-color: rgba(245,197,24,0.28);
  background: rgba(245,197,24,0.07);
}
.camp-stat-pill.is-champion .camp-stat-val { color: var(--yellow); }
.camp-stat-pill.is-champion .camp-stat-comp { color: rgba(245,197,24,0.55); }

@media (max-width: 1100px) {
  .camp-hero-stats { gap: 8px; }
  .camp-stat-pill  { min-width: 112px; padding: 11px 13px; }
}
@media (max-width: 860px) {
  .camp-hero-stats { width: 100%; display: grid; grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 580px) {
  .camp-hero-stats { grid-template-columns: repeat(2,1fr); }
}

.camp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.camp-tab {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray);
  font-family: var(--font);
  transition: all var(--transition);
  white-space: nowrap;
}
.camp-tab:hover { border-color: var(--dark); color: var(--dark); }
.camp-tab.active { background: var(--dark); border-color: var(--dark); color: var(--white); }

.camp-section { display: none; }
.camp-section.active { display: block; }

.camp-block { margin-bottom: 36px; }
.camp-block-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}

/* Tabela de classificação */
.camp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.camp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 560px;
}
.camp-table thead th {
  background: var(--dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px;
  text-align: center;
  white-space: nowrap;
}
.camp-table thead th:first-child,
.camp-table thead th:nth-child(2) { text-align: left; }
.camp-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.camp-table tbody tr:last-child { border-bottom: none; }
.camp-table tbody tr:hover { background: var(--light); }
.camp-table tbody tr.is-cor { background: rgba(245,197,24,0.07); }
.camp-table tbody tr.is-cor:hover { background: rgba(245,197,24,0.14); }
.camp-table tbody tr.sep-g4 td { border-bottom: 2px solid #00a855; }
.camp-table tbody tr.sep-z4 td { border-top: 2px solid var(--red); }
.camp-table td {
  padding: 9px 12px;
  text-align: center;
  color: var(--dark);
  white-space: nowrap;
}
.camp-table td:first-child { text-align: center; width: 36px; }
.camp-table td:nth-child(2) { text-align: left; }
.camp-table td.pts { font-weight: 900; font-size: 0.92rem; color: var(--black); }
.camp-table td.sg  { color: var(--dark);  font-size: 0.85rem; font-weight: 600; }
.camp-table td.col-dim { color: var(--dark); font-size: 0.85rem; }

.team-cell { display: flex; align-items: center; gap: 8px; }
.team-crest-sm { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.team-name-full { font-weight: 700; }

.pos-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 900;
}
.pos-lib  { background: rgba(0,100,200,0.12); color: #0050aa; }
.pos-g4   { background: rgba(0,168,85,0.12);  color: #006633; }
.pos-sul  { background: rgba(245,197,24,0.18); color: #8a6a00; }
.pos-z4   { background: rgba(200,0,10,0.10);   color: var(--red); }
.pos-norm { color: var(--dark); font-weight: 700; }

.form-tags { display: flex; gap: 3px; justify-content: center; }
.form-tag {
  width: 18px; height: 18px; border-radius: 3px;
  font-size: 0.58rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.form-v { background: #00a855; color: #fff; }
.form-e { background: #888;    color: #fff; }
.form-d { background: var(--red); color: #fff; }

/* Match cards */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.matches-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
.rounds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.match-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.match-card-header {
  background: var(--dark);
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.match-comp { font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.92); text-transform: uppercase; letter-spacing: 0.5px; }
.match-date-tag { font-size: 0.68rem; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.match-body { padding: 10px 12px; }
.match-teams { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.match-team { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.match-team img { width: 36px; height: 36px; object-fit: contain; }
.match-team-name { font-size: 0.75rem; font-weight: 900; text-align: center; line-height: 1.2; color: var(--black); }
.match-score-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; flex-shrink: 0; }
.match-score { font-size: 2rem; font-weight: 900; color: var(--black); letter-spacing: 3px; line-height: 1; }
.match-score.upcoming { font-size: 1.2rem; color: var(--dark); letter-spacing: 2px; font-weight: 900; }
.match-time { font-size: 0.72rem; color: var(--gray); font-weight: 600; }
.match-venue { font-size: 0.72rem; color: var(--gray); text-align: center; margin-top: 7px; padding-top: 6px; border-top: 1px solid var(--border); font-weight: 500; }

.result-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.75rem; font-weight: 900;
}
.result-v { background: rgba(0,168,85,0.12); color: #006633; }
.result-e { background: rgba(136,136,136,0.14); color: #555; }
.result-d { background: rgba(200,0,10,0.10); color: var(--red); }

/* Fase badge */
.phase-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark); color: var(--yellow);
  font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.8px;
  padding: 6px 14px; border-radius: var(--radius); margin-bottom: 20px;
}

/* Tabela de grupo */
.group-block { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; }
.group-header { background: var(--dark); color: var(--yellow); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; padding: 9px 14px; }

/* Encerrado */
.enc-card {
  background: var(--light); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; margin-bottom: 28px;
}
.enc-trophy { font-size: 2.5rem; margin-bottom: 8px; }
.enc-title { font-size: 1.1rem; font-weight: 900; color: var(--black); margin-bottom: 4px; }
.enc-sub { font-size: 0.82rem; color: var(--gray); }

@media (max-width: 640px) {
  .camp-tab { font-size: 0.75rem; padding: 8px 13px; }
  .matches-grid { grid-template-columns: 1fr; }
  .matches-grid--2col { grid-template-columns: 1fr; }
  .rounds-grid { grid-template-columns: 1fr; }
  .camp-table { min-width: 480px; }
}

/* =============================================
   PÁGINA OPINIÃO — COLUNISTAS
   ============================================= */

.opiniao-page { padding: 28px 0 64px; }


/* Columnist profile cards */
.columnist-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.columnist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.columnist-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(0,0,0,0.1);
}

/* Avatar circles */
.columnist-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  border: 3px solid var(--black);
}
.av-geovana { background: var(--red); color: var(--white); }
.av-juninho  { background: var(--dark); color: var(--white); }
.av-erico    { background: var(--yellow); color: var(--black); }

.columnist-name {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--black);
  margin: 0;
  line-height: 1.2;
}
.columnist-bio {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.columnist-filter-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 6px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.columnist-filter-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,197,24,0.35);
}

/* Filter bar */
.opiniao-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding: 16px 22px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.filter-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--dark);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.columnist-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 42px 10px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  min-width: 250px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.columnist-select:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,197,24,0.2);
}
.select-arrow {
  position: absolute;
  right: 14px;
  font-size: 0.58rem;
  color: var(--gray);
  pointer-events: none;
  line-height: 1;
}
.posts-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-light);
  margin-left: auto;
}

/* Posts grid */
.opiniao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Post card */
.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(0,0,0,0.08);
}
.post-card[hidden] { display: none; }

.post-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

/* Card image */
.post-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.07); }

/* Author badge overlay */
.post-author-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.63rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.badge-geovana { background: var(--red);    color: var(--white); }
.badge-juninho  { background: var(--black);  color: var(--white); }
.badge-erico    { background: var(--yellow); color: var(--black); }

/* Card body */
.post-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--black);
  margin: 0;
  transition: color var(--transition);
}
.post-card:hover .post-card-title { color: var(--dark-2); }
.post-card-summary {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.post-card-date {
  font-size: 0.72rem;
  color: var(--gray-light);
  font-weight: 500;
}
.post-card-readmore {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
}
.post-card:hover .post-card-readmore { color: var(--yellow); }

/* Responsive */
@media (max-width: 1024px) {
  .opiniao-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
  .columnist-profiles { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .opiniao-banner { padding: 36px 28px; }
  .opiniao-banner::after { display: none; }
  .opiniao-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .posts-count { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .columnist-profiles { max-width: 100%; }
  .opiniao-grid { grid-template-columns: 1fr; }
  .columnist-select { min-width: 0; width: 100%; }
  .opiniao-filter-bar { gap: 10px; }
  .select-wrap { width: 100%; }
}

/* =============================================
   PÁGINA VÍDEOS
   ============================================= */

.videos-page { padding: 28px 0 64px; }


/* Botão YouTube */
.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff0000;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-yt:hover {
  background: #cc0000;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.38);
}
.btn-yt svg { width: 20px; height: 20px; fill: var(--white); flex-shrink: 0; }

/* Filtros */
.videos-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.videos-filter-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
  white-space: nowrap;
}
.video-filter-btn {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray);
  font-family: var(--font);
  transition: all var(--transition);
  white-space: nowrap;
}
.video-filter-btn:hover { border-color: var(--dark); color: var(--dark); background: var(--light-2); }
.video-filter-btn.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.videos-count { font-size: 0.8rem; font-weight: 700; color: var(--gray-light); margin-left: auto; }

/* Badge de categoria no thumbnail */
.video-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.cat-analise    { background: var(--dark);   color: var(--yellow); }
.cat-bastidores { background: var(--black);  color: var(--white);  }
.cat-entrevista { background: var(--red);    color: var(--white);  }
.cat-treino     { background: #00a855;       color: var(--white);  }
.cat-opiniao    { background: var(--yellow); color: var(--black);  }

/* Ocultar cards filtrados */
.video-card[hidden] { display: none; }

/* Responsivo */
@media (max-width: 860px) {
  .videos-banner { flex-direction: column; align-items: flex-start; padding: 32px 28px; gap: 24px; }
  .videos-banner::after { display: none; }
}
@media (max-width: 768px) {
  .videos-page .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
  .videos-page .video-grid { grid-template-columns: 1fr; }
  .videos-count { margin-left: 0; }
}

/* --- Mensagens de fallback quando APIs falham --- */
.yt-error,
.wp-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* =============================================
   SKELETON LOADING — shimmer enquanto carrega
   ============================================= */
@keyframes sk-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.sk {
  background: linear-gradient(90deg, #ebebeb 25%, #f5f5f5 50%, #ebebeb 75%);
  background-size: 1200px 100%;
  animation: sk-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius);
  display: block;
}
.sk-hero  { height: 460px; }
.sk-card  { height: 220px; flex: 1; min-height: 0; }
.sk-news  { height: 120px; flex: 1; }
.sk-video { aspect-ratio: 16/9; height: auto; }
.sk-list-item { height: 76px; border-bottom: 1px solid var(--border); border-radius: 0; }

/* Tempo de leitura no artigo */
.article-read-time {
  color: var(--gray-light);
  font-size: 0.82rem;
  margin-left: 14px;
}

/* =============================================
   PÁGINA ELENCO
   ============================================= */
.elenco-page { padding: 32px 0 72px; }


/* Filtros por posição */
.elenco-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.elenco-filter-btn {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}
.elenco-filter-btn:hover {
  border-color: var(--dark);
  color: var(--dark);
}
.elenco-filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* Sub-título dentro do grupo Defensores */
.elenco-subsection {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-light);
  margin: 20px 0 12px;
}
.elenco-subsection:first-of-type { margin-top: 16px; }

/* Seção por posição */
.elenco-section { margin-bottom: 52px; }

.elenco-section-title {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--dark);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Grid: 6 colunas desktop → 4 tablet → 3 mobile → 2 small */
.player-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* Card: foto preenche tudo, texto sobreposto */
.player-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #111;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.player-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

/* Foto ocupa o card todo */
.player-photo-wrap {
  position: absolute;
  inset: 0;
}
.player-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Badge da camisa — canto superior direito */
.player-num {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 5px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.player-num::before {
  content: 'CAMISA';
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.75;
}

/* Info sobreposta na parte inferior com gradiente */
.player-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.93) 0%, rgba(0,0,0,0.68) 55%, transparent 100%);
  padding: 44px 12px 16px;
  z-index: 2;
}
.player-name {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 5px;
}
.player-pos {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 4px;
}
.player-nat {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* Responsivo */
@media (max-width: 1200px) {
  .player-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1024px) {
  .player-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .elenco-banner { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .player-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
}
@media (max-width: 400px) {
  .player-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .elenco-banner { padding: 24px 20px; }
}

/* =============================================
   API — mensagens de status (football-api.js)
   ============================================= */
.api-msg {
  font-size: .82rem;
  color: var(--gray-light);
  padding: 10px 0;
}
.api-msg--error {
  color: var(--red);
}
td.api-msg,
td.api-msg--error {
  text-align: center;
  padding: 20px;
  font-size: .82rem;
}
.api-msg--note {
  color: var(--gray-light);
  font-style: italic;
}

/* =============================================
   Paulistão — Histórico
   ============================================= */
.historico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.historico-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition);
}
.historico-card:hover { box-shadow: var(--shadow); }
.historico-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.historico-ano {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: .8rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .02em;
}
.historico-posicao {
  font-size: .78rem;
  color: var(--gray);
}
.historico-campanha {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 10px;
  color: var(--black);
}
.historico-jogos {
  list-style: none;
  padding: 0;
  font-size: .8rem;
  color: var(--gray);
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.historico-jogos li {
  padding: 4px 0;
  border-bottom: 1px solid var(--light-2);
}
.historico-jogos li:last-child { border-bottom: none; }
.historico-obs {
  font-size: .78rem;
  color: var(--gray-light);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .historico-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Copa do Brasil — Cards Jogo de Ida / Volta
   ============================================= */
.cdb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.cdb-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: box-shadow var(--transition);
}
.cdb-card:hover { box-shadow: var(--shadow); }

/* topo preto */
.cdb-card-topo {
  background: var(--black);
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.cdb-card-topo-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cdb-card-comp {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.1em;
}
.cdb-card-fase {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.04em;
}
.cdb-card-topo-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.cdb-card-tipo {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.cdb-card-data {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}

/* corpo */
.cdb-card-corpo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 18px;
  gap: 6px;
}
.cdb-card-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.cdb-card-escudo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.cdb-card-time-nome {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}
.cdb-card-centro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  min-width: 72px;
}
.cdb-card-placar {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cdb-card-sep { color: var(--gray-light); font-weight: 300; font-size: 1.6rem; }
.cdb-card-vs  { color: var(--gray-light); font-weight: 300; font-size: 1.6rem; }

/* badge de status */
.cdb-card-status {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cdb-status--vitoria { background: rgba(0,168,85,0.12); color: #00a855; }
.cdb-status--empate  { background: rgba(0,100,200,0.1);  color: #0064c8; }
.cdb-status--derrota { background: rgba(200,0,10,0.1);   color: var(--red); }
.cdb-status--neutro  { background: var(--light-2); color: var(--gray); }

/* rodapé */
.cdb-card-rodape {
  padding: 8px 14px 12px;
  font-size: 0.76rem;
  color: var(--gray-light);
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 500px) {
  .cdb-cards { grid-template-columns: 1fr; }
}

/* =============================================
   Paulistão — Histórico por Temporada
   ============================================= */
.paul-temporadas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.paul-temp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition);
}

.paul-temp-card:hover { box-shadow: var(--shadow); }

.paul-temp-card--titulo {
  border-color: var(--yellow);
  border-left: 4px solid var(--yellow);
}

.paul-temp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.paul-temp-ano {
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.paul-temp-pos {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.paul-temp-pos--campeao {
  color: var(--yellow-dark);
  font-weight: 700;
}

.paul-temp-campanha {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--black);
  margin-bottom: 12px;
}

.paul-temp-jogos {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-bottom: 10px;
}

.paul-temp-jogos li {
  font-size: 0.83rem;
  color: var(--gray);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-2);
  line-height: 1.4;
}

.paul-temp-jogos li:last-child { border-bottom: none; }

.paul-jogo-fase {
  font-weight: 700;
  color: var(--dark);
}

.paul-jogo-data {
  color: var(--gray-light);
}

.paul-temp-resumo {
  font-size: 0.82rem;
  color: var(--gray-light);
  font-style: italic;
  line-height: 1.55;
  margin-top: 8px;
}

/* ── Ocultar temporariamente: Colunas e Loja do menu principal ──────────
   Para reativar, remover ou comentar estas duas regras.
   ─────────────────────────────────────────────────────────────────────── */
.main-nav li:has(> a[href="opiniao.html"]),
.main-nav li:has(> a.nav-shop) {
  display: none !important;
}
.card:hover .card-title,
.card:hover .card-summary,
.card:hover p,
.card:hover span {
    color: #fff !important;
}

/* nm-mobile-info: hidden on desktop, shown on mobile */
.nm-mobile-info { display: none; }

/* =============================================
   BREAKING BAR — MOBILE
   ============================================= */
@media (max-width: 580px) {
  .breaking-bar { padding: 5px 0 7px; overflow: visible; }
  .breaking-bar .container {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    overflow: visible;
  }
  .nm-label { font-size: 0.56rem; padding: 2px 7px; }
  .nm-content {
    width: 100%;
    justify-content: center;
    gap: 7px;
    overflow: visible;
    flex-wrap: nowrap;
  }
  .nm-team { font-size: 0.82rem; }
  .nm-crest { width: 19px; height: 19px; }
  .nm-divider { display: none; }
  .nm-content > .nm-info { display: none; }
  .nm-cta { display: none; }
  .nm-mobile-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #333;
    line-height: 1;
  }
  .nm-mi-sep { color: var(--yellow); font-weight: 900; }
}

/* =============================================
   FOOTER — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 0 8px;
  }
  .footer-tagline { display: none; }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
  .footer-links a { font-size: 0.7rem; }
  .footer-social { gap: 20px; }
  .footer-social svg { width: 20px; height: 20px; }
  .footer-bottom {
    padding: 8px 0;
    font-size: 0.68rem;
  }
}

/* =============================================
   ESCALAÇÃO — TOUCH MOBILE
   ============================================= */
@media (max-width: 768px) {
  /* Permite scroll vertical natural no painel de elenco */
  .esc-roster-card { touch-action: pan-y; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
#p77-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #111;
  border-top: 2px solid var(--yellow);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-family: var(--font);
}
#p77-cookie-banner.p77-cookie-show {
  opacity: 1;
  transform: translateY(0);
}
#p77-cookie-banner.p77-cookie-hide {
  opacity: 0;
  transform: translateY(100%);
}
.p77-cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.p77-cookie-text {
  color: #ccc;
  font-size: 0.82rem;
  line-height: 1.5;
  flex: 1;
}
.p77-cookie-btn {
  flex-shrink: 0;
  background: var(--yellow);
  color: #111;
  border: none;
  border-radius: var(--radius);
  padding: 9px 22px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.p77-cookie-btn:hover {
  background: var(--yellow-dark);
  transform: scale(1.03);
}
@media (max-width: 600px) {
  .p77-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
  .p77-cookie-text { font-size: 0.78rem; }
  .p77-cookie-btn {
    width: 100%;
    padding: 11px;
    font-size: 0.82rem;
    text-align: center;
  }
}
