/*
 * WordPress-specific additions ONLY. The delivered design CSS (site.css / home.css) is untouched.
 * 1. Post content written in the block editor (plain lists, images, captions): bullets and links stay visible.
 * 2. Logged-in admin bar offset for the fixed header.
 * 3. Accessibility helper.
 */

/* 1. Post content */
.prose ul:not(.bul),.prose ol:not(.m-steps){margin:0 0 1.2em;padding-left:1.5em}
.prose ul:not(.bul){list-style:disc}
.prose ol:not(.m-steps){list-style:decimal}
.prose ul:not(.bul) li,.prose ol:not(.m-steps) li{margin-bottom:.4em;padding-left:.2em}
.prose ul:not(.bul) li::marker,.prose ol:not(.m-steps) li::marker{color:var(--ac)}
.prose h3,.prose h4{margin:1.4em 0 .5em;line-height:1.2}
.prose img{height:auto}
.prose figure{margin:0 0 1.2em}
.prose figure figcaption{font-size:13px;color:var(--mut);margin-top:8px;line-height:1.4}

/* Images, video and YouTube in post content: same width as the text column, rounded corners.
   Not touched: the design modules (.m-tb .m-img = text + image) and the round author photo. */
.prose>p>img,.prose>p>a>img,
.prose figure:not(.m-img) img,
.prose .wp-caption img{display:block;width:100%!important;max-width:100%!important;height:auto!important;border-radius:var(--bild-radius)}
.prose .wp-block-image,.prose .wp-block-video,.prose .wp-block-embed,.prose .wp-caption{width:100%!important;max-width:100%!important;margin-left:0;margin-right:0}
.prose .alignleft,.prose .alignright,.prose .aligncenter{float:none!important;display:block;margin:0 0 1.2em!important}
.prose video{display:block;width:100%;max-width:100%;height:auto;border-radius:var(--bild-radius)}
.prose iframe{display:block;width:100%;max-width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:var(--bild-radius)}
.prose .wp-block-embed__wrapper{width:100%}
.toc[hidden]{display:none}

/* Robustness: a broken or very large image must never widen a grid cell and squeeze its neighbours
   (WordPress adds srcset + sizes="auto" to lazy images; a broken one would otherwise count as its largest candidate wide). */
.grid3>*,.rows>*,.lat-grid>*,.lat-side>*,.lat-row>*,.menu-list>*,.tips-cards>*,.team-grid>*,.ab-list>*,.bento>*{min-width:0}
.ph{min-width:0;max-width:100%}
.ph img{max-width:100%}

/* 2. Admin bar */
.admin-bar .hdr,.admin-bar .progress{top:32px}
.admin-bar .chips{top:calc(var(--hh) + 32px)}
@media (max-width:782px){
  .admin-bar .hdr,.admin-bar .progress{top:46px}
  .admin-bar .chips{top:calc(var(--hh) + 46px)}
}

/* 3. Screen reader text */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
