.c-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 96px;
}

.c-widget {
  background: var(--c-gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.c-widget__header {
  background: var(--c-black);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-widget__title {
  font-size: 1.5rem;
  color: var(--c-white);
  margin: 0;
}

.c-widget__title span {
  color: var(--c-red);
}

.c-widget__refresh {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-gray-mid);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 5px 10px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.c-widget__refresh:hover {
  color: var(--c-white);
  border-color: var(--c-white);
}

.c-widget__body {
  padding: 8px 20px 20px;
}

.c-widget__body--standalone {
  padding-top: 20px;
}

.c-widget--spaced {
  margin-bottom: 32px;
}

/* Tabulka soutěže */
.c-table-league {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.c-table-league--full {
  font-size: 0.95rem;
}

.c-table-league__row--highlight {
  background: rgba(219, 5, 29, 0.08);
}

.c-table-league th,
.c-table-league td {
  padding: 10px 6px;
  text-align: left;
  border-bottom: 1px solid var(--c-gray-mid);
}

.c-table-league th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-gray-text);
  font-weight: 700;
}

.c-table-league__pos {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  width: 24px;
}

.c-table-league__points {
  font-weight: 700;
  text-align: right;
}

.c-table-league td:last-child,
.c-table-league th:last-child {
  text-align: right;
}

.c-table-league td:nth-child(n+3),
.c-table-league th:nth-child(n+3) {
  text-align: center;
}

.c-table-league td:last-child,
.c-table-league th:last-child {
  text-align: right;
}

/* Tabulkový rozpis zápasů (includes/fixtures-table.php) */
.c-fixtures-empty {
  color: var(--c-gray-text);
  font-size: 0.9rem;
  padding: 8px 0;
}

.c-table-fixtures-wrap {
  overflow-x: auto;
}

.c-table-fixtures {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.c-table-fixtures th,
.c-table-fixtures td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--c-gray-mid);
  white-space: nowrap;
}

.c-table-fixtures th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-gray-text);
  font-weight: 700;
}

.c-table-fixtures__date {
  color: var(--c-gray-text);
}

.c-table-fixtures__club {
  font-weight: 700;
  color: var(--c-red);
}

.c-table-fixtures__team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.c-table-fixtures__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.c-table-fixtures__venue {
  color: var(--c-gray-text);
  white-space: normal;
}

.c-table-fixtures__score {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: center;
}

/* Blogový seznam "Další novinky" v postranním panelu, viz includes/sidebar.php */
.c-sidebar-news {
  display: flex;
  flex-direction: column;
}

.c-sidebar-news__item {
  border-bottom: 1px solid var(--c-gray-mid);
}

.c-sidebar-news__item:last-child {
  border-bottom: none;
}

.c-sidebar-news__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.c-sidebar-news__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-white);
}

.c-sidebar-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-sidebar-news__thumb .c-image-placeholder__label {
  font-size: 0.75rem;
}

.c-sidebar-news__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.c-sidebar-news__date {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.c-sidebar-news__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-sidebar-news__link:hover .c-sidebar-news__title {
  color: var(--c-red);
}
