.feed-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    font-family: 'Abel', sans-serif;
}

.feed-post {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

body.dark-theme .feed-post {
    background-color: rgba(30, 30, 30, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.feed-post h2 {
    margin-top: 0;
    color: #1a1a1a;
    font-family: "Sofia", cursive;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

body.dark-theme .feed-post h2 {
    color: #ff7f50;
}

.feed-post p {
    font-size: 1.1rem;
    line-height: 1.6;
    white-space: pre-wrap;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}

body.dark-theme .post-meta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.post-meta a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
    opacity: 1;
}

body.dark-theme .post-meta a {
    color: #ddd;
    text-decoration: none;
}

.post-meta a:hover {
    color: #007bff;
}

body.dark-theme .post-meta a:hover {
    color: #ff9900;
}

#load-more-posts-btn {
    display: block;
    margin: 20px auto;
}

.skeleton-post {
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skeleton-placeholder {
    border-radius: 5px;
    animation: shimmer 1.5s infinite linear;
}

.light-theme .skeleton-post {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.light-theme .skeleton-placeholder {
    background-color: rgba(0, 0, 0, 0.08);
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.08) 100%);
    background-size: 200% 100%;
}

.dark-theme .skeleton-post {
    background-color: rgba(30, 30, 30, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-theme .skeleton-placeholder {
    background-color: rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 100%;
}

.skeleton-title {
    height: 28px;
    width: 60%;
}

.skeleton-line {
    height: 16px;
    width: 100%;
}

.skeleton-line:last-child {
    width: 75%;
}

.skeleton-meta {
    height: 12px;
    width: 40%;
    margin-top: 10px;
}

.skeleton-appended {}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
