/* CardReactor public browse navigation — minimal text-only R3.
 * Visual-only layer: no route, data or renderer behavior changes.
 */

.crf-year-reference-table {
    display: block;
    width: 100%;
    border: 0;
    border-collapse: separate;
}

.crf-year-reference-table tbody {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 4px;
    width: 100%;
}

.crf-year-reference-table tr { display: contents; }

.crf-year-reference-table td {
    display: block;
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
}

.crf-year-reference-table ul,
.crf-year-reference-table li,
.crf-release-list,
.crf-release-list li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.crf-year-reference-table a,
.crf-release-list a,
.crf-year-reference-nav a {
    color: #1d1d1f !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .12s ease, opacity .12s ease;
}

.crf-year-reference-table a:visited,
.crf-release-list a:visited,
.crf-year-reference-nav a:visited { color: #1d1d1f !important; }

.crf-year-reference-table a:hover,
.crf-release-list a:hover,
.crf-year-reference-nav a:hover {
    color: #6e6e73 !important;
    background: transparent !important;
    text-decoration: none !important;
}

.crf-year-reference-table a:focus-visible,
.crf-release-list a:focus-visible,
.crf-year-reference-nav a:focus-visible {
    color: #1d1d1f !important;
    outline: 2px solid #0071e3;
    outline-offset: 3px;
}

.crf-year-reference-table a {
    display: inline-block;
    width: auto !important;
    min-height: 0;
    padding: 5px 0;
    font-size: 17px;
    line-height: 1.35;
    text-align: left;
    white-space: nowrap;
}

.crf-release-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 4px;
    margin-top: 8px;
}

.crf-release-list a {
    display: inline-block;
    width: auto;
    min-height: 0;
    padding: 5px 0;
    font-size: 17px;
    line-height: 1.35;
}

.crf-release-list a::after { content: none !important; }

.crf-year-reference-nav {
    gap: 18px;
    margin-bottom: 14px;
}

.crf-year-reference-nav a {
    display: inline-block !important;
    min-height: 0;
    padding: 4px 0 !important;
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .crf-year-reference-table tbody {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 24px;
    }
}

@media (max-width: 700px) {
    .crf-year-reference-table tbody,
    .crf-release-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 3px;
    }
    .crf-year-reference-table a,
    .crf-release-list a {
        padding: 5px 0;
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .crf-release-list { grid-template-columns: 1fr; }
    .crf-year-reference-nav { gap: 12px; }
    .crf-year-reference-nav a {
        padding: 4px 0 !important;
        font-size: 14px;
    }
}
