/* Left & right sticky AdSense rails for wide screens (>= 1280px).
   Hidden below 1280px so mobile/tablet layouts stay untouched. */

.ad-rails-frame {
  width: 100%;
  box-sizing: border-box;
}

.ad-rails-center {
  width: 100%;
  min-width: 0;
}

.ad-rail {
  display: none;
}

@media (min-width: 1280px) {
  .ad-rails-frame {
    --ad-rail-w: 160px;
    display: grid;
    grid-template-columns: var(--ad-rail-w) minmax(0, 1200px) var(--ad-rail-w);
    justify-content: center;
    align-items: start;
    gap: 12px;
    padding-inline: 12px;
  }

  .ad-rail {
    display: block;
    position: sticky;
    top: 96px;
    align-self: start;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .ad-rail .adsbygoogle {
    display: block;
    width: 100%;
  }
}

@media (min-width: 1560px) {
  .ad-rails-frame {
    --ad-rail-w: 220px;
    gap: 16px;
  }
}

@media (min-width: 1800px) {
  .ad-rails-frame {
    --ad-rail-w: 260px;
    gap: 20px;
  }
}
