/* Offertasker explicit ad inventory. Never rewrite an ad network creative. */
.ot-sized-ad {display:block;max-width:100%;margin:24px auto;text-align:center;overflow-x:auto;overflow-y:visible;background:transparent;box-shadow:none;border:0}
.ot-sized-ad .ad-slot,.ot-sized-ad .ad-content {margin:0 auto;max-width:100%;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
.ot-ad-728x90{width:728px;min-height:90px}
.ot-ad-468x60{width:468px;min-height:60px}
.ot-ad-300x250{width:300px;min-height:250px}
.ot-ad-160x600{width:160px;min-height:600px}
.ot-home-ad-shell {width:100%;max-width:1620px;margin:0 auto;min-width:0}
.ot-home-ad-shell-no-rails {display:block}
.ot-home-ad-shell-has-rails {display:grid;grid-template-columns:160px minmax(0,1fr) 160px;gap:16px;align-items:start}
.ot-home-ad-shell>.fc-container{min-width:0;width:100%}
.ot-home-ad-shell-no-rails>.fc-container{max-width:1180px}
.ot-home-rail{width:160px;max-width:100%;position:sticky;top:96px;min-width:0;z-index:1}
.ot-home-rail-left{grid-column:1;grid-row:1}.ot-home-ad-shell>.fc-container{grid-column:2;grid-row:1}.ot-home-rail-right{grid-column:3;grid-row:1}
.ot-home-rail .ot-sized-ad{width:160px;max-width:100%;margin:18px auto}
.ot-home-medium-grid{display:flex;align-items:start;justify-content:center;flex-wrap:wrap;gap:28px;margin:22px auto;max-width:100%;min-width:0}
.ot-home-medium-grid .ot-sized-ad{margin:0}
/* Shift side ads below the page rather than overlap homepage content. */
@media (max-width:1550px){
 .ot-home-ad-shell-has-rails{grid-template-columns:1fr 1fr;max-width:1180px;column-gap:16px;row-gap:15px}
 .ot-home-ad-shell>.fc-container{grid-column:1/-1;grid-row:1}
 .ot-home-rail{position:static;grid-row:2;justify-self:center}
 .ot-home-rail-left{grid-column:1}.ot-home-rail-right{grid-column:2}
}
@media (max-width:600px){
 .ot-home-medium-grid{gap:18px}
 .ot-home-ad-shell-has-rails{column-gap:8px}
 .ot-home-rail{max-width:100%}
 .ot-ad-728x90,.ot-ad-468x60{max-width:100%;overflow-x:auto}
 .ot-ad-300x250{max-width:100%}
}

/* The homepage theme's generic ad CSS must not crop fixed-size creatives. */
.fc-home .ot-sized-ad .ad-slot,.fc-home .ot-sized-ad .ad-content{overflow:visible!important;max-width:none}
.fc-home .ot-home-medium-grid .ot-sized-ad .ad-slot{max-width:none}
