/* Visibility and consistency pass across the approved template. */
body.magazine-preview :is(main,.site-footer,dialog) :is(p,li,h2,h3,h4,a,button,label,figcaption){overflow-wrap:break-word}
body.magazine-preview :is(.section-heading,.section-lead,.heritage-biography,.heritage-story,.founder__content,.managed-card__body,.permanent-article__text,.begin__intro,.contact__actions,.footer-columns>div){min-width:0}
body.magazine-preview .section--paper .system-principles span{color:var(--paper-text)!important;border-color:#a98f68;background:transparent;font-size:15px;line-height:1.5}
body.magazine-preview .section--paper :is(.pathway article>span,.begin-steps li>span){color:#921016!important;border-color:#a98f68;font-size:15px;font-weight:700}
body.magazine-preview .section--paper :is(.managed-card__actions a,.managed-card__actions button,.managed-card__source-caption strong){color:#921016!important}
body.magazine-preview .section--dark :is(.managed-card__actions a,.managed-card__actions button,.philosophy-card__link){color:var(--readmore-gold)!important}
body.magazine-preview .section--dark :is(.philosophy-card,.philosophy-card figcaption){background:#0b0b0b!important}
body.magazine-preview .page-section .philosophy-subsection__head{display:block;margin-bottom:24px}
body.magazine-preview .page-section .philosophy-subsection__head h3{text-align:left;max-width:none;margin-top:8px}
body.magazine-preview .philosophy-card figcaption{height:auto;max-height:none;overflow:visible}
body.magazine-preview .managed-card__body :is(h3,p){max-width:100%;white-space:normal}
body.magazine-preview .managed-card__body .managed-summary{white-space:pre-wrap}
body.magazine-preview .managed-card__actions{row-gap:12px;column-gap:18px}
body.magazine-preview .managed-card__actions a,body.magazine-preview .managed-card__actions button{white-space:normal;text-align:left}
body.magazine-preview .contact__actions small{color:#fff!important;font-size:15px;overflow-wrap:anywhere}
body.magazine-preview :is(.reading-dialog,.article-reader,.contact-dialog,.photo-viewer){background:#080808;color:#f3e7d6}
body.magazine-preview :is(.reading-dialog,.article-reader,.contact-dialog) :is(p,label,input,textarea){color:#f3e7d6}
body.magazine-preview .contact-dialog input,body.magazine-preview .contact-dialog textarea{background:#111;border-color:#9b8262;min-width:0;max-width:100%}
body.magazine-preview .contact-dialog__header,body.magazine-preview .article-reader header{flex-wrap:wrap}
body.magazine-preview .document-scroll{background:#080808}
body.magazine-preview .reading-toggle[aria-expanded=true]{max-width:100%}
@media(max-width:900px){
 body.magazine-preview .philosophy-deck{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.magazine-preview .managed-grid--philosophy-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body.magazine-preview .section-heading .section-title,body.magazine-preview main .section-title{max-width:100%}
 body.magazine-preview .philosophy-deck,body.magazine-preview .managed-grid--philosophy-posts{grid-template-columns:minmax(0,1fr)}
 body.magazine-preview .heritage-biography h4{overflow-wrap:break-word}
 body.magazine-preview .contact-dialog__fields{grid-template-columns:minmax(0,1fr)}
 body.magazine-preview .integrated-brand{min-width:0}
 body.magazine-preview .integrated-topbar .nav-toggle{min-width:0;flex-shrink:0}
 body.magazine-preview .integrated-topbar .menu-language{min-width:0}
 body.magazine-preview main p{text-align:left;text-align-last:auto;hyphens:none}
}
@media(max-width:380px){
 body.magazine-preview .integrated-brand img{width:30px;height:30px}
 body.magazine-preview .integrated-brand strong{font-size:15px}
 body.magazine-preview .integrated-brand span{font-size:15px}
 body.magazine-preview .integrated-topbar .topbar__inner{gap:5px}
 body.magazine-preview .integrated-topbar .menu-language select{max-width:65px}
 body.magazine-preview .integrated-topbar .nav-toggle{padding:7px 6px}
}
