/**
 * Chief Magazine — Contact & Enquiry Editorial CSS
 * Design system styles for /contact/ route.
 *
 * @package InHype Child
 */

/* Container & Base Wrappers */
.chief-contact-page-wrap {
	background-color: #f8fafc;
	padding: 40px 0 60px 0;
	color: #1e293b;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.chief-contact-container {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Breadcrumbs */
.chief-contact-breadcrumbs {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.chief-contact-breadcrumbs a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s ease;
}
.chief-contact-breadcrumbs a:hover {
	color: #0f172a;
}
.chief-contact-breadcrumbs-sep {
	color: #94a3b8;
}

/* Page Header */
.chief-contact-header {
	margin-bottom: 36px;
}
.chief-contact-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #0284c7;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.chief-contact-title {
	font-family: 'Merriweather', Georgia, serif;
	font-size: 38px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
	margin: 0 0 12px 0;
}
.chief-contact-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: #475569;
	max-width: 800px;
	margin: 0;
}

/* Grid Layout */
.chief-contact-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 32px;
	align-items: start;
}

/* Left Main Column */
.chief-contact-main-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

/* Purpose Selector Cards */
.chief-purpose-selector {
	background: #ffffff;
	padding: 24px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.chief-purpose-heading {
	font-family: 'Merriweather', Georgia, serif;
	font-size: 18px;
	color: #0f172a;
	margin: 0 0 16px 0;
}
.chief-purpose-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.chief-purpose-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.chief-purpose-card:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.chief-purpose-card.active {
	background: #f0f9ff;
	border-color: #0284c7;
	box-shadow: 0 0 0 1px #0284c7;
}
.chief-purpose-icon {
	color: #0284c7;
	flex-shrink: 0;
	margin-top: 2px;
}
.chief-purpose-info h4 {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 4px 0;
}
.chief-purpose-info p {
	font-size: 12px;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
}

/* Contact Form Wrapper */
.chief-contact-form-wrapper {
	background: #ffffff;
	padding: 32px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.chief-form-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}
.chief-form-group {
	margin-bottom: 20px;
}
.chief-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	margin-bottom: 6px;
}
.chief-form-group label .required {
	color: #dc2626;
}

.chief-input,
.chief-select,
.chief-textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	color: #0f172a;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.chief-input:focus,
.chief-select:focus,
.chief-textarea:focus {
	outline: none;
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.chief-textarea {
	resize: vertical;
	min-height: 140px;
}

/* Turnstile & Submit Row */
.chief-turnstile-group {
	margin-bottom: 20px;
}
.chief-contact-response {
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
}
.chief-contact-response.success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #15803d;
}
.chief-contact-response.error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.chief-contact-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background: #0f172a;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	width: 100%;
}
.chief-contact-submit-btn:hover {
	background: #1e293b;
}
.chief-contact-submit-btn:active {
	transform: scale(0.99);
}
.chief-contact-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.chief-btn-loader {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: chief-spin 0.8s linear infinite;
}
@keyframes chief-spin {
	to { transform: rotate(360deg); }
}

/* Right Sidebar Column */
.chief-contact-sidebar-col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.chief-contact-info-card {
	background: #ffffff;
	padding: 24px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.chief-info-title {
	font-family: 'Merriweather', Georgia, serif;
	font-size: 18px;
	color: #0f172a;
	margin: 0 0 12px 0;
}
.chief-info-divider {
	height: 2px;
	width: 40px;
	background: #0284c7;
	margin-bottom: 20px;
}

.chief-info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
}
.chief-info-item:last-child {
	margin-bottom: 0;
}
.chief-info-icon {
	color: #0284c7;
	margin-top: 2px;
	flex-shrink: 0;
}
.chief-info-text .label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 2px;
}
.chief-info-text .val {
	font-size: 14px;
	color: #0f172a;
	font-weight: 500;
	text-decoration: none;
	word-break: break-all;
	transition: color 0.2s ease;
}
.chief-info-text a.val:hover {
	color: #0284c7;
}
.chief-info-text .val.static {
	color: #334155;
}

/* Quote Card */
.chief-contact-quote-card {
	background: #0f172a;
	color: #ffffff;
	padding: 28px 24px;
	border-radius: 8px;
	position: relative;
}
.chief-quote-mark {
	font-family: Georgia, serif;
	font-size: 60px;
	line-height: 1;
	color: #0284c7;
	opacity: 0.6;
	margin-bottom: -20px;
}
.chief-quote-body {
	font-family: 'Merriweather', Georgia, serif;
	font-size: 14px;
	line-height: 1.6;
	font-style: italic;
	color: #f1f5f9;
	margin: 0 0 14px 0;
}
.chief-quote-cite {
	display: block;
	font-size: 12px;
	font-style: normal;
	color: #94a3b8;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
	.chief-contact-grid {
		grid-template-columns: 1fr;
	}
	.chief-purpose-cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.chief-form-row {
		grid-template-columns: 1fr;
	}
	.chief-contact-title {
		font-size: 28px;
	}
	.chief-contact-form-wrapper,
	.chief-purpose-selector {
		padding: 20px;
	}
}
