/* Style the tab */
.tab {
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    margin-bottom: 1rem;
    border-radius: 7px;
    border: 1px solid rgba(84, 34, 44, 0.15);
}
/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    width: 100%;
    outline: none;
    cursor: pointer;
    padding: 5px 16px;
    transition: 0.3s;
    font-size: 17px;
    border-left: 1px solid rgba(84, 34, 44, 0.15);
    color: #DE611E;
}
/* Change background color of buttons on hover */
.tab button:hover {
    background-color: rgba(222, 97, 30, 0.5);
    color: #FFFFFF;
}
/* Create an active/current tablink class */
.tab button.active {
    background-color: #DE611E;
    color: #FFFFFF;
}
/* Style the tab content */
.tabcontent {
    display: none;
}
.fact-block.new {
    margin: 0 auto;
}
@media (max-width: 768px) {
    .fact-block.new {
        width: 100%;
    }
}

@media (max-width: 458px) {
    .tab {
        grid-template-columns: repeat(1,1fr);
    }
    .tab button:not(:last-of-type) {
        border-bottom: 1px solid rgba(84, 34, 44, 0.15);
    }
    .tab button {
        border-left: none;
    }
}