/*
Theme Name: Vida Ativa
Theme URI: https://blogvidaativa.com.br/
Author: ContentPilot Team
Author URI: https://npccomunicacao.com.br/
Description: Tema nativo 1:1 baseado no template editorial Wlog (bootstrap5/index.html) adaptado para a identidade visual oficial do Blog Vida Ativa (#96E650 / #9DE565 + Antracite #22252A) e Calculadora Interativa de IMC & TDEE (Harris-Benedict).
Version: 13.1
License: Proprietary
Text Domain: vida-ativa
*/

:root {
    --va-lime: #96E650;
    --va-lime-soft: #9DE565;
    --va-anthracite: #22252A;
    --va-ice: #F7F9F5;
}

/**
 * ==============================================================================
 * IDENTIDADE VISUAL OFICIAL BLOG VIDA ATIVA + INTEGRAÇÃO WLOG 1:1
 * ==============================================================================
 */

/* Lockup Oficial do Logotipo Vetorial (BLOG + VIDA [Atleta] ATIVA) */
.va-brand-lockup {
    display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--va-anthracite);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(150, 230, 80, 0.35);
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.va-brand-lockup:hover {
    border-color: var(--va-lime);
    box-shadow: 0 4px 14px rgba(150, 230, 80, 0.18);
}
.va-brand-lockup .va-brand-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 3px;
    text-transform: uppercase;
}
.blog_logo a.va-brand-lockup img {
    max-height: 30px;
    width: auto;
    display: block;
}
.weidget_aboutus > a.va-brand-footer {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 10px 16px;
    margin-bottom: 14px;
}
.weidget_aboutus > a.va-brand-footer > img {
    max-height: 34px;
    width: auto;
}

/* Harmonia Cromática: Verde-Limão (#96E650) + Antracite (#22252A) */
.blog_top_header_wrapper,
.blog_footer {
    background-color: var(--va-anthracite) !important;
}
.blog_tranding_div h5,
.blog_bg_lightgreen,
.blog_newsletter_btn {
    background-color: var(--va-lime) !important;
    color: var(--va-anthracite) !important;
    font-weight: 700 !important;
}
.blog_main_menu ul li.active a,
.blog_main_menu ul li a:hover,
.va-nav-calc-link {
    color: #5bb318 !important;
    font-weight: 700;
}
.blog_category {
    border-left: 3px solid var(--va-lime);
    padding-left: 6px;
}

/* ==============================================================================
 * CALCULADORA INTERATIVA DE IMC & GASTO CALÓRICO DIÁRIO (TDEE - HARRIS-BENEDICT)
 * ============================================================================== */
