/* Animated Headline */
.alt-animated-headline-wrapper .alt-headline-animated {
	display: inline-block;
	font-weight: bold;
	color: #ff5722;
	position: relative;
    border-bottom: 2px solid transparent;
}

/* Post Grid */
.alt-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}
.alt-post-item {
	border: 1px solid #eaeaea;
	border-radius: 4px;
	padding: 15px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	transition: box-shadow 0.3s ease;
}
.alt-post-item:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.alt-post-thumbnail img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
	margin-bottom: 15px;
}
.alt-post-title {
	font-size: 1.2rem;
	margin: 0 0 10px;
}
.alt-post-title a {
	text-decoration: none;
	color: #333;
}
.alt-post-excerpt {
	color: #666;
	font-size: 0.9rem;
}

/* Portfolio */
.alt-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}
.alt-portfolio-item {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
}
.alt-portfolio-item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}
.alt-portfolio-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.4s ease;
}
.alt-portfolio-item:hover img { transform: scale(1.1); }
.alt-portfolio-item:hover .alt-portfolio-overlay { opacity: 1; }
.alt-portfolio-title a { color: #fff; text-decoration: none; }

/* Slides */
.alt-slider {
    position: relative;
    overflow: hidden;
}
.alt-slide {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
}
.alt-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: -1;
}
.alt-slide-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.4);
}
.alt-slide-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 20px;
}
.alt-slide-title { font-size: 3rem; margin-bottom: 20px; }

/* Form */
.alt-form .elementor-field-group { margin-bottom: 15px; }
.alt-form .elementor-field { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 3px; }
.alt-form button { background: #0073aa; color: #fff; border: none; padding: 12px 25px; cursor: pointer; border-radius: 3px; }
