/*
Theme Name: pcjanetwork
Theme URI: https://juandenis.com/
Author: Juan
Author URI: https://juandenis.com/
Description: A custom WordPress theme for PCJANetwork.
Version: 2.0.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcjanetwork
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
	--pcja-navy: #070A12;
	--pcja-navy-light: #0B1022;
	--pcja-navy-surface: #111729;
	--pcja-mint: #4DFFCE;
	--pcja-mint-dark: #3DD4B0;
	--pcja-text-primary: #F4F6FF;
	--pcja-text-secondary: #A7B1D8;
	--pcja-border: rgba(244, 246, 255, 0.08);
	--pcja-font-heading: 'Space Grotesk', sans-serif;
	--pcja-font-body: 'Inter', sans-serif;
	--pcja-content-width: 800px;
	--pcja-wide-width: 1200px;
	--pcja-header-height: 72px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--pcja-navy);
	font-family: var(--pcja-font-body);
	color: var(--pcja-text-primary);
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--pcja-mint);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--pcja-mint-dark);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.skip-link {
	position: absolute;
	top: -100%;
	left: 0;
	z-index: 999999;
	padding: 8px 16px;
	background: var(--pcja-mint);
	color: var(--pcja-navy);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom-right-radius: 3px;
}

.skip-link:focus {
	top: 0;
	outline: 2px solid var(--pcja-text-primary);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--pcja-navy-surface);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(77, 255, 206, 0.4);
	clip: auto !important;
	clip-path: none;
	color: var(--pcja-text-primary);
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--pcja-mint);
	outline-offset: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pcja-font-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 1rem 0;
	color: var(--pcja-text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2.25rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.125rem; }

p {
	font-size: 1rem;
	color: var(--pcja-text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

/* ==========================================================================
   Header
   ========================================================================== */

.pcja-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--pcja-header-height);
	background: rgba(7, 10, 18, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--pcja-border);
}

.pcja-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	padding: 0 1.5rem;
	height: 100%;
}

.pcja-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.pcja-header__logo img {
	height: 32px;
	width: auto;
}

.pcja-header__nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.pcja-header__nav a {
	color: var(--pcja-text-secondary);
	font-size: 0.9375rem;
	font-weight: 500;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.pcja-header__nav a:hover,
.pcja-header__nav a.current-menu-item {
	color: var(--pcja-mint);
}

/* Hamburger toggle */
.pcja-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
}

.pcja-header__toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--pcja-text-primary);
	border-radius: 1px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.pcja-header__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.pcja-header__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.pcja-header__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Body offset for fixed header */
