/* Blog Single Post Styles */
.blog-detail-section {
    padding: 100px 0;
    background: #fff;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--logisko-text);
    font-size: 14px;
}

.post-meta-item i {
    color: var(--logisko-red);
}

/* Post Content Styles */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--logisko-text);
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--logisko-dark);
    margin: 30px 0 15px 0;
    font-weight: 700;
}

.post-content h2 {
    font-size: 28px;
}

.post-content h3 {
    font-size: 24px;
}

.post-content h4 {
    font-size: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content a {
    color: var(--logisko-red);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--logisko-blue);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content blockquote {
    background: #f8f8f8;
    border-left: 4px solid var(--logisko-red);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--logisko-dark);
}

/* Post Tags */
.post-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.post-tags h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--logisko-dark);
}

.post-tags>div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags .tag-item {
    background: #f5f5f5;
    color: var(--logisko-text);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags .tag-item:hover {
    background: var(--logisko-red);
    color: #fff;
}

/* Post Navigation */
.post-navigation {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-post {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.nav-post span {
    color: var(--logisko-red);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.nav-post h4 {
    color: var(--logisko-dark);
    font-size: 16px;
    margin: 0;
}

.nav-post:hover {
    background: var(--logisko-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(223, 17, 25, 0.2);
}

.nav-post:hover span,
.nav-post:hover h4 {
    color: #fff !important;
}

.nav-next {
    text-align: right;
}

/* Post Comments */
.post-comments {
    margin-top: 60px;
}

/* Comments Section */
.post-comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--logisko-dark);
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f8f8;
    border-radius: 8px;
}

.comment-author {
    font-weight: 700;
    color: var(--logisko-dark);
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: var(--logisko-text);
    margin-bottom: 15px;
}

.comment-content p {
    margin: 0;
    line-height: 1.6;
}

.comment-reply-link {
    color: var(--logisko-red);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

.comment-reply-link:hover {
    color: var(--logisko-blue);
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--logisko-dark);
    margin-bottom: 25px;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin: 0;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--logisko-dark);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--logisko-red);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin: 0;
}

.submit {
    background: var(--logisko-red);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    background: var(--logisko-blue);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-detail-section {
        padding: 60px 0;
    }

    .post-content {
        font-size: 15px;
    }

    .post-content h2 {
        font-size: 24px;
    }

    .post-content h3 {
        font-size: 20px;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* Sidebar Styles */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--logisko-dark);
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--logisko-red);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--logisko-red);
}

.search-form button {
    background: var(--logisko-red);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: var(--logisko-blue);
}

/* Widget List */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list a {
    color: var(--logisko-text);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.widget-list a:hover {
    color: var(--logisko-red);
    padding-left: 10px;
}

.widget-list a i {
    font-size: 10px;
    color: var(--logisko-red);
    margin-right: 10px;
}

.widget-list .count {
    color: var(--logisko-text);
    font-size: 12px;
    opacity: 0.7;
}

/* Recent Posts Widget */
.widget-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.widget-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-thumb:hover img {
    transform: scale(1.1);
}

.widget-post-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.widget-post-content h4 a {
    color: var(--logisko-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-post-content h4 a:hover {
    color: var(--logisko-red);
}

.widget-post-date {
    font-size: 12px;
    color: var(--logisko-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.widget-post-date i {
    color: var(--logisko-red);
}

/* Tags Widget */
.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.widget-tags .tag-item {
    background: #f5f5f5;
    color: var(--logisko-text);
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget-tags .tag-item:hover {
    background: var(--logisko-red);
    color: #fff;
}