/* Iron Athlet, o. z. – doplnkové štýly podstránky /iron-athlet/ */
.ia-sec { padding-top: 5rem; scroll-margin-top: 8rem; }
@media (min-width: 640px) { .ia-sec { padding-top: 6.5rem; } }
#uvod { scroll-margin-top: 0; }

/* časová os projektov */
@media (min-width: 640px) {
  .ia-timeline::before { content: ""; position: absolute; left: 6.1rem; top: 1.75rem; bottom: 1.75rem; width: 2px;
    background: linear-gradient(#FF5A1F, rgba(255,90,31,.15)); }
}

/* miesto pre chýbajúcu fotku */
.ia-nofoto { background: repeating-linear-gradient(135deg, rgba(237,232,220,.04) 0 2px, transparent 2px 14px), #15130F; min-height: 9rem; }

.ia-stripes { background: repeating-linear-gradient(135deg, #FF5A1F 0 2px, transparent 2px 18px); }

/* jemné animácie: úvod pri načítaní, sekcie pri posune */
@keyframes iaIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ia-in { animation: iaIn .7s cubic-bezier(.2,.7,.2,1) both; }
.ia-in:nth-child(2) { animation-delay: .05s; } .ia-in:nth-child(3) { animation-delay: .1s; }
.ia-in:nth-child(4) { animation-delay: .15s; } .ia-in:nth-child(5) { animation-delay: .2s; }
.ia-in:nth-child(6) { animation-delay: .25s; } .ia-in:nth-child(7) { animation-delay: .3s; }
.ia-js .ia-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ia-d, 0ms); }
.ia-js .ia-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ia-in { animation: none; }
  .ia-js .ia-reveal { opacity: 1; transform: none; transition: none; }
}

/* aktívna sekcia v rýchlej navigácii */
.ia-subnav a[aria-current="true"] { color: #FF5A1F; }
.ia-subnav div { scrollbar-width: none; } .ia-subnav div::-webkit-scrollbar { display: none; }

/* testovacia verzia: horný pás „verejný test“ (34 px) posúva hlavičku nižšie */
body.sgt-ma-pas .ia-subnav { top: calc(4rem + 34px); }
@media (min-width: 640px) { body.sgt-ma-pas .ia-subnav { top: calc(5rem + 34px); } }
