/* ============================================
   Blog Post Page Styles
   ============================================ */

/* Blog Post Hero */
.blog-post-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.blog-post-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease;
}

.blog-post-category {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--dark-bg);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-family: 'Padauk', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.blog-post-title {
    font-size: 52px;
    font-family: 'Padauk', sans-serif;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 16px;
    font-family: 'Padauk', sans-serif;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

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

.blog-post-meta i {
    color: var(--primary-gold);
}

/* Blog Post Container */
.blog-post-container {
    max-width: 900px;
    margin: -80px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 3;
}

.blog-post-content {
    background: var(--dark-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Featured Image */
.blog-post-featured-image {
    position: relative;
    overflow: hidden;
}

.blog-post-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-featured-image:hover img {
    transform: scale(1.02);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
}

/* Article Body */
.article-body {
    padding: 50px;
    font-family: 'Padauk', sans-serif;
}

.lead-paragraph {
    font-size: 21px;
    font-family: 'Padauk', sans-serif;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--primary-gold);
}

.article-body h2 {
    font-size: 30px;
    font-family: 'Padauk', sans-serif;
    color: var(--primary-gold);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    line-height: 1.4;
}

.article-body p {
    font-size: 18px;
    font-family: 'Padauk', sans-serif;
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 25px;
}

.article-body strong {
    color: var(--primary-gold);
}

/* Quote Block */
.quote-block {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(128, 0, 32, 0.1) 100%);
    border-left: 5px solid var(--primary-gold);
    border-radius: 0 15px 15px 0;
    padding: 30px 35px;
    margin: 35px 0;
    position: relative;
}

.quote-block i {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: var(--primary-gold);
    opacity: 0.3;
}

.quote-block blockquote {
    font-size: 20px;
    font-family: 'Padauk', sans-serif;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.9;
    margin: 0;
    padding-left: 30px;
}

/* Info Box */
.info-box, .warning-box, .highlight-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    align-items: flex-start;
}

.info-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.warning-box {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.highlight-box {
    background: rgba(128, 0, 32, 0.15);
    border: 1px solid rgba(128, 0, 32, 0.3);
}

.info-box-icon, .warning-box-icon, .highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box-icon {
    background: var(--gradient-gold);
}

.warning-box-icon {
    background: var(--gradient-saffron);
}

.highlight-icon {
    background: var(--gradient-maroon);
}

.info-box-icon i, .warning-box-icon i, .highlight-icon i {
    font-size: 22px;
    color: var(--dark-bg);
}

.info-box-content h4, .warning-box-content h4, .highlight-content h4 {
    font-size: 18px;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.info-box-content p, .warning-box-content p, .highlight-content p {
    font-size: 15px;
    margin: 0;
    color: var(--text-light);
}

/* Article Image */
.article-image {
    margin: 35px 0;
    border-radius: 15px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.article-image figcaption {
    background: rgba(0,0,0,0.5);
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Styled List */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.styled-list li {
    padding: 15px 20px 15px 50px;
    margin-bottom: 10px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 10px;
    position: relative;
    font-size: 16px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.styled-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.styled-list li::before {
    content: '☸';
    position: absolute;
    left: 18px;
    color: var(--primary-gold);
    font-size: 16px;
}

/* Goals Section for Blog */
.goals-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.goal-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.goal-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-bg);
    flex-shrink: 0;
}

.goal-content h4 {
    font-size: 16px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.goal-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .goals-section {
        grid-template-columns: 1fr;
    }
}

/* Mini Timeline */
.timeline-mini {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    padding: 30px;
    margin: 35px 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.timeline-mini-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    align-items: center;
}

.timeline-mini-item:last-child {
    border-bottom: none;
}

.timeline-mini-date {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 130px;
    text-align: center;
}

.timeline-mini-item p {
    margin: 0;
    font-size: 15px;
    color: var(--text-light);
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.tag-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-right: 10px;
}

.article-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

/* Share Section */
.share-section {
    padding: 30px 50px;
    background: rgba(212, 175, 55, 0.05);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.share-section h4 {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.telegram { background: #0088cc; }
.share-btn.whatsapp { background: #25d366; }

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    padding: 30px 50px;
    background: rgba(26, 26, 26, 0.5);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 40px 50px;
    background: var(--darker-bg);
}

.related-posts h3 {
    font-size: 24px;
    color: var(--primary-gold);
    margin-bottom: 25px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-post-card {
    background: var(--dark-bg);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.related-post-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.related-post-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover img {
    transform: scale(1.1);
}

.related-post-card h4 {
    padding: 15px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Back to Blog */
.back-to-blog {
    text-align: center;
    padding: 40px 20px 80px;
}

.back-to-blog .btn {
    gap: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 32px;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-body {
        padding: 30px 20px;
    }
    
    .article-body h2 {
        font-size: 22px;
    }
    
    .lead-paragraph {
        font-size: 17px;
    }
    
    .blog-post-featured-image img {
        height: 250px;
    }
    
    .quote-block {
        padding: 20px;
    }
    
    .quote-block blockquote {
        padding-left: 0;
        font-size: 16px;
    }
    
    .info-box, .warning-box, .highlight-box {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-mini-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .share-section, .author-box, .related-posts {
        padding: 25px 20px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 26px;
    }
    
    .article-body {
        padding: 25px 15px;
    }
    
    .styled-list li {
        padding-left: 40px;
    }
}
