/* == Aktuality */
.news .item { position: relative; padding: 10px; }
.news .item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 16px;
  padding-bottom: 10px;
}
.news h3 { margin-top: 6px; font-size: 18px; line-height: 24px; min-width: 0; }
.news .pub-date { flex: none; white-space: nowrap; }
.news .item > .clearfix { position: relative; }
.news .thumbnail { float: left; width: var(--thumb, 100px); height: var(--thumb, 100px); margin-right: 10px; }
/* Text keeps its own column next to the picture instead of wrapping under it */
.news .item > .has-thumb { min-height: var(--thumb, 100px); padding-left: calc(var(--thumb, 100px) + 12px); }
.news .has-thumb .thumbnail { position: absolute; left: 0; top: 0; float: none; margin: 0; }
/* The round frame is an absolutely positioned <img> with inline offsets; pin it to the thumbnail instead */
.news .item > .clearfix > img:not(.thumbnail) {
  position: absolute;
  left: 0 !important;
  top: 0 !important;
  width: var(--thumb, 100px);
  height: var(--thumb, 100px);
  max-width: none;
  pointer-events: none;
}
/* == Plan akci (notepad stretches with its content) */
.block.bg-blok {
  min-height: 281px;
  padding: 6px 8px 7px 20px;
  background: none;
  border-radius: 0;
  border-style: solid;
  border-width: 44px 12px 26px 20px;
  border-image: url(/img/site/grafika-ea7e9d5e64.webp) 44 12 26 20 fill stretch;
}
.list.akce { margin-bottom: 40px; }
.block.akce h3 { display: inline; margin: 0; font-size: 14px; }
/* == Zpravy (speech bubble drawn in CSS, the bird sits on its top edge and speaks through a vector tail) */
#twitter-widget { position: relative; padding-top: 70px; margin-bottom: 40px; }
#twitter-widget::before, #twitter-widget::after { content: ""; position: absolute; pointer-events: none; }
#twitter-widget::before {
  top: 0;
  right: 16px;
  z-index: 2;
  width: 61px;
  height: 64px;
  background: url(/img/site/zpravy-ptacek.webp) no-repeat center / contain;
}
/* The tail's horizontal ends lie exactly on the bubble's 1px top border (70.5px), so the outline runs on without a seam */
#twitter-widget::after {
  top: 28px;
  right: 76px;
  z-index: 1;
  width: 60px;
  height: 44px;
  background: url(/img/site/zpravy-zobacek.svg) no-repeat;
}
.twitter-widget-inner {
  padding: 20px 29px 20px;
  background: var(--paper);
  border: 1px solid var(--bubble);
  border-radius: 8px;
}
#twitter_update_list { list-style: none; margin: 0; padding: 0; }
#twitter_update_list li { padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px solid var(--water); }
#twitter_update_list img { display: block; width: 100% !important; margin-bottom: 5px; }
/* Text starts lower than its line box, so the bubble's top padding is set for text and a photo on top gets the difference */
#twitter_update_list li:first-child > a:first-child img, #twitter_update_list li:first-child > .msg-photos:first-child { margin-top: 6px; }
#twitter_update_list small { font-size: 85%; }
h2.block-title.twitter-title { position: absolute; left: 2px; top: 24px; margin: 0; }
/* == Narozeniny */
#narozeniny-widget { position: relative; margin-bottom: 40px; }
#narozeniny-widget .block-title { text-align: right; margin-bottom: 10px; }
#narozeniny-widget .block { position: relative; padding: 8px 14px; }
#narozeniny-widget .block::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -42px;
  width: 110px;
  height: 74px;
  background: url(/img/site/grafika-0872140662.png) no-repeat top left;
}
#narozeniny-widget h3 {
  font-family: var(--font-light);
  text-align: right;
  padding: 0 15px 8px 115px;
  text-wrap: balance;
}
.narozeniny-date { padding: 5px 0; border-top: 1px solid var(--line); }
#narozeniny-widget .date { font-family: var(--font-heavy); font-size: 24px; line-height: 28px; font-weight: bold; color: var(--blue); }

/* Wide desktop, home page only: block titles hang vertically beside their blocks, as in the original */
@media (min-width: 1100px) {
  #container[data-view="home"] .block-title, #container[data-view="home"] h2.block-title.twitter-title, #container[data-view="home"] #narozeniny-widget .block-title {
    position: absolute;
      left: auto;
      right: 100%;
      top: 20px;
      margin: 0 4px 0 0;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      white-space: nowrap;
      line-height: 44px;
      text-align: left;
  }
  #container[data-view="home"] h2.block-title.twitter-title { top: 78px; }
  #container[data-view="home"] #narozeniny-widget .block-title { top: auto; bottom: 8px; }
  #narozeniny-widget { margin-top: 70px; }
}

/* Two columns */
@media (min-width: 900px) {
  #content.center-and-right { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; }
}

@media (max-width: 600px) {
  .news .item-header { flex-direction: column-reverse; align-items: flex-start; }
  .news .pub-date { font-size: 14px; color: var(--muted); }
  .news h3 { margin-top: 0; }
  .list.akce .item { padding: 7px 0; }
}

@media (max-width: 400px) {
  .news .item { --thumb: 84px; }
  .twitter-widget-inner { padding-inline: 16px; }
}

