/* Post styles - Gen Z Edition */

.post {
    margin: 40px 0 60px;
}

/* Breadcrumb */
.post__breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb__item {
    position: relative;
    padding-right: 25px;
    margin-right: 15px;
    font-size: 1.4rem;
    color: var(--text-light);
}

.breadcrumb__item:not(:last-child)::after {
    content: '>';
    position: absolute;
    right: 0;
    color: var(--text-lighter);
}

.breadcrumb__link {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb__link:hover {
    color: var(--primary-color);
}

.breadcrumb__item--active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Post wrapper */
.post__wrapper {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    overflow: hidden;
}

/* Post header */
.post__header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.post__title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.3;
}

.post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 1.4rem;
    color: var(--text-light);
}

.post__date, 
.post__author, 
.post__views {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post__meta i {
    color: var(--primary-color);
}

/* Post content */
.post__content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
}

.post__intro {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 500;
}

.post__intro-list {
    padding-left: 20px;
    margin-top: 15px;
    font-weight: 500;
}

.post__intro-list li {
    margin-bottom: 5px;
}

.post__section {
    margin-bottom: 40px;
}

.post__section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.post__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-pill);
}

.post__section-content {
    padding-left: 15px;
}

.post__warning {
    background-color: rgba(255, 87, 34, 0.1);
    border-left: 4px solid #ff5722;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: var(--border-radius-md);
}

.post__warning p {
    font-weight: 600;
    margin: 0;
    color: #e64a19;
}

.post__step {
    margin-bottom: 30px;
}

.post__step-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.post__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
    font-weight: 600;
}

.post__link:hover {
    color: var(--accent-dark);
}

.post__image {
    margin: 20px 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;

}


.post__notes {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    margin: 30px 0;
}

.post__notes-list {
    list-style-type: disc;
    padding-left: 20px;
}

.post__notes-item {
    margin-bottom: 10px;
}

.post__notes-item:last-child {
    margin-bottom: 0;
}

.post__conclusion {
    margin: 30px 0;
    text-align: center;
}

.post__success-message {
    background: linear-gradient(to right, #1e88e5, #4527a0);
    color: white;
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 1px;
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

/* Post share */
.post__share {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post__share-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.post__share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post__share-button {
    padding: 10px 20px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    color: white;
}

.post__share-button--facebook {
    background-color: #3b5998;
}

.post__share-button--twitter {
    background-color: #1da1f2;
}

.post__share-button--copy {
    background-color: #666;
}

.post__share-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: white;
}

/* Related posts */
.post__related {
    margin-top: 40px;
}

.post__related-title {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.post__related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-pill);
}

.post__related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post__related-item {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.post__related-item:hover {
    background-color: var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.post__related-image {
    width: 100px;
    height: 70px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.post__related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post__related-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.post__related-name {
    font-size: 1.5rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.post__related-date {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* Responsive styles */
@media (max-width: 992px) {
    .post__title {
        font-size: 2.8rem;
    }
    
    .post__wrapper {
        padding: 30px;
    }
    
    .post__success-message {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .post__meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post__wrapper {
        padding: 20px;
    }
    
    .post__title {
        font-size: 2.4rem;
    }
    
    .post__intro {
        font-size: 1.6rem;
    }
    
    .post__section-title {
        font-size: 2rem;
    }
    
    .post__related-list {
        grid-template-columns: 1fr;
    }
    
    .post__warning {
        padding: 12px 15px;
    }
    
    .post__success-message {
        font-size: 1.4rem;
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .post__share-buttons {
        flex-direction: column;
    }
    
    .post__share-button {
        width: 100%;
        justify-content: center;
    }
    
    .breadcrumb {
        font-size: 1.2rem;
    }
    
    .post__title {
        font-size: 2.2rem;
    }
    
    .post__intro-list {
        padding-left: 15px;
    }
    
    .post__section-content {
        padding-left: 5px;
    }
    
    .post__warning p {
        font-size: 1.4rem;
    }
    
    .post__success-message {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
        padding: 10px;
    }
} 