.j-hero-compact.j-hero-static { min-height: 230px; }
.j-hero-compact.j-hero-static .j-hero-copy { padding-block: 26px; }
#journey-view .j-hero-compact.j-hero-static h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: .5rem; }
.j-hero-compact.j-hero-static .j-hero-media { min-height: 0; }
@media (max-width: 599px) {
  .j-hero-compact.j-hero-static { min-height: 0; }
  .j-hero-compact.j-hero-static .j-hero-media { height: 120px; }
  .j-hero-compact.j-hero-static .j-hero-copy { padding-block: 20px; }
}
.mi-panel .conditions-label { margin-top: 0; }
.mi-panel .condition-trigger { color: inherit; text-decoration: none; }
.mi-panel .condition-trigger:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.mi-signal { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; margin-inline-start: auto; }
.mi-signal.is-open { background: #83c68b; }
.mi-signal.is-closed { background: #e88184; }

.mi-nav, .mi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.mi-nav { margin-top: 1.25rem; border-bottom: 1px solid #dbe3d2; padding-bottom: .7rem; }
.mi-nav :is(a,span) { padding: .6rem .75rem; border-radius: .35rem; }
.mi-nav span { background: #dce9cf; color: #203928; font-weight: 700; }
.mi-nav svg { display: none; }
.mi-section { padding-block: 1.65rem; scroll-margin-top: calc(var(--header) + 1rem); }
.mi-section:last-child { margin-bottom: 2rem; }
.mi-section h2 { font-size: clamp(1.3rem,3vw,1.85rem); margin: 0 0 1rem; }
.mi-link { text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.mi-link:hover { color: #386034; }
.mi-summary { display: flex; align-items: baseline; gap: .55rem; }
.mi-summary strong { font-size: 2.25rem; line-height: 1.1; color: #35572b; }
.mi-notice, .mi-note { margin: .7rem 0 1rem; font-size: .9rem; line-height: 1.55; }
.mi-operations { list-style: none; padding: 0; margin: 0; border-top: 1px solid #dbe3d2; }
.mi-operations li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem 1rem; border-bottom: 1px solid #dbe3d2; padding: .8rem .25rem; }
.mi-operations small { display: block; color: #526557; margin-top: .2rem; }
.mi-status { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; flex: none; }
.mi-status .mi-signal, .mi-map-pin .mi-signal { margin: 0; }
.mi-lift-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(18rem, 1fr); gap: var(--content-grid-gap); align-items: start; }
.mi-lift-layout-summer { grid-template-columns: 1fr; }
.mi-resort-map { margin: 0; }
.mi-map-image { position: relative; isolation: isolate; border-radius: 0 23px 0 0; overflow: hidden; background: #dcebf5; }
.mi-map-image img { display: block; width: 100%; height: auto; }
.mi-resort-map figcaption { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 1rem; font-size: .875rem; }
.mi-resort-map figcaption > span { font-weight: 700; }
.mi-map-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; padding: 0; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.mi-map-pin .mi-signal { width: 16px; height: 16px; border: 3px solid white; box-shadow: 0 1px 4px #17313c80; }
.mi-map-pin-label { display: none; position: absolute; left: 50%; bottom: calc(100% - 4px); transform: translateX(-50%); padding: .2rem .55rem; border-radius: .35rem; background: #fff; box-shadow: 0 2px 8px #17313c38; font-size: .82rem; font-weight: 700; white-space: nowrap; pointer-events: none; }
.mi-map-pin:is([aria-pressed="true"], :hover, :focus-visible) { z-index: 1; }
.mi-map-pin:is([aria-pressed="true"], :hover, :focus-visible) .mi-map-pin-label { display: block; }
.mi-map-pin[aria-pressed="true"] > .mi-signal, .mi-map-pin[aria-pressed="true"] .mi-slope-badge { outline: 2px solid #305650; outline-offset: 1px; }
.mi-map-pin:focus-visible { outline: 2px solid #305650; outline-offset: -4px; border-radius: 50%; }
.mi-lift-overview { padding: var(--practical-card-padding); }
#journey-view .mi-lift-overview h2 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .55rem; letter-spacing: -.025em; }
.mi-lift-overview .mi-summary strong { font-size: 1.65rem; }
.mi-lift-overview .mi-summary { margin-bottom: .7rem; }
.mi-lift-overview .mi-summary span { font-size: .875rem; }
.mi-lift-name { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.mi-lift-name .condition-symbol { flex: none; width: 1.25rem; height: 1.25rem; color: #3e6052; }
.mi-operations li:has(button) { display: block; padding: 0; }
.mi-operations button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .75rem; text-align: left; border: 0; border-inline-start: 3px solid transparent; background: none; color: inherit; padding: .6rem .45rem .6rem .55rem; font: inherit; font-size: .875rem; line-height: 1.35; cursor: pointer; }
.mi-operations button small { font-size: .8rem; }
.mi-operations button:is(:hover, :focus-visible) { background: #f5f7ef; }
.mi-operations button[aria-pressed="true"] { border-inline-start-color: #799948; background: #eff4e7; }
.mi-legend { display: flex; align-items: center; gap: .4rem .85rem; flex-wrap: wrap; margin-top: .7rem; font-size: .8rem; color: #526557; }
.mi-legend > span { display: inline-grid; grid-template-columns: 8px auto; align-items: center; column-gap: .35rem; line-height: 1.2; white-space: nowrap; }
.mi-legend .mi-signal { display: block; margin: 0; position: static; }
.mi-operation-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: .85rem; border-radius: .6rem; background: #edf1e8; }
.mi-operation-tabs button { min-height: 44px; border: 0; border-radius: .45rem; padding: .35rem; background: transparent; color: #364b40; font: inherit; font-size: .84rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.mi-operation-tabs button[aria-selected="true"] { background: #29473b; color: #fff; }
.mi-operation-tabs button:focus-visible { outline: 2px solid #658532; outline-offset: 1px; }
.mi-slope-badge { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: white; font-size: .72rem; font-weight: 700; line-height: 1; }
.mi-slope-badge.is-red { background: #bd2035; }
.mi-slope-badge.is-blue { background: #1e5294; }
.mi-slope-badge.is-black { background: #222; }
.mi-slope-marker { position: relative; display: grid; place-items: center; }
.mi-map-pin .mi-slope-marker .mi-signal { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-width: 1.5px; }
.mi-map-pin .mi-slope-badge { border: 2px solid white; box-shadow: 0 1px 4px #17313c80; }
.mi-slope-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .35rem; }
.mi-slope-list button { justify-content: flex-start; gap: .42rem; min-height: 44px; padding: .45rem .2rem .45rem .35rem; }
.mi-slope-list button strong { min-width: 0; font-size: .8125rem; }
.mi-slope-list .mi-status { margin-inline-start: auto; width: .8rem; }

.mi-ski-guide, .mi-ski-intro, #provoz-sjezdovek { scroll-margin-top: calc(var(--header) + 1rem); }
.mi-ski-intro { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: .95rem; background: #243c36; color: #fff; }
.mi-ski-copy { align-self: center; padding: clamp(1.35rem, 4vw, 3rem); }
#journey-view .mi-ski-copy h2 { max-width: 14ch; margin: 0 0 .65rem; font-size: clamp(1.85rem, 4vw, 3.25rem); line-height: 1.06; }
.mi-ski-copy p { margin: 0 0 1.35rem; max-width: 36ch; color: #e5eee7; }
.mi-ski-copy .button { min-width: 12rem; }
.mi-ski-intro img { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.mi-ski-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; padding: 0; margin: .9rem 0 0; }
.mi-ski-steps li { display: flex; flex-direction: column; gap: .55rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; background: #fff; }
.mi-ski-step-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e9efd9; color: #263c2d; font-size: .95rem; font-weight: 700; }
.mi-ski-steps h3 { margin: 0; font-size: 1.04rem; line-height: 1.25; }
.mi-ski-steps p { margin: 0; font-size: .91rem; line-height: 1.55; }
.mi-ski-step-links { display: flex; flex-wrap: wrap; gap: .3rem .75rem; margin-top: auto; padding-top: .3rem; font-size: .86rem; }
@media (max-width: 959px) {
  .mi-ski-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 819px) {
  .mi-lift-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .mi-ski-intro { grid-template-columns: 1fr; }
  .mi-ski-intro img { max-height: 13rem; }
  .mi-map-pin { width: 1.65rem; height: 1.65rem; }
  .mi-map-pin-label { font-size: .75rem; }
  .mi-map-pin .mi-slope-badge { width: 1.25rem; height: 1.25rem; font-size: .62rem; }
}
@media (max-width: 479px) {
  .mi-ski-steps { grid-template-columns: 1fr; }
}
.mi-slopes { margin-block: .8rem; }
.mi-slopes summary { cursor: pointer; font-weight: 700; padding: .55rem 0; }
.mi-slopes table { width: 100%; border-collapse: collapse; }
.mi-slopes :is(td,th) { text-align: left; padding: .55rem .3rem; border-bottom: 1px solid #dbe3d2; }
.mi-camera-nav { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; padding-block: .9rem .35rem; }
.mi-camera-stack { display: grid; gap: 1.75rem; }
.mi-camera-stack article { min-width: 0; }
.mi-camera-stack h3 { margin: 0 0 .55rem; font-size: 1.2rem; }
.mi-camera { display: grid; margin: 0; aspect-ratio: 16 / 9; background: #223236; color: #fff; border-radius: .55rem; overflow: hidden; }
.mi-camera > * { grid-area: 1 / 1; }
.mi-camera img { width: 100%; height: 100%; min-height: 0; object-fit: contain; visibility: hidden; }
[data-camera-state="ready"] .mi-camera img { visibility: visible; }
.mi-camera-placeholder { color: #fff; display: grid; place-items: center; padding: .75rem; margin: 0; text-align: center; }
.mi-camera-refresh { border: 0; background: transparent; color: inherit; padding: 0; min-height: 44px; cursor: pointer; font: inherit; font-weight: 700; }
.mi-weather-now, .mi-forecast { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--content-grid-gap); margin: 0; }
.mi-weather-now > div, .mi-forecast article { padding: var(--practical-card-padding); }
.mi-weather-now dd, .mi-forecast strong { margin: .2rem 0 0; font-size: clamp(1.2rem,3vw,1.8rem); font-weight: 700; }
.mi-weather-now .condition-symbol, .mi-forecast .condition-symbol {
  display: block; color: #315a37; width: clamp(28px, 6vw, 42px); height: clamp(28px, 6vw, 42px); flex: none;
}
.mi-weather-now .condition-symbol { margin-bottom: .55rem; }
.mi-forecast-condition { display: flex; align-items: center; gap: .7rem; margin-block: .45rem; }
.mi-forecast h3 { font-size: 1rem; margin: 0; }
.mi-forecast p { margin: 0 0 .5rem; }
.mi-forecast dl div { display: flex; justify-content: space-between; gap: .3rem; }
.mi-forecast dd { margin: 0; }
@media(max-width: 599px) {
  #obsah .hero-inner {
    min-height: clamp(365px, 65svh, 540px);
    padding-block: 64px 30px;
  }
  .hero + .mi-panel {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: #f4f7ee;
    border-bottom: 1px solid #dbe5d7;
    color: #213d32;
    width: 100%;
    padding: 12px max(12px, 4vw) 8px;
    gap: 4px 0;
  }
  .hero + .mi-panel::before { display: none; }
  .hero + .mi-panel .conditions-label {
    font-size: .875rem;
    padding-inline: 5px;
    margin: 0 0 2px;
  }
  .hero + .mi-panel > .condition { grid-column: span 2; }
  .hero + .mi-panel > .mi-attraction { grid-column: span 3; border-top: 1px solid #dbe5d7; }
  .hero + .mi-panel > .condition:nth-child(3),
  .hero + .mi-panel > .condition:nth-child(4),
  .hero + .mi-panel > .condition:nth-child(6) { border-left: 1px solid #dbe5d7; }
  .hero + .mi-panel .condition-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 3px;
    min-height: 68px;
    line-height: 1.2;
  }
  .hero + .mi-panel .mi-attraction .condition-trigger {
    flex-direction: row;
    align-items: center;
    gap: 5px;
    min-height: 47px;
  }
  .hero + .mi-panel .condition-trigger::before { display: none; }
  .hero + .mi-panel .condition-trigger:focus-visible { outline: 2px solid #006c70; outline-offset: -2px; }
  .hero + .mi-panel .condition-trigger > .condition-symbol { width: 20px; height: 20px; color: #315a37; }
  .hero + .mi-panel .condition-trigger strong { font-size: .75rem; }
  .hero + .mi-panel .condition-trigger span span { color: #425d51; font-size: .625rem; margin-top: 3px; }
  .hero + .mi-panel .mi-signal { position: static; width: 7px; height: 7px; flex-basis: 7px; margin: 0; }
  .hero + .mi-panel .mi-signal.is-open { background: #35784b; }
  .hero + .mi-panel .mi-signal.is-closed { background: #b3454e; }
  .mi-forecast { grid-template-columns: 1fr; }
  .mi-weather-now { gap: 8px; }
  .mi-weather-now > div { padding: .6rem; }
  .mi-nav { gap: .3rem; }
  .mi-nav :is(a,span) { padding: .55rem .35rem; font-size: .88rem; }
}
