/*
 * PERTACAMI Theme — Page Rebuild Styles v2.0
 * Redesigned to match MMA combat-sport reference aesthetic
 * Dark, aggressive, sharp corners, minimal outlines, bold typography
 * Version: 2.0.0
 */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
	--ptc-bg-dark: #0a0a0a;
	--ptc-bg-card: #111111;
	--ptc-bg-card-hover: #1a1a1a;
	--ptc-border-subtle: rgba(255, 255, 255, .06);
	--ptc-border-accent: rgba(255, 255, 255, .12);
	--ptc-text-primary: #ffffff;
	--ptc-text-secondary: rgba(255, 255, 255, .55);
	--ptc-text-muted: rgba(255, 255, 255, .35);
	--ptc-red: var(--swatch-var-3409, #c91414);
	--ptc-red-dark: var(--swatch-var-1068, #9e1111);
	--ptc-red-glow: rgba(201, 20, 20, .15);
	--ptc-transition: .3s cubic-bezier(.25, .46, .45, .94);
}


/* ==========================================================================
   SHARED COMPONENTS
   ========================================================================== */

/* --- Section Header --- */
.ptc-section-header {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
}

.ptc-section-header::after {
	content: "• • •";
	display: block;
	color: var(--ptc-red);
	font-size: 10px;
	letter-spacing: 6px;
	margin-top: 12px;
}

/* --- Filter Bar (Pills) --- */
.ptc-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	justify-content: center;
	padding: 0;
	border-bottom: 1px solid var(--ptc-border-subtle);
}

.ptc-filter-bar--scrollable {
	flex-wrap: nowrap;
	overflow-x: auto;
	justify-content: flex-start;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ptc-filter-bar--scrollable::-webkit-scrollbar {
	display: none;
}

.ptc-filter-pill {
	display: inline-block;
	padding: 12px 24px;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ptc-text-muted);
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: all var(--ptc-transition);
	white-space: nowrap;
	position: relative;
}

.ptc-filter-pill:hover {
	color: var(--ptc-text-primary);
}

.ptc-filter-pill.active {
	color: var(--ptc-red);
	border-bottom-color: var(--ptc-red);
}

/* --- Badge --- */
.ptc-badge {
	display: inline-block;
	padding: 3px 10px;
	font-family: "Oswald", sans-serif;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ptc-text-primary);
	background: var(--ptc-red);
	margin-right: 4px;
	margin-bottom: 4px;
}

/* --- Status Badge --- */
.ptc-status-badge {
	display: inline-block;
	padding: 4px 12px;
	font-family: "Oswald", sans-serif;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.ptc-status-badge--upcoming {
	color: #fff;
	background: var(--ptc-red);
}

.ptc-status-badge--ongoing {
	color: #000;
	background: #f1c40f;
}

.ptc-status-badge--completed {
	color: var(--ptc-text-secondary);
	background: rgba(255, 255, 255, .1);
}

/* --- Ghost Button --- */
.ptc-ghost-btn {
	display: inline-block;
	padding: 10px 24px;
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--ptc-text-primary);
	border: 1px solid rgba(255, 255, 255, .2);
	background: transparent;
	text-decoration: none;
	transition: all var(--ptc-transition);
}

.ptc-ghost-btn:hover {
	color: var(--ptc-text-primary);
	background: var(--ptc-red);
	border-color: var(--ptc-red);
}

/* --- Solid Button --- */
.ptc-solid-btn {
	display: inline-block;
	padding: 12px 32px;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	background: var(--ptc-red);
	border: none;
	text-decoration: none;
	transition: all var(--ptc-transition);
}

.ptc-solid-btn:hover {
	background: var(--ptc-red-dark);
	color: #fff;
}

/* --- Back Navigation --- */
.ptc-back-nav {
	padding: 20px 0;
}

.ptc-back-link {
	font-family: "Oswald", sans-serif;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--ptc-text-muted) !important;
	text-decoration: none;
	transition: color var(--ptc-transition);
}

.ptc-back-link:hover {
	color: var(--ptc-red) !important;
}

/* --- Pagination --- */
.ptc-pagination {
	text-align: center;
	padding: 40px 0 10px;
}

