:root{
--hm-post-top-gap:clamp(28px,2.1vw,40px);
--hm-post-block-gap:clamp(38px,2.55vw,48px);
--hm-panel-radius:22px;
--hm-panel-bg:linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.014)),rgba(7,18,12,.92);
--hm-panel-border:rgba(255,255,255,.09);
--hm-panel-shadow:0 20px 48px rgba(0,0,0,.20);
--hm-green:#0b8a53;
--hm-green-dark:#087245;
--hm-red:#bd1f2d;
--hm-text:#f3fbf6;
--hm-muted:#b8cbc0;
}

body.hetman-custom-single-active{
margin:0!important;
background:#05100c!important;
color:var(--hm-text)!important;
font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
-webkit-font-smoothing:antialiased;
overflow-x:hidden
}

body.hetman-custom-single-active *{box-sizing:border-box}
body.hetman-custom-single-active a{text-decoration:none;color:inherit}

.hm-single{position:relative;z-index:1;width:100%;min-width:0}
.hm-single__article{padding:var(--hm-post-top-gap) 0 var(--section-gap)}
.hm-single__shell{
width:calc(100% - (var(--hetman-fluid-gutter) * 2));
max-width:none;
min-width:0;
margin-inline:auto
}

.hm-panel{
position:relative;
overflow:hidden;
border:1px solid var(--hm-panel-border);
border-radius:var(--hm-panel-radius);
background:var(--hm-panel-bg);
box-shadow:var(--hm-panel-shadow)
}

