/* =========================================================
   BIQ — NOTÍCIAS 1.5.2 (FOLHA DE ESTILOS COMPLETA E AJUSTADA)
   Layout responsivo, largura máxima de 1420px
========================================================= */

.biq-news,
.biq-news * {
	box-sizing: border-box;
}

.biq-news {
	--biq-blue: #0f75bc;
	--biq-blue-soft: #5abfe6;
	--biq-mint: #8fd1c4;
	--biq-text: #181818;
	--biq-muted: #5f5f5f;
	--biq-border: #dedede;
	--biq-card-hover: #5e9cff;
	--biq-bg: #ffffff;
	--biq-max-width: 1420px;
	--biq-side-space: 30px;

	color: var(--biq-text);
	background: var(--biq-bg);
	font-family: inherit;
}

/* Impede sublinhados impostos pelo tema em todos os links do plugin. */
.biq-news a,
.biq-news a:visited,
.biq-news a:hover,
.biq-news a:focus,
.biq-news a:active {
	text-decoration: none !important;
	text-decoration-line: none !important;
}

/* Faz os shortcodes saírem de contentores estreitos do tema. */
.biq-news-home,
.biq-news-shortcode-page {
	position: relative;
	left: 50%;

	width: 100vw;
	max-width: 100vw;

	margin-left: -50vw !important;
	margin-right: -50vw !important;

	padding-left: 0;
	padding-right: 0;

	overflow: hidden;

	background: #ffffff;
}

.biq-news-shell {
	width: calc(100% - (2 * var(--biq-side-space)));
	max-width: var(--biq-max-width);
	margin-inline: auto;
}

/* =========================================================
   HOMEPAGE
========================================================= */

.biq-news-home {
	padding: clamp(38px, 4vw, 60px) 0 clamp(34px, 4vw, 58px);
	background: #ffffff;
}

.biq-news-home-title {
	margin: 0 0 clamp(28px, 3vw, 42px);
	color: var(--biq-text);
	font-size: clamp(24px, 1.8vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: center;
}

.biq-news-home-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 2vw, 32px);
	align-items: start;
}

.biq-news-home-card {
	min-width: 0;
	margin: 0;
}

.biq-news-home-media,
.biq-news-card-media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f4f5;
}

.biq-news-home-media img,
.biq-news-card-media img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
	transition: transform .24s ease;
}

.biq-noticias-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef3f4 0%, #f8f8f8 100%);
}

.biq-news-home-copy {
	padding: 18px 8px 0;
}

.biq-news-home-copy .biq-news-date {
	display: block;
	margin: 0 0 9px;
	color: var(--biq-blue-soft);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
}

.biq-news-home-copy h3 {
	margin: 0 0 8px;
	font-size: clamp(16px, 1.12vw, 19px);
	font-weight: 500;
	line-height: 1.18;
}

.biq-news-home-copy h3 a {
	color: inherit;
}

.biq-news-home-copy h3 a:hover,
.biq-news-home-copy h3 a:focus {
	color: var(--biq-blue);
}

.biq-news-home-copy p {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0;
	color: #575757;
	font-size: clamp(13px, .88vw, 15px);
	font-weight: 300;
	line-height: 1.35;
}

.biq-news-home-more {
	display: flex;
	justify-content: center;
	margin-top: clamp(26px, 2.8vw, 38px);
}

