/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* ==================================================
   Archive und Taxonomien
   ================================================== */

/* Dartsinside: langer Zurueck-Pfeil in den Turnierarchiven */
body.category-hungarian-darts-trophy .ct-pagination a.prev svg,
body.category-australian-darts-masters .ct-pagination a.prev svg {
  display: none;
}

body.category-hungarian-darts-trophy .ct-pagination a.prev::before,
body.category-australian-darts-masters .ct-pagination a.prev::before {
  content: "←";
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

/* ==========================================================
   DartsInside - Turnierhubs / Turnier-Toggles
   Quelle: bereinigt aus Blocksy "Zusaetzliches CSS"
   Stand: neue semantische H2-/Label-Struktur
   ========================================================== */

/* ----------------------------------------------------------
   1. Variablen und Grundlayout
   ---------------------------------------------------------- */

.di-toggle-wrap {
  --di-ui-text: #0f2d52;
  --di-ui-red: #e31b23;
  --di-ui-border: #d7dee6;
  --di-ui-border-strong: #cbd4de;
  --di-ui-large: #f3f5f7;
  --di-ui-small: #fafbfc;
  --di-ui-control: #fbfcfd;
  --di-ui-muted: #59636f;

  width: 100%;
}

.di-bracket {
  --di-bracket-red: var(--di-ui-red);
  --di-bracket-border: #dfe4ea;
  --di-bracket-soft: #f6f7f9;
  --di-bracket-text-soft: var(--di-ui-muted);
}

/* ----------------------------------------------------------
   2. Grosse Info-Toggles
   ---------------------------------------------------------- */

.di-toggle-wrap > .di-toggle {
  display: block;
  margin: 0 0 12px;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden;
}

.di-toggle-wrap > .di-toggle:last-child {
  margin-bottom: 0;
}

.di-toggle-wrap > .di-toggle > summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  min-height: 60px !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  background: #f7f8fa !important;
  color: #26313d !important;
  cursor: pointer;
  list-style: none !important;
  box-shadow: none !important;
}

.di-toggle-wrap > .di-toggle > summary::-webkit-details-marker {
  display: none !important;
}

.di-toggle-wrap > .di-toggle > summary::marker {
  content: "" !important;
}

.di-toggle-wrap > .di-toggle:not([open]) > summary:hover {
  background: #f3f5f7 !important;
  color: #172235 !important;
}

.di-toggle-wrap > .di-toggle[open] > summary,
.di-toggle-wrap > .di-toggle[open] > summary:hover,
.di-toggle-wrap > .di-toggle[open] > summary:focus,
.di-toggle-wrap > .di-toggle[open] > summary:active {
  border-radius: 12px 12px 0 0 !important;
  background: var(--di-ui-red) !important;
  color: #fff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
}

/* Echte H2 im Summary: Theme-Margins bewusst neutralisieren. */
.di-toggle-wrap .di-toggle-heading {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  color: #26313d !important;
  font-family: inherit;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.di-toggle-wrap > .di-toggle[open] > summary .di-toggle-heading {
  color: #fff !important;
}

.di-toggle-wrap .di-toggle-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
  margin-left: auto;
}

.di-toggle-wrap .di-toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 10px;
  box-sizing: border-box;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #26313d !important;
  -webkit-text-fill-color: #26313d !important;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.1;
  white-space: nowrap;
}

.di-toggle-wrap > .di-toggle[open] > summary .di-toggle-badge {
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: var(--di-ui-red) !important;
  -webkit-text-fill-color: var(--di-ui-red) !important;
}

.di-toggle-wrap .di-toggle-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
}

.di-toggle-wrap .di-toggle-arrow::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border: 0 !important;
  border-right: 2px solid #26313d !important;
  border-bottom: 2px solid #26313d !important;
  background: transparent !important;
  transform: translate(-50%, -65%) rotate(45deg) !important;
  transform-origin: center !important;
}

.di-toggle-wrap > .di-toggle[open] > summary .di-toggle-arrow {
  border-color: transparent !important;
}

.di-toggle-wrap > .di-toggle[open] > summary .di-toggle-arrow::before {
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-top: 2px solid var(--di-ui-red) !important;
  border-left: 2px solid var(--di-ui-red) !important;
  transform: translate(-50%, -35%) rotate(45deg) !important;
}

.di-toggle-wrap .di-toggle-arrow::after {
  content: none !important;
  display: none !important;
}

