/*
 * career.css — Career listing page + Career detail single post styles
 *
 * Generated by Claude Code Phase 2B — Developer review required
 *
 * Converted from:
 *   frontend-nextjs/src/views/pages/CareerPage/_career-page.scss
 *   frontend-nextjs/src/views/pages/CareerPage/_current-opening.scss
 *   frontend-nextjs/src/views/pages/CareerDetailPage/_career-detail.scss
 *
 * SCSS variable values used:
 *   $primary         → #e78125
 *   $secondary       → #19263a
 *   $color_raven     → #7b7c7e
 *   $color_gray      → #838383
 *   $font-secondary  → "DM Serif Display", serif
 *
 * Dependencies already loaded globally (do NOT duplicate here):
 *   bootstrap.min.css — .row, .col-md-*, .container, .btn, .btn-primary,
 *                       .modal, .modal-dialog, .modal-content, .modal-body, etc.
 *   main.css          — base resets, .content-block, .h1, .h1-new, button tokens
 */

/* =========================================================================
   1. CAREER PAGE WRAP  (.career-page-wrap)
   Source: _career-page.scss
   ========================================================================= */

.career-page-wrap {
	padding: 60px 0 30px;
}

@media (max-width: 767px) {
	.career-page-wrap {
		padding-top: 30px;
	}
}

/* Title block — centred, max-width capped */
.career-page-wrap .career-page-title {
	padding-bottom: 75px;
	max-width: 818px;
	margin: 0 auto;
}

@media (max-width: 767px) {
	.career-page-wrap .career-page-title {
		padding-bottom: 42px;
	}
}

.career-page-wrap .career-page-title .title {
	text-align: center;
}

.career-page-wrap .career-page-title .title h1 {
	padding-bottom: 12px;
	font-size: 42px;
	line-height: 115%;
    font-weight: 400;
    margin-bottom: 0;
}

.career-page-wrap .career-page-title .title p {
	font-size: 18px;
	color: #838383;
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.career-page-wrap .career-page-title .title p {
		font-size: 14px;
	}
	.career-page-wrap .career-page-title .title h1 {
		font-size: 28px;
	}
}

/* Content block (intro paragraphs) */
.career-page-wrap .content-block {
	padding-bottom: 50px;
}

@media (max-width: 767px) {
	.career-page-wrap .content-block h2 {
		font-size: 32px;
	}
}

/* Gallery image grid */
.career-page-wrap .career-img-block .img {
	margin-bottom: 30px;
	position: relative;
	height: calc(100% - 30px);
	padding-bottom: 70.133%;
	overflow: hidden;
	border-radius: 4px;
}

.career-page-wrap .career-img-block .img img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Benefits block overrides the shared content-block max-width */
.career-page-wrap .about-content-block .content-block {
    max-width: 818px;
    margin: 0 auto 40px;
    letter-spacing: .02em;
}

/* =========================================================================
   2. CURRENT OPENINGS  (.current-opening-wrap / .current-opening-list)
   Source: _current-opening.scss
   ========================================================================= */

.current-opening-wrap {
	padding-top: 20px;
}

.current-opening-wrap .content-block {
	text-align: center;
}

@media (max-width: 767px) {
	.current-opening-wrap .content-block {
		padding-bottom: 30px;
	}
}

.current-opening-wrap .content-block h2 {
	padding-bottom: 0;
}

.current-opening-list {
	max-width: 818px;
	margin: 0 auto;
}

.current-opening-list .current-opening-item:not(:last-child) {
	margin-bottom: 47px;
}

@media (max-width: 767px) {
	.current-opening-list .current-opening-item:not(:last-child) {
		margin-bottom: 20px;
	}
}

.current-opening-list .current-opening-item:last-child {
	border-bottom: 0;
}

/* Individual item row */
.current-opening-item {
	display: flex;
	justify-content: space-between;
	padding-bottom: 37px;
	border-bottom: 1px solid rgba(123, 124, 126, 0.3);
}

@media (max-width: 767px) {
	.current-opening-item {
		padding-bottom: 20px;
	}
}

