/*
Theme Name: Astra Mingkun
Theme URI: https://mingkun.gwmmi.cn
Description: MINGKUN INTERNATIONAL TRADE - child theme of Astra. Adds the industrial B2B design system (color tokens, section/card primitives, header/footer chrome) plus the quote-request form and post-grid shortcodes used by the Elementor templates.
Author: MINGKUN
Template: astra
Version: 1.0.0
Text Domain: astra-mingkun
*/

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
	--mk-ink: #0b1420;
	--mk-steel: #16273a;
	--mk-slate: #2c4257;
	--mk-accent: #e96222;
	--mk-accent-dark: #c74e15;
	--mk-accent-soft: #fdf0e9;
	--mk-line: #e4e9ee;
	--mk-bg: #f4f6f9;
	--mk-text: #47566a;
	--mk-muted: #7b8a99;
	--mk-radius: 14px;
	--mk-radius-sm: 9px;
	--mk-shadow: 0 18px 40px -24px rgba(11, 20, 32, .45);
	--mk-shadow-hover: 0 26px 54px -26px rgba(11, 20, 32, .55);
	--mk-max: 1280px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------------
   2. Typography + base rhythm
   --------------------------------------------------------------- */
.mk-lead p,
p.mk-lead {
	font-size: 17px;
	line-height: 1.75;
	color: var(--mk-text);
}

.mk-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mk-accent);
}

.mk-kicker::before {
	content: "";
	display: inline-block;
	width: 26px;
	height: 2px;
	background: currentColor;
	opacity: .85;
}

.mk-kicker--light {
	color: #ffb27f;
}

.mk-sec h2,
.mk-sec h3 {
	letter-spacing: -.01em;
}

/* ---------------------------------------------------------------
   3. Section helpers
   --------------------------------------------------------------- */
.mk-sec {
	position: relative;
}

.mk-sec--tight {
	padding-top: 70px;
	padding-bottom: 70px;
}

.mk-grid-2 > .e-con-inner,
.mk-grid-3 > .e-con-inner,
.mk-grid-4 > .e-con-inner {
	align-items: stretch;
}

/* ---------------------------------------------------------------
   4. Cards
   --------------------------------------------------------------- */
.mk-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	overflow: hidden;
	height: 100%;
	transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.mk-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mk-shadow-hover);
	border-color: rgba(233, 98, 34, .45);
}

.mk-card .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.mk-card:hover .elementor-widget-image img {
	transform: scale(1.04);
}

.mk-media {
	overflow: hidden;
	border-radius: var(--mk-radius-sm);
}

.mk-card--imgbox .elementor-image-box-img img {
	border-radius: var(--mk-radius-sm);
	transition: transform .5s ease;
}

.mk-card--imgbox .elementor-image-box-title {
	margin-top: 4px;
}

.mk-card--imgbox .elementor-image-box-description {
	color: var(--mk-text);
}

.mk-card--dark {
	background: linear-gradient(160deg, var(--mk-steel) 0%, var(--mk-ink) 100%);
	border-color: rgba(255, 255, 255, .08);
	color: #cfd8e1;
}

.mk-card--dark .elementor-widget-text-editor,
.mk-card--dark .elementor-widget-text-editor p,
.mk-card--dark .elementor-heading-title {
	color: #eaf0f6;
}

/* ---------------------------------------------------------------
   5. Hero + page header
   --------------------------------------------------------------- */
.mk-hero,
.mk-pagehead {
	position: relative;
	overflow: hidden;
}

.mk-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(8, 16, 26, .94) 0%, rgba(8, 16, 26, .78) 46%, rgba(8, 16, 26, .38) 100%);
	pointer-events: none;
}

.mk-pagehead::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(96deg, rgba(8, 16, 26, .93) 0%, rgba(8, 16, 26, .72) 55%, rgba(8, 16, 26, .45) 100%);
	pointer-events: none;
}

.mk-hero > .e-con-inner,
.mk-pagehead > .e-con-inner {
	position: relative;
	z-index: 2;
}

.mk-hero h1,
.mk-hero .elementor-heading-title,
.mk-pagehead h1,
.mk-pagehead .elementor-heading-title {
	color: #fff;
}

