/* Slide 03 (alternative approaches): minimal local layout rules.
   Desktop keeps the three-column matrix; on phones each row becomes a stacked block with labelled fields,
   so no cell overlaps a neighbour and nothing scrolls horizontally. */

.competition-section .competition-intro {
  margin-top: 28px;
}

/* Desktop: descriptions about 1px larger and slightly brighter for contrast on the dark background. */
@media (min-width: 641px) {
  .competition-section .competition-table td {
    font-size: 14px;
    line-height: 1.5;
    color: #b9c8d1;
  }

  .competition-section .ct-short {
    display: none;
  }
}

@media (max-width: 640px) {
  .competition-section .competition-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .competition-section .competition-table,
  .competition-section .competition-table tbody,
  .competition-section .competition-table tr,
  .competition-section .competition-table th,
  .competition-section .competition-table td {
    display: block;
    width: 100%;
  }

  .competition-section .competition-table tr {
    padding: 16px 0;
    border-bottom: 1px solid rgba(142, 219, 200, 0.14);
  }

  .competition-section .competition-table th[scope="row"] {
    padding: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
  }

  .competition-section .competition-table th,
  .competition-section .competition-table td {
    border: 0;
  }

  .competition-section .competition-table td {
    padding: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  /* Phones: shorter wording for each category; the full text stays on desktop and in the notes. */
  .competition-section .ct-full {
    display: none;
  }

  .competition-section .ct-short {
    display: inline;
  }

  .competition-section .competition-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--mint);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}