.current-opening-item__info {
	width: 100%;
	padding-right: 20px;
}

.current-opening-item__title {
	font-size: 22px;
	line-height: 140%;
	font-weight: 500;
	color: #19263a;
	padding-bottom: 10px;
}

@media (max-width: 767px) {
	.current-opening-item__title {
		font-size: 18px;
		padding-bottom: 0;
	}
}

.current-opening-item__title a {
	display: inline-block;
	color: #19263a;
	transition: all 0.3s ease-in-out;
	text-decoration: none;
}

.current-opening-item__title a:hover {
	color: #e78125;
}

/* Experience / positions meta — dot-separated inline list */
.current-opening-item__point ul {
	display: inline-flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.current-opening-item__point ul li {
	font-size: 16px;
	line-height: 150%;
	font-weight: 500;
	color: #7b7c7e;
	display: flex;
	align-items: center;
}

@media (max-width: 767px) {
	.current-opening-item__point ul li {
		font-size: 14px;
	}
}

.current-opening-item__point ul li + li {
	margin-left: 13px;
}

.current-opening-item__point ul li::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 100%;
	background: currentColor;
	margin-right: 13px;
	opacity: 0.5;
}

/* Arrow link at end of row */
.current-opening-item__link {
	flex-shrink: 0;
}

.current-opening-item__link a {
	display: block;
	color: #e78125;
	text-decoration: none;
}

.current-opening-item__link a:hover {
	color: #e78125;
}

.current-opening-item__link svg {
	width: 24px;
	height: 24px;
}

/* =========================================================================
   3. CAREER DETAIL PAGE  (.career-detail-page)
   Source: _career-detail.scss
   ========================================================================= */

.career-detail-page {
	padding: 65px 0 100px;
}

@media (max-width: 767px) {
	.career-detail-page {
		padding-top: 30px;
		padding-bottom: 60px;
	}
}

.career-detail-page .career-detail-content {
	max-width: 818px;
	margin: 0 auto;
}

/* Title row: job title + meta left, Apply button right */
.career-detail-page .detail-content-title {
	display: flex;
	justify-content: space-between;
	padding-bottom: 56px;
}

@media (max-width: 767px) {
	.career-detail-page .detail-content-title {
		padding-bottom: 34px;
		flex-wrap: wrap;
	}
}

.career-detail-page .detail-content-title .left {
	width: 100%;
	padding-right: 15px;
}

@media (max-width: 767px) {
	.career-detail-page .detail-content-title .left {
		padding-right: 0;
		padding-bottom: 15px;
	}
}

.career-detail-page .detail-content-title .left h1 {
	color: #19263a;
	padding-bottom: 15px;
}

/* Inline experience / positions list */
.career-detail-page .detail-content-title .left ul {
	display: inline-flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

.career-detail-page .detail-content-title .left ul li {
	font-size: 22px;
	line-height: 116%;
	font-weight: 500;
	color: #7b7c7e;
	display: flex;
	align-items: center;
}

@media (max-width: 767px) {
	.career-detail-page .detail-content-title .left ul li {
		font-size: 14px;
	}
}

.career-detail-page .detail-content-title .left ul li + li {
	margin-left: 16px;
}

.career-detail-page .detail-content-title .left ul li + li::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 100%;
	background: currentColor;
	margin-right: 16px;
	opacity: 0.5;
}

.career-detail-page .detail-content-title .right {
	flex-shrink: 0;
	padding-top: 4px;
}

@media (max-width: 767px) {
	.career-detail-page .detail-content-title .right {
		width: 100%;
	}

	.career-detail-page .detail-content-title .right .btn {
		width: 100%;
		text-align: center;
	}
}

/* Post content blocks */
.career-detail-page .content {
	font-size: 18px;
	line-height: 182%;
	letter-spacing: 0.02em;
	padding-bottom: 26px;
}

@media (max-width: 767px) {
	.career-detail-page .content {
		font-size: 14px;
		padding-bottom: 24px;
	}
}

.career-detail-page .content h3 {
	font-size: 22px;
	line-height: 116%;
	letter-spacing: 0;
	color: #19263a;
	padding-bottom: 12px;
	font-weight: 500;
}

