/* Cabeçalho de seção (categoria, tag, autor, busca, 404) e área de listagem. */
.rl-section-head { background: var(--rl-deep); color: var(--rl-paper); padding: clamp(48px, 8vw, 112px) var(--rl-gutter) clamp(40px, 6vw, 80px); }
.rl-section-head .rl-section-head__in { width: 100%; max-width: 1280px; margin: 0 auto; gap: 14px; align-items: flex-start; }
.rl-section-head .rl-eyebrow,
body .rl-section-head .rl-section-head__eyebrow-w .elementor-heading-title {
	margin: 0; color: var(--rl-beige); font-family: var(--rl-sans); font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase;
}
body .rl-section-head h1,
body .rl-section-head .rl-section-head__title .elementor-heading-title {
	margin: 0; color: var(--rl-paper); font-family: var(--rl-serif); font-weight: 400;
	font-size: clamp(40px, 7vw, 96px); line-height: .98; letter-spacing: -0.01em; text-wrap: balance;
}
.rl-section-head h1.searchtitle { display: flex; flex-direction: column; gap: 14px; }
.rl-section-head h1.searchtitle strong { font-weight: 400; }
.rl-section-head .rl-section-head__text p { margin: 0; max-width: 34em; color: var(--rl-paper); opacity: .9; font-size: 17px; }

/* Campo de busca (widget "search" do Elementor) em pílula */
.rl-section-head .rl-search { width: 100%; max-width: 560px; margin-top: 10px; }
.rl-section-head .rl-search input[type="search"],
.rl-section-head .rl-search .e-search-input {
	width: 100%; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px;
	background: rgba(241, 236, 226, .12); color: var(--rl-paper); font-family: var(--rl-sans); font-size: 16px;
	box-shadow: inset 0 0 0 1px rgba(241, 236, 226, .3);
}
.rl-section-head .rl-search input::placeholder { color: rgba(241, 236, 226, .7); }
.rl-section-head .rl-search button, .rl-section-head .rl-search .e-search-submit {
	border-radius: 999px; background: var(--rl-orange-btn); color: #fff; border: 0;
}

.rl-archive { padding: clamp(32px, 5vw, 64px) var(--rl-gutter) clamp(56px, 8vw, 112px); }
.rl-archive .rl-archive__in { width: 100%; max-width: 1280px; margin: 0 auto; }
.rl-archive .rl-archive__list, .rl-archive .rl-archive__list .elementor-shortcode { width: 100%; }

/* Neutraliza regras legadas de style.css. */
body .elementor-location-archive { padding: 0 !important; }
body .elementor-location-footer { border-top: 0 !important; }
body .rl-section-head h1.searchtitle { text-align: left; border-bottom: 0; padding-bottom: 0; margin-bottom: 0; line-height: .98; }
body .rl-section-head h1.searchtitle .rl-eyebrow { color: var(--rl-beige); font-size: 11px; line-height: 1.2; }
body.error404 .site-content, body.error404 .content-area, body.error404 section.error-404 { margin: 0 !important; padding: 0 !important; }

/* Descrição do termo */
.rl-section-head .rl-section-head__desc { max-width: 40em; color: var(--rl-paper); opacity: .92; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.rl-section-head .rl-section-head__desc p { margin: 0 0 .6em; }

/* Hero do arquivo (categoria com imagem destaque) */
body.rl-archive-hero .rl-section-head {
	position: relative; isolation: isolate; min-height: clamp(380px, 62vh, 680px); justify-content: flex-end;
	background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important;
	padding-top: clamp(96px, 14vh, 160px);
}
body.rl-archive-hero .rl-section-head::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: linear-gradient(180deg, rgba(28, 32, 18, .2) 0%, rgba(28, 32, 18, .35) 45%, rgba(28, 32, 18, .92) 100%);
}
body.rl-archive-hero .rl-section-head > * { position: relative; z-index: 1; }
body.rl-archive-hero .rl-section-head h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }

/* Compartilhamento no topo da listagem */
.rl-archive .rl-share--archive { max-width: 1280px; margin: 0 auto 28px; }
