:root {
	--ink: #3B236B;
	--muted: #6B5B95;
	--muted-light: #9B8BB3;
	--paper: #FEFCFF;
	--rose: #8E5AA9;
	--metanoia: #A77FC3;
	--lavender: #D1B3E7;
	--cream: #FAF8FC;
	--line: rgba(209, 179, 231, .2);
	--card: #fff;
	--shadow: 0 10px 35px rgba(59, 35, 107, .08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, sans-serif;
	font-weight: 300;
	line-height: 1.7;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

.site-header {
	background: rgba(254, 252, 255, .94);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(12px);
}

.header-inner, .site-main, .footer-inner {
	width: min(1120px, calc(100% - 40px));
	margin: auto;
}

.header-inner {
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-branding {
	font-family: 'Dancing Script', cursive;
	font-size: 2rem;
	color: var(--ink);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.site-branding-sparkle {
	font-family: initial;
	padding-top: 0.5rem;
	font-size: 1rem;
	color: var(--metanoia);
}

.primary-menu {
	display: flex;
	gap: 24px;
	align-items: center;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: .91rem;
	letter-spacing: .04em;
}

.primary-menu li:last-child {
	margin-left: 16px;
}

.primary-menu a:hover, .primary-menu .current-menu-item a {
	color: var(--rose);
}

.primary-menu .current-menu-item a {
	font-weight: 500;
}

.hero {
	text-align: center;
	padding: 116px 20px 96px;
	background: linear-gradient(135deg, var(--lavender) 0%, rgba(255, 255, 255, .8) 100%);
}

.hero h1, .page-title, .entry-title {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.8rem);
	max-width: 780px;
	margin: auto;
}

.hero p {
	color: var(--rose);
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	max-width: 580px;
	margin: 20px auto 30px;
}

.button, .wp-block-button__link {
	display: inline-block;
	appearance: none;
	border: none;
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: white;
	border-radius: 999px;
	padding: 12px 24px;
	box-shadow: 0 4px 15px rgba(167, 127, 195, .3);
	transition: transform .2s, box-shadow .2s;
	cursor: pointer;
}

.button:hover, .wp-block-button__link:hover {
	box-shadow: 0 8px 25px rgba(167, 127, 195, .4);
	transform: translateY(-2px);
}

.home-section, .archive-page {
	padding: 72px 0 1.5rem 0;
	/* padding: 72px 0; */
	/* border: 1px solid red; */
}

.home-universe {
	width: min(1400px, calc(100% - 64px));
}

.section-heading {
	text-align: center;
	margin-bottom: 64px;
}

.archive-header {
	text-align: center;
	margin-bottom: 64px;
	position: relative;
	padding-bottom: 26px;
}

.archive-header + .filter-tabs {
	margin-top: -32px;
}

.archive-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 13%;
	height: 3px;
	background: linear-gradient(90deg, var(--metanoia), var(--lavender));
	border-radius: 3px;
}

.section-heading h2 {
	font: 400 clamp(2rem, 4vw, 3rem)/1.2 'Playfair Display', serif;
	margin: 0 0 10px;
}

.archive-title {
	font: 400 clamp(2.5rem, 5vw, 4rem)/1.2 'Playfair Display', serif;
	margin: 0 0 10px;
	text-transform: capitalize;
}

.section-heading p {
	color: var(--rose);
	font-family: 'Dancing Script', cursive;
	font-size: 1.2rem;
	margin: 0;
}

.archive-description {
	color: var(--rose);
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.2rem, 3vw, 1.6rem);
	margin: 0;
}

.section-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.section-card, .content-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 25px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .4s, box-shadow .4s;
	position: relative;
}

.section-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--lavender), var(--metanoia));
	z-index: 1;
}

.section-card:hover, .content-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 50px rgba(59, 35, 107, .15);
}

.section-card-image {
	display: block;
	height: 220px;
	overflow: hidden;
	background: var(--lavender);
	position: relative;
}

.section-card-image img, .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s;
}

.section-card:hover img, .content-card:hover .card-image img {
	transform: scale(1.05);
}

.section-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background: linear-gradient(45deg, rgba(59, 35, 107, .7), rgba(142, 90, 169, .7));
	opacity: 0;
	transition: opacity .3s;
}

