.irs-page {
    display: block;
    width: 100%;
    font-size: 18px;
}

.irs-main {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 30px;
}

.irs-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 22px;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 10px;
    box-sizing: border-box;
}

.irs-other-content {
    max-width: 900px;
    margin: 0 auto 40px;
}

.irs-header {
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 4px solid lightgray;
}

.irs-page h1.irs-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
}

.irs-page h2.irs-section-heading {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
}

.irs-content {
    margin-top: 24px;
    overflow-wrap: break-word;
}

.irs-page .irs-content h2 {
    margin: 28px 0 12px;
    font-size: 24px;
    line-height: 1.4;
}

.irs-page .irs-content h3 {
    margin: 24px 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.irs-content .wp-block-buttons,
.irs-content .wp-block-image,
.irs-content .wp-block-table {
    margin-bottom: 20px;
}

.irs-content .wp-block-table th,
.irs-content .wp-block-table td {
    padding: 8px 10px;
    border: 1px solid lightgray;
    line-height: 1.5;
}

.irs-content .wp-block-table thead {
    border-bottom: 2px solid lightgray;
}

.irs-content .wp-block-table th {
    background-color: #f5f5f5;
}

.irs-related {
    margin-top: 24px;
    padding-top: 20px;
}

.irs-related-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.irs-related-item {
    margin-bottom: 8px;
}

.irs-related-link {
    display: block;
    padding: 12px 16px;
    background-color: white;
    border: 1px solid lightgray;
    border-left: 4px solid rgb(224, 0, 0);
    border-radius: 5px;
    transition: background-color 0.15s, border-color 0.15s;
}

.irs-related-link:hover {
    background-color: #fff5f5;
}

.irs-related-title {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: rgb(224, 0, 0);
    line-height: 1.4;
}

.irs-related-see-all {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.irs-related-see-all a {
    color: rgb(224, 0, 0);
    font-weight: bold;
}

.irs-comment-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.irs-comment-section .comments-area {
    max-width: 900px;
    width: 100%;
    border: 1px solid lightgray;
    border-radius: 5px;
    padding: 16px 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .irs-main {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .irs-other-content {
        padding: 0 10px;
    }

    .irs-comment-section {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .irs-content .wp-block-table .has-fixed-layout {
        table-layout: auto;
    }

    .irs-content .wp-block-table .has-fixed-layout td,
    .irs-content .wp-block-table .has-fixed-layout th {
        word-break: normal;
    }
}