.mk-hero p,
.mk-pagehead p {
	color: #c6d2de;
}

.mk-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .16);
	color: #eef4fa;
	font-size: 12.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------
   6. Stats / steps / lists
   --------------------------------------------------------------- */
.mk-stat {
	border-left: 2px solid rgba(233, 98, 34, .55);
	padding-left: 16px;
}

.mk-stat .elementor-counter-number,
.mk-stat .elementor-heading-title {
	color: #fff;
}

.mk-stat .elementor-counter-title {
	text-align: left;
	color: #9fb0c1;
	font-size: 13px;
	letter-spacing: .04em;
}

.mk-stat--light {
	border-left-color: var(--mk-accent);
}

.mk-stat--light .elementor-counter-number,
.mk-stat--light .elementor-heading-title {
	color: var(--mk-ink);
}

.mk-stat--light .elementor-counter-title {
	color: var(--mk-muted);
}

.mk-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	padding: 26px 24px;
	height: 100%;
}

.mk-step__num {
	font-family: "Space Grotesk", Roboto, sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	color: rgba(233, 98, 34, .22);
	margin-bottom: 6px;
}

.mk-check-list .elementor-icon-list-icon svg {
	fill: var(--mk-accent);
}

.mk-check-list .elementor-icon-list-text {
	color: var(--mk-text);
	font-size: 15px;
}

/* ---------------------------------------------------------------
   7. CTA band
   --------------------------------------------------------------- */
.mk-cta {
	position: relative;
	overflow: hidden;
	background: var(--mk-ink);
}

.mk-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(94deg, rgba(11, 20, 32, .96) 0%, rgba(11, 20, 32, .82) 52%, rgba(233, 98, 34, .34) 100%);
	pointer-events: none;
}

.mk-cta > .e-con-inner {
	position: relative;
	z-index: 2;
}

.mk-cta h2,
.mk-cta .elementor-heading-title {
	color: #fff;
}

.mk-cta p {
	color: #c3cfdb;
}

/* ---------------------------------------------------------------
   8. Buttons
   --------------------------------------------------------------- */
.mk-sec .elementor-button,
.mk-hero .elementor-button,
.mk-cta .elementor-button,
.mk-pagehead .elementor-button {
	border-radius: 7px;
	letter-spacing: .03em;
	font-weight: 600;
	transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.mk-sec .elementor-button:hover,
.mk-hero .elementor-button:hover,
.mk-cta .elementor-button:hover {
	transform: translateY(-1px);
}

.mk-btn-ghost .elementor-button {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, .45) !important;
	color: #fff !important;
}

.mk-btn-ghost .elementor-button:hover {
	background: #fff !important;
	color: var(--mk-ink) !important;
	border-color: #fff !important;
}

/* ---------------------------------------------------------------
   9. HFE header chrome
   --------------------------------------------------------------- */
.mk-header-shell {
	box-shadow: 0 1px 0 rgba(11, 20, 32, .07);
}

.mk-header-top {
	background: var(--mk-ink);
	color: #9fb0c1;
}

.mk-header-top a {
	color: #cfd8e1;
	text-decoration: none;
}

.mk-header-top a:hover {
	color: #fff;
}

.mk-header-main {
	background: #fff;
}

.mk-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.06;
	text-decoration: none;
}

.mk-logo-text__latin {
	font-family: "Space Grotesk", Roboto, sans-serif;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--mk-ink);
}

.mk-logo-text__latin span {
	color: var(--mk-accent);
}

.mk-logo-text__cn {
	font-size: 12px;
	letter-spacing: .24em;
	color: var(--mk-muted);
	margin-top: 4px;
}

.mk-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li > a.hfe-menu-item {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--mk-ink);
	padding: 12px 13px;
}

.mk-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li > a.hfe-menu-item:hover,
.mk-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item,
.mk-nav .hfe-nav-menu__layout-horizontal .hfe-nav-menu > li.current_page_item > a.hfe-menu-item {
	color: var(--mk-accent);
}

.mk-nav .hfe-nav-menu .sub-menu {
	background: #fff;
	border: 1px solid var(--mk-line);
	border-radius: 10px;
	box-shadow: var(--mk-shadow);
	padding: 8px 0;
	min-width: 272px;
	margin-top: 6px;
}