.section-card:hover .section-overlay {
	opacity: 1;
}

.section-label {
	color: #fff;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .3px;
}

.section-card-icon {
	font-size: 3rem;
	color: #fff;
}

.section-card-body, .card-body {
	padding: 2rem;
}

.section-card h3, .card-title {
	font: 400 1.55rem/1.25 'Playfair Display', serif;
	margin: 0 0 8px;
}

.section-card p, .card-excerpt {
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0 0 1.5rem;
}

.section-link {
	display: inline-block;
	color: var(--rose);
	font-weight: 500;
	font-size: .9rem;
	letter-spacing: .03em;
}

.section-link::after {
	content: '→';
	margin-left: .5rem;
}

.section-link:hover {
	color: var(--ink);
}

.card-link {
	color: var(--rose);
	font-weight: 500;
}

.content-card {
	display: flex;
	flex-direction: column;
}

.content-card[hidden] {
	display: none;
}

.card-image {
	display: block;
	height: 210px;
	background: var(--cream);
	overflow: hidden;
}

/* Fallback quando o card do feed não tem imagem de capa — preenche a mesma
   área de .card-image/.video-thumbnail/.album-thumbnail (ver
   lila_version_card_placeholder() em inc/cards.php). */
.card-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--lavender) 0%, var(--metanoia) 100%);
}

.card-placeholder-icon {
	font-size: 2.5rem;
	color: #fff;
	opacity: .85;
}

.card-body {
	flex: 1;
}

.card-meta {
	color: var(--muted);
	font-size: .82rem;
	margin-bottom: 10px;
}

.tag {
	display: inline-block;
	color: var(--rose);
	font-size: .78rem;
	font-weight: 500;
}

.empty-state {
	grid-column: 1 / -1;
	text-align: center;
	color: var(--muted);
	padding: 52px 0;
}

.empty-state .empty-state-img {
	margin: 24px auto 0;
	width: 38%;
}

.home-about {
	background: var(--cream);
	border-radius: 30px;
	padding: 4rem 2rem;
	text-align: center;
}

.home-about h2 {
	font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.2 'Playfair Display', serif;
	color: var(--ink);
	margin: 0 0 1.5rem;
}

.home-about p {
	color: var(--muted);
	font: 1.3rem/1.5 'Dancing Script', cursive;
	max-width: 680px;
	margin: 0 auto 2rem;
}

.filter-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 0 30px;
	flex-wrap: wrap;
}

.categories-filter {
	position: relative;
	padding-bottom: 30px;
	margin-bottom: 40px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

/* .categories-filter::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:80px; height:3px; background:linear-gradient(90deg, var(--metanoia), var(--lavender)); border-radius:3px; } */

.categories-filter--collapsible .filter-tab.is-more {
	display: none;
}

.categories-filter--collapsible.is-expanded .filter-tab.is-more {
	display: inline-flex;
}

.filter-tab-more {
	background: var(--paper);
	border-style: dashed;
}

.filter-tab-more:hover {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: white;
	border-style: solid;
}

.filter-tab {
	appearance: none;
	border: 2px solid var(--lavender);
	background: white;
	color: var(--ink);
	padding: 6px 14px;
	border-radius: 99px;
	cursor: pointer;
	font: inherit;
	font-size: .85rem;
	font-weight: 400;
	text-transform: capitalize;
}

.filter-tab.is-active {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: white;
	border-color: var(--rose);
}

.filter-tab:hover {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: white;
	border-color: var(--rose);
}

.pagination {
	margin: 42px 0 0;
}

.pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	border: 2px solid var(--lavender);
	background: #fff;
	color: var(--ink);
	border-radius: 50%;
	width: 45px;
	height: 45px;
	display: grid;
	place-items: center;
	font: inherit;
	font-size: .85rem;
	font-weight: 500;
	transition: all .3s ease;
}

.pagination .page-numbers:hover {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: #fff;
	border-color: var(--rose);
	transform: scale(1.1);
}

.pagination .page-numbers.dots {
	border: none;
	width: auto;
	height: auto;
	background: none;
	color: var(--muted-light);
	font-weight: 700;
}

