/* Fokus Load More Posts System */
.fokus-loadmore-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.fokus-loadmore-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Category Title */
.fokus-category-title {
    margin-bottom: 30px;
}

.fokus-category-heading {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
}

/* Posts List */
.fokus-posts-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.fokus-post-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fokus-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Thumbnail */
.fokus-post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.fokus-thumbnail-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.fokus-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fokus-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fokus-thumbnail-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Post Content */
.fokus-post-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Category */
.fokus-post-category {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    align-self: flex-start;
}

/* Title */
.fokus-post-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #000;
}

.fokus-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fokus-title-link:hover {
    color: #0073aa;
}

/* Excerpt */
.fokus-post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.fokus-excerpt-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fokus-excerpt-link:hover {
    color: #0073aa;
}

/* Separator */
.fokus-post-separator {
    margin: 20px 0;
}

.fokus-separator-line {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #e0e0e0 10%, 
        #e0e0e0 90%, 
        transparent 100%);
    margin: 0;
}

/* Meta Info */
.fokus-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

/* Author Info */
.fokus-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fokus-author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.fokus-author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fokus-author-details {
    display: flex;
    flex-direction: column;
}

.fokus-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 2px;
}

.fokus-post-date {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Post Number */
.fokus-post-number {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    opacity: 0.8;
}

/* Load More Footer */
.fokus-loadmore-footer {
    text-align: center;
    margin-top: 30px;
}

.fokus-loadmore-button {
    background: transparent;
    color: #686671;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
}

/*.fokus-loadmore-button:hover:not(:disabled) {*/
/*    background: #000;*/
/*    color: #fff;*/
/*    transform: translateY(-2px);*/
/*    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
/*}*/

.fokus-loadmore-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fokus-loadmore-button.loading {
    opacity: 0.7;
}

/* Loading Spinner */
.fokus-loading-spinner {
    display: inline-flex;
    align-items: center;
}

.fokus-loading-spinner svg {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* No Posts Message */
.fokus-no-posts {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fokus-loadmore-wrapper {
        padding: 20px 15px;
    }
    
    .fokus-category-heading {
        font-size: 24px;
    }
    
    .fokus-posts-list {
        grid-template-columns: 2fr;
        gap: 30px;
    }
    
    .fokus-post-content {
        padding: 20px;
    }
    
    .fokus-post-title {
        font-size: 18px;
    }
    
    .fokus-post-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .fokus-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .fokus-post-number {
        align-self: flex-end;
        margin-top: 10px;
    }
}