.mk-nav .hfe-nav-menu .sub-menu li a.hfe-sub-menu-item {
	font-size: 14px;
	line-height: 1.4;
	padding: 11px 20px;
	color: var(--mk-text);
}

.mk-nav .hfe-nav-menu .sub-menu li a.hfe-sub-menu-item:hover {
	background: var(--mk-accent-soft);
	color: var(--mk-accent-dark);
}

.mk-nav .hfe-nav-menu .sub-menu li + li {
	border-top: 1px solid #f1f4f7;
}

.mk-header-phone {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.mk-header-phone__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--mk-accent-soft);
	color: var(--mk-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.mk-header-phone__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.mk-header-phone__meta small {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--mk-muted);
}

.mk-header-phone__meta b {
	font-size: 15px;
	color: var(--mk-ink);
	font-weight: 700;
}

.mk-nav .hfe-nav-menu__toggle {
	color: var(--mk-ink);
}

/* ---------------------------------------------------------------
   10. HFE footer
   --------------------------------------------------------------- */
.mk-footer {
	background: linear-gradient(180deg, #0d1724 0%, #0a111b 100%);
	color: #9fb0c1;
}

.mk-footer h4,
.mk-footer .elementor-heading-title {
	color: #fff;
}

.mk-footer p,
.mk-footer .elementor-widget-text-editor {
	color: #9fb0c1;
}

.mk-footer a {
	color: #9fb0c1;
	text-decoration: none;
}

.mk-footer a:hover {
	color: #fff;
}

.mk-footer__col-title {
	font-family: "Space Grotesk", Roboto, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 18px;
}

.mk-footer__links .elementor-icon-list-icon {
	display: none;
}

.mk-footer__links .elementor-icon-list-text {
	color: #9fb0c1;
	font-size: 14.5px;
	padding-left: 0;
}

.mk-footer__links .elementor-icon-list-item {
	margin-bottom: 11px;
}

.mk-footer__links .elementor-icon-list-item:hover .elementor-icon-list-text {
	color: #fff;
}

.mk-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .09);
	color: #7f909f;
	font-size: 13.5px;
}

.mk-footer__social .elementor-social-icon {
	background: rgba(255, 255, 255, .07);
	color: #cfd8e1;
}

.mk-footer__social .elementor-social-icon:hover {
	background: var(--mk-accent);
	color: #fff;
}

/* ---------------------------------------------------------------
   11. Forms
   --------------------------------------------------------------- */
.mk-form-wrap {
	background: #fff;
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	padding: 32px;
	box-shadow: var(--mk-shadow);
}

.mk-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 18px;
}

.mk-form .mk-field--full {
	grid-column: 1 / -1;
}

.mk-field label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mk-muted);
	margin-bottom: 7px;
}

.mk-field label .req {
	color: var(--mk-accent);
}

.mk-field input,
.mk-field select,
.mk-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--mk-ink);
	background: #fbfcfd;
	border: 1px solid #dde5ec;
	border-radius: var(--mk-radius-sm);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.mk-field input:focus,
.mk-field select:focus,
.mk-field textarea:focus {
	outline: 0;
	background: #fff;
	border-color: var(--mk-accent);
	box-shadow: 0 0 0 3px rgba(233, 98, 34, .13);
}

.mk-field textarea {
	min-height: 130px;
	resize: vertical;
}

.mk-form__footer {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 6px;
}

.mk-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--mk-accent);
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}

.mk-form__submit:hover {
	background: var(--mk-accent-dark);
	transform: translateY(-1px);
}

.mk-form__note {
	font-size: 13px;
	color: var(--mk-muted);
	margin: 0;
}

.mk-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0;
}

.mk-alert {
	border-radius: var(--mk-radius-sm);
	padding: 14px 18px;
	font-size: 14.5px;
	margin-bottom: 20px;
	grid-column: 1 / -1;
}

.mk-alert--ok {
	background: #eaf7ee;
	border: 1px solid #b7e2c3;
	color: #1c6b34;
}

