.bhss-smart-sidebar,
.bhss-smart-sidebar * {
    box-sizing: border-box;
}

.bhss-smart-sidebar {
    width: 100%;
    max-width: 100%;
}

.bhss-nav-title-wrap {
    margin-bottom: 14px;
    text-align: center;
}

.bhss-nav-title-wrap h2 {
    font-size: 20px;
    color: #222;
    margin: 0;
    line-height: 1.4;
    font-weight: 700;
}

.bhss-card {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #eadcc9;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: none;
    overflow: hidden;
}

.bhss-card h3 {
    font-size: 18px;
    color: #222;
    margin: 0 0 14px;
    font-weight: 700;
    line-height: 1.45;
}

.bhss-card p {
    font-size: 14px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 12px;
}

.bhss-card-kicker-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.bhss-card-kicker {
    display: inline-block;
    color: #9b6a3a;
    background: #fff7ef;
    border: 1px solid #efd9bf;
    padding: 4px 11px;
    border-radius: 999px;
    line-height: 1.4;
}

.bhss-search-form {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    align-items: stretch;
    margin: 0;
}

.bhss-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: 100%;
    height: 40px;
    border: 1px solid #eadcc9;
    border-radius: 7px;
    padding: 0 10px;
    box-sizing: border-box;
    outline: none;
    font-size: 14px;
    background: #fff;
}

.bhss-search-form button {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 40px;
    border: none;
    border-radius: 7px;
    background: #8b4a20;
    color: #fff;
    padding: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    line-height: 40px;
    text-align: center;
}

.bhss-main-btn {
    display: block;
    text-align: center;
    background: #8b4a20;
    color: #fff !important;
    padding: 12px 14px;
    border-radius: 7px;
    margin-top: 12px;
    text-decoration: none !important;
    font-weight: 700;
    letter-spacing: .5px;
}

.bhss-main-btn:hover {
    opacity: .92;
}

.bhss-mini-info {
    margin-top: 12px;
    font-size: 13px;
    color: #765;
    text-align: center;
}

.bhss-category-list,
.bhss-link-list,
.bhss-post-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bhss-category-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #eadcc9;
    padding: 10px 0;
    gap: 12px;
}

.bhss-category-list li:first-child {
    padding-top: 0;
}

.bhss-category-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bhss-category-list a {
    color: #7a3d16;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
}

.bhss-category-list span {
    display: inline-block;
    min-width: 26px;
    text-align: center;
    font-size: 12px;
    color: #9b6a3a;
    background: #fff7ef;
    border: 1px solid #efd9bf;
    border-radius: 999px;
    padding: 2px 7px;
}

.bhss-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bhss-tag-cloud a,
.bhss-tag-cloud span {
    display: inline-block;
    color: #7a3d16;
    background: #fff7ef;
    border: 1px solid #efd9bf;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none !important;
}

.bhss-link-list li {
    border-bottom: 1px dashed #eadcc9;
    padding: 13px 0;
}

.bhss-link-list li:first-child {
    padding-top: 0;
}

.bhss-link-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bhss-link-list a {
    color: #7a3d16;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
}

.bhss-link-list span {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
    line-height: 1.5;
}

.bhss-post-list li {
    padding: 9px 0;
    border-bottom: 1px dashed #eadcc9;
    font-size: 14px;
    line-height: 1.7;
}

.bhss-post-list li:last-child {
    border-bottom: none;
}

.bhss-post-list a {
    color: #7a3d16;
    text-decoration: none !important;
    font-weight: 700;
}

@media (max-width: 360px) {
    .bhss-card {
        padding: 14px;
    }

    .bhss-search-form {
        gap: 6px;
    }

    .bhss-search-form button {
        flex-basis: 44px;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .bhss-smart-sidebar {
        margin-top: 20px;
    }
}


.bhss-custom-html-content {
    font-size: 14px;
    line-height: 1.9;
    color: #333;
}

.bhss-custom-html-content p {
    margin: 0 0 12px;
}

.bhss-custom-html-content p:last-child {
    margin-bottom: 0;
}

.bhss-custom-html-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.bhss-custom-html-content a {
    color: #7a3d16;
    font-weight: 700;
    text-decoration: none !important;
}

.bhss-custom-html-content ul,
.bhss-custom-html-content ol {
    margin: 0 0 12px 18px;
    padding: 0;
}

.bhss-custom-html-content li {
    margin: 6px 0;
}