body:not(.pcja-react-spa) {
	padding-top: var(--pcja-header-height);
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */

@media (max-width: 768px) {
	.pcja-header__toggle {
		display: flex;
	}

	.pcja-header__nav {
		position: fixed;
		top: var(--pcja-header-height);
		left: 0;
		right: 0;
		bottom: 0;
		flex-direction: column;
		justify-content: flex-start;
		padding: 2rem 1.5rem;
		gap: 0;
		background: var(--pcja-navy);
		border-top: 1px solid var(--pcja-border);
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
	}

	.pcja-header__nav.is-open {
		transform: translateX(0);
	}

	.pcja-header__nav a {
		display: block;
		padding: 0.875rem 0;
		font-size: 1.125rem;
		border-bottom: 1px solid var(--pcja-border);
		width: 100%;
	}
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.site-main {
	width: 100%;
}

/* ==========================================================================
   Entry Header (page/post title banner)
   ========================================================================== */

.entry-header {
	background: var(--pcja-navy-light);
	padding: 5rem 1.5rem 4rem;
	text-align: center;
	border-bottom: 1px solid var(--pcja-border);
}

.entry-header__inner {
	max-width: var(--pcja-content-width);
	margin: 0 auto;
}

.entry-title {
	margin-bottom: 0;
	background: linear-gradient(135deg, var(--pcja-text-primary) 0%, var(--pcja-mint) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ==========================================================================
   Entry Content
   ========================================================================== */

.entry-content {
	max-width: var(--pcja-content-width);
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

/* Block alignment overrides */
.entry-content .alignwide {
	max-width: var(--pcja-wide-width);
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignfull {
	max-width: none;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.entry-content .alignleft {
	float: left;
	margin-right: 1.5rem;
	margin-bottom: 1rem;
}

.entry-content .alignright {
	float: right;
	margin-left: 1.5rem;
	margin-bottom: 1rem;
}

/* ==========================================================================
   Single Post Meta
   ========================================================================== */

.entry-meta {
	color: var(--pcja-text-secondary);
	font-size: 0.875rem;
}

.entry-meta--top {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.entry-meta--top a {
	color: var(--pcja-mint);
}

.entry-meta--author {
	margin-top: 1rem;
}

.entry-meta__author-name {
	color: var(--pcja-text-primary);
	font-weight: 500;
}

.entry-meta__sep {
	color: var(--pcja-text-secondary);
	opacity: 0.5;
}

/* Featured image */
.entry-featured-image {
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.entry-featured-image img {
	width: 100%;
	height: auto;
	border-radius: 1.125rem;
	margin-top: -2rem;
}

/* Entry footer / tags */
.entry-footer {
	max-width: var(--pcja-content-width);
	margin: 0 auto;
	padding: 0 1.5rem 3rem;
	border-top: 1px solid var(--pcja-border);
	padding-top: 1.5rem;
}

.entry-tags {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	font-size: 0.875rem;
}

.entry-tags__label {
	color: var(--pcja-text-secondary);
	font-weight: 500;
}

.entry-tags a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
	border-radius: 2rem;
	color: var(--pcja-text-secondary);
	font-size: 0.8125rem;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.entry-tags a:hover {
	background: rgba(77, 255, 206, 0.1);
	color: var(--pcja-mint);
	border-color: rgba(77, 255, 206, 0.2);
}

/* ==========================================================================
   Post Navigation (prev/next)
   ========================================================================== */

.post-navigation {
	border-top: 1px solid var(--pcja-border);
	background: var(--pcja-navy-light);
}

.post-navigation__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
}

.post-navigation__link {
	padding: 2rem 1.5rem;
}

.post-navigation__link--next {
	text-align: right;
	border-left: 1px solid var(--pcja-border);
}

.post-navigation__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--pcja-text-secondary);
	margin-bottom: 0.5rem;
}

.post-navigation__link a {
	font-family: var(--pcja-font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--pcja-text-primary);
	transition: color 0.2s ease;
}

.post-navigation__link a:hover {
	color: var(--pcja-mint);
}

@media (max-width: 600px) {
	.post-navigation__inner {
		grid-template-columns: 1fr;
	}

	.post-navigation__link--next {
		text-align: left;
		border-left: none;
		border-top: 1px solid var(--pcja-border);
	}
}

/* ==========================================================================
   Archive / Blog Listing
   ========================================================================== */

.archive-header {
	background: var(--pcja-navy-light);
	padding: 5rem 1.5rem 4rem;
	text-align: center;
	border-bottom: 1px solid var(--pcja-border);
}

.archive-header__inner {
	max-width: var(--pcja-content-width);
	margin: 0 auto;
}

.archive-title {
	background: linear-gradient(135deg, var(--pcja-text-primary) 0%, var(--pcja-mint) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.archive-description {
	color: var(--pcja-text-secondary);
	font-size: 1.125rem;
	margin-top: 0.5rem;
}

/* Post Grid */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 2rem;
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	padding: 3rem 1.5rem;
}

/* Post Card */
.post-card {
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
	border-radius: 1.125rem;
	overflow: hidden;
	transition: border-color 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
	border-color: rgba(77, 255, 206, 0.15);
	transform: translateY(-2px);
}

.post-card__thumbnail {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.post-card:hover .post-card__thumbnail img {
	transform: scale(1.03);
}

.post-card__content {
	padding: 1.5rem;
}

.post-card__meta {
	font-size: 0.8125rem;
	color: var(--pcja-text-secondary);
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.post-card__meta a {
	color: var(--pcja-mint);
	font-size: 0.8125rem;
}

.post-card__sep {
	opacity: 0.5;
}

.post-card__title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.post-card__title a {
	color: var(--pcja-text-primary);
	transition: color 0.2s ease;
}

.post-card__title a:hover {
	color: var(--pcja-mint);
}

.post-card__excerpt {
	font-size: 0.9375rem;
	color: var(--pcja-text-secondary);
	line-height: 1.6;
	margin-bottom: 1rem;
}

.post-card__excerpt p {
	margin-bottom: 0;
}

.post-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--pcja-mint);
	font-size: 0.875rem;
	font-weight: 500;
	transition: gap 0.2s ease;
}

.post-card__read-more:hover {
	gap: 0.625rem;
	color: var(--pcja-mint-dark);
}

@media (max-width: 500px) {
	.post-grid {
		grid-template-columns: 1fr;
	}
}

/* No results */
.no-results {
	max-width: var(--pcja-content-width);
	margin: 0 auto;
	padding: 5rem 1.5rem;
	text-align: center;
}

.no-results p {
	color: var(--pcja-text-secondary);
	max-width: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	padding: 0 1.5rem 4rem;
}

.pagination .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pagination .page-numbers li {
	list-style: none;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	transition: background 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers a {
	color: var(--pcja-text-secondary);
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
}

.pagination .page-numbers a:hover {
	background: rgba(77, 255, 206, 0.1);
	color: var(--pcja-mint);
	border-color: rgba(77, 255, 206, 0.2);
}

.pagination .page-numbers .current {
	background: var(--pcja-mint);
	color: var(--pcja-navy);
	font-weight: 600;
}

/* ==========================================================================
   WordPress Block Overrides (Dark Theme)
   ========================================================================== */

.wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 1.125rem;
}

.wp-block-separator {
	border: none;
	border-top: 1px solid var(--pcja-border);
	margin: 2rem 0;
	opacity: 1;
}

.wp-block-quote {
	border-left: 3px solid var(--pcja-mint);
	padding-left: 1.25rem;
	margin: 2rem 0;
	font-style: italic;
	color: var(--pcja-text-secondary);
}

.wp-block-quote cite {
	color: var(--pcja-text-secondary);
	font-size: 0.875rem;
	opacity: 0.7;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
	padding: 0.75rem 1rem;
	border: 1px solid var(--pcja-border);
	text-align: left;
	color: var(--pcja-text-secondary);
}

.wp-block-table th {
	background: var(--pcja-navy-surface);
	color: var(--pcja-text-primary);
	font-weight: 600;
}

.wp-block-table tr:nth-child(even) td {
	background: rgba(17, 23, 41, 0.5);
}

.wp-block-code,
.wp-block-preformatted {
	background: var(--pcja-navy-surface);
	color: var(--pcja-text-primary);
	border: 1px solid var(--pcja-border);
	border-radius: 0.5rem;
	padding: 1.5rem;
	font-size: 0.875rem;
	overflow-x: auto;
}

.wp-block-pullquote {
	border-top: 3px solid var(--pcja-mint);
	border-bottom: 3px solid var(--pcja-mint);
	padding: 2rem 0;
	text-align: center;
}

.wp-block-pullquote blockquote p {
	font-size: 1.5rem;
	color: var(--pcja-text-primary);
	font-family: var(--pcja-font-heading);
}

.wp-block-cover {
	border-radius: 1.125rem;
	overflow: hidden;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.wp-block-button__link,
.pcja-btn {
	display: inline-block;
	padding: 0.875rem 2rem;
	background: var(--pcja-mint);
	color: var(--pcja-navy);
	font-family: var(--pcja-font-body);
	font-weight: 600;
	font-size: 1rem;
	border-radius: 0.75rem;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.1s ease;
}

.wp-block-button__link:hover,
.pcja-btn:hover {
	background: var(--pcja-mint-dark);
	color: var(--pcja-navy);
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link,
.pcja-btn--outline {
	background: transparent;
	color: var(--pcja-mint);
	border: 1.5px solid var(--pcja-mint);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.pcja-btn--outline:hover {
	background: rgba(77, 255, 206, 0.1);
	color: var(--pcja-mint);
}

/* ==========================================================================
   Forms & Inputs
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
	border-radius: 0.5rem;
	color: var(--pcja-text-primary);
	font-family: var(--pcja-font-body);
	font-size: 1rem;
	transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--pcja-mint);
	outline: none;
}

::placeholder {
	color: var(--pcja-text-secondary);
	opacity: 0.5;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--pcja-text-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.pcja-footer {
	background: var(--pcja-navy-light);
	border-top: 1px solid var(--pcja-border);
}

.pcja-footer__inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	padding: 4rem 1.5rem;
}

.pcja-footer__logo {
	height: 32px;
	width: auto;
}

.pcja-footer__tagline {
	color: var(--pcja-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-top: 1rem;
}

.pcja-footer__social {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.pcja-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
	color: var(--pcja-text-secondary);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pcja-footer__social a:hover {
	background: rgba(77, 255, 206, 0.1);
	color: var(--pcja-mint);
	border-color: rgba(77, 255, 206, 0.2);
}

.pcja-footer__heading {
	font-family: var(--pcja-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pcja-text-primary);
	margin-bottom: 1.25rem;
}

.pcja-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pcja-footer__links li {
	margin-bottom: 0.75rem;
}

.pcja-footer__links a {
	color: var(--pcja-text-secondary);
	font-size: 0.9375rem;
	transition: color 0.2s ease;
}

.pcja-footer__links a:hover {
	color: var(--pcja-mint);
}

.pcja-footer__contact li {
	color: var(--pcja-text-secondary);
	font-size: 0.9375rem;
}

.pcja-footer__bottom {
	border-top: 1px solid var(--pcja-border);
	padding: 1.5rem;
}

.pcja-footer__bottom-inner {
	max-width: var(--pcja-wide-width);
	margin: 0 auto;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--pcja-text-secondary);
	opacity: 0.7;
}

@media (max-width: 900px) {
	.pcja-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}

	.pcja-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 500px) {
	.pcja-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Fluent Forms - Dark Theme Override
   ========================================================================== */

/* Form container */
.fluentform,
.frm-fluent-form {
	background: var(--pcja-navy-surface);
	border: 1px solid var(--pcja-border);
	border-radius: 1.125rem;
	padding: 2rem;
}

/* Labels */
.fluentform .ff-el-input--label label,
.fluentform .ff-el-form-check-label {
	color: var(--pcja-text-primary) !important;
	font-family: var(--pcja-font-body);
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

/* Text inputs, emails, textareas, selects */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="url"],
.fluentform input[type="password"],
.fluentform input[type="number"],
.fluentform input[type="tel"],
.fluentform textarea,
.fluentform select,
.fluentform .ff-el-form-control {
	background: var(--pcja-navy-light) !important;
	border: 1px solid var(--pcja-border) !important;
	border-radius: 0.5rem !important;
	color: var(--pcja-text-primary) !important;
	font-family: var(--pcja-font-body);
	font-size: 1rem;
	padding: 0.75rem 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fluentform input:focus,
.fluentform textarea:focus,
.fluentform select:focus,
.fluentform .ff-el-form-control:focus {
	border-color: var(--pcja-mint) !important;
	box-shadow: 0 0 0 3px rgba(77, 255, 206, 0.12) !important;
	outline: none !important;
}

.fluentform ::placeholder {
	color: var(--pcja-text-secondary) !important;
	opacity: 0.5;
}

/* Help text */
.fluentform .ff-el-help-message {
	color: var(--pcja-text-secondary);
	font-size: 0.8125rem;
	margin-top: 0.375rem;
}

/* Error messages */
.fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #ef4444 !important;
}

.fluentform .error.text-danger,
.fluentform .ff_has_error .error {
	color: #f87171 !important;
	font-size: 0.8125rem;
	margin-top: 0.375rem;
}

/* Submit button */
.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
	background: var(--pcja-mint) !important;
	color: var(--pcja-navy) !important;
	font-family: var(--pcja-font-body);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.875rem 2rem !important;
	border-radius: 0.75rem !important;
	border: none !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.1s ease;
	width: 100%;
}

.fluentform .ff-btn-submit:hover,
.fluentform button[type="submit"]:hover {
	background: var(--pcja-mint-dark) !important;
	transform: translateY(-1px);
}

.fluentform .ff-btn-submit:active,
.fluentform button[type="submit"]:active {
	transform: translateY(0);
}

/* Radio and checkbox custom styles */
.fluentform .ff-el-form-check input[type="radio"],
.fluentform .ff-el-form-check input[type="checkbox"] {
	accent-color: var(--pcja-mint);
}

/* Multi-step progress bar */
.fluentform .ff-step-header {
	background: var(--pcja-navy-light);
	border-radius: 0.5rem;
	padding: 1rem;
}

.fluentform .ff-step-titles li.ff_active,
.fluentform .ff-step-titles li.ff_completed {
	color: var(--pcja-mint) !important;
}

.fluentform .ff-el-progress-bar {
	background: var(--pcja-mint) !important;
}

.fluentform .ff-el-progress {
	background: var(--pcja-navy-light) !important;
}

/* Success message */
.fluentform .ff-message-success,
.ff-message-success {
	background: rgba(77, 255, 206, 0.1) !important;
	border: 1px solid rgba(77, 255, 206, 0.2) !important;
	color: var(--pcja-mint) !important;
	border-radius: 0.75rem;
	padding: 1.25rem 1.5rem;
	font-size: 1rem;
}

/* Section break / dividers */
.fluentform .ff-el-section-break {
	border-color: var(--pcja-border) !important;
}

.fluentform .ff-el-section-break .ff-el-section-title {
	color: var(--pcja-text-primary) !important;
	font-family: var(--pcja-font-heading);
}

.fluentform .ff-el-section-break .ff-el-section-description {
	color: var(--pcja-text-secondary) !important;
}

/* File upload area */
.fluentform .ff_file_upload_holder {
	background: var(--pcja-navy-light) !important;
	border: 2px dashed var(--pcja-border) !important;
	border-radius: 0.75rem;
	color: var(--pcja-text-secondary);
	padding: 2rem;
	text-align: center;
	transition: border-color 0.2s ease;
}

.fluentform .ff_file_upload_holder:hover {
	border-color: var(--pcja-mint) !important;
}

/* Star rating */
.fluentform .ff-el-ratings label {
	color: var(--pcja-text-secondary);
}

.fluentform .ff-el-ratings label.active,
.fluentform .ff-el-ratings label:hover {
	color: var(--pcja-mint) !important;
}

/* Dropdown / select2 overrides */
.fluentform .ff_has_multi_select .choices__inner,
.fluentform .choices__inner {
	background: var(--pcja-navy-light) !important;
	border: 1px solid var(--pcja-border) !important;
	border-radius: 0.5rem !important;
	color: var(--pcja-text-primary) !important;
}

.fluentform .choices__list--dropdown {
	background: var(--pcja-navy-surface) !important;
	border: 1px solid var(--pcja-border) !important;
	border-radius: 0.5rem !important;
}

.fluentform .choices__list--dropdown .choices__item--selectable.is-highlighted {
	background: rgba(77, 255, 206, 0.1) !important;
	color: var(--pcja-mint) !important;
}

/* Remove default Fluent Forms inline colors that clash with dark theme */
.fluentform .ff-el-group {
	margin-bottom: 1.25rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	.entry-header {
		padding: 3rem 1.5rem 2.5rem;
	}

	.archive-header {
		padding: 3rem 1.5rem 2.5rem;
	}

	.entry-content {
		padding: 2rem 1.5rem 3rem;
	}

	.entry-featured-image img {
		border-radius: 0.75rem;
	}
}