.pagination .page-numbers.dots:hover {
	transform: none;
}

.pagination .current {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: #fff;
	border-color: var(--rose);
}

.pagination .current:hover {
	transform: none;
}

.single-entry {
	width: min(780px, 100%);
	margin: 0 auto;
	padding: 72px 0 18px;
	position: relative;
}

.post-nav-hint {
	display: none;
}

.post-nav {
	width: min(780px, 100%);
	margin: 0 auto 72px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
	flex-wrap: wrap;
}

.post-nav-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .7rem 1.5rem;
	border: 2px solid var(--lavender);
	background: #fff;
	color: var(--rose);
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 500;
	transition: all .3s ease;
	max-width: 320px;
}

.single-back-link {
	display: none;
	margin: 0 0 1.5rem;
}

.post-nav-link:hover {
	background: linear-gradient(45deg, var(--metanoia), var(--rose));
	color: #fff;
	border-color: var(--rose);
	/* transform:scale(1.05) */;
}

.single-header {
	text-align: center;
	margin-bottom: 36px;
}

.entry-title {
	font-size: clamp(2.3rem, 5vw, 4rem);
}

.entry-date {
	color: var(--muted);
	font-size: .9rem;
	margin-top: 14px;
}

.featured-image {
	margin: 0 0 2rem;
	border-radius: 18px;
	overflow: hidden;
}

.lila-gallery {
	margin: 0 0 2rem;
}

/* Respiro padronizado em 2rem antes do card de Descrição — Textos/DIY já
   ficam assim por padrão (.featured-image/.lila-gallery têm margin:0 0 2rem
   sem essa regra sequer entrar em ação), Cantoria e Caneca são igualados
   aqui. Scoped com :has() pra não afetar o .featured-image do single de
   Textos, que não é seguido por .description-card. */
.featured-image:has(+ .description-card),
.lila-gallery:has(+ .description-card),
.single-video-bleed:has(+ .description-card),
.lila-caneca-gallery:has(+ .description-card) {
	margin-bottom: 2rem;
}

/* Álbum: mantém o respiro maior de antes. */
.lila-album-gallery-bleed:has(+ .description-card) {
	margin-bottom: 2rem;
}

.lila-gallery img {
	border-radius: 18px;
}

/* Álbum single: galeria em colunas estilo masonry (CSS column-count) — cada
   foto mantém a proporção real, sem cortar, empilhada dentro da sua coluna.
   O wrapper -bleed ocupa 100vw e centraliza o conteúdo, cancelando a
   centralização de .single-entry; o padding usa o mesmo valor do gap, pro
   respiro da borda ficar igual ao das imagens entre si. */
.lila-album-gallery-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.lila-album-gallery {
	width: 100%;
	column-count: 4;
	column-gap: .6rem;
	padding: 0 .6rem;
}

.lila-album-gallery-item {
	display: block;
	break-inside: avoid;
	margin-bottom: .6rem;
	border-radius: 18px;
	overflow: hidden;
	/* Sem isto o Safari "esquece" de recortar a imagem pelo border-radius
	   depois da transição de :hover (bug de composição do WebKit). */
	-webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.lila-album-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .35s ease;
}

.lila-album-gallery-item:hover img {
	transform: scale(1.05);
}

/* Duas colunas em telas médias (igual ao breakpoint de .section-grid logo acima). */
@media (max-width: 800px) {
	.lila-album-gallery {
		column-count: 2;
	}
}

/* Caneca single: fica dentro da largura normal de .single-entry, alinhada
   com o card de Descrição. A primeira foto é sempre o cover, full width,
   proporção natural; as demais têm um crop padronizado (nunca vertical —
   quadrado ou horizontal, decidido no PHP a partir da proporção original de
   cada uma, ver .is-square/.is-horizontal) numa grid simples, já que os
   posts de Caneca sempre têm 4-5 fotos. */
.lila-caneca-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .6rem;
	margin: 0 0 2rem;
}

/* 5 fotos no total (cover + 4): duas linhas de 2, em vez de 3+1. */
.lila-caneca-gallery.is-pairs {
	grid-template-columns: repeat(2, 1fr);
}

