.filter-blocks {
    display: flex;
    width: 100%;
    gap: 10px;
}

 



.filter-blocks .filter-block {
    width: calc(50% );
}

.filter-blocks .filter-block.w100 {
    width: 100%;
}

.search-form {
    position: relative;
    min-height: 46px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.search-form .input-search {
    padding: 12px;
    position: absolute;
    width: 100%; 
    border: 1px solid #999999;
    border-radius: 0.5rem;
    font-size: 16px;
    line-height: normal;
    outline:none;
}


.search-form .input-search:focus {
    border-color: #f04043;
}

.search-form button {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    font-family: 'FontAwesome';
    color: #999999;
    background: none;
    border: none;
    width: 40px;
    font-size: 18px;
    line-height: normal;
    height: 100%;
    min-height: 46px;
    font-weight: 500;
}

.search-form button.s_close {
    right: 25px;
    font-weight: bold;
    color: #000;
    font-size: 14px;
}

.search-form button:hover {
    color: #666;
}

.term-layout {
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 20px;
    margin-top: 15px;
}

.sidebar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    margin-bottom: 30px;
}

.sidebar h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.section.content .related-terms, .section.content .related-articles, .section.content .other-categories {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.related-terms a, .other-categories a, .related-articles a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

article {
    font-size: 17px;
    line-height: 7mm;
}

.category-content {
    margin-top: 20px;
    font-size: 16px;
}

.term-header {
    /* border-bottom: 1px solid #eee; */
    /* padding-bottom: 20px; */
    margin-bottom: 20px;
    position: relative;
    /* display: flex; */
    justify-content: space-between;
    align-items: flex-start;
}

.term-title-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.term-title {
    font-size: 26px;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.term-mkb-container {
    text-align: right;
    line-height: 1.2;
}

.section.content .term-code-mkb {
    margin-bottom: 0;
}

.term-code-mkb .tooltip-text {
    visibility: hidden;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    border: 1px solid #ddd;
}

.term-code-mkb .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.term-code-mkb {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px !important;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.category-article {
    background: #fff;
    /* border: 1px solid #e0e0e0; */
    /* border-radius: 8px; */
    /* padding: 30px; */
    margin-bottom: 30px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
}

.info-box {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
    color: #122b9a;
}

.info-box, .warning-box {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-box .box-icon, .warning-box .box-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.section.content h4 {
    margin-top: 0 !important;
}

.section.content .info-box h4, .warning-box h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.warning-box {
    background-color: #fff1f0;
    border: 1px solid #ff7875;
    color: #8e0c15; 
}

.note-blue {
    border-left-color: #007bff !important;
}

.note-green {
    border-left-color: #28a745 !important;
}

.note-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-left: 5px solid;
}

.term-list {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.term-list .term-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid #dddddd;
    border-radius: 0.5rem;
    width: 100% ;
    transition-duration: 300ms;
    /* text-align: center; */
}

.section.content .term-list .term-card:hover {
    text-decoration: none;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}


#stopartroz .term-list .term-card .term-topline .category-link a {
    display: block;
    text-decoration: none;
    line-height: normal;
    padding: 4px 8px;
    font-size: 12px;
    background: #f5f5f5;
    border-radius: 0.375rem;
    border: 1px solid #e0e0e0; 
    color: #333;
}

#stopartroz .term-list .term-card .term-topline .category-link a:hover {
    color: #007bff;
    border-color: #007bff;
}

#stopartroz .term-list .term-card .tags {
    cursor: default;
    display: flex;
    gap: 5px;
}

#stopartroz .term-list .term-card a {
    text-decoration: none;
}

#stopartroz .term-list .term-card .tags a {
    font-size: 15px;
    line-height: 1.25rem;
    color: #007bff;
    background-color: #f5f5f5;
    padding: 4px 12px;
    border-radius: 20px;
    /* text-decoration: underline; */
}

#stopartroz .term-list .term-card .tags a:hover {
    text-decoration: underline;
}

.term-list .term-card .term-title {
    color: #000;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 700;
    text-decoration: none;
}

.term-list .term-card:hover .term-title {
    color: #f04043;
}

.term-list .term-card .term-preview {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.5rem;
}

.term-preview {
    margin-bottom: 24px;
}

.no-termins {
    color: #6b7280;
    text-align: center;
    font-size: 16px;
}

.pagination {
    gap: 1rem;
    display: flex;
    align-items: center;
    margin-top: 2.5rem !important;
    margin-bottom: 2.5rem !important; 
}

button.pagin_btn {
    font-size: 16px;
    background-color: #f5f5f5;
    outline: none;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition-duration: 300ms;
}

.page-info {
    color: #666666;
    font-size: 14px;
}

button.pagin_btn:hover {
    background: #eaeaea;
}

@media( max-width:768px  )
{
    .term-layout {
        grid-template-columns: initial;
    }
}