.biq-news-home-more a {
	display: inline-flex;
	min-width: 82px;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 1px solid var(--biq-blue);
	background: var(--biq-blue);
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.biq-news-home-more a:hover,
.biq-news-home-more a:focus {
	background: #ffffff;
	color: var(--biq-blue) !important;
	transform: translateY(-1px);
}

/* =========================================================
   PÁGINA COMPLETA / HERO
========================================================= */

.biq-news-page {
	max-width: none;
	margin: 0;
	padding: 0;
	background: #ffffff;
}

.biq-news-hero {
	width: 100%;
	height: clamp(250px, 23vw, 440px);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.biq-news-intro {
	padding: clamp(38px, 3.7vw, 58px) var(--biq-side-space) clamp(34px, 3.4vw, 50px);
	background: #ffffff;
	text-align: center;
}

.biq-news-intro-inner {
	width: 100%;
	max-width: 900px;
	margin-inline: auto;
}

.biq-news-intro h1 {
	margin: 0 0 25px;
	color: var(--biq-text);
	font-size: clamp(24px, 1.8vw, 30px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.biq-news-intro-lead {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	color: var(--biq-blue);
	font-size: clamp(15px, 1.1vw, 18px);
	font-weight: 700;
	line-height: 1.35;
}

.biq-news-intro-sub {
	width: 100%;
	max-width: 820px;
	margin: 14px auto 0;
	color: #565656;
	font-size: clamp(12px, .82vw, 14px);
	font-weight: 300;
	line-height: 1.5;
}

.biq-news-gradient-line {
	width: 100%;
	height: 11px;
	background: linear-gradient(90deg, #22afe3 0%, #69c3d3 48%, #99d4c8 100%);
}

/* =========================================================
   FILTROS E PESQUISA
========================================================= */

.biq-news-listing {
	padding: clamp(30px, 2.5vw, 40px) 0 clamp(58px, 6vw, 96px);
	background: #ffffff;
}

.biq-news-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: clamp(28px, 2.8vw, 40px);
}

.biq-news-filters {
	display: flex;
	min-width: 0;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
}

.biq-news-filters::-webkit-scrollbar {
	display: none;
}

.biq-news-filter {
	position: relative;
	flex: 0 0 auto;
	padding: 12px 16px;
	border-left: 1px solid #7fd2f2;
	color: #4c4c4c;
	font-size: 13px;
	font-weight: 300;
	line-height: 1;
	white-space: nowrap;
}

.biq-news-filter:last-child {
	border-right: 1px solid #7fd2f2;
}

.biq-news-filter:hover,
.biq-news-filter:focus,
.biq-news-filter.is-active {
	color: var(--biq-blue);
}

.biq-news-filter.is-active {
	font-weight: 600;
}

.biq-news-search {
	display: flex;
	flex: 0 0 220px;
	align-items: center;
	border-bottom: 1px solid var(--biq-blue);
}

.biq-news-search input {
	width: 100%;
	min-width: 0;
	padding: 9px 4px 8px;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: #555555;
	font: inherit;
	font-size: 13px;
	font-style: italic;
}

.biq-news-search input::placeholder {
	color: #c8c8c8;
	opacity: 1;
}

.biq-news-search button {
	display: inline-grid;
	width: 34px;
	height: 34px;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--biq-blue);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.biq-news-search button:hover,
.biq-news-search button:focus,
.biq-news-search button:active {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--biq-blue);
}

.biq-news-search button svg {
	display: block;
	width: 19px;
	height: 19px;
}

/* =========================================================
   GRELHA DE NOTÍCIAS
========================================================= */

.biq-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px 22px;
}

.biq-news-card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	padding: 10px;
	border: 1px solid var(--biq-border);
	background: #ffffff;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.biq-news-card:hover,
.biq-news-card:focus-within {
	border-color: var(--biq-card-hover);
	box-shadow: 0 0 0 1px var(--biq-card-hover) inset;
}

.biq-news-card-body {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 8px 30px;
}

.biq-news-card time {
	display: block;
	margin-bottom: 10px;
	color: var(--biq-blue-soft);
	font-size: 10px;
	font-weight: 300;
	line-height: 1.2;
}

.biq-news-card h2 {
	margin: 0 0 10px;
	font-size: clamp(14px, 1vw, 18px);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: -0.015em;
}

.biq-news-card h2 a {
	color: inherit;
}

.biq-news-card h2 a:hover,
.biq-news-card h2 a:focus {
	color: var(--biq-blue);
}

.biq-news-card p {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0;
	color: #5b5b5b;
	font-size: clamp(12px, .82vw, 14px);
	font-weight: 300;
	line-height: 1.4;
}

.biq-news-card-arrow {
	position: absolute;
	right: 2px;
	bottom: 0;
	display: block;
	width: 18px;
	height: 18px;
	color: var(--biq-blue);
}

.biq-news-card-arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.biq-news-card:hover .biq-news-card-media img,
.biq-news-card:focus-within .biq-news-card-media img,
.biq-news-home-card:hover .biq-news-home-media img,
.biq-news-home-card:focus-within .biq-news-home-media img {
	transform: scale(1.02);
}

/* =========================================================
   PAGINAÇÃO
========================================================= */

.biq-news-pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	margin-top: 38px;
	padding-right: 8px;
	color: #575757;
	font-size: 13px;
}

.biq-news-page-number,
.biq-news-page-dots,
.biq-news-last-page {
	display: inline-flex;
	min-width: 12px;
	min-height: 24px;
	align-items: center;
	justify-content: center;
}

.biq-news-page-number:hover,
.biq-news-page-number:focus,
.biq-news-page-number.is-current,
.biq-news-last-page:hover,
.biq-news-last-page:focus {
	color: var(--biq-blue);
}

.biq-news-page-number.is-current {
	font-weight: 700;
}

/* =========================================================
   ESTADO VAZIO E COMPATIBILIDADE
========================================================= */

.biq-news-empty {
	padding: 60px 20px;
	border: 1px solid var(--biq-border);
	text-align: center;
}

.biq-news-empty h2 {
	margin: 0 0 10px;
	font-size: 20px;
}

.biq-news-empty p {
	margin: 0;
	color: var(--biq-muted);
	font-size: 13px;
}

.biq-news-page .entry-header,
.biq-news-page .page-header,
.biq-news-page + .sidebar {
	display: none;
}

/* =========================================================
   PÁGINA INDIVIDUAL DA NOTÍCIA (ESTRUTURA EXATA)
========================================================= */

body.biq-news-single-page,
body.biq-news-single-page #page,
body.biq-news-single-page .site,
body.biq-news-single-page .site-content,
body.biq-news-single-page .content-area,
body.biq-news-single-page .site-main,
.biq-news-single,
.biq-news-single-article {
	background: #ffffff !important;
}

/* 1. BARRA DIVISÓRIA GRADIENTE 100% FULL-WIDTH (COLADA MAIS ACIMA) */
.biq-news-single-gradient-separator {
	position: relative !important;
	left: 50% !important;
	right: 50% !important;
	width: 100vw !important;
	height: 12px !important;
	margin-left: -50vw !important;
	margin-right: -50vw !important;
	margin-top: -30px !important;
	margin-bottom: 35px !important;
	padding: 0 !important;
	background: linear-gradient(90deg, #2bb1e6 0%, #69c3d3 50%, #95d4c9 100%) !important;
	box-shadow: none !important;
}

body.biq-news-single-page .site-content,
body.biq-news-single-page .content-area,
body.biq-news-single-page .site-main {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	overflow: visible !important;
}

body.biq-news-single-page {
	margin: 0 !important;
}

.biq-news-single-article {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 0 80px 0 !important;
}

/* 2. CABEÇALHO DA NOTÍCIA (TÍTULO E DATA) */
.biq-news-single-header {
	width: min(860px, calc(100vw - 40px)) !important;
	max-width: 860px !important;
	margin: 0 auto 28px auto !important;
	padding: 0 !important;
	text-align: center !important;
}

/* Título Azul em Destaque */
.biq-news-single-title {
	display: block !important;
	width: 100% !important;
	margin: 0 auto 16px auto !important;
	padding: 0 !important;
	color: #0f75bc !important;
	font-size: 34px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.015em !important;
	text-align: center !important;
}

/* Oculta o resumo caso venha no HTML */
.biq-news-single-excerpt,
.biq-news-single-intro {
	display: none !important;
}

/* Data de Publicação em Negrito */
.biq-news-single-date {
	display: block !important;
	margin: 0 auto !important;
	color: #111111 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center !important;
}

/* 3. IMAGEM DE DESTAQUE CENTRADA */
.biq-news-single-media {
	display: block !important;
	width: min(860px, calc(100vw - 40px)) !important;
	max-width: 860px !important;
	height: auto !important;
	margin: 0 auto 40px auto !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #f2f2f2 !important;
	border-radius: 0 !important;
}

.biq-news-single-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	border: 0 !important;
}

/* 4. CORPO E CONTEÚDO DA NOTÍCIA */
.biq-news-single-body-shell {
	width: min(860px, calc(100vw - 40px)) !important;
	max-width: 860px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.biq-news-single-content {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #333333 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1.7 !important;
	text-align: left !important;
}

.biq-news-single-content p {
	margin-top: 0 !important;
	margin-bottom: 22px !important;
}

.biq-news-single-content strong {
	font-weight: 700 !important;
	color: #111111 !important;
}

.biq-news-single-content h2,
.biq-news-single-content h3,
.biq-news-single-content h4 {
	margin: 36px 0 16px 0 !important;
	padding: 0 !important;
	color: #0f75bc !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

.biq-news-single-content h2 { font-size: 24px !important; }
.biq-news-single-content h3 { font-size: 20px !important; }

/* Galeria opcional */
.biq-news-single-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	margin: 34px 0 0 !important;
}

.biq-news-single-gallery__item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	text-decoration: none !important;
}

.biq-news-single-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Lightbox da Galeria */
.biq-news-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 72px;
	background: rgba(0, 0, 0, 0.82);
}

.biq-news-lightbox[hidden] {
	display: none !important;
}

.biq-news-lightbox__image {
	display: block;
	max-width: min(92vw, 1600px);
	max-height: 88vh;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* =========================================================
   RESPONSIVIDADE (TABLET E MÓVEL) — 1 COLUNA POR LINHA
========================================================= */

@media (max-width: 1024px) {
	.biq-news-home-grid,
	.biq-news-grid {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 767px) {
	.biq-news-single-gradient-separator {
		margin-top: -15px !important;
		margin-bottom: 25px !important;
	}

	.biq-news-single-header,
	.biq-news-single-media,
	.biq-news-single-body-shell {
		width: calc(100vw - 32px) !important;
	}

	.biq-news-single-title {
		font-size: 24px !important;
	}

	.biq-news-single-content {
		font-size: 15px !important;
	}

	.biq-news-single-gallery {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}