.ptc-historical-repository {
	color: #2f2f2f;
	margin: 0 auto;
	max-width: 1240px;
	padding: 0 0 3rem;
	width: 100%;
}

.ptc-historical-header {
	border-bottom: 1px solid rgba(159, 34, 65, .16);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
}

.ptc-historical-kicker {
	color: #9f2241;
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .04em;
	margin: 0 0 .35rem;
	text-transform: uppercase;
}

.ptc-historical-header h1 {
	color: #621132;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 800;
	margin: 0 0 .5rem;
}

.ptc-historical-header p {
	margin: 0 0 .75rem;
	max-width: 820px;
}

.ptc-historical-notice {
	background: #f9f4f5;
	border: 1px solid rgba(159, 34, 65, .18);
	border-radius: 8px;
	color: #5d1f34;
	font-weight: 600;
	padding: .8rem 1rem;
}

.ptc-historical-back {
	margin: 0 0 1rem;
}

.ptc-historical-back a {
	color: #621132;
	font-weight: 800;
	text-decoration: none;
}

.ptc-historical-fraction-page {
	max-width: 960px;
}

.ptc-historical-fraction-heading {
	margin-bottom: 1.25rem;
}

.ptc-historical-fraction-heading .tituloPrincipal {
	color: #621132;
	font-size: 1.2rem !important;
	margin-bottom: 1rem;
}

.ptc-historical-year-block {
	margin-bottom: 1.25rem;
}

.ptc-historical-format-block + .ptc-historical-format-block {
	margin-top: 2rem;
}

.ptc-historical-year-block .listFraccContent {
	margin-bottom: .75rem;
}

.ptc-historical-index .fracciones,
.ptc-historical-index .art70 {
	margin-top: 0;
}

.ptc-historical-index {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-bottom: 0;
}

.ptc-historical-index .ptc-historical-header,
.ptc-historical-index .fracciones {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.ptc-historical-index #articulo70,
.ptc-historical-index .art70 {
	width: 100%;
}

.ptc-historical-index #articulo70 > .row,
.ptc-historical-index .art70 > .content {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

.ptc-historical-empty-trigger .fraccionRect {
	cursor: not-allowed;
	filter: grayscale(.35);
	opacity: .58;
}

.ptc-historical-empty-trigger .fraccionRect:hover {
	box-shadow: none !important;
	transform: none;
}

.ptc-historical-empty-popover {
	background: #621132;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(35, 31, 32, .2);
	color: #fff;
	font-size: .92rem;
	font-weight: 700;
	max-width: min(340px, calc(100vw - 24px));
	padding: .75rem .9rem;
	position: absolute;
	text-align: center;
	z-index: 9999;
}

.ptc-historical-filters {
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(35, 31, 32, .06);
	display: grid;
	gap: .9rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 1rem;
	padding: 1rem;
}

.ptc-historical-filters label {
	color: #4a4a4a;
	display: grid;
	font-size: .86rem;
	font-weight: 700;
	gap: .35rem;
}

.ptc-historical-filters input {
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	font: inherit;
	min-height: 40px;
	padding: .45rem .65rem;
	width: 100%;
}

.ptc-historical-filters input:focus,
.ptc-historical-actions a:focus,
.ptc-historical-filter-actions a:focus,
.ptc-historical-filter-actions button:focus {
	outline: 3px solid rgba(188, 149, 92, .35);
	outline-offset: 2px;
}

.ptc-historical-filter-actions {
	align-items: end;
	display: flex;
	gap: .65rem;
}

.ptc-historical-filter-actions button,
.ptc-historical-filter-actions a,
.ptc-historical-actions a {
	align-items: center;
	border-radius: 6px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 38px;
	padding: .45rem .8rem;
	text-decoration: none;
}

.ptc-historical-filter-actions button,
.ptc-historical-actions a:first-child {
	background: #9f2241;
	border: 1px solid #9f2241;
	color: #fff;
}

.ptc-historical-filter-actions a,
.ptc-historical-actions a:last-child {
	background: #fff;
	border: 1px solid #bc955c;
	color: #7a4f1f;
}

.ptc-historical-status,
.ptc-historical-empty {
	background: #f7f7f7;
	border-radius: 8px;
	font-weight: 700;
	margin: 1rem 0;
	padding: .85rem 1rem;
}

.ptc-historical-table {
	border-collapse: collapse;
	margin-top: 1rem;
	width: 100%;
}

.ptc-historical-table th {
	background: #621132;
	color: #fff;
	font-size: .82rem;
	text-align: left;
}

.ptc-historical-table th,
.ptc-historical-table td {
	border: 1px solid #e3e3e3;
	padding: .7rem;
	vertical-align: top;
}

.ptc-historical-table small {
	color: #666;
	display: block;
	font-size: .78rem;
	margin-top: .25rem;
}

.ptc-historical-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
}

.ptc-historical-cards {
	display: none;
}

.ptc-historical-card {
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(35, 31, 32, .06);
	margin-bottom: 1rem;
	padding: 1rem;
}

.ptc-historical-card h2 {
	color: #621132;
	font-size: 1.05rem;
	margin: 0 0 .45rem;
}

.ptc-historical-card dl {
	display: grid;
	gap: .45rem;
	margin: .85rem 0;
}

.ptc-historical-card dl div {
	border-top: 1px solid #eee;
	padding-top: .45rem;
}

.ptc-historical-card dt {
	color: #666;
	font-size: .75rem;
	font-weight: 800;
	text-transform: uppercase;
}

.ptc-historical-card dd {
	margin: .1rem 0 0;
}

.ptc-historical-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	justify-content: center;
	margin-top: 1.25rem;
}

.ptc-historical-pagination .page-numbers {
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	color: #621132;
	font-weight: 800;
	padding: .45rem .7rem;
	text-decoration: none;
}

.ptc-historical-pagination .current {
	background: #621132;
	color: #fff;
}

@media (max-width: 900px) {
	.ptc-historical-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.ptc-historical-repository {
		padding: 1.25rem .75rem 2rem;
	}

	.ptc-historical-filters {
		grid-template-columns: 1fr;
	}

	.ptc-historical-filter-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ptc-historical-table {
		display: none;
	}

	.ptc-historical-cards {
		display: block;
	}
}
