.tabs-block {
    margin: 20px 0;
}

.tabs-nav {
    list-style: none;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #ccc;
}

.tabs-nav li {
    margin: 0;
    margin-right: 5px;
}

.tabs-nav a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    background-color: #f1f1f1;
    border: 1px solid transparent;
    border-bottom: none;
    transition: background-color 0.3s, color 0.3s;
}

.tabs-nav a:hover,
.tabs-nav a.active {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-bottom: 1px solid transparent; /* Keeps the bottom border intact */
}

.tabs-content {
    padding: 20px;
    border: 1px solid #ccc;
    /* border-top: none; So it aligns nicely with the tabs */
    background-color: #fff;
}

.tab-content {
    display: none; /* Hide all by default */
}