.sidr-results-page {
    padding: 0;
    margin: 32px 0;
}

.sidr-event-tools {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0 0 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid #e5e7eb;
}

.sidr-event-tools__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #6b7280;
    font-size: 15px;
}

.sidr-event-tools__meta span,
.sidr-event-tools__meta a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    text-decoration: none;
}

.sidr-event-tools__meta a {
    color: #0d9488;
    font-weight: 500;
}

.sidr-event-tools__meta a:hover {
    color: #0f766e;
}

.sidr-event-tools__search {
    flex: 0 1 360px;
    min-width: 260px;
}

.sidr-event-tools__search .sidr-archive-search {
    max-width: none;
}

.sidr-program-block {
    margin-top: 0;
}

.sidr-program-block+.sidr-program-block {
    margin-top: 48px;
}

.sidr-program-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
}

.sidr-group-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.sidr-event-block {
    margin-top: 28px;
}

.sidr-event-heading {
    margin-bottom: 18px;
}

.sidr-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.sidr-event-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
}

.sidr-program-section+.sidr-program-section {
    margin-top: 24px;
}

.sidr-program-section__title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.3;
    color: #0f172a;
}

.sidr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.sidr-tabs--programs {
    margin-bottom: 20px;
}

.sidr-tabs--modes {
    margin-bottom: 20px;
}

.sidr-tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidr-tab-button:hover {
    background: #e5e7eb;
}

.sidr-tab-button.is-active {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.sidr-tab-panel {
    display: none;
}

.sidr-tab-panel.is-active {
    display: block;
}

.sidr-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sidr-table-wrap::-webkit-scrollbar {
    height: 4px;
}

.sidr-table-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.sidr-table-wrap::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 4px;
}

.sidr-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.sidr-table thead,
.sidr-table tbody {
    border: none !important;
    background: transparent !important;
}

.sidr-table th,
.sidr-table td {
    border: none !important;
}

.sidr-table__header-row {
    border-bottom: 2px solid #111827 !important;
    background: transparent !important;
}

.sidr-table__header-row th {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
    padding: 16px 12px;
    background-color: transparent !important;
    text-align: left;
}

.sidr-table__header-row th:first-child {
    padding-left: 16px;
    padding-right: 12px;
}

.sidr-table__header-row th:last-child {
    padding-right: 8px;
    padding-left: 12px;
}

.sidr-table__header-row th.sidr-text-center {
    text-align: center;
}

.sidr-table__header-row th.sidr-text-right {
    text-align: right;
    padding-right: 16px;
}

.sidr-table__row {
    border-bottom: 1px solid #f3f4f6 !important;
    transition: background 0.15s ease;
    cursor: pointer;
    background-color: transparent;
}

/* Сбрасываем возможную зебру (striped) от активной темы */
.sidr-table tbody tr:nth-child(odd),
.sidr-table tbody tr:nth-child(even) {
    background-color: transparent;
}

.sidr-table__row:last-child {
    border-bottom: none !important;
}

.sidr-table__row:hover {
    background: #f9fafb;
}

.sidr-table__row td {
    padding: 14px 12px;
    vertical-align: middle;
    background: transparent;
    font-size: 14px;
    color: #111827;
}

.sidr-table__row td:first-child {
    padding-left: 16px;
    padding-right: 12px;
}

.sidr-table__row td:last-child {
    padding-right: 8px;
    padding-left: 12px;
}

.sidr-cell--place {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    width: 64px;
}

.sidr-cell--place-top {
    font-weight: 700;
    color: #111827;
}

.sidr-cell--name {
    font-weight: 500;
    color: #111827;
    transition: color 0.2s ease;
}

.sidr-table__row:hover .sidr-cell--name {
    color: #0d9488;
}

