:root {
  --black: #000;
  --white: #fff;
  --gray-100: #f2f2f2;
  --gray-300: #d9d9d9;
  --gray-600: #666;
  --gray-900: #111;
  --accent: #d40000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--black);
  background: var(--white);
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
}

p {
  line-height: 1.7;
  margin: 0 0 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.logo { height:80px; }
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-title { text-transform: uppercase; font-weight: 900; font-size: 20px; }
.logo-motto { 
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 100;
    padding: 2px 0;}
main{padding: 0 0 50px 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  
}
.main-nav a.active { 
    color: var(--white);
    border-bottom: 2px solid var(--white);
}
/*
.main-nav .btn-nav {
  padding: 10px 16px;
  background: var(--accent);
  border-radius: 999px;
}
*/

.club-hero {
  background: linear-gradient(180deg, #050505 0%, #121212 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.club-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.club-hero-logo { height: 96px; margin-bottom: 20px; }
.club-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.motto {
  color: #ff4d4d;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.club-intro {
  max-width: 760px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.btn.primary {
  background: var(--black);
  color: var(--white);
}
.btn.secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.section { padding: 56px 0; }
.grid-2,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.simple-list li {
  padding: 14px 16px;
  background: var(--gray-100);
  border-left: 4px solid var(--accent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.team-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 18px 16px;
  text-align: center;
  font-weight: 700;
}

.source {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--gray-100);
  color: var(--black);
  padding: 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.site-footer a { color: var(--black); }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 68px;
    padding: 8px 0;
    align-items: center;
    flex-direction: row;
  }
  .logo { height:55px; }
  .main-nav {
    width: 100%;
    gap: 12px;
  }
  
.logo-title {
    font-size: 14px;
}

.logo-motto {
    font-size: 12px;
    padding: 1px 0;
}

.logo-wrap {
    gap:6px;
}

.header-inner {
    gap:10px;
}
  
  .main-nav a {  font-size: 15px;
        padding: 6px 0;
        width: 100%;
        text-align: center; }
  .club-hero { padding: 56px 0; }
  .club-hero-logo { height: 74px; }
}


.share-box {
  margin: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.share-label {
  font-weight: 700;
  color: var(--black);
}
.share-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.share-btn.fb { background: #1877f2; color: var(--white); }
.share-btn.share { background: var(--accent); color: var(--white); }
.share-btn.copy { background: var(--gray-100); color: var(--black); }

@media (max-width: 768px) {
  .share-box {
    align-items: stretch;
  }
  .share-label {
    width: 100%;
    text-align: center;
  }
}


.compact-hero {
  padding: 56px 0;
}

.team-card-link {
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.team-card-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.team-card-title {
  display: block;
}
.team-card-category {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 400;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.match-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  text-decoration: none;
  color: inherit;
}
.match-card:hover {
  border-color: var(--accent);
}
.match-team {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
}
.match-card h3 {
  margin-bottom: 8px;
}
.match-status {
  white-space: nowrap;
  font-weight: 700;
  color: var(--accent);
}

@media (max-width: 768px) {
  .match-card {
    flex-direction: column;
    align-items: flex-start;
  }
}


.footer-cookie-link {
  margin-top: 20px;
  text-align: center;
}
.footer-cookie-link a {
  color: var(--white);
  opacity: 0.85;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}
.cookie-banner__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: rgba(0,0,0,0.96);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.cookie-banner__text p {
  margin: 6px 0 0;
  max-width: 760px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.cookie-btn--primary {
  background: var(--accent);
  color: var(--white);
}
.cookie-btn--secondary {
  background: var(--gray-100);
  color: var(--black);
}
.cookie-link {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}


.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.text-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}
.section-alt {
  background: var(--gray-100);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.empty-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  padding: 24px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Team detail */
.team-season-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 24px;
}

.team-subnav-wrap {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-start;
}

.team-subnav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.team-subnav a {
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.team-subnav a:hover {
  background: var(--gray-100);
}

.team-subnav a.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.team-season-select-wrap {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

.team-season-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.team-season-form label {
  font-weight: 700;
}

.team-season-form select {
  min-width: 170px;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font: inherit;
  background: var(--white);
}

.team-detail-single-column {
  max-width: 1120px;
}

.detail-box {
  margin-bottom: 32px;
}

.detail-box h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 28px;
}

.detail-box.detail-box-coaches {
  margin-top: 48px;
}

.empty-note {
  text-align: center;
  color: var(--gray-600);
}

.roster-group-block + .roster-group-block {
  margin-top: 30px;
}

.roster-divider {
  margin: 40px 0 18px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: 0.05em;
  color: var(--black);
  background: transparent;
}

.roster-table-wrap {
  overflow-x: auto;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
}

.roster-table th,
.roster-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray-300);
  vertical-align: middle;
}

.roster-table thead th {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
}

.roster-table thead th:nth-child(1),
.roster-table thead th:nth-child(2) {
  text-align: center;
}

.roster-table thead th:nth-child(3),
.roster-table thead th:nth-child(4) {
  text-align: left;
}

.roster-table tbody tr {
  transition: background-color .15s ease;
}

.roster-table tbody tr:hover {
  background: #f5f5f5;
}

.roster-number {
  width: 100px;
  text-align: center;
  font-weight: 700;
}

.roster-photo-cell {
  width: 96px;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.roster-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}

.roster-photo.placeholder,
.compact-avatar.placeholder,
.match-team-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-900);
  font-weight: 700;
}

.roster-name {
  font-weight: 700;
}

.team-match-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-match-row {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--gray-300);
  border-radius: 18px;
  background: var(--white);
  padding: 18px 20px 16px;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.team-match-row:hover {
  background: #f5f5f5;
  border-color: #cfcfcf;
}

.team-match-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.team-match-date-top,
.team-match-competition-top {
  font-size: 0.95rem;
  color: var(--gray-900);
}

.team-match-competition-top {
  text-align: right;
}

.team-match-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.team-match-side {
  min-width: 0;
}

.team-match-side.home {
  text-align: right;
}

.team-match-side.away {
  text-align: left;
}

.team-match-side-name {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.team-match-center {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
}

.team-match-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.match-team-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-match-separator {
  min-width: 40px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.team-match-bottom {
  margin-top: 10px;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.98rem;
}

.compact-person-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.coaches-inline-list {
  margin-top: 8px;
}

.compact-coach-card,
.compact-person-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 16px;
}

.compact-avatar-wrap {
  flex: 0 0 56px;
}

.compact-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.compact-person-body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .team-season-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .team-season-select-wrap {
    justify-content: flex-start;
  }

  .team-match-side-name {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .team-subnav {
    justify-content: center;
    gap: 6px;
  }

  .team-season-toolbar {
    display: block;
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .team-subnav-wrap {
    margin-bottom: 14px;
  }

  .team-season-select-wrap,
  .team-season-form,
  .team-season-form select {
    width: 100%;
  }

  .team-season-form {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .detail-box h2 {
    font-size: 1.9rem;
  }

  .team-match-row {
    padding: 16px 14px;
  }

  .team-match-top,
  .team-match-main,
  .team-match-bottom {
    text-align: center;
  }

  .team-match-top {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
  }

  .team-match-competition-top {
    text-align: center;
  }

  .team-match-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-match-side,
  .team-match-side.away,
  .team-match-side.home {
    width: auto !important;
    max-width: none !important;
    text-align: center;
  }

  .team-match-side-name {
    font-size: 0.95rem;
  }

  .team-match-center {
    order: -1;
    min-width: 0;
    width: 100%;
  }

  .team-match-logos {
    gap: 12px;
  }

  .match-team-logo {
    width: 38px;
    height: 38px;
  }

  .team-match-separator {
    min-width: 34px;
    font-size: 1.35rem;
  }

  .roster-table {
    width: 100%;
    table-layout: fixed;
  }

  .roster-table thead {
    display: none;
  }

  .roster-table tbody,
  .roster-table tr,
  .roster-table td,
  .roster-table th {
    box-sizing: border-box;
  }

  .roster-table tbody tr {
    display: grid;
    grid-template-columns: 42px 58px minmax(120px, 1fr);
    grid-template-areas:
      "number photo name"
      "number photo birth";
    align-items: center;
    justify-content: center;
    gap: 4px 12px;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-300);
    overflow: hidden;
  }

  .roster-table td {
    border: 0;
    padding: 0;
    min-width: 0;
    width: auto !important;
  }

  .roster-table td::before {
    display: none;
    content: none;
  }

  .roster-table td.roster-number {
    grid-area: number;
    width: 42px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-align: center;
    font-size: 1rem;
    margin: 0;
  }

  .roster-table td.roster-photo-cell {
    grid-area: photo;
    width: 58px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    padding: 0;
    margin: 0;
  }

  .roster-table td.roster-name {
    grid-area: name;
    justify-self: start;
    align-self: end;
    text-align: left;
    margin: 0;
    font-size: .98rem;
    line-height: 1.2;
  }

  .roster-table td:last-child {
    grid-area: birth;
    justify-self: start;
    align-self: start;
    text-align: left;
    margin: 0;
    font-size: .9rem;
    color: var(--gray-600);
    line-height: 1.2;
  }

  .roster-photo,
  .roster-photo.placeholder {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    flex: 0 0 48px;
  }

  .compact-person-list {
    grid-template-columns: 1fr;
  }
}






/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(circle at 50% 0, rgba(255,255,255,0.08), transparent 220px),
    linear-gradient(180deg, #040404 0%, #020202 100%);
  color: var(--white);
  padding: 48px 0 28px;
  overflow: visible;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.footer-shell {
  position: relative;
}

.footer-wrap {
  position: relative;
  padding-top: 44px;
}

.footer-floating-logo {
  position: absolute;
  top: -96px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(0,0,0,0.45);
  z-index: 2;
}

.footer-floating-logo img {
  max-width: 130%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.footer-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 22px 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
  min-height: 320px;
}

.footer-panel h3 {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 22px;
}

.footer-contact-lines p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.95);
  font-size: 1.03rem;
  line-height: 1.55;
}

.footer-contact-lines p strong {
  font-size: 1.08rem;
}

.footer-contact-lines a {
  color: var(--white);
}

.footer-contact-lines a:hover,
.footer-menu a:hover {
  color: #d9d9d9;
}

.footer-map-link {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  height:84%;
  background: #1c1c1c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.footer-map-embed-wrap iframe{
  width: 100%;
  height: 100%;
}

.footer-map-link img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.3s ease;
}

.footer-map-link:hover img {
  transform: scale(1.03);
}

.footer-partners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-partner-card {
  min-height: 102px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.footer-partner-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.footer-partner-card img {
  max-height: 58px;
  width: auto;
  object-fit: contain;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-copyright {
  font-size: 1rem;
  color: rgba(255,255,255,0.96);
}

.footer-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
}

.footer-cookie-link {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.cookie-banner__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(8,8,8,0.96);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 8px;
}

.cookie-banner__text p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn,
.cookie-link {
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-btn {
  border: none;
}

.cookie-btn--primary {
  background: var(--white);
  color: var(--black);
}

.cookie-btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.22);
}

.cookie-link {
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
}

@media (max-width: 1100px) {
  .footer-partners {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .footer-main-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar,
  .footer-bottom-left {
    flex-direction: column;
    align-items: center;
    order: 2;
  }

  .footer-menu {
    justify-content: center;
    gap: 14px 18px;
    order: 1;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 42px 0 24px;
  }

  .footer-wrap {
    padding-top: 34px;
  }

  .footer-floating-logo {
    width: 140px;
    height: 140px;
    top: -86px;
  }

  .footer-floating-logo img {
  max-width: 130%;
  width: auto;
  height: auto;
  }

  .footer-panel {
    padding: 18px 16px;
    min-height: auto;
    text-align: center;
  }

  .footer-panel h3 {
    font-size: 1.7rem;
  }

  .footer-map-link,
  .footer-map-link img {
    min-height: 220px;
  }

  .footer-partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-social {
    gap: 12px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__inner {
    padding: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-btn,
  .cookie-link {
    width: 100%;
    text-align: center;
  }
}


.team-match-page-team {
  margin-bottom: 12px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}


.team-match-row.is-today,
.team-match-row-today {
  border-color: var(--gray-900);
  box-shadow: 0 0 0 2px var(--gray-900) inset;
  background: linear-gradient(180deg, var(--white) 0%, #f7f7f7 100%);
  margin-top: 30px;
}

.team-match-row.is-today .team-match-alert,
.team-match-row-today .team-match-alert {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg, #2f6a2e 0%, #1f4e20 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .team-match-row.is-today .team-match-alert,
  .team-match-row-today .team-match-alert {
    max-width: calc(100% - 24px);
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 320px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.3) 100%);
  z-index: -1;
}

.page-hero__content {
  position: relative;
  width: 100%;
  text-align: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
}

.page-hero__content p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}

.page-hero--partners {
  min-height: 400px;
  background-color: #0a0a0a;
}

.page-hero--partners {
    background-image: url('/assets/img/partners-hero.png');
    background-size: cover;
    background-position: center;
}

.page-hero--home {
  min-height: 400px;
  background-color: #0a0a0a;
}

.page-hero--home {
    background-image: url('/assets/img/home-hero.png');
    background-size: cover;
    background-position: center;
}

.page-hero--teams {
  min-height: 400px;
  background-color: #0a0a0a;
}

.page-hero--teams::before {
  background-image: url('/assets/img/teams-hero.png');
  background-position: center center;
}

.page-hero--matches {
  min-height: 400px;
  background-color: #0a0a0a;
}

.page-hero--matches::before {
  background-image: url('/assets/img/zapasy-hero.png');
  background-position: center center;
}

.partners-section {
  padding-top: 42px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  justify-content: center;
  gap: 22px;
}

.partner-tile {
  width: 200px;
  height: 200px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.partner-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,0.14);
  border-color: rgba(0,0,0,0.14);
}

.partner-tile img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-tile__text {
  text-align: center;
  font-weight: 700;
  color: var(--black);
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 240px;
  }


  .page-hero__content {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .page-hero__content p {
    font-size: 0.98rem;
    padding: 0 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
  }

  .partner-tile {
    width: 100%;
    max-width: 220px;
    height: 180px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px;
  }
}


/* Hamburger menu */
.nav-toggle {
    display:none;
    background:none;
    border:0;
    cursor:pointer;
}
.nav-toggle span {
    display:block;
    width:25px;
    height:3px;
    background:var(--white);
    margin:5px 0;
}

@media(max-width:900px){
    .main-nav {
        display:none;
        flex-direction:column;
        background:var(--black);
        position:absolute;
        top:100%;
        left:0;
        right:0;
        padding:15px;
    }
    body.nav-open .main-nav {
        display:flex;
    }
    .nav-toggle {
        display:block;
    }
}


.section-head-stack {
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:20px;
}

.section-subtext {
  margin:0;
  color: var(--gray-600);
}

.main-nav {
  position: relative;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
  display:flex;
  align-items:center;
  gap:8px;
}

.submenu-toggle {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border:0;
  background:transparent;
  color:var(--white);
  font-size:18px;
  line-height:1;
  cursor:pointer;
}

.submenu {
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  min-width:220px;
  padding:12px;
  background:#0c0c0c;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;
  box-shadow:0 20px 40px rgba(0,0,0,0.28);
  display:none;
  flex-direction:column;
  gap:10px;
  z-index:30;
}

.submenu a {
  text-align:left;
  width:100%;
  padding:6px 0;
  border-bottom:0 !important;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.submenu-open .submenu {
  display:flex;
}

.youtube-strip {
  padding:56px 0;
  background:#f5f5f5;
  color:var(--black);
}

.youtube-strip-head { margin-bottom:24px; }
.youtube-strip .section-subtext { color: var(--black); }

.youtube-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:20px;
}


.youtube-grid-hymna{
    margin: 40px auto;
}
.youtube-grid-hymna{
  display:grid;
  grid-template-columns: auto;
  gap:20px;
  max-width: 600px;
}

.youtube-card {
  background:#141414;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(0,0,0,0.25);
}

.youtube-embed-wrap {
  position:relative;
  padding-top:56.25%;
  background:var(--black);
}

.youtube-embed-wrap iframe {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.youtube-card-body {
  padding:14px 16px 18px;
}

.youtube-card-body h3 {
  font-family:'Roboto', sans-serif;
  letter-spacing:0;
  font-size:16px;
  line-height:1.5;
  margin:0 0 10px;
  color:var(--white);
}

.youtube-card-body a {
  color:var(--white);
  font-weight:700;
  text-decoration:none;
}

.team-grid-nav-section {
  padding-top: 0;
}

.team-grid-nav .team-card.active {
  background:var(--gray-900);
  color:var(--white);
  border-color:var(--gray-900);
}

.simple-content-page {
  max-width: 900px;
}

.content-page-buttons {
  justify-content:flex-start;
  margin-top:24px;
}

@media (max-width: 900px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:900px){
    .site-header {
      overflow: visible;
    }
    .header-inner {
      position: relative;
    }
    .main-nav {
        display:none;
        flex-direction:column;
        align-items:stretch;
        background:var(--black);
        position:absolute;
        top:100%;
        left:0;
        right:0;
        padding:15px;
        border-top:1px solid rgba(255,255,255,0.08);
        z-index:40;
    }
    body.nav-open .main-nav {
        display:flex;
    }
    .nav-toggle {
        display:block;
    }
    .nav-item {
      flex-wrap:wrap;
      width:100%;
    }
    .nav-link {
      flex:1;
      text-align:left;
      padding:6px 0;
    }
    .submenu {
      position:static;
      display:none;
      min-width:0;
      width:100%;
      margin-top:6px;
      padding:10px 12px;
      background:var(--gray-900);
      box-shadow:none;
      border-radius:10px;
    }
    .has-submenu:hover .submenu,
    .has-submenu:focus-within .submenu {
      display:none;
    }
    .has-submenu.submenu-open .submenu {
      display:flex;
    }
    .submenu-toggle {
      margin-left:auto;
    }
}


.bottom-section-nav-wrap {
  padding-top: 0;
  padding-bottom:80px;
}

.team-subnav-bottom {
  justify-content: center;
  margin: 0 auto;
}

.team-subnav-bottom a {
  min-width: 180px;
  text-align: center;
}

.youtube-strip {
  margin:40px 0 60px 0;
}

@media (max-width: 768px) {
  .bottom-section-nav-wrap {
    padding-bottom:56px;
  }

  .team-subnav-bottom {
    width: 100%;
  }

  .team-subnav-bottom a {
    min-width: 0;
    width: 100%;
  }
}


/* === FIX: spacing sekcí === */
.section-nav-bottom {
    margin-bottom: 40px;
}

.section-title,
h2.section-title {
    margin-top: 40px;
}

/* === FIX: YouTube blok === */
.youtube-block {
    background: #f5f5f5;
    padding: 40px 0;
    margin-bottom: 40px;
}

.youtube-grid {
    margin-top: 20px;
}


.music-page-wrap {
  max-width: 1200px;
}

.music-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:24px;
}

.music-tile {
  background:#f5f5f5;
  border:1px solid #ddd;
  border-radius:18px;
  box-shadow:0 16px 34px rgba(0,0,0,0.18);
  padding:22px 20px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:320px;
  text-align:center;
}

.music-tile-inner {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.music-tile h3 {
  margin:0;
  font-family:'Barlow Condensed', sans-serif;
  font-size:34px;
  letter-spacing:.02em;
}

.music-meta {
  color:#6b6b6b;
  font-size:14px;
}

.music-tile-footer {
  margin-top:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

.music-player {
  width:100%;
  margin-top:auto;
}

.music-player::-webkit-media-controls-panel {
  background:#f5f5f5;
}

.music-vote-form {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.music-vote-label,
.music-vote-stats {
  font-size:14px;
}

.music-vote-actions {
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}

.music-vote-btn {
  border:none;
  border-radius:999px;
  padding:10px 18px;
  background:var(--gray-900);
  color:var(--white);
  font-weight:700;
  cursor:pointer;
}

.music-vote-btn--secondary {
  background:#d9d9d9;
  color:var(--gray-900);
}

@media (max-width: 1000px) {
  .music-grid {
    grid-template-columns:repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  .music-grid {
    grid-template-columns:1fr;
  }

  .music-tile {
    min-height:280px;
  }
}

.hymna-box{
    max-width:800px;
    margin:0 auto;
    text-align:center;
}

.hymna-text{
    margin-top:20px;
    line-height:1.7;
}

.hymna-text h3{
    margin-top:25px;
    margin-bottom:10px;
    font-weight:800;
}

.hymna-text p{
    margin-bottom:18px;
}

.hymna-divider{
    border-bottom:1px solid var(--gray-100);
    max-width:360px;
    margin:20px auto;
}


.club-management-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.club-management-grid--compact {
  grid-template-columns: 1fr;
}

.club-management-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--gray-300);
  border-radius: 18px;
  background: var(--white);
}

.club-management-card--compact {
  padding: 14px 16px;
  border-radius: 16px;
}

.club-management-card__media {
  flex: 0 0 72px;
}

.club-management-card__photo,
.club-management-card__placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.club-management-card__photo {
  object-fit: cover;
}

.club-management-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-900);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.club-management-card__body {
  min-width: 0;
}

.club-management-card__body h2,
.club-management-card__body h3 {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0;
  font-size: 1.1rem;
}

.club-management-card__position {
  margin-top: 6px;
  font-weight: 700;
  color: var(--accent);
}

.club-management-card__line {
  margin-top: 8px;
}

.club-management-card__line a {
  color: var(--black);
  text-decoration: none;
}

.club-management-card__line a:hover {
  text-decoration: underline;
}

.club-management-card__note {
  margin-top: 12px;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .club-management-card {
    align-items: center;
  }

  .club-management-card__media {
    flex-basis: 64px;
  }

  .club-management-card__photo,
  .club-management-card__placeholder {
    width: 64px;
    height: 64px;
  }
}


.areal-page {
  max-width: 1120px;
}

.areal-intro {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.areal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.areal-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: 20px;
  overflow: hidden;
}

.areal-card--info {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.areal-card--info h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
}

.areal-card--info p:last-child {
  margin-bottom: 0;
}

.areal-card--image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .areal-grid {
    grid-template-columns: 1fr;
  }

  .areal-card--image img {
    min-height: 260px;
  }
}
