/**
 * Simple Bluesky Feed Styles
 */

/* Container Styles */
.simple-bluesky-feed {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Theme Styles */
.simple-bluesky-feed.theme-light {
    color: #333;
}

.simple-bluesky-feed.theme-dim {
    color: #eee;
}

.simple-bluesky-feed.theme-dark {
    color: #fff;
}

/* Layout Styles */
.bluesky-feed-list .bluesky-post {
    margin-bottom: 20px;
}

.bluesky-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Post Styles */
.bluesky-post {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.bluesky-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Post Header */
.bluesky-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.bluesky-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.bluesky-author {
    font-weight: 600;
    font-size: 15px;
}

/* Post Content */
.bluesky-post-content {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
}

/* Image Styles */
.bluesky-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.bluesky-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 300px;
    object-fit: cover;
}

/* Link Preview */
.bluesky-link-preview {
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.bluesky-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bluesky-link-image-large, 
.bluesky-gif-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.bluesky-link-info {
    padding: 12px;
}

.bluesky-link-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.bluesky-link-info p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Post Footer */
.bluesky-post-footer {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.bluesky-post-stats {
    display: flex;
    gap: 10px;
}

.bluesky-post-date {
    color: #888;
}

/* Link to original post */
.bluesky-post-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #0085ff;
    font-size: 12px;
    transition: opacity 0.2s;
}

.bluesky-post-link:hover {
    opacity: 0.8;
}

/* Repost indicator */
.bluesky-repost-indicator {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.bluesky-hashtag {
    color: #0085ff;
}

/* Theme: Dim */
.theme-dim .bluesky-post {
    background-color: #1e2732;
    border-color: #2c3644;
}

.theme-dim .bluesky-link-preview {
    border-color: #2c3644;
}

.theme-dim .bluesky-link-info p {
    color: #aaa;
}

.theme-dim .bluesky-post-footer,
.theme-dim .bluesky-repost-indicator,
.theme-dim .bluesky-post-date {
    color: #aaa;
}

/* Theme: Dark */
.theme-dark .bluesky-post {
    background-color: #161616;
    border-color: #333;
}

.theme-dark .bluesky-link-preview {
    border-color: #333;
}

.theme-dark .bluesky-link-info p {
    color: #bbb;
}

.theme-dark .bluesky-post-footer,
.theme-dark .bluesky-repost-indicator,
.theme-dark .bluesky-post-date {
    color: #bbb;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .bluesky-feed-grid {
        grid-template-columns: 1fr;
    }
} 