.sidr-cell--time {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.sidr-cell--pace {
    text-align: center;
}

.sidr-pace-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(191, 219, 254, 0.5);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sidr-pace-pill--muted {
    background: #f9fafb;
    color: #9ca3af;
    border-color: #f3f4f6;
}

.sidr-cell--gap {
    text-align: right;
    font-size: 13px;
    color: #6b7280;
    font-variant-numeric: tabular-nums;
    padding-right: 16px;
}

.sidr-cell--gap-empty {
    color: #d1d5db;
}

.sidr-cell--rank {
    text-align: center;
}

.sidr-rank-pill {
    display: inline-block;
    padding: 4px 12px;
    background: #ecfdf5;
    color: #065f46;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 1px solid rgba(209, 250, 229, 0.5);
    white-space: nowrap;
}

.sidr-table-separator {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0 0 24px;
}

.sidr-registration-count {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 15px;
}

.sidr-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    margin-left: 8px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.sidr-table--summary {
    table-layout: auto;
}

.sidr-table--summary .sidr-col-place {
    width: 64px;
}

.sidr-table--summary .sidr-col-name {
    min-width: 0;
}

.sidr-table--summary .sidr-col-time {
    width: 128px;
}

.sidr-table--summary .sidr-col-pace {
    width: 160px;
    text-align: center;
}

.sidr-table--summary .sidr-col-gap {
    width: 128px;
    text-align: right;
}

.sidr-table--summary .sidr-col-rank {
    width: 112px;
    text-align: center;
}

.sidr-table--registrations {
    min-width: 820px;
    table-layout: auto;
}

.sidr-table--registrations .sidr-col-place {
    width: 64px;
}

.sidr-table--registrations .sidr-col-name {
    width: 240px;
}

.sidr-table--registrations .sidr-col-year {
    width: 140px;
}

.sidr-table--registrations .sidr-col-city {
    width: 180px;
}

.sidr-table--registrations .sidr-col-attributes {
    min-width: 220px;
}

.sidr-cell--attributes {
    color: #475569;
}

.sidr-text-center {
    text-align: center;
}

.sidr-text-right {
    text-align: right;
}

.sidr-heat-card {
    margin-top: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.sidr-heat-card+.sidr-heat-card {
    margin-top: 40px;
}

.sidr-heat-card__header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.sidr-heat-card__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.sidr-heat-card__badge {
    padding: 4px 12px;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 300;
}

.sidr-table--heats {
    min-width: 1100px;
    table-layout: auto;
}

.sidr-table--heats .sidr-col-start {
    width: 111px;
}

.sidr-table--heats .sidr-col-name {
    width: 260px;
}

.sidr-table--heats .sidr-col-split {
    width: 87px;
}

.sidr-table--heats .sidr-col-final-time {
    width: 128px;
}

.sidr-table--heats .sidr-col-pace {
    width: 128px;
}

.sidr-table--heats .sidr-col-rank {
    width: 96px;
}

.sidr-table--heats th,
.sidr-table--heats td {
    padding: 16px 16px;
}

.sidr-table--heats th {
    border-bottom: 1px solid #111827 !important;
}

.sidr-th-sub {
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    color: #9ca3af;
}

.sidr-pl-2 {
    padding-left: 8px !important;
}

.sidr-pr-2 {
    padding-right: 8px !important;
}

.sidr-cell--start {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 300;
    white-space: nowrap;
}

.sidr-athlete-last-name,
.sidr-athlete-first-name,
.sidr-athlete-age-group {
    display: block;
}

.sidr-athlete-last-name,
.sidr-athlete-first-name {
    color: #111827;
}

.sidr-athlete-first-name {
    margin-top: 2px;
}

.sidr-athlete-age-group {
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
}

.sidr-athlete-age-group .sidr-color-male,
.sidr-athlete-age-group .sidr-color-female {
    margin-right: 5px;
}

.sidr-color-male {
    color: #2563eb;
}

.sidr-color-female {
    color: #db2777;
}

.sidr-cell--split {
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    color: #6b7280;
    font-weight: 300;
    padding-right: 7px !important;
    padding-left: 7px !important;
}

.sidr-th-split {
    font-size: 10px !important;
    padding-right: 7px !important;
    padding-left: 7px !important;
}

.sidr-split-first {
    border-left: 1px solid rgba(243, 244, 246, 0.5) !important;
}

.sidr-split-last {
    border-right: 1px solid rgba(243, 244, 246, 0.5) !important;
}

.sidr-table__row:hover .sidr-split-first,
.sidr-table__row:hover .sidr-split-last {
    border-color: transparent !important;
}

.sidr-cell--final-time {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    font-variant-numeric: tabular-nums;
}

.sidr-cell--pace-text {
    color: #0d9488;
    font-weight: 600;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.025em;
}

.sidr-muted {
    color: #d1d5db;
    font-weight: 300;
}

.sidr-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    background: #e0f2fe;
    color: #0c4a6e;
}

.sidr-chip--rank {
    background: #ecfccb;
    color: #365314;
}

.sidr-chip--muted {
    background: #f1f5f9;
    color: #475569;
}

.sidr-results-empty {
    padding: 18px 20px;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
}

.sidr-filter-form {
    margin-bottom: 20px;
    padding: 18px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #f8fafc;
}

.sidr-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 14px;
}