.hm-panel::before{
content:"";
position:absolute;
left:18px;
right:18px;
top:0;
height:3px;
border-radius:999px;
background:linear-gradient(90deg,#f4f7f5 0 33%,var(--hm-green) 33% 66%,var(--hm-red) 66% 100%);
pointer-events:none
}

/* HERO */
.hm-hero{
position:relative;
isolation:isolate;
width:100%;
height:clamp(440px,29vw,560px);
min-height:440px;
margin:0 0 var(--hm-post-block-gap);
overflow:hidden;
border:1px solid rgba(255,255,255,.10);
border-radius:24px;
background:#07130d;
box-shadow:0 24px 58px rgba(0,0,0,.27)
}

.hm-hero__backdrop{
position:absolute;
inset:-28px;
z-index:0;
background-position:center;
background-size:cover;
filter:blur(28px) saturate(.92) brightness(.54);
transform:scale(1.10);
opacity:.98
}

.hm-hero__image-button{
position:absolute;
inset:0;
z-index:1;
width:100%;
height:100%;
padding:0;
border:0;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
background:transparent;
cursor:zoom-in
}

.hm-hero__image-button img{
display:block;
width:auto;
height:auto;
max-width:min(100%,var(--hm-featured-native-w));
max-height:100%;
object-fit:contain;
object-position:center center;
box-shadow:0 0 48px rgba(0,0,0,.22);
image-rendering:auto
}

.hm-hero:not(.is-low-res) .hm-hero__image-button img{max-width:100%}

.hm-hero__shade{
position:absolute;
inset:0;
z-index:2;
pointer-events:none;
background:
linear-gradient(180deg,rgba(2,7,5,.02) 0%,rgba(2,7,5,.03) 22%,rgba(2,7,5,.17) 52%,rgba(2,7,5,.70) 82%,rgba(2,7,5,.91) 100%),
linear-gradient(90deg,rgba(2,7,5,.22) 0%,rgba(2,7,5,.05) 48%,rgba(2,7,5,.10) 100%)
}

.hm-hero__overlay{
position:absolute;
inset:0;
z-index:3;
display:grid;
grid-template-columns:minmax(0,1fr);
align-items:end;
gap:22px;
padding:clamp(20px,2vw,34px);
pointer-events:none
}

.hm-hero__copy{min-width:0;max-width:min(1100px,78vw)}
.hm-hero__copy h1,.hm-title-card h1{
margin:0;
font-size:clamp(2.45rem,3.75vw,4.65rem);
line-height:.98;
letter-spacing:-.05em;
font-weight:950;
text-wrap:balance;
color:#fff;
text-shadow:0 12px 34px rgba(0,0,0,.38)
}

.hm-hero__meta,.hm-title-card__meta{
display:flex;
align-items:center;
flex-wrap:wrap;
gap:9px;
margin-top:11px;
font-size:.77rem;
font-weight:800;
color:#d7e6dd
}




.hm-title-card{
display:grid;
grid-template-columns:minmax(0,1fr);
align-items:end;
gap:22px;
margin-bottom:var(--hm-post-block-gap);
padding:clamp(26px,2.3vw,40px)
}

/* CONTENT */
.hm-content{
width:100%;
margin-bottom:var(--hm-post-block-gap);
padding:clamp(30px,2.6vw,48px)
}

.hm-content__inner{
width:100%;
max-width:1180px;
margin-inline:auto;
font-size:clamp(1rem,.96vw,1.08rem);
line-height:1.8;
color:#e6f0ea
}

@media(min-width:1600px){.hm-content__inner{max-width:1280px}}

.hm-content__inner>:first-child{margin-top:0}
.hm-content__inner>:last-child{margin-bottom:0}
.hm-content__inner p{margin:0 0 1.3em}
.hm-content__inner strong{color:#fff}
.hm-content__inner a{color:#c8edd9;text-decoration:underline;text-decoration-color:rgba(200,237,217,.34);text-underline-offset:3px}
.hm-content__inner h2,.hm-content__inner h3,.hm-content__inner h4{color:#fff;font-family:inherit;text-wrap:balance}
.hm-content__inner h2{
position:relative;
margin:2.1em 0 .72em;
padding-top:.8em;
font-size:clamp(1.55rem,1.78vw,2.12rem);
line-height:1.12;
letter-spacing:-.032em;
font-weight:950
}
.hm-content__inner h2::before{
content:"";
position:absolute;
left:0;top:0;
width:64px;height:3px;border-radius:999px;
background:linear-gradient(90deg,#fff 0 33%,var(--hm-green) 33% 66%,var(--hm-red) 66% 100%)
}
.hm-content__inner h3{margin:1.75em 0 .65em;font-size:clamp(1.22rem,1.4vw,1.58rem);line-height:1.2;font-weight:900}
.hm-content__inner ul,.hm-content__inner ol{margin:1.15em 0 1.4em;padding-left:1.35em}
.hm-content__inner li{margin:.45em 0}
.hm-content__inner blockquote{margin:1.7em 0;padding:18px 22px;border-left:4px solid var(--hm-green);border-radius:0 14px 14px 0;background:rgba(11,138,83,.08);color:#dcebe3}
.hm-content__inner figure{max-width:100%;margin:1.7em 0}
.hm-content__inner img{display:block;max-width:100%;height:auto;margin-inline:auto;border-radius:16px}
.hm-content__inner figcaption{margin-top:8px;font-size:.75rem;line-height:1.5;text-align:center;color:#8fa89a}

.hm-content__share{
display:flex;
justify-content:flex-end;
max-width:1280px;
margin:clamp(26px,2.2vw,36px) auto 0;
padding-top:18px;
border-top:1px solid rgba(255,255,255,.075)
}

.hm-content__share-button{
min-height:44px;
padding:0 15px;
display:inline-flex;
align-items:center;
justify-content:center;
gap:8px;
border:1px solid rgba(11,138,83,.34);
border-radius:11px;
background:linear-gradient(135deg,var(--hm-green),var(--hm-green-dark));
box-shadow:0 12px 24px rgba(8,114,69,.18);
color:#fff;
font:inherit;
font-size:.73rem;
font-weight:900;
cursor:pointer;
transition:transform .18s ease,box-shadow .18s ease
}
.hm-content__share-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.hm-content__share-button:hover{transform:translateY(-2px);box-shadow:0 16px 28px rgba(8,114,69,.25)}

/* CHRONOLOGY */
.hm-chronology{
min-height:88px;
margin-bottom:var(--hm-post-block-gap);
padding:12px;
display:flex;
align-items:stretch;
gap:10px
}
.hm-chronology__item{
min-width:0;
min-height:62px;
padding:10px 14px;
dis:flex;
display:flex;
align-items:center;
gap:12px;
border:1px solid rgba(255,255,255,.07);
border-radius:14px;
background:rgba(255,255,255,.025);
transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.hm-chronology--both .hm-chronology__item{flex:1 1 0}
.hm-chronology--newer-only .hm-chronology__item{width:min(100%,560px);margin-right:auto}
.hm-chronology--older-only .hm-chronology__item{width:min(100%,560px);margin-left:auto}
.hm-chronology__item:hover{transform:translateY(-2px);border-color:rgba(11,138,83,.22);background:rgba(11,138,83,.055)}
.hm-chronology__item--older{justify-content:flex-end;text-align:right}
.hm-chronology__arrow{font-size:1.2rem;line-height:1;color:#c7e7d6}
.hm-chronology__copy{min-width:0;display:flex;flex-direction:column;gap:4px}
.hm-chronology__copy small{font-size:.6rem;font-weight:950;letter-spacing:.10em;text-transform:uppercase;color:#8fa599}
.hm-chronology__copy strong{font-size:.91rem;line-height:1.2;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* RELATED PANEL */
.hm-related{margin:0 0 var(--section-gap);padding:0;overflow:hidden}
.hm-related__inner{padding:clamp(24px,1.8vw,32px)}
.hm-related__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.hm-related__title>span{display:block;margin-bottom:5px;font-size:.62rem;font-weight:950;letter-spacing:.13em;text-transform:uppercase;color:#b7d9c7}
.hm-related__title h2{margin:0;font-size:clamp(1.85rem,2.45vw,3.25rem);line-height:1;letter-spacing:-.04em;font-weight:950}
.hm-related__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hm-related__pager{display:flex;align-items:stretch;border:1px solid rgba(255,255,255,.12);border-radius:13px;overflow:hidden;background:#0a1711;box-shadow:0 12px 24px rgba(0,0,0,.18)}
.hm-related__control{
height:44px;
min-width:96px;
padding:0 13px;
display:inline-flex;
align-items:center;
justify-content:center;
gap:7px;
border:0;
background:transparent;
color:#eff8f3;
font:inherit;
font-size:.69rem;
font-weight:900;
cursor:pointer;
transition:background .18s ease,color .18s ease
}
.hm-related__control+.hm-related__control{border-left:1px solid rgba(255,255,255,.10)}
.hm-related__control svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.hm-related__control:hover:not(.is-limit){background:rgba(11,138,83,.09);color:#d7f0e3}
.hm-related__control.is-limit{cursor:default;color:#6f8378}
.hm-related__all{
height:44px;
padding:0 16px;
display:flex;
align-items:center;
justify-content:center;
border:1px solid rgba(11,138,83,.24);
border-radius:13px;
background:linear-gradient(135deg,rgba(11,138,83,.16),rgba(11,138,83,.07));
color:#f2fbf6;
font-size:.72rem;
font-weight:900;
box-shadow:0 12px 24px rgba(0,0,0,.16);
transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.hm-related__all:hover{transform:translateY(-2px);border-color:rgba(11,138,83,.36);background:linear-gradient(135deg,rgba(11,138,83,.23),rgba(11,138,83,.10))}

.hm-related__viewport{width:100%;min-width:0;overflow:hidden}
.hm-related__rail{
--hm-related-gap:16px;
display:flex;
align-items:stretch;
gap:var(--hm-related-gap);
width:100%;
min-width:0;
overflow:hidden;
padding:2px 0 4px;
cursor:default
}

.hm-related__rail .news-card{
flex:0 0 calc((100% - (var(--hm-related-gap) * 3)) / 4)!important;
width:calc((100% - (var(--hm-related-gap) * 3)) / 4)!important;
max-width:none!important;
min-width:0!important;
display:flex!important;
flex-direction:column!important;
overflow:hidden!important;
border:1px solid rgba(255,255,255,.085)!important;
border-radius:20px!important;
background:#061109!important;
box-shadow:0 16px 34px rgba(0,0,0,.17)!important;
transform:none!important;
transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important
}
.hm-related__rail .news-card:hover{transform:translateY(-2px)!important;border-color:rgba(11,138,83,.22)!important;box-shadow:0 22px 40px rgba(0,0,0,.22)!important}
.hm-related__rail .news-media{position:relative!important;width:100%!important;aspect-ratio:4/3!important;overflow:hidden!important;background:#08130d!important;border-radius:19px 19px 0 0!important}
.hm-related__rail .news-media>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center top!important;transition:transform .34s ease!important}
.hm-related__rail .news-card:hover .news-media>img{transform:scale(1.015)!important}
.hm-related__rail .news-body{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;justify-content:space-between!important;padding:15px 15px 14px!important;background:transparent!important}
.hm-related__rail .news-copy h3{margin:0 0 9px!important;font-size:.98rem!important;line-height:1.2!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.hm-related__rail .news-copy p{margin:0!important;font-size:.73rem!important;line-height:1.52!important;color:#b8cbc0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.hm-related__rail .news-footer{margin-top:17px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.hm-related__rail .news-link{min-height:36px!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:10px!important;background:rgba(255,255,255,.035)!important;color:#eaf5ee!important;font-size:.66rem!important;font-weight:900!important}
.hm-related__rail .news-tag{min-height:36px!important;padding:0 11px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(11,138,83,.10)!important;border-radius:10px!important;background:rgba(5,22,14,.62)!important;color:#e9f5ee!important;font-size:.64rem!important;font-weight:900!important;letter-spacing:.025em!important;white-space:nowrap!important}
.hm-related__rail .news-card.is-current{border-color:rgba(11,138,83,.42)!important;box-shadow:0 0 0 1px rgba(11,138,83,.08),0 18px 38px rgba(0,0,0,.20)!important}
.hm-related__rail .news-card.is-current .news-latest-badge{right:10px!important;bottom:10px!important;top:auto!important;left:auto!important;min-height:27px!important;padding:0 10px!important;border-radius:999px!important;background:var(--hm-green)!important;border:1px solid rgba(255,255,255,.10)!important;box-shadow:0 9px 20px rgba(0,0,0,.20)!important;font-size:.56rem!important;letter-spacing:.07em!important}

/* Text badges only, quiet and consistent. */






/* LIGHTBOX */
.hm-lightbox{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(1,6,4,.95);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.hm-lightbox[hidden]{display:none!important}
.hm-lightbox__stage{display:flex;align-items:center;justify-content:center;width:min(95vw,1800px);height:min(91vh,1120px);padding:0;border:0;background:transparent;cursor:zoom-out}
.hm-lightbox__stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;border-radius:16px;box-shadow:0 28px 80px rgba(0,0,0,.48)}
.hm-lightbox__close{position:absolute;right:22px;top:22px;z-index:2;width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0c1a12;color:#fff;cursor:pointer}
.hm-lightbox__close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}
body.hm-lightbox-open{overflow:hidden!important}

/* 3 cards */
@media(max-width:1439px){
.hm-related__rail .news-card{flex-basis:calc((100% - (var(--hm-related-gap) * 2)) / 3)!important;width:calc((100% - (var(--hm-related-gap) * 2)) / 3)!important}
}

/* 2 cards */
@media(max-width:1023px){
:root{--hm-post-top-gap:clamp(20px,3vw,30px);--hm-post-block-gap:clamp(30px,4vw,40px)}
.hm-hero{height:clamp(400px,54vw,520px);min-height:400px;border-radius:20px}
.hm-hero__overlay{grid-template-columns:1fr;gap:10px;padding:20px}
.hm-hero__copy{max-width:100%}

.hm-title-card{grid-template-columns:1fr}
.hm-related__head{align-items:flex-start;flex-direction:column;gap:14px}
.hm-related__actions{width:100%;justify-content:flex-end}
.hm-related__rail .news-card{flex-basis:calc((100% - var(--hm-related-gap)) / 2)!important;width:calc((100% - var(--hm-related-gap)) / 2)!important}
.hm-chronology{min-height:84px}
}

/* 1 card */
@media(max-width:679px){
:root{--hm-post-top-gap:clamp(14px,4vw,20px);--hm-post-block-gap:30px}
.hm-hero{height:clamp(340px,100vw,460px);min-height:340px;border-radius:18px}
.hm-hero__backdrop{inset:-18px;filter:blur(19px) saturate(.88) brightness(.50)}
.hm-hero__overlay{padding:14px}
.hm-hero__copy h1,.hm-title-card h1{font-size:clamp(1.95rem,9vw,2.85rem)}
.hm-hero__meta,.hm-title-card__meta{gap:7px;margin-top:9px;font-size:.69rem}
.hm-content{padding:20px 16px}
.hm-content__inner{max-width:none;font-size:.98rem;line-height:1.76}
.hm-content__inner h2{font-size:1.58rem}
.hm-content__share{margin-top:24px;padding-top:16px}
.hm-content__share-button{width:100%}
.hm-chronology{padding:10px;min-height:0;flex-direction:column}
.hm-chronology--both .hm-chronology__item,.hm-chronology--newer-only .hm-chronology__item,.hm-chronology--older-only .hm-chronology__item{width:100%;margin:0}
.hm-chronology__item--older{text-align:left;justify-content:flex-start}
.hm-chronology__item--older .hm-chronology__copy{order:2}.hm-chronology__item--older .hm-chronology__arrow{order:1}
.hm-related__inner{padding:18px 14px}
.hm-related__title h2{font-size:clamp(1.8rem,8.5vw,2.55rem)}
.hm-related__control{min-width:42px;width:42px;padding:0}.hm-related__control span{display:none}
.hm-related__all{margin-left:auto;height:42px;padding:0 14px}
.hm-related__pager{height:42px}
.hm-related__rail{--hm-related-gap:12px}
.hm-related__rail .news-card{flex-basis:100%!important;width:100%!important}
.hm-related__rail .news-body{padding:14px 14px 13px!important}
.hm-related__rail .news-footer{margin-top:15px!important}
.hm-related__rail .news-link,.hm-related__rail .news-tag{min-height:36px!important;padding:0 10px!important;font-size:.63rem!important}
.hm-lightbox{padding:14px}.hm-lightbox__close{right:12px;top:12px;width:42px;height:42px}
}

@media(prefers-reduced-motion:reduce){
.hm-content__share-button,.hm-chronology__item,.hm-related__all,.hm-related__rail .news-card,.hm-related__rail .news-media>img{transition:none!important}
}


/* 7.1.1 — premium share CTA + premium segmented pager */
.hm-content__share{
margin-top:clamp(30px,2.4vw,40px)!important;
padding-top:20px!important
}
.hm-content__share-button{
min-height:50px!important;
padding:5px 8px 5px 6px!important;
gap:10px!important;
border-radius:15px!important;
border:1px solid rgba(11,138,83,.30)!important;
background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),rgba(5,18,12,.92)!important;
box-shadow:0 14px 30px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035)!important;
color:#eef8f2!important
}
.hm-share-cta__icon{
width:38px!important;
height:38px!important;
flex:0 0 38px!important;
display:grid!important;
place-items:center!important;
border-radius:11px!important;
background:linear-gradient(135deg,rgba(11,138,83,.24),rgba(11,138,83,.10))!important;
border:1px solid rgba(11,138,83,.24)!important;
color:#ccebd9!important
}
.hm-share-cta__icon svg{
width:17px!important;
height:17px!important;
fill:none!important;
stroke:currentColor!important;
stroke-width:1.9!important;
stroke-linecap:round!important;
stroke-linejoin:round!important
}
.hm-share-cta__label{
font-size:.76rem!important;
font-weight:900!important;
letter-spacing:.01em!important;
white-space:nowrap!important
}
.hm-share-cta__arrow{
width:26px!important;
height:26px!important;
display:grid!important;
place-items:center!important;
border-radius:8px!important;
background:rgba(255,255,255,.035)!important;
color:#9fc8b2!important;
font-size:.78rem!important;
transition:transform .18s ease,background .18s ease,color .18s ease!important
}
.hm-content__share-button:hover{
transform:translateY(-2px)!important;
border-color:rgba(11,138,83,.46)!important;
background:linear-gradient(180deg,rgba(11,138,83,.09),rgba(255,255,255,.012)),rgba(5,18,12,.96)!important;
box-shadow:0 18px 34px rgba(0,0,0,.22),0 8px 24px rgba(8,114,69,.10)!important
}
.hm-content__share-button:hover .hm-share-cta__arrow{
transform:translate(1px,-1px)!important;
background:rgba(11,138,83,.12)!important;
color:#d8f0e3!important
}

.hm-related__pager{
padding:4px!important;
gap:4px!important;
border-radius:16px!important;
border:1px solid rgba(255,255,255,.09)!important;
background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.006)),rgba(4,14,9,.94)!important;
box-shadow:0 14px 30px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.025)!important;
overflow:visible!important
}
.hm-related__control{
height:40px!important;
min-width:108px!important;
padding:0 12px!important;
gap:9px!important;
border:1px solid transparent!important;
border-radius:12px!important;
background:transparent!important;
color:#dcebe3!important;
transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important
}
.hm-related__control+.hm-related__control{
border-left:1px solid transparent!important
}
.hm-related__control-icon{
width:26px!important;
height:26px!important;
flex:0 0 26px!important;
display:grid!important;
place-items:center!important;
border-radius:8px!important;
background:rgba(255,255,255,.035)!important;
color:#a7c7b6!important;
transition:background .18s ease,color .18s ease!important
}
.hm-related__control-icon svg{
width:15px!important;
height:15px!important;
fill:none!important;
stroke:currentColor!important;
stroke-width:2.2!important;
stroke-linecap:round!important;
stroke-linejoin:round!important
}
.hm-related__control-label{
font-size:.69rem!important;
font-weight:900!important;
letter-spacing:.01em!important
}
.hm-related__control:hover:not(.is-limit){
transform:translateY(-1px)!important;
background:rgba(11,138,83,.08)!important;
border-color:rgba(11,138,83,.16)!important;
color:#effaf4!important
}
.hm-related__control:hover:not(.is-limit) .hm-related__control-icon{
background:rgba(11,138,83,.14)!important;
color:#d4efe0!important
}
.hm-related__control.is-limit{
opacity:1!important;
color:#61776a!important;
background:rgba(255,255,255,.012)!important;
cursor:default!important
}
.hm-related__control.is-limit .hm-related__control-icon{
background:rgba(255,255,255,.02)!important;
color:#52675b!important
}

@media(max-width:760px){
.hm-content__share-button{
width:auto!important;
min-width:100%!important;
}
.hm-related__pager{
padding:3px!important;
gap:3px!important
}
.hm-related__control{
width:42px!important;
min-width:42px!important;
padding:0!important
}
.hm-related__control-label{display:none!important}
.hm-related__control-icon{
width:28px!important;
height:28px!important
}
}


/* 7.1.2 — obrazy z treści -> galeria pod tekstem */
.hm-gallery{
margin-top:clamp(34px,3vw,50px);
padding-top:clamp(24px,2.3vw,36px);
border-top:1px solid rgba(255,255,255,.08)
}

.hm-gallery__head{
display:flex;
align-items:flex-end;
justify-content:space-between;
gap:18px;
margin-bottom:18px
}

.hm-gallery__head>div>span{
display:block;
margin-bottom:5px;
color:#b7d9c7;
font-size:.63rem;
font-weight:950;
letter-spacing:.13em;
text-transform:uppercase
}

.hm-gallery__head h2{
margin:0;
color:#fff;
font-size:clamp(1.5rem,2vw,2.25rem);
line-height:1.02;
letter-spacing:-.035em;
font-weight:950
}

.hm-gallery__count{
min-height:34px;
padding:0 11px;
display:inline-flex;
align-items:center;
justify-content:center;
border:1px solid rgba(255,255,255,.09);
border-radius:999px;
background:rgba(255,255,255,.035);
color:#a9bcb1;
font-size:.65rem;
font-weight:850;
white-space:nowrap
}

.hm-gallery__grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px
}

.hm-gallery--count-1 .hm-gallery__grid{
grid-template-columns:minmax(0,min(100%,760px))
}

.hm-gallery--count-2 .hm-gallery__grid{
grid-template-columns:repeat(2,minmax(0,1fr))
}

.hm-gallery__item{
min-width:0;
padding:0;
overflow:hidden;
border:1px solid rgba(255,255,255,.09);
border-radius:18px;
background:#07130d;
color:#fff;
font:inherit;
text-align:left;
cursor:zoom-in;
box-shadow:0 14px 30px rgba(0,0,0,.16);
transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}

.hm-gallery__item:hover{
transform:translateY(-2px);
border-color:rgba(11,138,83,.26);
box-shadow:0 20px 38px rgba(0,0,0,.22)
}

.hm-gallery__media{
position:relative;
display:block;
width:100%;
aspect-ratio:4/3;
overflow:hidden;
background:#06100b
}

.hm-gallery__media img{
display:block;
width:100%!important;
height:100%!important;
max-width:none!important;
margin:0!important;
object-fit:cover;
object-position:center top;
border-radius:0!important;
transition:transform .35s cubic-bezier(.22,.72,.24,1)
}

.hm-gallery__item:hover .hm-gallery__media img{
transform:scale(1.018)
}

.hm-gallery__zoom{
position:absolute;
right:10px;
top:10px;
width:36px;
height:36px;
display:grid;
place-items:center;
border:1px solid rgba(255,255,255,.13);
border-radius:11px;
background:rgba(5,15,10,.78);
box-shadow:0 9px 18px rgba(0,0,0,.20);
backdrop-filter:blur(8px);
-webkit-backdrop-filter:blur(8px)
}

.hm-gallery__zoom svg{
width:16px;
height:16px;
fill:none;
stroke:#fff;
stroke-width:2;
stroke-linecap:round;
stroke-linejoin:round
}

.hm-gallery__caption{
display:block;
padding:12px 14px 13px;
color:#b7c9bf;
font-size:.72rem;
line-height:1.5
}

.hm-gallery-lightbox{
position:fixed;
inset:0;
z-index:2147483100;
dis:flex;
align-items:center;
justify-content:center;
padding:24px
}
.hm-gallery-lightbox[hidden]{display:none!important}

.hm-gallery-lightbox__backdrop{
position:absolute;
inset:0;
width:100%;
height:100%;
padding:0;
border:0;
background:rgba(1,6,4,.95);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
cursor:zoom-out
}

.hm-gallery-lightbox__dialog{
position:relative;
z-index:1;
width:min(94vw,1680px);
height:min(91vh,1080px);
display:grid;
grid-template-rows:auto minmax(0,1fr);
gap:10px
}

.hm-gallery-lightbox__top{
display:flex;
align-items:center;
justify-content:space-between;
gap:14px
}

.hm-gallery-lightbox__counter{
min-height:38px;
padding:0 13px;
display:inline-flex;
align-items:center;
border:1px solid rgba(255,255,255,.12);
border-radius:999px;
background:#0b1a12;
color:#dcebe3;
font-size:.7rem;
font-weight:900
}

.hm-gallery-lightbox__close,
.hm-gallery-lightbox__nav{
dis:grid;
place-items:center;
padding:0;
border:1px solid rgba(255,255,255,.14);
background:#0b1a12;
color:#fff;
box-shadow:0 14px 28px rgba(0,0,0,.24);
cursor:pointer
}

.hm-gallery-lightbox__close{
width:42px;
height:42px;
border-radius:999px
}

.hm-gallery-lightbox__close svg,
.hm-gallery-lightbox__nav svg{
width:19px;
height:19px;
fill:none;
stroke:currentColor;
stroke-width:2.1;
stroke-linecap:round;
stroke-linejoin:round
}

.hm-gallery-lightbox__stage{
min-height:0;
display:grid;
grid-template-columns:52px minmax(0,1fr) 52px;
align-items:center;
gap:14px
}

.hm-gallery-lightbox__nav{
width:48px;
height:62px;
border-radius:14px
}

.hm-gallery-lightbox__nav:disabled{
opacity:.3;
cursor:default
}

.hm-gallery-lightbox__figure{
min-width:0;
min-height:0;
height:100%;
margin:0;
dis:flex;
flex-direction:column;
align-items:center;
justify-content:center
}

.hm-gallery-lightbox__figure img{
dis:block;
max-width:100%;
max-height:calc(100% - 46px);
width:auto;
height:auto;
object-fit:contain;
border-radius:15px;
box-shadow:0 26px 72px rgba(0,0,0,.48)
}

.hm-gallery-lightbox__figure figcaption{
max-width:920px;
margin-top:10px;
color:#b8cbc0;
font-size:.76rem;
line-height:1.45;
text-align:center
}

.hm-gallery-lightbox__figure figcaption:empty{display:none}

body.hm-gallery-lightbox-open{overflow:hidden!important}

@media(max-width:900px){
.hm-gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-gallery--count-1 .hm-gallery__grid{grid-template-columns:1fr}
.hm-gallery-lightbox__stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}
.hm-gallery-lightbox__nav{width:42px;height:54px}
}

@media(max-width:620px){
.hm-gallery__head{align-items:flex-start;flex-direction:column;gap:10px}
.hm-gallery__grid,
.hm-gallery--count-2 .hm-gallery__grid{grid-template-columns:1fr}
.hm-gallery__item{border-radius:16px}
.hm-gallery-lightbox{padding:12px}
.hm-gallery-lightbox__dialog{width:100%;height:94vh}
.hm-gallery-lightbox__stage{grid-template-columns:1fr}
.hm-gallery-lightbox__nav{
position:absolute;
top:50%;
z-index:2;
width:42px;
height:54px;
transform:translateY(-50%)
}
.hm-gallery-lightbox__nav--prev{left:4px}
.hm-gallery-lightbox__nav--next{right:4px}
.hm-gallery-lightbox__figure{padding-inline:26px}
}

@media(prefers-reduced-motion:reduce){
.hm-gallery__item,
.hm-gallery__media img{transition:none}
}


/* 7.1.5 — gallery dedupe is resolved before reveal to avoid duplicate-image flash. */
.hm-gallery.is-dedupe-pending{
visibility:hidden!important;
opacity:0!important;
}
.hm-gallery.is-dedupe-ready{
visibility:visible!important;
opacity:1!important;
transition:opacity .14s ease!important;
}
