/* Five Oceans — forms (order, careers) */

/* Hide theme sidebar column and expand content (open positions, forms, job pages). */
body.fiveoceans-form-page .sidebar,
body.fiveoceans-form-page aside.sidebar,
body.fiveoceans-form-page .sidebar_inner {
	display: none !important;
	width: 0 !important;
	max-width: 0 !important;
	overflow: hidden !important;
}

body.fiveoceans-form-page .content_wrap .content {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.fiveoceans-form-page .page_content_wrap {
	padding-top: 0 !important;
}

body.fiveoceans-form-page .page_content_wrap > .content_wrap {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.fiveoceans-form-page .post_item_single.post_type_page {
	margin: 0;
	padding: 0;
	max-width: none;
}

body.fiveoceans-form-page .post_item_single .post_content.entry-content {
	padding: 0;
}

/* Full-bleed page shell */
.fiveoceans-page {
	width: 100%;
	margin: 0;
}

.fiveoceans-hero {
	position: relative;
	min-height: 320px;
	background-color: #1f2c36 !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

/* Theme .scheme_default h1 color was overriding hero titles (dark blue on dark bg). */
body.fiveoceans-form-page .fiveoceans-hero.scheme_dark h1.fiveoceans-hero__title,
body.fiveoceans-form-page .fiveoceans-hero .fiveoceans-hero__title {
	color: #fff !important;
}

body.fiveoceans-form-page .fiveoceans-hero .fiveoceans-hero__lead,
body.fiveoceans-form-page .fiveoceans-hero .fiveoceans-hero__eyebrow {
	color: rgba(255, 255, 255, 0.92) !important;
}

.fiveoceans-hero--open_positions {
	min-height: 360px;
}

.fiveoceans-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.fiveoceans-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.35rem;
}

.fiveoceans-hero__btn {
	margin: 0 !important;
	padding: 0.7em 1.35em !important;
	font-size: 0.95rem !important;
	border-radius: 6px !important;
}

.fiveoceans-hero__btn--ghost {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.fiveoceans-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.22) !important;
}

.fiveoceans-hero__overlay {
	min-height: inherit;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(180deg, rgba(15, 22, 28, 0.35) 0%, rgba(15, 22, 28, 0.88) 100%);
}

.fiveoceans-hero__inner {
	width: 100%;
	max-width: none;
	padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem) 2.25rem;
	color: #fff;
}

.fiveoceans-hero__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff !important;
}

.fiveoceans-hero__lead {
	margin: 0;
	max-width: 52rem;
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.5;
	opacity: 0.92;
}

.fiveoceans-page-body {
	background: #f7f6f2;
}

.fiveoceans-page-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 3rem;
	box-sizing: border-box;
}

.fiveoceans-page-inner--open_positions {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

.fiveoceans-form-grid {
	width: 100%;
	max-width: none;
}

/* Contact → Shipping → Goods → mode blocks (same order in EN, AR, TR, RTL). */
#fiveoceans-order-form.fiveoceans-form-order {
	display: flex;
	flex-direction: column;
}

#fiveoceans-order-form .fiveoceans-fs--contact {
	order: 1;
}

#fiveoceans-order-form .fiveoceans-fs--shipping {
	order: 2;
}

#fiveoceans-order-form .fiveoceans-fs--goods {
	order: 3;
}

#fiveoceans-order-form #fiveoceans-block-sea {
	order: 4;
}

#fiveoceans-order-form #fiveoceans-block-land {
	order: 5;
}

#fiveoceans-order-form #fiveoceans-block-air {
	order: 6;
}

#fiveoceans-order-form .fiveoceans-form-submit {
	order: 7;
}

.fiveoceans-form .widefat {
	max-width: 100%;
	box-sizing: border-box;
	width: 100%;
}

/* Filled value black; placeholder stays muted (theme grays unfocused inputs) */
body.fiveoceans-form-page .fiveoceans-form input[type="text"],
body.fiveoceans-form-page .fiveoceans-form input[type="email"],
body.fiveoceans-form-page .fiveoceans-form input[type="tel"],
body.fiveoceans-form-page .fiveoceans-form input[type="number"],
body.fiveoceans-form-page .fiveoceans-form input[type="search"],
body.fiveoceans-form-page .fiveoceans-form input[type="date"],
body.fiveoceans-form-page .fiveoceans-form select,
body.fiveoceans-form-page .fiveoceans-form textarea {
	color: #000 !important;
	-webkit-text-fill-color: #000;
}

