/* Footer — Rework.by (careerfy-footer-three) */

:root {
	--rework-footer-side-gap: 15px;
	--rework-footer-card-bg: #ffffff;
	--rework-footer-card-border: #efefef;
	--rework-footer-card-radius: 20px;
	--rework-footer-card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	--rework-footer-card-padding-y: clamp(20px, 3vw, 30px);
	--rework-footer-card-padding-x: 5%;
}

/* Full-width footer area with 15px side inset */
#careerfy-footer.careerfy-footer-three > .container {
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 2vw, 16px);
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	padding-right: var(--rework-footer-side-gap) !important;
	padding-left: var(--rework-footer-side-gap) !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

#careerfy-footer.careerfy-footer-three > .container::before,
#careerfy-footer.careerfy-footer-three > .container::after {
	display: none;
}

#careerfy-footer.careerfy-footer-three > .container > .careerfy-footer-widget,
#careerfy-footer.careerfy-footer-three > .container > .rework-footer-meta {
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	margin: 0;
}

/* White card for main widget row */
.careerfy-footer-three .careerfy-footer-widget > .row {
	float: none !important;
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: var(--rework-footer-card-padding-y) var(--rework-footer-card-padding-x);
	background: var(--rework-footer-card-bg);
	border: 1px solid var(--rework-footer-card-border);
	border-radius: var(--rework-footer-card-radius);
	box-shadow: var(--rework-footer-card-shadow);
}

.careerfy-footer-three .careerfy-footer-widget > .row::before,
.careerfy-footer-three .careerfy-footer-widget > .row::after {
	display: none !important;
}

.careerfy-footer-three .careerfy-footer-widget > .row > [class*="col-"] {
	float: none !important;
	display: block !important;
	min-width: 0;
	margin-right: 0 !important;
	margin-bottom: 0;
	padding-left: 12px;
	padding-right: 12px;
	vertical-align: top;
}

.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-2 {
	flex: 0 0 16.666667%;
	max-width: 16.666667%;
}

.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-3 {
	flex: 0 0 25%;
	max-width: 25%;
}

.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-4 {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
}

.careerfy-footer-three .careerfy-footer-widget > .row .widget {
	float: none !important;
	width: 100% !important;
	margin-bottom: 0;
}

.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul,
.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul li,
.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul li a {
	float: none !important;
	width: auto !important;
}

.careerfy-footer-three .careerfy-footer-widget > .row .careerfy-footer-title3,
.careerfy-footer-three .careerfy-footer-widget > .row .footer-widget-title {
	float: none !important;
	width: 100% !important;
}

.careerfy-footer-three .careerfy-footer-widget > .row .careerfy-footer-title3 h2,
.careerfy-footer-three .careerfy-footer-widget > .row .footer-widget-title h2 {
	color: #515c72;
}

.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul li a {
	color: #0d3b5e !important;
}

.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul li a:hover,
.careerfy-footer-three .careerfy-footer-widget > .row .widget_nav_menu ul li a:focus {
	color: #0a65fc !important;
}

.careerfy-footer-three .careerfy-footer-widget {
	float: none !important;
	width: 100% !important;
}

/* Meta bar below widgets */
.rework-footer-meta {
	position: relative;
	isolation: isolate;
}

.rework-footer-meta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(16px, 3vw, 28px);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: var(--rework-footer-card-padding-y) var(--rework-footer-card-padding-x);
	background: #0a65fc;
	border: 1px solid #0a65fc;
	border-radius: var(--rework-footer-card-radius);
	box-shadow: var(--rework-footer-card-shadow);
	color: #ffffff;
}

.rework-footer-meta__inner::before,
.rework-footer-meta__inner::after {
	display: none !important;
}

.rework-footer-meta__inner * {
	box-sizing: border-box;
	max-width: 100%;
}

.rework-footer-meta__inner * {
	float: none !important;
}

.rework-footer-meta__support {
	flex: 1 1 280px;
}

.rework-footer-meta__inner .footer-about__heading {
	color: #ffffff;
}

.rework-footer-meta__inner .footer-about__contact-note {
	color: rgba(255, 255, 255, 0.82);
}

.rework-footer-meta__inner .footer-about__legal-item dt {
	color: rgba(255, 255, 255, 0.78);
}

.rework-footer-meta__inner .footer-about__legal-item dd {
	color: #ffffff;
}

.rework-footer-meta__support .footer-about__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

.rework-footer-meta .footer-about__btn-icon--viber svg {
	width: 18px;
	height: 18px;
}

.rework-footer-meta .footer-about__btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 2px;
}

.rework-footer-meta__payments .footer-about__payments-img {
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 10px;
}

.rework-footer-meta__legal {
	flex: 2 1 360px;
	min-width: min(100%, 280px);
}

.rework-footer-meta__section {
	flex: 1 1 220px;
	min-width: min(100%, 220px);
}

