/* Container for horizontal scrolling */
.wpb-bookmarked-posts-container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 16px 0;
    scroll-snap-type: x mandatory;
}

/* Card styling for each bookmarked post */
.wpb-bookmarked-post-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 280px;
    max-width: 320px;
    margin: 0 8px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

/* Image styling within the card */
.wpb-bookmarked-post-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #e0e0e0;
}

/* Content area within the card */
.wpb-card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title styling */
.wpb-card-content h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 500;
    color: #333333;
}

/* Link styling */
.wpb-card-content a {
    text-decoration: none;
    color: #1e88e5;
}

.wpb-card-content a:hover {
    text-decoration: underline;
}

/* Remove button styling */
.wpb-remove-bookmark-btn {
    align-self: flex-start;
    background-color: #ff1744;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.wpb-remove-bookmark-btn:hover {
    background-color: #d50000;
}