/* 2 fotos no total (cover + 1): a única foto restante fica em 1 coluna. */
.lila-caneca-gallery.is-single {
	grid-template-columns: 1fr;
}

.lila-caneca-gallery-item {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	/* Mesmo fix do Safari usado em .lila-album-gallery-item acima. */
	-webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}

.lila-caneca-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.lila-caneca-gallery-item:hover img {
	transform: scale(1.05);
}

.lila-caneca-gallery-cover {
	grid-column: 1 / -1;
}

.lila-caneca-gallery-cover img {
	height: auto;
	object-fit: initial;
}

.lila-caneca-gallery-item.is-horizontal {
	aspect-ratio: 4 / 3;
}

.lila-caneca-gallery-item.is-square {
	aspect-ratio: 1 / 1;
}

.lila-caneca-gallery-caption {
	position: absolute;
	left: 10px;
	bottom: 10px;
	background: rgba(255, 255, 255, .80);
	color: var(--ink);
	font-size: .78rem;
	font-weight: 400;
	padding: .3rem .75rem;
	border-radius: 999px;
	pointer-events: none;
}

@media (max-width: 800px) {
	.lila-caneca-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

.featured-image img {
	width: 100%;
}

.entry-content {
	font-size: 1.05rem;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.4em;
}

.entry-content h2, .entry-content h3 {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
}

.entry-content img, .poem-text img {
	display: block;
	margin: 0 auto;
	border-radius: 20px;
}

.entry-content hr, .poem-text hr {
	border: none;
	border-top: 1px solid var(--line);
	margin: 0.8rem 0rem 1rem 0rem;
}

/* Tag rápida "Passo N" pra descrições de DIY — mesmo estilo cursivo do
   subtítulo do hero (.hero p) e do título do formulário de comentários
   (.comment-reply-title). Gerada pelo shortcode [diystep], ver inc/editor.php. */
.diy-step {
	font-family: 'Dancing Script', cursive;
	color: var(--rose);
	font-weight: 600;
	font-size: 1.3rem;
	padding-bottom: 0.2rem;
}

.entry-content a, .poem-text a {
	color: var(--rose);
	font-weight: 400;
	text-decoration: underline;
	text-decoration-color: var(--lavender);
	text-underline-offset: 2px;
	transition: color .2s, text-decoration-color .2s;
}

.entry-content a:hover, .poem-text a:hover {
	color: var(--metanoia);
	text-decoration-color: var(--metanoia);
}

.entry-content blockquote, .poem-text blockquote {
	margin: 0 0 1.4em;
	padding: .9rem 1.6rem;
	background: var(--cream);
	border-left: 4px solid var(--lavender);
	border-radius: 0 16px 16px 0;
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: var(--muted);
}

.entry-content blockquote p, .poem-text blockquote p {
	margin: 0 0 .6em;
}

.entry-content blockquote p:last-child, .poem-text blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite, .poem-text blockquote cite {
	display: block;
	margin-top: .6em;
	font-family: Inter, sans-serif;
	font-style: normal;
	font-size: .85rem;
	color: var(--muted-light);
}

.entry-content ul, .entry-content ol, .poem-text ul, .poem-text ol {
	list-style: none !important;
	margin: 0 0 1.6em !important;
	padding-left: 0 !important;
	padding-inline-start: 0 !important;
	counter-reset: entry-ol;
}

.entry-content ul li, .entry-content ol li, .poem-text ul li, .poem-text ol li {
	position: relative;
	padding: 0 0 .3rem 1.2rem !important;
	margin-bottom: .3rem;
	border-bottom: 1px solid var(--line);
}

.entry-content ul li::before, .poem-text ul li::before {
	content: '✦';
	position: absolute;
	left: 0;
	top: .53em;
	font-size: .86rem;
	line-height: 1;
	color: var(--lavender);
}

.entry-content ol li, .poem-text ol li {
	counter-increment: entry-ol;
}

.entry-content ol li::before, .poem-text ol li::before {
	content: counter(entry-ol) '. ';
	left: 0;
	top: 0;
	font-weight: 600;
	font-size: .9em;
	color: var(--lavender);
	white-space: pre;
}

.details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 0 0 28px;
}

.detail {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px;
	background: var(--cream);
}

