/*
Theme Name: JNews Carsystem
Description: Identidade Carsystem sobre o tema JNews Car/Automotive.
Template: jnews
Version: 1.0.0
Text Domain: jnews-carsystem
*/
@font-face{font-family:Intelo;src:url('assets/fonts/Intelo-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:Intelo;src:url('assets/fonts/Intelo-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Intelo;src:url('assets/fonts/Intelo-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Intelo;src:url('assets/fonts/Intelo-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Intelo;src:url('assets/fonts/Intelo-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--cs-blue:#002d69;--cs-green:#a6db30;--cs-ink:#002d69;--cs-muted:#002d69;--cs-paper:#f7f7f7}
body{font-family:Intelo,Arial,sans-serif;color:var(--cs-ink)}
body h1,body h2,body h3,body h4,body h5,body h6,.jeg_post_meta,.jeg_footer p,.jeg_prevnext_post h3,.entry-content blockquote,.entry-content q{font-family:Intelo,Arial,sans-serif}
.jeg_post_title,.jeg_block_title,.entry-header .jeg_post_title{font-weight:700}
.jeg_post_title a{color:var(--cs-blue)}
.jeg_post_title a:hover{color:var(--cs-blue);text-decoration:underline;text-decoration-color:var(--cs-green);text-underline-offset:4px}
.jeg_navbar{border-bottom:1px solid #edf0f3}
.jeg_menu>li>a{font-weight:600;letter-spacing:.04em}
.jeg_menu>li.cs-site-link>a{border:1px solid var(--cs-green);border-radius:18px 3px;padding:0 22px;line-height:40px}
.jeg_navbar .jeg_main_menu>li.cs-site-link>a,.jeg_header .jeg_bottombar .jeg_main_menu>li.cs-site-link>a{height:42px;line-height:40px!important;margin:24px 0;padding:0 22px}
.jeg_main_menu>li.cs-site-link{margin-right:18px}
.jeg_header .jeg_bottombar .jeg_main_menu>li.cs-site-link>a:hover{background:var(--cs-green);color:var(--cs-blue)}
.comment-form .form-submit input[type=submit]{background:var(--cs-green);color:var(--cs-blue);padding:0 26px;height:44px;line-height:44px}
.comment-form .form-submit input[type=submit]:hover{background:var(--cs-blue);color:#fff}
.entry-content .carsystem-quote-cta{background:var(--cs-blue);color:#fff;border-radius:28px 4px;padding:36px 40px;margin:40px 0 20px}
.entry-content .carsystem-quote-cta h2{color:#fff;margin:0 0 10px;font-size:28px}
.entry-content .carsystem-quote-cta p{color:#fff;font-size:18px;line-height:1.6;margin-bottom:22px}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__actions{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button{background:var(--cs-green);color:var(--cs-blue);text-decoration:none;font-size:15px;font-weight:600;padding:12px 24px;border-radius:14px 3px;line-height:1.3}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button--alt{background:transparent;color:#fff;border:1px solid var(--cs-green)}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button:hover{background:#fff;color:var(--cs-blue)}
.widget_media_image img{border-radius:0;display:block;width:100%;height:auto}
.jeg_search_input,.jeg_search_form input[type=text],input[type=search]{border-radius:14px 3px;border-color:var(--cs-green)}
.jeg_readmore,.jeg_block_loadmore a,.jeg_block_loadmore a:hover,button,input[type=submit],.button,.elementor-button{background:var(--cs-green);color:var(--cs-blue);font-family:Intelo,Arial,sans-serif;font-weight:700;border-radius:14px 3px;padding:7px 20px}
.jeg_readmore:hover,.elementor-button:hover{background:var(--cs-blue);color:#fff}
.jeg_post_category a,.jeg_thumb .jeg_post_category a{background:var(--cs-blue);color:#fff}
.jeg_post_excerpt p{color:var(--cs-muted);line-height:1.8}
.jeg_pl_md_box .jeg_post_title{font-size:18px;line-height:1.3}
.jeg_pl_md_box .jeg_thumb .thumbnail-container{min-height:220px}
.jeg_pl_md_box .jeg_thumb img{width:100%;height:100%;object-fit:cover}
.jeg_pl_md_box .jeg_post_title a{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.entry-content,.entry-content p,.entry-content li{font-family:Intelo,Arial,sans-serif;font-size:17px;line-height:1.9}
.entry-content a{color:var(--cs-blue);text-decoration:underline;text-underline-offset:3px}
.entry-content h2,.entry-content h3{color:var(--cs-blue);line-height:1.3;margin-top:1.5em}
.entry-header .jeg_post_title{font-size:clamp(28px,3.4vw,48px);line-height:1.16;overflow-wrap:break-word}
.entry-content img{max-width:100%;height:auto}
.jeg_footer{border-top:4px solid var(--cs-green)}
.jeg_footer .jeg_footer_heading h3{letter-spacing:.04em;color:var(--cs-blue)}
.jeg_footer p{line-height:1.8}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--cs-blue);outline-offset:4px}
@media(max-width:767px){
 .jeg_mobile_logo img{max-width:200px;height:auto;max-height:45px}
 .jeg_heroblock .jeg_post_title{line-height:1.22}
 .entry-content,.entry-content p,.entry-content li{font-size:16px;line-height:1.8}
 .entry-content .carsystem-quote-cta{padding:26px 22px}
 .entry-content .carsystem-quote-cta h2{font-size:22px}
 .entry-content .carsystem-quote-cta p{font-size:16px}
 .entry-content .carsystem-quote-cta .carsystem-quote-cta__button{flex:1 1 100%;text-align:center}
 .jeg_footer .footer_column{margin-bottom:24px}
}

/* Titles over images or dark backgrounds: keep white text, show the green underline on hover */
.jeg_heroblock .jeg_post_title a:hover,.jeg_heroblock .jeg_post_title a:focus-visible,
.jeg_pl_md_box .jeg_post_title a:hover,.jeg_pl_lg_box .jeg_post_title a:hover,.jeg_pl_xl_box .jeg_post_title a:hover,
.jeg_slider .jeg_post_title a:hover,.jeg_overlay_slider .jeg_post_title a:hover,.jeg_postblock_carousel .jeg_post_title a:hover,
.dark .jeg_post_title a:hover,.jeg_scheme_dark .jeg_post_title a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--cs-green);text-decoration-thickness:2px;text-underline-offset:4px}
.jeg_heroblock .jeg_meta_date a:hover,.jeg_pl_md_box .jeg_meta_date a:hover{color:#fff}

/* Author hidden everywhere (JNews switches are off; this covers modules without a switch) */
.jeg_meta_author,.jeg_post_meta .jeg_meta_author,.jeg_authorbox{display:none!important}

/* Footer */
.jeg_footer .jeg_footer_primary{padding-block:40px 24px}
.jeg_footer_2 .footer_column{border:0!important;padding:10px 20px 20px}
.jeg_footer_2 .footer_column:first-child{padding-left:15px}
.jeg_footer .cs-footer-logo{margin-bottom:18px}
.jeg_footer .cs-footer-logo img{max-width:220px;height:auto;display:block}
.jeg_footer .cs-footer-links{list-style:none;margin:0;padding:0}
.jeg_footer .cs-footer-links li{margin:0 0 10px;font-size:14px;line-height:1.6}
.jeg_footer .cs-footer-links a,.jeg_footer .textwidget a{color:var(--cs-blue)}
.jeg_footer .cs-footer-links a:hover,.jeg_footer .textwidget a:hover{text-decoration:underline;text-decoration-color:var(--cs-green);text-underline-offset:3px}
.jeg_footer .jeg_footer_secondary{background:transparent;border-top:1px solid #e6e9ed;padding-block:20px;margin:0}
.jeg_footer .jeg_footer_content{background:#fff}
.jeg_footer .jeg_footer_container{box-shadow:0 1px 0 #e6e9ed}
@media(max-width:991px){
 .jeg_footer .footer_column{margin-bottom:28px}
}
.jeg_navbar .jeg_main_menu .sub-menu li a{color:var(--cs-blue)}
.jeg_navbar .jeg_main_menu .sub-menu li a:hover,.jeg_navbar .jeg_main_menu .sub-menu li.current-menu-item>a{color:var(--cs-blue);background:#f5f9ec;text-decoration:underline;text-decoration-color:var(--cs-green);text-underline-offset:3px}
.widget .jeg_thumb .jeg_post_category a,.jeg_postblock_22 .jeg_thumb .jeg_post_category a{font-size:9px;line-height:1.3;padding:3px 6px;white-space:nowrap}

/* Rodada 3 — balões, busca e imagens arredondadas (padrão Carsystem) */
/* 1. Text "balloons": category labels and block title labels */
.jeg_post_category a,.jeg_post_category span a,.jeg_thumb .jeg_post_category a,a[class^="category-"],a[class*=" category-"],
.jeg_block_title span,.jeg_block_heading .jeg_block_title span{border-radius:100px}
.jeg_post_category a,.jeg_thumb .jeg_post_category a{padding-inline:10px}
.jeg_block_title span{padding-inline:14px}
.jeg_block_heading_2 .jeg_block_title span:after,.jeg_block_heading_3 .jeg_block_title span:after{display:none}

/* 2. Search icon from assets/ico-pesquisa.png */
.jeg_search_button i.fa-search,.jeg_search_toggle i.fa-search,.search-all-button i.fa-search{display:inline-block;width:20px;height:20px;background:url('assets/ico-pesquisa.png') center/contain no-repeat;vertical-align:middle;font-size:0}
.jeg_search_button i.fa-search:before,.jeg_search_toggle i.fa-search:before,.search-all-button i.fa-search:before{content:none}
.jeg_search_form .jeg_search_button,.widget_search .jeg_search_button{background:transparent!important;color:var(--cs-blue)}
.widget_search .jeg_search_form{position:relative}
.widget_search .jeg_search_input{padding-right:48px;border-radius:18px 3px}
.widget_search .jeg_search_button{position:absolute;right:6px;top:0;height:100%;width:40px;padding:0;border:0}

/* 4. Header search bar: rounded, larger top-left corner */
.jeg_header .jeg_search_wrapper .jeg_search_input,.jeg_navbar_mobile .jeg_search_wrapper .jeg_search_input,.jeg_search_popup_expand .jeg_search_form .jeg_search_input{border-radius:18px 3px;padding-left:18px}
.jeg_header .jeg_search_wrapper .jeg_search_button{right:6px;padding:0 8px}
.jeg_search_popup_expand .jeg_search_form{border-radius:18px 3px}

/* 3. Rounded images */
.jeg_thumb,.jeg_thumb .thumbnail-container,.jeg_featured .thumbnail-container,.jeg_featured img,
.jeg_heroblock:not(.jeg_heroblock_skew) .jeg_post,.jeg_heroblock:not(.jeg_heroblock_skew) .jeg_block_container,
.entry-content img,.widget_media_image img,.jeg_ad img,.ads-wrapper img,.jeg_authorbox img{border-radius:16px;overflow:hidden}
.jeg_heroblock:not(.jeg_heroblock_skew) .jeg_hero_item_1{border-radius:24px 16px 16px 16px}

/* Full-width skew hero keeps straight edges */
.jeg_heroblock_skew .jeg_post,.jeg_heroblock_skew .jeg_thumb,.jeg_heroblock_skew .thumbnail-container,.jeg_heroblock_skew .jeg_block_container{border-radius:0}

/* Rodada 4 — sem textos cinza/pretos: azul-escuro Carsystem em fundo claro; hierarquia por peso da fonte */
body,.jeg_viewport,.entry-content,.entry-content p,.entry-content li,.entry-content strong,.entry-content b,.entry-content em,.entry-content blockquote,
.content-inner,.content-inner p,.content-inner li,.content-inner strong,
.jeg_post_excerpt,.jeg_post_excerpt p,.jeg_post_meta,.jeg_post_meta a,.jeg_post_meta span,.jeg_meta_date,.jeg_meta_date a,.jeg_meta_comment a,.jeg_meta_category a,.jeg_meta_category .meta_text,
.jeg_breadcrumbs,.jeg_breadcrumbs a,.jeg_breadcrumbs span,.breadcrumb_last_link a,
.jeg_share_stats .sharetext,.jeg_share_count .counts,.jeg_views_count .counts,.jeg_prevnext_post .caption,.jeg_prevnext_post h3,
.jeg_pagination a,.jeg_pagination span,.jeg_pagination .navtext,.jeg_block_navigation a,
.jeg_mobile_menu a,.jeg_mobile_menu li a,.jeg_aside_copyright p,.jeg_aside_copyright a,.site-title a,.site-title span,
.jeg_footer,.jeg_footer p,.jeg_footer .copyright,.jeg_footer .textwidget,
.comment-respond,.comment-respond label,.comment-respond p,.comment-notes,.logged-in-as,.comments-title,.comment-content,.comment-content p,
.widget,.widget p,.widget li,.widget .jeg_meta_date,
.jeg_archive_description,.jeg_404_content,.jeg_404_content p,.jeg_empty_module,.jeg_search_no_expand .jeg_search_result,.jeg_search_result a,
label,legend,figcaption,.wp-caption-text,table,th,td{color:var(--cs-blue)!important}
input,textarea,select,.jeg_search_input{color:var(--cs-blue)!important}
input::placeholder,textarea::placeholder{color:var(--cs-blue)!important;opacity:.75;font-weight:300}
.jeg_meta_date i,.jeg_meta_comment i,.jeg_meta_like i,.jeg_meta_like a,.jeg_meta_like span{color:var(--cs-blue)}
.jeg_post_meta,.jeg_post_meta a,.jeg_meta_date,.jeg_meta_date a,.jeg_meta_comment a,.jeg_post_excerpt,.jeg_post_excerpt p,
.jeg_breadcrumbs,.jeg_breadcrumbs a,.jeg_share_stats .sharetext,.jeg_prevnext_post .caption,.jeg_aside_copyright p,
.jeg_footer p,.jeg_footer .copyright,.comment-notes,.wp-caption-text,figcaption,input::placeholder{font-weight:300}
.jeg_meta_category a,.jeg_pagination .page_number.active,.jeg_pagination .current{font-weight:600}
.entry-content strong,.entry-content b,.content-inner strong{font-weight:700}
.jeg_mobile_menu li a{font-weight:500}
.jeg_pagination a.page_number:hover,.jeg_pagination .page_number.active{color:#fff!important;background:var(--cs-blue)}

/* Rodada 5 — texto branco sobre imagem ou fundo escuro */
.jeg_heroblock .jeg_post_meta,.jeg_heroblock .jeg_post_meta a,.jeg_heroblock .jeg_meta_date,.jeg_heroblock .jeg_meta_date a,.jeg_heroblock .jeg_meta_date i,.jeg_heroblock .jeg_post_title a,
.jeg_pl_md_box .jeg_post_meta,.jeg_pl_md_box .jeg_post_meta a,.jeg_pl_md_box .jeg_meta_date a,.jeg_pl_md_box .jeg_meta_date i,.jeg_pl_md_box .jeg_post_title a,
.jeg_pl_lg_box .jeg_post_meta a,.jeg_pl_lg_box .jeg_meta_date i,.jeg_pl_xl_box .jeg_post_meta a,.jeg_pl_xl_box .jeg_meta_date i,
.jeg_slider .jeg_post_meta a,.jeg_overlay_slider .jeg_post_meta a,.jeg_thumb .jeg_post_meta a,
.jeg_post_category a,.jeg_post_category span,.jeg_post_category span a,.jeg_thumb .jeg_post_category a,
.entry-content .carsystem-quote-cta,.entry-content .carsystem-quote-cta h2,.entry-content .carsystem-quote-cta p,.content-inner .carsystem-quote-cta p,
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button--alt,.entry-content .carsystem-quote-cta .carsystem-quote-cta__button--alt strong,
.jeg_pagination a.page_number:hover,.jeg_pagination .page_number.active,.comment-form .form-submit input[type=submit]:hover,.jeg_readmore:hover,.elementor-button:hover{color:#fff!important}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button:not(.carsystem-quote-cta__button--alt),.entry-content .carsystem-quote-cta .carsystem-quote-cta__button:not(.carsystem-quote-cta__button--alt) strong{color:var(--cs-blue)!important}
.entry-content .carsystem-quote-cta .carsystem-quote-cta__button:hover,.entry-content .carsystem-quote-cta .carsystem-quote-cta__button:hover strong{color:var(--cs-blue)!important}

/* .jeg_block_heading_2: faixa cinza passa a branco; rótulo verde com texto azul */
.jeg_block_heading_2,.jeg_block_heading_2 .jeg_block_title{background-color:#fff!important}
.jeg_block_heading_2 .jeg_block_title span,.jeg_block_heading_2 .jeg_block_title span a{color:var(--cs-blue)!important}

/* Rodada 6 — texto branco no estado "Carregando..." do botão Carregar mais (fundo azul) */
.jeg_block_loadmore a.active,.jeg_block_loadmore a.active:hover,.jeg_block_loadmore a.active:focus{color:#fff!important}

/* Rodada 7 — selo de categoria no card cinza (jeg_pl_lg_card) com altura suficiente para o texto */
.jeg_pl_lg_card .jeg_post_category,.jeg_pl_lg_card .jeg_post_category span{line-height:1;display:inline-block}
.jeg_pl_lg_card .jeg_post_category a{display:inline-block;line-height:1.2!important;padding:5px 12px!important;height:auto}

/* Rodada 8 */
/* Carregar mais: fundo azul no hover pede texto branco */
.jeg_block_loadmore a:hover,.jeg_block_loadmore a:focus,.jeg_block_loadmore a.active{color:#fff!important}
/* Selos de categoria com espaçamento vertical uniforme (jeg_pl_sm_2 vinha com padding 0) */
.jeg_post_category a,.jeg_thumb .jeg_post_category a{padding:6px 10px!important;line-height:1.2!important;display:inline-block}
.jeg_pl_md_5 .jeg_post_category a{padding:4px 8px!important}

/* Rodada 9 — espaçamento das categorias e verde Carsystem no hover das imagens */
.jeg_post_category{margin-top:10px!important}
.jeg_thumb .jeg_post_category{bottom:10px!important}
.jeg_hero_style_2 .jeg_thumb a>.thumbnail-container.thumbnail-background::after{
 background:linear-gradient(270deg,#a6db30,#a6db30);
}
