/* Energy Power Systems – KEE FEI TUKE
   Vizuál podľa fei.tuke.sk a kee.fei.tuke.sk: žltá #EAAA00, čierna, sivá, písmo Onest. */

/* Písmo Onest je uložené priamo na stránke (assets/fonts), nenačítava sa z Google.
   Variabilné písmo: jeden súbor pokrýva hrúbky 400–600. Licencia SIL Open Font License 1.1. */
@font-face {
  font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --yellow: #EAAA00;
  --yellow-100: #FBF0D2;
  --tan: #F3E3B8;
  --tan-text: #5A4300;
  --black: #111111;
  --ink: #1A1A1A;
  --muted: #5C5C5C;
  --line: #E0E0E0;
  --gray: #EEEEEE;
  --gray-50: #F6F6F6;
  --white: #FFFFFF;
  --green-bg: #E3F1DF;
  --green-text: #24561B;
  --red-bg: #FDF0EE;
  --red: #B3261E;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; font-weight: 600; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; font-weight: 600; }
.skip:focus { left: 16px; }
.loading { padding: 64px 16px; color: var(--muted); }

/* ---------- Hlavička ---------- */
.header { background: var(--yellow); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,0,0,.08); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); margin-right: auto; min-width: 0; }
.brand__mark { width: 48px; height: 48px; background: var(--black); color: var(--yellow); display: grid; place-items: center; flex: none; }
.brand__mark .ico { width: 26px; height: 26px; }
.brand__img { height: 56px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__text strong { font-size: 17px; font-weight: 600; }
.brand__text span { font-size: 13px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--black); border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: rgba(0,0,0,.35); }
.nav a[aria-current="page"] { border-bottom-color: var(--black); }
.header__tools { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; border: 1.5px solid var(--black); }
.lang button { font: inherit; font-size: 13px; font-weight: 600; background: transparent; border: 0; padding: 4px 9px; cursor: pointer; color: var(--black); }
.lang button[aria-pressed="true"] { background: var(--black); color: var(--yellow); }
.menu-btn { display: none; align-items: center; gap: 6px; font: inherit; font-weight: 500; background: transparent; border: 0; cursor: pointer; padding: 8px 4px; color: var(--black); }
.menu-btn .ico { width: 22px; height: 22px; }

@media (max-width: 1079px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--yellow); border-top: 1px solid rgba(0,0,0,.12); display: none; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .header--open .nav { display: block; }
  .nav ul { flex-direction: column; padding: 4px 16px 16px; max-width: 1240px; margin: 0 auto; }
  .nav a { border-bottom: 1px solid rgba(0,0,0,.15); padding: 14px 0; }
  .nav a[aria-current="page"] { border-bottom: 3px solid var(--black); }
}
@media (min-width: 768px) and (max-width: 1079px) { .nav ul { padding: 4px 32px 16px; } }
@media (max-width: 560px) {
  .brand__text span { display: none; }
  .menu-btn span { display: none; }
}

/* ---------- Tlačidlá, štítky ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; border: 2px solid var(--black); background: var(--black); color: var(--white); cursor: pointer; }
.btn:hover { background: #333; border-color: #333; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn--sm { padding: 8px 14px; font-size: 14px; }

.badge { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 3px 8px; background: var(--tan); color: var(--tan-text); white-space: nowrap; }
.badge--dark { background: var(--black); color: var(--yellow); }
.badge--ok { background: var(--green-bg); color: var(--green-text); }
.badge--muted { background: var(--gray); color: #444; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; font-size: 13px; line-height: 1.4; padding: 4px 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
a.chip:hover { border-color: var(--black); }

.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; white-space: nowrap; }
.more:hover { border-bottom-color: var(--black); }

/* ---------- Nadpisy so žltým pruhom ---------- */
.h-bar { border-left: 6px solid var(--yellow); padding-left: 14px; font-size: clamp(26px, 3.2vw, 34px); }
h2.h-bar { font-size: clamp(22px, 2.6vw, 28px); }
h3.h-sub { font-size: 18px; margin: 32px 0 14px; }