.sidr-filter-grid label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #334155;
}

.sidr-filter-grid input,
.sidr-filter-grid select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

.sidr-filter-actions {
    margin-top: 14px;
}

.sidr-filter-actions button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #0f766e;
    color: #fff;
    cursor: pointer;
}

.sidr-filter-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: 10px;
    padding: 0 18px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #0f172a;
    text-decoration: none;
}

.sidr-year-section+.sidr-year-section {
    margin-top: 28px;
}

.sidr-year-title {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.2;
}

.sidr-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.sidr-archive-card {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
}

.sidr-archive-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

.sidr-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: #64748b;
    font-size: 14px;
}

.sidr-archive-meta span,
.sidr-archive-stats span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
}

.sidr-archive-programs {
    margin: 0 0 14px;
    color: #334155;
    font-size: 14px;
}

.sidr-archive-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: #475569;
    font-size: 14px;
}

.sidr-archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sidr-archive-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
}

.sidr-archive-actions .sidr-action-primary {
    background: #0f766e;
    color: #fff;
}

.sidr-archive-actions .sidr-action-secondary {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.sidr-athlete-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 14px;
    color: #64748b;
    font-size: 14px;
}

.sidr-athlete-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.sidr-athlete-unlink-form {
    margin: 0;
}

.sidr-account-unlink-button {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #fff1f2;
    color: #b91c1c;
    cursor: pointer;
}

.sidr-account-link-box {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
}

.sidr-account-link-box__text {
    margin: 0 0 14px;
    color: #64748b;
}

.sidr-account-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.sidr-account-link-grid input,
.sidr-account-link-grid select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
}

.sidr-account-link-grid .sidr-tab-button {
    justify-self: start;
}

