.heine-photo-count{display:inline-flex;align-items:center;gap:7px;color:#17624d;font-size:14px;line-height:1.5;font-weight:500;margin:8px 0}
.heine-photo-count svg{flex:none}
.heine-gallery{margin-top:32px}
.heine-gallery h2{margin:0 0 20px}
.heine-gallery [hidden]{display:none!important}
.heine-gallery-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
.heine-gallery-item{display:block;overflow:hidden;border-radius:12px;aspect-ratio:4/3}
.heine-gallery-item:first-child{grid-row:span 2;aspect-ratio:auto;min-height:200px}
.heine-gallery-item:only-child{grid-column:1/-1;aspect-ratio:16/9}
.heine-gallery-grid[data-preview-count="2"]{grid-template-columns:1fr 1fr}
.heine-gallery-grid[data-preview-count="2"] .heine-gallery-item:first-child{grid-row:auto;aspect-ratio:4/3}
.heine-gallery-grid[data-preview-count="3"]{grid-template-columns:2fr 1fr}
.heine-gallery-grid[data-preview-count="4"] .heine-gallery-item:first-child{grid-row:auto;grid-column:1/-1;aspect-ratio:16/9}
.heine-gallery-item img{display:block;width:100%;height:100%;object-fit:cover}
.heine-gallery-open{display:inline-flex;align-items:center;gap:12px;margin-top:16px;background:white;border:1px solid #bfded2;border-radius:999px;padding:10px 18px;color:#17624d;font:inherit;font-size:15px;min-height:44px;cursor:pointer}
.heine-gallery.is-slideshow{position:relative;width:100%;max-width:760px;margin-left:auto;margin-right:auto}
.heine-gallery.is-slideshow .heine-gallery-grid{display:block;position:relative}
.heine-gallery.is-slideshow .heine-gallery-item,.heine-gallery.is-slideshow .heine-gallery-item:first-child,.heine-gallery.is-slideshow .heine-gallery-item:only-child{width:100%;min-height:0;aspect-ratio:16/9;border-radius:26px;background:#eaf3ef}
.heine-gallery.is-slideshow .heine-gallery-item img{object-fit:cover;object-position:center}
.heine-gallery-slideshow-controls{position:absolute;right:12px;bottom:28px;z-index:2;display:flex;align-items:center;gap:7px;padding:6px;border-radius:999px;background:rgb(255 255 255 / .95);box-shadow:0 8px 24px rgb(12 73 55 / .12)}
.heine-gallery-slideshow-controls button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:999px;background:transparent;color:#17624d;font:inherit;font-size:16px;cursor:pointer}
.heine-gallery-slideshow-controls span{min-width:38px;text-align:center;color:#526e63;font-size:10px;font-weight:800}
.heine-gallery-slideshow-dots{display:flex;justify-content:center;gap:6px;margin-top:9px}
.heine-gallery-slideshow-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:#c9ded5;cursor:pointer;transition:width .2s ease,background .2s ease}
.heine-gallery-slideshow-dots button.is-active{width:24px;background:#2fac81}
.article-content :is(.wp-block-video,.wp-block-embed,.wp-video,.mejs-container){width:min(100%,680px)!important;margin-left:0;margin-right:auto}
.article-content :is(.wp-block-video video,.wp-block-embed iframe,.wp-video video){display:block;width:100%;max-width:680px;border-radius:20px;background:#0b3429}
.heine-gallery :is(a,button):focus-visible{outline:3px solid #2fac81;outline-offset:4px}
.heine-gallery-dialog{box-sizing:border-box;width:min(1100px,calc(100% - 32px));max-width:none;max-height:94dvh;padding:20px;border:0;border-radius:18px;background:#112d25;color:#fff}
.heine-gallery-dialog::backdrop{background:rgb(0 0 0 / .82)}
.heine-gallery-dialog:not([open]){display:none}
.heine-gallery-toolbar,.heine-gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:16px}
.heine-gallery-dialog button{background:transparent;color:#fff;border:1px solid #789f90;border-radius:999px;font:inherit;font-size:15px;min-height:44px;padding:8px 16px;cursor:pointer}
.heine-gallery-dialog figure{margin:16px 0}
.heine-gallery-full{display:block;width:100%;height:65dvh;object-fit:contain}
.heine-gallery-dialog figcaption{color:#fff;font-size:15px;line-height:1.5;margin-top:12px;max-height:12dvh;overflow:auto}
@media(max-width:600px){
 .heine-gallery-grid,.heine-gallery-grid[data-preview-count]{grid-template-columns:1fr 1fr;gap:8px}
 .heine-gallery-item:first-child{grid-column:1/-1;grid-row:auto;aspect-ratio:4/3;min-height:0}
 .heine-gallery-dialog{padding:12px;width:calc(100% - 16px)}
 .heine-gallery-full{height:55dvh}
}
@media(max-width:760px){
 .heine-gallery.is-slideshow .heine-gallery-item,.heine-gallery.is-slideshow .heine-gallery-item:first-child,.heine-gallery.is-slideshow .heine-gallery-item:only-child{grid-column:auto;aspect-ratio:16/10;border-radius:16px}
}
