/* Banner sazonal de Natal: Guia de Presentes. Só é enfileirado na homepage e nos artigos. */

.hm-guia-banner,
.hm-guia-banner *{box-sizing:border-box}
.hm-guia-banner{color:#f9f7f5;background:#16110d}
.hm-guia-banner a{color:inherit;text-decoration:none}
.hm-guia-banner :where(p,h2,figure){margin:0;padding:0}
.hm-guia-banner img{display:block;width:100%;max-width:none;height:100%;object-fit:cover;background:#16110d}

.hm-guia-banner__kicker{
	margin:0;
	color:var(--yellow,#e8e900);
	font:700 11px/1 var(--font-sans,"Inter",Arial,sans-serif);
	letter-spacing:.16em;
	text-transform:uppercase
}
.hm-guia-banner__kicker:before{
	display:block;
	width:32px;
	height:3px;
	margin-bottom:18px;
	background:var(--yellow,#e8e900);
	content:""
}
.hm-guia-banner__title{
	margin:16px 0 0;
	color:#f9f7f5;
	font-family:var(--font-display,"Playfair Display",Georgia,serif);
	font-size:clamp(30px,4.4vw,46px);
	font-weight:400;
	letter-spacing:-.02em;
	line-height:1.08
}
.hm-guia-banner__lead{
	max-width:26em;
	margin:16px 0 0;
	color:#e4d8c8;
	font:400 14px/1.55 var(--font-sans,"Inter",Arial,sans-serif)
}
.hm-guia-banner__cta{margin-top:28px}
.hm-guia-banner .btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:16px;
	height:44px;
	padding:0 24px;
	border:0;
	font:600 11px/1 var(--font-sans,"Inter",Arial,sans-serif);
	letter-spacing:.2em;
	text-transform:uppercase
}
.hm-guia-banner .btn--yellow{background:var(--yellow,#e8e900);color:var(--ink,#181817)}
.hm-guia-banner .btn--yellow:hover{background:#d6d700}
.hm-guia-banner .btn .a{
	display:inline-block;
	position:relative;
	flex:0 0 auto;
	width:22px;
	height:1px;
	background:currentColor;
	transition:width .18s ease
}
.hm-guia-banner .btn .a:after{
	position:absolute;
	top:50%;
	right:0;
	width:6px;
	height:6px;
	border-top:1px solid currentColor;
	border-right:1px solid currentColor;
	content:"";
	transform:translate(1px,-50%) rotate(45deg)
}
.hm-guia-banner .btn:hover .a{width:30px}

/* Homepage: fotografia de Natal a toda a largura, texto sobre a zona mais escura. */
.hm-guia-banner--home{position:relative;overflow:hidden;background:#16110d}
.hm-guia-banner--home .hm-guia-banner__media{margin:0}
.hm-guia-banner--home .hm-guia-banner__media img{object-position:50% 55%}
.hm-guia-banner--home .hm-guia-banner__copy{position:relative;z-index:1}

@media (max-width:899.98px){
	.hm-guia-banner--home .hm-guia-banner__media{aspect-ratio:4/3;overflow:hidden}
	.hm-guia-banner--home .hm-guia-banner__media img{object-position:50% 50%}
	.hm-guia-banner--home .container{padding-top:28px;padding-bottom:32px}
	.hm-guia-banner--home .hm-guia-banner__title{font-size:clamp(28px,8.2vw,36px)}
	.hm-guia-banner--home .hm-guia-banner__cta{margin-top:22px}
	.hm-guia-banner--home .hm-guia-banner__kicker:before{margin-bottom:16px}
}

@media (min-width:900px){
	.hm-guia-banner--home{width:100%;height:clamp(300px,26.5vw,340px)}
	.hm-guia-banner--home .hm-guia-banner__media{
		position:absolute;
		inset:0;
		width:100%;
		height:100%;
		overflow:hidden
	}
	.hm-guia-banner--home .hm-guia-banner__media:after{
		position:absolute;
		inset:0;
		background:linear-gradient(90deg,rgba(14,10,7,.92) 0%,rgba(14,10,7,.86) 20%,rgba(14,10,7,.68) 38%,rgba(14,10,7,.32) 55%,rgba(14,10,7,0) 74%);
		content:""
	}
	.hm-guia-banner--home .container{
		position:relative;
		z-index:1;
		display:flex;
		align-items:center;
		height:100%;
		min-height:inherit
	}
	.hm-guia-banner--home .hm-guia-banner__copy{max-width:640px;padding:24px 0}
	.hm-guia-banner--home .hm-guia-banner__kicker:before{margin-bottom:14px}
	.hm-guia-banner--home .hm-guia-banner__title{margin-top:12px;font-size:clamp(28px,3.4vw,38px);max-width:none}
	.hm-guia-banner--home .hm-guia-banner__lead{margin-top:12px}
	.hm-guia-banner--home .hm-guia-banner__cta{margin-top:18px}
}

/* Barra lateral dos artigos: só no ecrã largo, onde a coluna existe de verdade. */
.hm-guia-banner--lat{margin:0}
.hm-guia-banner--lat .hm-guia-banner__media{overflow:hidden;aspect-ratio:4/3;background:#16110d}
.hm-guia-banner--lat .hm-guia-banner__media img{object-position:50% 50%}
.hm-guia-banner--lat .hm-guia-banner__copy{padding:16px 16px 18px;background:#16110d}
.hm-guia-banner--lat .hm-guia-banner__kicker:before{width:26px;margin-bottom:14px}
.hm-guia-banner--lat .hm-guia-banner__title{margin-top:10px;font-size:20px;line-height:1.12;letter-spacing:-.015em}
.hm-guia-banner--lat .hm-guia-banner__lead{display:none}
.hm-guia-banner--lat .hm-guia-banner__cta{margin-top:16px}
.hm-guia-banner--lat .btn{width:100%;height:42px;padding:0 12px;font-size:10px;letter-spacing:.12em;gap:10px}
.hm-guia-banner--lat .btn .a{width:16px}

@media (max-width:1023.98px){
	.hm-guia-banner--lat{display:none}
}

/* Nos ecrãs estreitos a barra lateral só aparece no fim do artigo, por isso o destaque vai para depois do texto. */
.hm-guia-banner--after{display:none}

@media (max-width:1023.98px){
	.hm-guia-banner--after{display:block;margin:36px 0 8px}
	.hm-guia-banner--after .hm-guia-banner__media{overflow:hidden;aspect-ratio:4/3;background:#16110d}
	.hm-guia-banner--after .hm-guia-banner__media img{object-position:50% 50%}
	.hm-guia-banner--after .hm-guia-banner__copy{padding:22px 20px 24px;background:#16110d}
	.hm-guia-banner--after .hm-guia-banner__title{font-size:clamp(26px,7vw,32px)}
	.hm-guia-banner--after .hm-guia-banner__lead{display:none}
	.hm-guia-banner--after .hm-guia-banner__cta{margin-top:20px}
	.hm-guia-banner--after .btn{width:100%}
}

@media (min-width:640px) and (max-width:1023.98px){
	.hm-guia-banner--after .hm-guia-banner__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:stretch}
	.hm-guia-banner--after .hm-guia-banner__media{aspect-ratio:auto;min-height:100%}
	.hm-guia-banner--after .hm-guia-banner__media img{height:100%}
	.hm-guia-banner--after .hm-guia-banner__copy{display:flex;flex-direction:column;justify-content:center;padding:24px}
	.hm-guia-banner--after .hm-guia-banner__cta{margin-top:18px}
}
