/* V1.0.1 – consistent map state, card movement and full yellow underline. */

/* The public heading has one editorial emphasis, not a single-word decoration. */
#verejna-cinnost .public-underline{display:inline;white-space:normal;box-decoration-break:clone;-webkit-box-decoration-break:clone}

/* All countries start on clean white paper; only visited ones receive the
   separately animated pale-blue wash. This also overrides nth-child tints. */
#cesty .travel-map-panel .europe-map-shapes .eu-country,
#cesty .travel-map-panel .europe-map-shapes .eu-country:nth-child(n),
#cesty .travel-map-panel .europe-map-shapes .eu-country.home,
#cesty .travel-map-panel .europe-map-shapes .eu-country.visited,
#cesty .travel-map-panel .europe-map-shapes .eu-country.home.visited{
  fill:#fff!important;
}
#cesty .travel-map-panel .marker-wash{
  fill:#91b3f0!important;
  opacity:.54!important;
}

/* The timeline and the five additional experiences behave like the existing
   project and overview cards. Rest state remains slightly hand-rotated. */
#milniky .timeline-card,
#projekty .experience-card{
  transition:transform .25s cubic-bezier(.16,.8,.24,1),
             box-shadow .25s ease,
             border-color .25s ease;
  will-change:transform;
}
@media(hover:hover) and (pointer:fine){
 #milniky .timeline-card:hover,
 #projekty .experience-card:hover{
   transform:translateY(-7px) rotate(.15deg)!important;
   box-shadow:8px 11px 0 #cbd9f7!important;
   border-color:#2952e3!important;
 }
}
#milniky .timeline-card:focus-within,
#projekty .experience-card:focus-within{
 transform:translateY(-5px) rotate(.1deg)!important;
 box-shadow:8px 10px 0 #cbd9f7!important;
}
@media(prefers-reduced-motion:reduce){
 #milniky .timeline-card,#projekty .experience-card{transition:none!important;will-change:auto}
 #milniky .timeline-card:hover,#projekty .experience-card:hover,
 #milniky .timeline-card:focus-within,#projekty .experience-card:focus-within{
  transform:none!important;box-shadow:5px 6px 0 #dce4fb!important;
 }
}
