.contenedor {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--content-padding, 24px);
  gap: 1rem;
  align-items: start;
}

.panelIzquierdo {
  position: sticky;
  top: calc(var(--navbar-height, 72px) + 1rem);
  height: fit-content;
  width: 100%;
}

.panelDerecho {
  position: sticky;
  top: calc(var(--navbar-height, 72px) + 1rem);
  height: fit-content;
  width: 100%;
}

.contenidoPrincipal {
  margin: 0;
  padding-top: 1rem;
}

.subBanner {
  width: 100%;
}



.anuncioWrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.anuncioEnlace {
  display: block;
  text-decoration: none;
  color: inherit;
}

.anuncioImagen {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.anuncioScript {
  max-width: 100%;
  overflow: hidden;
}

.anunciosMobile {
  width: 100%;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.anuncioPlaceholder {
  display: none;
}

.skeletonAd {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skeletonBlock {
  background: var(--bg-secondary, #2a2a2a);
  border-radius: 0.5rem;
  animation: skeletonPulse 1.8s ease-in-out infinite;
}

.skeletonBlock:nth-child(1) {
  width: 100%;
  height: calc(100vh - var(--navbar-height, 72px) - 5rem);
}

.skeletonBlock:nth-child(2) {
  width: 80%;
  height: 14px;
}

.skeletonBlock:nth-child(3) {
  width: 60%;
  height: 14px;
}

@keyframes skeletonPulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.15;
  }
}

.placeholder {
  background-color: var(--bg-secondary);
  height: 100px;
  border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor {
    grid-template-columns: 100%;
    grid-template-rows: auto 1fr auto;
    padding: 0;
  }
  
  .panelIzquierdo,
  .panelDerecho,.anuncioWrapper,.anunciosMobile {  
      display: none;
      visibility: hidden;
  }
}

