/**
 * WordPress-only fixes that must not alter the reference when the interaction JS runs correctly.
 */

/* Hide runtime badge injected by legacy export scripts. */
.w-webflow-badge,
.w-webflow-badge > img {
	display: none !important;
	visibility: hidden !important;
}

/* Core / block editor global img rules can collapse Webflow grid images. */
/* Header logo: flex wordmark (home) + SVG fallback (inner exports). */
.site-root .nav-wrapper {
	align-items: center;
}

.site-root .navbar-left-wrap {
	align-items: center;
}

.site-root .brand-logo.w-nav-brand {
	float: none;
	display: inline-flex;
	align-items: center;
	align-self: center;
	line-height: 1;
	padding: 0;
	margin: 0;
	text-decoration: none;
}

.site-root .techable-header-brand {
	column-gap: 10px;
}

.site-root .techable-header-brand__mark {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background-color: #bcea3e;
}

.site-root .techable-header-brand__name {
	font-family: Inter, Arial, sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	white-space: nowrap;
}

.site-root .techable-header-brand--dark .techable-header-brand__name {
	color: #fff;
}

.site-root .techable-header-brand--light .techable-header-brand__name {
	color: #111616;
}

.site-root .brand-image {
	width: auto;
	height: 22px;
	min-width: 0;
	min-height: 22px;
	max-height: 22px;
	object-fit: contain;
	object-position: left center;
	vertical-align: middle;
}

@media screen and (min-width: 1280px) {
	.site-root .brand-image {
		min-height: 22px;
	}
}

@media screen and (max-width: 767px) {
	.site-root .techable-header-brand__name {
		font-size: 17px;
	}

	.site-root .techable-header-brand__mark {
		width: 11px;
		height: 11px;
	}
}

/* Hero intro: theme GSAP reveal (no data-w-id). */
.section.hero .techable-reveal--hero {
	opacity: 0;
	transform: translate3d(0, 50px, 0);
}

.section.hero .techable-reveal--hero.is-revealed,
.section.hero .techable-hero-intro-locked.techable-reveal--hero {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.site-root img.about-img,
.site-root .hero-item-img,
.site-root .work-animated-img,
.site-root .growth-card-img,
.site-root .posts-preview-image {
	max-width: none;
	height: auto;
}

.about-intro-right-title,
.about-v1-right-title {
	visibility: visible;
	max-width: 100%;
	white-space: normal;
}

.about-v1-right-title .gsap_split_letter,
.about-v1-right-title .char {
	display: inline-block;
	will-change: color;
}

.about-flex-wrap {
	flex-wrap: nowrap;
}

@media screen and (max-width: 991px) {
	.about-flex-wrap {
		flex-wrap: wrap;
	}
}

/* Footer watermark: full-width “Techable Australia” (desktop one line, mobile two). */
.footer-logo-wrap:has(.footer-logo-wordmark) {
	width: 100%;
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.footer-logo-wordmark {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 clamp(12px, 2vw, 24px);
	box-sizing: border-box;
	font-family: Inter, Arial, sans-serif;
	font-weight: 700;
	line-height: 0.95;
	text-align: center;
	letter-spacing: -0.04em;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(1, 25, 23, 0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.footer-logo-wordmark__desktop {
	display: block;
	width: 100%;
	white-space: nowrap;
	font-size: clamp(2.25rem, 7.35vw, 13rem);
}

.footer-logo-wordmark__mobile {
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 0.05em;
	font-size: clamp(2.5rem, 14vw, 5.5rem);
}

.footer-logo-wordmark__mobile span {
	display: block;
	line-height: 0.95;
}

@media screen and (max-width: 767px) {
	.footer-logo-wordmark__desktop {
		display: none;
	}

	.footer-logo-wordmark__mobile {
		display: flex;
	}
}

/* Cart: match Webflow chrome (badge, drawer, no spurious commerce error strip). */
.site-root .w-commerce-commercecartopenlink.cart-button {
	background-color: transparent;
	border: 0;
	padding: 0;
	color: inherit;
	display: inline-block;
}

.site-root .cart-button .w-commerce-commercecartopenlinkcount.cart-quantity {
	margin-left: 0;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	line-height: 18px;
}

.w-commerce-commercecartcontainer .w-commerce-commercecartcheckoutbutton.checkout-submit-button {
	background-color: var(--primary-color);
	color: var(--dark-color);
	border-radius: 0;
}

.w-commerce-commercecartcontainer .w-commerce-commercecarterrorstate.error-message {
	display: none !important;
}

/* Block editor content on Webflow pages (Pages → edit in WP admin). */
.site-root .techable-wp-content {
	padding-top: 48px;
	padding-bottom: 48px;
}

.site-root .techable-wp-content .w-richtext {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.site-root .techable-wp-content img {
	max-width: 100%;
	height: auto;
}

/*
 * Mega-menu + footer links: disable the dual-line slide interaction inside
 * overflow-hidden panels (IX3 targets all .nav-link site-wide).
 */
.site-root .nav-link--dropdown-panel,
.site-root .nav-link--footer-panel {
	height: auto;
	overflow: visible;
}

.site-root .nav-link--dropdown-panel [link-bottom],
.site-root .nav-link--footer-panel [link-bottom] {
	display: none;
}

.site-root .nav-link--dropdown-panel [link-top],
.site-root .nav-link--footer-panel [link-top] {
	transform: none !important;
}

.site-root .nav-link--dropdown-panel:hover,
.site-root .nav-link--dropdown-panel:focus-visible {
	color: var(--primary-color);
}

.site-root .nav-link--dropdown-panel.w--current {
	color: var(--white);
}

.site-root .nav-link--dropdown-panel.w--current:hover,
.site-root .nav-link--dropdown-panel.w--current:focus-visible {
	color: var(--primary-color);
}

/* Top bar only: keep slide layers stacked for the Webflow hover timeline. */
.site-root .nav-menu-wrap > .nav-link {
	position: relative;
}

.site-root .nav-menu-wrap > .nav-link [link-top],
.site-root .nav-menu-wrap > .nav-link [link-bottom] {
	display: block;
	will-change: transform;
}

.site-root .techable-header-cart .woocommerce-mini-cart {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-root .techable-form-plugin .wpcf7-form,
.site-root .techable-form-plugin form {
	margin: 0;
}

.site-root .cta-wrapper--linked {
	display: block;
	text-decoration: none;
	color: inherit;
	width: 100%;
}