.ptc-pagination .page-numbers {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 2px;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.ptc-pagination .page-numbers li {
	list-style: none;
}

.ptc-pagination .page-numbers li a,
.ptc-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-family: "Oswald", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--ptc-text-muted);
	background: var(--ptc-bg-card);
	text-decoration: none;
	transition: all var(--ptc-transition);
}

.ptc-pagination .page-numbers li a:hover {
	background: var(--ptc-bg-card-hover);
	color: var(--ptc-text-primary);
}

.ptc-pagination .page-numbers li span.current {
	background: var(--ptc-red);
	color: #fff;
}

.ptc-pagination .page-numbers li a.prev,
.ptc-pagination .page-numbers li a.next {
	width: auto;
	padding: 0 16px;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* --- Red Separator Line --- */
.ptc-red-line {
	width: 60px;
	height: 2px;
	background: var(--ptc-red);
	margin: 0 auto;
}

.ptc-red-line--left {
	margin: 0;
}

/* --- Red Dots Decoration --- */
.ptc-dots {
	color: var(--ptc-red);
	font-size: 10px;
	letter-spacing: 6px;
	display: inline-block;
}

/* --- Info Table (Events + Athletes) --- */
.ptc-info-block {
	background: var(--ptc-bg-card);
	border-left: 3px solid var(--ptc-red);
	padding: 30px 30px 30px 28px;
}

.ptc-info-table {
	width: 100%;
	border-collapse: collapse;
}

.ptc-info-table tr {
	border-bottom: 1px solid var(--ptc-border-subtle);
}

.ptc-info-table tr:last-child {
	border-bottom: none;
}

.ptc-info-table td {
	padding: 14px 8px;
	font-family: "Oswald", sans-serif;
	vertical-align: middle;
}

.ptc-info-table__key {
	color: var(--ptc-text-muted);
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	white-space: nowrap;
	width: 140px;
}

.ptc-info-table__key svg {
	margin-right: 8px;
	opacity: 0.4;
	vertical-align: -3px;
}

.ptc-info-table__val {
	color: var(--ptc-text-primary);
	font-weight: 400;
	font-size: 16px;
}

/* Light version for content areas */
.l-bloc .ptc-info-block {
	background: #f5f5f5;
	border-left-color: var(--ptc-red);
}

.l-bloc .ptc-info-table tr {
	border-bottom-color: rgba(0, 0, 0, .06);
}

.l-bloc .ptc-info-table__key {
	color: rgba(0, 0, 0, .4);
}

.l-bloc .ptc-info-table__val {
	color: rgba(0, 0, 0, .85);
}

/* --- Single Content Styling --- */
.ptc-single-content {
	max-width: 780px;
	margin: 0 auto;
	font-size: 16px;
	line-height: 1.8;
	color: rgba(0, 0, 0, .75);
	font-family: "Open Sans", sans-serif;
}

.ptc-single-content p,
.ptc-single-content ul,
.ptc-single-content ol,
.ptc-single-content li {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: rgba(0, 0, 0, .75);
	line-height: 1.8;
}

.ptc-single-content h2 {
	font-size: 26px;
	margin-top: 2em;
	margin-bottom: 0.8em;
	font-weight: 700;
}

.ptc-single-content h3 {
	font-size: 20px;
	margin-top: 1.5em;
	margin-bottom: 0.6em;
}

.ptc-single-content blockquote {
	border-left: 3px solid var(--ptc-red);
	padding: 15px 20px;
	margin: 1.5em 0;
	background: #f8f8f8;
	font-style: italic;
	color: rgba(0, 0, 0, .55);
}

.ptc-single-content img {
	max-width: 100%;
	height: auto;
	margin: 1.5em 0;
}

.ptc-single-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
}

.ptc-single-content table th,
.ptc-single-content table td {
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, .08);
	text-align: left;
}

.ptc-single-content table th {
	background: #f2f2f2;
	font-weight: 700;
}

.ptc-single-content video,
.ptc-single-content .wp-video {
	max-width: 100%;
	margin: 1.5em 0;
}

/* --- Meta Bar --- */
.ptc-meta-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	color: rgba(0, 0, 0, .4);
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ptc-meta-bar__sep {
	color: rgba(0, 0, 0, .15);
}

.ptc-meta-bar__cat-link {
	color: var(--ptc-red) !important;
	text-decoration: none;
}

.ptc-meta-bar__cat-link:hover {
	color: var(--ptc-red-dark) !important;
}


