/*
 * Sitewide C-onsulting logo fit rules.
 * The uploaded source logo is a wide transparent PNG, so The7 needs explicit
 * constraints in header, mobile and footer contexts.
 */

:root {
	--cons-logo-desktop-width: 300px;
	--cons-logo-sticky-width: 248px;
	--cons-logo-mobile-width: 224px;
	--cons-logo-footer-width: 220px;
	--cons-brand-red: #e91e4d;
	--cons-brand-dark: #111827;
	--cons-brand-muted: #657084;
	--cons-brand-line: #e5eaf1;
}

.branding a,
.mobile-branding a,
#branding a,
#branding-bottom a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.branding img[src*="cons-new-logo"],
#branding img[src*="cons-new-logo"],
.same-logo img[src*="cons-new-logo"],
.masthead .branding img[src*="cons-new-logo"] {
	display: block;
	width: min(var(--cons-logo-desktop-width), 28vw) !important;
	max-width: min(var(--cons-logo-desktop-width), 28vw) !important;
	height: auto !important;
	max-height: 84px !important;
	object-fit: contain;
}

.sticky-on .branding img[src*="cons-new-logo"],
.phantom-sticky .branding img[src*="cons-new-logo"],
.sticky-mobile-on .mobile-branding img[src*="cons-new-logo"] {
	width: min(var(--cons-logo-sticky-width), 32vw) !important;
	max-width: min(var(--cons-logo-sticky-width), 32vw) !important;
	max-height: 68px !important;
}

.mobile-branding img[src*="cons-new-logo"],
.mobile-header-bar img[src*="cons-new-logo"],
.mobile-header-scrollbar-wrap img[src*="cons-new-logo"],
.dt-mobile-header img[src*="cons-new-logo"] {
	display: block;
	width: min(var(--cons-logo-mobile-width), 58vw) !important;
	max-width: min(var(--cons-logo-mobile-width), 58vw) !important;
	height: auto !important;
	max-height: 78px !important;
	object-fit: contain;
}

#bottom-bar img[src*="cons-new-logo"],
#branding-bottom img[src*="cons-new-logo"],
.bottom-text-block img[src*="cons-new-logo"],
#footer img[src*="cons-new-logo"],
.footer img[src*="cons-new-logo"],
.widget_text img[src*="cons-new-logo"] {
	display: inline-block;
	width: min(var(--cons-logo-footer-width), 70vw) !important;
	max-width: min(var(--cons-logo-footer-width), 70vw) !important;
	height: auto !important;
	max-height: 88px !important;
	object-fit: contain;
	background: #fff;
	border-radius: 8px;
	box-sizing: content-box;
	padding: 10px 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.branding img[src*="cons-header-logo"],
#branding img[src*="cons-header-logo"],
.same-logo img[src*="cons-header-logo"],
.masthead .branding img[src*="cons-header-logo"] {
	display: block;
	width: min(var(--cons-logo-desktop-width), 28vw) !important;
	max-width: min(var(--cons-logo-desktop-width), 28vw) !important;
	height: auto !important;
	max-height: 84px !important;
	object-fit: contain;
}

.sticky-on .branding img[src*="cons-header-logo"],
.phantom-sticky .branding img[src*="cons-header-logo"],
.sticky-mobile-on .mobile-branding img[src*="cons-header-logo"] {
	width: min(var(--cons-logo-sticky-width), 32vw) !important;
	max-width: min(var(--cons-logo-sticky-width), 32vw) !important;
	max-height: 68px !important;
}

.mobile-branding img[src*="cons-header-logo"],
.mobile-header-bar img[src*="cons-header-logo"],
.mobile-header-scrollbar-wrap img[src*="cons-header-logo"],
.dt-mobile-header img[src*="cons-header-logo"] {
	display: block;
	width: min(var(--cons-logo-mobile-width), 58vw) !important;
	max-width: min(var(--cons-logo-mobile-width), 58vw) !important;
	height: auto !important;
	max-height: 78px !important;
	object-fit: contain;
}

#bottom-bar img[src*="cons-header-logo"],
#branding-bottom img[src*="cons-header-logo"] {
	display: inline-block;
	width: min(var(--cons-logo-footer-width), 70vw) !important;
	max-width: min(var(--cons-logo-footer-width), 70vw) !important;
	height: auto !important;
	max-height: 88px !important;
	object-fit: contain;
}

