:root {
    --toc-gap: 30px; /* Define the gap as a CSS variable */
}

.toc-container {
    background-color: #e2e3e4;
    border-top: 3px solid #df1f2d;
    padding: 20px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--toc-gap); /* Use the variable for the gap */
    margin-bottom: 20px;
}

.toc-column {
    box-sizing: border-box; /* Ensures consistent sizing */
}

.toc-column .byline,
.toc-column .byline a {
    color: #df1f2d !important;
    font-size: 13px;
}

.toc-left {
    flex: 0 0 calc(20% - calc(var(--toc-gap) / 1.5)); /* Adjust using the variable */
    max-width: calc(20% - calc(var(--toc-gap) / 1.5));
    padding-left:8px;padding-right:8px;
}

.toc-left a {
    border-bottom: 1px solid #000;
    padding: 2px 0 6px 0;
    color: #000 !important;
    line-height: 1;
    display: block;
    text-align: center;
    font-size: 20px;
    font-family: 'Gabarito', sans-serif !important;
    font-weight: bold;
    text-transform: none;
    margin-bottom: 5px;
}

.toc-left a:last-of-type {
    border-bottom: none;
}

.toc-left img {
    margin-bottom: 10px;
}

.toc-middle {
    flex: 0 0 calc(50% - calc(var(--toc-gap) / 1.5)); /* Adjust using the variable */
    max-width: calc(50% - calc(var(--toc-gap) / 1.5));
}

.toc-right {
    flex: 0 0 calc(30% - calc(var(--toc-gap) / 1.5)); /* Adjust using the variable */
    max-width: calc(30% - calc(var(--toc-gap) / 1.5));
}

.toc-right h2 a {
    color: #000 !important;
}

.toc-right .bylineSep {
    display: none;
}

/* Responsive design: Stack columns on smaller screens */
@media (max-width: 768px) {
    .toc-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


.custom-issue-toc-articles-list {
 
}


.custom-issue-toc-articles-list h2 {
    font-size:20px;
    margin:12px 0 0 0 !important;
    margin-block-start:2px;
}

.custom-issue-toc-articles-list h2:first-child {
    margin-top:0 !important;
}


.toc-container .byline span { display:none !important;}