/* ==========================================================================
   ARTICLE ARCHIVE
   ========================================================================== */

/* --- Hero Background Override --- */
#article-archive.texture-darken-strong::before,
#gallery-page.texture-darken-strong::before,
#search-archive.texture-darken-strong::before {
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('http://localhost:8888/pertacami.id/wp-content/uploads/2023/09/boxing-stage.webp');
	background-size: cover;
	background-position: center;
	filter: blur(8px);
	transform: scale(1.05);
}


/* --- Hero Card (featured post) --- */
.ptc-hero-card {
	display: block;
	text-decoration: none;
	overflow: hidden;
	position: relative;
}

.ptc-hero-card__image {
	width: 100%;
	padding-top: 50%;
	background-size: cover;
	background-position: center;
	position: relative;
	filter: grayscale(30%);
	transition: filter .5s ease, transform .5s ease;
}

.ptc-hero-card:hover .ptc-hero-card__image {
	filter: grayscale(0%);
	transform: scale(1.02);
}

.ptc-hero-card__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 50px 35px 30px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
}

.ptc-hero-card__badges {
	margin-bottom: 10px;
}

.ptc-hero-card__title {
	font-family: "Oswald", sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.1;
	text-transform: uppercase;
}

.ptc-hero-card__excerpt {
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	color: rgb(255 255 255 / 89%);
	margin: 0 0 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.6;
	max-width: 600px;
}

.ptc-hero-card__date {
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	color: var(--ptc-text-muted);
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* --- Article Card --- */
.ptc-article-card {
	background: var(--ptc-bg-card);
	overflow: hidden;
	height: 100%;
	transition: transform var(--ptc-transition);
	position: relative;
}

.ptc-article-card::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--ptc-red);
	transition: width var(--ptc-transition);
}

.ptc-article-card:hover::after {
	width: 100%;
}

.ptc-article-card:hover {
	transform: translateY(-3px);
}

.ptc-article-card__link {
	display: block;
	text-decoration: none;
	height: 100%;
}

.ptc-article-card__thumb {
	width: 100%;
	padding-top: 56.25%;
	/* 16:9 */
	background-size: cover;
	background-position: center;
	position: relative;
	filter: grayscale(20%);
	transition: filter .4s ease;
}

.ptc-article-card:hover .ptc-article-card__thumb {
	filter: grayscale(0%);
}

.ptc-article-card__badges {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.ptc-article-card__body {
	padding: 18px 20px 20px;
}

.ptc-article-card__title {
	font-family: "Oswald", sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: var(--ptc-text-primary);
	margin: 0 0 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
	text-transform: uppercase;
}

.ptc-article-card__excerpt {
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	color: var(--ptc-text-muted);
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.6;
}

.ptc-article-card__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--ptc-border-subtle);
	padding-top: 12px;
}

.ptc-article-card__date {
	font-family: "Oswald", sans-serif;
	font-size: 11px;
	color: var(--ptc-text-muted);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.ptc-article-card__readmore {
	font-family: "Oswald", sans-serif;
	font-size: 11px;
	color: var(--ptc-red);
	text-transform: uppercase;
	letter-spacing: 1.5px;
	transition: color var(--ptc-transition);
}

.ptc-article-card:hover .ptc-article-card__readmore {
	color: #fff;
}


/* ==========================================================================
   ARTICLE SINGLE — HERO
   ========================================================================== */

.ptc-single-hero {
	width: 100%;
	min-height: 480px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
	filter: grayscale(10%);
}

.ptc-single-hero__overlay {
	width: 100%;
	padding: 100px 0 50px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .4) 50%, transparent 100%);
}

.ptc-single-hero__badges {
	margin-bottom: 14px;
}

.ptc-single-hero__badges .ptc-badge {
	text-decoration: none;
}

.ptc-single-hero__title {
	font-family: "Oswald", sans-serif;
	font-size: 48px;
	font-weight: 700;
	color: var(--ptc-text-primary);
	margin: 0 0 16px;
	line-height: 1.05;
	text-transform: uppercase;
	max-width: 800px;
}

