/*
 * Contact page — refined navy and gold card layout.
 * Scoped to page 9 so the rest of the site is unaffected.
 */
body.page-id-9 .site-content {
	padding: 44px 0 72px;
	background:
		radial-gradient(circle at 12% 8%, rgba(232, 190, 76, 0.12), transparent 26%),
		#f7f4ed;
}

body.page-id-9 #post-9 .entry-content > .bgtfw > .boldgrid-section > .container {
	width: min(1180px, calc(100% - 36px));
	margin: 0 auto;
	padding: 0;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row {
	display: grid;
	grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.65fr);
	gap: 24px;
	align-items: stretch;
	margin: 0;
	direction: ltr;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8,
body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
	width: auto;
	padding: 32px;
	float: none;
	border-radius: 22px;
	direction: rtl;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8 {
	grid-column: 2;
	grid-row: 1;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
	grid-column: 1;
	grid-row: 1;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8 {
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(1, 31, 63, 0.1);
	box-shadow: 0 18px 55px rgba(1, 31, 63, 0.1);
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 0 0, rgba(232, 190, 76, 0.22), transparent 36%),
		#011f3f;
	box-shadow: 0 18px 55px rgba(1, 31, 63, 0.16);
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4::before {
	content: "معلومات التواصل";
	display: block;
	margin-bottom: 24px;
	padding-bottom: 14px;
	color: #fff;
	border-bottom: 2px solid #e8be4c;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.3;
}

body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap:first-child,
body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap .bg-hr,
body.page-id-9 #post-9 .col-md-4 > h3:nth-of-type(-n+2) {
	display: none;
}

body.page-id-9 #post-9 h1.beitcom-seo-heading {
	margin: 0 0 12px !important;
	color: #011f3f;
	font-size: clamp(34px, 4vw, 48px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
}

body.page-id-9 #post-9 h1.beitcom-seo-heading::before {
	content: none;
	display: none;
}

body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap p {
	max-width: 720px;
	margin: 0 0 24px;
	color: #536273;
	font-size: 17px;
	line-height: 1.8;
}

body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap p br:first-child {
	display: none;
}

body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap a {
	color: #9b6d00;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.page-id-9 #nf-form-2-cont .nf-form-fields-required {
	display: inline-block;
	margin: 0 0 18px;
	padding: 6px 12px;
	color: #536273;
	background: #f4efe3;
	border-radius: 999px;
	font-size: 13px;
}

body.page-id-9 #nf-form-2-cont .nf-field-container {
	margin-bottom: 18px;
}

body.page-id-9 #nf-form-2-cont .nf-field-label {
	margin-bottom: 7px;
}

body.page-id-9 #nf-form-2-cont .nf-field-label label {
	color: #011f3f;
	font-size: 16px;
	font-weight: 700;
}

body.page-id-9 #nf-form-2-cont .ninja-forms-req-symbol {
	color: #b88913;
}

body.page-id-9 #nf-form-2-cont input:not([type="submit"]),
body.page-id-9 #nf-form-2-cont textarea {
	width: 100%;
	padding: 12px 14px;
	color: #011f3f;
	background: #fbfaf7;
	border: 1px solid #cbd3da;
	border-radius: 11px;
	box-shadow: none;
	font-size: 16px;
	transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body.page-id-9 #nf-form-2-cont input:not([type="submit"]) {
	min-height: 48px;
}

body.page-id-9 #nf-form-2-cont textarea {
	min-height: 150px;
	resize: vertical;
}

body.page-id-9 #nf-form-2-cont input:not([type="submit"]):focus,
body.page-id-9 #nf-form-2-cont textarea:focus {
	outline: none;
	background: #fff;
	border-color: #b88913;
	box-shadow: 0 0 0 3px rgba(232, 190, 76, 0.2);
}

body.page-id-9 #nf-form-2-cont .submit-wrap .nf-field-element {
	display: flex;
	justify-content: flex-start;
}

