/*
Theme Name:   Gayatri Kadence
Theme URI:    https://gayatricontrol.com/
Description:  Child theme of Kadence for Gayatri Control and Automation Pvt. Ltd. Layout is built with native Kadence blocks; this file only holds small refinements the block settings cannot express.
Author:       Aipxperts
Template:     kadence
Version:      1.0.3
Text Domain:  gayatri-kadence
*/

/* Cards (Kadence columns with .gc-card): hairline border that turns red on hover. */
.gc-card > .kt-inside-inner-col {
	border: 1px solid var(--global-palette7);
	transition: border-color 0.2s ease;
}
.gc-card:hover > .kt-inside-inner-col,
.gc-card:focus-within > .kt-inside-inner-col {
	border-color: var(--global-palette1);
}

/* Industry tiles: subtle zoom on the background photo. */
.gc-tile {
	overflow: hidden;
}
.gc-tile .kt-inside-inner-col {
	transition: background-size 0.4s ease;
}

/* Certification and client logos: calm greyscale until hover. */
.gc-logos img {
	filter: grayscale(100%);
	opacity: 0.8;
	transition: filter 0.2s ease, opacity 0.2s ease;
}
.gc-logos img:hover {
	filter: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.gc-card > .kt-inside-inner-col,
	.gc-logos img,
	.gc-tile .kt-inside-inner-col {
		transition: none;
	}
}

/* Keep header call-to-action on one line. */
.wp-block-kadence-header .kb-button {
	white-space: nowrap;
}

/* Products dropdown only: this label sits in a narrow column and was cut off. */
.wp-block-kadence-header .kb-button.kb-btnnav132_i9602 {
	white-space: normal;
	height: auto;
	text-align: center;
	line-height: 1.2;
	padding-left: 10px;
	padding-right: 10px;
}

/* Section intro paragraphs keep a readable measure. */
.gc-intro {
	max-width: 68ch;
}

/* Footer link lists: plain, evenly spaced. */
.gc-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.gc-footer-links li {
	margin-bottom: 8px;
}
.gc-footer-links a {
	text-decoration: none;
}

/* Corporate video: match image corner radius. */
.gc-video video {
	border-radius: 4px;
	display: block;
	width: 100%;
	background: var(--global-palette3);
}

/* Call-to-action band on red: white button so it stands out. */
.gc-cta .gcapl-btn {
	background: var(--global-palette9);
	border-color: var(--global-palette9);
	color: var(--global-palette3);
}
.gc-cta .gcapl-btn:hover,
.gc-cta .gcapl-btn:focus-visible {
	background: var(--global-palette3);
	border-color: var(--global-palette3);
	color: var(--global-palette9);
}
.gc-cta .gcapl-btn:focus-visible {
	outline-color: var(--global-palette9);
}

/* Footer link lists sit flush with the headings. */
.site-footer .gc-footer-links {
	padding-left: 0;
	margin-left: 0;
}

/* Certificate galleries: plain caption under each document instead of a dark box. */
.gc-certs .kadence-blocks-gallery-item .kadence-blocks-gallery-item__caption,
.gc-certs .kadence-blocks-gallery-item figcaption {
	position: static;
	background: none !important;
	color: var(--global-palette3) !important;
	padding: 12px 0 0 !important;
	font-family: var(--global-heading-font-family);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
}
.gc-certs .kb-gal-image-radius {
	border: 1px solid var(--global-palette7);
	background: var(--global-palette9);
}

/* Footer column headings: small uppercase labels. */
.site-footer .widget .wp-block-heading {
	margin: 0 0 16px;
	font-size: 15px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--global-palette3);
}
.site-footer .widget .wp-block-image {
	margin-bottom: 20px;
}
