@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0b3b34;
  --text: #172d29;
  --muted: #415b50;
  --spring: #eaf4e1;
  --yellow: #ffd02a;
  --line: #dce7d8;
  --divider: #bdceba;
  --focus: #23583d;
}
body { color: var(--text); font-family: "Noto Sans", Arial, sans-serif; }
.art-section { line-height: 1.45; }
.art-site { width: min(100%, 1012px); }
[hidden] { display: none !important; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.club-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
  color: var(--ink);
}
.club-symbol, .club-link-round {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
}
.club-symbol { border: 1.6px solid var(--yellow); background: #fff; }
.club-link-round { background: var(--yellow); }
.club-icon { display: block; width: 20px; height: 20px; flex: none; }
.club-pill,
.club-mobile-actions > a,
.club-mobile-actions > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  min-height: 33px;
  padding: 6px 12px;
  font: 700 14px/1.45 "Noto Sans", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
}
.club-pill:hover, .club-mobile-actions > a:hover, .club-mobile-actions > button:hover {
  background: #f2bc00;
}
.club-pill .club-icon { width: 15px; height: 15px; }
.club-indented, .club-beginners-copy > p { margin-left: 50px; }
.club-highlight {
  color: var(--ink);
  text-decoration: underline solid 2px var(--yellow);
  text-underline-offset: 4px;
}
.club-band {
  position: relative;
  isolation: isolate;
}
.club-band::before {
  content: "";
  position: absolute;
  inset: 7px 0;
  z-index: -1;
  background: linear-gradient(#f4f9ee, var(--spring));
  border-radius: 48% 55% 50% 42% / 3% 3% 3% 3%;
  pointer-events: none;
}
.club-band p { margin-top: 0; margin-bottom: 10px; }
.club-mobile-only { display: none; }

.club-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  padding: 10px 6.72% 13px;
}
.club-shortcuts > a {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  padding: 8px 13px;
  min-height: 110px;
  color: var(--ink);
  text-decoration: none;
  background: #fafcf9;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 16px;
}
.club-shortcuts > a:hover { background: #eef6e8; }
.club-shortcuts .club-symbol { width: 35px; height: 35px; margin-bottom: 4px; }
.club-shortcuts > a > span:not(.club-symbol) { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.club-shortcuts > a > svg { position: absolute; bottom: 23px; right: 11px; width: 15px; }

.club-beginners-top {
  display: grid;
  grid-template-columns: 41.4% 35.6% 23%;
  min-height: 194px;
  align-items: center;
  padding: 14px 0;
}
.club-beginners-photo { width: 100%; height: auto; }
.club-beginners-motto { width: min(92%, 197px); margin: 0 auto; height: auto; }
.club-beginners-copy { font-size: 14.5px; line-height: 1.4; }
.club-beginners-copy > p { margin-bottom: 9px; }
.club-more { padding: 20px 5% 22px; background: #f5f9f0; }
.club-more-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.nov-detail { min-width: 0; }
.nov-detail-icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: #fff; color: var(--ink);
  border: 1.6px solid var(--yellow); margin-bottom: 9px;
}
.nov-detail-icon svg { width: 26px; height: 26px; }
.club-more-grid h3 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.club-more-grid p { margin: 0; font-size: 14px; }
.club-collapse { margin: 18px 0 0 auto; display: flex; width: fit-content; }
.club-collapse svg, .is-expanded [data-toggle-treibball] svg { transform: rotate(180deg); }

.art-novinky { padding: 19px 6.72% 9px; }
.news-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.news-head-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.news-head h2 { margin: 0; color: var(--ink); font-size: 25px; }
.news-fb-logo, .club-facebook-icon {
  width: 27px; height: 27px;
  display: inline-grid; place-items: center;
  border-radius: 50%; background: #1877f2; color: #fff;
  font-weight: 700; font-size: 19px;
  line-height: 1;
}
.news-source, .news-all { font-size: 13px; }
.news-source { color: var(--muted); }
.news-all { color: var(--ink); font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.news-card { border: 1px solid var(--line); border-radius: 7px; }
.news-card-link { display: block; color: var(--text); min-height: 198px; text-decoration: none; }
.news-card a:hover h3, .news-card a:focus-visible h3 { text-decoration: underline; }
.news-photo { aspect-ratio: 209 / 72; background: #f5f9f0; }
.news-photo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px 6px 0 0; }
.news-copy { padding: 8px 10px 10px; }
.news-date { font-size: 11.5px; color: var(--muted); }
.news-fb-small { display: none; }
.news-card h3 { font-size: 13.5px; line-height: 1.35; margin: 5px 0 3px; color: var(--ink); overflow-wrap: anywhere; }
.news-card p { font-size: 12px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.news-demo-label { color: var(--muted); margin: 6px 0 0; font-size: 10.5px; text-align: right; }

.club-training {
  display: grid;
  grid-template-columns: 1.02fr 1fr 1fr .90fr;
  gap: 24px;
  padding: 24px 3.56% 32px;
  min-height: 466px;
  line-height: 1.45;
}
.club-training-intro { padding-top: 5px; font-size: 15px; }
.club-training-intro > .club-title { margin-bottom: 17px; }
.club-training-intro > p { margin-bottom: 12px; }
.club-coach > img { display: block; width: 100%; height: auto; aspect-ratio: 222 / 171; object-fit: contain; }
.club-coach header { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; }
.club-coach header .club-symbol { width: 33px; height: 33px; }
.club-coach header .club-icon { width: 17px; }
.club-coach h3 { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.club-coach header p { margin: 0; color: var(--muted); font-size: 12.5px; }
.club-coach > p { font-size: 13px; line-height: 1.44; }
.club-side-link { color: var(--ink); text-decoration: none; }
.club-side-link:hover strong { text-decoration: underline; }
.club-facebook { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; border-left: 1px solid var(--divider); padding: 4px 0 4px 25px; margin: 24px 0 10px; font-size: 14.8px; }
.club-facebook-icon { background: var(--ink); width: 47px; height: 47px; font-size: 29px; }
.club-facebook strong { font-size: 22px; line-height: 1.22; }
.club-facebook > span:not([aria-hidden]) { color: var(--muted); }

.club-about-top { display: grid; grid-template-columns: 37.15% 41% 21.85%; align-items: start; min-height: 270px; padding: 24px 0; }
.club-about-photo { align-self: center; width: 100%; aspect-ratio: 370 / 206; }
.club-about-photo > img, .club-about-expanded-photo > img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%;
  mask-repeat: no-repeat; mask-size: 100% 100%;
}
.club-about-photo > img { mask-image: url("../img/schvaleny-navrh/o-treibballu-maska-horni.png"); }
.club-about-copy { padding-right: 19px; font-size: 14px; }
.club-about-lead { font-size: 17px; }
.club-rules { padding: 20px 14px 18px 20px; border-left: 1px solid var(--divider); margin-top: 38px; font-size: 14px; }
.club-rules strong { display: block; width: fit-content; padding-bottom: 8px; border-bottom: 2px solid var(--yellow); margin-bottom: 15px; }
.club-about-close, .is-expanded .club-about-open { display: none; }
.is-expanded .club-about-close { display: inline; }
.club-about-expanded { display: grid; grid-template-columns: 39% minmax(0,1fr); gap: 30px; padding: 20px 4% 22px; }
.club-about-expanded-photo { aspect-ratio: 715 / 562; }
.club-about-expanded-photo > img { mask-image: url("../img/schvaleny-navrh/o-treibballu-maska-dolni.png"); }
.club-about-expanded .tb-base-text { font-size: 14px; }
.tb-yellow-heading { background: #ffe481; border-radius: 7px; color: var(--ink); font-size: 16px; margin: 12px 0; padding: 7px 10px; }
.tb-discipline { display: grid; grid-template-columns: 35px 1fr; gap: 10px; }
.tb-discipline h4 { margin: 2px 0 4px; color: var(--ink); font-size: 17px; }
.tb-disc-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1.6px solid var(--yellow); border-radius: 50%; background: #fff; color: var(--ink); }
.tb-disc-icon svg { width: 19px; height: 19px; }

.club-events {
  display: grid;
  grid-template-columns: 47% minmax(0,1fr);
  align-items: start;
  min-height: 262px;
  padding: 20px 0 16px 4%;
}
.club-events-copy { align-self: start; padding-right: 16px; font-size: 14px; }
.club-events-media {
  position: relative;
  display: grid;
  min-width: 0;
  padding-inline: 9px 14px;
}
.club-events-media::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 30px;
  height: 128px;
  border-left: 1px solid var(--divider);
  pointer-events: none;
}
.club-events-link {
  display: flex;
  align-items: flex-start;
  justify-self: end;
  gap: 9px;
  margin: 9px 5px 0 0;
  font-size: 12.5px;
}
.club-events-link strong { display: block; margin: 2px 0 2px; font-size: 14px; }
.club-events-link > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.club-events-photo { position: relative; width: 100%; aspect-ratio: 756 / 262; }
.club-events-brush, .club-events-photo-mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.club-events-photo-mask { overflow: hidden; mask: url("../img/schvaleny-navrh/akce-foto-maska.png") center / 100% 100% no-repeat; }
.club-events-original { position: absolute; display: block; left: -12.863757%; top: -59.087786%; width: 111.876984%; height: auto; }

.club-team { display: grid; grid-template-columns: 48% 1fr; align-items: center; gap: 27px; padding: 16px 3.56% 20px 0; min-height: 163px; font-size: 14px; }
.art-section.club-team > img { display: block; max-width: 100%; height: auto; }
.club-team p { margin-bottom: 0; }
.art-fotogalerie { margin-top: 7px; }

@media (max-width: 850px) and (min-width: 681px) {
  .club-training { column-gap: 14px; }
  .club-facebook { padding-left: 14px; }
  .club-facebook strong { font-size: 19px; }
  .club-title { font-size: 22px; }
  .club-beginners-top { grid-template-columns: 39% 41% 20%; }
}
@media (max-width: 680px) {
  .club-mobile-only { display: block; }
  .club-legacy-art .hit-area, .club-desktop-only { display: none !important; }
  .club-mobile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #f4f9ee;
  }
  .club-mobile-actions > a, .club-mobile-actions > button, .club-mobile-menu summary, .club-pill {
    min-height: 44px;
    font-size: 15px;
  }
  .club-mobile-menu { flex: 1 0 100%; }
  .club-mobile-menu summary { display: list-item; cursor: pointer; padding: 9px 4px; font-weight: 700; }
  .club-mobile-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 12px 3px 4px; color: var(--ink); }
  .club-mobile-footer { padding: 4px 16px 14px; text-align: right; background: var(--spring); }
  .club-mobile-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
  .club-shortcuts { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 12px 16px; }
  .club-shortcuts > a { min-height: 98px; }
  .club-shortcuts > a > svg { bottom: 12px; }
  .club-shortcuts > a > span:not(.club-symbol) { padding-right: 12px; }
  .club-indented, .club-beginners-copy > p { margin-left: 0; }
  .club-title { font-size: 25px; margin-bottom: 13px; gap: 10px; }
  .club-band::before { border-radius: 0; }
  .club-beginners-top, .club-about-top, .club-events, .club-team {
    grid-template-columns: minmax(0,1fr);
    min-height: 0;
    padding: 18px 16px 22px;
    gap: 13px;
    font-size: 16px;
  }
  .club-band p, .tb-base-text { font-size: 16px; }
  .club-beginners-copy, .club-about-copy, .club-events-copy { padding-right: 0; }
  .club-beginners-photo, .club-about-photo, .club-events-photo, .club-team > img { width: min(100%, 480px) !important; margin: 0 auto; }
  .club-beginners-motto { justify-self: start; margin-left: 0; width: 170px; }
  .club-more { padding: 13px 16px 19px; }
  .club-more-grid, .club-about-expanded { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .club-about-expanded { padding: 14px 16px 21px; }
  .club-about-expanded-photo { width: min(100%,440px); margin-inline: auto; }
  .art-novinky { padding: 17px 16px; }
  .news-head { flex-wrap: wrap; }
  .news-head-main { gap: 8px; }
  .news-source { flex-basis: 100%; font-size: 14px; }
  .news-all { min-height: 44px; align-content: center; font-size: 14px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-card-link { min-height: 0; }
  .news-card h3 { font-size: 16px; }
  .news-card p { font-size: 14px; }
  .news-date, .news-demo-label { font-size: 12px; }
  .club-training { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 21px 16px; gap: 18px; min-height: 0; }
  .club-training-intro, .club-facebook { grid-column: 1 / -1; }
  .club-coach header .club-symbol { display: none; }
  .club-coach h3 { font-size: 17px; }
  .club-facebook, .club-rules { margin: 0; padding: 11px 0 0; border-left: 0; border-top: 1px solid var(--divider); }
  .club-facebook { gap: 9px; }
  .club-events-link { min-height: 44px; margin-right: 0; }
  .club-events-link .club-link-round { width: 44px; height: 44px; }
  .club-events-media { width: min(100%, 480px); margin-inline: auto; padding: 0; }
  .club-events-media::before { display: none; }
  .club-gallery-mobile { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; margin-top: 3px; }
  .club-gallery-mobile button { display: block; border: 0; padding: 0; background: #f4f9ee; cursor: pointer; }
  .club-gallery-mobile img { width: 100%; height: auto; display: block; }
}
@media (max-width: 430px) {
  .news-grid, .club-training { grid-template-columns: minmax(0,1fr); }
  .club-coach > img { max-width: 288px; }
}

/* Sociální odkazy jsou zarovnané přímo nad ikony v původní grafice. */
.art-paticka .club-social-hit-area { bottom: auto; aspect-ratio: 1012 / 93; }
.club-mobile-footer a + a { margin-left: 16px; }
.club-team .club-team-photo {
  --team-mask: url("../img/schvaleny-navrh/tym-stetec-maska-0136.png");
  display: block;
  width: min(100%, 345px);
  aspect-ratio: 2048 / 752;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}
.art-section.club-team .club-team-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  -webkit-mask: var(--team-mask) center / 100% 100% no-repeat;
  mask: var(--team-mask) center / 100% 100% no-repeat;
}
.art-section.club-team { overflow: clip; }
.club-team .club-team-photo::before {
  content: "";
  position: absolute;
  left: -11.516948%;
  top: -4.073389%;
  width: 128.260870%;
  height: 116.435399%;
  z-index: -1;
  pointer-events: none;
  background: url("../img/schvaleny-navrh/tym-schvalene-tahy.png") center / 100% 100% no-repeat;
}
@media (max-width: 680px) {
  .club-legacy-art .club-social-hit-area { display: block !important; }
  .club-team .club-team-photo { width: min(100%, 380px); }
}