@media (max-width: 767px) {
    .sidr-results-card {
        padding: 18px;
        border-radius: 16px;
    }

    .sidr-results-card__header h2 {
        font-size: 24px;
    }

    .sidr-program-title {
        font-size: 20px;
    }

    .sidr-program-section__title {
        font-size: 17px;
    }

    .sidr-event-meta {
        flex-direction: column;
        gap: 8px;
    }

    .sidr-filter-grid {
        grid-template-columns: 1fr;
    }

    .sidr-athlete-header {
        flex-direction: column;
        align-items: stretch;
    }

    .sidr-account-unlink-button {
        width: 100%;
    }

    .sidr-table-wrap {
        overflow: visible;
    }

    .sidr-table--responsive {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .sidr-table--responsive thead {
        display: none;
    }

    .sidr-table--responsive tbody,
    .sidr-table--responsive tr,
    .sidr-table--responsive td {
        display: block;
        width: 100%;
    }

    .sidr-table--responsive tr {
        margin-bottom: 14px;
        padding: 14px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
    }
}

.sidr-heats-mobile,
.sidr-summary-mobile {
    display: none;
}

@media (max-width: 767px) {

    .sidr-table-wrap:has(.sidr-table--heats),
    .sidr-table-wrap:has(.sidr-table--summary) {
        display: none !important;
    }

    .sidr-heats-mobile,
    .sidr-summary-mobile {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .sidr-hm-card {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.05);
        padding: 16px 12px;
        border: 1px solid #f3f4f6;
        transition: transform 0.15s ease;
    }

    .sidr-hm-card:active {
        transform: scale(0.98);
    }

    .sidr-hm-card__header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .sidr-hm-card__info {
        display: flex;
        flex-direction: column;
    }

    .sidr-hm-card__meta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
    }

    .sidr-hm-start {
        font-size: 10px;
        color: #9ca3af;
        font-weight: 500;
        background: #f3f4f6;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .sidr-hm-gender {
        font-size: 10px;
        font-weight: 700;
    }

    .sidr-hm-age {
        font-size: 10px;
        color: #9ca3af;
    }

    .sidr-hm-name {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
        margin: 0;
    }

    .sidr-hm-card__rank {
        margin-top: 4px;
    }

    .sidr-hm-card__main {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        border-bottom: 1px solid #f3f4f6;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .sidr-hm-total {
        display: flex;
        flex-direction: column;
    }

    .sidr-hm-pace {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .sidr-hm-label {
        font-size: 10px;
        color: #9ca3af;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 2px;
    }

    .sidr-hm-label--splits {
        margin-bottom: 8px;
        display: block;
    }

    .sidr-hm-val-time {
        font-size: 30px;
        font-weight: 800;
        color: #111827;
        font-variant-numeric: tabular-nums;
        line-height: 1;
        letter-spacing: -0.02em;
    }

    .sidr-hm-val-pace {
        font-size: 18px;
        font-weight: 700;
        color: #0d9488;
        font-variant-numeric: tabular-nums;
        line-height: 1;
    }

    .sidr-hm-card__splits {
        display: flex;
        flex-direction: column;
    }

    .sidr-hm-splits-scroll {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .sidr-hm-split-box {
        background: rgba(249, 250, 251, 0.8);
        border-radius: 8px;
        padding: 8px 4px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(243, 244, 246, 0.5);
    }

    .sidr-hm-split-label {
        font-size: 10px;
        color: #9ca3af;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 4px;
    }

    .sidr-hm-split-val {
        font-size: 12px;
        color: #374151;
        font-variant-numeric: tabular-nums;
        font-weight: 500;
    }

    .sidr-hm-card__main--no-border {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .sidr-hm-time-wrap {
        display: flex;
        align-items: baseline;
        gap: 8px;
    }

    .sidr-hm-val-gap {
        font-size: 14px;
        color: #9ca3af;
        font-variant-numeric: tabular-nums;
        font-weight: 500;
    }

    .sidr-hm-place--top {
        background: #111827;
        color: #fff;
    }

    /* Сброс старой адаптивной логики для таблицы заплывов */
    .sidr-table--responsive.sidr-table--heats {
        display: table;
    }

    .sidr-table--responsive.sidr-table--heats tbody,
    .sidr-table--responsive.sidr-table--heats tr,
    .sidr-table--responsive.sidr-table--heats td {
        display: table-cell;
    }
}

.sidr-table--responsive td:last-child {
    border-bottom: 0;
}

.sidr-table--responsive td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
    text-align: left;
}

.sidr-table--summary th,
.sidr-table--summary td,
.sidr-table--heats th,
.sidr-table--heats td {
    width: auto;
}

.sidr-table--responsive td strong,
.sidr-table--responsive td .sidr-chip {
    display: inline-flex;
}

.sidr-chip {
    margin-left: 0;
}

.sidr-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.sidr-archive-page {
    margin: 32px 0 56px;
    font-family: inherit;
    color: #111827;
    background: #fff
}

.sidr-archive-page__accent {
    height: 4px;
    width: 100%;
    background: #2563eb;
    border-radius: 999px
}

.sidr-archive-page__inner {
    max-width: 1120px;
    margin: 0 auto;

}

#content.site-content:not(.fixed) .sidr-archive-page__inner,
#content.site-content:not(.fixed) .entry-content .sidr-results-page {
    width: 100%;
    max-width: min(1315px, calc(100vw - 48px));
    margin-right: auto;
    margin-left: auto;
}

#content.site-content:not(.fixed) .entry-content .sidr-results-page {
    width: min(1680px, calc(100vw - 96px));
    max-width: none;
    margin-right: 0;
    margin-left: 50%;
    transform: translateX(-50%);
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats th,
#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats td {
    padding-right: 10px;
    padding-left: 10px;
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-start {
    width: 91px;
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-name {
    width: 220px;
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-split {
    width: 81px;
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-final-time,
#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-pace {
    width: 112px;
}

#content.site-content:not(.fixed) .sidr-results-page .sidr-table--heats .sidr-col-rank {
    width: 76px;
}

.sidr-archive-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px
}

.sidr-archive-hero--search-only {
    justify-content: flex-end
}

.sidr-archive-page__title {
    margin: 0 0 10px;
    font-size: 48px;
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -.03em
}

.sidr-archive-page__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 18px;
    font-weight: 300
}

.sidr-archive-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    border-bottom: 1px solid #d1d5db;
    padding: 0 0 10px;
    margin: 0;
}

.sidr-archive-search__input {
    flex: 1;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: 18px;
    font-weight: 300;
    color: #111827;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}

.sidr-archive-search__input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.sidr-archive-search__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sidr-archive-search__icon:hover {
    color: #111827;
}

.sidr-archive-year-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb
}

.sidr-year-filter {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease
}

.sidr-year-filter:hover,
.sidr-year-filter.is-active {
    color: #111827
}

.sidr-archive-reset {
    margin: 0 0 32px
}

