/*
Theme Name: Mitech Child
Theme URI: http://mitech.thememove.com/
Author: ThemeMove
Author URI: http://thememove.com/
Version: 1.0.0
Template: mitech
Text Domain: mitech-child
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

/* ===== Vietnamese Font Support ===== */
body,
body input,
body textarea,
body select,
body button,
h1, h2, h3, h4, h5, h6,
.site-title,
.page-title,
.entry-title,
.widget-title {
	font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Slider With Popup ===== */
.tm-slider-popup {
	position: relative;
}

.tm-slider-popup .slider-popup-item {
	text-align: center;
}

.tm-slider-popup .slider-popup-image-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	padding: 40px;
	margin: 40px;
}

.tm-slider-popup .slider-popup-image-wrap:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	transform: translateY(-2px);
}

.tm-slider-popup .slider-popup-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	height: 400px; /* fallback, overridden by element config */
}

.tm-slider-popup .slider-popup-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* Title - inside image wrap box */
.tm-slider-popup .slider-popup-title {
	padding: 10px 12px;
}

.tm-slider-popup .slider-popup-title h3 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #333;
	margin: 0;
	transition: color 0.3s ease;
}

.tm-slider-popup .slider-popup-item:hover .slider-popup-title h3 {
	color: #d2232a;
}

.tm-slider-popup .slider-popup-desc {
	font-size: 12px;
	line-height: 1.4;
	color: #888;
	margin: 3px 0 0 0;
}

/* Swiper Navigation Arrows */
.tm-slider-popup .swiper-nav-button {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.tm-slider-popup .swiper-nav-button:hover {
	background: #d2232a;
	color: #fff;
	box-shadow: 0 4px 16px rgba(210, 35, 42, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
	.tm-slider-popup .slider-popup-title h3 {
		font-size: 14px;
	}
}