.ptc-single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	color: var(--ptc-text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ptc-single-hero__meta svg {
	margin-right: 6px;
	vertical-align: -2px;
	opacity: 0.5;
}


/* ==========================================================================
   EVENTS ARCHIVE
   ========================================================================== */

/* --- Hero Background Override --- */
#events-archive.texture-darken-strong::before {
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('http://localhost:8888/pertacami.id/wp-content/uploads/2023/08/pertacami05.jpg');
	background-size: cover;
	background-position: center;
	filter: blur(8px);
	transform: scale(1.05);
}

/* --- Event Hero Banner --- */
.ptc-event-hero {
	width: 100%;
	min-height: 380px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	filter: grayscale(20%);
	transition: filter .5s ease;
}

.ptc-event-hero:hover {
	filter: grayscale(0%);
}

.ptc-event-hero__overlay {
	width: 100%;
	padding: 60px 35px 30px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .4) 50%, transparent 100%);
}

.ptc-event-hero__title {
	font-family: "Oswald", sans-serif;
	font-size: 40px;
	font-weight: 700;
	color: #fff;
	margin: 12px 0 10px;
	line-height: 1.1;
	text-transform: uppercase;
}

.ptc-event-hero__info {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	color: var(--ptc-text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ptc-event-hero__info svg {
	margin-right: 5px;
	vertical-align: -2px;
	opacity: 0.5;
}

/* --- Event Card --- */
.ptc-event-card {
	background: var(--ptc-bg-card);
	overflow: hidden;
	height: 100%;
	transition: transform var(--ptc-transition);
	position: relative;
}

.ptc-event-card::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 2px;
	background: var(--ptc-red);
	transition: width var(--ptc-transition);
}

.ptc-event-card:hover::after {
	width: 100%;
}

.ptc-event-card:hover {
	transform: translateY(-3px);
}

.ptc-event-card__thumb {
	width: 100%;
	padding-top: 56.25%;
	background-size: cover;
	background-position: center;
	position: relative;
	filter: grayscale(20%);
	transition: filter .4s ease;
}

.ptc-event-card:hover .ptc-event-card__thumb {
	filter: grayscale(0%);
}

.ptc-event-card__thumb .ptc-status-badge {
	position: absolute;
	top: 0;
	right: 0;
}

.ptc-event-card__body {
	padding: 18px 20px 22px;
}

.ptc-event-card__title {
	font-family: "Oswald", sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--ptc-text-primary);
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.2;
	text-transform: uppercase;
}

.ptc-event-card__details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 12px;
}

.ptc-event-card__date,
.ptc-event-card__location {
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	color: var(--ptc-text-muted);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ptc-event-card__date svg,
.ptc-event-card__location svg {
	margin-right: 5px;
	vertical-align: -2px;
	opacity: 0.4;
}

.ptc-event-card__type {
	display: inline-block;
	padding: 3px 10px;
	background: var(--ptc-red-glow);
	color: var(--ptc-red);
	font-family: "Oswald", sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	align-self: flex-start;
	margin-top: 4px;
}

.ptc-event-card__excerpt {
	font-family: "Open Sans", sans-serif;
	font-size: 12px;
	color: var(--ptc-text-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 14px;
	line-height: 1.6;
}

/* --- Event CTA --- */
.ptc-event-cta {
	text-align: center;
	padding-top: 10px;
}


/* ==========================================================================
   GALLERY
   ========================================================================== */

/* --- Masonry Grid --- */
.ptc-gallery-masonry {
	column-count: 3;
	column-gap: 8px;
}

.ptc-gallery-item {
	break-inside: avoid;
	margin-bottom: 8px;
	position: relative;
	overflow: hidden;
}

.ptc-gallery-item a {
	display: block;
	position: relative;
}

.ptc-gallery-item__img {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(30%);
	transition: transform .5s ease, filter .5s ease;
}

.ptc-gallery-item:hover .ptc-gallery-item__img {
	transform: scale(1.04);
	filter: grayscale(0%);
}

.ptc-gallery-item__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 30px 14px 12px;
	background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, transparent 100%);
	opacity: 0;
	transition: opacity var(--ptc-transition);
}

.ptc-gallery-item:hover .ptc-gallery-item__overlay {
	opacity: 1;
}

