/*
 * Taboão.org — ajustes de marca e classes do WordPress sobre o layout (main.css).
 * Paleta extraída do logo:
 *   verde-floresta #063A2B · verde de ação #0E7A4E · azul-marinho #0B2F57 · azul #1F5FA6
 */

:root {
	--tb-green-900: #063A2B;
	--tb-green-600: #0E7A4E;
	--tb-green-50: #EEF6F1;
	--tb-navy-900: #0B2F57;
	--tb-navy-600: #1F5FA6;
	--tb-text: #222222;
	--tb-muted: #5f6b66;
	--tb-gold: #E0A526;
}

/* ---------- Acessibilidade e classes do WordPress ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	border-radius: 6px;
	background: var(--tb-green-900);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--tb-navy-600);
	outline-offset: 2px;
}

.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.wp-caption, figure { max-width: 100%; }
.wp-caption-text, .wp-element-caption, figcaption { margin-top: 8px; color: var(--tb-muted); font-size: 14px; }
.sticky, .bypostauthor, .gallery-caption { display: block; }
img { height: auto; }

/* ---------- Logo ---------- */
.logo__link { display: inline-block; line-height: 0; }
.logo__img { width: auto; max-width: 100%; height: 44px; }
.page-footer .logo { margin-bottom: 20px; }
.page-footer .logo__img { height: 40px; }
.uk-offcanvas-bar .logo__img { height: 36px; }

@media (max-width: 639px) {
	.page-header__logo .logo__img { height: 34px; }
}

/* ---------- Cabeçalho ---------- */
.uk-navbar-nav > li.uk-active > a,
.uk-navbar-nav > li > a[aria-current="page"] { color: var(--tb-green-600); }