.mk-alert--err {
	background: #fdeceb;
	border: 1px solid #f6c3c0;
	color: #9b2c25;
}

.mk-contact-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.mk-contact-item .mk-contact-item__icon {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--mk-accent-soft);
	color: var(--mk-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
}

.mk-contact-item h4 {
	font-size: 15px;
	margin: 0 0 3px;
	color: var(--mk-ink);
}

.mk-contact-item p,
.mk-contact-item p a {
	font-size: 14.5px;
	color: var(--mk-text);
	margin: 0;
}

/* ---------------------------------------------------------------
   12. Post grid
   --------------------------------------------------------------- */
.mk-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mk-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--mk-line);
	border-radius: var(--mk-radius);
	overflow: hidden;
	transition: transform .28s ease, box-shadow .28s ease;
	height: 100%;
}

.mk-post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--mk-shadow-hover);
}

.mk-post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--mk-bg);
}

.mk-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.mk-post-card:hover .mk-post-card__thumb img {
	transform: scale(1.04);
}

.mk-post-card__body {
	padding: 22px 22px 26px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
}

.mk-post-card__meta {
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--mk-accent);
	font-weight: 700;
}

.mk-post-card__title {
	font-family: "Space Grotesk", Roboto, sans-serif;
	font-size: 19px;
	line-height: 1.35;
	margin: 0;
}

.mk-post-card__title a {
	color: var(--mk-ink);
	text-decoration: none;
}

.mk-post-card__title a:hover {
	color: var(--mk-accent);
}

.mk-post-card__excerpt {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--mk-text);
	margin: 0;
}

.mk-post-card__more {
	margin-top: auto;
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mk-accent);
	text-decoration: none;
}

.mk-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
}

.mk-pagination a,
.mk-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--mk-line);
	border-radius: 8px;
	font-size: 14px;
	color: var(--mk-text);
	text-decoration: none;
}

.mk-pagination .current,
.mk-pagination a:hover {
	background: var(--mk-ink);
	border-color: var(--mk-ink);
	color: #fff;
}

.mk-post-body {
	font-size: 16.5px;
	line-height: 1.8;
	color: var(--mk-text);
}

.mk-post-body h2,
.mk-post-body h3 {
	color: var(--mk-ink);
	margin-top: 34px;
}

.mk-post-body ul {
	padding-left: 20px;
}

.mk-post-body li {
	margin-bottom: 8px;
}

/* ---------------------------------------------------------------
   13. Breadcrumbs
   --------------------------------------------------------------- */
.mk-breadcrumb {
	margin: 0 0 18px;
}

.mk-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 12.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.mk-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #9fb0c1;
}

.mk-breadcrumb a,
.mk-breadcrumb span[itemprop="name"] {
	color: #9fb0c1;
	text-decoration: none;
	transition: color .2s ease;
}

.mk-breadcrumb a:hover {
	color: #ffffff;
}

.mk-breadcrumb [aria-current="page"] {
	color: #ffffff;
	font-weight: 600;
}

.mk-breadcrumb__sep {
	color: rgba(255, 255, 255, .35);
}

/* ---------------------------------------------------------------
   14. Utility
   --------------------------------------------------------------- */
.mk-shadow {
	box-shadow: var(--mk-shadow);
}

.mk-radius {
	border-radius: var(--mk-radius);
	overflow: hidden;
}

.elementor-element.mk-hero,
.elementor-element.mk-cta,
.elementor-element.mk-pagehead {
	max-width: 100%;
}

/* ---------------------------------------------------------------
   15. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
	.mk-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mk-form-wrap {
		padding: 26px;
	}
}

@media (max-width: 880px) {
	.mk-form {
		grid-template-columns: 1fr;
	}

	.mk-logo-text__latin {
		font-size: 21px;
	}
}

@media (max-width: 767px) {
	.mk-posts {
		grid-template-columns: 1fr;
	}

	.mk-form-wrap {
		padding: 22px;
	}

	.mk-hero::after {
		background: linear-gradient(180deg, rgba(8, 16, 26, .94) 0%, rgba(8, 16, 26, .82) 100%);
	}

	.mk-step {
		padding: 22px 20px;
	}

	.mk-kicker {
		font-size: 11px;
	}
}