body.page-id-9 #nf-form-2-cont input[type="submit"] {
	min-width: 190px;
	min-height: 48px;
	padding: 11px 24px;
	color: #011f3f;
	background: #e8be4c;
	border: 0;
	border-radius: 11px;
	box-shadow: 0 8px 22px rgba(184, 137, 19, 0.22);
	font-size: 16px;
	font-weight: 700;
	transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

body.page-id-9 #nf-form-2-cont input[type="submit"]:hover,
body.page-id-9 #nf-form-2-cont input[type="submit"]:focus {
	color: #fff;
	background: #011f3f;
	transform: translateY(-1px);
	box-shadow: 0 10px 26px rgba(1, 31, 63, 0.22);
}

body.page-id-9 #post-9 .col-md-4 > h3 {
	margin: 20px 0 5px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
}

body.page-id-9 #post-9 .col-md-4 > h3:first-of-type {
	margin-top: 0;
}

body.page-id-9 #post-9 .col-md-4 > h3 i {
	width: 25px;
	color: #e8be4c;
	text-align: center;
}

body.page-id-9 #post-9 .col-md-4 > h3 img {
	width: 27px;
	height: 27px;
	margin: 0 3px;
	border-radius: 50%;
	vertical-align: middle;
}

body.page-id-9 #post-9 .col-md-4 > p {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 15px !important;
	line-height: 1.7;
	text-align: right;
}

body.page-id-9 #post-9 .col-md-4 > p a {
	color: #e8be4c;
	font-size: 15px !important;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.page-id-9 #post-9 .col-md-4 > p a[href^="mailto:"] {
	display: inline-block;
	direction: ltr;
	unicode-bidi: isolate;
	text-align: left;
}

body.page-id-9 #post-9 .col-md-4 > p:not(:last-child) {
	unicode-bidi: plaintext;
}

body.page-id-9 #post-9 .col-md-4 > p.beitcom-contact-number {
	direction: ltr;
	unicode-bidi: isolate;
	text-align: right;
}

body.page-id-9 #post-9 .col-md-4 > p:last-child {
	flex: none;
	min-height: 0;
	margin: 24px 0 0;
	overflow: hidden;
	border-radius: 14px;
}

body.page-id-9 #post-9 .col-md-4 > p:last-child img {
	display: block;
	width: 100%;
	height: 210px;
	min-height: 0;
	margin: 0;
	object-fit: cover;
	object-position: center;
	border: 2px solid rgba(232, 190, 76, 0.72);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
	filter: saturate(1.12) contrast(1.07) brightness(1.03);
}

@media (max-width: 991.98px) {
	body.page-id-9 .site-content {
		padding: 28px 0 52px;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row {
		grid-template-columns: 1fr;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8,
	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
		grid-column: 1;
		padding: 25px;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
		grid-row: 1;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8 {
		grid-row: 2;
	}

	body.page-id-9 #post-9 .col-md-4 > p:last-child {
		flex: none;
		min-height: 0;
	}

	body.page-id-9 #post-9 .col-md-4 > p:last-child img {
		height: 210px;
		min-height: 0;
	}
}

@media (max-width: 575.98px) {
	body.page-id-9 #post-9 .entry-content > .bgtfw > .boldgrid-section > .container {
		width: min(100% - 22px, 1180px);
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row {
		gap: 16px;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8,
	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
		padding: 20px 17px;
		border-radius: 17px;
	}

	body.page-id-9 #post-9 h1.beitcom-seo-heading {
		font-size: 32px !important;
	}

	body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap p {
		font-size: 15px;
		line-height: 1.7;
	}

	body.page-id-9 #nf-form-2-cont input[type="submit"] {
		width: 100%;
	}

	body.page-id-9 #post-9 .col-md-4 > p:last-child img {
		height: 160px;
	}
}

/* Brand-tone refinement: solid navy with a softer champagne gold. */
body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
	background: #011f3f;
}

