/*
Theme Name: TesteBlog
Description: Tema de blocos para blog de mercado financeiro. Home em formato revista, barra de tópicos, sidebar com busca, cotações, mais lidos e newsletter.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: testeblog
*/
.wp-site-blocks > * + * { margin-block-start: 0; }
:focus-visible { outline: 2px solid #D4B98A; outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tb-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); box-sizing: border-box; }
.wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.wp-block-post-title a, .tb-card__title a, .tb-ranked a, .tb-brand, .tb-topics a, .tb-nav a { text-decoration: none; }
.wp-block-post-title a:hover, .tb-card__title a:hover, .tb-ranked a:hover { color: #D4B98A; }
.tb-kicker, .tb-kicker a { font-size: 13px; font-weight: 600; color: #D4B98A; text-decoration: none; }
.tb-kicker { margin: 0; }
.tb-header { border-bottom: 1px solid #344049; }
.tb-header__top { padding-block: 20px; gap: 24px; align-items: center; }
.tb-header__top > p { margin: 0; }
.tb-brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: #F5F6F7; }
.tb-brand img { display: block; }
.tb-tagline { margin: 0; font-size: 13px; color: #A8B1B9; }
.tb-nav { margin-left: auto; font-size: 15px; font-weight: 600; }
.tb-topics { border-top: 1px solid #344049; }
.tb-topics__in { display: flex; gap: 28px; overflow-x: auto; }
.tb-topics a { padding: 14px 0 12px; font-size: 14px; font-weight: 600; white-space: nowrap; color: #F5F6F7; border-bottom: 3px solid transparent; }
.tb-topics a:hover, .tb-topics a.is-active { color: #D4B98A; }
.tb-topics a.is-active { border-bottom-color: #D4B98A; }
.tb-main { padding-bottom: 64px; }
.tb-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-block: 40px; border-bottom: 1px solid #344049; }
.tb-hero > * { margin: 0 !important; }
@media (max-width: 860px) { .tb-hero { grid-template-columns: 1fr; } }
.tb-hero li, .tb-grid-query li { display: flex; flex-direction: column; gap: 10px; }
.tb-hero li > *, .tb-grid-query li > *, .tb-list-query li > * { margin: 0 !important; }
.tb-hero__main li { gap: 16px; }
.tb-hero__main .wp-block-post-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.06; }
.tb-hero__main .wp-block-post-excerpt { font-size: 18px; line-height: 1.55; max-width: 62ch; }
.tb-hero__side li { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #344049; }
.tb-hero__side .wp-block-post-title { font-size: 22px; }
.wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-post-excerpt__more-text { display: none; }
.tb-layout { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 40px; align-items: flex-start; }
.tb-layout > * { margin: 0 !important; }
.tb-content { flex: 1 1 560px; min-width: 0; }
.tb-grid-query .wp-block-post-template { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 32px 28px; }
.tb-grid-query li { padding-top: 16px; border-top: 1px solid #344049; }
.tb-grid-query .wp-block-post-title { font-size: 21px; }
.tb-grid-query .wp-block-post-excerpt { font-size: 15px; line-height: 1.55; }
.wp-block-post-featured-image, .tb-card__img { display: block; background: #16212A; border: 1px solid #344049; border-radius: 7px; overflow: hidden; }
.wp-block-post-featured-image img, .tb-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tb-meta { gap: 0 !important; font-size: 13px; color: #A8B1B9; }
.tb-meta .wp-block-post-date::before { content: "·"; margin: 0 6px; }
.tb-leitura::before { content: " · "; }
.tb-pagination { margin-top: 40px; gap: 16px; font-weight: 600; }
.tb-sidebar { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; position: sticky; top: 24px; }
.tb-sidebar > * { margin: 0 !important; }
.tb-widget > *, .tb-newsletter > * { margin: 0; }
.tb-widget__title { margin: 0 0 12px !important; padding-bottom: 10px; border-bottom: 1px solid #344049; font-size: 13px; font-weight: 600; }
.wp-block-search__input, .tb-newsletter__form input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 11px 12px; border-radius: 5px; border: 1px solid #344049; background: #10171D; color: #F5F6F7; }
.tb-quotes__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; gap: 16px; padding: 14px 0; border-bottom: 1px solid #344049; font-size: 15px; font-variant-numeric: tabular-nums; }
.tb-quotes__name, .tb-quotes__var { font-weight: 600; }
.tb-quotes__var { text-align: right; }
.tb-quotes__time { display: block; padding-top: 10px; font-size: 12px; color: #A8B1B9; }
.tb-ranked { list-style: none; margin: 0; padding: 0; }
.tb-ranked li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid #344049; }
.tb-ranked__n { font-size: 22px; font-weight: 600; line-height: 1.1; color: #D4B98A; }
.tb-ranked a { font-size: 15px; font-weight: 600; line-height: 1.35; }
.tb-newsletter { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: #16212A; border: 1px solid #344049; border-radius: 7px; }
.tb-newsletter__title { font-size: 22px; font-weight: 600; line-height: 1.15; }
.tb-newsletter__form { display: flex; flex-direction: column; gap: 8px; }
.tb-newsletter__form button { width: 100%; text-align: left; cursor: pointer; }
.tb-article { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.tb-article > * { margin: 0 !important; }
.tb-lead p { font-size: 21px; line-height: 1.5; color: #F5F6F7; }
.tb-byline { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-block: 1px solid #344049; }
.tb-byline > *, .tb-byline__text > * { margin: 0 !important; }
.tb-byline__text .wp-block-post-author-name { font-size: 15px; font-weight: 600; color: #F5F6F7; }
.wp-block-avatar img { border-radius: 7px; }
.tb-post-content { font-size: 18px; line-height: 1.7; max-width: 68ch; }
.tb-post-content h2 { font-size: 26px; margin-top: 40px; }
.wp-block-quote { padding-left: 24px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.tb-authorbox { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px !important; padding: 24px; background: #16212A; border: 1px solid #344049; border-radius: 7px; }
.tb-authorbox > *, .tb-authorbox__text > * { margin: 0 0 6px !important; }
.tb-authorbox__name { font-size: 20px !important; font-weight: 600; color: #F5F6F7 !important; }
.tb-related-wrap { margin-top: 24px !important; }
.tb-related-wrap h2 { font-size: 26px; padding-bottom: 12px; border-bottom: 1px solid #344049; margin: 0 0 20px; }
.tb-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.tb-card { display: flex; flex-direction: column; gap: 8px; }
.tb-card__img { aspect-ratio: 3 / 2; }
.tb-card__title { margin: 0; font-size: 18px; line-height: 1.2; }
.tb-card__meta { font-size: 13px; color: #A8B1B9; }
.tb-archive-head { padding: 48px 0 32px; border-bottom: 1px solid #344049; }
.tb-archive-head > * { margin: 0 0 12px !important; }
.tb-author { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding: 48px 0 32px; border-bottom: 1px solid #344049; }
.tb-author img { border-radius: 7px; width: 100%; height: auto; }
.tb-author__text { display: flex; flex-direction: column; gap: 12px; max-width: 68ch; }
.tb-author__text > * { margin: 0; }
@media (max-width: 600px) { .tb-author { grid-template-columns: 1fr; } .tb-author img { max-width: 120px; } }
.tb-author-posts { padding-top: 40px; max-width: 760px; }
.tb-author-posts h2 { padding-bottom: 12px; border-bottom: 1px solid #344049; margin-bottom: 0; }
.tb-list-query li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid #344049; }
.tb-list-query .wp-block-post-title { font-size: 20px; }
.tb-page { max-width: 760px; padding-top: 48px; }
.tb-page .wp-block-post-content { font-size: 18px; line-height: 1.7; }
.tb-footer { border-top: 1px solid #344049; }
.tb-footer__in { justify-content: space-between; align-items: baseline; gap: 32px; padding-block: 32px; }
.tb-footer__in > * { margin: 0; }
.tb-footer .wp-block-site-title { font-size: 20px; font-weight: 600; }
.tb-footer .wp-block-site-title a { text-decoration: none; }
.tb-disclaimer { font-size: 13px; color: #A8B1B9; }