@media (max-width: 767px) {
	.career-detail-page .content h3 {
		font-size: 18px;
	}
}

.career-detail-page .content p {
	margin-bottom: 30px;
}

/* Bullet list — custom dot markers */
.career-detail-page .content ul li {
	position: relative;
	padding-bottom: 24px;
	padding-left: 20px;
	list-style: none;
}

.career-detail-page .content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 11px;
	width: 8px;
	height: 8px;
	background: #7b7c7e;
	opacity: 0.4;
	border-radius: 8px;
}

/* Bottom CTA area */
.career-detail-page .cta {
	padding-top: 14px;
}

@media (max-width: 767px) {
	.career-detail-page .cta {
		padding-top: 0;
	}

	.career-detail-page .cta .btn {
		width: 100%;
		text-align: center;
	}
}

/* =========================================================================
   4. CAREER APPLY MODAL  (.career-modal / .custom-modal)
   Source: _career-detail.scss — .custom-modal.career-modal block
   ========================================================================= */

.custom-modal.career-modal .career-modal-title {
	padding-bottom: 30px;
}

.custom-modal.career-modal .career-modal-title span {
	display: block;
	font-size: 16px;
	line-height: 150%;
	font-weight: 500;
	color: #7b7c7e;
	padding-bottom: 8px;
}

@media (max-width: 767px) {
	.custom-modal.career-modal .career-modal-title span {
		font-size: 14px;
	}
}

.custom-modal.career-modal .career-modal-title h2 {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 400;
	font-family: "DM Serif Display", serif;
	color: #19263a;
}

@media (max-width: 767px) {
	.custom-modal.career-modal .career-modal-title h2 {
		font-size: 22px;
	}
}

/* Modal close button — flat style (no border/background) */
.modal-close-btn.modal-close--flate {
	position: absolute;
	top: 16px;
	right: 16px;
	background: transparent;
	border: 0;
	padding: 4px;
	font-size: 20px;
	color: #7b7c7e;
	line-height: 1;
	cursor: pointer;
	z-index: 1;
	transition: color 0.2s ease;
}

.modal-close-btn.modal-close--flate:hover {
	color: #19263a;
}

/* Ensure modal body has relative positioning for the close button */
.custom-modal .modal-body {
	position: relative;
	padding: 30px;
}

@media (max-width: 767px) {
	.custom-modal .modal-body {
		padding: 20px;
	}
}

/* =========================================================================
   5. BLOG CTA BOX (.blog-cta-wrap / .blog-cta-box)
   Source: frontend-nextjs/src/components/BlogCta/_blog_cta.scss
   NOTE: blog.css only loads on blog/home/category pages — these styles are
   self-contained here so the career page renders the CTA box correctly.
   $color_blue_zodiac → #152c58
   ========================================================================= */

.blog-cta-wrap {
	position: relative;
	padding-bottom: 46px;
}

.blog-cta-box {
	background: #152c58;
	display: flex;
	flex-wrap: wrap;
	overflow: hidden;
	margin-top: -88px;
	border-radius: 8px;
}

@media (max-width: 767px) {
	.blog-cta-box {
		margin-top: -178px;
		box-shadow: 0 4px 20px rgba(22, 60, 118, 0.1);
	}
}

.blog-cta-box__left {
	width: 50%;
	padding-left: 60px;
	display: flex;
	align-items: center;
}

@media (max-width: 767px) {
	.blog-cta-box__left {
		width: 100%;
		padding: 45px 30px 20px;
	}
}

.blog-cta-box__right {
	width: 50%;
}

@media (max-width: 767px) {
	.blog-cta-box__right {
		width: 100%;
	}
}

.blog-cta-box__img {
	width: 100%;
	height: 100%;
	text-align: right;
}

@media (max-width: 767px) {
	.blog-cta-box__img {
		text-align: center;
	}
}

.blog-cta-box__img img {
	border-radius: 0 8px 8px 0;
	margin-left: auto;
}

