/* Blog Page Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #692465 0%, #5a1e56 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.blog-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blog-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.blog-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* Blog Posts Grid */
.blog-posts {
    padding: 80px 0;
    background: #f8f9fa;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Blog Post Cards */
.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(105, 36, 101, 0.15);
}

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

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

.blog-post:hover .post-img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(105, 36, 101, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-content {
    padding: 2.5rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-header {
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #692465;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.post-date, .post-read-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-date:before {
    content: '📅';
    font-size: 0.9rem;
}

.post-read-time:before {
    content: '⏱️';
    font-size: 0.9rem;
}

.post-excerpt {
    flex: 1;
    margin-bottom: 2rem;
}

.post-excerpt p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(105, 36, 101, 0.1);
    color: #692465;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.read-more-btn {
    background: #692465;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #5a1e56;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 36, 101, 0.3);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.share-btn {
    color: #692465;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.share-btn:hover {
    background: rgba(105, 36, 101, 0.1);
}

/* Coming Soon Posts */
.blog-post.coming-soon {
    opacity: 0.7;
}

.coming-soon-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.coming-soon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coming-soon-text {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter-btn {
    background: white;
    color: #28a745;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background: #f8f9fa;
}

/* Related Topics */
.related-topics {
    padding: 80px 0;
    background: white;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.topic-card:hover {
    background: white;
    border-color: #692465;
    box-shadow: 0 10px 25px rgba(105, 36, 101, 0.1);
    transform: translateY(-5px);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.topic-card h3 {
    color: #692465;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.topic-card p {
    color: #666;
    line-height: 1.6;
}

/* Individual Blog Post Styles */
.blog-post-single {
    max-width: none;
}

.post-header-section {
    background: linear-gradient(135deg, #692465 0%, #5a1e56 100%);
    color: white;
    padding: 120px 0 60px;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.breadcrumb-current {
    opacity: 1;
}

.post-category-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.post-header .post-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.post-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.post-featured-image {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.featured-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Post Content */
.post-content-section {
    padding: 80px 0;
    background: white;
}

.post-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.post-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.post-intro {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.4rem;
    color: #692465;
    font-weight: 500;
    line-height: 1.7;
    padding: 2rem;
    background: rgba(105, 36, 101, 0.05);
    border-radius: 15px;
    border-right: 4px solid #692465;
}

.post-content h2 {
    font-size: 2.2rem;
    color: #692465;
    margin: 3rem 0 1.5rem;
    font-weight: 600;
}

.post-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2.5rem 0 1rem;
    font-weight: 500;
}

.post-content h4 {
    font-size: 1.4rem;
    color: #692465;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.8rem;
}

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

.post-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

/* Special Content Boxes */
.highlight-box {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2.5rem 0;
    border-right: 4px solid #f39c12;
}

.highlight-box p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.tips-list {
    margin: 2.5rem 0;
}

.tip-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-right: 4px solid #692465;
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(105, 36, 101, 0.1);
}

.tip-item h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.styled-list {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.styled-list li {
    margin-bottom: 1rem;
}

.cta-box {
    background: linear-gradient(135deg, #692465 0%, #5a1e56 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #692465;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.conclusion {
    font-size: 1.3rem;
    color: #692465;
    font-weight: 500;
    padding: 2rem;
    background: rgba(105, 36, 101, 0.05);
    border-radius: 15px;
    border-right: 4px solid #692465;
    margin: 3rem 0;
}

/* Post Sharing and Tags */
.post-share-section, .post-tags-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.post-share-section h3, .post-tags-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #692465;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-buttons .share-btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.copy {
    background: #6c757d;
    color: white;
}

.share-buttons .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Related Posts */
.related-posts {
    background: #f8f9fa;
    padding: 60px 0;
}

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

.related-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.related-post-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.related-post-date {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }

    .blog-subtitle {
        font-size: 1.4rem;
    }

    .blog-description {
        font-size: 1.1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 2rem 1.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .topic-card {
        padding: 2rem 1.5rem;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-description {
        font-size: 1.1rem;
    }

    /* Single Post Mobile */
    .post-header .post-title {
        font-size: 2.5rem;
    }

    .featured-img {
        height: 250px;
    }

    .post-content {
        font-size: 1.1rem;
    }

    .post-content h2 {
        font-size: 1.8rem;
    }

    .post-content h3 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .highlight-box, .tip-item, .styled-list, .cta-box {
        padding: 1.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-buttons .share-btn {
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .blog-hero {
        padding: 80px 0 60px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .post-header-section {
        padding: 100px 0 40px;
    }

    .post-header .post-title {
        font-size: 2rem;
    }

    .post-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cta-box {
        padding: 2rem 1rem;
    }

    .conclusion {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}