/* Article CSS */

/* Article Layout */
.article-content {
    background-color: var(--white);
    padding: 120px 0 60px;
}


.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Full width layout (brez sidebara) */
.article-layout.full-width {
    grid-template-columns: 1fr;
    margin: 0 auto;
}

/* Article Main */
.article-main {
    background-color: var(--white);
    border-radius: 10px;
}

/* Article Header */
.article-header {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.article-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.article-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.article-date, .article-author, .article-category {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta [data-lucide] {
    width: 16px;
    height: 16px;
}

/* Featured Image */
.article-featured-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 16/9;
    border-radius: 10px;
}

.article-featured-image:hover img {
    transform: scale(1.03);
}

/* Article Body */
.article-body {
    padding: 30px;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
    border-left: 4px solid var(--red);
    padding-left: 20px;
}

.article-body h2 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin: 40px 0 20px;
    position: relative;
}

.article-body h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--medium-gray);
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--medium-gray);
}

.article-body a {
    color: var(--red);
    text-decoration: none;
    transition: color 0.3s ease;
}


/* Article Tip Box */
.article-tip {
    background-color: #f9f9f9;
    border-left: 4px solid var(--red);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.article-tip h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.article-tip h4 [data-lucide] {
    color: var(--red);
}

.article-tip p {
    margin-bottom: 0;
}

/* Article Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.article-share span {
    font-weight: 600;
    color: var(--dark-gray);
}

.share-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.share-link:hover {
    background-color: var(--red);
    color: var(--white);
}

.share-link [data-lucide] {
    width: 18px;
    height: 18px;
    margin: 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.article-tags span {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Author Box */
.article-author-box {
    display: flex;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.article-author-box .author-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--red);
}

.article-author-box .author-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-author-box h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.article-author-box p {
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social .social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--medium-gray);
    transition: all 0.3s ease;
}

.author-social .social-link:hover {
    background-color: var(--red);
    color: var(--white);
}

.author-social .social-link [data-lucide] {
    width: 16px;
    height: 16px;
}

/* Related Articles */
.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
    display: block !important;
    visibility: visible !important;
}

.related-articles h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
    display: block !important;
}

.related-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* Blog Card v povezanih člankih */
.related-articles-grid .blog-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-articles-grid .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-articles-grid .blog-image {
    height: 400px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.related-articles-grid .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-articles-grid .blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.related-articles-grid .blog-content {
    padding: 20px;
    border-radius: 8px;
}

.related-articles-grid .blog-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.related-articles-grid .blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
    line-height: 1.3;
}

.related-articles-grid .blog-content p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.related-articles-grid .blog-link {
    display: inline-flex;
    align-items: center;
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-articles-grid .blog-link:hover {
    color: var(--dark-red);
}

.related-articles-grid .blog-link i {
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .article-content {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        width: 50px;
        height: 50px;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 576px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-intro {
        font-size: 1.1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
    }
    
    .article-share {
        flex-wrap: wrap;
    }
}

/* Kategorija povezava */
.category-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--red);
} 