/* ==========================================================================
   Hello Portugal — estilos principais
   Design moderno com as cores da bandeira de Portugal:
   verde #046A38 · vermelho #DA291C · amarelo #FFCC29
   ========================================================================== */

:root {
	--hp-green: #046A38;
	--hp-deep: #0A3B2A;
	--hp-deeper: #072B1F;
	--hp-red: #DA291C;
	--hp-yellow: #FFCC29;
	--hp-ink: #0E1A14;
	--hp-text: #2C3631;
	--hp-muted: #64706A;
	--hp-rule: #E4E8E3;
	--hp-soft: #F4F6F3;
	--hp-green-soft: #E8F2EC;
	--hp-bg: #FFFFFF;
	--hp-radius: 14px;
	--hp-radius-lg: 20px;
	--hp-radius-sm: 8px;
	--hp-display: "HP Sora", "HP Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--hp-sans: "HP Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--hp-container: 1240px;
	--hp-gutter: 24px;
	--hp-shadow: 0 1px 2px rgba(14,26,20,.04), 0 8px 24px rgba(14,26,20,.06);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0; background: var(--hp-bg); color: var(--hp-text);
	font-family: var(--hp-sans); font-size: 16px; line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--hp-green); }
:focus-visible { outline: 3px solid var(--hp-yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--hp-display); color: var(--hp-ink); font-weight: 700;
	line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--hp-rule); margin: 2em 0; }
::selection { background: var(--hp-yellow); color: var(--hp-ink); }

.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 1000; padding: 10px 16px;
	background: var(--hp-yellow); color: var(--hp-ink); border-radius: var(--hp-radius-sm); font-weight: 700;
}
.container { width: 100%; max-width: calc(var(--hp-container) + var(--hp-gutter) * 2); margin: 0 auto; padding: 0 var(--hp-gutter); }

/* Faixa da bandeira (2/5 verde · 3/5 vermelho) */
.flag-stripe { display: flex; height: 5px; }
.flag-stripe span:first-child { flex: 2; background: var(--hp-green); }
.flag-stripe span:last-child { flex: 3; background: var(--hp-red); }