body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4::before {
	border-bottom-color: #d8b76a;
}

body.page-id-9 #post-9 .col-md-4 > h3 i,
body.page-id-9 #post-9 .col-md-4 > p a,
body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap a {
	color: #d8b76a;
}

body.page-id-9 #post-9 .col-md-4 > p a[href^="mailto:"],
body.page-id-9 #post-9 .col-md-4 > p.beitcom-contact-number {
	font-size: 17px !important;
}

body.page-id-9 #nf-form-2-cont .ninja-forms-req-symbol {
	color: #b58a2b;
}

body.page-id-9 #nf-form-2-cont input[type="submit"] {
	background: #d8b76a;
	box-shadow: 0 8px 22px rgba(181, 138, 43, 0.22);
}

body.page-id-9 #post-9 .col-md-4 > p:last-child img {
	border-color: rgba(216, 183, 106, 0.82);
}

/* Compact desktop layout: keeps both contact cards and the footer within one typical screen. */
@media (min-width: 992px) {
	body.page-id-9 .site-content {
		padding: 10px 0 0;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row {
		gap: 20px;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-8,
	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
		padding: 18px 24px;
		border-radius: 19px;
	}

	body.page-id-9 #post-9 h1.beitcom-seo-heading {
		margin-bottom: 4px !important;
		font-size: 38px !important;
		line-height: 1.05 !important;
	}

	body.page-id-9 #post-9 .col-md-8 > .bg-editor-hr-wrap p {
		margin-bottom: 8px;
		font-size: 15px;
		line-height: 1.45;
	}

	body.page-id-9 #nf-form-2-cont .nf-form-fields-required {
		margin-bottom: 6px;
		padding: 3px 9px;
	}

	body.page-id-9 #nf-form-2-cont .nf-field-container {
		margin-bottom: 6px;
	}

	body.page-id-9 #nf-form-2-cont .nf-field-label {
		margin-bottom: 2px;
	}

	body.page-id-9 #nf-form-2-cont .nf-field-label label {
		font-size: 15px;
	}

	body.page-id-9 #nf-form-2-cont input:not([type="submit"]) {
		min-height: 38px;
		padding: 7px 11px;
	}

	body.page-id-9 #nf-form-2-cont textarea {
		height: 92px;
		min-height: 92px;
		padding: 7px 11px;
	}

	body.page-id-9 #nf-form-2-cont input[type="submit"] {
		min-height: 40px;
		padding: 7px 20px;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4 {
		justify-content: flex-start;
	}

	body.page-id-9 #post-9 .boldgrid-section > .container > .row > .col-md-4::before {
		margin-bottom: 12px;
		padding-bottom: 9px;
		font-size: 20px;
	}

	body.page-id-9 #post-9 .col-md-4 > h3 {
		margin: 9px 0 3px;
		font-size: 16px;
		line-height: 1.4;
	}

	body.page-id-9 #post-9 .col-md-4 > p {
		margin-bottom: 7px;
		line-height: 1.45;
	}

	body.page-id-9 #post-9 .col-md-4 > p.beitcom-contact-number a {
		display: inline-block;
		color: #d8b76a;
		font-size: 17px !important;
		font-weight: 600;
		text-decoration: none;
	}

	body.page-id-9 #post-9 .col-md-4 > p:last-child {
		margin-top: 12px;
	}

	body.page-id-9 #post-9 .col-md-4 > p:last-child img {
		height: 150px;
	}

	body.page-id-9 #post-9 .entry-content > .bgtfw > .boldgrid-section:first-child {
		margin-bottom: 0 !important;
		padding-bottom: 0 !important;
	}

	body.page-id-9 #post-9 .entry-content > .bgtfw > .boldgrid-section:last-child,
	body.page-id-9 #post-9 .boldgrid-section > .container > .row:last-child:not(:first-child) {
		display: none;
	}
}
