/* THSJ Ad Board – front end */
.thsj-ab{clear:both;display:block;margin:28px auto;max-width:100%;overflow:hidden;text-align:center;line-height:0;box-sizing:border-box}
.thsj-ab *,.thsj-ab *::before,.thsj-ab *::after{box-sizing:border-box}
.thsj-ab--sidebar_first,.thsj-ab--sidebar_last{margin:0 0 28px}
.thsj-ab--top{margin-top:0}

.thsj-ab-label{display:block;margin:0 0 8px;font:600 10px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8b8f97}

/* Desktop / Mobile variants. The breakpoint rules are added inline from Settings. */
.thsj-ab-v{max-width:100%}
.thsj-ab-m{display:none}
.thsj-ab.only-m{display:none}

.thsj-ab-box{position:relative;display:inline-block;max-width:100%;vertical-align:top}
.thsj-ab-link{display:block;max-width:100%;line-height:0}

/* Responsive fallback: any image or video shrinks with the screen and keeps its ratio. */
.thsj-ab-img,.thsj-ab-video{display:block;max-width:100%;height:auto;margin:0 auto}
.thsj-ab-video{background:#000}

/* Ad code */
.thsj-ab-code{display:block;width:100%;line-height:normal;text-align:center}
.thsj-ab-inner{position:relative;max-width:none}
.thsj-ab-code ins,.thsj-ab-code iframe{max-width:100%}

/* Sound button */
.thsj-ab-snd{position:absolute;right:8px;bottom:8px;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:0;transition:background .15s}
.thsj-ab-snd:hover{background:rgba(0,0,0,.82)}
.thsj-ab-snd:focus-visible{outline:2px solid #fff;outline-offset:2px}
.thsj-ab-snd svg{fill:currentColor}
.thsj-ab-snd .on{display:none}
.thsj-ab-snd.is-on .on{display:inline}
.thsj-ab-snd.is-on .off{display:none}
