/* =====================================================
   BLOG PÚBLICO
===================================================== */

.blog-public-page,
.blog-detail-page {
    background: #f7f8fb;
}

.blog-page-description {
    max-width: 720px;
    margin: 18px auto 0;
    color: #707687;
    line-height: 1.65;
}

.blog-category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -18px 0 48px;
}

.blog-category-filter a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid #e1e5ec;
    border-radius: 999px;
    color: #626b7a;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.blog-category-filter a span {
    min-width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    background: #f0f2f6;
    font-size: 11px;
}

.blog-category-filter a:hover,
.blog-category-filter a.active {
    color: #ffffff;
    background: #00a65a;
    border-color: #00a65a;
    transform: translateY(-1px);
}

.blog-category-filter a:hover span,
.blog-category-filter a.active span {
    background: rgba(255, 255, 255, .18);
}

.blog-featured-post {
    margin-bottom: 55px;
    overflow: hidden;
}

.blog-featured-post .blog-post-img,
.blog-featured-post .hover-overlay,
.blog-featured-post .hover-overlay > a:first-child,
.blog-featured-post .hover-overlay img {
    width: 100%;
    height: 100%;
}

.blog-featured-post .hover-overlay img {
    min-height: 430px;
    object-fit: cover;
}

.blog-featured-post .blog-post-txt {
    padding: 38px 38px 38px 12px;
}

.blog-card-media {
    position: relative;
}

.blog-card-media .hover-overlay {
    position: relative;
    overflow: hidden;
}

.blog-card-media img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.blog-video-button {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #ffffff !important;
    background: #00a65a;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease;
}

.blog-video-button:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: #087b48;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #00a65a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.blog-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.blog-grid-card {
    overflow: hidden;
}

.blog-grid-card .blog-post-img img {
    height: 330px;
}

.blog-grid-card .blog-post-txt {
    padding: 24px 24px 28px;
}

.blog-grid-card .post-meta {
    margin-bottom: 10px;
}

.blog-grid-card .post-meta p,
.blog-featured-post .post-meta p {
    margin-bottom: 0;
    color: #7b8290;
    font-size: 14px !important;
}

.blog-card-summary {
    display: -webkit-box;
    margin-top: 13px;
    overflow: hidden;
    color: #6a7180;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-empty-state {
    margin-top: 35px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.blog-empty-state a {
    color: #00a65a;
    font-weight: 700;
}

.blog-single-header {
    padding-bottom: 34px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.blog-detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-detail-categories a {
    padding: 7px 12px;
    border-radius: 999px;
    color: #087b48;
    background: #e7f8ef;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.blog-detail-date {
    color: #777e8d;
    font-size: 15px;
}

.blog-detail-summary {
    max-width: 880px;
    margin-top: 25px;
    color: #606878;
    line-height: 1.7;
}

.blog-single-content {
    padding-top: 45px;
}

.blog-main-media {
    margin-top: 0 !important;
    margin-bottom: 50px;
}

.blog-content-section {
    margin: 0 0 42px;
}

.blog-content-section > h2 {
    margin-bottom: 18px;
}

.blog-rich-content {
    color: #525a69;
    line-height: 1.78;
}

.blog-rich-content p {
    margin-bottom: 22px;
    font-size: 18px;
    line-height: 1.78;
}

.blog-rich-content ul,
.blog-rich-content ol {
    margin: 0 0 24px;
    padding-left: 26px;
}

.blog-rich-content li {
    margin-bottom: 10px;
}

.blog-rich-content blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 4px solid #00a65a;
    border-radius: 0 10px 10px 0;
    background: #f2f8f5;
}

.blog-rich-content a {
    color: #008c4c;
    text-decoration: underline;
}

.blog-detail-gallery img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.blog-share-footer {
    margin-top: 55px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.blog-whatsapp-share {
    white-space: nowrap;
}

.blog-related-section .blog-post-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-related-card .blog-post-txt {
    padding-top: 20px;
}

.page-pagination.theme--green .page-item.active .page-link {
    color: #ffffff;
    background: #00a65a;
    border-color: #00a65a;
}

@media (max-width: 991px) {
    .blog-grid-card .blog-post-img img {
        height: 270px;
    }

    .blog-featured-post .blog-post-txt {
        padding: 30px;
    }

    .blog-featured-post .hover-overlay img {
        min-height: 330px;
    }
}

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

    .blog-grid-card .blog-post-img img {
        height: 230px;
    }

    .blog-empty-state,
    .blog-share-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-share-footer .post-share-list {
        margin-top: 18px;
        text-align: left !important;
    }

    .blog-detail-gallery .top-img {
        margin-bottom: 18px;
    }

    .blog-detail-gallery img {
        height: 250px;
    }
}