.sidr-archive-reset a {
    color: #6b7280;
    text-decoration: none
}

.sidr-archive-reset a:hover {
    color: #111827
}

.sidr-year-section+.sidr-year-section {
    margin-top: 48px
}

.sidr-year-title {
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #111827;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 300;
    color: #9ca3af
}

.sidr-archive-list {
    display: flex;
    flex-direction: column
}

.sidr-archive-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto 40px;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: border-color .25s ease
}

.sidr-archive-row:hover {
    border-bottom-color: #d1d5db
}

.sidr-archive-row__date {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6b7280
}

.sidr-archive-row__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 300;
    transition: color .25s ease
}

.sidr-archive-row__link {
    color: inherit;
    text-decoration: none
}

.sidr-archive-row:hover .sidr-archive-row__title,
.sidr-archive-row:hover .sidr-archive-row__link {
    color: #2563eb
}

.sidr-archive-row__meta,
.sidr-archive-row__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    color: #6b7280;
    font-size: 15px;
    font-weight: 300
}

.sidr-archive-row__dot {
    color: #d1d5db
}

.sidr-archive-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500
}

.sidr-archive-status--registration {
    background: #ecfeff;
    color: #155e75
}

.sidr-archive-status--results {
    background: #ecfdf5;
    color: #047857
}

.sidr-archive-row__stats {
    margin-top: 0;
    justify-content: flex-end;
    min-width: 200px
}

.sidr-archive-row__action {
    display: flex;
    justify-content: flex-end
}

.sidr-archive-row__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    opacity: 0;
    transform: translateX(16px);
    transition: all .3s ease
}

.sidr-archive-row:hover .sidr-archive-row__arrow {
    opacity: 1;
    transform: translateX(0)
}

.sidr-archive-page .sidr-results-card {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: none
}

.sidr-archive-page .sidr-results-empty {
    padding: 24px 0;
    background: transparent;
    color: #9ca3af;
    font-size: 18px;
    font-weight: 300
}

.sidr-event-registration-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding: 24px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb
}

.sidr-event-registration-summary__body {
    min-width: 0
}

.sidr-event-registration-summary__count {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1.3
}

.sidr-event-registration-summary__count strong {
    color: #073f4c;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800
}

.sidr-event-registration-summary__gender {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.45
}

.sidr-event-registration-summary__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #123f4c;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease
}

.sidr-event-registration-summary__arrow {
    flex: 0 0 auto;
    transform: translateX(0);
    transition: transform .2s ease
}

.sidr-event-registration-summary__link:hover,
.sidr-event-registration-summary__link:focus {
    color: #0b303a;
    text-decoration: none
}

.sidr-event-registration-summary__link:hover .sidr-event-registration-summary__arrow,
.sidr-event-registration-summary__link:focus .sidr-event-registration-summary__arrow {
    transform: translateX(4px)
}

@media (max-width: 991px) {
    .sidr-archive-hero {
        flex-direction: column;
        align-items: stretch
    }

    .sidr-archive-search {
        min-width: 0
    }

    .sidr-archive-row {
        grid-template-columns: 1fr;
        gap: 12px
    }

    .sidr-archive-row__stats,
    .sidr-archive-row__action {
        justify-content: flex-start
    }

    .sidr-archive-row__arrow {
        opacity: 1;
        transform: none
    }
}

@media (max-width: 767px) {
    .sidr-event-tools {
        flex-direction: column;
        align-items: stretch
    }

    .sidr-event-tools__search {
        flex-basis: auto;
        min-width: 0
    }

    #content.site-content:not(.fixed) .entry-content .sidr-results-page {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        transform: none;
    }

    .sidr-archive-page__inner {
        padding: 40px 20px 0
    }

    .sidr-archive-page__title {
        font-size: 38px
    }

    .sidr-archive-page__subtitle {
        font-size: 16px
    }

    .sidr-archive-year-filters {
        gap: 16px
    }

    .sidr-year-title {
        font-size: 30px;
        margin-bottom: 18px
    }

    .sidr-archive-row {
        padding: 18px 0
    }

    .sidr-archive-row__title {
        font-size: 22px
    }

    .sidr-archive-row__meta,
    .sidr-archive-row__stats {
        font-size: 14px
    }

    .sidr-event-registration-summary {
        align-items: stretch;
        flex-direction: column
    }

    .sidr-event-registration-summary__count strong {
        font-size: 26px
    }

    .sidr-event-registration-summary__link {
        justify-content: flex-start
    }
}