.rework-footer-meta__payments {
	flex: 0 1 200px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* Brand column */
.footer-about {
	--footer-about-accent: #0a65fc;
	--footer-about-accent-hover: #0052cc;
	--footer-about-muted: rgba(13, 59, 94, 0.68);
	--footer-about-btn-text: #fff;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	color: var(--cfy-dark, #0d3b5e);
	font-size: 13px;
	line-height: 1.45;
}

.footer-about--brand {
	margin: 0;
}

.footer-about__logo-link {
	display: inline-block;
	margin-bottom: 8px;
	max-width: 100%;
}

.footer-about__logo {
	display: block;
	width: min(160px, 100%);
	height: auto;
}

.footer-about__tagline {
	margin: 0;
	font-size: inherit;
	line-height: 1.4;
	color: var(--footer-about-muted);
	text-wrap: pretty;
}

.footer-about__heading {
	float: none !important;
	width: 100% !important;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cfy-dark, #0d3b5e);
}

.footer-about__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.footer-about__btn,
#careerfy-footer .footer-about__btn,
.careerfy-footer-widget .footer-about__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 36px;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: var(--footer-about-accent);
	color: var(--footer-about-btn-text) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.15s ease;
}

.footer-about__btn:hover,
.footer-about__btn:focus,
.footer-about__btn:active,
#careerfy-footer .footer-about__btn:hover,
#careerfy-footer .footer-about__btn:focus,
#careerfy-footer .footer-about__btn:active,
.careerfy-footer-widget .footer-about__btn:hover,
.careerfy-footer-widget .footer-about__btn:focus,
.careerfy-footer-widget .footer-about__btn:active {
	background: var(--footer-about-accent-hover);
	color: var(--footer-about-btn-text) !important;
	text-decoration: none !important;
}

.footer-about__btn:focus-visible {
	outline: 2px solid rgba(10, 101, 252, 0.35);
	outline-offset: 2px;
}

.footer-about__btn-icon,
#careerfy-footer .footer-about__btn-icon,
.rework-footer-meta .footer-about__btn-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: var(--footer-about-btn-text) !important;
}

.footer-about__btn-icon svg,
#careerfy-footer .footer-about__btn-icon svg,
.rework-footer-meta .footer-about__btn-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke: currentColor;
	color: inherit;
}

.footer-about__btn-text,
#careerfy-footer .footer-about__btn-text,
.rework-footer-meta .footer-about__btn-text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--footer-about-btn-text) !important;
	word-break: break-word;
}

.rework-footer-meta .footer-about__btn,
#careerfy-footer .rework-footer-meta .footer-about__btn {
	background: #2878fc !important;
	color: #ffffff !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.rework-footer-meta .footer-about__btn:hover,
.rework-footer-meta .footer-about__btn:focus,
.rework-footer-meta .footer-about__btn:active,
#careerfy-footer .rework-footer-meta .footer-about__btn:hover,
#careerfy-footer .rework-footer-meta .footer-about__btn:focus,
#careerfy-footer .rework-footer-meta .footer-about__btn:active {
	background: #1f6fe8 !important;
	color: #ffffff !important;
}

.rework-footer-meta .footer-about__btn-icon,
.rework-footer-meta .footer-about__btn-text,
#careerfy-footer .rework-footer-meta .footer-about__btn-icon,
#careerfy-footer .rework-footer-meta .footer-about__btn-text {
	color: #ffffff !important;
}

.footer-about__contact-note {
	margin: 6px 0 0;
	font-size: 11px;
	line-height: 1.3;
	color: var(--footer-about-muted);
	text-wrap: pretty;
}

.footer-about__legal-list {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

.rework-footer-meta__legal-list {
	columns: 2;
	column-gap: clamp(16px, 3vw, 24px);
}

.footer-about__legal-item {
	display: block;
	width: 100%;
	margin: 0 0 8px;
	padding: 0;
	break-inside: avoid;
	page-break-inside: avoid;
}

.footer-about__legal-item dt {
	display: block;
	margin: 0 0 1px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--footer-about-muted);
}

.footer-about__legal-item dd {
	display: block;
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--cfy-dark, #0d3b5e);
	overflow-wrap: anywhere;
}

.footer-about__payments-img {
	display: block;
	width: min(188px, 100%);
	height: auto;
}

@media (max-width: 991px) {
	.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-2,
	.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-3,
	.careerfy-footer-three .careerfy-footer-widget > .row > .col-md-4 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.rework-footer-meta__section,
	.rework-footer-meta__legal,
	.rework-footer-meta__payments {
		flex: 1 1 100%;
		min-width: 100%;
	}
}

@media (max-width: 767px) {
	#careerfy-footer.careerfy-footer-three > .container {
		padding-right: var(--rework-footer-side-gap) !important;
		padding-left: var(--rework-footer-side-gap) !important;
	}

	.careerfy-footer-three .careerfy-footer-widget > .row > [class*="col-"] {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.rework-footer-meta__support .footer-about__actions {
		grid-template-columns: 1fr;
	}

	.rework-footer-meta__legal-list {
		columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.footer-about__btn {
		transition: none;
	}
}
