.web-ad-slot{box-sizing:border-box;max-width:100%;text-align:center;clear:both;margin:20px auto;overflow:hidden}
.web-ad-slot[hidden]{display:none!important}
.web-ad-custom>a{display:inline-block;max-width:100%;vertical-align:top;line-height:0;border-radius:4px;overflow:hidden}
.web-ad-custom img{display:block;max-width:100%;width:auto;height:auto;object-fit:contain}
.web-ad-custom>a:focus-visible{outline:2px solid #1681ef;outline-offset:3px}
.header .web-ad-header{float:left;clear:none;width:728px;max-width:calc(100% - 300px);min-height:0;height:auto;margin:12px 0;background:transparent;line-height:normal}
.web-ad-mid_screen{width:100%;margin-block:24px}
.web-ad-sidebar{width:100%;margin-block:20px}
@media(max-width:1069px){.header .web-ad-header{float:none;clear:both;max-width:100%;width:100%;margin:18px auto 8px}}

/* Center the logo and banner vertically without the legacy translate/float offsets. */
.header_container .header{display:flex;align-items:center;justify-content:space-between;direction:rtl;gap:20px;padding-block:12px}
.header_container .header.clearfix::after{content:none}
.header_container .header .logo{float:none;flex:0 0 auto;height:auto;margin:0}
.header_container .header .logo a{float:none;display:block;position:static;top:auto;transform:none}
.header_container .header .logo img{display:block}
.header_container .header .web-ad-header{float:none;flex:0 1 728px;margin:0}
@media(max-width:1069px){.header_container .header{flex-direction:column;gap:16px}.header_container .header .web-ad-header{flex:0 0 auto;margin:0;max-width:100%}}
