/* Blog detay — kenar çubuğu */
.hp-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hp-blog-sidebar-block {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.hp-blog-sidebar-title {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: #1a1a1a;
}

.hp-blog-sidebar-search {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.hp-blog-sidebar-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
}

.hp-blog-sidebar-search-input:focus {
    outline: none;
    border-color: #3474d4;
    box-shadow: 0 0 0 3px rgba(52, 116, 212, 0.12);
}

.hp-blog-sidebar-search-btn {
    flex-shrink: 0;
    height: 44px;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #3474d4;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hp-blog-sidebar-search-btn:hover {
    background: #2a63b8;
}

.hp-blog-sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-blog-sidebar-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hp-blog-sidebar-post-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
    display: block;
}

.hp-blog-sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-blog-sidebar-post-thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.hp-blog-sidebar-post-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-blog-sidebar-post-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
}

.hp-blog-sidebar-post-title:hover {
    color: #3474d4;
}

.hp-blog-sidebar-post-date {
    font-size: 12px;
    color: #9ca3af;
}

.hp-blog-sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-blog-sidebar-categories a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    background: #f9fafb;
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-blog-sidebar-categories a:hover {
    background: rgba(52, 116, 212, 0.08);
    color: #3474d4;
}

.hp-blog-sidebar-all-link {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #3474d4;
    text-decoration: none;
    border: 1px solid rgba(52, 116, 212, 0.25);
    transition: background 0.2s ease, color 0.2s ease;
}

.hp-blog-sidebar-all-link:hover {
    background: #3474d4;
    color: #fff;
}

.hp-blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
}

.hp-blog-detail-main {
    min-width: 0;
}

@media (max-width: 991px) {
    .hp-blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