body.fiveoceans-form-page .fiveoceans-form input::placeholder,
body.fiveoceans-form-page .fiveoceans-form textarea::placeholder {
	color: #8f8d87 !important;
	-webkit-text-fill-color: #8f8d87;
	opacity: 1;
}

body.fiveoceans-form-page .fiveoceans-form input::-webkit-input-placeholder,
body.fiveoceans-form-page .fiveoceans-form textarea::-webkit-input-placeholder {
	color: #8f8d87 !important;
	-webkit-text-fill-color: #8f8d87;
	opacity: 1;
}

body.fiveoceans-form-page .fiveoceans-form input::-moz-placeholder,
body.fiveoceans-form-page .fiveoceans-form textarea::-moz-placeholder {
	color: #8f8d87 !important;
	opacity: 1;
}

body.fiveoceans-form-page .fiveoceans-form input:-ms-input-placeholder,
body.fiveoceans-form-page .fiveoceans-form textarea:-ms-input-placeholder {
	color: #8f8d87 !important;
	opacity: 1;
}

/* Field system */
.fo-label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.35rem;
	color: inherit;
}

.fo-req {
	color: #c62828;
}

.fo-field {
	margin-bottom: 1rem;
}

.fo-hint {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.8rem;
	line-height: 1.35;
	color: rgba(0, 0, 0, 0.55);
}

.fo-row {
	display: grid;
	gap: 0 1rem;
	margin-bottom: 0.25rem;
}

.fo-row-2 {
	grid-template-columns: 1fr 1fr;
}

.fo-row-3 {
	grid-template-columns: repeat(3, 1fr);
}

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

.fo-row-5 {
	grid-template-columns: repeat(5, 1fr);
}

.fo-field-span-2 {
	grid-column: span 2;
}

