/* Ad Sidebar Layout Styles */

/* Content wrapper for main + sidebar layout */
.content-wrapper {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 2rem;
}

/* Main content area adjustment */
.main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 0;
}

/* Left sidebar for ads */
.ad-sidebar-left {
  width: 180px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Right sidebar for ads */
.ad-sidebar {
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  height: fit-content;
}

/* Native ad container styling */
.native-ad-container {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
}

/* Left ad container styling */
.left-ad-container {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  box-shadow: var(--shadow-light);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ad header */
.ad-header {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
  .content-wrapper {
    max-width: 100%;
  }
  
  .ad-sidebar-left {
    width: 160px;
  }
  
  .ad-sidebar {
    width: 250px;
  }
}

@media (max-width: 1400px) {
  /* Hide left sidebar on medium screens */
  .ad-sidebar-left {
    display: none;
  }
  
  .content-wrapper {
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .main-content {
    max-width: 100%;
  }
  
  /* Show left ads horizontally above content */
  .ad-sidebar-left {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 728px;
    position: relative;
    top: 0;
    justify-content: center;
    gap: 1rem;
  }
  
  .ad-sidebar {
    width: 100%;
    max-width: 728px;
    position: relative;
    top: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 1rem;
  }
  
  .native-ad-container {
    padding: 0.75rem;
  }
}

/* Ensure ad content fits properly */
#container-2cd34239364c1cae0baa2405e5a158a2 {
  width: 100%;
  min-height: 200px;
}
