/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Template: hello-elementor
Author: Monica Ursu
Author URI: https://monicaursu.com/
Description: A child theme for Hello Elementor that stores customizations separately from the parent.
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add custom styles below. */

.elementor-148 .elementor-element.elementor-element-3420493f:not(.elementor-motion-effects-element-type-background),
.elementor-148 .elementor-element.elementor-element-3420493f > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	height: 100vh;
}

.elementor a {
	text-decoration: none !important;
}

.icon.icon-menu1,
.icon.icon-menu1::before {
	font-family: 'elementskit' !important;
	font-style: normal;
	font-weight: 400;
	display: inline-block;
}

.icon.icon-menu1 {
	cursor: default;
	user-select: none;
}

.elementor-location-header .elementor-section.elementor-top-section {
	min-height: 60.5px;
	background-size: cover;
	background-position: center;
}

.elementor-location-header .elementor-section.elementor-top-section:not([data-settings*="background_background"]) {
	background-image: url("/wp-content/uploads/2025/07/monicaursu.com-12.jpg");
}

.elementor[data-elementor-type="wp-page"] > .elementor-section.elementor-top-section:first-of-type:not([data-settings*="background_background"]) {
	padding-top: 80px;
}

.articles-archive.elementor {
	padding: 4rem 1.5rem;
	background-color: #f6f7f9;
}

.articles-archive__section .elementor-container {
	max-width: 1100px;
	margin: 0 auto;
}

.articles-archive__widget .elementor-widget-container {
	padding: 0;
}

.articles-archive__list.elementor-grid {
	display: grid;
	gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
	.articles-archive__list.elementor-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.articles-archive__list.elementor-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.articles-archive__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	padding: 1.75rem;
	border-radius: 16px;
	box-shadow: 0 8px 20px rgba(18, 24, 36, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.articles-archive__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(18, 24, 36, 0.12);
}

.articles-archive__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.35;
}

.articles-archive__title a {
	color: #121824;
}

.articles-archive__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	font-size: 0.875rem;
	color: #5f6b7a;
}

.articles-archive__categories {
	font-weight: 600;
	color: #1c6bd8;
}

.articles-archive__excerpt {
	flex: 1;
	color: #3a4252;
	line-height: 1.6;
}

.articles-archive__footer {
	margin-top: 1.5rem;
}

.articles-archive__read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	color: #1c6bd8;
}

.articles-archive__pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.articles-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 0 0.25rem;
	border-radius: 50%;
	background: #fff;
	color: #1c6bd8;
	box-shadow: 0 4px 12px rgba(18, 24, 36, 0.1);
	transition: background 0.2s ease, color 0.2s ease;
}

.articles-archive__pagination .page-numbers.current,
.articles-archive__pagination .page-numbers:hover {
	background: #1c6bd8;
	color: #fff;
}

.articles-archive__empty {
	text-align: center;
	padding: 2rem 0;
	font-size: 1.1rem;
	color: #3a4252;
}

.page-id-153 .articles-header-wrapper,
.single-post .articles-header-wrapper {
	display: flex !important;
}

.hello-toast {
	position: fixed;
	top: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	border-radius: 999px;
	background: rgba(18, 24, 36, 0.9);
	color: #fff;
	box-shadow: 0 12px 30px rgba(18, 24, 36, 0.18);
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.hello-toast--visible {
	opacity: 1;
	transform: translate(-50%, 0);
}