/* ---------- Banner ---------- */
.section-banner__bg { position: relative; }
.section-banner:not(.section-banner--home) .section-banner__bg::before {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 58, 43, 0.82) 0%, rgba(11, 47, 87, 0.55) 100%);
	content: "";
}
.section-banner__bg > .uk-container { position: relative; z-index: 1; }
.section-banner__breadcrumb a { color: #fff; }
.section-banner__breadcrumb .uk-breadcrumb > * > a { border-bottom-color: rgba(255, 255, 255, 0.45); }
.section-banner__breadcrumb .uk-breadcrumb > :nth-child(n+2):not(.uk-first-column)::before {
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.7);
	content: "›";
}
.section-banner__rating a { color: #fff; text-decoration: underline; }
/* Topo da home sobre foto: película verde à esquerda, que some para a direita e antes da onda. */
.section-banner.section-banner--home .section-banner__bg { background-image: var(--taboao-hero); background-size: cover; }
@media (max-width: 767px) {
	.section-banner.section-banner--home .section-banner__bg { background-image: var(--taboao-hero-mobile); }
}
.section-banner.section-banner--home .section-banner__bg::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 58, 43, 0.9) 0%, rgba(6, 58, 43, 0.72) 38%, rgba(11, 47, 87, 0.3) 68%, rgba(11, 47, 87, 0) 88%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 30%);
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 94%);
	mask-image: linear-gradient(180deg, #000 72%, transparent 94%);
	pointer-events: none;
	content: "";
}
.section-banner.section-banner--home .section-banner__title,
.section-banner.section-banner--home .section-banner__text,
.section-banner.section-banner--home .section-banner__bottom,
.section-banner.section-banner--home .popular-searches { color: #fff; }
.section-banner--home .section-banner__title {
	max-width: 760px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.section-banner--home .section-banner__text {
	max-width: 620px;
	font-size: 20px;
	font-weight: 600;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.section-banner--home .form-search { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); border-radius: 60px; }

/* Atalhos "O que fazer": botões com ícone + nome. */
.taboao-shortcuts { flex-wrap: wrap; gap: 12px; }
.taboao-shortcuts__label {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.section-banner.section-banner--home .taboao-shortcuts ul { flex-wrap: wrap; gap: 10px; margin: 0; }
.section-banner.section-banner--home .taboao-shortcuts ul li + li { margin-left: 0; }
.section-banner.section-banner--home .taboao-shortcuts ul li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	height: 44px;
	padding: 0 18px 0 12px;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
	color: var(--tb-green-900);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s, background 0.2s, color 0.2s;
}
.section-banner.section-banner--home .taboao-shortcuts ul li a img { width: 22px; height: 22px; }
.section-banner.section-banner--home .taboao-shortcuts ul li a:hover,
.section-banner.section-banner--home .taboao-shortcuts ul li a:focus-visible {
	background: var(--tb-green-600);
	color: #fff;
	transform: translateY(-2px);
}
.section-banner.section-banner--home .taboao-shortcuts ul li a:hover img { filter: brightness(0) invert(1); }

@media (max-width: 959px) {
	/* No celular a foto fica atrás do texto inteiro: película uniforme. */
	.section-banner.section-banner--home .section-banner__bg::before {
		background: linear-gradient(180deg, rgba(6, 58, 43, 0.82) 0%, rgba(6, 58, 43, 0.7) 60%, rgba(11, 47, 87, 0.45) 100%);
	}
	.section-banner--home .section-banner__text { font-size: 17px; }
	.section-banner.section-banner--home .taboao-shortcuts ul li a { height: 40px; padding: 0 14px 0 10px; font-size: 14px; }
}
.section-banner__title span { color: #9fe0bf; }

@media (max-width: 959px) {
	.section-banner__title { font-size: 40px; }
}
@media (max-width: 639px) {
	.section-banner__title { font-size: 30px; line-height: 1.25; }
	.section-title .uk-h3 { font-size: 34px; }
}

/* ---------- Mosaico de notícias (city-item) ---------- */
.city-item__box .uk-overlay-primary { pointer-events: none; }
.city-item__box:hover .uk-overlay-primary,
.city-item__box:focus .uk-overlay-primary {
	background: linear-gradient(250deg, var(--tb-navy-600) 10%, var(--tb-green-900) 70%);
}
.city-item__city {
	margin: 0;
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	font-size: 24px;
	line-height: 1.25;
}
.city-item__content { padding-right: 24px; }

/* ---------- Cards ---------- */
.blog-card__title, .listing-card__title { margin: 0; }
.blog-card__title { font-size: 20px; line-height: 1.35; }
.blog-card__category a { color: inherit; }
.blog-card__media img, .listing-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.taboao-placeholder { background: #fff; object-fit: contain !important; }
.listing-card__type { background: var(--tb-green-600); }
.listing-card__label { background: var(--tb-gold); }
/* O selo só aparece depois que o navegador calcula a situação; o espaço já fica reservado. */
.taboao-open-status:not(.is-open):not(.is-closed) { visibility: hidden; }
.listing-card__works.taboao-open-status { min-width: 100px; }
.listing-card__works.is-open { color: var(--tb-green-600); }
.listing-card__works.is-closed { color: #B3261E; }
.rating-box__reviews a { color: var(--tb-navy-600); }

/* ---------- Seção "Descubra Taboão" (antiga "Download the app") ---------- */
.section-download {
	background-image: linear-gradient(120deg, var(--tb-green-900) 0%, var(--tb-green-600) 55%, var(--tb-navy-900) 100%);
	overflow: hidden;
}
.section-download__content { max-width: 900px; margin-right: auto; margin-left: auto; padding-top: 100px; padding-bottom: 110px; text-align: center; }
.section-download__content p { margin: 10px 0 0; font-size: 20px; }
.section-download .section-banner__info { margin-top: 40px; }
.taboao-btn-light { margin: 6px 4px; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.taboao-btn-light:hover { border-color: #fff; background: #fff; color: var(--tb-green-900); }

@media (max-width: 959px) {
	.section-download__content .uk-h3 { font-size: 38px; }
}

/* ---------- Títulos de seção ---------- */
.section-title span::before,
.section-title span::after { background-color: var(--tb-green-600); }
.taboao-see-all { color: var(--tb-green-600); font-weight: 700; }

/* ---------- Filtros do guia ---------- */
.filter-list li a.filter-item { text-decoration: none; }
.filter-list li a.filter-item span {
	display: inline-flex;
	align-items: center;
	padding: 0 22px;
}
.filter-list li a.filter-item.is-active span,
.filter-list li a.filter-item:hover span {
	border-color: var(--tb-green-600);
	background-color: var(--tb-green-600);
	color: #fff;
}

.taboao-filter-subs { margin-top: 12px; }
.taboao-filter-subs li a.filter-item span { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- Anúncios (Ads Lugares / Ads Agenda) ---------- */
/* Altura mínima reservada: a página não "pula" quando o anúncio carrega. */
.taboao-ad { clear: both; margin: 32px 0; min-height: 120px; text-align: center; }
.taboao-ad__label { display: block; margin-bottom: 6px; color: var(--tb-muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.taboao-ad--single-sidebar { min-height: 280px; margin: 0 0 30px; }
.taboao-ad--list-top { margin-top: 0; }
.uk-grid > .taboao-ad-cell { width: 100% !important; }
.taboao-ad-cell .taboao-ad { margin: 8px 0 0; }

/* ---------- Agenda ---------- */
.taboao-event-card .blog-card__media { position: relative; }
.taboao-event-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 56px;
	padding: 8px 10px 6px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
	color: var(--tb-green-900);
	line-height: 1;
	pointer-events: none;
}
.taboao-event-badge__day { font-family: Nunito, sans-serif; font-size: 26px; font-weight: 800; }
.taboao-event-badge__month { margin-top: 4px; color: var(--tb-green-600); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.taboao-event-status {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 4px 12px;
	border-radius: 20px;
	background: #8a2b24;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.taboao-event-card.is-cancelled .blog-card__title a { text-decoration: line-through; }
.taboao-event-free { color: var(--tb-green-600); font-weight: 700; }
.taboao-event-meta { margin: 10px 0 0; padding: 0; color: var(--tb-muted); font-size: 15px; list-style: none; }
.taboao-event-meta li { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; }
.taboao-event-meta [class*="icon-"] { margin-top: 3px; color: var(--tb-green-600); }
.taboao-agenda-month {
	margin: 0 0 24px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--tb-green-50);
	color: var(--tb-green-900);
	font-size: 28px;
}
.taboao-event-alert { margin-bottom: 24px; padding: 14px 18px; border-left: 4px solid #8a2b24; border-radius: 6px; background: #fbeceb; font-weight: 700; }
.taboao-event-alert.is-postponed { border-color: var(--tb-gold); background: #fdf5e3; }
.taboao-event-info .contact-item__value strong { display: block; }
.taboao-event-info address { font-style: normal; }

/* ---------- Artigo ---------- */
.article-full__lead { margin: 16px 0 0; color: #444; font-size: 20px; line-height: 1.55; }
.article-full__updated { margin: 8px 0 0; }
.article-full__image { margin: 30px 0 0; }
.article-full__image img { border-radius: 10px; }
.entry-content { font-size: 18px; line-height: 1.75; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; border-radius: 10px; }
.entry-content h2 { margin-top: 1.6em; font-size: 28px; }
.entry-content h3 { margin-top: 1.4em; font-size: 22px; }
.entry-content a { color: var(--tb-green-600); text-decoration: underline; text-underline-offset: 2px; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid #e3ebe7; }
.entry-content blockquote { border-left: 4px solid var(--tb-green-600); }
.taboao-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 10px; }

.taboao-author-box {
	margin: 40px 0;
	padding: 24px;
	border-radius: 10px;
	background: var(--tb-green-50);
}
.taboao-author-box .auhtor { display: flex; align-items: center; gap: 20px; }
.taboao-author-box img { border-radius: 50%; }
.taboao-author-box .auhtor__name a { color: var(--tb-green-900); font-size: 20px; font-weight: 700; }
.taboao-author-box .auhtor__member { margin: 6px 0 0; }
.taboao-author-box .auhtor__member p { margin: 0 0 8px; }
.taboao-author-box .auhtor__member p:last-child { margin-bottom: 0; }
.taboao-author-box .auhtor__member a { color: var(--tb-green-600); text-decoration: underline; }
.taboao-author-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.taboao-author-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--tb-green-900);
	color: #fff;
	font-size: 14px;
	transition: background 0.2s, transform 0.2s;
}
.taboao-author-social a:hover { background: var(--tb-green-600); color: #fff; transform: scale(1.08); }

.taboao-archive-intro { max-width: 820px; margin-right: auto; margin-left: auto; font-size: 18px; text-align: center; }

/* ---------- Compartilhar ---------- */
.taboao-share { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.taboao-share a, .taboao-share button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--tb-navy-900);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.2s;
}
.taboao-share a:hover, .taboao-share button:hover { color: #fff; transform: scale(1.1); }
.taboao-share .taboao-share__whatsapp { background: #128C7E; }
.taboao-share .taboao-share__facebook { background: #1877F2; }
.taboao-share .taboao-share__x { background: #111; }
.taboao-share .taboao-share__telegram { background: #229ED9; }
.section-banner__links .taboao-share { justify-content: flex-start; }
.section-banner__links ul li + li { margin-left: 0; }

/* ---------- Lugar ---------- */
.taboao-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.taboao-features li { display: flex; align-items: center; gap: 10px; }
.taboao-features [class*="icon-"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tb-green-50);
	color: var(--tb-green-600);
	font-size: 12px;
}
.contact-item__value address { font-style: normal; }
address.contact-item__value { font-style: normal; }
.contact-item__value a { color: inherit; }
.time-work-btn.is-open { background: var(--tb-green-600); }
.time-work-btn.is-closed { background: #8a2b24; }
.section-city-place .uk-h3 { margin-top: 0; }

/* ---------- Comentários / avaliações ---------- */
.taboao-comment-list, .taboao-comment-list .children { margin: 0; padding: 0; list-style: none; }
.taboao-comment-list .children { padding-left: 40px; }
.taboao-comment-list > li + li, .taboao-comment-list .children > li { margin-top: 30px; }
.comment-reply-link { display: inline-block; margin-top: 8px; color: var(--tb-green-600); font-weight: 700; }
.taboao-form > * + * { margin-top: 20px; }
.taboao-form .form-submit { margin-bottom: 0; }
.comment-reply-title small { margin-left: 10px; font-size: 14px; }

.taboao-rating-input { margin: 0; padding: 0; border: 0; }
.taboao-rating-input legend { margin-bottom: 8px; }
.taboao-rating-input__stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.taboao-rating-input__stars input { position: absolute; opacity: 0; }
.taboao-rating-input__stars label { color: #cfd8d4; font-size: 26px; cursor: pointer; transition: color 0.15s; }
.taboao-rating-input__stars input:checked ~ label,
.taboao-rating-input__stars label:hover,
.taboao-rating-input__stars label:hover ~ label { color: #CDB010; }
.taboao-rating-input__stars input:focus-visible + label { outline: 2px solid var(--tb-navy-600); }

/* ---------- Barra lateral ---------- */
.widjet .uk-search { width: 100%; }
.list-articles-item__img img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.widjet-city .city-item__city { font-size: 28px; }

/* Widgets de bloco (Aparência → Widgets) no visual do layout. */
.widjet h2, .widjet .wp-block-heading { margin: 0 0 20px; color: #333; font-size: 20px; font-weight: 600; line-height: 1.35; }
.widjet ul.wp-block-latest-posts, .widjet ul.wp-block-categories, .widjet ul.wp-block-archives,
.widjet .wp-block-latest-comments { margin: 0; padding: 0; list-style: none; }
.widjet ul.wp-block-latest-posts li, .widjet ul.wp-block-categories li, .widjet ul.wp-block-archives li,
.widjet .wp-block-latest-comments li { padding: 8px 0; border-bottom: 1px solid #e3ebe7; }
.widjet ul.wp-block-latest-posts a, .widjet ul.wp-block-categories a, .widjet ul.wp-block-archives a { color: #222; font-weight: 600; }
.widjet .wp-block-latest-comments__comment { margin: 0; }
.widjet .wp-block-search__label { display: none; }
.widjet .wp-block-search__inside-wrapper { display: flex; overflow: hidden; border: 1px solid #CDDBE7; border-radius: 30px; background: #fff; }
.widjet .wp-block-search__input { flex: 1; height: 48px; padding: 0 20px; border: 0; background: transparent; }
.widjet .wp-block-search__button { margin: 0; padding: 0 20px; border: 0; background: var(--tb-green-600); color: #fff; font-weight: 700; }

/* ---------- Rodapé ---------- */
.taboao-footer-cats, .page-footer .uk-nav { margin: 0; padding: 0; list-style: none; }
.taboao-footer-cats .children { display: none; }
.page-footer .uk-nav li a { padding: 4px 0; }
.taboao-footer-search .uk-search-input { border-radius: 30px; }

/* ---------- Paginação / vazio ---------- */
.uk-pagination .screen-reader-text { position: absolute !important; }
.uk-pagination > * > .dots { pointer-events: none; }
.taboao-empty { padding: 20px 0; }
.taboao-page-links { margin-top: 30px; font-weight: 700; }