.ptc-gallery-item__caption {
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* --- Gallery Video Play Icon --- */
.ptc-gallery-item__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	background: var(--ptc-red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.85;
	transition: all 0.3s ease;
	z-index: 2;
	pointer-events: none;
}

.ptc-gallery-item__play svg {
	width: 20px;
	height: 20px;
	fill: #fff;
	margin-left: 3px;
	/* visual center for play icon */
}

.ptc-gallery-item:hover .ptc-gallery-item__play {
	transform: translate(-50%, -50%) scale(1.15);
	opacity: 1;
}

/* --- Gallery Separator --- */
.ptc-gallery-separator {
	column-span: all;
	text-align: center;
	padding: 30px 0 18px;
	position: relative;
}

.ptc-gallery-separator::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: var(--ptc-border-subtle);
}

.ptc-gallery-separator__text {
	display: inline-block;
	position: relative;
	padding: 4px 20px;
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--ptc-text-muted);
	background: var(--ptc-bg-dark);
}


/* ==========================================================================
   ATHLETES ARCHIVE
   ========================================================================== */

/* --- Hero Background Override --- */
#athletes-archive.texture-darken-strong::before {
	background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('http://localhost:8888/pertacami.id/wp-content/uploads/2023/08/highlight1.jpeg');
	background-size: cover;
	background-position: center;
	filter: blur(8px);
	transform: scale(1.05);
}

/* --- Athlete Card --- */
.ptc-athlete-card {
	overflow: hidden;
	height: 100%;
	transition: transform var(--ptc-transition);
	position: relative;
}

.ptc-athlete-card:hover {
	transform: translateY(-3px);
}

.ptc-athlete-card__link {
	display: block;
	text-decoration: none;
	height: 100%;
}

.ptc-athlete-card__photo {
	width: 100%;
	padding-top: 133.33%;
	background-size: cover;
	background-position: center top;
	position: relative;
	overflow: hidden;
	filter: grayscale(40%);
	transition: filter .5s ease;
}

.ptc-athlete-card:hover .ptc-athlete-card__photo {
	filter: grayscale(0%);
}

/* Red bottom edge accent — like the reference cards */
.ptc-athlete-card__photo::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--ptc-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--ptc-transition);
}

.ptc-athlete-card:hover .ptc-athlete-card__photo::after {
	transform: scaleX(1);
}

.ptc-athlete-card__hover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .65);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity var(--ptc-transition);
}

.ptc-athlete-card:hover .ptc-athlete-card__hover-overlay {
	opacity: 1;
}

.ptc-athlete-card__cta {
	font-family: "Oswald", sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	padding: 10px 24px;
	border: 1px solid rgba(255, 255, 255, .4);
	transition: all var(--ptc-transition);
}

.ptc-athlete-card:hover .ptc-athlete-card__cta:hover {
	background: var(--ptc-red);
	border-color: var(--ptc-red);
}

.ptc-athlete-card__info {
	padding: 14px 4px 8px;
	text-align: center;
	background: var(--ptc-bg-dark);
}

.ptc-athlete-card__name {
	font-family: "Oswald", sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: var(--ptc-text-primary);
	margin: 0 0 3px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.3;
}

.ptc-athlete-card__category {
	display: block;
	font-family: "Oswald", sans-serif;
	font-size: 12px;
	font-weight: 400;
	color: var(--ptc-red);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.ptc-athlete-card__division {
	display: block;
	font-family: "Oswald", sans-serif;
	font-size: 11px;
	font-weight: 300;
	color: var(--ptc-text-muted);
	letter-spacing: 0.5px;
}

/* Mobile: always show CTA */
@media (max-width: 767px) {
	.ptc-athlete-card__hover-overlay {
		opacity: 1;
		background: rgba(0, 0, 0, .45);
	}
}


/* ==========================================================================
   ATHLETES SINGLE — COMPLETE REDESIGN
   ========================================================================== */

/* --- Full-width dark hero section --- */
.ptc-athlete-detail {
	position: relative;
	background: var(--ptc-bg-dark);
	overflow: hidden;
	padding: 220px 0 80px;
}

/* Background: blurred athlete image with 90% dark overlay */
.ptc-athlete-detail__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.ptc-athlete-detail__bg-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(20px) grayscale(60%) brightness(0.2);
	transform: scale(1.15);
	/* prevent blur edge bleed */
}

.ptc-athlete-detail__row {
	position: relative;
	z-index: 1;
}

/* --- Photo Column --- */
.ptc-athlete-detail__photo-wrap {
	position: relative;
	max-width: 400px;
	margin: 0 auto;
}

