article{
    padding: 4rem 0;

    section{
        width: clamp(48rem, 90%, 68.75rem);
        margin: 0 auto;

        h2{
            font-size: 1.5rem;
            text-align: center;
            font-weight: normal;
            border-bottom: 2px solid var(--main-color);
            padding-bottom: .5rem;
            margin-bottom: 2rem;
        }
        h3 span{
            font-size: 1.25rem;
            background: linear-gradient(transparent 50%, var(--sub-color) 50%);
            padding: .5rem;
        }
        p{
            margin: 1rem auto;
            line-height: 1.8;
            text-align: justify;
        }
    }
}
@media (max-width: 767px){
    article{
        padding: 2rem 0;
    
        section{
            width: 90%;
            margin: 0 auto;

            div{
                margin: 3rem auto;
            }

            h2{
                font-size: 1.2rem;
            }
        }
    }
}

.officer{
    table{
        border-collapse: collapse;
        width: 100%;
        min-width: 48rem;
        margin: 2rem auto 3rem;
    
        .heading{
            background: rgba(203,229,206,.3);
    
            th{
                border-top: 3px double var(--main-color);
                border-bottom: 3px double var(--main-color);
            }
        }
        tr:nth-of-type(2n+1){
            background: rgba(203,229,206,.1);
        }
        th,
        td{
            padding: 1rem;
        }
    
        th{
            border-top: 1px solid var(--main-color);
            border-bottom: 1px solid var(--main-color);
            font-weight: normal;
            text-align: left;
        }
        td{
            border-top: 1px solid var(--sub-color);
            border-bottom: 1px solid var(--sub-color);
        }
    }
}

.js-scrollable{
    width: 100%;
}

.roster{
    table{
        border-collapse: collapse;
        width: 100%;
        min-width: 48rem;
        margin: 2rem auto 4rem;
        position: relative;

        &::after{
            content: "";
            position: absolute;
            bottom: -2rem;
            left: 0;
            width: 100%;
            height: 1px;
            border-bottom: 1px dotted var(--main-color);
        }

        caption{
            display: none;
        }
        
        th,
        td{
            padding: .5rem 1rem;
        }

        th{
            font-weight: normal;
            text-align: left;
            border-bottom: 1px solid var(--sub-color);
        }
    }
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem auto 2rem;
}
.tab {
    padding: .5rem 1rem;
    cursor: pointer;
    border: 1px solid;
    border-image:var(--main-color) 1;
    border-radius: 5px;
}
.tab.active {
    background: var(--sub-color);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
