/**
Theme Name: FlowMattic WordPress Theme
Author: InfiWebs
Author URI: https://www.infiwebs.com/about-us
Description: Child theme for the #1 WordPress automation plugin.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flowmattic
Template: astra
*/

/* Style Log In link as outline button for non-logged-in users */
.ast-below-header-wrap a.ast-header-account-link {
	display: inline-flex !important;
	align-items: center;
	padding: 6.8px 20px !important;
	border: 2px solid #0d6efd !important;
	border-radius: 3px !important;
	color: #0d6efd !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	background: transparent !important;
}
.ast-header-account-text {
	line-height: 22.4px;
}
.ast-below-header-wrap a.ast-header-account-link:hover {
	background: #0d6efd !important;
	color: white !important;
	border-color: #0d6efd !important;
}
button.ast-menu-toggle {
    line-height: 30px;
    padding: 15px 0 !important;
}
#ast-hf-mobile-menu .sub-menu a.menu-link {
    display: flex;
    align-items: center;
}
.ast-row {
	width: 100%;
	margin: 0px;
}

.flowmattic-integrations-wrapper {
	width: 100%;
}

.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row {
	margin: 0;
}

.flowmattic-integrations .flowmattic-integration {
	transition: all 0.3s ease-in-out;
	box-sizing: border-box;
	border-radius: 6px;
}

.flowmattic-integrations .flowmattic-integration:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-4px);
}

.flowmattic-integrations .flowmattic-integration .integration-title {
	width: 100%;
}

button {
	padding-top: 8px;
	padding-bottom: 8px;
}

.integration-card img {
	background: linear-gradient(180deg, #0D6EFD05 0%, #0D6EFD17 100%);
}

.expert-edit-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 30px;
	background: #f9f9f9;
	border-radius: 10px;
}

.acf-form label {
	font-weight: bold;
}

.acf-input input,
.acf-input textarea,
.acf-input select {
	width: 100%;
	padding: 10px;
	margin-top: 5px;
}

@media screen and (max-width: 1024px) {

	/* Hide sidebar by default on mobile */
	aside {
		display: none;
	}

	aside.active {
		display: block;
	}

	.flowmattic-integrations-wrapper {
		flex-direction: column;
	}

	/* Wrapper for mobile header controls around category toggle */
	#toggle-category-menu {
		justify-content: center;
		/* centers icon and text inside */
		text-align: left;
		display: flex;
		/* ensure flex layout */
		align-items: center;
		gap: 0.5rem;
	}

	.archive .flowmattic-container .ast-row {
		margin-top: 20px !important;
	}

}

@media screen and (max-width: 768px) {
	.archive .flowmattic-container .ast-row {
		margin-left: 0px !important;
		margin-top: 20px !important;
	}

	#toggle-category-menu {
		justify-content: center;
		/* centers icon and text inside */
		text-align: left;
		display: flex;
		/* ensure flex layout */
		align-items: center;
		gap: 0.5rem;
		font-size: 16px;
	}
}

.toggle-category a {
	font-weight: 600;
	color: #1f2937;
}
.toggle-category[data-state="open"] {
	background-color: #f3f4f6;
	border-radius: 6px;
}

.flowmattic-integrations-search {
	position: relative;
	margin-bottom: 20px;
}
.integration-search-icon {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.cky-consent-container.cky-banner-bottom {
    max-width: 300px;
}

.cky-notice-group {
    flex-direction: column;
}