/* Same font stack as the HEINE theme; no external font requests. */
.heine-news-content{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;font-weight:400;line-height:1.65;color:#31574b;overflow-wrap:anywhere;display:flow-root}
body.heine-news-content{box-sizing:border-box;max-width:780px;margin:0 auto;padding:20px;background:#fff}
.heine-news-content .heine-news-video{position:relative;width:100%;max-width:600px;margin:24px auto;overflow:hidden;border-radius:22px;background:#0b3429;isolation:isolate;line-height:0}
.heine-news-content .heine-news-video video{display:block;width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:contain;background:#0b3429}
.heine-news-video-play{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;background:rgb(0 0 0 / .12);cursor:pointer}
.heine-news-video-play span{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:rgb(49 65 58 / .75);color:white;font-size:26px;line-height:1;padding-left:4px}
.heine-news-video-play[hidden]{display:none}
.heine-news-video-play:focus-visible{outline:3px solid #2fac81;outline-offset:-4px}
.heine-news-content p{font-size:inherit;line-height:inherit;font-weight:400;margin:0 0 1em;color:inherit}
.heine-news-content h2,.heine-news-content h3{font-family:inherit;font-weight:650;color:#17624d;letter-spacing:-.025em;line-height:1.2;margin:1.4em 0 .55em}
.heine-news-content h2{font-size:30px}.heine-news-content h3{font-size:23px}
.heine-news-content strong,.heine-news-content b{font-weight:650}
.heine-news-content a{color:#17624d;font-weight:500;text-decoration:none;transition:color .15s}
.heine-news-content a:hover{color:#2fac81;text-decoration:none}
.heine-news-content a:focus-visible{outline:2px solid #2fac81;outline-offset:3px}
.heine-news-content ul,.heine-news-content ol{padding-left:1.5em;margin:0 0 1em}
.heine-news-content li{margin:.25em 0}
.heine-news-content blockquote{margin:1.4em 0;padding:8px 0 8px 20px;border-left:3px solid #2fac81;color:#526e63}
.heine-news-content blockquote p:last-child{margin-bottom:0}
.heine-news-content img{max-width:100%;height:auto;border-radius:12px}
.heine-news-content figure,.heine-news-content .wp-caption{max-width:100%;margin:1.4em 0}
.heine-news-content figcaption,.heine-news-content .wp-caption-text{font-size:13px;line-height:1.5;font-weight:400;color:#6d827a;margin:8px 0 0}
.heine-news-content .aligncenter{display:block;margin-left:auto;margin-right:auto}
.heine-news-content .alignleft{float:left;margin:0 24px 16px 0}.heine-news-content .alignright{float:right;margin:0 0 16px 24px}
.heine-news-content .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.heine-news-content .gallery .gallery-item{float:none!important;width:auto!important;margin:0!important;text-align:left}
.heine-news-content .gallery img{border:0!important;max-width:100%;height:auto}
.heine-news-content .gallery br{display:none}
.heine-news-content .gallery-columns-1{grid-template-columns:1fr}.heine-news-content .gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.heine-news-content h2{font-size:26px}.heine-news-content h3{font-size:21px}.heine-news-content .alignleft,.heine-news-content .alignright{float:none;margin:16px 0;max-width:100%}.heine-news-content .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.heine-news-content .gallery-columns-1{grid-template-columns:1fr}}
/* Imported Word/Jimdo fonts must not override the school typography. */
.heine-news-content [style*="font-family"],.heine-news-content font{font-family:inherit!important}
.heine-news-content span[style*="font-size"],.heine-news-content font[size]{font-size:inherit!important}
.heine-news-page{padding:34px 0 52px;background:#fff}
.heine-news-article{width:min(1420px,calc(100% - 42px));margin:0 auto}
.heine-news-header,.heine-news-reading,.heine-news-end{max-width:760px;margin-left:auto;margin-right:auto}
.heine-news-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px;color:#6d827a;font-size:13px;line-height:1.5}
.heine-news-overline{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#2fac81;margin-bottom:12px}
.heine-news-header h1{font-size:clamp(32px,4.5vw,54px);line-height:1.12;letter-spacing:-.035em;font-weight:650;margin:0 0 18px;overflow-wrap:anywhere;color:#17624d}
.heine-news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:13px;line-height:1.5;color:#6d827a}
.heine-news-meta a{color:#17624d;font-weight:500}
.heine-news-intro{font-size:18px;font-weight:400;line-height:1.6;color:#526e63;margin:22px 0 0}
.heine-news-page .heine-news-cover{box-sizing:border-box;width:100%;max-width:760px;float:none;margin:30px auto;clear:both}
.heine-news-top-gallery{box-sizing:border-box;width:100%;max-width:980px;margin:30px auto 38px;clear:both}
.heine-news-top-gallery .heine-gallery{margin-top:0}
.heine-news-top-gallery .heine-gallery>h2{font-size:22px;font-weight:650;color:#17624d}
.heine-news-cover-frame{aspect-ratio:16/9;max-height:460px;overflow:hidden;border-radius:20px;background:#eef8f4}
.heine-news-cover-frame img{display:block;width:100%;height:100%;object-fit:cover}
.heine-news-cover figcaption{display:grid;gap:3px;max-width:760px;margin:9px auto 0;font-size:13px;line-height:1.5;color:#6d827a}
.heine-news-image-credit{display:block;margin-top:3px;color:#7b8d86;font-size:12px;line-height:1.45}
.heine-news-image-credit strong{font-weight:650;color:#526e63}
.heine-news-reading{margin-top:28px}
.heine-news-end{margin-top:40px;border-top:1px solid #dcebe5;padding-top:20px;font-size:14px}
.heine-news-page a:hover{color:#2fac81;text-decoration:none}
.heine-news-page a:focus-visible{outline:2px solid #2fac81;outline-offset:3px}
@media(max-width:600px){.heine-news-page{padding-top:24px}.heine-news-article{width:calc(100% - 32px)}.heine-news-page .heine-news-cover{margin:24px auto}.heine-news-cover-frame{border-radius:14px}.heine-news-header h1{font-size:34px}.heine-news-intro{font-size:17px}.heine-news-breadcrumb{margin-bottom:20px}}
.heine-news-content p[style*="font-size"],.heine-news-content li[style*="font-size"]{font-size:1em!important}
.heine-news-content p[style*="line-height"],.heine-news-content li[style*="line-height"]{line-height:1.65!important}

/* Single reading axis for featured images, figures and inserted photos. */
.heine-news-content img{display:block;margin-left:auto;margin-right:auto}
.heine-news-content figure,.heine-news-content .wp-caption{margin-left:auto;margin-right:auto}
.heine-news-content .alignleft,.heine-news-content .alignright{float:none;display:block;margin:20px auto;max-width:100%}

.heine-news-header .heine-news-lead{margin-top:22px;font-size:19px;font-weight:700;line-height:1.58;color:#45645a}
.heine-news-header .heine-news-lead p{font-weight:700}
.heine-news-header .heine-news-lead p:last-child{margin-bottom:0}
@media(max-width:600px){.heine-news-header .heine-news-lead{font-size:17px}}

/* Redaktionelle Einzelseite: Die Lesespalte bleibt mittig, Verweise stehen rechts daneben. */
.heine-news-main-grid{max-width:760px;margin:0 auto}
.heine-news-main-column{min-width:0}
.heine-news-main-grid .heine-news-reading,.heine-news-main-grid .heine-news-end{max-width:none;margin-left:0;margin-right:0}
.heine-news-reaction{display:flex;align-items:center;gap:10px;margin-top:34px;padding-top:18px;border-top:1px solid #e4ece8;color:#6d827a;font-size:13px;line-height:1.4}
.heine-news-reaction button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 11px;border:1px solid #dcebe5;border-radius:999px;background:#fff;color:#17624d;font:inherit;font-weight:650;cursor:pointer}
.heine-news-reaction button:hover,.heine-news-reaction button:focus-visible{border-color:#9fd8c4;background:#f8fbfa;outline:0}
.heine-news-reaction button[disabled]{cursor:default;border-color:#dcebe5;background:#fff;color:#17624d}
.heine-news-reaction-heart{font-size:18px;line-height:1;color:#2fac81}
.heine-news-reaction-status{color:#526e63}
.heine-news-main-grid.has-related{display:grid;grid-template-columns:280px minmax(0,760px) 280px;gap:34px;max-width:1388px;align-items:start}
.heine-news-main-grid.has-related .heine-news-main-column{grid-column:2}
.heine-related-news{grid-column:3;max-width:none;margin:28px 0 0;padding:0;border:0;min-width:0}
.heine-related-overline{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#2fac81}
.heine-related-news>h2{margin:7px 0 17px;font-size:24px;line-height:1.08;color:#17624d}
.heine-related-list{display:grid;grid-template-columns:1fr;gap:10px}
.heine-related-card{display:grid;grid-template-columns:86px minmax(0,1fr);gap:3px 13px;align-content:center;min-height:82px;padding:11px;border:1px solid #dcebe5;border-radius:15px;background:#fff;color:#17624d}
.heine-related-card figure{grid-row:1/3;margin:0;width:86px;height:64px;border-radius:9px;overflow:hidden;background:#eef8f4}
.heine-related-card figure img{width:100%;height:100%;object-fit:cover;display:block}
.heine-related-card>span{align-self:end;font-size:10px;line-height:1.2;color:#6d827a}
.heine-related-card>strong{align-self:start;font-size:13px;line-height:1.3;font-weight:650}
.heine-related-card:not(:has(figure)){grid-template-columns:1fr}
.heine-related-card:hover{border-color:#a8d9c8;background:#f8fbfa}

/* Im Editor angelegte WordPress-Galerien können beitragsweise als Slideshow erscheinen. */
.heine-news-article.has-gallery-slideshow .heine-news-content .gallery{position:relative;display:block;overflow:hidden;border-radius:18px;background:#eef8f4}
.heine-news-article.has-gallery-slideshow .gallery-item{width:100%!important}
.heine-news-article.has-gallery-slideshow .gallery-item[hidden]{display:none!important}
.heine-news-article.has-gallery-slideshow .gallery-item img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:0;background:#eef8f4}
.heine-news-article.has-gallery-slideshow .gallery-caption{padding:8px 13px 0}
.heine-news-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border:1px solid #dcebe5;border-top:0;border-radius:0 0 18px 18px}
.heine-news-gallery-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:38px;padding:7px 12px;border:1px solid #dcebe5;border-radius:999px;background:#fff;color:#17624d;font:inherit;font-weight:700;cursor:pointer}
.heine-news-gallery-controls button:hover{border-color:#2fac81;background:#eef8f4}
.heine-news-gallery-status{color:#6d827a;font-size:12px;font-weight:650}

/* Sonderrubrik: Nur die Rubrik-Pille markiert den Monatsbeitrag. */
.heine-news-article.is-highlight .heine-news-header{box-sizing:border-box;max-width:760px;padding:0;border:0;border-radius:0;background:transparent}
.heine-news-article.is-highlight .heine-news-overline{display:inline-flex;padding:7px 10px;border:1px solid #dcebe5;border-radius:999px;background:#eef8f4}

/* Sonderrubrik: drei Fragen werden über normale Zwischenüberschriften gepflegt. */
.heine-news-article.is-three-questions .heine-news-reading{counter-reset:heine-question}
.heine-news-article.is-three-questions .heine-news-reading h2{counter-increment:heine-question;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start}
.heine-news-article.is-three-questions .heine-news-reading h2::before{content:counter(heine-question);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef8f4;color:#2fac81;font-size:13px;font-weight:700;letter-spacing:0}

@media(max-width:1450px){
 .heine-news-main-grid.has-related{display:block;max-width:760px}
 .heine-related-news{max-width:760px;margin:46px auto 0;padding-top:27px;border-top:1px solid #dcebe5}
 .heine-related-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(max-width:980px){
 .heine-related-card{grid-template-columns:1fr}
 .heine-related-card figure{grid-row:auto;width:100%;height:auto;aspect-ratio:16/9}
}
@media(max-width:600px){
 .heine-related-news{margin-top:36px;padding-top:23px}
 .heine-related-list{grid-template-columns:1fr}
 .heine-related-card{grid-template-columns:82px minmax(0,1fr)}
 .heine-related-card figure{grid-row:1/3;width:82px;height:62px;aspect-ratio:auto}
 .heine-news-article.has-gallery-slideshow .heine-news-content .gallery{border-radius:14px}
 .heine-news-gallery-controls{border-radius:0 0 14px 14px}
 .heine-news-reaction{align-items:flex-start;flex-wrap:wrap}
}