/* Cabeçalho -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--hp-rule); }
.admin-bar .site-header { top: 32px; }
.topbar { background: var(--hp-deep); color: #CFE0D6; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.topbar-date { display: inline-flex; align-items: center; gap: 8px; }
.topbar-date::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hp-yellow); }
.topbar-social { font-weight: 600; color: #fff; }
.topbar-date + .topbar-social, .topbar-date + .topbar-nav { margin-left: auto; }
.topbar-social:hover, .topbar-nav a:hover { color: var(--hp-yellow); }
.topbar-nav { margin-left: 0; }
.topbar-social + .topbar-nav { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.18); }
.topbar-nav ul { list-style: none; display: flex; gap: 18px; }
.topbar-nav a { color: #fff; }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.site-title { margin: 0; font-size: inherit; line-height: 1; flex: 0 0 auto; }
.site-title .custom-logo-link { display: inline-block; }
.site-title img { max-height: 42px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav a {
	position: relative; display: block; padding: 10px 12px;
	font: 600 14.5px/1.2 var(--hp-display); letter-spacing: -.01em; color: var(--hp-ink);
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 2px;
	background: var(--hp-red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav .menu > li > a:hover { color: var(--hp-ink); }
.main-nav .menu > li > a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-ancestor > a::after,
.main-nav .current-cat > a::after { transform: scaleX(1); }
.main-nav .sub-menu, .main-nav .children {
	list-style: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 230px;
	background: #fff; border-radius: var(--hp-radius); border-top: 3px solid var(--hp-green);
	box-shadow: 0 18px 40px rgba(14,26,20,.12); padding: 8px; display: none;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { font: 500 14px/1.3 var(--hp-sans); border-radius: var(--hp-radius-sm); }
.main-nav .sub-menu a:hover { background: var(--hp-green-soft); color: var(--hp-green); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border-radius: 50%;
	background: var(--hp-soft); border: 0; color: var(--hp-ink); cursor: pointer;
}
.icon-btn:hover { background: var(--hp-green); color: #fff; }
.menu-toggle { display: none; }
.search-panel { background: var(--hp-soft); padding: 18px 0; border-top: 1px solid var(--hp-rule); }
.search-panel .search-form { max-width: 680px; margin: 0 auto; }

/* Comuns ----------------------------------------------------------------- */
.site-main { padding-bottom: 80px; }
.kicker {
	display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
	font: 700 11.5px/1.2 var(--hp-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--hp-red);
}
.kicker::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: currentColor; }
.kicker:hover { color: var(--hp-green); }
.entry-meta, .card-meta { font-size: 13px; color: var(--hp-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.entry-meta a { color: var(--hp-ink); font-weight: 600; }
.entry-meta a:hover { color: var(--hp-green); }
.entry-thumb { display: block; overflow: hidden; background: var(--hp-soft); border-radius: var(--hp-radius); }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .35s ease; }
a.entry-thumb:hover img { transform: scale(1.04); }

.section-title {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin: 0 0 26px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--hp-ink);
}
.section-title span { display: inline-flex; align-items: center; gap: 12px; }
.section-title span::before {
	content: ""; flex: 0 0 auto; width: 30px; height: 6px; border-radius: 3px;
	background: linear-gradient(90deg, var(--hp-green) 0 40%, var(--hp-red) 40% 100%);
}
.section-more {
	flex: 0 0 auto; font: 600 13.5px/1 var(--hp-sans); letter-spacing: 0; color: var(--hp-ink);
	padding: 9px 14px; border-radius: 999px; border: 1px solid var(--hp-rule);
}
.section-more:hover { background: var(--hp-red); border-color: var(--hp-red); color: #fff; }

.grid { display: grid; gap: 40px 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card .entry-thumb { margin-bottom: 16px; }
.card-title { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.card-title a:hover { color: var(--hp-green); }
.card-excerpt { color: var(--hp-muted); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.grid-4 .card-title { font-size: 17px; }

/* Hero da página inicial --------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(800px 400px at 95% -10%, rgba(255,204,41,.14), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(218,41,28,.18), transparent 60%),
		var(--hp-deep);
	padding: 56px 0 0; margin-bottom: 64px;
}
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero-main:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.hero .kicker { color: var(--hp-yellow); }
.hero .kicker:hover { color: #fff; }
.hero-title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; letter-spacing: -.035em; color: #fff; margin-bottom: 18px; }
.hero-title a:hover { color: var(--hp-yellow); }
.hero-excerpt { font-size: 18px; line-height: 1.6; color: #CFE0D6; margin-bottom: 18px; max-width: 54ch; }
.hero .entry-meta { color: #A9C2B4; }
.hero .entry-meta a { color: #fff; }
.hero-cta {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
	padding: 13px 22px; border-radius: 999px; background: var(--hp-red); color: #fff;
	font: 700 14.5px/1 var(--hp-display);
}
.hero-cta:hover { background: var(--hp-yellow); color: var(--hp-ink); }
.hero-main .entry-thumb { border-radius: var(--hp-radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-main .entry-thumb img { aspect-ratio: 4 / 3; }

.hero-latest { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.14); padding: 28px 0 36px; }
.hero-latest-title { font: 700 12px/1 var(--hp-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hp-yellow); margin-bottom: 20px; }
.hero-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hero-list-item { display: grid; grid-template-columns: 46px 1fr; gap: 10px; }
.hero-num { font: 800 30px/1 var(--hp-display); font-variant-numeric: tabular-nums; color: rgba(255,255,255,.22); letter-spacing: -.04em; }
.hero-list .kicker { margin-bottom: 6px; font-size: 10.5px; }
.hero-list-title { font-size: 15.5px; line-height: 1.35; color: #fff; margin: 0; }
.hero-list-title a:hover { color: var(--hp-yellow); }

.cat-section { padding-bottom: 64px; }
.cat-section:nth-of-type(even) .section-title span::before { background: linear-gradient(90deg, var(--hp-red) 0 60%, var(--hp-yellow) 60% 100%); }

/* Layout com barra lateral ----------------------------------------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.layout-home { padding-top: 8px; }
.no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
.sidebar { position: sticky; top: 104px; }
.widget { margin-bottom: 28px; font-size: 15px; background: #fff; border: 1px solid var(--hp-rule); border-radius: var(--hp-radius-lg); padding: 24px; }
.widget-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.widget-title::before { content: ""; width: 18px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--hp-green) 0 40%, var(--hp-red) 40% 100%); }
.widget ul { list-style: none; }
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--hp-rule); }
.widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget ul ul { margin-left: 14px; }
.widget-popular .numbered { list-style: none; counter-reset: pop; }
.widget-popular .numbered li {
	counter-increment: pop; display: grid; grid-template-columns: 40px 1fr; align-items: start; padding: 12px 0;
	border-bottom: 1px solid var(--hp-rule); font: 600 15px/1.4 var(--hp-display); letter-spacing: -.01em; color: var(--hp-ink);
}
.widget-popular .numbered li::before { content: counter(pop, decimal-leading-zero); font-weight: 800; font-size: 22px; line-height: 1; color: var(--hp-red); }
.widget-popular .numbered li:last-child { border-bottom: 0; padding-bottom: 0; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; color: var(--hp-muted); font-size: 13px; }
.cat-list li a { color: var(--hp-ink); font-weight: 600; font-size: 15px; }
.cat-list li a:hover { color: var(--hp-green); }

/* Cabeçalhos de arquivo/pesquisa ----------------------------------------- */
.page-header {
	background: radial-gradient(600px 300px at 100% 0, rgba(255,204,41,.12), transparent 60%), var(--hp-deep);
	color: #CFE0D6; padding: 48px 0 52px; margin-bottom: 48px;
}
.page-header .breadcrumbs, .page-header .breadcrumbs a { color: #A9C2B4; }
.page-header .breadcrumbs li[aria-current] { color: #fff; }
.page-header .breadcrumbs a:hover { color: var(--hp-yellow); }
.page-kicker { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--hp-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-yellow); margin-bottom: 12px; }
.page-kicker::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: currentColor; }
.page-title { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 8px; letter-spacing: -.035em; }
.page-header .page-title { color: #fff; }
.archive-description { color: #CFE0D6; font-size: 17px; max-width: 720px; }
.archive-description p:last-child { margin: 0; }
.page-search { max-width: 600px; margin-top: 20px; }

.list-item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--hp-rule); }
.list-item:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.list-item-title { font-size: 23px; line-height: 1.25; margin-bottom: 10px; }
.list-item-title a:hover { color: var(--hp-green); }
.list-item-excerpt { color: var(--hp-muted); font-size: 15.5px; margin-bottom: 12px; }

.breadcrumbs { font-size: 13px; color: var(--hp-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumbs a:hover { color: var(--hp-green); }
.breadcrumbs li[aria-current] { color: var(--hp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* Paginação */
.pagination { margin-top: 16px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; min-width: 44px; height: 44px; padding: 0 16px; align-items: center; justify-content: center;
	border-radius: 999px; font: 700 14px/1 var(--hp-display); background: var(--hp-soft); color: var(--hp-ink);
}
.pagination .page-numbers.current { background: var(--hp-green); color: #fff; }
.pagination a.page-numbers:hover { background: var(--hp-red); color: #fff; }

/* Artigo ----------------------------------------------------------------- */
.layout-single { padding-top: 44px; }
.single-article .entry-header { margin-bottom: 30px; }
.entry-title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 18px; }
.standfirst { font-size: 20px; line-height: 1.55; color: var(--hp-muted); margin-bottom: 22px; }
.entry-header-meta { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hp-rule); border-bottom: 1px solid var(--hp-rule); }
.entry-header-meta .entry-meta { font-size: 14px; }
.updated-wrap { color: var(--hp-muted); }
.entry-figure { margin: 0 0 40px; }
.entry-figure img { width: 100%; border-radius: var(--hp-radius-lg); }
.entry-figure figcaption, .wp-caption-text, .wp-element-caption, figcaption { font-size: 13px; color: var(--hp-muted); padding-top: 10px; line-height: 1.5; }

.entry-content { font-size: 18px; line-height: 1.8; color: var(--hp-text); max-width: 760px; }
.page-article .entry-content, .single-article .entry-content { overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: 29px; margin-top: 1.7em; margin-bottom: .6em; }
.entry-content h3 { font-size: 23px; margin-top: 1.5em; margin-bottom: .5em; }
.entry-content h4 { font-size: 19px; margin-top: 1.4em; }
.entry-content a { color: var(--hp-green); font-weight: 500; text-decoration: underline; text-decoration-color: var(--hp-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry-content a:hover { color: var(--hp-red); text-decoration-color: var(--hp-red); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--hp-red); font-weight: 700; }
.entry-content blockquote, .wp-block-quote {
	position: relative; margin: 2em 0; padding: 28px 30px 26px 34px;
	background: var(--hp-green-soft); border-radius: var(--hp-radius-lg); border-left: 6px solid var(--hp-green);
	font: 600 21px/1.5 var(--hp-display); letter-spacing: -.015em; color: var(--hp-deep);
}
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 14px; font: 600 13px/1.4 var(--hp-sans); font-style: normal; color: var(--hp-red); letter-spacing: 0; }
.wp-block-pullquote { border-top: 4px solid var(--hp-green); border-bottom: 4px solid var(--hp-red); padding: 1.5em 0; text-align: center; }
.wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; background: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--hp-rule); padding: 11px 12px; text-align: left; }
.entry-content th { background: var(--hp-deep); color: #fff; font-weight: 600; }
.entry-content code { font-size: .85em; background: var(--hp-soft); padding: 2px 6px; border-radius: 4px; }
.entry-content pre { background: var(--hp-soft); padding: 16px; overflow-x: auto; font-size: 14px; border-radius: var(--hp-radius-sm); }
.entry-content img { height: auto; border-radius: var(--hp-radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content-elementor { max-width: none; font-size: inherit; line-height: inherit; }
.entry-content-elementor img { border-radius: 0; }

.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignwide { max-width: none; }
.sticky .card-title::before, .sticky .list-item-title::before { content: "★ "; color: var(--hp-yellow); }
.page-links { font-size: 14px; margin: 1.5em 0; }

.entry-footer { margin-top: 44px; max-width: 760px; }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.entry-tags-label, .share-label { font: 700 14px/1 var(--hp-display); color: var(--hp-ink); margin-right: 4px; }
.entry-tags a { background: var(--hp-soft); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.entry-tags a:hover { background: var(--hp-green); color: #fff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 32px; font-size: 13px; font-weight: 600; }
.share a { border: 1px solid var(--hp-rule); padding: 7px 14px; border-radius: 999px; color: var(--hp-text); }
.share a:hover { background: var(--hp-red); border-color: var(--hp-red); color: #fff; }

.author-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 26px; background: var(--hp-soft); border-radius: var(--hp-radius-lg); margin-bottom: 8px; }
.author-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--hp-green) 0 40%, var(--hp-red) 40% 100%); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; background: #DCE5DF; font-size: 0; }
.author-box-label { font: 700 11px/1 var(--hp-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-red); margin-bottom: 6px; }
.author-box-name { font: 800 19px/1.3 var(--hp-display); margin-bottom: 6px; }
.author-box-bio { color: var(--hp-muted); font-size: 15px; margin: 0; }

.post-navigation { padding: 28px 0 8px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation .nav-previous a, .post-navigation .nav-next a { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--hp-rule); border-radius: var(--hp-radius); }
.post-navigation a:hover { border-color: var(--hp-green); background: var(--hp-green-soft); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-label { display: block; font: 700 11px/1 var(--hp-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-red); margin-bottom: 8px; }
.post-navigation .nav-title { font: 700 16px/1.35 var(--hp-display); color: var(--hp-ink); }

.related { margin-top: 52px; }
.related .card-title { font-size: 17px; }

/* Páginas */
.page-wrap { max-width: 880px; padding-top: 44px; }
.page-article .entry-title { margin-bottom: 30px; }
.page-article .entry-content { max-width: none; }

/* Elementor */
.elementor-page-content { width: 100%; }
.hp-elementor-page .site-main { padding-bottom: 0; }

/* Comentários */
.comments-area { margin-top: 56px; max-width: 760px; }
.comments-area .section-title { font-size: 23px; }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-list .children { list-style: none; margin-left: 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--hp-rule); font-size: 15.5px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--hp-muted); margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--hp-ink); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.reply a { font-size: 13px; font-weight: 700; color: var(--hp-red); }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--hp-ink); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; color: var(--hp-muted); font-size: 13px; }
.comment-notes { font-size: 13px; color: var(--hp-muted); }

/* Formulários e botões */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="tel"], textarea, select {
	width: 100%; padding: 13px 16px; font: 15px/1.4 var(--hp-sans); color: var(--hp-ink);
	background: #fff; border: 1px solid #D5DCD7; border-radius: var(--hp-radius-sm);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 3px var(--hp-green-soft); }
button, .button, input[type="submit"], .wp-block-button__link, .wp-element-button {
	display: inline-block; cursor: pointer; border: 0; border-radius: 999px;
	background: var(--hp-red); color: #fff; padding: 13px 24px; font: 700 14px/1.2 var(--hp-display);
	transition: background-color .15s ease, color .15s ease;
}
button:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { background: var(--hp-green); color: #fff; }
.icon-btn:hover { background: var(--hp-green); }
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; border-radius: 999px; padding-left: 20px; }
.search-form .search-submit { flex: 0 0 auto; }
.footer-col .search-form, .sidebar .search-form { flex-direction: column; }
.footer-col .search-submit, .sidebar .search-submit { width: 100%; }

/* 404 */
.error-404 { max-width: 640px; text-align: center; padding-top: 80px; padding-bottom: 32px; }
.error-code { font: 800 120px/1 var(--hp-display); letter-spacing: -.05em; margin-bottom: 8px; background: linear-gradient(90deg, var(--hp-green) 0 40%, var(--hp-red) 40% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-404 .search-form { margin: 24px 0; }
.no-results { padding: 24px 0; font-size: 17px; }

/* Rodapé ----------------------------------------------------------------- */
.site-footer { background: var(--hp-deeper); color: #A9C2B4; margin-top: 24px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px; padding-top: 64px; padding-bottom: 44px; }
.footer-about img { width: 230px; height: auto; margin-bottom: 18px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 13px; }
.footer-social a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); color: #fff; }
.footer-social a:hover { background: var(--hp-yellow); color: var(--hp-ink); }
.site-footer .widget-title { color: #fff; font-size: 15px; }
.site-footer .widget-title::before { background: var(--hp-yellow); width: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col li a { color: #DCE8E1; }
.footer-col li a:hover { color: var(--hp-yellow); }
.footer-col .widget { background: none; border: 0; padding: 0; margin-bottom: 24px; }
.footer-col .widget ul li { border: 0; padding: 6px 0; }
.footer-col .search-field { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.footer-col .search-field::placeholder { color: #A9C2B4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 22px; font-size: 13px; }
.copyright { margin: 0; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #DCE8E1; }
.footer-nav a:hover { color: var(--hp-yellow); }

/* Blocos WP -------------------------------------------------------------- */
.wp-block-image { margin-bottom: 1.5em; }
.wp-block-separator { border: 0; height: 5px !important; background: linear-gradient(90deg, var(--hp-green) 0 40%, var(--hp-red) 40% 100%); border-radius: 3px; max-width: 120px; }
.has-green-color { color: #046A38; } .has-green-background-color { background-color: #046A38; }
.has-deep-color { color: #0A3B2A; } .has-deep-background-color { background-color: #0A3B2A; }
.has-red-color { color: #DA291C; } .has-red-background-color { background-color: #DA291C; }
.has-yellow-color { color: #FFCC29; } .has-yellow-background-color { background-color: #FFCC29; }
.has-ink-color { color: #0E1A14; } .has-ink-background-color { background-color: #0E1A14; }
.has-soft-color { color: #F4F6F3; } .has-soft-background-color { background-color: #F4F6F3; }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }

/* Responsivo ------------------------------------------------------------- */
@media (max-width: 1140px) {
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
	.main-nav a { padding: 10px 9px; font-size: 14px; }
	.hero-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
	.header-inner { min-height: 66px; gap: 12px; }
	.header-actions { margin-left: auto; }
	.menu-toggle { display: inline-flex; }
	.header-main { position: relative; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
		background: #fff; border-top: 1px solid var(--hp-rule); box-shadow: 0 20px 40px rgba(14,26,20,.1);
		padding: 8px var(--hp-gutter) 18px; max-height: calc(100vh - 110px); overflow-y: auto;
	}
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; max-width: var(--hp-container); margin: 0 auto; }
	.main-nav a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--hp-rule); }
	.main-nav .menu > li > a::after { left: 6px; right: auto; width: 24px; bottom: 8px; }
	.main-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; }
	.main-nav .menu-item-has-children > a[href="#"] { pointer-events: none; color: var(--hp-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
	.main-nav .menu-item-has-children > a[href="#"]::after { display: none; }
}
@media (max-width: 960px) {
	.hero { padding-top: 36px; }
	.hero-main { grid-template-columns: 1fr; gap: 28px; }
	.hero-main .entry-thumb { order: -1; }
	.hero-main .entry-thumb img { aspect-ratio: 16 / 9; }
	.sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 24px; }
	.layout { grid-template-columns: 1fr; }
	.sidebar { position: static; padding-top: 8px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	:root { --hp-gutter: 18px; }
	.site-title img { max-height: 34px; }
	.topbar-nav, .topbar-social { display: none; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.hero { margin-bottom: 48px; }
	.hero-excerpt { font-size: 16px; }
	.hero-list { grid-template-columns: 1fr; gap: 18px; }
	.section-title { font-size: 22px; }
	.page-header { padding: 32px 0 36px; margin-bottom: 32px; }
	.list-item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 22px; margin-bottom: 22px; }
	.list-item .entry-thumb { border-radius: var(--hp-radius-sm); }
	.list-item-title { font-size: 17px; }
	.list-item-excerpt { display: none; }
	.list-item .kicker { font-size: 10.5px; margin-bottom: 6px; }
	.list-item .entry-meta .reading-time, .list-item .entry-meta .byline, .list-item .entry-meta .sep { display: none; }
	.list-item .entry-thumb img { aspect-ratio: 1 / 1; }
	.entry-content { font-size: 17px; }
	.standfirst { font-size: 17px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; text-align: left; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.breadcrumbs li[aria-current] { max-width: 24ch; }
	.admin-bar .site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::after { transition: none !important; scroll-behavior: auto !important; }
	a.entry-thumb:hover img { transform: none; }
}
@media print {
	.site-header, .sidebar, .site-footer, .share, .related, .comments-area, .post-navigation { display: none !important; }
}

/* Botão do cabeçalho */
.header-cta { display: inline-flex; align-items: center; padding: 10px 18px; margin-right: 6px; border-radius: 999px; background: var(--hp-red); color: #fff; font: 700 13.5px/1 var(--hp-display); white-space: nowrap; }
.header-cta:hover { background: var(--hp-green); color: #fff; }

@media (max-width: 680px) { .header-cta { padding: 9px 13px; font-size: 12.5px; } }


/* Etiqueta patrocinado */
.badge-sponsored { display: inline-block; margin: 0 8px 10px 0; padding: 3px 9px; border-radius: 999px; background: var(--hp-yellow); color: var(--hp-ink); font: 700 11px/1.3 var(--hp-sans); letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* Breadcrumbs do Yoast */
.breadcrumbs > span, .breadcrumbs > p { display: inline; }
.breadcrumbs .breadcrumb_last { color: var(--hp-ink); }
.page-header .breadcrumbs .breadcrumb_last { color: #fff; }

/* Formulário de contacto */
.hp-contact { background: var(--hp-soft); border-radius: var(--hp-radius-lg); padding: 28px; margin: 8px 0 24px; font-family: var(--hp-sans); font-size: 15px; }
.hp-contact .hp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-contact p { margin: 0 0 16px; }
.hp-contact label { display: block; font-weight: 600; font-size: 14px; color: var(--hp-ink); margin-bottom: 6px; }
.hp-contact .hp-consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--hp-muted); }
.hp-contact .hp-consent input { margin-top: 4px; }
.hp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-alert { padding: 14px 18px; border-radius: var(--hp-radius-sm); margin-bottom: 18px; font-weight: 600; }
.hp-alert-ok { background: var(--hp-green-soft); color: var(--hp-green); border-left: 4px solid var(--hp-green); }
.hp-alert-err { background: #FDECEA; color: #A51E13; border-left: 4px solid var(--hp-red); }
.entry-content .hp-contact a { font-weight: 600; }
@media (max-width: 680px) { .hp-contact { padding: 20px; } .hp-contact .hp-row { grid-template-columns: 1fr; gap: 0; } }

/* Aviso de cookies */
.hp-cookie { position: fixed; z-index: 200; left: 20px; bottom: 20px; max-width: 420px; background: var(--hp-deep); color: #DCE8E1; border-radius: var(--hp-radius-lg); padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); font-size: 14px; }
.hp-cookie[hidden] { display: none; }
.hp-cookie p { margin: 0 0 12px; }
.hp-cookie a { color: var(--hp-yellow); text-decoration: underline; }
.hp-cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.hp-cookie button { padding: 9px 18px; font-size: 13px; }
.hp-cookie .hp-cookie-no { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.hp-cookie .hp-cookie-no:hover { background: rgba(255,255,255,.1); }
.hp-cookie .hp-cookie-yes { background: var(--hp-yellow); color: var(--hp-ink); }
.hp-cookie .hp-cookie-yes:hover { background: #fff; }
@media (max-width: 680px) { .hp-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Botão no menu móvel */
.main-nav .nav-cta { display: none; justify-content: center; text-align: center; margin-top: 16px; padding: 14px 18px !important; border: 0 !important; border-radius: 999px; background: var(--hp-red); color: #fff !important; font: 700 15px/1 var(--hp-display) !important; }
.main-nav .nav-cta::after { display: none !important; }
@media (max-width: 1200px) { .main-nav .nav-cta { display: flex; } .main-nav .sub-menu a { border-radius: 0; } }
@media (min-width: 1201px) and (max-width: 1340px) { .main-nav a { padding: 10px 8px; font-size: 14px; } .header-inner { gap: 18px; } }
@media (max-width: 680px) {
	.header-actions .header-cta { display: none; }
	.entry-meta .sep { display: none; }
	.entry-meta { gap: 4px 14px; }
	.hero-list-item { grid-template-columns: 40px 1fr; }
	.hero-num { font-size: 26px; }
	.section-title span::before { width: 22px; }
}
