﻿.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

    .breadcrumb a {
        color: var(--accent-color);
        text-decoration: none;
    }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

.post-header {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.post-hero-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

    .post-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.post-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 40px 30px 30px;
    color: white;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

    .post-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.post-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

    .post-content h2 {
        font-size: 1.8rem;
        color: var(--primary-color);
        margin: 30px 0 15px;
        padding-bottom: 5px;
        border-bottom: 3px solid var(--accent-color);
        display: inline-block;
    }

    .post-content h3 {
        font-size: 1.4rem;
        color: var(--primary-color);
        margin: 25px 0 10px;
    }

    .post-content p {
        margin-bottom: 20px;
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .post-content blockquote {
        background-color: #f8f8f8;
        border-left: 4px solid var(--accent-color);
        padding: 20px 30px;
        margin: 30px 0;
        font-style: italic;
        font-size: 1.1rem;
        color: #555;
    }

    .post-content ul, .post-content ol {
        margin: 20px 0;
        padding-left: 30px;
    }

    .post-content li {
        margin-bottom: 8px;
        font-size: 1.1rem;
    }

.post-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-image {
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .gallery-image:hover img {
        transform: scale(1.05);
    }

.post-tags {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.tags-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .tag:hover {
        background-color: #e68a00;
    }

.post-navigation {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.nav-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-link {
    flex: 1;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

    .nav-link:hover {
        color: var(--accent-color);
    }

    .nav-link.prev {
        text-align: left;
    }

    .nav-link.next {
        text-align: right;
    }

.nav-link-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.nav-link-title {
    font-size: 1rem;
    font-weight: 500;
}

.related-posts {
    padding: 20px;
}

.related-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.related-post {
    display: flex;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

    .related-post:hover {
        color: var(--accent-color);
    }

    .related-post:last-child {
        margin-bottom: 0;
    }

.related-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
}

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.related-info {
    flex: 1;
}

.related-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 3px;
    line-height: 1.3;
}

.related-date {
    font-size: 0.8rem;
    color: #666;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2rem;
    }

    .post-hero-overlay {
        padding: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .post-gallery {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-link.next {
        text-align: left;
    }
}
