/* Hub Societário Blog — mirrors the site's navy, burgundy, technical pink visual language. */
:root {
	--hub-navy: #0f172a;
	--hub-navy-soft: #1e293b;
	--hub-wine: #5b1e2d;
	--hub-pink: #e94e9b;
	--hub-pink-hover: #ff4fa3;
	--hub-paper: #f5f3ef;
	--hub-ink: #0f172a;
	--hub-muted: #5d6470;
	--hub-line: #d9d6d0;
	--hub-container: 1280px;
	--hub-pad: clamp(20px, 4vw, 80px);
	--hub-font: "Mona Sans", "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
}

body.hub-blog-site { background: var(--hub-paper); color: var(--hub-ink); font-family: var(--hub-font); }
.hub-blog-site * { box-sizing: border-box; }
.hub-blog-site a { color: inherit; text-decoration: none; }
.hub-blog-site img { display: block; max-width: 100%; }
.hub-blog-container { width: 100%; max-width: var(--hub-container); padding-inline: var(--hub-pad); margin-inline: auto; }

.hub-blog-header { position: fixed; z-index: 100; inset: 0 0 auto; background: rgba(15, 23, 42, .96); border-bottom: 1px solid rgba(245, 243, 239, .09); backdrop-filter: blur(12px); }
.hub-blog-nav { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hub-blog-brand { flex: 0 0 auto; }
.hub-blog-brand img { width: auto; height: 52px; min-width: 162px; }
.hub-blog-nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 30px; color: rgba(245,243,239,.7); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.hub-blog-nav-links > a { transition: color .2s ease; }
.hub-blog-nav-links > a:hover, .hub-blog-nav-links > a.is-current { color: var(--hub-pink); }
.hub-blog-nav-cta { padding: 11px 18px; color: var(--hub-paper) !important; background: var(--hub-pink); border-radius: 2px; }
.hub-blog-nav-cta:hover { color: var(--hub-paper) !important; background: var(--hub-pink-hover); }

.hub-blog-main { overflow: hidden; padding-top: 89px; }
.hub-blog-intro { position: relative; overflow: hidden; padding: clamp(66px, 9vw, 130px) 0 clamp(58px, 7vw, 95px); background: var(--hub-navy); color: var(--hub-paper); }
.hub-blog-intro::before { content: ""; position: absolute; width: min(730px, 75vw); height: 500px; right: -14%; top: -60%; background: radial-gradient(ellipse, rgba(91,30,45,.68), transparent 67%); filter: blur(24px); }
.hub-blog-intro::after { content: ""; position: absolute; width: 340px; height: 340px; left: -11%; bottom: -67%; background: radial-gradient(ellipse, rgba(233,78,155,.28), transparent 66%); filter: blur(22px); }
.hub-blog-intro .hub-blog-container { position: relative; z-index: 1; max-width: 1030px; }
.hub-blog-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(245,243,239,.54); font-size: 12px; margin-bottom: 48px; }
.hub-blog-crumbs a:hover { color: var(--hub-pink); }
.hub-blog-eyebrow { margin: 0 0 20px; color: var(--hub-pink); font-size: 11px; font-weight: 700; letter-spacing: .29em; text-transform: uppercase; }
.hub-blog-intro h1, .hub-post-heading h1 { margin: 0; font-weight: 600; letter-spacing: -.048em; line-height: .98; }
.hub-blog-intro h1 { font-size: clamp(55px, 8vw, 108px); }
.hub-blog-intro > .hub-blog-container > p:last-child { max-width: 620px; margin: 26px 0 0; color: rgba(245,243,239,.72); font-size: clamp(17px, 1.7vw, 21px); font-weight: 350; line-height: 1.5; }

.hub-blog-category-bar { border-bottom: 1px solid var(--hub-line); background: rgba(255,255,255,.35); }
.hub-blog-category-bar .hub-blog-container { display: flex; gap: 9px; overflow-x: auto; padding-block: 20px; scrollbar-width: none; }
.hub-blog-chip { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--hub-line); border-radius: 999px; color: var(--hub-muted); font-size: 12px; font-weight: 600; transition: .2s ease; }
.hub-blog-chip:hover, .hub-blog-chip.is-active { border-color: var(--hub-navy); background: var(--hub-navy); color: var(--hub-paper); }

