/* Obituário Prever — front-end
   Cores controladas por variáveis (definidas inline pelo plugin). */
:root {
	--op-navy: #14235f;
	--op-yellow: #f4c40f;
}

.op-front {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	color: #2b2f3a;
	padding: 40px 16px 64px;
}
.op-front *,
.op-front *::before,
.op-front *::after {
	box-sizing: border-box;
}
.op-container {
	max-width: 1140px;
	margin: 0 auto;
}
.op-container--narrow {
	max-width: 720px;
}

/* ---------- Título ---------- */
.op-archive-title {
	text-align: center;
	color: var(--op-navy);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 34px;
	line-height: 1.15;
	margin: 0 0 26px;
}

/* ---------- Busca ---------- */
.op-search {
	text-align: center;
	margin: 0 auto 40px;
}
.op-search__label {
	display: block;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--op-navy);
	font-size: 15px;
	margin-bottom: 14px;
}
.op-search__row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
.op-search__input {
	width: 100%;
	max-width: 360px;
	padding: 14px 22px;
	border: 1px solid #d9dbe4;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.op-search__input:focus {
	border-color: var(--op-navy);
	box-shadow: 0 0 0 3px rgba(20, 35, 95, .12);
}
.op-search__info {
	text-align: center;
	color: #6b7280;
	font-size: 14px;
	margin: -16px 0 28px;
}
.op-search__clear {
	color: var(--op-navy);
	font-weight: 600;
	margin-left: 8px;
	text-decoration: none;
}
.op-search__clear:hover { text-decoration: underline; }

/* ---------- Botões ---------- */
.op-btn {
	display: inline-block;
	font-family: inherit;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 999px;
	cursor: pointer;
	transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.op-btn--filter {
	padding: 14px 30px;
	font-size: 14px;
}
.op-btn--ver {
	padding: 14px 20px;
	font-size: 14px;
	width: 100%;
	margin-top: auto;
	box-shadow: 0 6px 16px rgba(29, 63, 132, .18);
}
.op-btn--back {
	border: 1px solid #d9dbe4;
	padding: 12px 22px;
	font-size: 13px;
}

/* Cores dos botões — especificidade alta para vencer o a:visited do tema */
.op-front .op-btn--filter,
.op-front a.op-btn--ver:link,
.op-front a.op-btn--ver:visited {
	background: var(--op-navy);
	color: #fff;
	text-decoration: none;
}
.op-front .op-btn--filter:hover,
.op-front .op-btn--filter:focus,
.op-front a.op-btn--ver:hover,
.op-front a.op-btn--ver:focus {
	background: var(--op-yellow);
	color: var(--op-navy);
	text-decoration: none;
}
.op-front a.op-btn--ver:hover,
.op-front a.op-btn--ver:focus {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(244, 196, 15, .35);
}
.op-front a.op-btn--back:link,
.op-front a.op-btn--back:visited {
	background: transparent;
	color: var(--op-navy);
	text-decoration: none;
}
.op-front a.op-btn--back:hover,
.op-front a.op-btn--back:focus {
	background: var(--op-yellow);
	border-color: var(--op-yellow);
	color: var(--op-navy);
	text-decoration: none;
}

/* ---------- Grid de cards ---------- */
.op-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.op-card {
	background: #fff;
	border: 1px solid #eceef4;
	border-radius: 16px;
	padding: 40px 28px 28px;
	box-shadow: 0 10px 30px rgba(20, 35, 95, .07);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

/* Avatar circular */
.op-avatar {
	display: block;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e2e6f2;
	box-shadow: 0 6px 14px rgba(20, 35, 95, .10);
	background: #fff;
}
.op-card__avatar,
.op-single__avatar {
	display: flex;
	justify-content: center;
}
.op-card__avatar { margin-bottom: 16px; }
.op-avatar--placeholder {
	background: #fff;
}

.op-card__name {
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--op-navy);
	text-transform: uppercase;
	margin: 0 0 8px;
	letter-spacing: .01em;
}
.op-card__city {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 16px;
}
.op-card__badge {
	background: #f1f3fb;
	color: var(--op-navy);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 999px;
	margin-bottom: 22px;
}
.op-cross {
	color: var(--op-yellow);
	font-weight: 700;
	margin-right: 4px;
}

/* Duas colunas: velório / sepultamento */
.op-card__cols {
	display: flex;
	width: 100%;
	gap: 18px;
	margin-bottom: 24px;
	text-align: center;
}
.op-card__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	position: relative;
	padding: 0 6px;
}
.op-card__col + .op-card__col::before {
	content: '';
	position: absolute;
	left: -9px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: #e9ebf3;
}
.op-card__label {
	font-size: 13px;
	font-weight: 700;
	color: var(--op-navy);
	margin-bottom: 2px;
}
.op-card__value {
	font-size: 14px;
	font-weight: 700;
	color: #2b2f3a;
}
.op-card__place {
	font-size: 13px;
	color: #6b7280;
	line-height: 1.4;
}

/* ---------- Paginação ---------- */
.op-front .op-pagination { margin-top: 40px; text-align: center; }
.op-front .op-pagination .navigation,
.op-front .op-pagination .pagination,
.op-front .op-pagination .nav-links {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	float: none;
}
.op-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #e6e8f0;
	color: var(--op-navy);
	font-weight: 700;
	text-decoration: none;
}
.op-pagination .page-numbers.current {
	background: var(--op-navy);
	color: #fff;
	border-color: var(--op-navy);
}
.op-pagination .page-numbers:hover:not(.current) { background: #f2f3f8; }

/* ---------- Vazio ---------- */
.op-empty {
	text-align: center;
	padding: 48px 16px;
	color: #6b7280;
}
.op-empty .op-btn { width: auto; margin-top: 16px; padding-left: 26px; padding-right: 26px; }

/* ---------- Single ---------- */
.op-single {
	background: #fff;
	border: 1px solid #eceef4;
	border-radius: 18px;
	box-shadow: 0 12px 34px rgba(20, 35, 95, .08);
	padding: 44px 36px;
}
.op-single__head { text-align: center; margin-bottom: 32px; }
.op-single__avatar { margin-bottom: 18px; }
.op-single__name {
	font-size: 28px;
	font-weight: 800;
	color: var(--op-navy);
	text-transform: uppercase;
	margin: 0 0 8px;
}
.op-single__city {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 14px;
}
.op-single__badge { display: inline-block; }
.op-single__blocks {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.op-single__block {
	background: #f7f8fc;
	border: 1px solid #eceef4;
	border-radius: 12px;
	padding: 20px 22px;
}
.op-single__block h3 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--op-navy);
	border-bottom: 2px solid var(--op-yellow);
	display: inline-block;
	padding-bottom: 4px;
}
.op-single__block p { margin: 4px 0; font-size: 14px; color: #2b2f3a; }
.op-single__place { font-weight: 700; }
.op-single__content { margin-top: 24px; font-size: 15px; line-height: 1.6; }
.op-single__actions { margin-top: 28px; text-align: center; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
	.op-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 600px) {
	.op-grid { grid-template-columns: 1fr; }
	.op-single { padding: 32px 20px; }
	.op-single__blocks { grid-template-columns: 1fr; }
	.op-search__row { flex-direction: column; align-items: center; }
	.op-btn--filter { width: 100%; max-width: 360px; }
}
