/* Фото-версія 08.10.2026: 5 нових AI-візуалізацій (NK_site_visuals). Перекриває generated-art.css. */

/* ---------- Головний екран: текст ліворуч, фото праворуч, обличчя не перекриті ---------- */
.hero-editorial{min-height:780px;padding:150px 0 0;background:#071a2c}
.hero-editorial .hero-content{display:block;width:min(1240px,calc(100% - 64px));margin:0 auto;position:relative;z-index:2}
.hero-editorial .hero-content>*{max-width:480px}
.hero-editorial h1{max-width:520px;font-size:clamp(56px,5.2vw,78px);line-height:1.02;margin:22px 0 24px}
.hero-editorial .hero-copy{max-width:440px;color:#d6e1ea;margin:0 0 30px;font-size:16px}
.hero-editorial .hero-actions{display:flex;flex-wrap:wrap;gap:10px;max-width:480px}
.hero-editorial .hero-visual{position:absolute;inset:0 0 0 auto;width:64%;height:100%;margin:0;z-index:0;pointer-events:none}
.hero-editorial .hero-picture{position:absolute;inset:0;border:0;background:#071a2c}
.hero-editorial .hero-picture picture{display:block;width:100%;height:100%}
.hero-editorial .hero-picture img{width:100%;height:100%;object-fit:cover;object-position:78% 40%;animation:none}
.hero-editorial .hero-picture::after{content:"";position:absolute;inset:0;background:
  linear-gradient(90deg,#071a2c 0%,rgba(7,26,44,.7) 8%,rgba(7,26,44,.12) 22%,transparent 34%),
  linear-gradient(0deg,#071a2c 0%,rgba(7,26,44,.55) 22%,transparent 42%)}
.hero-editorial .hero-visual>figcaption{position:absolute;left:auto;right:max(32px,calc((100vw - 1240px)/2));bottom:96px;min-height:0;padding:7px 12px;border:0;background:rgba(5,20,34,.72);color:#c3d2dd;font-size:11px;border-radius:2px}
.hero-editorial .hero-visual>figcaption .hero-scope{display:none}
.hero-editorial .hero-routes{position:absolute;z-index:3;left:max(32px,calc((100vw - 1240px)/2));right:max(32px,calc((100vw - 1240px)/2));bottom:22px;width:auto;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:rgba(5,22,38,.9);border:1px solid rgba(184,217,229,.18);backdrop-filter:blur(6px)}
.hero-editorial .hero-routes a{padding:17px 18px!important;color:#e1ebef;border-right:1px solid rgba(184,217,229,.18)}
.hero-editorial .hero-routes a:last-child{border-right:0}
.hero-editorial .hero-routes a:hover{background:#0f3550}

/* ---------- «Хто ми»: фото майстерні ---------- */
.about-material{background:#0b2238;border-radius:4px}
.about-material img{height:260px;object-position:50% 38%}
.about-material figcaption{background:#0b2238;color:#b9cad8;font-size:11px}

/* ---------- «Київ живе» ---------- */
#projects .project-feature-image{width:100%;min-height:0;align-self:center}
#projects .project-feature-image img{position:static;inset:auto;height:auto;object-fit:contain;object-position:center}

/* ---------- Медіа: фото інтерв’ю над статусом ---------- */
.media-side{display:flex;flex-direction:column;gap:0;min-width:0}
.media-photo{margin:0;overflow:hidden;border-radius:20px 20px 0 0;background:var(--ink,#16191f)}
.media-photo img{display:block;width:100%;height:280px;object-fit:cover;object-position:62% 35%}
.media-photo figcaption{padding:8px 14px;font-size:11px;color:#b9cad8;background:var(--ink,#16191f)}
.media-side .publication-state{border-radius:0 0 20px 20px}

/* ---------- Партнери: банер спільноти ---------- */
.community-photo{position:relative;margin:40px 0 0;overflow:hidden;border-radius:18px;background:#0b2238}
.community-photo img{display:block;width:100%;height:420px;object-fit:cover;object-position:50% 40%}
.community-photo figcaption{position:absolute;left:16px;bottom:14px;padding:6px 12px;font-size:11px;color:#dbe6ee;background:rgba(5,20,34,.72);border-radius:2px}
.community-photo+.partner-cta{margin-top:20px}

@media(max-width:1100px){
  .hero-editorial .hero-visual{width:70%}
  .hero-editorial h1{font-size:62px}
}
@media(max-width:760px){
  .hero-editorial{min-height:0;padding:118px 0 0}
  .hero-editorial .hero-content{width:calc(100% - 40px)}
  .hero-editorial .hero-content>*,.hero-editorial h1,.hero-editorial .hero-copy{max-width:none}
  .hero-editorial h1{font-size:clamp(44px,12vw,62px)}
  .hero-editorial .hero-visual{position:relative;inset:auto;width:100%;height:auto;margin:30px 0 0}
  .hero-editorial .hero-picture{position:relative;height:auto}
  .hero-editorial .hero-picture img{height:280px;object-position:50% 35%}
  .hero-editorial .hero-picture::after{background:linear-gradient(0deg,rgba(7,26,44,.5),transparent 35%)}
  .hero-editorial .hero-visual>figcaption{position:absolute;right:12px;bottom:10px;font-size:10px}
  .hero-editorial .hero-routes{position:relative;left:auto;right:auto;bottom:auto;width:calc(100% - 40px);margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));background:transparent;border:0;backdrop-filter:none}
  .hero-editorial .hero-routes a{padding:16px 8px!important;font-size:10px;border:0}
  .about-material img{height:220px}
  .media-photo img{height:220px}
  .community-photo img{height:240px}
}

/* ---------- Блок Українського ветеранського фонду: яскравіше ---------- */
.funder-credit.funder-strong{padding-block:64px;background:#0b2142;border-top:6px solid #ffd12f;border-bottom:0}
.funder-strong .funder-credit-grid{display:flex;align-items:center;gap:56px}
.funder-strong .funder-logo-panel{flex:none;width:320px;padding:16px;background:#fff;border:0;box-shadow:none}
.funder-strong .funder-logo-panel img{display:block;width:100%;height:auto}
.funder-strong .funder-copy{max-width:620px}
.funder-strong .funder-kicker{margin:0 0 10px;color:#ffd12f;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.funder-strong h2{margin:0 0 14px;color:#fff;font-size:clamp(30px,3.2vw,44px);line-height:1.08;letter-spacing:-.035em}
.funder-strong .funder-copy p:not(.funder-kicker){margin:0;color:#dbe5ef;font-size:18px;line-height:1.6}
@media(max-width:760px){
  .funder-credit.funder-strong{padding-block:44px}
  .funder-strong .funder-credit-grid{flex-direction:column;align-items:flex-start;gap:24px}
  .funder-strong .funder-logo-panel{width:min(260px,100%)}
  .funder-strong .funder-copy p:not(.funder-kicker){font-size:16px}
}