.va_calc_card {
    background: #ffffff;
    border: 1px solid #e5ece0;
    border-top: 3px solid var(--va-lime);
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(34, 37, 42, 0.05);
}
.va_calc_header {
    margin-bottom: 22px;
    border-bottom: 1px solid #f0f4ec;
    padding-bottom: 16px;
}
.va_calc_badge {
    display: inline-block;
    background: var(--va-anthracite);
    color: var(--va-lime);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
}
.va_calc_header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--va-anthracite);
    margin-bottom: 6px;
}
.va_calc_header p {
    font-size: 14px;
    color: #5a626a;
    margin: 0;
}
.va_calc_form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--va-anthracite);
    margin-bottom: 6px;
}
.va_calc_form .va_input {
    height: 44px;
    border: 1px solid #d8e2d1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--va-anthracite);
    background-color: var(--va-ice);
    padding: 8px 12px;
}
.va_calc_form .va_input:focus {
    border-color: var(--va-lime);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(150, 230, 80, 0.2);
    outline: none;
}
.va_calc_btn {
    width: 100%;
    height: 46px;
    background-color: var(--va-lime);
    color: var(--va-anthracite);
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.va_calc_btn:hover {
    background-color: var(--va-anthracite);
    color: var(--va-lime);
}
.va_calc_results {
    background-color: var(--va-anthracite);
    color: #ffffff;
    border-radius: 6px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.va_result_MainRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}
.va_result_box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(150, 230, 80, 0.25);
    border-radius: 6px;
    padding: 14px;
    text-align: center;
}
.va_res_label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #b0b8c1;
    margin-bottom: 4px;
}
.va_res_value {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--va-lime);
    line-height: 1.1;
    margin-bottom: 6px;
}
.va_res_status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid var(--va-lime);
    color: var(--va-lime);
}
.va_res_sub {
    display: block;
    font-size: 11px;
    color: #9ba3ab;
}
.va_tdee_targets h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 10px;
}
.va_tdee_targets h5 i {
    color: var(--va-lime);
    margin-right: 5px;
}
.va_target_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.va_target_item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 10px 8px;
    text-align: center;
    border-bottom: 2px solid transparent;
}
.va_target_cut { border-bottom-color: #38bdf8; }
.va_target_maint { border-bottom-color: var(--va-lime); background: rgba(150, 230, 80, 0.1); }
.va_target_bulk { border-bottom-color: #facc15; }
.va_target_item span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 3px;
}
.va_target_item strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}
.va_target_item small {
    font-size: 10px;
    color: #94a3b8;
}
.va_hydration_bar {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 12px;
    color: #e0f2fe;
    display: flex;
    align-items: center;
    gap: 8px;
}
.va_hydration_bar i {
    color: #38bdf8;
    font-size: 16px;
}
.va_ad_slot_inline {
    margin-top: 22px;
    background: var(--va-ice);
    border: 1px dashed #b9d49e;
    border-radius: 6px;
    padding: 16px 20px;
}
.va_ad_tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 6px;
}
.va_ad_banner_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.va_ad_banner_content strong {
    display: block;
    font-size: 15px;
    color: var(--va-anthracite);
}
.va_ad_banner_content p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #525860;
}
.va_ad_cta {
    background: var(--va-anthracite);
    color: var(--va-lime) !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
}
.va_ad_cta:hover {
    background: var(--va-lime);
    color: var(--va-anthracite) !important;
}

/* Garante proporção uniforme nas imagens dinâmicas do WordPress dentro dos containers Wlog */
.blog_banner_slider .gallery-top .blog_post_slider_img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.blog_banner_slider .gallery-thumbs .blog_post_slider_img img {
    width: 210px;
    height: 140px;
    object-fit: cover;
}
.blog_world_news .large_post .blog_post_slider_img img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}
.blog_world_news .blog_col_4 .blog_post_slider_img img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}
.blog_sports .blog_post_style2_img img {
    width: 130px;
    height: 150px;
    object-fit: cover;
}
.blog_food_gallery_big .blog_post_slider_img img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}
.blog_food_gallery_thumbs .blog_food_thumb_img img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}
.blog_travel .blog_post_slider_img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.blog_technology .blog_post_style2_img img {
    width: 180px;
    height: 200px;
    object-fit: cover;
}
.widget_recent_post .blog_recent_post_img img {
    width: 65px;
    height: 50px;
    object-fit: cover;
}
.widget_special_post .blog_post_slider_img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog_author_data a img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
}

/* Conteúdo de Artigo Individual (Single Post) dentro de .blog_single_div */
.va-entry-body p {
    margin-bottom: 18px;
    line-height: 1.8;
}
.va-entry-body h2,
.va-entry-body h3,
.va-entry-body h4 {
    margin-top: 28px;
    margin-bottom: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #262628;
}
.va-entry-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}
.va-entry-body ul,
.va-entry-body ol {
    margin-bottom: 20px;
    padding-left: 22px;
}
.va-entry-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Paginação Numérica no estilo Wlog */
.blog_pagination_div .pagination .page-item .page-link {
    color: #262628;
    border: 1px solid #efefef;
    margin: 0 4px;
    padding: 8px 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.blog_pagination_div .pagination .page-item.active .page-link,
.blog_pagination_div .pagination .page-item .page-link:hover {
    background-color: #9de565;
    border-color: #9de565;
    color: #ffffff;
}

@media (max-width: 767px) {
    .blog_banner_slider .gallery-top .blog_post_slider_img img {
        height: 340px;
    }
    .blog_world_news .large_post .blog_post_slider_img img,
    .blog_world_news .blog_col_4 .blog_post_slider_img img {
        height: 240px;
    }
}