.di-toggle-wrap > .di-toggle > .di-toggle-content {
  box-sizing: border-box;
  padding: 18px !important;
}

.di-toggle-wrap > .di-toggle > .di-toggle-content > :first-child {
  margin-top: 0;
}

.di-toggle-wrap > .di-toggle > .di-toggle-content > :last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   3. Labels statt kuenstlicher H4-Ueberschriften
   ---------------------------------------------------------- */

/* Session-Zeilen im Spielplan - optisch wie die bisherigen H4. */
.di-round-content .di-session-label {
  margin: 22px 0 10px !important;
  color: #172235;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.35 !important;
}

.di-round-content .di-session-label:first-child {
  margin-top: 0 !important;
}

/* Gruppenkoepfe im Teilnehmerfeld - ersetzt die bisherigen H4. */
.di-participant-group > .di-group-label {
  margin: 0 !important;
  padding: 10px 12px !important;
  border-bottom: 1px solid var(--di-ui-border);
  background: var(--di-ui-small);
  color: var(--di-ui-text) !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* Ranglisten- und Historienlabels - ersetzt die bisherigen H4. */
.di-ranking-preview > .di-ranking-label,
.di-toggle-content > .di-winner-label {
  margin: 22px 0 10px !important;
  color: #172235;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.35 !important;
}

.di-ranking-preview:first-of-type > .di-ranking-label {
  margin-top: 22px !important;
}

.di-session-label strong,
.di-group-label strong,
.di-ranking-label strong,
.di-winner-label strong {
  font-weight: inherit;
}

/* ----------------------------------------------------------
   4. Einleitung und Rundennavigation
   ---------------------------------------------------------- */

.di-bracket-intro {
  margin-bottom: 20px;
}

.di-bracket-path {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px !important;
  margin: 20px 0 22px !important;
  padding: 4px !important;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 10px !important;
  background: var(--di-ui-large) !important;
  overflow: hidden;
  list-style: none !important;
}

.di-bracket-path.di-bracket-path--us,
.di-bracket-path.di-bracket-path--four {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.di-bracket-path.di-bracket-path--six {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.di-bracket-path li,
.di-bracket-path li.is-current {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: var(--di-ui-text) !important;
  box-shadow: none !important;
  list-style: none !important;
}

.di-bracket-path li + li::before {
  content: none !important;
  display: none !important;
}

.di-bracket-step {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 0;
  border-radius: 7px !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  touch-action: pan-x pan-y;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.di-bracket-path li:not(.is-current) .di-bracket-step:hover,
.di-bracket-path li:not(.is-current) .di-bracket-step:focus-visible {
  background: #fff !important;
}

.di-bracket-step:focus-visible {
  outline: 2px solid var(--di-ui-red);
  outline-offset: 2px;
}

.di-bracket-path li.is-current .di-bracket-step {
  background: #fff !important;
  color: var(--di-ui-red) !important;
  box-shadow: 0 1px 4px rgba(15, 45, 82, 0.08), inset 0 -3px 0 var(--di-ui-red) !important;
}

.di-bracket-path li.is-past:not(.is-current) .di-bracket-step {
  color: var(--di-ui-muted) !important;
}

/* ----------------------------------------------------------
   5. Kleine Runden-Toggles
   ---------------------------------------------------------- */

.di-round {
  margin: 0 0 12px;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 8px !important;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.di-round:last-child {
  margin-bottom: 0;
}

.di-toggle-content .di-round > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 7px 11px !important;
  background: var(--di-ui-small) !important;
  color: var(--di-ui-text) !important;
  cursor: pointer;
  list-style: none !important;
  box-shadow: none !important;
}

.di-toggle-content .di-round > summary::-webkit-details-marker {
  display: none !important;
}

.di-toggle-content .di-round > summary::marker {
  content: "" !important;
}

.di-toggle-content .di-round[open] > summary,
.di-toggle-content .di-round[open] > summary:hover,
.di-toggle-content .di-round[open] > summary:focus {
  border-bottom: 1px solid var(--di-ui-border) !important;
  background: var(--di-ui-red) !important;
  color: #fff !important;
}

.di-round-title {
  color: inherit !important;
  font-size: 0.92rem !important;
  font-weight: 700;
  line-height: 1.2 !important;
}

.di-round-date {
  margin-left: auto;
  color: var(--di-ui-muted);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: right;
}

.di-toggle-content .di-round[open] > summary .di-round-date {
  color: #fff;
}

.di-round-arrow {
  position: relative !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px !important;
  height: 24px !important;
  box-sizing: border-box;
  border: 1px solid var(--di-ui-border) !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-shadow: none !important;
  transform: none !important;
}

.di-round-arrow::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 6px !important;
  height: 6px !important;
  border: 0 !important;
  border-right: 2px solid var(--di-ui-text) !important;
  border-bottom: 2px solid var(--di-ui-text) !important;
  background: transparent !important;
  transform: translate(-50%, -65%) rotate(45deg) !important;
  transform-origin: center !important;
}

.di-toggle-content .di-round[open] > summary .di-round-arrow {
  border-color: #fff !important;
}

.di-toggle-content .di-round[open] > summary .di-round-arrow::before {
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-top: 2px solid var(--di-ui-red) !important;
  border-left: 2px solid var(--di-ui-red) !important;
  transform: translate(-50%, -35%) rotate(45deg) !important;
}

.di-round-arrow::after {
  content: none !important;
  display: none !important;
}

.di-round-content {
  padding: 16px;
}

.di-round-content > :first-child {
  margin-top: 0;
}

.di-round-content > :last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   6. Matchkarten
   ---------------------------------------------------------- */

.di-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.di-match-grid--final {
  grid-template-columns: minmax(0, 1fr);
  max-width: calc(50% - 6px);
  margin-right: auto;
  margin-left: auto;
}

.di-match-card,
.di-match-card.is-complete {
  min-width: 0;
  border: 1px solid var(--di-bracket-border) !important;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.di-match-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 7px 10px;
  border-bottom: 1px solid #e8ebef;
  background: var(--di-bracket-soft);
  color: var(--di-bracket-text-soft);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
}

.di-match-player {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  background: #fff;
}

.di-match-player + .di-match-player {
  border-top: 1px solid #eceff2;
}

.di-match-player span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.di-match-player.is-winner {
  position: relative !important;
  padding-left: 10px !important;
  background: #fff !important;
  color: #172235 !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

/* Die Gewinner-Markierung bleibt sichtbar, der Name selbst wird fett. */
.di-match-player.is-winner .di-match-name {
  font-weight: 700;
}

.di-match-player.is-winner .di-match-name::after {
  content: "✓";
  display: inline-block;
  margin-left: 7px;
  color: #16803a;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: -0.08em;
}

.di-match-player.is-out {
  background: #fff !important;
  color: #66717d !important;
  opacity: 0.68;
}

.di-match-player.is-placeholder {
  color: #6c7580;
}

.di-match-score {
  min-width: 2.5ch;
  color: #172235 !important;
  font-variant-numeric: tabular-nums;
  font-weight: 700 !important;
  text-align: right;
}

.di-match-player.is-out .di-match-score {
  font-weight: 500;
}

.di-match-note {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #efb9bc;
  border-radius: 999px;
  background: #fff;
  color: #a7141b;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.di-match-status {
  margin-top: 10px;
  padding: 10px 10px 7px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
  background: #fafbfc;
  color: var(--di-bracket-text-soft);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
}

.di-bracket-note {
  margin: 16px 0 0;
  color: var(--di-bracket-text-soft);
  font-size: 0.88rem;
}

/* Spielabbruch: tatsaechlichen Weiterkommer markieren. */
.di-match-card.is-abandoned .di-match-player .di-match-name::after {
  content: none !important;
  display: none !important;
}

.di-match-card.is-abandoned .di-match-player.is-advancing {
  background: #fff !important;
  color: #172235 !important;
  font-weight: 400 !important;
}

.di-match-card.is-abandoned .di-match-player:not(.is-advancing) {
  background: #fff !important;
  color: #66717d !important;
}

.di-match-card.is-abandoned .di-match-player.is-advancing .di-match-name::after {
  content: "✓" !important;
  display: inline-block !important;
  margin-left: 8px !important;
  color: #16803a !important;
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  vertical-align: -0.08em !important;
}

.di-match-card.is-abandoned .di-match-status {
  font-weight: 600;
}

/* ----------------------------------------------------------
   7. Teilnehmerfeld
   ---------------------------------------------------------- */

.di-participant-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.di-participant-group {
  min-width: 0;
  border: 1px solid var(--di-ui-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.di-participant-group--wide {
  grid-column: 1 / -1;
}

.di-participant-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.di-participant-list {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.di-participant-list + .di-participant-list {
  border-left: 1px solid #e8ebef;
}

.di-participant-list li {
  display: grid;
  grid-template-columns: 2.25em minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  min-height: 38px;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-bottom: 1px solid #e8ebef;
  color: #172235;
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: left;
  list-style: none !important;
}

.di-participant-list li:last-child {
  border-bottom: 0;
}

.di-participant-list--qualifiers li {
  grid-template-columns: minmax(0, 1fr);
}

.di-participant-rank {
  color: var(--di-bracket-text-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.di-participant-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ----------------------------------------------------------
   8. Order-of-Merit-Vorschauen im Turnier-Toggle
   ---------------------------------------------------------- */

.di-ranking-overview .di-ranking-preview {
  margin: 0;
}

.di-ranking-overview .di-ranking-stand {
  color: var(--di-ui-muted);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------
   9. Historie / Sieger
   ---------------------------------------------------------- */

.di-winner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/* ----------------------------------------------------------
   10. Optionale SVG-Symbole
   ---------------------------------------------------------- */

.di-toggle-badge svg,
.di-toggle-arrow svg,
.di-round-arrow svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* ----------------------------------------------------------
   11. Responsive
   ---------------------------------------------------------- */

@media (max-width: 760px) {
  .di-toggle-wrap > .di-toggle > summary {
    gap: 10px;
    min-height: 58px !important;
    padding: 11px 14px !important;
  }

  .di-toggle-wrap .di-toggle-heading {
    font-size: 0.96rem !important;
  }

  .di-toggle-wrap .di-toggle-meta {
    gap: 7px;
  }

  .di-toggle-wrap .di-toggle-badge {
    min-height: 26px;
    padding: 3px 9px;
    font-size: 0.82rem;
  }

  .di-toggle-wrap .di-toggle-arrow {
    width: 30px;
    height: 30px;
  }

  .di-toggle-wrap > .di-toggle > .di-toggle-content {
    padding: 14px !important;
  }

  .di-bracket-path,
  .di-bracket-path.di-bracket-path--us,
  .di-bracket-path.di-bracket-path--four,
  .di-bracket-path.di-bracket-path--six {
    display: flex !important;
    gap: 6px !important;
    padding: 4px 14% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 14% !important;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .di-bracket-path::-webkit-scrollbar {
    display: none;
  }

  .di-bracket-path li,
  .di-bracket-path li.is-current {
    flex: 0 0 72% !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always;
  }

  .di-bracket-step {
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 0.92rem !important;
  }

  .di-toggle-content .di-round > summary {
    align-items: flex-start;
    min-height: 42px !important;
    padding: 6px 10px !important;
  }

  .di-round-title {
    font-size: 0.9rem !important;
  }

  .di-round-arrow {
    width: 23px !important;
    height: 23px !important;
  }

  .di-round-date {
    font-size: 0.8rem;
  }

  .di-round-content {
    padding: 12px;
  }

  .di-match-grid {
    grid-template-columns: 1fr;
  }

  .di-match-grid--final {
    max-width: none;
  }

  .di-participant-groups {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .di-participant-group--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .di-winner-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .di-match-label {
    gap: 8px;
  }

  .di-match-note {
    padding: 4px 7px;
    font-size: 0.7rem;
  }
}

@media (max-width: 520px) {
  .di-participant-columns {
    grid-template-columns: 1fr;
  }

  .di-participant-list + .di-participant-list {
    border-top: 1px solid #e8ebef;
    border-left: 0;
  }

  .di-participant-list li {
    min-height: 36px;
    padding: 7px 9px !important;
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  .di-bracket-path,
  .di-bracket-path.di-bracket-path--us,
  .di-bracket-path.di-bracket-path--four,
  .di-bracket-path.di-bracket-path--six {
    padding-right: 11% !important;
    padding-left: 11% !important;
    scroll-padding-inline: 11% !important;
  }

  .di-bracket-path li,
  .di-bracket-path li.is-current {
    flex-basis: 78% !important;
  }
}


/* ==================================================
   Hungarian Darts Trophy - Turnierkopf und News-H2
   ================================================== */

body.page-id-12927 .di-tournament-overview {
  margin-top: -12px;
}

body.page-id-12927 .di-tournament-overview h2 {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #10243d !important;
  font-size: clamp(20px, 1.7vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.page-id-12927 .di-tournament-overview h2::before {
  content: "";
  width: 4px;
  height: 24px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: #df1621;
}

body.page-id-12927 .di-tournament-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
  row-gap: 8px;
}

body.page-id-12927 .di-tournament-facts p {
  margin: 0 !important;
}

body.page-id-12927 .di-tournament-intro {
  margin-top: 23px !important;
}

body.page-id-12927 .di-tournament-overview hr {
  margin: 18px 0 24px !important;
}



/* News-H2 im gleichen Grundstil wie "Auf einen Blick" */
body.page-id-12927 h2.di-section-marker {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 42px 0 22px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #10243d !important;
  font-size: clamp(20px, 1.7vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.page-id-12927 h2.di-section-marker::before {
  content: "";
  width: 4px;
  height: 24px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: #df1621;
  box-shadow: none;
}

body.page-id-12927 h2.di-section-marker::after {
  content: none !important;
}

@media (max-width: 768px) {
  body.page-id-12927 .di-tournament-overview {
    margin-top: -6px;
  }

  body.page-id-12927 .di-tournament-overview h2 {
    margin-bottom: 14px !important;
  }

  body.page-id-12927 .di-tournament-facts {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }



  body.page-id-12927 h2.di-section-marker {
    gap: 10px;
    margin: 32px 0 16px;
  }
}

/* ==========================================================
   TURNIERHUBS: Turniernavigation und Mehr-News-Button
   Ehemals seiteninternes CSS der Hungarian Darts Trophy
   ========================================================== */

.di-tournament-nav {
    --di-nav-red: #ed1b24;
    --di-nav-ink: #102845;
    --di-nav-muted: #5c6877;
    --di-nav-border: #dfe4ea;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "previous overview next";
    gap: 12px;
    margin: 28px 0 32px;
  }

  .di-tournament-nav__item {
    display: flex;
    min-width: 0;
    min-height: 82px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 13px 16px;
    color: var(--di-nav-ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--di-nav-border);
    border-radius: 12px;
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .di-tournament-nav__item:hover {
    color: var(--di-nav-ink);
    border-color: var(--di-nav-red);
    background: #f8f9fa;
  }

  .di-tournament-nav__item:focus-visible {
    outline: 3px solid rgba(237, 27, 36, 0.35);
    outline-offset: 3px;
  }

  .di-tournament-nav__item--previous {
    grid-area: previous;
    text-align: left;
  }

  .di-tournament-nav__item--overview {
    grid-area: overview;
    align-items: center;
    color: var(--di-nav-ink);
    text-align: center;
    background: #f5f6f8;
    border-color: var(--di-nav-border);
  }

  .di-tournament-nav__item--overview:hover {
    color: var(--di-nav-ink);
    background: #eef1f4;
    border-color: var(--di-nav-red);
  }

  .di-tournament-nav__item--next {
    grid-area: next;
    text-align: right;
  }

  .di-tournament-nav__label {
    color: var(--di-nav-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
  }

  .di-tournament-nav__item--overview .di-tournament-nav__label {
    color: var(--di-nav-muted);
  }

  .di-tournament-nav__title {
    overflow-wrap: anywhere;
    font-size: clamp(16px, 1.35vw, 18px);
    font-weight: 700;
    line-height: 1.2;
  }

  .di-tournament-nav__item--overview .di-tournament-nav__title {
    color: var(--di-nav-red);
  }

  @media (max-width: 760px) {
    .di-tournament-nav {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas:
        "overview"
        "next"
        "previous";
      gap: 10px;
      margin: 24px 0 28px;
    }

    .di-tournament-nav__item {
      min-height: 72px;
      padding: 12px 15px;
    }

    .di-tournament-nav__item--previous,
    .di-tournament-nav__item--next {
      text-align: left;
    }

    .di-tournament-nav__title {
      font-size: 17px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .di-tournament-nav__item {
      transition: none;
    }
  }

.di-more-news .wp-block-button__link {
  color: #3a4f66 !important;
  background: transparent !important;
  border: 2px solid #e1e8ed !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  height: 40px;
  min-height: 40px !important;
  padding: 0 17px !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transform: none !important;
  transition: none !important;
}

.di-more-news .wp-block-button__link::after {
  content: "→";
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.di-more-news .wp-block-button__link:hover,
.di-more-news .wp-block-button__link:focus,
.di-more-news .wp-block-button__link:active {
  color: #ed1b24 !important;
  background: transparent !important;
  border-color: #ed1b24 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