.detail-label {
	display: block;
	color: var(--muted);
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.description-card.materials-card {
	padding: 2.25rem 2.5rem 1.7rem 2.5rem;
	margin-bottom: 1.2rem;
}

.materials {
	columns: 3;
	column-gap: 2rem;
	margin-bottom: 0 !important;
}

.materials li {
	break-inside: avoid;
	color: var(--ink);
	font-size: 1.05rem;
}

.availability {
	padding: 4px 9px;
	border-radius: 99px;
	font-size: .78rem;
	background: var(--lavender);
	color: var(--ink);
}

.availability.available {
	background: var(--lavender);
	color: var(--ink);
}

.availability.sold {
	background: var(--cream);
	color: var(--rose);
}

.video-embed {
	margin: 0 0 30px;
	aspect-ratio: 16/9;
}

.video-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 16px;
}

/* Igual ao .lila-album-gallery-bleed: o wrapper ocupa 100vw e centraliza o
   vídeo (mais largo que a coluna de texto de .single-entry) via flex, sem o
   desalinhamento que rolaria se width:100vw e max-width fossem aplicados
   juntos no próprio .single-video. */
.single-video-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.single-video {
	position: relative;
	width: 100%;
	max-width: 1040px;
	aspect-ratio: 16/9;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow);
	background: var(--cream);
	cursor: pointer;
}

.single-video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-video iframe,
.single-video video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.single-video-embed {
	cursor: default;
}

.single-audio {
	width: min(780px, 100%);
	margin: 0 auto 2rem;
}

.single-audio audio {
	width: 100%;
	display: block;
}

.single-audio iframe {
	width: 100%;
	height: 100px;
	border: 0;
	border-radius: 24px;
	display: block;
}

.single-video .play-overlay {
	width: 100px;
	height: 100px;
}

.single-video .play-overlay::before {
	border-left-width: 26px;
	border-top-width: 17px;
	border-bottom-width: 17px;
	margin-left: 6px;
}

.single-video:hover .play-overlay {
	background: var(--rose);
}

.single-video:hover .play-overlay::before {
	border-left-color: #fff;
}

.description-card {
	background: var(--card);
	border-radius: 20px;
	box-shadow: var(--shadow);
	padding: 2.25rem 2.5rem 1.7rem 2.5rem;
	position: relative;
	overflow: hidden;
	margin: 0 0 2.25rem;
}

.description-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--lavender), var(--metanoia));
}

.description-title {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 1.4rem;
	color: var(--ink);
	margin: 0 0 1.1rem;
}

.footer-banner {
	background: var(--paper);
	margin: 1rem 0 1.5rem 0;
}