.ptc-athlete-detail__photo {
	position: relative;
	overflow: hidden;
}

.ptc-athlete-detail__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	filter: grayscale(30%);
	transition: filter .5s ease;
}

.ptc-athlete-detail:hover .ptc-athlete-detail__img {
	filter: grayscale(0%);
}

/* Red accent bar under photo */
.ptc-athlete-detail__photo-accent {
	height: 3px;
	background: var(--ptc-red);
	width: 100%;
}

/* --- Identity Column --- */
.ptc-athlete-detail__identity {
	padding-left: 20px;
}

.ptc-athlete-detail__cats {
	margin-bottom: 12px;
}

.ptc-athlete-detail__name {
	font-family: "Oswald", sans-serif;
	font-size: 52px;
	font-weight: 700;
	color: var(--ptc-text-primary);
	text-transform: uppercase;
	line-height: 1.0;
	margin: 0;
	letter-spacing: -0.5px;
}

.ptc-athlete-detail__separator {
	margin: 16px 0 24px;
}

/* --- Stat Rows (clean key-value pairs) --- */
.ptc-athlete-detail__stats {
	width: 100%;
}

.ptc-stat-row {
	display: flex;
	align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid var(--ptc-border-subtle);
}

.ptc-stat-row:first-child {
	border-top: 1px solid var(--ptc-border-subtle);
}

.ptc-stat-row__label {
	font-family: "Oswald", sans-serif;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--ptc-text-muted);
	width: 130px;
	flex-shrink: 0;
}

.ptc-stat-row__value {
	font-family: "Oswald", sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--ptc-text-primary);
	flex: 1;
}


/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 991px) {
	.ptc-hero-card__title {
		font-size: 28px;
	}

	.ptc-hero-card__image {
		padding-top: 55%;
	}

	.ptc-single-hero__title {
		font-size: 36px;
	}

	.ptc-event-hero__title {
		font-size: 30px;
	}

	.ptc-gallery-masonry {
		column-count: 2;
	}

	.ptc-athlete-detail__name {
		font-size: 40px;
	}
}

@media (max-width: 767px) {
	.ptc-hero-card__title {
		font-size: 22px;
	}

	.ptc-hero-card__image {
		padding-top: 65%;
	}

	.ptc-hero-card__excerpt {
		display: none;
	}

	.ptc-single-hero {
		min-height: 360px;
	}

	.ptc-single-hero__title {
		font-size: 28px;
	}

	.ptc-event-hero {
		min-height: 280px;
	}

	.ptc-event-hero__title {
		font-size: 24px;
	}

	.ptc-gallery-masonry {
		column-count: 2;
	}

	/* Athlete detail: stacked layout */
	.ptc-athlete-detail__identity {
		padding-left: 0;
		padding-top: 30px;
		text-align: center;
	}

	.ptc-athlete-detail__name {
		font-size: 32px;
		text-align: center;
	}

	.ptc-athlete-detail__cats {
		text-align: center;
	}

	.ptc-athlete-detail__separator {
		text-align: center;
	}

	.ptc-stat-row {
		justify-content: center;
	}

	.ptc-stat-row__label {
		width: 110px;
		font-size: 10px;
	}

	.ptc-stat-row__value {
		font-size: 14px;
	}

	.ptc-info-table__key {
		width: 110px;
		font-size: 11px;
	}

	.ptc-info-table__val {
		font-size: 14px;
	}

	.ptc-filter-pill {
		padding: 10px 16px;
		font-size: 11px;
	}
}

@media (max-width: 575px) {
	.ptc-hero-card__overlay {
		padding: 25px 18px 20px;
	}

	.ptc-hero-card__title {
		font-size: 20px;
	}

	.ptc-single-hero__title {
		font-size: 24px;
	}

	.ptc-event-hero__title {
		font-size: 20px;
	}

	.ptc-gallery-masonry {
		column-count: 1;
	}

	.ptc-athlete-detail {
		padding: 40px 0 50px;
	}

	.ptc-athlete-detail__name {
		font-size: 28px;
	}

	.ptc-filter-pill {
		padding: 8px 12px;
		font-size: 10px;
		letter-spacing: 1px;
	}

	.ptc-article-card__title {
		font-size: 15px;
	}

	.ptc-event-card__title {
		font-size: 17px;
	}
}