@media (max-width: 767px) {
	.blog-cta-box__img img {
		margin: 0 auto;
		width: 100%;
		border-radius: 0 0 8px 8px;
	}
}

.blog-cta-box__content p {
	font-size: 14px;
	line-height: 147%;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.blog-cta-box__content p {
		font-size: 12px;
	}
}

.blog-cta-box__content .cta {
	padding-top: 35px;
}

@media (max-width: 767px) {
	.blog-cta-box__content .cta {
		padding-top: 24px;
	}
}

/* =========================================================================
   6. BTN RIGHT ICON (.btn-right-icon)
   Source: frontend-nextjs/src/assets/scss/_buttons.scss
   Used by blog-cta "Read Blogs >" button. Not in main.css — included here.
   Also in homepage.css (minified) — self-contained here for career page.
   ========================================================================= */

.btn.btn-right-icon {
	display: inline-flex;
	align-items: center;
	padding: 11px 24px 11px 32px;
}

.btn.btn-right-icon svg {
	margin-left: 4px;
	font-size: 20px;
}

@media (max-width: 767px) {
	.btn.btn-right-icon svg {
		font-size: 18px;
	}
}

/* =========================================================================
   7. QUICK LINKS GRID (.quick-links-wrap / .quick-link-box)
   Source: frontend-nextjs/src/components/QuickLinks/_quicklinks.scss
   NOTE: blog.css only loads on blog pages — self-contained here for career.
   $color_bone2 → #e1cab8, $color_shark → #232528, $primary → #e78125
   ========================================================================= */

.quick-links-wrap {
	padding-bottom: 100px;
}

@media (max-width: 767px) {
	.quick-links-wrap {
		padding-bottom: 32px;
	}
}

.quick-links-wrap .quick-links-icon-list ul li {
	padding-bottom: 24px;
}