.hub-blog-listing { padding-top: clamp(50px, 7vw, 100px); padding-bottom: clamp(75px, 9vw, 130px); }
.hub-blog-featured { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); background: var(--hub-wine); color: var(--hub-paper); }
.hub-blog-featured-media { min-height: 420px; overflow: hidden; background: var(--hub-navy-soft); }
.hub-blog-media { height: 100%; width: 100%; object-fit: cover; transition: transform .5s ease; }
a:hover .hub-blog-media { transform: scale(1.035); }
.hub-blog-image-placeholder { position: relative; display: grid; place-items: end start; min-height: 100%; padding: 28px; overflow: hidden; background: linear-gradient(145deg, #202d45, var(--hub-navy) 57%, #571f35); color: rgba(245,243,239,.9); font-weight: 650; font-size: clamp(19px, 3vw, 34px); line-height: .88; letter-spacing: -.06em; }
.hub-blog-image-placeholder::before { content: ""; position: absolute; width: 260px; height: 260px; top: -60px; right: -80px; border: 1px solid rgba(233,78,155,.45); border-radius: 50%; box-shadow: 0 0 0 40px rgba(233,78,155,.05), 0 0 0 80px rgba(233,78,155,.035); }
.hub-blog-image-placeholder span { position: relative; z-index: 1; }
.hub-blog-featured-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 72px); }
.hub-blog-kicker { margin: 0 0 30px; color: rgba(245,243,239,.55); font-size: 10px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.hub-blog-category { display: inline-block; margin-bottom: 15px; color: var(--hub-pink); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hub-blog-category:hover { color: var(--hub-pink-hover); }
.hub-blog-featured h2 { max-width: 540px; margin: 0; font-size: clamp(32px, 4.1vw, 57px); letter-spacing: -.045em; line-height: 1.02; }
.hub-blog-featured h2 a:hover, .hub-blog-card h3 a:hover { color: var(--hub-pink); }
.hub-blog-featured-excerpt { max-width: 490px; margin: 25px 0 19px; color: rgba(245,243,239,.72); font-size: 16px; line-height: 1.55; }
.hub-blog-meta { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(245,243,239,.58); font-size: 12px; }
.hub-blog-text-link { margin-top: 36px; color: var(--hub-paper); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.hub-blog-text-link span { color: var(--hub-pink); font-size: 17px; vertical-align: -1px; }
.hub-blog-section-heading { margin-top: clamp(70px, 10vw, 140px); margin-bottom: 33px; }
.hub-blog-section-heading h2, .hub-related h2 { margin: 0; font-size: clamp(38px, 5vw, 65px); letter-spacing: -.05em; line-height: 1; }
.hub-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-blog-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--hub-line); background: rgba(255,255,255,.24); }
.hub-blog-card-media { display: block; height: 230px; overflow: hidden; background: var(--hub-navy); }
.hub-blog-card-copy { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; padding: 26px; }
.hub-blog-card h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.035em; line-height: 1.07; }
.hub-blog-card-copy > p:not(.hub-blog-eyebrow) { margin: 16px 0 20px; color: var(--hub-muted); font-size: 14px; line-height: 1.55; }
.hub-blog-card .hub-blog-meta { margin-top: auto; color: var(--hub-muted); }
.hub-blog-pagination { margin-top: 60px; }
.hub-blog-pagination ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hub-blog-pagination a, .hub-blog-pagination span { display: block; min-width: 35px; padding: 8px 11px; border: 1px solid var(--hub-line); color: var(--hub-navy); font-size: 12px; text-align: center; }
.hub-blog-pagination .current, .hub-blog-pagination a:hover { background: var(--hub-navy); border-color: var(--hub-navy); color: var(--hub-paper); }
.hub-blog-empty { max-width: 690px; padding: 48px; background: var(--hub-navy); color: var(--hub-paper); }
.hub-blog-empty h2 { margin: 0; font-size: clamp(35px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; }
.hub-blog-empty > p:last-of-type { color: rgba(245,243,239,.7); font-size: 17px; line-height: 1.55; }
.hub-blog-button { display: inline-block; margin-top: 18px; padding: 16px 22px; background: var(--hub-pink); color: var(--hub-paper); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Archive: deliberately quiet — title, twelve recent posts, then native pagination. */
.hub-blog-archive-heading { padding: clamp(54px, 8vw, 110px) 0 clamp(34px, 5vw, 62px); border-bottom: 1px solid var(--hub-line); }
.hub-blog-archive-heading h1 { margin: 0; color: var(--hub-navy); font-size: clamp(48px, 7vw, 90px); font-weight: 600; letter-spacing: -.055em; line-height: .95; }
.hub-blog-archive-listing { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(75px, 9vw, 130px); }
.hub-blog-grid-minimal { row-gap: 34px; }
.hub-blog-card-minimal { border: 0; background: transparent; }
.hub-blog-card-minimal .hub-blog-card-media { height: 238px; }
.hub-blog-card-minimal .hub-blog-card-copy { min-height: 0; padding: 17px 0 0; }
.hub-blog-card-minimal h2 { margin: 0; color: var(--hub-navy); font-size: clamp(22px, 2vw, 29px); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.hub-blog-card-minimal h2 a:hover { color: var(--hub-pink); }

.hub-post-header { padding: clamp(44px, 6vw, 76px) 0 clamp(35px, 4vw, 54px); background: var(--hub-navy); color: var(--hub-paper); }
.hub-post-heading { max-width: 1030px; }
.hub-post-heading .hub-blog-crumbs { margin-bottom: 31px; }
.hub-post-heading h1 { max-width: 860px; font-size: clamp(38px, 5vw, 72px); }
.hub-post-deck { max-width: 680px; margin: 24px 0 21px; color: rgba(245,243,239,.72); font-size: clamp(17px, 1.65vw, 21px); font-weight: 350; line-height: 1.48; }
.hub-post-byline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: rgba(245,243,239,.64); font-size: 13px; }
.hub-post-byline .hub-blog-meta { color: inherit; }
.hub-post-cover { margin-top: clamp(28px, 4vw, 54px); }
.hub-post-cover .hub-blog-media { height: min(52vw, 580px); object-fit: cover; }
.hub-post-layout { padding-top: clamp(45px, 6vw, 78px); padding-bottom: clamp(70px, 9vw, 130px); }
.hub-post-content { max-width: 720px; color: #263044; font-size: 18px; font-weight: 400; line-height: 1.72; }
.hub-post-layout .hub-post-content { margin-inline: auto; }
.hub-post-content > *:first-child { margin-top: 0; }
.hub-post-content p, .hub-post-content ul, .hub-post-content ol { margin: 0 0 1.45em; }
.hub-post-content h2, .hub-post-content h3, .hub-post-content h4 { margin: 1.75em 0 .6em; color: var(--hub-navy); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.hub-post-content h2 { font-size: clamp(30px, 4vw, 46px); }
.hub-post-content h3 { font-size: clamp(25px, 3vw, 34px); }
.hub-post-content h4 { font-size: 22px; }
.hub-post-content a { color: var(--hub-wine); text-decoration: underline; text-decoration-color: var(--hub-pink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.hub-post-content a:hover { color: var(--hub-pink); }
.hub-post-content ul, .hub-post-content ol { padding-left: 1.3em; }
.hub-post-content li + li { margin-top: .45em; }
.hub-post-content blockquote { margin: 2em 0; padding: 7px 0 7px 28px; border-left: 3px solid var(--hub-pink); color: var(--hub-navy); font-size: clamp(22px, 3vw, 30px); font-weight: 500; line-height: 1.35; }
.hub-post-content blockquote p { margin: 0; }
.hub-post-content figure, .hub-post-content .wp-block-image { margin: 2em 0; }
.hub-post-content img { height: auto; max-width: 100%; }
.hub-post-content figcaption { margin-top: 9px; color: var(--hub-muted); font-size: 12px; text-align: left; }
.hub-post-content hr { margin: 2.8em 0; border: 0; border-top: 1px solid var(--hub-line); }
.hub-post-content table { display: block; width: 100%; margin: 2em 0; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.hub-post-content th, .hub-post-content td { min-width: 140px; padding: 12px; border: 1px solid var(--hub-line); text-align: left; vertical-align: top; }
.hub-post-content th { color: var(--hub-navy); background: rgba(15,23,42,.06); }
.hub-post-content pre { margin: 2em 0; padding: 22px; overflow: auto; background: var(--hub-navy); color: var(--hub-paper); font-size: 14px; line-height: 1.55; }
.hub-post-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hub-post-content :is(.wp-block-embed, .wp-block-video) { margin: 2em 0; }
.hub-post-content iframe, .hub-post-content video { display: block; max-width: 100%; }
.hub-post-pages { margin-top: 30px; }
.hub-post-navigation { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; padding-top: 31px; padding-bottom: 31px; border-top: 1px solid var(--hub-line); border-bottom: 1px solid var(--hub-line); }
.hub-post-navigation > div { min-width: 0; }
.hub-post-navigation .hub-post-next { text-align: right; }
.hub-post-navigation a { display: block; color: var(--hub-navy); }
.hub-post-navigation > a { color: var(--hub-wine); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hub-post-navigation span { display: block; margin-bottom: 7px; color: var(--hub-muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hub-post-navigation strong { font-size: 15px; line-height: 1.2; }
.hub-related { padding: clamp(68px, 9vw, 130px) 0; }
.hub-related .hub-blog-eyebrow { margin-bottom: 19px; }
.hub-related h2 { margin-bottom: 38px; }

.hub-blog-footer { padding: 80px 0 32px; background: var(--hub-navy-soft); color: rgba(245,243,239,.62); }
.hub-blog-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.25fr; gap: 48px; margin-bottom: 60px; }
.hub-blog-footer-logo { width: auto; height: 54px; margin-bottom: 20px; }
.hub-blog-footer p { margin: 0; max-width: 360px; font-size: 14px; line-height: 1.58; }
.hub-blog-footer h2 { margin: 0 0 16px; color: var(--hub-paper); font-size: 11px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.hub-blog-footer a { display: block; padding: 4px 0; font-size: 14px; line-height: 1.5; }
.hub-blog-footer a:hover { color: var(--hub-pink); }
.hub-blog-footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-top: 27px; border-top: 1px solid rgba(245,243,239,.09); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 780px) {
	.hub-blog-nav { min-height: 72px; }
	.hub-blog-brand img { height: 40px; min-width: 126px; }
	.hub-blog-nav-links { gap: 0; }
	.hub-blog-nav-links > a:not(.hub-blog-nav-cta) { display: none; }
	.hub-blog-nav-cta { padding: 10px 13px; font-size: 10px; }
	.hub-blog-main { padding-top: 72px; }
	.hub-blog-intro { padding-top: 62px; }
	.hub-blog-crumbs { margin-bottom: 34px; }
	.hub-blog-featured { grid-template-columns: 1fr; }
	.hub-blog-featured-media { min-height: 260px; height: 53vw; }
	.hub-blog-featured-copy { padding: 32px 26px 38px; }
	.hub-blog-grid { grid-template-columns: 1fr; gap: 18px; }
	.hub-blog-card { display: grid; grid-template-columns: 39% 1fr; }
	.hub-blog-card-media { height: auto; min-height: 180px; }
	.hub-blog-card-copy { min-height: 0; padding: 21px; }
	.hub-blog-card-minimal .hub-blog-card-copy { padding: 15px 0 0; }
	.hub-blog-card-copy > p:not(.hub-blog-eyebrow) { display: none; }
	.hub-post-header { padding-top: 43px; }
	.hub-post-heading .hub-blog-crumbs { margin-bottom: 25px; }
	.hub-post-heading h1 { font-size: clamp(36px, 10.5vw, 49px); }
	.hub-post-deck { margin-top: 19px; font-size: 17px; }
	.hub-post-cover .hub-blog-media { height: 59vw; }
	.hub-post-content { font-size: 17px; }
	.hub-post-navigation { grid-template-columns: 1fr 1fr; gap: 22px; }
	.hub-post-navigation > a { display: none; }
	.hub-blog-footer-grid { grid-template-columns: 1fr; gap: 38px; }
	.hub-blog-footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
	.hub-blog-card { display: block; }
	.hub-blog-card-media { height: 190px; }
	.hub-blog-pagination ul { gap: 3px; }
	.hub-blog-pagination a, .hub-blog-pagination span { min-width: 29px; padding: 7px; }
}
