/* Kooka Creative: @media overrides only. Enqueued last (priority 999) so these win ties with custom.css. */

@media only screen and (max-width: 999px) {
	.kc-align-right, .kc-cta__actions { text-align: left; }
	.kc-section-head { margin-bottom: 36px; }
	/* Stacked cards/tiles: the row-gap (custom.css) is the gap; drop Salient's mobile column margin. */
	.wpb_column.kc-card, .wpb_column.kc-tile { margin-bottom: 0 !important; }
	.wpb_column.kc-tile--feature h3 { font-size: 28px !important; line-height: 34px !important; }
	.wpb_column.kc-index-panel { margin-top: 40px; }
	/* Home hero stacked: screenshots clear the buttons (desktop pulls them up 40px); less dead space below. */
	.kc-hero__media .nectar_cascading_images { margin-top: 30px; }
	#kc-hero:has(.kc-hero__media) { padding-bottom: 60px !important; }
	.kc-service__media { margin-bottom: 40px !important; }
	/* Work filters: Salient nests a .container (max-width: var(--mobile-container-width)) inside a row
	   that is already that wide, so the filters sat ~20px in from the grid's edge. */
	.portfolio-filters-inline.non-fw .container { max-width: none; }
	/* portfolio.css pads each filter 0 10px (first one 0 left), so every wrapped line started 10px in.
	   Gap on the right only; its 7px margin becomes padding (36px tap height, same line spacing). */
	#ajax-content-wrap .portfolio-filters-inline[data-alignment="left"] .container > ul > li > a { padding: 7px 20px 7px 0; margin: 0; }
	/* Project header: screenshot lift matches the smaller header bottom padding (170px tablet). */
	.wpb_column.kc-shot--lift { margin-top: -120px; }
}

@media only screen and (max-width: 690px) {
	.kc-lead { font-size: 18px; line-height: 28px; }
	.wpb_column.kc-card > .vc_column-inner { padding: 26px 22px 22px !important; }
	.wpb_column.kc-contact-card > .vc_column-inner,
	.wpb_column.kc-facts-card > .vc_column-inner { padding: 26px !important; }
	.kc-prose h2 { font-size: 24px !important; line-height: 30px !important; }
	.wpb_column.kc-tile > .vc_column-inner { padding: 28px 24px 26px !important; }
	.kc-tile__big { font-size: 88px; letter-spacing: -2px; }
	.kc-num { font-size: 60px; }
	/* Project header on phones: 130px header bottom padding plus Salient's stacked-column margin, slimmer browser bar. */
	.wpb_column.kc-shot--lift { margin-top: -125px; }
	.wpb_column.kc-shot--lift .hover-wrap { padding-top: 22px; border-radius: 10px !important; }
	.wpb_column.kc-shot--lift .hover-wrap::before { top: 7px; left: 10px; transform: scale(0.8); transform-origin: 0 0; }
}