#footer.footer {
	background:
		linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(17, 24, 39, .94)),
		url('/wp-content/uploads/2013/02/3.jpg') center/cover no-repeat !important;
	color: rgba(255, 255, 255, .78);
	padding: 72px 0 54px !important;
}

#footer .wf-container-footer,
#footer .wf-container-footer > .wf-container {
	align-items: start;
	display: grid !important;
	gap: 22px;
	grid-template-columns: minmax(0, 1.25fr) minmax(220px, .85fr) minmax(220px, .75fr) minmax(280px, 1fr);
}

#footer .wf-container-footer > .wf-container {
	margin: 0 auto !important;
	max-width: 1180px !important;
	width: min(1110px, calc(100vw - 60px)) !important;
}

#footer .wf-cell,
#footer .widget {
	float: none !important;
	margin: 0 !important;
	width: auto !important;
}

#footer .widget {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 8px;
	box-shadow: none;
	min-height: 0 !important;
	padding: 24px !important;
}

#footer #text-2 {
	grid-column: 1;
}

#footer #presscore-custom-menu-one-6 {
	grid-column: 2;
}

#footer #presscore-contact-info-widget-2 {
	grid-column: 3;
}

#footer #presscore-contact-form-widget-4 {
	grid-column: 4;
}

#footer .widget-title,
#footer .widget .widget-title,
#footer h3,
#footer h4 {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
	line-height: 1.25 !important;
	margin: 0 0 16px !important;
	text-transform: none !important;
}

#footer .textwidget,
#footer .textwidget p,
#footer .widget,
#footer .widget li,
#footer .widget a,
#footer .contact-info,
#footer .contact-info li {
	color: rgba(255, 255, 255, .78) !important;
	font-size: 14px;
	line-height: 1.65;
}

#footer a {
	text-decoration: none;
}

#footer a:hover,
#footer a:focus-visible {
	color: #fff !important;
}

#footer .custom-menu,
#footer .menu,
#footer ul {
	display: grid;
	gap: 8px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#footer .custom-menu a,
#footer .menu a,
#footer .widget_presscore-custom-menu-one a {
	align-items: center;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 8px;
	display: flex;
	min-height: 42px;
	padding: 10px 12px !important;
}

#footer .custom-menu a::before,
#footer .menu a::before,
#footer .widget_presscore-custom-menu-one a::before {
	content: none !important;
}

#footer .soc-ico {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#footer .soc-ico a {
	align-items: center;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 999px;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

#footer .dt-contact-form {
	display: grid;
	gap: 10px;
}

#footer .dt-contact-form input:not([type="checkbox"]):not([type="submit"]),
#footer .dt-contact-form textarea {
	background: rgba(255, 255, 255, .96) !important;
	border: 1px solid rgba(255, 255, 255, .18) !important;
	border-radius: 8px !important;
	color: #111827 !important;
	font-size: 14px !important;
	min-height: 44px;
	padding: 11px 13px !important;
}

#footer .dt-contact-form textarea {
	min-height: 118px;
	resize: vertical;
}

#footer .dt-contact-form input[type="submit"] {
	background: var(--cons-brand-red) !important;
	border: 0 !important;
	border-radius: 8px !important;
	color: #fff !important;
	font-weight: 900 !important;
	min-height: 42px;
	padding: 11px 18px !important;
}

#footer .dt-contact-form .form-terms,
#footer .dt-contact-form .form-terms label,
#footer .dt-contact-form .privacy-policy,
#footer .dt-contact-form .form-error {
	color: rgba(255, 255, 255, .72) !important;
	font-size: 12px !important;
	line-height: 1.55 !important;
}

#bottom-bar {
	background: #0b1020 !important;
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: rgba(255, 255, 255, .68) !important;
}

#bottom-bar .wf-container-bottom {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
}

#bottom-bar a,
#bottom-bar .bottom-text-block,
#bottom-bar .mini-nav a {
	color: rgba(255, 255, 255, .72) !important;
}

#bottom-bar a:hover,
#bottom-bar a:focus-visible {
	color: #fff !important;
}