/* ==========================================================================
   CUSTOM LANGUAGE POPUP
   ========================================================================== */
.ptc-custom-lang {
	position: relative;
	display: inline-block;
	font-family: "Oswald", sans-serif;
	z-index: 1000;
}

.ptc-custom-lang__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	cursor: pointer;
	color: #fff;
	transition: all 0.3s ease;
}

.ptc-custom-lang__toggle:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
}

.ptc-custom-lang__current {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 18px;
}

.ptc-custom-lang__current img {
	width: 24px !important;
	height: auto !important;
	display: block;
	border-radius: 2px;
}

.ptc-custom-lang__dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 10px;
	background: var(--ptc-bg-card);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 4px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	min-width: 55px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	pointer-events: none;
}

.ptc-custom-lang__dropdown.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

/* Force raw GTranslate links into a clean block layout */
#ptc-lang-raw {
	padding: 8px 0;
}

#ptc-lang-raw a {
	display: flex !important;
	align-items: center;
	gap: 10px;
	padding: 10px 15px;
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none !important;
	font-size: 14px;
	transition: background 0.2s ease;
}

#ptc-lang-raw a:hover {
	background: rgba(255, 255, 255, 0.05);
	color: #fff !important;
}

#ptc-lang-raw a img {
	width: 20px !important;
	height: auto !important;
	border-radius: 2px;
}

/* ==========================================================================
   HEADER SCROLL & MOBILE ENHANCEMENTS
   ========================================================================== */

#header .sticky-nav {
	border-bottom: 2px solid transparent;
	transition: border-color 0.3s ease, background-color 0.3s ease;
}

#header.header-scrolled .sticky-nav {
	border-bottom: 2px solid var(--ptc-red);
	background-color: var(--ptc-bg-dark);
	/* Ensure it stays sharp when scrolled */
}

#header img.d-md-block {
	transition: max-width 0.3s ease;
	max-width: 255px;
	/* Default desktop logo size */
	width: 100%;
}

#header.header-scrolled img.d-md-block {
	max-width: 160px;
	/* Shrinks on scroll */
}

/* Tagline hiding on scroll */
#header .bgc-1068 {
	transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
	max-height: 100px;
	/* Arbitrary large height to allow transition */
	opacity: 1;
	overflow: hidden;
}

#header.header-scrolled .bgc-1068 {
	max-height: 0;
	opacity: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: none;
}

/* Mobile specific improvements */
@media (max-width: 767px) {
	#header .sticky-nav {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	#header img.d-md-none {
		max-width: 55px;
		/* Neater mobile logo sizing */
		height: auto;
	}

	/* Pure CSS Offcanvas Sidebar Menu for Mobile */
	#header .navbar-collapse {
		position: fixed;
		top: 0;
		right: -280px;
		height: 100vh !important;
		width: 280px;
		background: var(--ptc-bg-dark);
		z-index: 9999;
		padding: 60px 20px 20px;
		border-left: 2px solid var(--ptc-red);
		box-shadow: -5px 0 25px rgba(0, 0, 0, 0.7);
		transition: right 0.35s ease-in-out !important;
		display: block !important;
		visibility: visible !important;
	}

	#header .navbar-collapse.collapsing,
	#header .navbar-collapse.show {
		right: 0;
	}
}

/* ==========================================================================
   SIDEBAR COMPONENTS
   ========================================================================== */

.ptc-sidebar {
	position: sticky;
	top: 100px;
	margin-top: 2rem;
}

@media (min-width: 992px) {
	.ptc-sidebar {
		margin-top: 0;
		padding-left: 30px;
	}
}

.ptc-sidebar-widget {
	background: transparent;
	border: 1px solid var(--ptc-border-subtle);
	padding: 25px;
	margin-bottom: 30px;
}

.ptc-sidebar-widget__title {
	font-family: "Oswald", sans-serif;
	color: var(--ptc-red);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 1px;
}

.ptc-sidebar-widget__title::before {
	content: '';
	display: block;
	width: 4px;
	height: 18px;
	background: var(--ptc-red);
}

/* Sidebar Search */
.ptc-sidebar-search {
	display: flex;
}

.ptc-sidebar-search input {
	flex-grow: 1;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: #111;
	padding: 10px 15px;
	font-family: "Open Sans", sans-serif;
}

