/*
 Theme Name:   Studio Legale
 Theme URI:    https://studiolegalebudapest.hu
 Description:  Studio Legale Template
 Author:       Intelliweb Kft.
 Author URI:   https://intelliweb.hu
 Text Domain:  studiolegale
 Template:     generatepress
 Version:      0.1
*/

.elementor-heading-title.elementor-size-default {
	line-height: 40px;
}

.legal-tile.elementor-element {
	--widgets-spacing: 0;
	--widgets-spacing-row: 0;
	--widgets-spacing-column: 0;
}

.legal-tile .elementor-element:nth-child(3) {
	background: var( --e-global-color-secondary );
	padding: 30px 20px !important;
}

.legal-tile .elementor-heading-title {
	background: var( --e-global-color-secondary );
	padding: 30px 0 0 0 !important;
}

.legal-tile .elementor-heading-title a {
	line-height: 30px !important;
}

.legal-tile .elementor-widget-icon-list {
	height: 100%;
}

.legal-tile .elementor-icon-list-item {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.legal-tile .elementor-icon-list-item .elementor-icon-list-icon {
	margin-top: 1px;
}

.swiper-pagination {
	z-index: 9 !important;
}

.swiper-pagination-bullet {
	background-color: #FFFFFF !important;
	opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
	background-color: #FFFFFF !important;
	opacity: 1 !important;
}

.e-search-submit {
	padding: 15px !important;
}

.e-search-input {
	width: 100%;
}

.category-grid {
	display: grid;
	gap: 10px;
}

.category-card {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 6px 8px;
	border: 1px solid #eee;
	border-radius: 6px;
	transition: background 0.2s;
}

.category-card:hover {
	background: #fafafa;
}

.category-card:hover .cat-name {
	color: var( --e-global-color-primary );
}

.category-card img {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 4px;
	margin-right: 10px;
}

.cat-name {
	font-weight: 600;
	color: var( --e-global-color-text );
	margin-right: 5px;
}

.cat-count {
	color: #888;
	font-size: 0.9em;
}

.elementor-widget-theme-post-featured-image, .elementor-widget-theme-post-title {
	margin-bottom: 20px !important;
}

.elementor-widget-theme-post-featured-image a {
	width: 100%;
}

.e-loop-item.type-post .e-con-inner {
	gap: 0;
}

.page-numbers {
	color: var( --e-global-color-primary );
}

.page-numbers.prev, .page-numbers.current {
	color: var( --e-global-color-text );
}

#sidebar-posts .elementor-loop-container {
	gap: 10px;
}

#sidebar-posts .elementor-loop-container .elementor-element.e-con-boxed.e-parent,
#sidebar-posts .elementor-loop-container .elementor-element.e-con-boxed.e-parent .e-con-inner {
	padding: 0;
}

#sidebar-posts .elementor-loop-container .elementor-element.e-con-boxed.e-parent .e-con-inner .e-child:nth-child(1) {
	padding-left: 0;
	padding-right: 0;
}

#sidebar-posts .elementor-loop-container .elementor-element.e-con-boxed.e-parent .e-con-inner .e-child:nth-child(1) .elementor-widget-theme-post-featured-image {
	margin-bottom: 0 !important;
}

#sidebar-posts .elementor-loop-container .elementor-element.e-con-boxed.e-parent .e-con-inner .e-child:nth-child(2) {
	gap: 10px;
}

@media (max-width: 575.98px) {
	.legal-tile {
		flex-direction: row !important;
	}
	
	.legal-tile .elementor-element.elementor-widget-heading, .legal-tile .elementor-widget-icon-list {
		width: 100%;
	}
	
	.legal-tile .elementor-widget-icon-list {
		height: auto !important;
	}
}