/* ---------- Úvodná stránka ---------- */
.hero { background: var(--yellow); padding: 48px 0 64px; }
.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; } }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.01em; color: var(--black); }
.hero__text { font-size: 18px; max-width: 36em; margin: 18px 0 0; color: var(--black); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-event { background: var(--white); padding: 28px; border-top: 6px solid var(--black); }
.hero-event__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero-event h2 { font-size: 24px; margin: 10px 0 4px; }
.hero-event__sub { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.icon-line { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; margin: 6px 0; }
.icon-line .ico { margin-top: .2em; }
.hero-event .more { margin-top: 16px; }

.stats { background: var(--gray); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 28px 16px 26px 20px; border-left: 1px solid #D6D6D6; }
.stat:first-child { border-left: 0; }
@media (max-width: 767px) { .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid #D6D6D6; } }
.stat strong { display: block; font-size: clamp(34px, 4vw, 44px); font-weight: 600; line-height: 1; }
.stat strong::after { content: ""; display: block; width: 32px; height: 4px; background: var(--yellow); margin: 12px 0 10px; }
.stat span { font-size: 14px; color: var(--muted); }

.section { padding: 56px 0; }
.section--gray { background: var(--gray-50); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; flex-wrap: wrap; }

/* ---------- Karty ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-bottom: 4px solid var(--yellow); padding: 22px; text-decoration: none; color: inherit; transition: border-color .15s; min-width: 0; }
a.card:hover { border-color: var(--black); border-bottom-color: var(--yellow); }
a.card:hover .card__title { text-decoration: underline; }
.card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.card__num { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__icon { width: 44px; height: 44px; background: var(--black); color: var(--yellow); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon .ico { width: 24px; height: 24px; }
.card__title { font-size: 19px; margin-bottom: 8px; }
.card__text { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }

.partner-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--white); border: 1px solid var(--line); text-decoration: none; min-height: 132px; }
a.partner-tile:hover { border-color: var(--black); }
.partner-tile__logo { height: 48px; display: flex; align-items: center; margin-bottom: 8px; }
.partner-tile__logo img { max-height: 48px; width: auto; }
.partner-tile__short { font-size: 26px; font-weight: 600; line-height: 1; border-left: 4px solid var(--yellow); padding-left: 10px; }
.partner-tile strong { font-size: 15px; line-height: 1.35; }
.partner-tile small { color: var(--muted); font-size: 13px; }

/* ---------- Podstránky ---------- */
.layout { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 1080px) { .layout { grid-template-columns: 270px minmax(0, 1fr); gap: 48px; } }
.side__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 1080px) { .side__list { position: sticky; top: calc(var(--header-h) + 24px); } }
.side__list a { display: flex; align-items: stretch; text-decoration: none; background: var(--gray); font-size: 14px; font-weight: 500; min-height: 46px; }
.side__list a:hover { background: var(--yellow-100); }
.side__num { background: var(--black); color: var(--white); width: 38px; display: grid; place-items: center; flex: none; font-weight: 600; }
.side__label { padding: 10px 14px; align-self: center; }
.side__count { margin-left: auto; padding: 10px 12px; align-self: center; color: var(--muted); font-size: 13px; }
@media (max-width: 1079px) { .side__list { flex-direction: row; flex-wrap: wrap; } .side__list li { flex: 1 1 220px; } }

.page-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; }
.crumbs a { text-decoration: none; display: inline-flex; }
.crumbs a:hover { text-decoration: underline; }
.lead { font-size: 18px; color: var(--muted); margin: 14px 0 0; max-width: 46em; }
.block { margin-bottom: 56px; }
.block > h2 { margin-bottom: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.block__count { font-size: 15px; font-weight: 500; color: var(--muted); }
.empty { color: var(--muted); padding: 16px 0; margin: 0; }
.detail { padding-top: 40px; padding-bottom: 72px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.filters__label { font-size: 14px; color: var(--muted); margin-right: 4px; }
.filters button { font: inherit; font-size: 14px; font-weight: 500; padding: 6px 14px; border: 1.5px solid var(--black); background: var(--white); cursor: pointer; color: var(--black); }
.filters button:hover { background: var(--yellow-100); }
.filters button[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* Riadky zoznamu (projekty) */
.rows { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 22px 18px 18px; border: 1px solid var(--line); border-left: 6px solid var(--yellow); text-decoration: none; background: var(--white); }
.row:hover { border-color: var(--black); border-left-color: var(--yellow); }
.row:hover h3 { text-decoration: underline; }
.row--finished { border-left-color: #BDBDBD; }
.row--finished:hover { border-left-color: #BDBDBD; }
.row__logo { width: 104px; height: 68px; display: grid; place-items: center; background: var(--gray-50); font-weight: 600; font-size: 13px; text-align: center; padding: 6px; line-height: 1.2; }
.row__logo img { max-height: 56px; width: auto; object-fit: contain; }
.row__logo:has(img) { background: var(--white); border: 1px solid var(--line); }
.row h3 { font-size: 17px; margin: 8px 0 8px; }
.row__arrow { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-size: 13px; color: var(--muted); }
.meta div { display: flex; gap: 6px; }
.meta dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .row { grid-template-columns: minmax(0, 1fr); padding: 16px; } .row__logo, .row__arrow { display: none; } }

/* Ľudia */
.people { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.person { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); text-decoration: none; background: var(--white); min-width: 0; }
.person:hover { border-color: var(--black); }
.person:hover strong { text-decoration: underline; }
.person__body { min-width: 0; }
.person strong { display: block; font-size: 15.5px; line-height: 1.3; }
.person small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.avatar { border-radius: 50%; background: #D9D9D9; color: #4A4A4A; display: grid; place-items: center; font-weight: 600; flex: none; object-fit: cover; }
.avatar--sm { width: 40px; height: 40px; font-size: 14px; }
.avatar--md { width: 60px; height: 60px; font-size: 19px; }
.avatar--lg { width: 148px; height: 148px; font-size: 46px; }
.member-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.member-list a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 15px; }
.member-list a:hover span { text-decoration: underline; }

/* Tímy na stránke Výskum */
.team { border: 1px solid var(--line); border-top: 6px solid var(--yellow); padding: 28px; background: var(--white); }
.team__head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.team__head h2 { font-size: 24px; }
.team p { color: var(--muted); max-width: 52em; }
.team__cols { display: grid; gap: 24px; margin: 20px 0 24px; }
@media (min-width: 900px) { .team__cols { grid-template-columns: 1fr 1fr; } }
.label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 10px; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.plain-list li { display: flex; gap: 8px; align-items: flex-start; }
.plain-list .ico { margin-top: .25em; color: var(--muted); }

/* Detail */
.detail-grid { display: grid; gap: 40px; }
@media (min-width: 1080px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } }
.detail-grid > aside { min-width: 0; }
@media (max-width: 1079px) { .detail-grid > aside { order: -1; } }
@media (min-width: 1080px) { .person-grid { grid-template-columns: 360px minmax(0, 1fr); } }
.page-head--bare { border: 0; margin-bottom: 8px; padding-bottom: 0; }
.facts { background: var(--gray-50); border-top: 6px solid var(--yellow); padding: 24px; }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }
.facts .btn { margin-top: 22px; width: 100%; justify-content: center; }
.progress { height: 8px; background: var(--line); margin-top: 8px; }
.progress span { display: block; height: 100%; background: var(--yellow); }
.progress-label { font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 4px; display: block; }
.prose { max-width: 50em; }
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.areas li { padding-left: 16px; border-left: 3px solid var(--yellow); }
.areas strong { display: block; }
.areas span { color: var(--muted); font-size: 15px; }
.profile-card { text-align: left; }
.profile-card .avatar { margin-bottom: 20px; }
.profile-card h1 { font-size: 26px; margin-bottom: 6px; }
.profile-card__pos { color: var(--muted); margin: 0 0 4px; }
.profiles { display: flex; flex-wrap: wrap; gap: 8px; }
.profiles a { font-size: 13px; font-weight: 600; padding: 6px 10px; border: 1.5px solid var(--black); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.profiles a:hover { background: var(--black); color: var(--white); }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 600; background: var(--gray-50); }
.tbl td:first-child { white-space: nowrap; }
.schedule-day { margin-bottom: 24px; }
.schedule-day h3 { font-size: 16px; margin-bottom: 8px; }
.schedule-day td:first-child { width: 120px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Podujatia */
.events { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 20px 14px 14px; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.event:hover { border-color: var(--black); }
.event:hover h3 { text-decoration: underline; }
.event__date { background: var(--black); color: var(--white); text-align: center; padding: 10px 4px; line-height: 1.15; }
.event__day { display: block; font-size: 26px; font-weight: 600; color: var(--yellow); }
.event__my { display: block; font-size: 12px; }
.event--past .event__date { background: #6B6B6B; }
.event--past .event__day { color: var(--white); }
.event h3 { font-size: 17px; margin: 6px 0 4px; }
.event__info { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--muted); }
.event__info span { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 640px) { .event { grid-template-columns: 64px minmax(0, 1fr); padding: 12px; gap: 14px; } .event__arrow { display: none; } .event__day { font-size: 20px; } }

/* Partneri */
.partner { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-bottom: 4px solid var(--yellow); padding: 24px; text-decoration: none; }
.partner:hover { border-color: var(--black); border-bottom-color: var(--yellow); }
.partner:hover h3 { text-decoration: underline; }
.partner h3 { font-size: 18px; margin: 14px 0 4px; }
.partner__unit { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.partner .card__meta { gap: 6px 18px; }

/* Oznamy, kontrola dát */
.notice { border-left: 6px solid var(--red); background: var(--red-bg); padding: 20px 24px; margin: 40px 0; }
.notice h2 { font-size: 20px; margin-bottom: 8px; }
.notice code { background: var(--white); padding: 2px 6px; font-size: 14px; }
.notice--warn { border-left-color: var(--yellow); background: var(--yellow-100); }
.notice--ok { border-left-color: #2E7D32; background: #EDF7EE; }
.check-summary { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 32px; }
.check-summary div { background: var(--gray-50); padding: 14px 16px; }
.check-summary strong { display: block; font-size: 24px; }
.check-summary span { font-size: 13px; color: var(--muted); }
.sev { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.sev--err { color: var(--red); }
.sev--warn { color: #8A6100; }

/* ---------- Päta ---------- */
.footer__top { background: var(--gray); padding: 48px 0; font-size: 14px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer__grid p { margin: 0 0 6px; }
.footer__h { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__name { font-size: 16px; font-weight: 600; display: block; margin-bottom: 8px; }
.footer__bottom { background: var(--black); color: #CFCFCF; font-size: 13px; padding: 16px 0; }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer__bottom a { color: var(--white); }

/* Financovanie projektu (logo EÚ / programu + povinný text) */
.funding { display: flex; gap: 28px; align-items: center; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); max-width: 50em; }
.funding__logo { width: 300px; height: auto; max-height: 112px; object-fit: contain; object-position: left center; flex: none; }
.funding p { margin: 0 0 8px; }
.funding p:last-child { margin-bottom: 0; }
.funding__note { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .funding { flex-direction: column; align-items: flex-start; gap: 14px; } .funding__logo { width: 240px; } }

/* Logo projektu v bočnom boxe detailu */
.facts__logo { display: block; max-width: 160px; max-height: 140px; width: auto; height: auto; margin: 0 auto 20px; object-fit: contain; }
