.fw-bold {
    font-weight: 700 !important;
}

:root {
    --blog-green: #07BEB5;
    --blog-orange: #f5a623;
    --blog-dark: #333;
    --blog-footer-bg: #2d2d2d;
}

body{color: rgb(51, 51, 51);}

body.blog-theme {
    font-family: "Helvetica", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--blog-dark);
    padding-top: 0;
}

/* Header - fundo branco, textos preto */
.blog-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    z-index: 1030;
}

.blog-header-spacer {
    height: 74px;
}

.blog-header .blog-logo img {
    max-height: 40px;
    width: auto;
}

.blog-nav-link {
    color: var(--blog-dark) !important;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    font-size: 17px;
    border-radius: 50px;
    transition: background .2s ease, color .2s ease;
}

.blog-nav-link:hover {
    background: var(--blog-green);
    color: #fff !important;
}

/* Busca - estilo imagem 1: barra única, fundo cinza claro, cantos bem arredondados, ícone à esquerda */
.blog-search-form {
    display: flex;
    align-items: center;
    position: relative;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 0.4rem 1rem 0.4rem 1.25rem;
    min-width: 280px;
    max-width: 320px;
}

.blog-search-icon {
    font-size: 1rem;
    color: #3f444b;
    margin-right: 0.5rem;
    pointer-events: none;
    width: 15px;
    height: 28px;
}


.blog-search-icon .e-font-icon-svg{
    color: #85898d;
    fill: #85898d;
    font-size: 15px;
}

.blog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--blog-dark);
    outline: none;
}


.blog-search-input::placeholder {
    color: #888;
}

.blog-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.blog-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    padding: 0.25rem;
    margin-left: 0.25rem;
    cursor: pointer;
    color: #85898d;
}
.blog-search-submit:hover {
    color: var(--blog-green, #0d9488);
}
.blog-search-submit .e-font-icon-svg {
    fill: currentColor;
    width: 18px;
    height: 18px;
}
.blog-search-submit .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Hero - Segurança e conforto */
.blog-hero {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.blog-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--blog-dark);
    line-height: 1.3;
}

@media (min-width: 992px) {
    .blog-hero-title {
        font-size: 2rem;
    }
}

.blog-hero-image {
    position: relative;
}

.blog-hero-image img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
}

.blog-hero-placeholder {
    display: none;
    min-height: 220px;
    background: linear-gradient(135deg, #e8f5f5 0%, #b2ebf2 100%);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: var(--blog-green);
    font-size: 4rem;
}

.blog-hero-image .blog-hero-img.d-none + .blog-hero-placeholder,
.blog-hero-placeholder.visible {
    display: flex !important;
}

/* Banner strip (amarelo/laranja) */
.blog-banner-strip {
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    background-color: #FFF6E4;
    color: #000000;
    font-family: "Roboto", Helvetica;
    font-size: 18px;
    font-weight: 400;
}

/* Conteúdos para explorar - categorias */
.blog-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--blog-dark);
}

.blog-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 5%;
    margin-bottom: 2.5rem;
}

.blog-category-card {
    display: block;
    text-decoration: none !important;
    color: var(--blog-green);
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 1px solid #eee;
    transition: all .2s ease;
}

.blog-category-card:hover {
    background: var(--blog-green);
    color: #FFF;
    /*
    border-color: var(--blog-green);
    box-shadow: 0 4px 12px rgba(7, 190, 181, .15);
    color: var(--blog-green);
    */
}

.blog-category-card img.blog-category-icon {
    margin: 0 auto 0.5rem;
}

.blog-category-card .blog-category-name {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Cards de posts */
/* Conteúdos mais recentes - 4 colunas por linha */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

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

.blog-post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
}

.blog-post-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.blog-post-card .blog-post-image-wrap {
    position: relative;
    /* padding-top: 56.25%; */
    background: #f0f0f0;
    overflow: hidden;
}

.blog-post-card .blog-post-image-wrap img {
    top: 0;
    left: 0;
    /*
    position: absolute;
    width: 100%;
    height: 100%;
    */
    object-fit: contain;
}

.blog-post-card .blog-post-tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #273747;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 10px;
    text-transform: uppercase;
}

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

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

.blog-post-card .blog-post-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.45;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Botão Carregar mais */
.blog-load-more-wrap {
    text-align: center;
    margin: 2rem 0;
}

.blog-load-more-wrap .btn-blog-primary {
    background: var(--blog-green);
    border-color: var(--blog-green);
    color: #fff;
    padding: 0.6rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.blog-load-more-wrap .btn-blog-primary:hover {
    background: #06a89e;
    border-color: #06a89e;
    color: #fff;
}

/* Footer - fundo branco, textos preto, tudo centralizado */
.blog-footer {
    margin-top: 3rem;
    text-align: center;
}

.blog-footer-top {
    background: #effffe;
    color: var(--blog-dark);
}

.blog-footer-top .blog-footer-title,
.blog-footer-top .h5,
.blog-footer-top h2 {
    color: var(--blog-dark) !important;
}

.blog-footer-top .blog-footer-desc,
.blog-footer-top p {
    color: #666 !important;
}

.blog-footer-top img[alt="PetDriver"] {
    opacity: 0.95;
}

.blog-footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.blog-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-footer-links a {
    color: var(--blog-dark) !important;
    text-decoration: none !important;
    margin-right: 1rem;
}

.blog-footer-links a:hover {
    color: var(--blog-green) !important;
}

.blog-footer-copy {
    background: #FFF;
}

/* Conteúdo principal */
.blog-main {
    min-height: 50vh;
    padding: 2rem 0;
}

/* Paginação */
.blog-pagination .pagination {
    justify-content: center;
}

.blog-pagination .page-link {
    color: var(--blog-green);
}

.blog-pagination .page-item.active .page-link {
    background: var(--blog-green);
    border-color: var(--blog-green);
}

/* Página de conteúdo (post único) */
.blog-article .blog-article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-article .blog-article-body {
    line-height: 1.7;
}

.blog-article .blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Placeholder quando não há imagem na categoria */
.blog-category-card .blog-category-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e0e0e0;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
}

/* Navbar toggler icon (Bootstrap 4) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
