/* Style for the newsfeed layout */

#sidebar-newsfeed {
    display: flex;
    flex-wrap: wrap;  /* Align items in a horizontal row */
    justify-content: space-around;  /* Space out the items evenly */
    width: 100%;
    margin-bottom: 20px;  /* Add some space below the sidebar */
}

 #content {
    width: 100%;
}

.row {
	display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
}

/* Styling for the tab links */
.tablinks {
    flex: 1 0 30%;
    text-align: center;
    padding: 10px;
    margin: 10px;
    text-decoration: none;
    font-size: 18px;
    color: #333;
    background-color: #f1f1f1;
    border-radius: 5px;
    box-sizing: border-box;
}

.tablinks:hover {
    background-color: #b71c1c; 
    color: white;  
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.tablinks.selected {
    background-color: #b72429;
    border-radius: 5px;
    color: white;
}

.entry-content table {
	border: none !important;
}

.entry-content tr td {
    border: none !important;
}


/* Responsive design for smaller screens */
@media screen and (max-width: 768px) {
    #sidebar-newsfeed {
        flex-direction: column;
    }
    
    #content {
        flex-direction: column;
    }
    
    .scp-p-4 {
    	max-width: 100%;
    }
    
    .entry-content tr td {
    	padding: 0 !important;
    }

    .tablinks {
        display: block;
        width: 100%;
    }
    .scp-embed-paginator-button {
        padding: 0.5rem !important;
    }

    .scp-embed-paginator-button a {
        font-size: 0.8rem;
    }
}