/* WordPress-tillägg till utkastets stilmall. Designen ligger i main.css. */

/* Fältomslag runt lös text får inte påverka layouten */
.pe-t { font: inherit; color: inherit; }

/* I redigeringsläget ska allt synas direkt – ett gömt fält går inte att klicka i */
body.pe-editing [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Skräppostfällan */
.pe-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Besked efter insändning utan JavaScript */
.form-note { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--tint-mint, #e3f7ec); color: #0f5a37; font-weight: 600; }

/* Innehåll från blockredigeraren i artiklarna */
.prose .wp-block-image img, .prose figure img { max-width: 100%; height: auto; border-radius: 16px; }
.prose figure { margin: 1.6rem 0; }
.prose .wp-block-image figcaption, .prose figcaption { font-size: .9rem; opacity: .75; margin-top: .4rem; }
.prose .faq-list { margin-top: 1rem; }
.alignwide { max-width: min(1100px, 100%); }
.alignfull { width: 100%; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.news-empty { text-align: center; opacity: .7; }

/* Adminfältet tar 32 px (46 px i smal vy) överst – logotypen ligger fritt och måste flyttas med */
body.admin-bar .logo { margin-top: 32px; }
@media (max-width: 782px) { body.admin-bar .logo { margin-top: 46px; } }
