/*
 * Blog Hyper Personalization Pro - Main Styles
 * Version: 5.4
 */

/* General Styles */
.bhp-post-list { list-style: none; padding: 0; margin: 0; }
.bhp-post-item { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #f0f0f0; }
.bhp-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.bhp-post-thumbnail img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; }
.bhp-post-title, .bhp-card-title { margin: 0; line-height: 1.4; }
.bhp-post-title { font-weight: 500; }
.bhp-post-title a:hover { text-decoration: underline; }
.bhp-shortcode-title { margin-bottom: 1.5rem; } /* Let theme handle font-size */

/* Grid Styles */
.bhp-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.bhp-style-grid .bhp-post-item { flex-direction: column; text-align: center; border: 1px solid #eee; padding: 1rem; border-radius: 8px; }

/* Notice Styles */
.bhp-notice {
    background-color: #f7f7f7;
    border-left: 4px solid #d63384;
    padding: 1rem 1.5rem;
    text-align: center;
    font-style: italic;
    color: #555;
}

/* Spinner Styles */
.bhp-spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}
.bhp-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: transparent;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}