.fo-field-span-phone .fo-field-phone {
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.fo-row-4,
	.fo-row-5 {
		grid-template-columns: repeat(2, 1fr);
	}
	.fo-field-span-2 {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.fo-row-2,
	.fo-row-3,
	.fo-row-4,
	.fo-row-5,
	.fo-row-metrics.fo-row-3 {
		grid-template-columns: 1fr;
	}
	.fo-field-span-2 {
		grid-column: span 1;
	}
}

/* Phone — intlTelInput (same widget as Contact Form 7 [phonetext]) */
.fiveoceans-form .fiveoceans-phone-wrap {
	display: block;
	width: 100%;
}

.fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input {
	display: block;
	width: 100%;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input input.fiveoceans-phonetext,
body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap input.fiveoceans-phonetext {
	width: 100%;
	box-sizing: border-box;
	color: #000 !important;
	-webkit-text-fill-color: #000;
	border: 1px solid #f7f6f2 !important;
	background-color: #f7f6f2 !important;
	/* Do not set padding-left — intlTelInput iti-sdc-* sizes it for the dial code */
	padding-top: 0.6em;
	padding-bottom: 0.6em;
	padding-right: 0.75em;
	line-height: 1.4;
	min-height: 2.75em;
}

/* separateDialCode + allow-dropdown: match intlTelInput widths (e.g. +963 = 4 chars) */
body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input.fiveoceans-phonetext {
	padding-left: 76px !important;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input.fiveoceans-phonetext {
	padding-left: 84px !important;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input.fiveoceans-phonetext {
	padding-left: 92px !important;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input.fiveoceans-phonetext {
	padding-left: 100px !important;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input input.fiveoceans-phonetext::placeholder,
body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap input.fiveoceans-phonetext::placeholder {
	color: #8f8d87 !important;
	-webkit-text-fill-color: #8f8d87;
	opacity: 1;
}

body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input input.fiveoceans-phonetext:focus,
body.fiveoceans-form-page .fiveoceans-form .fiveoceans-phone-wrap input.fiveoceans-phonetext:focus {
	color: #000 !important;
	-webkit-text-fill-color: #000;
	border-color: #e6e5e1 !important;
	background-color: #f7f6f2 !important;
	outline: none;
}

.fiveoceans-form .fiveoceans-phone-wrap .flag-container {
	z-index: 2;
}

.fiveoceans-form .fiveoceans-phone-wrap .selected-flag {
	padding: 0 0 0 0.5rem;
}

.fiveoceans-form .fiveoceans-phone-wrap .selected-dial-code {
	margin-left: 0.25rem;
	font-size: 0.9rem;
	color: #8f8d87;
}

.fiveoceans-form .fo-field-phone .fo-hint {
	display: none;
}

.fo-field-checkbox {
	margin-top: 0.5rem;
}

.fo-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	cursor: pointer;
}

/* Fieldsets */
.fiveoceans-fs {
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.5rem 1.15rem;
	border: 1px solid rgba(31, 44, 54, 0.08);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(31, 44, 54, 0.06);
}

.fiveoceans-fs legend {
	padding: 0 0.5em;
	font-weight: 700;
	font-size: 1.05rem;
}

/* RTL (Arabic) — section titles on the right; phone stays LTR (country code on the left) */
html[dir="rtl"] .fiveoceans-form,
html[lang="ar"] .fiveoceans-form,
body.rtl .fiveoceans-form,
body.fiveoceans-rtl .fiveoceans-form {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .fiveoceans-fs,
html[lang="ar"] .fiveoceans-fs,
body.rtl .fiveoceans-fs,
body.fiveoceans-rtl .fiveoceans-fs {
	position: relative;
	padding-top: 2.35rem;
	text-align: right;
}

/* Physical right — inset-inline-end is the left edge in RTL */
html[dir="rtl"] .fiveoceans-fs legend,
html[lang="ar"] .fiveoceans-fs legend,
body.rtl .fiveoceans-fs legend,
body.fiveoceans-rtl .fiveoceans-fs legend {
	position: absolute;
	top: -0.6em;
	right: 1.25rem;
	left: auto;
	margin: 0;
	padding: 0 0.5em;
	background: #fff;
	text-align: right;
	float: none;
	width: auto;
}

html[dir="rtl"] .fiveoceans-form .fo-label,
html[lang="ar"] .fiveoceans-form .fo-label,
body.rtl .fiveoceans-form .fo-label,
body.fiveoceans-rtl .fiveoceans-form .fo-label {
	text-align: right;
}

/* Phone field: always LTR inside (flag + dial code on the left, same as English) */
html[dir="rtl"] .fiveoceans-form .fo-field-span-phone,
html[dir="rtl"] .fiveoceans-form .fo-field-phone,
html[dir="rtl"] .fiveoceans-form .fiveoceans-phone-wrap,
html[dir="rtl"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input,
html[lang="ar"] .fiveoceans-form .fo-field-span-phone,
html[lang="ar"] .fiveoceans-form .fo-field-phone,
html[lang="ar"] .fiveoceans-form .fiveoceans-phone-wrap,
html[lang="ar"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input,
body.rtl .fiveoceans-form .fo-field-span-phone,
body.rtl .fiveoceans-form .fo-field-phone,
body.rtl .fiveoceans-form .fiveoceans-phone-wrap,
body.rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input,
body.fiveoceans-rtl .fiveoceans-form .fo-field-span-phone,
body.fiveoceans-rtl .fiveoceans-form .fo-field-phone,
body.fiveoceans-rtl .fiveoceans-form .fiveoceans-phone-wrap,
body.fiveoceans-rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input {
	direction: ltr;
	text-align: left;
	overflow: visible;
}

html[dir="rtl"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.allow-dropdown .flag-container,
html[dir="rtl"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code .flag-container,
html[lang="ar"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.allow-dropdown .flag-container,
html[lang="ar"] .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code .flag-container,
body.rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.allow-dropdown .flag-container,
body.rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code .flag-container,
body.fiveoceans-rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.allow-dropdown .flag-container,
body.fiveoceans-rtl .fiveoceans-form .fiveoceans-phone-wrap .intl-tel-input.separate-dial-code .flag-container {
	left: 0 !important;
	right: auto !important;
}

html[dir="rtl"] .fiveoceans-form .fo-field-phone .fo-label,
html[lang="ar"] .fiveoceans-form .fo-field-phone .fo-label,
body.rtl .fiveoceans-form .fo-field-phone .fo-label,
body.fiveoceans-rtl .fiveoceans-form .fo-field-phone .fo-label {
	text-align: right;
	direction: rtl;
}

.fiveoceans-form-submit {
	margin-top: 1.5rem;
	padding-top: 0.5rem;
}

.fiveoceans-form-order .fiveoceans-form-submit {
	text-align: center;
}

.fiveoceans-form-submit .button-primary {
	padding: 0.65em 1.5em;
	font-size: 1rem;
}

.fiveoceans-form-order .fiveoceans-form-submit .button-primary {
	background: #2e7d4f;
	border-color: #256b42;
	color: #fff;
	min-width: 12rem;
}

.fiveoceans-form-order .fiveoceans-form-submit .button-primary:hover,
.fiveoceans-form-order .fiveoceans-form-submit .button-primary:focus {
	background: #256b42;
	border-color: #1e5635;
	color: #fff;
}

.fiveoceans-remove-row {
	color: #fff !important;
	background: #c0392b !important;
	border-color: #a93226 !important;
}

.fiveoceans-remove-row:hover,
.fiveoceans-remove-row:focus {
	background: #a93226 !important;
	border-color: #922b21 !important;
	color: #fff !important;
}

/* Notices & careers */
.fiveoceans-intro {
	font-size: 1.05rem;
	margin-bottom: 1.25rem;
}

/* Empty open positions — centered card */
.fiveoceans-empty-state {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: min(50vh, 420px);
	padding: 2rem 1rem 3rem;
}

.fiveoceans-empty-state__inner {
	text-align: center;
	max-width: 28rem;
	padding: 2.5rem 2rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(31, 44, 54, 0.1);
	border: 1px solid rgba(31, 44, 54, 0.06);
}

.fiveoceans-empty-state__icon {
	font-size: 2.5rem;
	margin: 0 0 0.75rem;
	line-height: 1;
}

.fiveoceans-empty-state__title {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: #1f2c36;
}

.fiveoceans-empty-state__text {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(31, 44, 54, 0.75);
}

.fiveoceans-empty-state__actions {
	margin: 0;
}

.fiveoceans-empty-state__btn {
	padding: 0.7em 1.75em !important;
	font-size: 1rem !important;
}

/* Styled file upload */
.fo-field-file {
	margin-top: 0.5rem;
}

.fo-file-upload {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px dashed rgba(31, 44, 54, 0.2);
	border-radius: 8px;
}

.fo-file-upload__input {
	position: absolute;
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	z-index: -1;
}

.fo-file-upload__btn {
	display: inline-block;
	margin: 0;
	padding: 0.5em 1.1em;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f2c36 !important;
	background: #f7f6f2 !important;
	border: 1px solid rgba(31, 44, 54, 0.15) !important;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.fo-file-upload__btn:hover {
	background: #e6e5e1 !important;
	border-color: rgba(31, 44, 54, 0.25) !important;
}

.fo-file-upload__name {
	font-size: 0.9rem;
	color: rgba(31, 44, 54, 0.55);
}

.fo-file-upload__name.has-file {
	color: #1f2c36;
	font-weight: 500;
}

/* Careers hub */
.fiveoceans-careers-hub {
	width: 100%;
}

.fiveoceans-careers-toolbar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-bottom: 1.75rem;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(31, 44, 54, 0.08);
	box-shadow: 0 2px 12px rgba(31, 44, 54, 0.05);
}

.fiveoceans-careers-toolbar__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 4.5rem;
	padding: 0.35rem 0.75rem;
	border-radius: 10px;
	background: #1f2c36;
	color: #fff;
	text-align: center;
}

.fiveoceans-careers-toolbar__count {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
}

.fiveoceans-careers-toolbar__label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.85;
}

.fiveoceans-careers-toolbar__intro {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(31, 44, 54, 0.78);
}

.fiveoceans-careers-toolbar__link {
	font-weight: 600;
	color: #1f2c36;
	text-decoration: none;
	white-space: nowrap;
}

.fiveoceans-careers-toolbar__link:hover {
	text-decoration: underline;
}

.fiveoceans-job-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.fiveoceans-job-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin: 0;
	border: 1px solid rgba(31, 44, 54, 0.08);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(31, 44, 54, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fiveoceans-job-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(31, 44, 54, 0.1);
}

.fiveoceans-job-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e8e6e0;
}

.fiveoceans-job-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.fiveoceans-job-card:hover .fiveoceans-job-card__img {
	transform: scale(1.04);
}

.fiveoceans-job-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.25rem 1.2rem;
}

.fiveoceans-job-card__tag {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.2em 0.65em;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #1f2c36;
	background: #f0efe9;
	border-radius: 4px;
}

.fiveoceans-job-card__title {
	margin: 0 0 0.45rem;
	font-size: 1.12rem;
	line-height: 1.25;
}

.fiveoceans-job-card__title a {
	color: #1f2c36;
	text-decoration: none;
}

.fiveoceans-job-card__title a:hover {
	text-decoration: underline;
}

.fiveoceans-job-card__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(31, 44, 54, 0.72);
}

.fiveoceans-job-card__excerpt p {
	margin: 0;
}

.fiveoceans-job-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(31, 44, 54, 0.08);
}

.fiveoceans-job-card__deadline {
	font-size: 0.8rem;
	color: rgba(31, 44, 54, 0.55);
}

.fiveoceans-job-card__cta {
	font-size: 0.9rem;
	font-weight: 700;
	color: #1f2c36;
	text-decoration: none;
	white-space: nowrap;
}

.fiveoceans-job-card__cta:hover {
	text-decoration: underline;
}

body.fiveoceans-lang-ar .fiveoceans-job-card__footer,
body.fiveoceans-rtl .fiveoceans-job-card__footer {
	flex-direction: row-reverse;
}

body.fiveoceans-lang-ar .fiveoceans-job-card__cta [aria-hidden="true"],
body.fiveoceans-rtl .fiveoceans-job-card__cta [aria-hidden="true"],
body.fiveoceans-lang-ar .fiveoceans-careers-toolbar__link [aria-hidden="true"],
body.fiveoceans-rtl .fiveoceans-careers-toolbar__link [aria-hidden="true"] {
	display: inline-block;
	transform: scaleX(-1);
}

@media (max-width: 768px) {
	.fiveoceans-careers-toolbar {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.fiveoceans-careers-toolbar__stat {
		margin: 0 auto;
	}

	.fiveoceans-careers-toolbar__link {
		justify-self: center;
	}

	.fiveoceans-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.fiveoceans-hero__btn {
		text-align: center;
	}
}

.fiveoceans-job-thumb {
	display: block;
	overflow: hidden;
}

.fiveoceans-job-thumb img {
	display: block;
	width: 100%;
	max-width: none;
	height: 180px;
	object-fit: cover;
}

/* Single job — detail */
.fiveoceans-job-detail {
	max-width: 52rem;
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(31, 44, 54, 0.08);
	box-shadow: 0 8px 28px rgba(31, 44, 54, 0.06);
	overflow: hidden;
}

.fiveoceans-job-detail .fiveoceans-job-thumb--static img,
.fiveoceans-job-detail .fiveoceans-job-thumb__img {
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	display: block;
}

.fiveoceans-job-meta--detail {
	list-style: none;
	margin: 0;
	padding: 1rem 1.5rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.fiveoceans-job-detail__content {
	padding: 1.25rem 1.5rem;
}

.fiveoceans-job-detail__content p:last-child {
	margin-bottom: 0;
}

.fiveoceans-job-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	padding: 0 1.5rem 1.75rem;
	margin: 0;
	align-items: center;
}

.fiveoceans-job-detail__actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.75em 1.6em !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	text-transform: none !important;
	letter-spacing: 0;
	white-space: nowrap;
	box-shadow: 0 2px 10px rgba(31, 44, 54, 0.12);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.fiveoceans-job-detail__actions .button-primary,
.fiveoceans-job-detail__actions .fiveoceans-btn-apply {
	color: #fff !important;
	background: #1f2c36 !important;
	border: 2px solid #1f2c36 !important;
}

.fiveoceans-job-detail__actions .button-primary:hover,
.fiveoceans-job-detail__actions .button-primary:focus,
.fiveoceans-job-detail__actions .fiveoceans-btn-apply:hover,
.fiveoceans-job-detail__actions .fiveoceans-btn-apply:focus {
	color: #fff !important;
	background: #2d3f4d !important;
	border-color: #2d3f4d !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(31, 44, 54, 0.22);
}

.fiveoceans-job-detail__actions .button:not(.button-primary) {
	color: #1f2c36 !important;
	background: #fff !important;
	border: 2px solid rgba(31, 44, 54, 0.28) !important;
}

.fiveoceans-job-detail__actions .button:not(.button-primary):hover,
.fiveoceans-job-detail__actions .button:not(.button-primary):focus {
	color: #1f2c36 !important;
	background: #f4f7f9 !important;
	border-color: #1f2c36 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(31, 44, 54, 0.14);
}

body.fiveoceans-lang-ar .fiveoceans-job-detail__actions,
body.fiveoceans-rtl .fiveoceans-job-detail__actions {
	direction: rtl;
}

.fiveoceans-job-apply-back {
	max-width: 52rem;
	margin: 0 auto 1rem;
}

.fiveoceans-job-apply-back a {
	color: #1f2c36;
	text-decoration: none;
	font-weight: 600;
}

.fiveoceans-job-apply-back a:hover {
	text-decoration: underline;
}

.fiveoceans-page--job_apply .fiveoceans-form,
.fiveoceans-page--job_detail .fiveoceans-job-detail {
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}

/* Success screen */
.fiveoceans-success {
	display: flex;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2rem) 0 3rem;
}

.fiveoceans-success__card {
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(31, 44, 54, 0.08);
	text-align: center;
	border: 1px solid rgba(31, 44, 54, 0.06);
}

.fiveoceans-success__icon {
	color: #2e7d32;
	margin-bottom: 1.25rem;
	display: flex;
	justify-content: center;
}

.fiveoceans-success__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: #1f2c36;
	line-height: 1.2;
}

.fiveoceans-success__message {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: #1f2c36;
}

.fiveoceans-success__detail {
	margin: 0 0 1.75rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(31, 44, 54, 0.72);
}

.fiveoceans-success__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.fiveoceans-success__btn {
	min-width: 10rem;
}

.fiveoceans-success__btn--secondary {
	background: transparent !important;
	color: #1f2c36 !important;
	border: 1px solid rgba(31, 44, 54, 0.2) !important;
}

.fiveoceans-page--success_cv .fiveoceans-page-body,
.fiveoceans-page--success_order .fiveoceans-page-body,
.fiveoceans-page--success_job .fiveoceans-page-body {
	min-height: 40vh;
}

.fiveoceans-notice {
	padding: 0.75em 1em;
	margin: 1em 0;
	border-radius: 4px;
}

.fiveoceans-notice-success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
}

.fiveoceans-notice-error {
	background: #ffebee;
	border: 1px solid #ef9a9a;
}

.fo-field--error .fo-label {
	color: #b42318;
}

.fo-field-error {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	line-height: 1.35;
	color: #b42318;
	font-weight: 500;
}

.fo-field--error .fo-file-upload {
	border-color: #e57373;
	background: #fff5f5;
}

.fo-field--error input.widefat,
.fo-field--error select.widefat,
.fo-field--error textarea.widefat,
.fo-field--error .fiveoceans-phonetext.fo-input--error,
input.fo-input--error,
select.fo-input--error,
textarea.fo-input--error {
	border-color: #e57373 !important;
	box-shadow: 0 0 0 1px rgba(229, 115, 115, 0.35);
}

.fo-field--error .fiveoceans-repeater {
	padding: 0.75rem;
	border: 1px solid #e57373;
	border-radius: 8px;
	background: #fff8f8;
}

.fiveoceans-apply-box {
	margin-top: 0;
}

/* Repeater */
.fiveoceans-repeater-title {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 600;
}

.fiveoceans-count-with-icon {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.fiveoceans-container-inline-icon {
	flex: 0 0 auto;
	line-height: 0;
}

.fiveoceans-container-inline-icon img {
	display: block;
	width: 130px;
	height: auto;
	max-height: 130px;
	object-fit: contain;
}

.fiveoceans-container-rows {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.fiveoceans-container-row-count .fo-field-count--with-icon {
	flex: 1 1 auto;
	min-width: 10rem;
	max-width: 22rem;
}

.fiveoceans-container-row-count .fo-field-count--with-icon .fo-c-n {
	flex: 1;
	min-width: 4rem;
	max-width: 6rem;
}

.fiveoceans-container-row-fields.fo-row-2 {
	grid-template-columns: 1fr 1fr;
}

html[dir="rtl"] .fiveoceans-count-with-icon,
html[lang="ar"] .fiveoceans-count-with-icon,
body.rtl .fiveoceans-count-with-icon,
body.fiveoceans-rtl .fiveoceans-count-with-icon {
	flex-direction: row-reverse;
}

#fiveoceans-block-sea .fo-row-2 {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
	#fiveoceans-block-sea .fo-row-2 {
		grid-template-columns: 1fr;
	}
}

.fiveoceans-repeater-row {
	position: relative;
	padding: 1rem 1.15rem 0.85rem;
	margin-bottom: 0.85rem;
	background: rgba(0, 0, 0, 0.03);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 8px;
}

.fiveoceans-repeater-row-foot {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.75rem;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	clear: both;
}

.fiveoceans-repeater-actions {
	margin: 0.5rem 0 0;
}

/* Truck row: count + type picker on one line */
.fiveoceans-truck-row-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem 1.25rem;
}

.fo-field-count {
	flex: 0 0 5.5rem;
	min-width: 5.5rem;
	margin-bottom: 0;
}

.fo-input-white,
.fo-field-count .widefat,
.fo-t-n {
	background: #fff !important;
	border: 1px solid rgba(31, 44, 54, 0.12) !important;
}

.fiveoceans-field-type--inline {
	flex: 1 1 280px;
	min-width: 0;
	margin: 0;
}

.fiveoceans-repeater-row--truck .fiveoceans-field-type {
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.fiveoceans-truck-row-head {
		flex-direction: column;
	}
	.fo-field-count {
		flex: 0 0 auto;
		width: 100%;
		max-width: 8rem;
	}
}

/* Truck type icon picker */
.fiveoceans-field-type {
	margin: 0;
}

.fiveoceans-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5em;
	font-size: 0.9rem;
}

.fiveoceans-type-picker {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 0.75rem;
	margin: 0.25em 0 0;
}

.fiveoceans-repeater-row--truck .fiveoceans-truck-row-head {
	flex-direction: column;
	align-items: stretch;
}

.fiveoceans-repeater-row--truck .fiveoceans-field-type--inline {
	flex: 1 1 100%;
	width: 100%;
}

.fiveoceans-repeater-row--truck .fiveoceans-type-picker {
	margin-bottom: 0;
	grid-template-columns: repeat(5, 1fr);
	width: 100%;
	gap: 0.65rem;
}

.fiveoceans-repeater-row--truck .fiveoceans-type-card {
	min-height: 120px;
	padding: 0.65rem 0.35rem;
}

.fiveoceans-repeater-row--truck .fiveoceans-type-card img {
	max-width: 100%;
	max-height: 96px;
	width: 100%;
}

@media (max-width: 900px) {
	.fiveoceans-repeater-row--truck .fiveoceans-type-picker {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.fiveoceans-container-row-fields.fo-row-2 {
		grid-template-columns: 1fr;
	}

	.fiveoceans-repeater-row--truck .fiveoceans-type-picker {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fiveoceans-type-option {
	position: relative;
	cursor: pointer;
	margin: 0;
}

.fiveoceans-type-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.fiveoceans-type-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 0.55rem 0.4rem;
	border: 2px solid rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	min-height: 108px;
}

.fiveoceans-type-option:hover .fiveoceans-type-card {
	border-color: rgba(31, 44, 54, 0.35);
}

.fiveoceans-type-option.is-selected .fiveoceans-type-card,
.fiveoceans-type-option input:checked + .fiveoceans-type-card {
	border-color: #1f2c36;
	box-shadow: 0 0 0 2px rgba(31, 44, 54, 0.2);
	background: #f0f4f7;
}

.fiveoceans-type-option input:focus-visible + .fiveoceans-type-card {
	outline: 2px solid #1f2c36;
	outline-offset: 2px;
}

.fiveoceans-type-card img {
	display: block;
	width: 100%;
	max-width: 110px;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	margin-bottom: 0.35rem;
}

.fiveoceans-type-label {
	font-size: 0.75rem;
	line-height: 1.2;
	text-align: center;
	font-weight: 500;
}

.fiveoceans-type-picker-empty {
	color: #b71c1c;
	font-size: 0.9rem;
}

.fiveoceans-order-wrap {
	margin: 1.5em 0;
}

.fiveoceans-order-wrap .fiveoceans-order-btn {
	display: inline-block;
	padding: 0.6em 1.2em;
	text-decoration: none;
}