#moove_gdpr_cookie_info_bar {
	background: transparent !important;
	border: 0 !important;
	bottom: 18px !important;
	box-shadow: none !important;
	left: 50% !important;
	max-width: min(1040px, calc(100vw - 32px)) !important;
	right: auto !important;
	transform: translateX(-50%);
	width: 100% !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {
	background: rgba(255, 255, 255, .96) !important;
	border: 1px solid rgba(229, 234, 241, .92);
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(15, 23, 42, .18);
	padding: 0 !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content {
	align-items: center;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 18px 20px !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice {
	margin: 0 !important;
	max-width: 720px;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p {
	color: var(--cons-brand-muted) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
	padding: 0 !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p:first-child {
	color: var(--cons-brand-dark) !important;
	font-weight: 800 !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice a {
	color: var(--cons-brand-red) !important;
	font-weight: 800 !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-button-holder {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
	margin: 0 !important;
	padding: 0 !important;
}

#moove_gdpr_cookie_info_bar button.mgbutton {
	align-items: center;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	display: inline-flex !important;
	font-size: 14px !important;
	font-weight: 900 !important;
	justify-content: center;
	line-height: 1 !important;
	min-height: 42px;
	min-width: 116px;
	padding: 12px 18px !important;
	text-shadow: none !important;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-allow-all {
	background: var(--cons-brand-red) !important;
	color: #fff !important;
}

#moove_gdpr_cookie_info_bar button.moove-gdpr-infobar-reject-btn {
	background: #fff !important;
	border-color: var(--cons-brand-line) !important;
	color: var(--cons-brand-dark) !important;
}

#moove_gdpr_cookie_info_bar button.mgbutton:hover,
#moove_gdpr_cookie_info_bar button.mgbutton:focus-visible {
	box-shadow: 0 10px 24px rgba(15, 23, 42, .14) !important;
	transform: translateY(-1px);
}

@media (max-width: 1024px) {
	.branding img[src*="cons-new-logo"],
	#branding img[src*="cons-new-logo"],
	.same-logo img[src*="cons-new-logo"],
	.masthead .branding img[src*="cons-new-logo"] {
		width: min(260px, 38vw) !important;
		max-width: min(260px, 38vw) !important;
		max-height: 74px !important;
	}

	.branding img[src*="cons-header-logo"],
	#branding img[src*="cons-header-logo"],
	.same-logo img[src*="cons-header-logo"],
	.masthead .branding img[src*="cons-header-logo"] {
		width: min(260px, 38vw) !important;
		max-width: min(260px, 38vw) !important;
		max-height: 74px !important;
	}

	#footer .wf-container-footer,
	#footer .wf-container-footer > .wf-container {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#footer #text-2,
	#footer #presscore-custom-menu-one-6,
	#footer #presscore-contact-info-widget-2,
	#footer #presscore-contact-form-widget-4 {
		grid-column: auto;
	}
}

@media (max-width: 767px) {
	.mobile-branding img[src*="cons-new-logo"],
	.mobile-header-bar img[src*="cons-new-logo"],
	.mobile-header-scrollbar-wrap img[src*="cons-new-logo"],
	.dt-mobile-header img[src*="cons-new-logo"],
	.branding img[src*="cons-new-logo"],
	#branding img[src*="cons-new-logo"] {
		width: min(214px, 58vw) !important;
		max-width: min(214px, 58vw) !important;
		max-height: 74px !important;
	}

	.mobile-branding img[src*="cons-header-logo"],
	.mobile-header-bar img[src*="cons-header-logo"],
	.mobile-header-scrollbar-wrap img[src*="cons-header-logo"],
	.dt-mobile-header img[src*="cons-header-logo"],
	.branding img[src*="cons-header-logo"],
	#branding img[src*="cons-header-logo"] {
		width: min(214px, 58vw) !important;
		max-width: min(214px, 58vw) !important;
		max-height: 74px !important;
	}

	#moove_gdpr_cookie_info_bar {
		bottom: 10px !important;
		max-width: calc(100vw - 20px) !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content {
		gap: 14px !important;
		grid-template-columns: 1fr;
		padding: 16px !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p {
		font-size: 13px !important;
	}

	#moove_gdpr_cookie_info_bar .moove-gdpr-button-holder {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		justify-content: stretch;
		width: 100%;
	}

	#moove_gdpr_cookie_info_bar button.mgbutton {
		min-height: 40px;
		min-width: 0;
		padding: 11px 12px !important;
		width: 100%;
	}

	#footer.footer {
		padding: 44px 0 36px !important;
	}

	#footer .wf-container-footer,
	#footer .wf-container-footer > .wf-container {
		gap: 14px;
		grid-template-columns: 1fr;
	}

	#footer .widget {
		padding: 20px !important;
	}

	#bottom-bar .wf-container-bottom {
		justify-content: center;
		text-align: center;
	}
}
