/* ==========================================================================
   Pages CSS - Pricing, Mission, Service Area, Careers, Partner
   Mobile-First Responsive Design (matches reference theme)
   ========================================================================== */

/* ==========================================================================
   PRICING PAGE — Retool-inspired clean layout
   ========================================================================== */

.pricing-page {
	background-color: var(--mac-gray-50, #f9f9f9);
}

.pricing-hero {
	background-color: var(--mac-white, #fff);
	padding: 70px 0 40px;
}

.pricing-hero .mac-container {
	max-width: 1200px;
}

.pricing-hero h1 {
	color: var(--mac-black, #000);
	font-size: clamp(2rem, 4.5vw, 3.2rem);
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	text-align: left;
}

/* Pricing Cards Grid */
.pricing-cards-section {
	background-color: var(--mac-white, #fff);
	padding: 0 0 70px;
}

.pricing-cards-section .mac-container {
	max-width: 1200px;
}

.pricing-cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	border: 1px solid var(--mac-gray-200, #e0e0e0);
	border-radius: 12px;
	overflow: hidden;
}

/* Individual Pricing Card */
.pricing-card {
	background: var(--mac-white, #fff);
	padding: 36px 32px;
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--mac-gray-200, #e0e0e0);
}

.pricing-card:last-child {
	border-right: none;
}

/* Featured card accent */
.pricing-card--featured {
	background: #fafafa;
	border-top: 3px solid var(--mac-red, #FF2400);
}

.pricing-card-header {
	margin-bottom: 20px;
}

.pricing-tier-name {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--mac-black, #000);
}

.pricing-tier-desc {
	color: #666;
	font-size: 0.9rem;
	margin: 0 0 12px;
	line-height: 1.4;
}

.pricing-tier-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--mac-gray-600, #666);
	border: 1px solid var(--mac-gray-200, #e0e0e0);
	border-radius: 4px;
	padding: 3px 10px;
	margin: 0 0 16px;
}

.pricing-price {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 2px;
}

.price-amount {
	font-size: 2rem;
	font-weight: 700;
	color: var(--mac-black, #000);
	line-height: 1;
}

.price-period {
	font-size: 1rem;
	color: #999;
	font-weight: 400;
}

/* CTA Buttons — placed above feature list like Retool */
.pricing-card-cta {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--mac-gray-200, #e0e0e0);
}

.pricing-btn {
	display: block;
	width: 100%;
	padding: 12px 24px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: center;
	box-sizing: border-box;
}

.pricing-btn-primary {
	background-color: var(--mac-red, #FF2400);
	color: #fff;
	border: 2px solid var(--mac-red, #FF2400);
}

.pricing-btn-primary:hover {
	background-color: #d91e00;
	border-color: #d91e00;
	color: #fff;
}

.pricing-btn-dark {
	background-color: var(--mac-black, #000);
	color: #fff;
	border: 2px solid var(--mac-black, #000);
}

.pricing-btn-dark:hover {
	background-color: #333;
	border-color: #333;
	color: #fff;
}

/* Feature List */
.pricing-features {
	list-style: none;
	padding: 0;
	margin: 0;
	flex-grow: 1;
}

.pricing-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	font-size: 0.9rem;
	color: #444;
	line-height: 1.5;
}

.pricing-features li:first-child {
	padding-top: 0;
}

.pricing-check {
	color: var(--mac-black, #000);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Pricing Responsive */
@media (max-width: 768px) {
	.pricing-cards-grid {
		grid-template-columns: 1fr;
	}

	.pricing-card {
		border-right: none;
		border-bottom: 1px solid var(--mac-gray-200, #e0e0e0);
	}

	.pricing-card:last-child {
		border-bottom: none;
	}

	.pricing-hero {
		padding: 50px 16px 24px;
	}

	.pricing-hero h1 {
		text-align: center;
	}

	.pricing-cards-section {
		padding: 0 16px 50px;
	}
}

@media (max-width: 576px) {
	.pricing-card {
		padding: 28px 20px;
	}

	.price-amount {
		font-size: 1.75rem;
	}

	.pricing-hero h1 {
		font-size: 1.8rem;
	}
}

/* ==========================================================================
   MISSION PAGE
   Mobile-first responsive design (from reference theme)
   ========================================================================== */

/* Override global mascot background for Mission page */
body.page-template-page-mission::before {
	display: none !important;
}

/* Main Container */
.mac-mission-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
}

/* HERO SECTION */
.mission-hero-section {
	position: relative;
	width: 100%;
	aspect-ratio: 4/1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	margin: 0 auto;
}

/* Mobile: Reduced height for better proportions */
@media (max-width: 767px) {
	.mission-hero-section {
		min-height: 140px;
		aspect-ratio: 2.5/1;
	}
}

.mission-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.mission-hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mission-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px;
	box-sizing: border-box;
}

/* Top Left Heading */
.mission-hero-heading {
	align-self: flex-start;
	text-align: left;
}

.mission-hero-heading h2 {
	font-size: 1.2rem;
	font-weight: 700;
	color: white;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	line-height: 1.2;
}

/* Bottom Left Button */
.mission-hero-button {
	align-self: flex-start;
	text-align: left;
}

.our-story-button {
	display: inline-block;
	padding: 10px 19px;
	background-color: var(--mac-red, #FF2400);
	color: white;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	border-radius: 4px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border: 2px solid var(--mac-red, #FF2400);
}

.our-story-button:hover {
	background-color: transparent;
	color: var(--mac-red, #FF2400);
	border-color: var(--mac-red, #FF2400);
}

/* CONTENT SECTION */
.mission-content-section {
	background-color: white;
	width: 100%;
}

.mission-content-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.mission-content-container h1,
.mission-content-container h2,
.mission-content-container h3,
.mission-content-container h4,
.mission-content-container h5,
.mission-content-container h6 {
	color: #000;
}

.mission-content-container p {
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* TABLET STYLES (576px and up) */
@media (min-width: 576px) {
	.mission-hero-section {
		aspect-ratio: 4/1;
		min-height: auto;
	}

	.mission-hero-overlay {
		padding: 15px;
	}

	.mission-hero-heading h2 {
		font-size: 1.44rem;
	}

	.our-story-button {
		padding: 12px 24px;
		font-size: 14px;
	}

	.mission-content-container {
		padding: 0 40px;
	}
}

/* LARGE TABLET STYLES (768px and up) */
@media (min-width: 768px) {
	.mission-hero-overlay {
		padding: 15px;
	}

	.mission-hero-heading h2 {
		font-size: 1.76rem;
	}
}

/* DESKTOP STYLES (992px and up) */
@media (min-width: 992px) {
	.mission-hero-overlay {
		padding: 20px;
	}

	.mission-hero-heading h2 {
		font-size: 2rem;
	}

	.mission-content-container {
		padding: 0 60px;
	}
}

/* LARGE DESKTOP STYLES (1200px and up) */
@media (min-width: 1200px) {
	.mission-hero-overlay {
		padding: 25px;
	}

	.mission-hero-heading h2 {
		font-size: 2.4rem;
	}

	.our-story-button {
		padding: 14px 29px;
		font-size: 16px;
	}
}

/* Mission Accessibility */
.our-story-button:focus {
	outline: 2px solid var(--mac-red, #FF2400);
	outline-offset: 2px;
}

/* Mission Print Styles */
@media print {
	.mission-hero-section {
		break-inside: avoid;
	}

	.mission-hero-heading h2 {
		color: #000 !important;
		text-shadow: none !important;
	}

	.our-story-button {
		background: #000 !important;
		color: #fff !important;
		border-color: #000 !important;
	}
}

/* ==========================================================================
   SERVICE AREA PAGE
   Mobile-first responsive design (from reference theme)
   ========================================================================== */

/* Main Container */
.mac-service-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
}

/* Container styling */
.mac-service-container .mac-container,
.careers-stay-connected .mac-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* HERO SECTION */
.service-hero-section {
	position: relative;
	width: 100%;
	aspect-ratio: 4/1;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	max-width: 1200px;
	margin: 0 auto;
}

.service-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.service-hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.service-hero-overlay {
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 2;
	width: calc(100% - 40px);
	box-sizing: border-box;
	text-align: right;
}

/* SERVICE AREA SECTION */
.service-area-section {
	padding: 40px 0;
	background-color: white;
	width: 100%;
}

.service-area-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	box-sizing: border-box;
}

.service-area-content {
	display: flex;
	flex-direction: column;
	gap: 30px;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

/* Left Side - Text Content */
.service-area-text {
	width: 100%;
	text-align: left;
	max-width: 600px;
	margin: 0 auto;
}

.flag-container {
	margin-bottom: 20px;
}

/* Mobile and tablet: show mobile flag, hide desktop flag */
.flag-mobile {
	display: block;
}

.flag-desktop {
	display: none;
}

/* Force hide desktop flag and its contents on mobile and tablet */
@media (max-width: 991px) {
	.flag-desktop,
	.flag-desktop .usa-flag-icon,
	.flag-container.flag-desktop,
	.flag-container.flag-desktop .usa-flag-icon {
		display: none;
		visibility: hidden;
		opacity: 0;
		width: 0;
		height: 0;
		overflow: hidden;
	}

	.flag-mobile,
	.flag-mobile .usa-flag-icon,
	.flag-container.flag-mobile,
	.flag-container.flag-mobile .usa-flag-icon {
		display: none;
	}
}

.usa-flag-icon {
	width: 40px;
	height: auto;
	display: inline-block;
}

.service-area-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #000;
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.service-area-description {
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Right Side - Map */
.service-area-map {
	width: 100%;
	display: flex;
	justify-content: center;
}

.map-container {
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1/1;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* DID YOU KNOW BANNER */
.did-you-know-banner {
	background-color: var(--mac-red, #FF2400);
	padding: 12px 0;
	text-align: center;
}

.banner-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.banner-text {
	color: white;
	font-size: 0.96rem;
	font-weight: 700;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 2px;
}

/* FEATURED PUBLICATIONS SECTION */
.featured-publications-section {
	padding: 0;
	background-color: transparent;
	margin: 0 auto;
	width: 100%;
}

.publications-container {
	width: 100%;
	margin: 0 auto;
	padding: 15px 15px 30px 15px;
	text-align: center;
	background-color: #f5f6f6;
}

.publications-title {
	font-size: 0.9rem !important;
	font-weight: 600;
	color: #000;
	margin-top: 0 !important;
	margin-bottom: 0;
}

.publications-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 15px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.publication-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.publication-item img {
	max-width: 100%;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.7;
	transition: all 0.3s ease;
}

.publication-item img:hover {
	filter: grayscale(0%);
	opacity: 1;
}

/* LATEST POSTS SECTION */
.latest-posts-section {
	background: #000;
	padding: 40px 0 50px 0;
	margin-top: 0;
	width: 100%;
}

.latest-posts-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-heading {
	color: #fff;
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0 0 30px 0;
	text-align: left;
}

/* Mobile: Single column grid for latest posts */
.latest-posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 25px;
}

/* Latest Post Card Styles */
.latest-post-card {
	background: #fff;
	border: 1px solid #fff;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.latest-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.card-image {
	aspect-ratio: 1/1;
	overflow: hidden;
	background: #f5f5f5;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.card-link:hover .card-image img {
	transform: scale(1.05);
}

.placeholder-image {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

.card-category {
	background: var(--mac-red, #FF2400);
	color: #fff;
	padding: 8px 15px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: left;
}

.card-content {
	padding: 15px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.card-date {
	color: #666;
	font-size: 0.9rem;
	font-style: italic;
	margin: 0 0 10px 0;
	text-align: left;
}

.card-title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* STAY CONNECTED SECTION (shared by service area & careers) */
.careers-stay-connected {
	position: relative;
	padding: 60px 0;
	overflow: hidden;
}

.careers-stay-connected-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.careers-stay-connected-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-stay-connected-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2;
}

.careers-stay-connected-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: #fff;
}

.careers-stay-connected-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 30px 0;
	color: #fff;
}

.careers-stay-connected-button {
	display: inline-block;
	background: #ff2400;
	color: #fff;
	padding: 15px 30px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 1rem;
}

.careers-stay-connected-button:hover {
	background: #d61d00;
	transform: translateY(-3px);
	color: #fff;
	box-shadow: 0 8px 25px rgba(255, 36, 0, 0.4);
}

/* Service Area Tablet (576px+) */
@media (min-width: 576px) {
	.service-area-container {
		padding: 0 30px;
	}

	.service-area-title {
		font-size: 2.2rem;
	}

	.service-area-description {
		font-size: 1.1rem;
	}

	.banner-text {
		font-size: 1.12rem;
	}

	.latest-posts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}

	.section-heading {
		font-size: 2rem;
	}
}

/* Service Area Large Tablet (768px+) */
@media (min-width: 768px) {
	.service-hero-overlay {
		bottom: 30px;
		left: 30px;
		text-align: left;
	}

	.service-area-section {
		padding: 60px 0;
	}

	.map-container {
		max-width: 500px;
	}

	.latest-posts-container {
		padding: 0 40px;
	}

	.card-title {
		font-size: 1.2rem;
	}

	.careers-stay-connected {
		padding: 80px 0;
	}
}

/* Service Area Desktop (992px+) */
@media (min-width: 992px) {
	.service-hero-overlay {
		bottom: 40px;
		left: 40px;
	}

	.service-area-section {
		padding: 80px 0;
	}

	.service-area-container {
		padding: 0 7.5px;
	}

	/* Two column layout for service area */
	.service-area-content {
		flex-direction: row;
		gap: 60px;
		align-items: stretch;
	}

	.service-area-text {
		width: 50%;
		text-align: left;
		max-width: none;
		margin: 0;
		display: flex;
		flex-direction: column;
	}

	/* Desktop flag positioning */
	.flag-mobile {
		display: none;
	}

	.flag-desktop {
		display: block !important;
		margin-top: auto;
		margin-bottom: 0;
		align-self: flex-start;
	}

	.flag-desktop .usa-flag-icon {
		width: 160px;
		height: auto;
	}

	.service-area-map {
		width: 50%;
		justify-content: flex-end;
		display: flex;
		align-items: stretch;
	}

	.map-container {
		max-width: 600px;
	}

	.service-area-title {
		font-size: 2.5rem;
	}

	.service-area-description {
		font-size: 1.2rem;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.banner-text {
		font-size: 1.28rem;
	}

	/* Four columns for latest posts on desktop */
	.latest-posts-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 30px;
	}

	.section-heading {
		font-size: 2.2rem;
		margin-bottom: 40px;
	}

	.latest-posts-section {
		padding: 60px 0;
	}
}

/* Service Area Large Desktop (1200px+) */
@media (min-width: 1200px) {
	.service-hero-overlay {
		bottom: 50px;
		left: 50px;
	}

	.service-area-section {
		padding: 100px 0;
	}

	.service-area-content {
		gap: 80px;
	}

	.service-area-title {
		font-size: 3rem;
		margin-bottom: 30px;
	}

	.service-area-description {
		font-size: 1.3rem;
	}

	.latest-posts-container {
		padding: 0 60px;
	}

	.card-title {
		font-size: 1.3rem;
	}

	.section-heading {
		font-size: 2.5rem;
	}

	.banner-text {
		font-size: 1.44rem;
	}

	.careers-stay-connected-title {
		font-size: 3rem;
	}
}

/* Publications Responsive */
@media (max-width: 992px) {
	.publications-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.publications-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
		gap: 15px;
	}

	.publication-item img {
		max-height: 50px;
	}

	.careers-stay-connected {
		padding: 40px 0;
	}

	.careers-stay-connected-title {
		font-size: 2rem;
	}
}

@media (max-width: 480px) {
	.publications-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 1fr);
		gap: 10px;
	}

	.publication-item img {
		max-height: 40px;
	}
}

/* Service Area Accessibility */
.card-link:focus {
	outline: 2px solid var(--mac-red, #FF2400);
	outline-offset: 2px;
}

/* Service Area Print */
@media print {
	.latest-posts-section {
		background: #fff !important;
		color: #000 !important;
	}

	.section-heading {
		color: #000 !important;
	}

	.card-category {
		background: #000 !important;
		color: #fff !important;
	}

	.did-you-know-banner {
		background: #000 !important;
	}
}

/* ==========================================================================
   CAREERS PAGE
   Mobile-first responsive design (from reference theme)
   ========================================================================== */

.careers-page {
	font-family: 'Work Sans', sans-serif;
	line-height: 1.6;
}

.careers-page .mac-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero Section */
.careers-hero-section {
	position: relative;
	height: 10vh;
	min-height: 85px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
	max-width: 1200px;
	margin: 0 auto;
}

.careers-hero-section::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 85px;
	height: 100%;
	background: #000;
	clip-path: polygon(0 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}

.careers-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: 100%;
	z-index: 1;
	clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
}

.careers-hero-background img {
	height: 100%;
	width: auto;
	object-fit: contain;
	object-position: left center;
}

.careers-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	z-index: 2;
	pointer-events: none;
}

.careers-hero-content {
	position: relative;
	z-index: 3;
	color: #fff;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: auto;
	justify-content: center;
}

.careers-hero-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 5px 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

.careers-hero-button {
	display: inline-block;
	background: #ff2400;
	color: #fff;
	padding: 12px 24px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 0.9rem;
	align-self: flex-start;
}

.careers-hero-button:hover {
	background: #d61d00;
	transform: translateY(-3px);
	color: #fff;
	box-shadow: 0 8px 25px rgba(255, 36, 0, 0.4);
}

.careers-hero-accent {
	position: absolute;
	top: 20%;
	right: 2%;
	width: 120px;
	height: 120px;
	background: linear-gradient(135deg, #ff6b93, #ff2400);
	transform: rotate(45deg);
	opacity: 0.9;
	display: none;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(255, 36, 0, 0.3);
}

.careers-hero-accent::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -60px;
	width: 80px;
	height: 80px;
	background: linear-gradient(45deg, #ff6b47, #ff6b93);
	transform: rotate(15deg);
	border-radius: 15px;
	opacity: 0.8;
	box-shadow: 0 8px 25px rgba(255, 107, 147, 0.3);
}

.careers-hero-accent::after {
	content: '';
	position: absolute;
	bottom: -50px;
	left: -70px;
	width: 100px;
	height: 100px;
	background: linear-gradient(225deg, #ff2400, #ff6b47);
	transform: rotate(-30deg);
	border-radius: 25px;
	opacity: 0.7;
	box-shadow: 0 6px 20px rgba(255, 36, 0, 0.25);
}

/* Shared Overlay Styles */
.careers-overlay-card {
	display: block;
	text-decoration: none;
	border-radius: 10px;
	overflow: visible;
	transition: transform 0.3s ease;
	position: relative;
	margin-bottom: 20px;
}

.careers-overlay-card:hover {
	transform: translateY(-5px);
}

.careers-overlay-image {
	position: relative;
	aspect-ratio: 5/4;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.careers-overlay-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-overlay-banner {
	position: absolute;
	bottom: 10px;
	left: -25px;
	right: auto;
	width: 95%;
	max-width: 380px;
	padding: 10px 0px 5px 10px;
	color: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	text-align: left;
}

.careers-overlay-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 3px 0;
	color: #fff;
	line-height: 1.1;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
}

.careers-overlay-location {
	font-size: 0.8rem;
	margin: 0;
	opacity: 0.9;
	color: #fff;
	font-weight: 400;
	white-space: nowrap;
}

/* Open Jobs Section */
.careers-open-jobs {
	padding: 40px 0 40px 0;
	background: #fff;
}

.careers-section-heading {
	font-size: 2rem;
	font-weight: 700;
	color: #000;
	margin: 0 0 10px 0;
	text-align: left;
}

.careers-job-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
}

.careers-job-overlay {
	background: #000;
}

/* Recruiter Section */
.careers-recruiter-section {
	background: #ff2400;
	color: #fff;
	max-width: 1200px;
	margin: 0 auto;
}

.careers-recruiter-section .mac-container {
	padding-left: 0;
	padding-right: 0;
}

.careers-recruiter-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}

.careers-recruiter-text {
	background: #000;
	width: 100%;
	max-width: 540px;
	padding-bottom: 20px;
	clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}

.careers-recruiter-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	padding: 30px 0 0 40px;
	color: #fff;
}

.careers-recruiter-description {
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 0 0 10px 0;
	padding: 0 100px 0 40px;
	color: #fff;
}

.careers-recruiter-button {
	display: inline-block;
	background: #ff2400;
	color: #fff;
	padding: 12px 24px;
	margin-left: 40px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 0.85rem;
}

.careers-recruiter-button:hover {
	background: #d61d00;
	transform: translateY(-3px);
	color: #fff;
	box-shadow: 0 8px 25px rgba(255, 36, 0, 0.4);
}

.careers-recruiter-graphic {
	flex: 1;
	max-width: 300px;
}

.careers-recruiter-graphic img {
	width: 100%;
	height: auto;
}

/* Unexpected Roles Section */
.careers-unexpected-roles {
	background: #fff;
}

.careers-highlight {
	color: #ff2400;
}

.careers-role-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.careers-role-icon {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	padding: 0px 10px 50px 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.careers-role-icon img {
	width: 90%;
	height: 90%;
	object-fit: contain;
}

.careers-role-banner {
	background: #ff2400;
}

.careers-role-title {
	font-size: 1.2rem;
}

.careers-role-location {
	font-size: 0.9rem;
}

/* Image Section */
.careers-image-section {
	padding: 40px 0;
	background: #000;
}

.careers-image-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.careers-image-card {
	position: relative;
	display: block;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.3s ease;
	aspect-ratio: 1.75/1;
}

.careers-image-card:hover {
	transform: scale(1.02);
}

.careers-image-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.careers-image-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.careers-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
}

.careers-image-text {
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 2;
}

.careers-image-text h3 {
	font-size: 1.8rem;
	font-weight: 800;
	margin: 0;
	color: #fff;
	text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
	letter-spacing: 1px;
}

/* Careers Responsive: Hero stacking (1050px and below) */
@media (max-width: 1050px) {
	.careers-hero-section {
		height: auto !important;
		min-height: auto !important;
		flex-direction: column;
		align-items: stretch;
		position: relative;
	}

	.careers-hero-section::after {
		display: none;
	}

	.careers-hero-background {
		position: static;
		width: 100%;
		height: auto;
		order: -1;
		clip-path: none !important;
		z-index: 1;
	}

	.careers-hero-background img {
		width: 100%;
		height: auto;
		max-height: 300px;
		object-fit: cover;
		object-position: center;
		display: block;
	}

	.careers-hero-content {
		position: relative;
		z-index: 2;
		background: #000;
		padding: 30px 0;
		margin: 0;
		max-width: 100%;
		align-items: flex-start;
	}

	.careers-hero-content .mac-container {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
	}

	.careers-hero-title {
		text-align: left !important;
		margin-left: 20px;
		margin-bottom: 15px;
	}

	.careers-hero-button {
		margin-left: 20px;
		align-self: flex-start;
	}

	.careers-hero-accent {
		display: none !important;
	}

	.careers-hero-overlay {
		display: none;
	}
}

/* Careers Responsive: Hero grid (782px to 1050px) */
@media (min-width: 782px) and (max-width: 1050px) {
	.careers-hero-section {
		height: auto !important;
		min-height: 200px;
		flex-direction: row;
		align-items: stretch;
		display: flex;
	}

	.careers-hero-background {
		position: relative;
		width: 30%;
		height: auto;
		order: 0;
		clip-path: none !important;
		flex: 0 0 30%;
	}

	.careers-hero-background img {
		width: 100%;
		height: 100%;
		min-height: 200px;
		object-fit: cover;
		object-position: center;
		display: block;
	}

	.careers-hero-content {
		position: relative;
		z-index: 2;
		background: #000;
		padding: 30px 0;
		margin: 0;
		width: 70%;
		flex: 0 0 70%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
	}

	.careers-hero-content .mac-container {
		padding: 0 !important;
		margin: 0 !important;
		max-width: 100% !important;
		width: 100%;
	}

	.careers-hero-title {
		text-align: left !important;
		margin-left: 40px;
		margin-bottom: 15px;
	}

	.careers-hero-button {
		margin-left: 40px;
		align-self: flex-start;
	}

	.careers-hero-accent {
		display: none !important;
	}

	.careers-hero-overlay {
		display: none;
	}
}

/* Very small screens (575px and below) - Force 2x2 grid */
@media (max-width: 575px) {
	.careers-job-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.careers-role-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.careers-overlay-banner {
		width: 95%;
		max-width: 280px;
		left: -12px;
		padding: 6px 0px 3px 6px;
	}

	.careers-overlay-title {
		font-size: 0.8rem;
	}

	.careers-overlay-location {
		font-size: 0.7rem;
	}

	.careers-role-icon {
		padding: 0px 6px 30px 6px;
	}

	.careers-role-title {
		font-size: 1rem;
	}

	.careers-role-location {
		font-size: 0.8rem;
	}
}

/* Mobile adjustments (768px and below) */
@media (max-width: 768px) {
	.careers-overlay-banner {
		width: 98%;
		max-width: 340px;
		left: -15px;
		padding: 8px 0px 4px 8px;
	}

	.careers-overlay-title {
		font-size: 0.9rem;
	}

	.careers-overlay-location {
		font-size: 0.75rem;
	}

	.careers-recruiter-content {
		flex-direction: column;
		gap: 0;
		align-items: center;
	}

	.careers-recruiter-graphic {
		order: -1;
		max-width: 100%;
		display: flex;
		justify-content: center;
	}

	.careers-recruiter-text {
		clip-path: none;
		max-width: 100%;
	}

	.careers-recruiter-title {
		font-size: 1rem;
		padding: 20px 0 0 32px;
	}

	.careers-recruiter-description {
		padding: 0 32px 0 32px;
	}

	.careers-recruiter-button {
		margin-left: 32px;
	}

	.careers-role-icon {
		padding: 0px 8px 40px 8px;
	}

	.careers-image-section {
		padding: 20px 0;
	}

	.careers-image-card {
		aspect-ratio: 2.5/1;
	}

	.careers-image-text h3 {
		font-size: 1.4rem;
	}
}

/* Tablet adjustments (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
	.careers-overlay-banner {
		width: 92%;
		max-width: 360px;
		left: -22px;
	}

	.careers-role-icon {
		padding: 0px 9px 45px 9px;
	}

	.careers-recruiter-title {
		font-size: 1.1rem;
		padding: 17px 0 0 36px;
	}

	.careers-recruiter-description {
		padding: 0 100px 0 36px;
	}

	.careers-recruiter-button {
		margin-left: 36px;
	}
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
	.careers-hero-title {
		font-size: 1.875rem;
	}

	.careers-job-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.careers-role-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.careers-image-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
	}
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
	.careers-hero-section {
		height: 14vh;
		min-height: 105px;
	}

	.careers-hero-section::after {
		width: 105px;
		clip-path: polygon(0 0, 100% 100%, 0 100%);
	}

	.careers-hero-title {
		font-size: 2.25rem;
	}

	.careers-hero-accent {
		display: block;
		width: 80px;
		height: 80px;
	}

	.careers-hero-accent::before {
		top: -30px;
		right: -40px;
		width: 60px;
		height: 60px;
	}

	.careers-hero-accent::after {
		bottom: -35px;
		left: -45px;
		width: 70px;
		height: 70px;
	}

	.careers-recruiter-content {
		flex-direction: row;
		align-items: flex-start;
		gap: 30px;
	}

	.careers-recruiter-text {
		flex: 0 0 60%;
		max-width: 60%;
	}

	.careers-recruiter-graphic {
		flex: 0 0 35%;
		max-width: 35%;
		align-self: center;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.careers-role-icon img {
		width: 85%;
		height: 85%;
	}

	.careers-image-text h3 {
		font-size: 2rem;
	}
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
	.careers-job-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.careers-overlay-banner {
		width: 88%;
		max-width: 410px;
		left: -25px;
	}

	.careers-overlay-title {
		font-size: 1.1rem;
	}

	.careers-overlay-location {
		font-size: 0.85rem;
	}

	.careers-role-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.careers-role-icon {
		padding: 0px 12px 60px 12px;
	}

	.careers-role-icon img {
		width: 85%;
		height: 85%;
	}

	.careers-image-grid {
		gap: 20px;
	}
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
	.careers-hero-accent {
		width: 140px;
		height: 140px;
		right: 5%;
		top: 15%;
	}

	.careers-hero-accent::before {
		top: -50px;
		right: -80px;
		width: 100px;
		height: 100px;
	}

	.careers-hero-accent::after {
		bottom: -60px;
		left: -90px;
		width: 120px;
		height: 120px;
	}

	.careers-section-heading {
		font-size: 2.5rem;
	}

	/* 4-column layout for large screens */
	.careers-job-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.careers-role-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.careers-recruiter-title {
		font-size: 1.5rem;
		padding: 20px 0 0 48px;
	}

	.careers-recruiter-description {
		padding: 0 130px 0 48px;
	}

	.careers-recruiter-button {
		margin-left: 48px;
	}
}

/* ==========================================================================
   PARTNER WITH US PAGE
   ========================================================================== */

.partner-page {
	width: 100%;
}

/* Partner Hero */
.partner-hero-section {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	height: 340px;
	overflow: hidden;
}

.partner-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.partner-hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.partner-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
}

.partner-hero-content {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	padding: 40px 30px;
}

.partner-hero-content .mac-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin: 0;
}

.partner-hero-title {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.5rem);
	font-weight: 700;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.partner-hero-subtitle {
	color: rgba(255, 255, 255, 0.85);
	font-size: clamp(1rem, 2vw, 1.25rem);
	font-weight: 400;
	margin: 0;
	max-width: 600px;
}

/* Partner Cards */
.partner-cards-section {
	padding: 60px 10px;
}

.partner-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.partner-card {
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.partner-card-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.partner-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.partner-card:hover .partner-card-image img {
	transform: scale(1.05);
}

.partner-card-body {
	padding: 24px;
}

.partner-card-body h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #000;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.partner-card-body p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

/* Partner Info Section */
.partner-info-section {
	padding: 60px 30px;
	background-color: #f9f9f9;
}

.partner-info-content {
	max-width: 800px;
	margin: 0;
	text-align: left;
}

.partner-info-content h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: #000;
	margin: 0 0 20px;
	text-transform: uppercase;
}

.partner-info-content p {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #333;
	margin: 0 0 20px;
}

/* Partner Bottom Image */
.partner-bottom-image {
	width: 100%;
	height: 350px;
	overflow: hidden;
}

.partner-bottom-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Partner Responsive */
@media (max-width: 768px) {
	.partner-hero-section {
		height: 300px;
	}

	.partner-cards-section {
		padding: 40px 16px;
	}

	.partner-cards-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.partner-info-section {
		padding: 40px 16px;
	}
}

/* ==========================================================================
   PAGE.PHP - EAGLE WATERMARK
   ========================================================================== */

.mac-page-wrapper {
	position: relative;
	min-height: 60vh;
	overflow: hidden;
}

.mac-page-watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 900px;
	height: 900px;
	opacity: 0.06;
	pointer-events: none;
	z-index: 0;
}

.mac-page-watermark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mac-page-wrapper .mac-container {
	position: relative;
	z-index: 1;
}

.mac-page-wrapper .site-main {
	padding: 40px 0 60px;
}

.mac-page-wrapper .entry-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: #000;
	margin: 0 0 24px;
}

.mac-page-wrapper .entry-content {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #333;
}

.mac-page-wrapper .entry-content h2,
.mac-page-wrapper .entry-content h3 {
	color: #000;
}

.mac-page-wrapper .entry-content p {
	margin-bottom: 1.5em;
}

@media (max-width: 768px) {
	.mac-page-watermark {
		width: 500px;
		height: 500px;
	}

	.mac-page-wrapper .entry-title {
		padding-left: 16px;
		padding-right: 16px;
	}
}
