#content.house-rules {
    margin-top: 48px;
    color: var(--black-color-1);
}

#content.house-rules .house-rules__table-container {
    width: 100%;
    display: block;
}

#content.house-rules .house-rules__table-wrapper  {
    width: 100%;
    max-width: 983px;
    margin: 0 auto;
}

#content.house-rules .house-rules__table-wrapper table {
    border-spacing: 0;
    border-collapse: collapse;
    border: 2px solid var(--black-color-1);
} 

#content.house-rules .house-rules__table-wrapper th {
    padding: 3px 5px;
}

#content.house-rules .house-rules__table-wrapper th,
#content.house-rules .house-rules__table-wrapper td {
    border: 2px solid var(--black-color-1);
} 

#content.house-rules .house-rules__table-wrapper .main-header {
    background-color: var(--primary-color);
    color: var(--white-color-1);
    text-transform: uppercase;
}

#content.house-rules .house-rules__table-wrapper .main-header th {
    text-align: center;
}

#content.house-rules .house-rules__table-wrapper .data-header {
    font-weight: 700;
    background-color: var(--light-color-7);
}

#content.house-rules .house-rules__table-wrapper .data-header th {
    text-align: left;
    font-weight: 600 !important;
    color: var(--black-color-1);
}

#content.house-rules .house-rules__table-wrapper table > tbody td:first-of-type {
    font-weight: 700;
}

#content.house-rules .house-rules__table-wrapper table > tbody ul {
    margin-inline-start: 1rem;
    padding-inline-start: 0px;
}

#content.house-rules .house-rules__table-wrapper td {
    width: 10%;
    padding: 5px;
}

#content.house-rules .house-rules__table-wrapper td:nth-last-of-type(2),
#content.house-rules .house-rules__table-wrapper td:last-of-type {
    width: 40%;
}

#content.house-rules .house-rules__mobile-container {
    display: none;
}

#content.house-rules .house-rules__mobile-container h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: black;
    margin-bottom: 20px;
}

#content.house-rules .mobile-card {
    border: 1px solid var(--black-color-1);
    margin-bottom: 20px;
}

#content.house-rules .mobile-card h3 {
    background: var(--primary-color);
    color: var(--white-color-1);
    margin: 0;
    padding: 12px 24px;
}

#content.house-rules .mobile-card__content-wrapper {
    padding: 16px 24px;
}

#content.house-rules .mobile-card__content {
    padding: 8px 0;
}

#content.house-rules .mobile-card__content h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

#content.house-rules .mobile-card__content ul {
    margin-top: 0;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    #content.house-rules .house-rules__table-container {
        display: none;
    }

    #content.house-rules .house-rules__mobile-container {
        display: block;
    }
}