/* Blog Styles */

.blog-container {
    padding: 2rem 0 4rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-header h1 i {
    color: var(--primary-pink);
}

.blog-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
}

.blog-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
}

.blog-card-no-image i {
    font-size: 3rem;
    color: var(--primary-pink);
    opacity: 0.5;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.blog-tag {
    background: rgba(247, 85, 154, 0.1);
    color: var(--primary-pink);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.blog-card-meta i {
    margin-right: 0.25rem;
}

.blog-read-more {
    color: var(--primary-pink);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-read-more {
    gap: 0.6rem;
}

/* Blog Empty */
.blog-empty {
    text-align: center;
    padding: 5rem 1rem;
}

.blog-empty i {
    font-size: 5rem;
    color: #ddd;
}

.blog-empty p {
    color: #999;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Blog Article (show page) */
.blog-show-container {
    padding: 2rem 0 4rem;
}

.blog-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.blog-article-image {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
}

.blog-article-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 1.5rem 2rem 0;
}

.blog-article-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    padding: 1rem 2rem 0;
    line-height: 1.3;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}

.blog-article-meta i {
    margin-right: 0.3rem;
}

.blog-article-content {
    padding: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-article-content p {
    margin-bottom: 1.25rem;
}

.blog-article-content ul, .blog-article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.5rem;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

/* Blog Figures */
.blog-figure {
    margin: 1.5rem 0;
    padding: 0;
}

.blog-figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.blog-figure figcaption {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.blog-figure-right {
    float: right;
    max-width: 45%;
    margin: 0.5rem 0 1rem 1.5rem;
}

@media (max-width: 768px) {
    .blog-figure-right {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

.blog-article-content blockquote {
    border-left: 4px solid var(--primary-pink);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #fef3f8;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.blog-cta h3 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.blog-sidebar-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-sidebar-post {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.blog-sidebar-post:last-child {
    border-bottom: none;
}

.blog-sidebar-post:hover {
    opacity: 0.8;
}

.blog-sidebar-post-image {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.blog-sidebar-no-image {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-sidebar-no-image i {
    font-size: 1.2rem;
    color: var(--primary-pink);
    opacity: 0.5;
}

.blog-sidebar-post-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.blog-sidebar-post-info span {
    font-size: 0.75rem;
}

.blog-sidebar-cta {
    background: linear-gradient(135deg, #fce4ec, #f3e5f5);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.blog-sidebar-cta i {
    font-size: 2rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.blog-sidebar-cta h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.blog-sidebar-cta p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-article-title {
        font-size: 1.5rem;
        padding: 1rem 1.5rem 0;
    }
    .blog-article-meta {
        padding: 0.75rem 1.5rem;
    }
    .blog-article-content {
        padding: 1.5rem;
    }
}
