/* ==========================================================================
   Ajustes do tema (Direto de Paris) — fontes mais leves + busca
   ========================================================================== */

/* --- Widgets de posts recentes: fonte leve + miniatura ao lado --- */
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}
.recent-list li:last-child { border-bottom: 0; }
.recent-list .media-object {
	width: 78px;
	height: 58px;
	object-fit: cover;
	border-radius: 4px;
	flex: 0 0 78px;
}
.recent-list .post-content { flex: 1; min-width: 0; }
.recent-list .post-content h2 {
	margin: 0 0 3px;
	font-size: 14px;
	line-height: 1.4;
}
.recent-list .post-content h2 a {
	font-weight: 400;          /* sem bold/medium */
	color: #333;
}
.recent-list .post-content span {
	font-size: 12px;
	font-weight: 300;
	color: #999;
}

/* Posts recentes / comentários recentes (defaults): também mais leves */
.widget_recent_entries ul li a,
.widget_recent_comments ul li,
.widget_recent_comments ul li a {
	font-weight: 400;
}

/* --- Busca do topo: caixa bonita e definida --- */
.search-box { position: relative; }
.form-search {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: 0;
	max-width: 320px;
	overflow: hidden;
	opacity: 0;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
	transition: width .25s ease, opacity .25s ease, padding .25s ease;
	padding: 0;
	z-index: 999;
}
.form-search.active {
	width: 300px;
	opacity: 1;
	padding: 12px;
}
.form-search input[type="search"],
.form-search input[type="text"] {
	width: 100%;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
	outline: none;
}
.form-search input:focus { border-color: #13315c; }
.open-search { cursor: pointer; }

.no-thumb { display: none; }

/* --- Mobile (tema atual) --- */
@media (max-width: 768px) {
	.recent-list .media-object { width: 64px; height: 48px; flex-basis: 64px; }
	.form-search.active { width: min(82vw, 300px); }
	.upper-footer .col-md-4 { margin-bottom: 22px; }
	.blog-box.standard .blog-post { margin-bottom: 18px; }
	/* banners e grid já empilham via vc_col-xs-12; garante respiro */
	.grid-line-section .wpb_column { margin-bottom: 16px; }
	.navbar-toggle { display: block; }
	.navbar-collapse { background: #fff; }
}
@media (max-width: 480px) {
	.title-post h1 { font-size: 24px; }
}

/* imagens não vazam da coluna (base) */
.sidebar img, .widget img, .upper-footer img, .widget_media_image img, .recent-widget img { max-width: 100% !important; height: auto !important; }

/* Imagens dos posts: 100% da largura da coluna, proporção mantida */
.blog-gallery img, .blog-box .blog-post img, .entry-content img { width:100% !important; height:auto !important; max-width:100% !important; object-fit:unset !important; display:block; }
.blog-box .wp-caption, .entry-content .wp-caption, .blog-box figure, .entry-content figure, .blog-box .aligncenter { width:100% !important; max-width:100% !important; margin-left:0 !important; margin-right:0 !important; }
.wp-caption img { width:100% !important; height:auto !important; }
.wp-caption .wp-caption-text { font-size:13px; color:#777; text-align:center; padding:6px 0; }
