/* Blog Post Specific Styles */

/* Logo link styling */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    opacity: 0.8;
}

/* Breadcrumb */
.breadcrumb {
    padding: 120px 0 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

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

/* Blog Post Page Layout */
.blog-post-page {
    background: var(--bg-white);
    min-height: 100vh;
}

.blog-post-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.post-category {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.post-category.personal-story {
    background: #06b6d4;
}

.post-category.technique {
    background: #8b5cf6;
}

.post-category.money-mindset {
    background: #f59e0b;
}

.post-category.relationships {
    background: #ec4899;
}

.post-category.science {
    background: #22c55e;
}

.post-category.deep-dive {
    background: #6366f1;
}

.post-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.read-time {
    color: var(--text-lighter);
    font-size: 0.9rem;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.author-details {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-bio {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    text-decoration: underline;
}

/* Featured Image */
.featured-image {
    margin: 3rem 0;
    text-align: center;
}

.featured-image .image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    margin-bottom: 1rem;
    animation: gentleGlow 3s ease-in-out infinite alternate;
}

.image-caption {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content .lead {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2.5rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

/* Quote Styles */
.quote {
    background: var(--bg-gray-50);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.quote p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.quote cite {
    font-weight: 600;
    color: var(--text-medium);
    font-style: normal;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    border-radius: 12px 12px 0 0;
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #0c4a6e;
}

.practice-box {
    background: linear-gradient(135deg, #fefce8, #fef3c7);
    border: 1px solid #eab308;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.practice-box h3 {
    margin-top: 0;
    color: #92400e;
}

/* Affiliate Links */
.affiliate-link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.affiliate-link:hover {
    color: var(--secondary-color);
}

.affiliate-disclosure {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.affiliate-disclosure p {
    margin: 0;
    color: #92400e;
}

/* Related Posts */
.related-posts {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

.related-posts h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.related-image {
    width: 60px;
    height: 60px;
    background: var(--bg-gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.related-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Comments Section */
.comments-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid var(--border-color);
    background: var(--bg-gray-50);
    border-radius: 15px;
    padding: 3rem 2rem;
}

.comments-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.comments-intro {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.comment-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-page .container {
        padding: 0 15px;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .featured-image .image-placeholder {
        height: 200px;
        font-size: 3rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-content .lead {
        font-size: 1.1rem;
    }
    
    .post-content h2 {
        font-size: 1.6rem;
    }
    
    .related-post {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 100px 0 15px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quote {
        padding: 1.5rem;
    }
    
    .highlight-box,
    .practice-box {
        padding: 1.5rem;
    }
    
    .comments-section {
        padding: 2rem 1rem;
    }
}

/* ===================================
   MOBILE RESPONSIVE - BLOG POSTS
   =================================== */

/* Mobile Blog Post Layout */
@media (max-width: 768px) {
    .blog-post-page .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }
    
    /* Mobile Breadcrumb */
    .breadcrumb {
        padding: 100px 0 var(--space-md);
        font-size: var(--text-sm);
        text-align: left;
    }
    
    /* Mobile Post Header */
    .post-header {
        text-align: left;
        margin-bottom: var(--space-xl);
        padding-bottom: var(--space-lg);
    }
    
    .post-meta {
        justify-content: flex-start;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }
    
    .post-category {
        padding: 0.3rem 0.8rem;
        font-size: var(--text-xs);
    }
    
    .post-date,
    .read-time {
        font-size: var(--text-sm);
    }
    
    .post-title {
        font-size: var(--text-3xl);
        line-height: 1.2;
        margin-bottom: var(--space-lg);
        text-align: left;
    }
    
    /* Mobile Author Info */
    .author-info {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: var(--space-md);
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: var(--text-lg);
        flex-shrink: 0;
    }
    
    .author-details {
        flex: 1;
    }
    
    .author-name {
        font-size: var(--text-lg);
        margin-bottom: 2px;
    }
    
    .author-bio {
        font-size: var(--text-sm);
        margin-bottom: var(--space-xs);
    }
    
    .author-social {
        gap: var(--space-sm);
    }
    
    .social-link {
        font-size: var(--text-sm);
    }
    
    /* Mobile Featured Image */
    .featured-image {
        margin: var(--space-xl) 0;
        border-radius: 12px;
    }
    
    .image-placeholder {
        height: 200px;
        font-size: 3rem;
    }
    
    .image-caption {
        font-size: var(--text-sm);
        padding: var(--space-sm);
    }
    
    /* Mobile Post Content */
    .post-content {
        font-size: var(--text-base);
        line-height: 1.7;
    }
    
    .post-content .lead {
        font-size: var(--text-lg);
        line-height: 1.6;
        margin-bottom: var(--space-lg);
    }
    
    .post-content h2 {
        font-size: var(--text-2xl);
        margin: var(--space-2xl) 0 var(--space-lg);
        line-height: 1.3;
    }
    
    .post-content h3 {
        font-size: var(--text-xl);
        margin: var(--space-xl) 0 var(--space-md);
    }
    
    .post-content p {
        margin-bottom: var(--space-lg);
        line-height: 1.7;
    }
    
    .post-content ul,
    .post-content ol {
        margin-bottom: var(--space-lg);
        padding-left: var(--space-lg);
    }
    
    .post-content li {
        margin-bottom: var(--space-sm);
        line-height: 1.6;
    }
    
    /* Mobile Practice Boxes */
    .practice-box,
    .highlight-box {
        margin: var(--space-xl) 0;
        padding: var(--space-lg);
        border-radius: 12px;
    }
    
    .practice-box h3,
    .highlight-box h3 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-md);
    }
    
    .practice-box p,
    .highlight-box p {
        font-size: var(--text-base);
        margin-bottom: var(--space-sm);
    }
    
    .practice-box ul,
    .practice-box ol {
        margin-bottom: var(--space-md);
        padding-left: var(--space-md);
    }
    
    /* Mobile Quotes */
    .post-content blockquote,
    .quote {
        margin: var(--space-xl) 0;
        padding: var(--space-lg);
        border-left: 4px solid var(--primary-color);
        font-size: var(--text-lg);
        line-height: 1.6;
    }
    
    .quote cite {
        font-size: var(--text-base);
        margin-top: var(--space-sm);
    }
    
    /* Mobile Related Posts */
    .related-posts {
        margin: var(--space-2xl) 0;
        padding: var(--space-xl) 0;
    }
    
    .related-posts h3 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-lg);
        text-align: center;
    }
    
    .related-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .related-post {
        display: flex;
        gap: var(--space-md);
        padding: var(--space-lg);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }
    
    .related-post:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }
    
    .related-image {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        background: var(--bg-gray-100);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
    }
    
    .related-content h4 {
        font-size: var(--text-lg);
        margin-bottom: var(--space-xs);
        line-height: 1.4;
    }
    
    .related-content p {
        font-size: var(--text-sm);
        color: var(--text-light);
        line-height: 1.5;
        margin: 0;
    }
    
    /* Mobile Affiliate Disclosure */
    .affiliate-disclosure {
        margin: var(--space-xl) 0;
        padding: var(--space-md);
        font-size: var(--text-sm);
        border-radius: 8px;
    }
    
    /* Mobile Affiliate Links */
    .affiliate-link {
        color: var(--primary-color);
        text-decoration: underline;
        font-weight: 500;
        word-break: break-word;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .blog-post-page .container {
        padding: 0 var(--space-sm);
    }
    
    .breadcrumb {
        padding: 90px 0 var(--space-sm);
        font-size: var(--text-xs);
    }
    
    .post-title {
        font-size: var(--text-2xl);
        line-height: 1.2;
    }
    
    .post-content .lead {
        font-size: var(--text-base);
    }
    
    .post-content h2 {
        font-size: var(--text-xl);
        margin: var(--space-xl) 0 var(--space-md);
    }
    
    .post-content h3 {
        font-size: var(--text-lg);
        margin: var(--space-lg) 0 var(--space-sm);
    }
    
    .practice-box,
    .highlight-box {
        padding: var(--space-md);
        margin: var(--space-lg) 0;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: var(--space-sm);
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }
    
    .related-post {
        padding: var(--space-md);
        gap: var(--space-sm);
    }
    
    .related-image {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .related-content h4 {
        font-size: var(--text-base);
    }
    
    .related-content p {
        font-size: var(--text-xs);
    }
}

/* Touch Optimization for Blog Posts */
@media (hover: none) and (pointer: coarse) {
    .related-post:hover {
        transform: none;
    }
    
    .related-post:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .affiliate-link {
        padding: var(--space-xs) 0;
        margin: -var(--space-xs) 0;
    }
    
    /* Larger touch targets for links */
    .author-social .social-link {
        padding: var(--space-xs) var(--space-sm);
        margin: -var(--space-xs) -var(--space-sm);
    }
}
