/*!
Theme Name: loi-loi
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: loi-loi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

loi-loi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
 .iframe-share {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
 }

 .iframe-share iframe {
  border: none;
 }
.gallery {
    display: flex;
    flex-direction: row;
}
.container.post-container {
    margin-top: -399px;
    background: white;
    padding: 39px;
    border-radius: 10px;
}
.post-title span {
	color:white;
}
.section-title {
	font-size: 3vw;
}
.case-study figure {
    width: 100% !important;
}

.video-bg {
	position: relative;
	overflow: hidden;
}

/* Apply a blur effect and dark overlay */
.video-bg::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	/* Black overlay with opacity */
	z-index: 1;
}

.video-bg img {
	width: 100%;
	height: auto;
	filter: blur(8px);
	/* Apply blur effect to the image */
	transform: scale(1.1);
	/* Slight zoom for better aesthetics */
	z-index: 0;
	position: relative;
}

.image-container p {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* 3 cột */
	gap: 10px;
}

.image-container a {
	display: block;
	position: relative;
	width: 100%;
	padding-top: 75%;
	/* Đặt tỷ lệ 4:3 */
	overflow: hidden;
	border-radius: 8px;
}

.image-container img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Cắt ảnh để vừa khung mà không méo */
	border-radius: 8px;
}

.slide-hight {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 500px;
	/* hoặc chiều cao bạn mong muốn */
}

.slide-hight img {
	object-fit: cover;
	/* Đảm bảo ảnh vừa khít trong khối chứa */
	width: 100%;
	/* Làm cho ảnh chiếm hết chiều rộng */
	height: 100%;
	/* Làm cho ảnh chiếm hết chiều cao */
}

.post-title h1 {
	font-size: 45px !important;
}

.post-container div div a img {
	margin: 15px auto;
	height: auto;
	width: 300px;
}


@media screen and (max-width:640px) {
	.carousel-hero .carousel-slider .swiper-slide .inner h2 {
		font-size: 11vw;
	}
	.container.post-container {
		margin-top: -199px;

	}
	.post-title h1 {
		font-size: 20px !important;
		letter-spacing: 0px !important;
	}
	.section-title {
		font-size: 9vw;
	}

	.slide-hight {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 200px;
		/* hoặc chiều cao bạn mong muốn */
	}

	.slide-hight img {
		object-fit: cover;
		/* Đảm bảo ảnh vừa khít trong khối chứa */
		width: 100%;
		/* Làm cho ảnh chiếm hết chiều rộng */
		height: 100%;
		/* Làm cho ảnh chiếm hết chiều cao */
	}

}

.video-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	/* Tỷ lệ 16:9 (9 / 16 = 0.5625) */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}