/* Single Post Styles */

.single-article {
    background: #ffffff;
}

/* Article Hero Header */
.article-hero {
    background: #ffffff;
    padding: 60px 0 40px;
    border-bottom: none;
}

.article-hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.article-breadcrumb {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.breadcrumb-cat {
    display: inline-block;
    background: #fef9c3;
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumb-cat:hover {
    background: #fec202;
    color: #1a1a1a;
}

.article-hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -0.04em;
    color: #1a1a1a;
    position: relative;
    text-align: center;
}

@media (max-width: 768px) {
    .article-hero-title {
        font-size: 2.5rem;
    }
}

.article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    margin-top: -25px;
}

.meta-details-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.meta-separator {
    color: #cbd5e0;
    font-size: 0.7rem;
}

.read-time {
    color: #718096;
}

.article-share {
    display: none;
    /* Vou remover daqui para não poluir o detalhe, já temos na lateral */
}

/* Featured Image */
.article-featured-image {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.article-featured-image img {
    width: 100%;
    height: 675px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .article-featured-image img {
        height: 400px;
    }
}

.image-caption {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
    text-align: center;
}

/* Article Content Grid */
.article-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
}

@media (max-width: 1200px) {
    .article-content-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar-left {
        display: none;
    }
}

/* Left Sidebar - Social Share */
.article-sidebar-left {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.social-share-sticky {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a5568;
}

.social-icon:hover {
    background: #fec202;
    border-color: #fec202;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Main Content */
.article-main-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-body {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-body p {
    margin-bottom: 28px;
}

.article-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 50px 0 25px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.article-body h3 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 40px 0 20px;
    color: #1a1a1a;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body blockquote {
    border-left: 4px solid #fec202;
    padding-left: 25px;
    margin: 35px 0;
    font-size: 1.3rem;
    font-style: italic;
    color: #4a5568;
}

.article-body img {
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin: 40px auto;
    display: block;
}

@media (max-width: 768px) {
    .article-body img {
        height: 350px;
    }
}

.article-body figure {
    margin: 40px 0;
    text-align: center;
}

.article-body figure img {
    margin: 0 auto;
}

.article-body figcaption {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

/* Animated Highlight */
.animated-highlight {
    background: linear-gradient(to right, rgba(254, 194, 2, 0.4) 0%, rgba(254, 194, 2, 0.4) 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-size 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: inherit;
    display: inline;
}

.animated-highlight.is-active {
    background-size: 100% 100%;
}

/* Author Box at the End */
.post-author-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0 40px;
}

.author-box-content {
    display: flex;
    gap: 300px;
    /* Placeholder to find where to put actual gap */
    gap: 30px;
    align-items: flex-start;
}

@media (max-width: 600px) {
    .author-box-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

.author-box-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fec202;
    padding: 3px;
    background: #fff;
    object-fit: cover;
}

.author-box-info {
    flex: 1;
}

.author-box-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #fec202;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.author-box-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.author-box-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 15px;
}

.author-website {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #fec202;
    transition: all 0.2s ease;
}

.author-website:hover {
    background: #fec202;
}

/* Tags */
.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.article-tags a {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 5px 5px 5px 0;
    transition: all 0.2s ease;
}

.article-tags a:hover {
    background: #fec202;
    color: #1a1a1a;
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e2e8f0;
}

.related-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.related-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.related-thumb {
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.related-card:hover .related-thumb img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.related-date {
    font-size: 0.85rem;
    color: #718096;
}

/* Comments Section */
.comments-area {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #e2e8f0;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #edf2f7;
}

@media (max-width: 600px) {
    .comment-body {
        flex-direction: column;
    }
}

.comment-author img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-meta {
    margin-bottom: 10px;
}

.fn {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-style: normal;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #718096;
}

.comment-content {
    line-height: 1.6;
    color: #4a5568;
}

.reply {
    margin-top: 15px;
}

.comment-reply-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fec202;
    text-transform: uppercase;
}

/* Comment Form */
.comment-respond {
    background: #f7fafc;
    padding: 40px;
    border-radius: 12px;
    margin-top: 60px;
}

@media (max-width: 600px) {
    .comment-respond {
        padding: 25px;
    }
}

.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a5568;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #fec202;
    box-shadow: 0 0 0 3px rgba(254, 194, 2, 0.1);
}

.submit {
    background: #1a1a1a;
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit:hover {
    background: #fec202;
    color: #1a1a1a;
    transform: translateY(-2px);
}