.footer-banner-inner {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.footer-banner-img {
	display: block;
	height: auto;
	object-fit: cover;
}

.footer-banner-inner.footer-banner--single {
	justify-content: center;
}

.footer-banner-img-center {
	width: 27%;
}

.site-footer {
	margin-top: 64px;
	background: linear-gradient(135deg, var(--ink) 0%, #2a1a4a 100%);
	color: var(--lavender);
	text-align: center;
}

.footer-inner {
	padding: 28px 0;
}

@media (max-width: 1024px) and (min-width: 769px) {
	.site-branding-sparkle {
		font-size: 0.9rem;
		padding-top: .5rem;
	}
	.footer-banner-img-center {
		width: 38%;
	}
}

@media (max-width: 800px) {
	.header-inner {
		min-height: unset;
		padding: 18px 0;
		flex-direction: column;
	}
	.primary-menu {
		gap: 12px;
		justify-content: center;
		flex-wrap: wrap;
	}
	.section-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
	.archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.footer-banner-img-center {
		width: 60%;
	}
	.footer-credit {
		display: block;
	}
	.home-section, .archive-page {
		/* padding: 72px 0; */
		padding: 72px 0 48px;
	}
}

@media (max-width: 768px) {
	.site-branding-sparkle {
		font-size: .9rem;
		padding-top: .15rem;
	}
	.archive-description {
		font-size: clamp(1.4rem, 4.6vw, 1.8rem);
		padding-left: 15px;
		padding-right: 15px;
	}
	.archive-header::after {
		width: 20%;
	}
	.post-nav {
		flex-direction: column;
	}
	.post-nav-next,
	.post-nav-prev {
		width: 100%;
	}
	.post-nav-link {
		width: 100%;
		max-width: none;
		justify-content: center;
		text-align: center;
	}
	.post-nav-hint {
		display: block;
		text-align: center;
		font-size: .75rem;
		color: var(--muted);
		margin: 0 0 0rem;
	}
}

@media (max-width: 520px) {
	.header-inner, .site-main, .footer-inner {
		width: min(100% - 28px, 1120px);
	}
	.home-universe {
		width: min(100% - 28px, 1400px);
	}
	.hero {
		padding: 76px 10px 65px;
	}
	.section-grid, .archive-grid {
		grid-template-columns: 1fr;
	}
	.home-section, .archive-page {
		/* padding: 52px 0; */
		padding: 52px 0 48px;
	}
	.poem-search-card .card-body {
		padding: 1.5rem;
	}
	.single-entry {
		padding-top: 18px;
	}
	.single-back-text {
		display: none;
	}
	/* Mobile: só "‹ | atual de total | ›" — os bolões do meio quebravam
	   em duas linhas desalinhadas em telas estreitas (ver pagination-mobile.js). */
	.pagination .page-numbers:not(.prev):not(.next):not(.current) {
		display: none;
	}
	.pagination .current[data-total]::after {
		content: "de " attr(data-total);
		margin-left: .35em;
		font-weight: 500;
	}
	.pagination .current {
		display: inline-flex;
		border-radius: 24px;
		width: auto;
		min-width: 45px;
		height: auto;
		padding: 10px 16px;
		white-space: nowrap;
	}
	.single-back-link {
		display: grid;
		width: 2.8125rem;
		height: 2.8125rem;
		padding: 0;
		border-radius: 50%;
		place-items: center;
	}
	/* Imagem destaque e imagens selecionadas do single post ocupam a largura
	   total da tela no mobile, sem bordas arredondadas. */
	.single-entry .featured-image,
	.single-entry .lila-gallery,
	.single-entry .lila-caneca-gallery {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
	}
	.single-entry .lila-gallery img,
	.single-entry .featured-image img,
	.single-entry .single-video {
		border-radius: 0;
	}
	/* Caneca: uma coluna só, também de ponta a ponta e sem raio — o crop
	   quadrado/horizontal de cada foto continua igual. */
	.single-entry .lila-caneca-gallery {
		grid-template-columns: 1fr;
	}
	.single-entry .lila-caneca-gallery-item {
		border-radius: 0;
		pointer-events: none;
	}
	.single-entry .lila-caneca-gallery-item:hover img {
		transform: none;
	}
	/* Álbum: uma coluna só, também de ponta a ponta e sem raio — cada imagem
	   mantém a proporção real (sem cortar), só a largura. */
	.single-entry .lila-album-gallery {
		column-count: 1;
		column-gap: 0;
		padding: 0;
	}
	.single-entry .lila-album-gallery-item {
		margin-bottom: 6px;
		border-radius: 0;
		pointer-events: none;
	}
	.single-entry .lila-album-gallery-item:hover img {
		transform: none;
	}
	/* No mobile volta ao respiro menor (era assim antes do vídeo/galeria
	   ficarem mais largos que a coluna de texto) — mesma medida pros três. */
	.single-video-bleed:has(+ .description-card),
	.lila-album-gallery-bleed:has(+ .description-card),
	.lila-caneca-gallery:has(+ .description-card),
	.single-audio:has(+ .description-card) {
		margin-bottom: 1rem;
	}
}

/* Classes padrão do WordPress core (alinhamento, legendas de mídia,
   posts fixos e comentários do autor) — usadas quando o conteúdo do
   editor as gera automaticamente. */
.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}
.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	max-width: 100%;
	margin-bottom: 1rem;
}
.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}
.wp-caption-text,
.gallery-caption {
	color: var(--muted);
	font-size: .85rem;
	text-align: center;
	padding: .5rem 0;
}
.sticky {
	border: 1px solid var(--line);
}
.bypostauthor {
	/* Sem estilo próprio no momento — a classe existe para satisfazer o WP core. */
}