.ptc-sidebar-search input:focus {
	outline: none;
	border-color: var(--ptc-red);
}

.ptc-sidebar-search button {
	background: var(--ptc-red);
	color: #fff;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-weight: 700;
	transition: background 0.2s ease;
}

.ptc-sidebar-search button:hover {
	background: #b30000;
}

/* Sidebar Links */
.ptc-sidebar-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ptc-sidebar-list li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	padding: 10px 0;
}

.ptc-sidebar-list li:last-child {
	border-bottom: none;
}

.ptc-sidebar-list a {
	color: rgba(0, 0, 0, 0.65);
	text-decoration: none;
	transition: color 0.2s ease;
	display: flex;
	justify-content: space-between;
}

.ptc-sidebar-list a:hover {
	color: var(--ptc-red);
}

/* Mini Article Cards for Sidebar */
.ptc-mini-card {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	text-decoration: none !important;
}

.ptc-mini-card:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.ptc-mini-card__thumb {
	width: 80px;
	height: 80px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}

.ptc-mini-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ptc-mini-card__title {
	font-family: "Oswald", sans-serif;
	color: rgba(0, 0, 0, 0.85);
	font-size: 14px;
	line-height: 1.3;
	margin: 0 0 5px;
	transition: color 0.2s ease;
}

.ptc-mini-card:hover .ptc-mini-card__title {
	color: var(--ptc-red);
}

.ptc-mini-card__date {
	color: rgba(0, 0, 0, 0.55);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ptc-footer {
	position: relative;
	z-index: 10;
	background-color: var(--ptc-bg-dark);
	border-top: 2px solid var(--ptc-red);
	padding: 60px 0 30px;
	color: var(--ptc-text-secondary);
	font-family: "Open Sans", sans-serif;
}

.ptc-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	margin-bottom: 50px;
}

@media (min-width: 992px) {
	.ptc-footer-grid {
		grid-template-columns: 4fr 3fr 2fr;
	}
}

.ptc-footer-col__title,
.ptc-footer-col h2,
.ptc-footer-col h3,
.ptc-footer-col h4,
.ptc-footer-col h5 {
	font-family: "Oswald", sans-serif;
	color: var(--ptc-text-primary) !important;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 25px;
	letter-spacing: 1px;
}

.ptc-footer-col h2::before,
.ptc-footer-col h3::before,
.ptc-footer-col h4::before,
.ptc-footer-col h5::before,
.ptc-footer-col__title::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 16px;
	background: var(--ptc-red);
	margin-right: 10px;
	vertical-align: middle;
}

/* Partner Logo Dock */
.ptc-footer-logos {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 25px;
	flex-wrap: wrap;
}

.ptc-footer-logos img {
	max-height: 50px;
	width: auto;
	object-fit: contain;
}

/* Add white circular background to the 3rd (AMMA) logo */
.ptc-footer-logos picture:nth-child(3) img {
	background-color: var(--ptc-text-primary);
	border-radius: 50%;
	padding: 3px;
}

/* Footer Widgets Override */
.ptc-footer-col .widget {
	margin-bottom: 30px;
}

.ptc-footer-col .widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ptc-footer-col .widget ul li {
	margin-bottom: 15px;
}

.ptc-footer-col .widget ul li a,
.ptc-footer-col a:not(.ptc-footer-social a) {
	color: var(--ptc-text-secondary) !important;
	text-decoration: none;
	transition: color 0.2s ease;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
}

.ptc-footer-col .widget ul li a:hover,
.ptc-footer-col a:not(.ptc-footer-social a):hover {
	color: var(--ptc-text-primary) !important;
}

/* Bottom Bar */
.ptc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

@media (min-width: 768px) {
	.ptc-footer-bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

.ptc-footer-social {
	display: flex;
	gap: 15px;
}

.ptc-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--ptc-bg-card);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: var(--ptc-text-primary);
	transition: all 0.3s ease;
}

.ptc-footer-social a svg {
	fill: currentColor;
	width: 18px;
	height: 18px;
}

.ptc-footer-social a:hover {
	background: var(--ptc-red);
	border-color: var(--ptc-red);
	transform: translateY(-3px);
}

.ptc-footer-copy {
	font-size: 13px;
	color: var(--ptc-text-muted);
}