

.blog-main {
    background-color: #f8f9fa;
}

.blog-header {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
}




.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1) !important;
}

.blog-card-img-link {
    display: block;
    height: 240px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 240px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

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

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-title a {
    color: #212529;
    text-decoration: none;
}

.blog-card-text {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.blog-card-footer {
    margin-top: auto;
}

.btn-read-more {
    color: var(--color-primary, #e21d8b);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-read-more:hover {
    color: #c01574;
}


.blog-title-xl {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-lead {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

.blog-empty-container {
    text-align: center;
}

.blog-empty-message {
    color: #6c757d;
}



.mb-c1 {
    margin-bottom: 0.5rem;
}

.mb-c2 {
    margin-bottom: 1rem;
}

.mb-c3 {
    margin-bottom: 1.5rem;
}

.mb-c4 {
    margin-bottom: 2rem;
}

.mb-c5 {
    margin-bottom: 3rem;
}

.mt-c4 {
    margin-top: 2rem;
}


.post-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.post-detail-header {
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta span:not(:last-child) {
    margin-right: 1rem;
}

.post-featured-img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .1);
}

.post-content-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.post-content-body h2,
.post-content-body h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.post-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content-body figure {
    margin: 2rem 0;
}

.post-content-body figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.related-posts {
    margin-bottom: 4rem;
}

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

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

    .blog-title-xl {
        font-size: 2.25rem;
    }
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn-share:hover {
    opacity: 0.8;
    color: #fff;
}

.btn-facebook {
    background-color: #1877f2;
}

.btn-x-twitter {
    background-color: #000000;
}

.btn-whatsapp {
    background-color: #25d366;
}

.btn-telegram {
    background-color: #0088cc;
}

.btn-linkedin {
    background-color: #0077b5;
}

@media (max-width: 768px) {
    .blog-card-img-link {
        height: 200px;
    }

    .post-content-body {
        font-size: 1.05rem;
    }
}