.rtr-ad-placement{box-sizing:border-box;clear:both;width:100%;max-width:970px;margin:36px auto;padding:0;text-align:center;break-inside:avoid;font-family:inherit}
.rtr-ad-label{display:block;margin-bottom:8px;font-size:11px;font-weight:400;line-height:1.4;letter-spacing:.06em;color:#536575;text-transform:uppercase}
.rtr-ad-placeholder{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:100px;padding:16px;border:1px dashed #92afbf;border-radius:8px;background:#f4f8fa;color:#38515f;text-align:center;font-size:14px;line-height:1.4}
.rtr-ad-placeholder strong{font-size:16px}.rtr-ad-placeholder small{font-size:12px}.rtr-ad-rectangle{max-width:336px}.rtr-ad-rectangle .rtr-ad-placeholder{min-height:250px}
.rtr-ad-admin{max-width:1280px;padding:10px 16px 30px 0}.rtr-ad-admin h1{color:#9f2035}.rtr-ad-admin-lead{font-size:16px;color:#38515f}.rtr-ad-note{padding:18px 22px;margin:20px 0;background:#fff;border:1px solid #d6e2e9;border-left:4px solid #2b638c;border-radius:5px}.rtr-ad-note p:last-child{margin-bottom:0}.rtr-ad-note summary{font-weight:600;cursor:pointer}.rtr-ad-settings{display:flex;gap:24px;flex-wrap:wrap}.rtr-ad-settings label{display:block;font-weight:600;margin-bottom:8px}.rtr-ad-admin small{display:block;margin-top:5px;color:#52616a}.rtr-ad-table-wrap{overflow-x:auto}.rtr-ad-admin table{min-width:900px}.rtr-ad-admin td{vertical-align:middle;padding:14px 10px}.rtr-ad-admin td input:not([type=checkbox]),.rtr-ad-admin td select{width:100%;max-width:240px}.rtr-ad-admin .large-text{max-width:700px}.rtr-ad-admin h2{margin-top:28px}
@media(max-width:600px){.rtr-ad-placement{margin:28px auto}.rtr-ad-placeholder{padding:14px;font-size:12px}.rtr-ad-placeholder strong{font-size:14px}.rtr-ad-admin{padding-right:6px}.rtr-ad-settings{display:block}}
@media print{.rtr-ad-placement{display:none!important}}

/* Homepage-only preview: the opening hero and grade-group clouds stay clear. */
.rtr-ad-skyscraper{max-width:160px}
.rtr-ad-skyscraper .rtr-ad-placeholder{min-height:600px}
.rtr-ad-vertical{max-width:160px}
.rtr-ad-vertical .rtr-ad-placeholder{min-height:350px}
body.home .rtr-home-ad-region{position:relative;margin:0!important;padding:0!important;max-width:none!important;width:100%}
body.home .rtr-home-ad-region>.wp-block-group__inner-container{margin:0;padding:0;max-width:none}
body.home .rtr-home-ad-region .rtr-home-ad-rail{display:none}
body.home .rtr-home-ad-region .alignfull{width:100%;max-width:100%;margin-left:0;margin-right:0}
@media(min-width:1536px){
 body.home .rtr-home-ad-region .rtr-home-ad-rail{display:block;position:absolute;top:56px;width:160px;margin:0!important;padding:0;z-index:2}
 body.home .rtr-home-ad-region .rtr-home-ad-rail--left{left:calc(50% - 744px)}
 body.home .rtr-home-ad-region .rtr-home-ad-rail--right{right:calc(50% - 744px);bottom:64px}
 body.home .rtr-home-ad-rail>.wp-block-group__inner-container{height:100%;margin:0;padding:0}
 body.home .rtr-home-ad-rail .rtr-ad-placement{width:160px;max-width:160px;margin:0!important}
 body.home .rtr-home-ad-rail .rtr-ad-placeholder{min-height:600px;padding:16px 12px;background:#f5f7f8;border-color:#bdcbd3;border-radius:4px}
 body.home .rtr-home-ad-rail .rtr-ad-placeholder strong{font-size:15px}
 body.home .rtr-home-ad-rail .rtr-ad-placeholder span{font-size:12px}
 body.home .rtr-home-ad-rail .rtr-ad-placeholder small{font-size:11px}
}
/* Both homepage pairs are static and stay within their own content section. */
body.home .rtr-home-ad-rail .rtr-ad-placement{position:static;top:auto}
body.home .rtr-home-reading:has(.rtr-home-ad-rail){position:relative}
@media(min-width:1536px){
 body.home .rtr-home-reading .rtr-home-ad-rail{top:60px;bottom:auto}
 body.home .rtr-home-reading .rtr-home-ad-rail .rtr-ad-vertical{width:120px;max-width:120px;margin:0 auto!important}
 body.home .rtr-home-reading .rtr-home-ad-rail .rtr-ad-vertical .rtr-ad-placeholder{min-height:350px}
}
@media print{body.home .rtr-home-ad-region .rtr-home-ad-rail{display:none!important}}

/* The left slots become two section breaks on narrower screens. Their blocks
   follow each section in document order, so no duplicate ad requests are needed. */
@media(max-width:1535px){
 body.home .rtr-home-ad-region .rtr-home-ad-rail--left{display:block;position:static;inset:auto;width:min(300px,calc(100% - 40px));margin:0 auto 36px!important;padding:0}
 body.home .rtr-home-reading .rtr-home-ad-rail--left{margin:36px auto 0!important}
 body.home .rtr-home-ad-region .rtr-home-ad-rail--right{display:none}
 body.home .rtr-home-ad-rail .rtr-ad-placement{position:static;width:100%;max-width:none;margin:0!important}
 body.home .rtr-home-ad-rail .rtr-ad-placeholder{min-height:250px;padding:20px;background:#f5f7f8;border-color:#bdcbd3;border-radius:4px}
 body.home .rtr-home-ad-region .rtr-home-ad-rail:not(:has(.rtr-ad-placement)){display:none}
}

/* Third homepage preview is an inline banner on narrower screens only. */
body.home .rtr-home-mobile-ad{display:none}
@media(max-width:1535px){
 body.home .rtr-home-mobile-ad{display:block;width:min(728px,calc(100% - 48px));margin:36px auto!important;padding:0}
 body.home .rtr-home-mobile-ad .rtr-ad-placement{width:100%;max-width:none;margin:0!important}
 body.home .rtr-home-mobile-ad .rtr-ad-placeholder{min-height:100px;padding:12px 16px;gap:4px;background:#f5f7f8;border-color:#bdcbd3;border-radius:4px}
 body.home .rtr-home-mobile-ad .rtr-ad-placeholder strong{font-size:14px}
 body.home .rtr-home-mobile-ad .rtr-ad-placeholder span{display:none}
}
@media print{body.home .rtr-home-mobile-ad{display:none!important}}

/* Configurable blocks. Presets and screen visibility are saved on each block. */
.rtr-ad-responsive{display:block;width:100%!important;max-width:var(--rtr-ad-desktop-width)!important;height:auto!important;margin:36px auto}
.rtr-ad-responsive .rtr-ad-placeholder{height:var(--rtr-ad-desktop-height)!important;min-height:var(--rtr-ad-desktop-height)!important;padding:12px!important;gap:4px}
.rtr-ad-responsive .rtr-ad-placeholder span{display:none}
.rtr-ad-responsive .rtr-ad-placeholder strong{font-size:14px!important}
.rtr-ad-responsive .rtr-ad-placeholder small{font-size:11px!important}
@media(min-width:1536px){.rtr-ad-responsive.rtr-ad-hide-desktop:not(.rtr-ad-editor-preview){display:none!important}}
@media(min-width:768px) and (max-width:1535px){
 .rtr-ad-responsive{max-width:var(--rtr-ad-tablet-width)!important}
 .rtr-ad-responsive .rtr-ad-placeholder{height:var(--rtr-ad-tablet-height)!important;min-height:var(--rtr-ad-tablet-height)!important}
 .rtr-ad-responsive.rtr-ad-hide-tablet:not(.rtr-ad-editor-preview){display:none!important}
}
@media(max-width:767px){
 .rtr-ad-responsive{max-width:var(--rtr-ad-mobile-width)!important}
 .rtr-ad-responsive .rtr-ad-placeholder{height:var(--rtr-ad-mobile-height)!important;min-height:var(--rtr-ad-mobile-height)!important}
 .rtr-ad-responsive.rtr-ad-hide-mobile:not(.rtr-ad-editor-preview){display:none!important}
}
.rtr-ad-editor-note{display:block;color:#536575;margin-top:8px;font-size:12px}
@media print{.rtr-ad-responsive{display:none!important}}
/* Legacy homepage rails remain editable when responsive controls are enabled. */
@media(min-width:768px) and (max-width:1535px){
 body.home .rtr-home-ad-region .rtr-home-ad-rail:has(.rtr-ad-responsive.rtr-ad-hide-tablet){display:none!important}
 body.home .rtr-home-ad-region .rtr-home-ad-rail--right:has(.rtr-ad-responsive:not(.rtr-ad-hide-tablet)){display:block;position:static;inset:auto;width:min(728px,calc(100% - 48px));margin:36px auto!important;padding:0}
}
@media(max-width:767px){
 body.home .rtr-home-ad-region .rtr-home-ad-rail:has(.rtr-ad-responsive.rtr-ad-hide-mobile){display:none!important}
 body.home .rtr-home-ad-region .rtr-home-ad-rail--right:has(.rtr-ad-responsive:not(.rtr-ad-hide-mobile)){display:block;position:static;inset:auto;width:calc(100% - 48px);margin:36px auto!important;padding:0}
}

/* Shared book / series boundaries. One slot per boundary, no sticky or floating ads. */
[data-rtr-ad-pool][hidden]{display:none!important}
body .rtr-auto-ad-anchor{display:block!important;position:relative!important;clear:both;float:none!important;list-style:none!important;grid-column:1/-1;width:100%;max-width:none;margin:40px 0!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important}
body .rtr-auto-ad-anchor>.rtr-ad-placement.rtr-ad-responsive{position:static!important;inset:auto!important;width:calc(100% - 32px)!important;max-width:728px!important;margin:0 auto!important}
body .rtr-auto-ad-anchor .rtr-ad-placeholder{height:100px!important;min-height:100px!important}
@media(min-width:1600px){
 body .rtr-auto-ad-anchor.rtr-auto-ad-wide{height:0!important;min-height:0!important;margin:0!important;overflow:visible!important}
 body .rtr-auto-ad-anchor.rtr-auto-ad-wide>.rtr-ad-placement.rtr-ad-responsive{position:absolute!important;top:0!important;left:var(--rtr-flow-left)!important;right:auto!important;width:160px!important;max-width:160px!important;margin:0!important}
 body .rtr-auto-ad-anchor.rtr-auto-ad-wide .rtr-ad-placeholder{height:600px!important;min-height:600px!important}
}
@media print{body .rtr-auto-ad-anchor{display:none!important}}