.quick-link-box {
	height: 100%;
	width: 100%;
	display: block;
	padding: 34px 10px;
	text-align: center;
	border: 1px solid #e1cab8;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

@media (max-width: 767px) {
	.quick-link-box {
		padding: 29px 10px;
	}
}

.quick-link-box:hover {
	background: rgba(231, 129, 37, 0.1);
}

.quick-link-box__icon {
	padding-bottom: 20px;
}

@media (max-width: 767px) {
	.quick-link-box__icon {
		padding-bottom: 12px;
	}

	.quick-link-box__icon svg,
	.quick-link-box__icon img {
		width: 32px;
		height: 32px;
	}
}

.quick-link-box__txt {
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	color: #232528;
}

@media (max-width: 767px) {
	.quick-link-box__txt {
		font-size: 12px;
		line-height: 14px;
	}
}

/* =========================================================================
   8. QUICK LINK + CTA WRAPPER (.quick-link-cta-wrap)
   NOTE: Do NOT add overflow:hidden — the blog-cta-box uses margin-top:-88px
   to visually lift into the section above. overflow:hidden clips that lift.
   ========================================================================= */

.quick-link-cta-wrap {
	/* intentionally no overflow:hidden */

	padding-top: 100px !important;
}

/* =========================================================================
   9. GRAVITY FORMS — career modal form overrides
   Source: replaces FilePond + Formik from React; GF renders its own form markup.
   GF base styles come from the plugin. Overrides below match the React layout.
   TODO: Verify Gravity Forms field IDs match GF form #2 in the live DB.
   ========================================================================= */

/* GF inputs — match Bootstrap .form-control appearance */
.custom-modal.career-modal .gform_wrapper input[type="text"],
.custom-modal.career-modal .gform_wrapper input[type="email"],
.custom-modal.career-modal .gform_wrapper textarea {
	border: 1px solid #dee2e6 !important;
	border-radius: 4px !important;
	padding: 0.5rem 0.75rem !important;
	font-size: 1rem !important;
	width: 100% !important;
}

.custom-modal.career-modal .gform_wrapper input[type="text"]:focus,
.custom-modal.career-modal .gform_wrapper input[type="email"]:focus,
.custom-modal.career-modal .gform_wrapper textarea:focus {
	border-color: #e78125 !important;
	box-shadow: 0 0 0 0.2rem rgba(231, 129, 37, 0.2) !important;
	outline: none !important;
}

.custom-modal.career-modal .gform_wrapper .gfield_label {
	font-weight: 400 !important;
	margin-bottom: 0.375rem;
	font-size: 12px !important;
	line-height: 14px !important;
}

/* Hide top "There was a problem with your submission" banner */
.custom-modal.career-modal .gform_wrapper .gform_submission_error,
.custom-modal.career-modal .gform_wrapper .validation_error,
.custom-modal.career-modal .gform_wrapper .gform_validation_errors {
	display: none !important;
}

/* Remove GF's red-bordered error box from invalid field wrappers */
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield.gfield_error {
	background-color: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-bottom: 1.25rem !important;
}

/* Keep field labels normal colour (GF turns them red by default) */
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_error .gfield_label,
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_error label {
	color: inherit !important;
}

/* Per-field validation message — small red text below the input */
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_validation_message,
.custom-modal.career-modal .gform_wrapper .validation_message,
.custom-modal.career-modal .gform_wrapper .gfield_description.validation_message {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	margin-top: 0.25rem !important;
	color: #dc3545 !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
}

/* Red border on invalid inputs */
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_error input[type="text"],
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_error input[type="email"],
.custom-modal.career-modal .gform_wrapper.gravity-theme .gfield_error textarea {
	border-color: #dc3545 !important;
}

/* Align GF submit button right on medium+ screens (matches .cta.text-md-end) */
.custom-modal.career-modal .gform_footer,
.custom-modal.career-modal .gform_page_footer {
	display: flex;
	justify-content: flex-end;
}

@media (max-width: 767px) {
	.custom-modal.career-modal .gform_footer input[type="submit"],
	.custom-modal.career-modal .gform_page_footer input[type="submit"] {
		width: 100%;
	}
	.content-block h2{
	font-size: 28px;
	}
}
.career-intro-content{
	max-width: 818px;
    margin: 0 auto;
	padding-bottom: 38px;
}
.content-block p {
    max-width: 818px;
    margin: 0 auto 40px;
    letter-spacing: .02em;
	font-size: 18px;
    line-height: 32px;
}
.content-block h2{
	font-size: 42px;
    line-height: 115%;
    font-weight: 400;
    margin-bottom: 0;
	padding-bottom: 17px;
}

/* =========================================================================
   10. SUCCESS POPUP MODAL (.success-modal.custom-modal)
   Source: frontend-nextjs/src/assets/scss/components/_modal.scss
   Mirrors React SuccessModal / SuccessPopup component.
   Opened by career.js after GF form #2 AJAX confirmation.
   ========================================================================= */

.custom-modal.success-modal .modal-dialog {
	max-width: 453px;
}

.custom-modal.success-modal .success-modal-content {
	text-align: center;
	padding: 26px 0;
}

.custom-modal.success-modal .success-modal-content .img {
	max-width: 148px;
	margin: 0 auto;
	padding-bottom: 14px;
}

.custom-modal.success-modal .success-modal-content .img img {
	width: 100%;
	height: auto;
	display: block;
}

.custom-modal.success-modal .success-modal-content .txt p {
	font-size: 22px;
	line-height: 116%;
	color: #19263a;
	font-weight: 500;
	margin-bottom: 6px;
}

.custom-modal.success-modal .success-modal-content .txt h3 {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 400;
	font-family: "DM Serif Display", serif;
	color: #19263a;
	padding-bottom: 32px;
	margin-bottom: 0;
}

.custom-modal.success-modal .success-modal-content .cta .btn {
	border-radius: 48px;
	padding: 12px 40px;
	font-size: 16px;
	font-weight: 500;
}

.custom-modal.career-modal .gform_wrapper .gfield_required {
	display: none;
}

/* Disabled Apply Now button — same appearance, not clickable */
.career-detail-page .btn-primary.disabled,
.career-detail-page .btn-primary:disabled {
	opacity: 1;
	pointer-events: none;
	cursor: not-allowed;
	background-color: #e78125 !important;
	border-color: #e78125 !important;
	color: #fff !important;
}