.col-date { white-space: nowrap; }
.col-title a, .col-oddil a, .col-title a:visited, .col-oddil a:visited { color: var(--ink); }
.vyprava .col-date, .vyprava .col-title, .vyprava .col-oddil { font-weight: bold; }
.vyprava .col-title { font-size: 18px; }
.plavani td { font-size: 12px; padding: 0 10px; }
.hide-minor tr.schuzka, .hide-minor tr.plavani { display: none; }
.list-akce > a { display: inline-block; margin-top: 12px; }
/* == Detail akce */
.detail-akce { position: relative; }
.detail-akce .item-header { padding-bottom: 30px; padding-right: 70px; }
.detail-akce .date { color: #000; }
.detail-organizacky::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 20px;
  width: 40px;
  height: 114px;
  background: url(/img/site/hodinky.png) no-repeat top right;
}
.akce-menu .block img { max-width: 100%; border-radius: var(--photo-radius); }
/* Home notepad: one line per event - weekday, date, title, troop chips */
.block.akce .item { display: grid; grid-template-columns: 36px 70px minmax(0, 1fr) auto; column-gap: 6px; align-items: baseline; padding: 6px 0; }
.block.akce .item .den { font-size: 13px; line-height: 20px; color: #667; white-space: nowrap; }
.block.akce .item .datum { font-size: 15px; line-height: 20px; font-weight: bold; white-space: nowrap; }
.block.akce .item h3 { display: block; margin: 0; min-width: 0; font-family: var(--font-body); font-size: 16px; line-height: 20px; overflow-wrap: break-word; }
.block.akce .item.vyprava h3 { font-family: var(--font-heavy); font-size: 18px; line-height: 21px; }
.block.akce .item h3 a { text-decoration: underline; }
.block.akce .item h3 a:hover { text-decoration: none; }
.block.akce .item .oddil .troop-chips { justify-content: flex-end; }
.block.akce .more-link { display: inline-block; margin-top: 8px; }

@media (max-width: 440px) {
  .block.akce .item { grid-template-columns: 34px 64px minmax(0, 1fr) auto; column-gap: 5px; }
  .block.akce .item .datum { font-size: 14px; }
  .block.akce .item.vyprava h3 { font-size: 16px; }
}
/* Rows share one column grid, so the weekday and date columns fit the widest value and never overlap the title */
@supports (grid-template-columns: subgrid) {
  .block.akce { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; column-gap: 10px; }
  .block.akce > * { grid-column: 1 / -1; }
  .block.akce .more-link { justify-self: start; }
  .block.akce .item { grid-template-columns: subgrid; column-gap: 10px; }
}

.list-akce .rok { display: none; }
.list-akce tr { background: none; }

@media (min-width: 760px) {
  .list-akce table { margin-top: 4px; }
  .list-akce td { padding: 8px 10px; border-top: 1px solid var(--water); font-size: 14px; color: var(--muted); }
  .list-akce tr:first-child th { padding-bottom: 2px; font-family: var(--font-body); font-size: 12px; font-weight: bold; letter-spacing: .04em; color: var(--muted); }
  .list-akce tr.mesic th {
    position: sticky;
      top: env(safe-area-inset-top, 0px);
      z-index: 2;
      padding: 16px 10px 6px;
      font-size: 18px;
      line-height: 24px;
      color: var(--navy);
      background: var(--paper);
      box-shadow: inset 0 -2px var(--navy);
  }
  .list-akce tr.mesic + tr td { border-top: 0; }
  .list-akce .col-date { font-size: 15px; font-weight: bold; color: var(--ink); }
  .list-akce .den { margin-left: 8px; font-size: 12px; font-weight: normal; color: var(--muted); }
  .list-akce .col-oddil { font-size: 13px; }
  .list-akce .col-oddil a, .list-akce .col-oddil a:visited { color: var(--muted); text-decoration: none; }
  .list-akce .col-title { font-size: 16px; }
  .list-akce .col-title a, .list-akce .col-title a:visited { color: var(--blue); text-decoration: underline; }
  .list-akce .col-title a:hover { text-decoration: none; }
  .list-akce .col-oddil a:hover { text-decoration: underline; }
  .list-akce .col-price { white-space: nowrap; color: var(--ink); }
  .list-akce tr.vyprava td { background: #eaf3f6; }
  .list-akce tr.vyprava td:first-child { box-shadow: inset 4px 0 var(--orange); }
  .list-akce tr.vyprava .col-title { font-family: var(--font-heavy); font-size: 19px; line-height: 24px; font-weight: normal; }
  .list-akce tr.vyprava .col-oddil { font-weight: bold; }
  .list-akce tr.plavani td { padding: 3px 10px; font-size: 12px; }
  .list-akce tr.plavani .col-date { font-weight: normal; color: var(--muted); }
  .list-akce tr.plavani .col-title a { color: var(--muted); }
}

@media (min-width: 760px) and (max-width: 899px) {
  .list-akce > h1 { margin-bottom: 35px; }
}

@media (min-width: 980px) {
  .col-date { min-width: 140px; }
  .col-oddil { min-width: 120px; }
  .col-price { min-width: 70px; }
}

@media (max-width: 899px) {
  .plavani td { padding: 0 6px; }
}

@media (max-width: 759px) {
  .list-akce > h1 { order: -1; margin-bottom: 6px; }
  /* List: agenda grouped by month. Date on the left, title + oddil, then one line "sraz -> navrat - cena" */
  .list-akce .block-content { padding: 10px 0 4px; }
  .list-akce .block-content > .button { display: block; margin: 0 10px 10px; }
  .list-akce table, .list-akce tbody { display: block; }
  .list-akce tr { display: flow-root; padding: 9px 10px 9px 96px; background: none; border-top: 1px solid var(--water); }
  .list-akce tr:first-child { display: none; }
  .list-akce td { display: inline; padding: 0; min-width: 0; font-size: 13px; line-height: 19px; font-weight: normal; color: var(--muted); }
  .list-akce td:empty { display: none; }
  .list-akce .col-date { float: left; width: 80px; margin-left: -86px; white-space: normal; font-size: 15px; line-height: 20px; font-weight: bold; color: var(--ink); }
  .list-akce .rok { display: none; }
  .list-akce .den { display: block; font-size: 12px; line-height: 16px; font-weight: normal; color: var(--muted); }
  .list-akce .col-oddil { float: right; margin-left: 8px; font-size: 12px; line-height: 22px; }
  .list-akce .col-oddil a, .list-akce .col-oddil a:visited { color: var(--muted); text-decoration: none; }
  .list-akce .col-title { display: block; font-size: 16px; line-height: 22px; }
  .list-akce .col-title a, .list-akce .col-title a:visited { color: var(--blue); text-decoration: underline; }
  .list-akce .col-title a:hover { text-decoration: none; }
  .list-akce .col-navrat::before { content: " \2192  "; }
  .list-akce .col-price::before { content: " \00b7  "; }
  .list-akce .col-price { white-space: nowrap; color: var(--ink); }
  /* Vypravy stand out, plavani steps back */
  .list-akce tr.vyprava { background: linear-gradient(var(--orange), var(--orange)) left / 4px 100% no-repeat, #eaf3f6; }
  .list-akce tr.vyprava .col-title { font-family: var(--font-heavy); font-size: 19px; line-height: 24px; }
  .list-akce tr.plavani { padding-block: 5px; }
  .list-akce tr.plavani .col-date { font-size: 13px; font-weight: normal; color: var(--muted); }
  .list-akce tr.plavani .den { display: inline; margin-left: 4px; }
  .list-akce tr.plavani .col-title { font-size: 14px; line-height: 20px; }
  .list-akce tr.plavani .col-title a { color: var(--muted); }
  .list-akce tr.plavani td { font-size: 12px; line-height: 17px; }
  /* Month heading sticks to the top while its events scroll */
  .list-akce tr.mesic {
    display: block;
      position: sticky;
      top: env(safe-area-inset-top, 0px);
      z-index: 2;
      padding: 8px 10px 6px;
      background: var(--paper);
      border-top: 0;
      border-bottom: 2px solid var(--navy);
  }
  .list-akce tr.mesic th { display: block; padding: 0; font-size: 18px; line-height: 24px; color: var(--navy); }
  .hide-minor tr.schuzka, .hide-minor tr.plavani { display: none; }
  .akce-menu > br { display: none; }
  .akce-menu > .button { margin: 0; }
  .akce-menu > .back-button { order: -1; flex: 1 0 100%; }
  .akce-menu > .two-line-button { order: 1; flex: 1 1 150px; align-self: stretch; }
  /* Leaders' buttons stay right under "back", above the article */
  .akce-menu > .leader-button { order: -1; flex: 1 1 150px; align-self: stretch; }
  /* Paired buttons share the row height; keep shorter labels vertically centred */
  .akce-menu > .two-line-button, .akce-menu > .leader-button { display: flex; flex-direction: column; justify-content: center; }
  .akce-menu > .block { order: 2; flex: 1 0 100%; }
  .akce-menu > .block img { display: block; width: 100% !important; max-width: 320px; }
  .detail-akce .item-header { padding-bottom: 18px; padding-right: 50px; }
  .detail-organizacky::before { right: 8px; }
}

/* Phone and tablet: plan akci and zpravy first, then aktuality, narozeniny last */
@media (max-width: 899px) {
  #content.center-and-right { row-gap: 0; }
  #content.center-and-right #content-aside { display: contents; }
  #content.center-and-right #content-aside > * { width: 100%; max-width: 420px; margin-inline: auto; }
  #content.center-and-right #content-main { order: 1; margin-bottom: 60px; }
  #content.center-and-right #narozeniny-widget { order: 2; }
}

.introtext { font-size: 18px; line-height: 24px; }
.oddil-header { margin-bottom: 20px; }
.oddil-header h2 {
  height: 55px;
  margin: 0;
  padding: 5px 0 0 70px;
  font-size: 30px;
  line-height: 44px;
  color: var(--ink);
  background: no-repeat 0 0 / 55px 55px;
  /* The emblems have a see-through disc for the header; on the page it gets the header's blue from a circle beneath */
  --disc: radial-gradient(circle, #1a4078 26px, transparent 26.5px);
}
.oddil-header h2.argonauti { background-image: url(/img/site/logo/argonauti.svg?v=2), var(--disc); }
.oddil-header h2.apollon { background-image: url(/img/site/logo/apollon.svg?v=2), var(--disc); }
.oddil-header h2.cheiron { background-image: url(/img/site/logo/cheiron.svg?v=2), var(--disc); }
.oddil-header h2.achilleus { background-image: url(/img/site/logo/achilleus.svg?v=2), var(--disc); }
/* == People cards and avatar lists */
.kapitanat-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin-bottom: 10px; background: #d8e6eb; border-radius: 6px; overflow-wrap: anywhere; }
.kapitanat-item img { flex: none; width: 70px; height: 70px; object-fit: cover; border-radius: 50%; }
.kapitanat-text { min-width: 0; line-height: 22px; }
.vedouci-foto { display: block; width: 100%; margin: 10px 0 20px; }
.vedouci-item { align-items: flex-start; padding: 12px; }
.vedouci-fotky { display: flex; flex: none; flex-direction: column; gap: 10px; }
.vedouci-item .vedouci-fotky img { width: 100px; height: 100px; }
.vedouci-item .blue { display: block; }
.vedouci-omne { margin: 4px 0 6px; }
.vedouci-omne p { margin: 0 0 6px; }
.kapitanat-item h3, .kapitanat-item h3 a { margin: 0; font-size: 16px; line-height: 22px; color: #000; }
.list-kapitanat h2 { margin-top: 0 !important; }
.list-kapitanat h2 a { color: inherit; }
.vedouci-item[id] { scroll-margin-top: 16px; }
/* == Oddil */
.oddil-detail { position: relative; padding: 10px; }
.oddil-photo { padding-bottom: 30px; }
.oddil-photo img { display: block; width: 100%; }
.oddil-detail > .clearfix { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.oddil-detail > .clearfix::after { content: none; }
.co-delame { flex: 1 1 320px; min-width: 0; }
.list-kapitanat { flex: 1 1 280px; min-width: 0; }
.co-delame h2 { margin-top: 0 !important; }
/* As narrow as on the old site, so the texts stay close to pictures on either side */
.co-delame ul { max-width: 400px; list-style: none; margin: 0; padding: 0; }
.co-delame li { display: flow-root; margin: 0; padding: 0 0 20px; }
.co-delame li img { max-width: 45%; }
/* Rows of the old "Co děláme" texts: pictures alternate sides and each text sits where it did on the old site */
.co-delame .schuzky p { padding-top: 5px; }
.co-delame .plavani p { padding-top: 7px; }
.co-delame .vypravy img { padding-top: 8px; }
.co-delame .lyze p { padding-top: 15px; padding-left: 40px; }
.co-delame .tabor p { padding-top: 25px; }
.co-delame .prispevky p { padding-top: 8px; padding-left: 20px; }
.oddil-detail > .button { margin-top: 20px; }
/* == Kontakt: people left, address + billing right; on phones address, people, billing */
.detail-kontakty::before, .detail-prispevky::before, .detail-kronika::before, .detail-registrace::before {
  content: "";
  position: absolute;
  top: 5px;
  right: 20px;
  width: 110px;
  height: 100px;
  background: no-repeat top right / contain;
  pointer-events: none;
}
.detail-kontakty::before { background-image: url(/img/site/ikona-kontakty.png); width: 96px; height: 89px; }
.detail-prispevky::before { background-image: url(/img/site/ikona-prispevky.png); width: 63px; height: 58px; }
.detail-kronika::before { background-image: url(/img/site/ikona-kronika.png); width: 110px; height: 97px; }
.detail-registrace::before { background-image: url(/img/site/ikona-registrace.png); width: 100px; height: 51px; top: 18px; }
.detail-registrace { position: relative; }
.detail-registrace h1 { padding-right: 110px; }
.detail-registrace h2 { margin: 20px 0 4px; font-size: 22px; line-height: 28px; }
.detail-registrace ul { margin: 6px 0; }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0 30px; }
.kontakt-lide { grid-column: 1; grid-row: 1 / 3; }
.kontakt-adresa { grid-column: 2; grid-row: 1; }
.kontakt-udaje { grid-column: 2; grid-row: 2; }
.kontakt-grid h2 { margin-top: 10px !important; }
.kontakt-grid h3 { margin-top: 18px; }
.kontakt-mapa { display: block; width: 100%; max-width: 350px; height: 300px; margin-bottom: 8px; border: 0; }
/* == Prispevky */
.detail-prispevky { padding: 10px; }
.detail-prispevky h1 { padding-right: 70px; }
.detail-prispevky h3 { margin-top: 18px; }
.detail-prispevky select { max-width: 100%; margin: 4px 4px 4px 0; padding: 6px 8px; font: 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
#qrcode { min-height: 0; margin: 10px 0; }
.qr-platba { margin-top: 10px; }
#qrcode canvas { display: block; width: 256px; max-width: 100%; height: auto; }
.qr-dohoda { color: #c00; }
.castky { margin-bottom: 30px; }

@media (max-width: 759px) {
  .detail-prispevky h3 + p { line-height: 32px; }
}

#qrcode img, #qrcode canvas { width: 180px; max-width: 100%; height: auto; }
.vs-seznam { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 30px; }
.vs-seznam::after { content: none; }
.vs-sloupec h4 { text-align: center; margin-bottom: 6px; }
/* == Kronika list: equal cards, title band grows upward over the photo, text clamped */
.list-kronika { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 14px; padding: 12px 14px; }
.list-kronika::after { content: none; }
.list-kronika > .block, .list-kronika > .pagination { grid-column: 1 / -1; padding: 0; }
.list-kronika .item { display: grid; grid-template-rows: auto 1fr; padding: 0; border: 0; min-width: 0; }
.list-kronika .item > div:first-child { grid-area: 1 / 1; width: auto !important; height: auto !important; aspect-ratio: 4 / 3; background: #eef3f5; }
.list-kronika .item-thumb { display: block; height: 100%; }
.list-kronika .item-thumb img { display: block; width: 100% !important; height: 100%; object-fit: cover; }
.list-kronika .item-thumb.no-image img { object-fit: contain; padding: 10px 10px 40px; }
.list-kronika .overlay-header { grid-area: 1 / 1; align-self: end; z-index: 1; padding: 6px 12px 8px; background: rgba(255, 255, 255, .86); }
.list-kronika .item:hover .overlay-header { background: rgba(255, 255, 255, .94); }
#content-main .list-kronika h2 { margin: 0; font-family: var(--font-heavy); font-size: 20px; line-height: 25px; overflow-wrap: break-word; text-wrap: balance; }
.list-kronika .item-body { grid-row: 2; display: flex; flex-direction: column; padding: 8px 2px 0; min-width: 0; }
.list-kronika .item-body p { margin: 0 0 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; overflow-wrap: break-word; }
.list-kronika .item-body p:empty { display: none; }
.list-kronika .item-footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.list-kronika .item-footer .button { margin: 0; }
/* == Zapis z kroniky */
.detail-kronika { padding: 10px; }
.detail-kronika .item-header { padding-right: 130px; }
.detail-kronika h1 { max-width: none !important; }
.promofotka { padding-bottom: 30px; }
.promofotka img { display: block; width: 100%; }
/* Entry to the gallery: a row of square previews, the last one carrying the number of remaining photos */
.galerie-nahled { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 16px 0 6px; }
.galerie-nahled a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--photo-radius); background: #eef3f5; }
.galerie-nahled img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 200ms; }
.galerie-nahled a:hover img { transform: scale(1.04); }
.galerie-vic { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0, 51, 102, .72); color: #fff; font-family: var(--font-heavy); font-size: clamp(17px, 4.5vw, 26px); line-height: 1.1; }
.galerie-vic small { font-family: var(--font-body); font-size: 13px; color: var(--orange); }
.galerie-zip { margin: 0 0 10px; font-size: 14px; }
.detail-kronika .promofotka img, .detail-akce .promofotka img { border-radius: var(--photo-radius); }
.list-kronika .item > div:first-child { border-radius: var(--photo-radius); overflow: hidden; }
.list-kronika .overlay-header { border-radius: 0 0 var(--photo-radius) var(--photo-radius); }
.detail-kronika h2 a { color: inherit; }

@media (max-width: 759px) {
  #nav:not(:has(> .akce-menu)) { order: -2; flex: 1 0 100%; }
  .oddil-header { margin-bottom: 0; }
  .detail-kontakty::before, .detail-prispevky::before { width: 56px; height: 52px; right: 8px; }
  .detail-kronika::before { width: 62px; height: 55px; right: 8px; }
  .detail-kronika .item-header { padding-right: 66px; padding-bottom: 14px; }
  .detail-kontakty h1, .detail-prispevky h1 { padding-right: 60px; }
  /* Kontakt: address, people, billing */
  .kontakt-grid { display: flex; flex-direction: column; }
  .kontakt-adresa { order: 1; }
  .kontakt-lide { order: 2; margin-top: 10px; }
  .kontakt-udaje { order: 3; }
  .kontakt-mapa { max-width: none; }
  .vedouci-item .vedouci-fotky img { width: 70px; height: 70px; }
  .detail-prispevky select { display: block; width: 100%; margin: 6px 0; padding: 10px 8px; }
  .list-kronika { padding: 10px; }
}

/* Kronika on phones: compact rows, photo left, text right */
@media (max-width: 559px) {
  .list-kronika { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .list-kronika > .block { padding-bottom: 10px; }
  .list-kronika > .pagination { padding-top: 12px; }
  .list-kronika .item { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 10px; padding: 12px 0; border-top: 1px solid var(--water); }
  .list-kronika .item > div:first-child { grid-area: 1 / 1 / 3 / 2; align-self: start; }
  .list-kronika .item-thumb.no-image img { padding: 6px; }
  .list-kronika .overlay-header { grid-area: 1 / 2; align-self: start; padding: 0; background: none !important; }
  #content-main .list-kronika h2 { font-size: 18px; line-height: 22px; }
  .list-kronika .overlay-header span { font-size: 14px; color: var(--muted); }
  .list-kronika .item-body { grid-area: 2 / 2; padding: 4px 0 0; }
  .list-kronika .item-body p { -webkit-line-clamp: 2; line-clamp: 2; font-size: 14px; line-height: 19px; margin-bottom: 8px; }
}

@media (min-width: 560px) and (max-width: 759px) {
  .list-kronika { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#fvyhledavani { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 4px 3px 10px; }
#fvyhledavani input[type="text"] { flex: 0 1 240px; min-width: 0; padding: 7px 8px; font: 16px var(--font-body); border: 1px solid var(--line); border-radius: 4px; }
#fvyhledavani .tlacitko { padding: 7px 14px; border: 0; border-radius: 6px; font: 16px var(--font-light); color: var(--orange); background: var(--navy); cursor: pointer; }
.list-adresar tr { background: none; }
.list-adresar td { border-top: 1px solid var(--water); }
.list-adresar tr.prvni-dite td { border-top: 2px solid var(--orange); }
/* Every other row lightly tinted, so the children are easy to count */
.list-adresar tr:nth-child(odd):not(:first-child) { background: #eef5f8; }
.list-adresar tr:first-child th { padding-bottom: 2px; font-family: var(--font-body); font-size: 12px; font-weight: bold; letter-spacing: .04em; color: var(--muted); }
.list-adresar td:nth-child(2) { font-weight: bold; }
.list-adresar td:nth-child(1), .list-adresar td:nth-child(7) { color: var(--muted); font-variant-numeric: tabular-nums; }
.list-adresar td:nth-child(6) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.list-adresar td, .list-adresar p { overflow-wrap: anywhere; }
/* Rank abbreviations ("bcm", "vcdt") never break in the middle */
.list-adresar td:nth-child(1) { white-space: nowrap; overflow-wrap: normal; }
.list-adresar > .button { margin-top: 14px; }
.list-adresar h2 { margin-top: 18px !important; font-size: 22px !important; line-height: 30px !important; }
.list-adresar p { font-size: 14px; color: var(--muted); }
.adresar-detail { padding: 10px; }
.detail-header { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; }
.detail-header img { flex: none; width: 100px; height: 100px; object-fit: cover; float: none; margin: 0; border-radius: 50%; }
.detail-header h1 { float: none; min-width: 0; overflow-wrap: anywhere; }
.vyznamenani { padding-bottom: 20px; }
.vyznamenani h2 { margin-top: 0 !important; font-family: var(--font-heavy); font-size: 20px !important; line-height: 26px !important; }
.vyznamenani-item { display: inline-block; padding: 0 10px 10px 0; }
.vyznamenani-item img { width: 100px; height: 100px; object-fit: contain; }
#vizitka-qr img, #vizitka-qr canvas { display: block; width: 100px; height: 100px; margin: 0 auto; }

/* Adresar rows become contact cards */
@media (max-width: 759px) {
  .list-adresar table, .list-adresar tbody { display: block; }
  /* Line 1: prezdivka + jmeno + prijmeni flow as text (a long prijmeni drops to the next line whole), function floats right;
     line 2: e-mail; line 3: phone, OC on the right */
  .list-adresar tr { display: flow-root; padding: 9px 8px; border-top: 1px solid var(--water); line-height: 24px; }
  .list-adresar tr.prvni-dite { border-top: 2px solid var(--orange); }
  .list-adresar tr.prvni-dite td { border: 0; }
  .list-adresar tr:first-child { display: none; }
  .list-adresar td { display: inline; padding: 0; border: 0; }
  .list-adresar td:nth-child(1) { float: right; margin-left: 10px; font-size: 0; }
  .list-adresar td:nth-child(1)::after { content: attr(title); font-size: 13px; line-height: 24px; }
  .list-adresar td:nth-child(2) { margin-right: 8px; font-size: 18px; }
  .list-adresar td:nth-child(3), .list-adresar td:nth-child(4) { white-space: nowrap; overflow-wrap: normal; }
  .list-adresar td:nth-child(4) { margin-left: .3em; }
  .list-adresar td:nth-child(5) { display: block; }
  .list-adresar td:nth-child(6) { display: inline-block; }
  .list-adresar td:nth-child(6) a { display: inline-block; padding: 2px 0; font-size: 17px; }
  .list-adresar td:nth-child(7) { float: right; margin-top: 2px; font-size: 13px; }
  .list-adresar td:nth-child(7)::before { content: "OČ "; }
  .list-adresar td:nth-child(7):empty::before { content: none; }
  #fvyhledavani label { flex: 1 0 100%; }
  #fvyhledavani input[type="text"] { flex: 1 1 0; }
  .list-adresar > .button { display: block; }
  .detail-header img { width: 72px; height: 72px; }
  .vyznamenani-item img { width: 84px; height: 84px; }
}


@media (max-width: 899px) {
}

@media (max-width: 759px) {
}

.news .more-link { display: block; padding-top: 12px; text-align: right; }
.event-text { margin: 0 0 16px; }

/* Old chronicles: portrait covers grouped by troop */
.old-chronicles-troop { margin: 22px 0 8px; padding: 0 0 6px; border-bottom: 2px solid #2b5e80; font-size: 28px; color: var(--navy); }
.list-kronika.old-chronicles .item > div:first-child { aspect-ratio: 3 / 4; }
.list-kronika.old-chronicles .overlay-header { text-align: center; }

/* Member detail on phones: the edit button comes first, right under the name */
@media (max-width: 759px) {
  .adresar-detail .col-1 .button { order: -1; }
}

/* == Prace v pristavu, plavani, archiv zprav */
.prace-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px 30px; }
.prace-grid h2 { margin-top: 14px !important; }
.plavani { margin: 6px 0 18px; padding-left: 28px; font-variant-numeric: tabular-nums; }
.zpravy-archiv { list-style: none; max-width: 360px; margin: 0 auto; padding: 0; }
.zpravy-archiv li { padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.zpravy-archiv li:last-child { border-bottom: 0; }
.zpravy-archiv img { display: block; width: 100%; margin-bottom: 5px; }
.zpravy-archiv small { color: var(--muted); }
@media (max-width: 759px) {
  .prace-grid { grid-template-columns: minmax(0, 1fr); }
}

/* == Clanky */
.list-articles .item { padding: 10px 0; }
.list-articles h2 { margin: 0 0 4px !important; }

/* == Namornicka knizka */
.nk-chooser { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 18px; }
.nk-chooser select { max-width: 100%; padding: 6px 8px; font: 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.nk-chooser .button { margin: 0; }
.nk-section { margin-bottom: 18px; border-top: 1px solid var(--line); }
.nk-section summary { cursor: pointer; list-style-position: outside; margin-left: 20px; }
.nk-section summary h2 { display: inline; margin: 0 !important; }
.nk-section summary { padding: 10px 0; }
.list-nk { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px 10px; padding-top: 6px; }
.list-nk .item { padding: 0; border: 0; text-align: center; overflow-wrap: anywhere; }
.list-nk .item a { display: block; text-decoration: none; }
.list-nk .item img { display: block; width: 100%; max-width: 130px; height: auto; margin: 0 auto 4px; }
.list-nk .item h3 { margin: 0; font-size: 15px; line-height: 19px; }
.meter, .meter-small { max-width: 400px; height: 14px; margin: 6px 0; background: #dde1e4; border-radius: 7px; overflow: hidden; }
.meter-small { max-width: none; height: 6px; margin: 4px 0 0; }
.meter span, .meter-small span { display: block; height: 100%; background: var(--orange); }
.nk-zebricky { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 40px; }
.nk-zebricky ul { list-style: none; margin: 4px 0 14px; padding: 0; }
.nk-zebricky li { padding: 4px 0; }
.nk-zebricky .meter-small { max-width: 80%; }
.nk-detail-hlava { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 14px; }
.nk-detail-hlava img { display: block; width: 150px; max-width: 100%; height: auto; }
.nk-detail-hlava > div { flex: 1 1 260px; min-width: 0; }
@media (max-width: 559px) {
  .list-nk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* == Mapa vyprav, fotocomics */
.mapa-vyprav { height: clamp(360px, 70vh, 640px); margin: 10px 0; }
.comics { text-align: center; }
.comics > img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.comics-vse { margin-top: 14px; font-size: 14px; line-height: 2; word-spacing: 4px; }
.comics-vse .is-current { font-weight: bold; color: #000; text-decoration: none; }
/* Pins in the colour of the troop, merged into counted circles when close together */
.pin-apollon { --pin: #2f8fd0; } .pin-argonauti { --pin: var(--navy); } .pin-cheiron { --pin: var(--orange); } .pin-achilleus { --pin: #c8372d; } .pin-argo { --pin: #5b6b73; }
.mapa-pin i { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50% 50% 50% 0; background: var(--pin); box-shadow: 0 2px 5px rgba(0, 0, 0, .35); transform: rotate(-45deg); }
.mapa-pin em { display: block; transform: rotate(45deg); font: bold 10px var(--font-body); color: #fff; }
.mapa-shluk span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; box-sizing: border-box; border: 3px solid var(--orange); border-radius: 50%; background: var(--navy); box-shadow: 0 2px 5px rgba(0, 0, 0, .35); font: bold 15px var(--font-body); color: #fff; }
.mapa-legenda { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; }
.mapa-legenda span { display: inline-block; width: 12px; height: 12px; margin-right: 5px; border-radius: 50%; background: var(--pin); vertical-align: -1px; }

/* == Zadani ucasti */
.ucast-souhrn { margin: 0 0 8px; font-weight: bold; }
.ucast-seznam { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-bottom: 14px; }
.ucast-seznam label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); cursor: pointer; overflow-wrap: anywhere; }
.ucast-seznam label:has(input:checked) { border-color: var(--navy); background: #dfe9ee; font-weight: bold; }
.ucast-seznam label.is-excused { border-style: dashed; }
.ucast-seznam input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.ucast-seznam small { display: block; font-weight: normal; color: #b3541e; }
.ucast-seznam:empty { display: none; }
.ucast-host { max-width: 420px; margin-bottom: 20px; }
.ucast-nalezeno { margin-top: 4px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); overflow: hidden; }
.ucast-nalezeno:not(:has(button)) { padding: 8px 10px; color: var(--muted); }
.ucast-nalezeno button { display: block; width: 100%; padding: 10px; border: 0; border-bottom: 1px solid var(--water); background: none; font: 16px var(--font-body); color: var(--ink); text-align: left; cursor: pointer; }
.ucast-nalezeno button:last-child { border-bottom: 0; }
.ucast-nalezeno button:hover, .ucast-nalezeno button:focus-visible { background: #dfe9ee; }
@media (max-width: 559px) {
  .ucast-seznam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Home page: "Co se děje" box of the signed-in member */
.deni-odkazy { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.deni-odkazy .button { margin: 0; }
.block.deni .deni-desky { margin: 0 0 8px; }
.block.deni ul.deni-seznam { margin: 0; padding: 0; list-style: none; }
.block.deni .deni-seznam li { display: grid; grid-template-columns: 2.8em minmax(0, 1fr); gap: 0 6px; align-items: baseline; margin: 0; padding: 3px 0; line-height: 20px; list-style: none; }
.deni-seznam small { color: var(--muted); white-space: nowrap; }
.deni-dalsi summary { display: block; margin-top: 4px; text-align: center; cursor: pointer; list-style: none; color: var(--orange); }
.deni-dalsi summary span { text-decoration: underline; }
.deni-dalsi summary::-webkit-details-marker { display: none; }
.deni-dalsi summary::before { content: "▾ "; }
.deni-dalsi summary::after { content: " ▾"; }
.deni-dalsi[open] summary { display: none; }
@media (max-width: 640px) {
  .detail-registrace::before { width: 70px; height: 36px; right: 10px; }
  .detail-registrace h1 { padding-right: 80px; }
}

.povinne { color: var(--orange); font-weight: bold; }
.povinne-pozn { margin: 0 0 10px; font-size: 13px; color: var(--muted); }

h2 .pocet { font-size: .6em; color: var(--muted); }

.jen-clenove { padding: 8px 12px; border-left: 3px solid var(--orange); background: rgba(0, 0, 0, .04); color: var(--muted); font-size: 14px; }

/* Photos and maps share the rounded corners of the event detail */
#map { border-radius: var(--photo-radius); overflow: hidden; isolation: isolate; }
#twitter_update_list img, .zpravy-archiv img { border-radius: var(--photo-radius); }
#content-main a:has(> img:only-child):is([href$=".jpg" i], [href$=".jpeg" i], [href$=".png" i], [href$=".webp" i]):not(.galerie-grid a) img { border-radius: var(--photo-radius); }
.oddil-photo img { border-radius: var(--photo-radius); }
.free-page img, .vedouci-foto { border-radius: var(--photo-radius); }
/* Screenshots in guides */
.free-page figure { margin: 10px 0 18px; }
.free-page figure img { border: 1px solid var(--water); }
.free-page ol > li { margin-bottom: 8px; }
/* Clean tables of the directory, for free texts and the fees page: no zebra, thin lines, a small muted header.
   Picked by class, because other old texts still use tables for layout. */
.tabulka-udaje, .tabulka-cenik, .tabulka-vs { margin: 4px 0 18px; }
.tabulka-udaje tr, .tabulka-cenik tr, .tabulka-vs tr { background: none; }
.tabulka-udaje td, .tabulka-cenik td, .tabulka-vs td { padding: 9px 10px; border-top: 1px solid var(--water); overflow-wrap: anywhere; }
.tabulka-cenik th { padding: 0 10px 3px; font-family: var(--font-body); font-size: 12px; font-weight: bold; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.tabulka-cenik th:not(:first-child), .tabulka-cenik td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tabulka-cenik td:first-child { font-weight: bold; }
.tabulka-udaje tr:first-child td { border-top: 0; }
.tabulka-udaje td:first-child { width: 230px; font-size: 14px; color: var(--muted); }
.tabulka-vs td { padding: 6px 8px; }
.tabulka-vs tr:first-child td { border-top: 0; }
.tabulka-vs td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 759px) {
  .tabulka-cenik td, .tabulka-cenik th { padding-inline: 4px; font-size: 15px; }
  .tabulka-cenik th { font-size: 11px; }
  .tabulka-udaje, .tabulka-udaje tbody { display: block; }
  .tabulka-udaje tr { display: block; padding: 8px 4px; border-top: 1px solid var(--water); }
  .tabulka-udaje tr:first-child { border-top: 0; }
  .tabulka-udaje td { display: block; width: auto; padding: 0; border: 0; }
  .tabulka-udaje td:first-child { width: auto; font-size: 13px; }
}
.old-chronicle-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.old-chronicle-actions .button { margin: 0; }
.old-chronicle-note { font-size: 14px; color: var(--muted); }
.list-kronika.old-chronicles .overlay-header .button { display: inline-block; margin: 4px 0 0; }
.old-chronicles-tabs { margin: 4px 0 0; }
.old-chronicles-tabs .menu-tabs { flex-wrap: wrap; padding: 0; }
.old-chronicle-back { display: inline-block; padding-left: 48px; padding-right: 18px; }
/* Desktop: the active tab joins the white block under it, as on the plan of events */
@media (min-width: 760px) {
  .old-chronicles-tabs + .page-block { margin-top: 0; border-top-left-radius: 0; }
}
@media (max-width: 759px) {
  .old-chronicles-tabs + .page-block { margin-top: 12px; }
}
/* Home: a little air between "Co se děje" and the notepad of the plan */
.block-container:has(> .block.deni) { margin-bottom: 18px; }
/* Directory detail has no page heading above its panel; the panel starts under the tabs, as on the list */
@media (min-width: 900px) {
  .adresar-detail { margin-top: 42px; border-top-right-radius: 0; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .center-wide:has(.adresar-detail) #content-header { top: 7px; }
  .adresar-detail { margin-top: 42px; border-top-left-radius: 0; }
}
/* Member's paired payments on the profile */
.adresar-detail .platby { margin-top: 24px; }
.platby h2 small { font-size: 16px; color: var(--muted); }
/* Same clean table as the directory list: no zebra, thin lines, a small muted header */
.platby-tabulka { max-width: 640px; }
.platby-tabulka tr { background: none; }
.platby-tabulka td { border-top: 1px solid var(--water); font-variant-numeric: tabular-nums; }
.platby-tabulka th { padding-bottom: 2px; font-family: var(--font-body); font-size: 12px; font-weight: bold; letter-spacing: .04em; color: var(--muted); }
.platby-tabulka td:first-child { white-space: nowrap; }
.platby-tabulka td:nth-child(3) { color: var(--muted); }
.platby-tabulka .castka { text-align: right; white-space: nowrap; }
.platby-tabulka td.castka { font-weight: bold; }
@media (max-width: 759px) {
  .platby-tabulka td, .platby-tabulka th { padding-inline: 4px; font-size: 15px; }
  .platby-tabulka th { font-size: 11px; }
}
/* Chronicle entry author, right under the report */
.kronika-autor { clear: both; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 6px; margin: 16px 0 20px; text-align: right; }
.kronika-autor img { width: 36px; height: 36px; object-fit: cover; border-radius: 50%; }
.kronika-autor strong { margin-left: 2px; }
/* Black marks: the reason gets the room; on phones date and author share a line above it */
.adresar-detail .cerne-desky { margin-top: 24px; scroll-margin-top: 16px; }
.desky-tabulka { max-width: 760px; }
.desky-tabulka td:nth-child(3) { white-space: nowrap; }
.desky-tabulka .duvod { color: inherit; white-space: pre-line; overflow-wrap: anywhere; }
.desky-tabulka .upravit { text-align: right; white-space: nowrap; font-size: 14px; }
@media (max-width: 759px) {
  .desky-tabulka, .desky-tabulka tbody { display: block; }
  .desky-tabulka tr:first-child { display: none; }
  .desky-tabulka tr { display: grid; grid-template-columns: auto 1fr auto; column-gap: 10px; padding: 7px 4px; border-top: 1px solid var(--water); }
  .desky-tabulka td { padding: 0; border: 0; }
  .desky-tabulka td:nth-child(3) { color: var(--muted); }
  .desky-tabulka .duvod { grid-column: 1 / -1; grid-row: 2; padding-top: 3px; }
  .desky-tabulka .upravit { grid-column: 3; grid-row: 1; }
}
.platby-starsi summary { margin: 10px 0; cursor: pointer; color: var(--blue); text-decoration: underline; }
/* Directory of a troop: narrowing the list down to one crew */
.crew-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 3px 12px; }
.crew-filter a { padding: 4px 12px; border-radius: 14px; background: rgba(0, 51, 102, .1); color: var(--navy); font-size: 14px; line-height: 20px; text-decoration: none; }
.crew-filter a:hover { background: rgba(0, 51, 102, .2); }
.crew-filter a.is-active { background: var(--navy); color: #fff; }
.crew-filter button { padding: 4px 12px; border: 0; border-radius: 14px; background: rgba(0, 51, 102, .1); color: var(--navy); font: 14px/20px var(--font-body); cursor: pointer; }
.crew-filter button:hover { background: rgba(0, 51, 102, .2); }
.crew-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.mapa-filtr { padding: 4px 0 0; }
.mapa-filtr[hidden] { display: none; }
/* Messages: the text keeps its lines; two or three photos share a grid, laid out by the shape of the main one */
.msg-text { white-space: pre-line; }
.msg-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 6px; }
.msg-photos a { display: block; overflow: hidden; border-radius: var(--photo-radius); }
#twitter_update_list .msg-photos img, .zpravy-archiv .msg-photos img { width: 100% !important; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
.msg-photos--pair a { aspect-ratio: 1; }
.msg-photos--pair-tall a { aspect-ratio: 3 / 4; }
.msg-photos--trio-top a:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.msg-photos--trio-top a:not(:first-child) { aspect-ratio: 4 / 3; }
.msg-photos--trio-side { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.msg-photos--trio-side a:first-child { grid-row: 1 / 3; }

/* Chronicle: school year and name search above the list; the pager also on top */
.kronika-filtr { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; padding: 10px 12px; background: var(--paper); border-radius: 6px; }
.kronika-filtr label { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.kronika-filtr select, .kronika-filtr input { padding: 7px 8px; font: 16px var(--font-body); border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.kronika-filtr input { flex: 1 1 220px; min-width: 0; }
.kronika-filtr .tlacitko { padding: 7px 14px; border: 0; border-radius: 6px; font: 16px var(--font-light); color: var(--orange); background: var(--navy); cursor: pointer; }
.kronika-pager-nahore .pager { padding: 0 0 6px; }
@media (max-width: 759px) {
  .kronika-filtr label { flex: 1 1 100%; }
  .kronika-filtr input { flex-basis: 0; }
}
.vekove-skupiny { margin: -6px 0 10px; font-size: 13px; color: var(--muted); }
.trasa-info { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
