.article {
    margin: auto;
}

h2 {
    color: #F3335C;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* gap: 10px; */
    margin-bottom: 0;
    height: 380px;
}

.tabs input[type="radio"] {
    display: none;
}

.tabs label {
    padding: 10px 20px;
    background: #eee;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    flex-shrink: 0;
}

.tabs label:hover {
    background: #ddd;
}

.tabs input:checked+label {
    background: #F3335C;
    color: white;
    -webkit-border-top-left-radius: 24px;
    -webkit-border-top-right-radius: 24px;
    -moz-border-radius-topleft: 24px;
    -moz-border-radius-topright: 24px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.tab__content {
    display: none;
    width: 100%;
    padding: 5px;
    border-top: 3px solid #F3335C;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    -webkit-border-bottom-right-radius: 24px;
    -webkit-border-bottom-left-radius: 24px;
    -moz-border-radius-bottomright: 24px;
    -moz-border-radius-bottomleft: 24px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
}

#tab1:checked~#tab__content--1,
#tab2:checked~#tab__content--2 {
    display: block;
}


/* Responsive: tabs stack vertically on small screens */

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        align-items: stretch;
    }
    .tabs label {
        border-radius: 5px;
    }
    .tab__content {
        margin-top: 10px;
        border-top: 2px solid #F3335C;
    }
}


/* Optional: style icons */

.tabs label i {
    margin-right: 6px;
}