/*
Theme Name: HomeNest Custom
Theme URI: https://example.com
Author: Your Name
Version: 1.0
Description: A blank theme for custom HTML coding with plugin support
*/
.lp-archive-courses {
	margin-bottom: 100px;
}

input[type="month"]::-webkit-calendar-picker-indicator {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	/* Ẩn icon mặc định đi nếu bạn tự dùng icon riêng */
	cursor: pointer;
}




/* ==========================================================================
Blog / Category Page Styles
========================================================================== */
/* Header & Title */
.iddi__page-header {
	text-align: center;
}

.iddi__page-header__title {
	color: #f26522;
	font-size: 48px;
	font-style: italic;
	font-weight: 500;
	margin-bottom: 32px;
}

/* Search Form */
.iddi__page-header__search-form {
	max-width: 1000px;
	margin: 0px auto 28px;
	position: relative;
	font-size: 16px;
}

.iddi__page-header__search-input {
	width: 100%;
	padding: 1em 1.6em;
	border-radius: 100px;
	background-color: #EAEFF599;
	font-size: 1em;
	color: #333;
	outline: none;
	border: 1px solid var(--foundation-blue-light-hover, #DDDFE5);
}

.iddi__page-header__search-input::placeholder {
	color: #6a7b92;
}

.iddi__page-header__search-submit {
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #1a2b4e;
}

/* Category Filter */
.iddi__page-header__filter-nav {
	margin-bottom: 60px;
}

.iddi__page-header__filter-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px 30px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.iddi__page-header__filter-link {
	text-decoration: none;
	transition: color 0.3s ease;
}

.iddi__page-header__filter-select {
	background-color: transparent;
	border: 0;
	outline: 0;
}

.iddi__page-header__filter-select,
.iddi__page-header__filter-link {
	color: #1a2b4e;
	font-size: 17px;
	font-weight: 500;
	text-transform: uppercase;
}


.iddi__page-header__filter-link:hover,
.iddi__page-header__filter-link.is-active {
	color: #f26522;
}


@media (max-width: 1366px) {
	.iddi__page-header__title {
		font-size: 42px;
	}

	.iddi__page-header__filter-select,
	.iddi__page-header__filter-link {
		font-size: 16px;
	}
}


@media (max-width: 1200px) {

	.iddi__page-header__filter-select,
	.iddi__page-header__filter-link {
		font-size: 15px;
	}

	.iddi__page-header__search-form {
		font-size: 15px;
	}

}


@media (max-width: 768px) {
	.iddi__page-header__title {
		font-size: 36px;
	}
}


@media (max-width: 576px) {
	.iddi__page-header__title {
		font-size: 28px;
		margin-bottom: 24px;
	}

	.iddi__page-header__search-form {
		font-size: 13px;
		margin: 0px auto 16px;
	}

	.iddi__page-header__filter-nav {
		margin-bottom: 40px;
	}

	.iddi__page-header__filter-list {
		gap: 7px 16px;
	}

	.iddi__page-header__filter-select,
	.iddi__page-header__filter-link {
		font-size: 13px;
	}
}








/* ==========================================================================
Blog / Pagination
========================================================================== */
.iddi__pagination {
	margin-top: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.iddi__pagination .nav-links {
	display: inline-flex;
	background-color: #fff;
	border-radius: 30px;
	padding: 5px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.iddi__nav-links {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	gap: 0.4em;
	border-radius: 0.9em;
	transition: all 0.3s ease;
	padding: 0.5em !important;
	background: #FFFFFF80;
	border: 1px solid #EAEFF5;
}

.iddi__pagination .page-numbers {
	min-width: 2.25em;
	height: 2.25em;
	display: inline-block;
	align-content: center;
	text-align: center;
	border-radius: 0.5em;
	background-color: transparent;
	color: #192954;
	transition: all .3s ease;
}

.iddi__pagination .page-numbers:not(.current):hover,
.iddi__pagination .page-numbers.current {
	background-color: #192954;
	color: #fff;
}


.iddi__pagination .prev,
.iddi__pagination .next {
	padding: 0 1em;
}

@media (max-width: 1366px) {

	.iddi__nav-links {
		font-size: 17px;
	}
}


@media (max-width: 1200px) {
	.iddi__nav-links {
		font-size: 16px;
	}
}



@media (max-width: 576px) {
	.iddi__nav-links {
		font-size: 14px;
	}
}

/* ==========================================================================
   Header Language Switcher (GTranslate Style Matching)
   ========================================================================== */
.iddi-header__lang {
	display: inline-flex !important;
	align-items: center !important;
	position: relative !important;
	z-index: 999 !important;
}

.iddi-header__lang .gt_switcher,
.iddi-header__lang .iddi-header__lang-dropdown {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	background: transparent !important;
	border: none !important;
	font-family: inherit !important;
	box-shadow: none !important;
}

.iddi-header__lang .gt_selected {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}

.iddi-header__lang .gt_selected a,
.iddi-header__lang .iddi-header__lang-toggle {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 6px 8px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #192954 !important;
	text-decoration: none !important;
	line-height: 1 !important;
	border: none !important;
	background: transparent !important;
	cursor: pointer !important;
	border-radius: 6px !important;
	transition: all 0.2s ease !important;
}

.iddi-header__lang .gt_selected a:hover,
.iddi-header__lang .iddi-header__lang-toggle:hover {
	color: #E45E25 !important;
	background: rgba(228, 94, 37, 0.06) !important;
}

.iddi-header__lang .gt_selected a img,
.iddi-header__lang .iddi-header__lang-toggle img,
.iddi-header__lang-flag img {
	width: 18px !important;
	height: auto !important;
	max-height: 13px !important;
	border-radius: 2px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
	vertical-align: middle !important;
}

.iddi-header__lang-code,
.iddi-header__lang .gt_current_name {
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
}

.iddi-header__lang .gt_arrow,
.iddi-header__lang-arrow {
	display: inline-flex !important;
	align-items: center !important;
	margin-left: 2px !important;
	transition: transform 0.25s ease !important;
	color: currentColor !important;
}

.iddi-header__lang .gt_switcher:hover .gt_arrow,
.iddi-header__lang .gt_switcher.is-hovered .gt_arrow,
.iddi-header__lang .gt_switcher.is-open .gt_arrow,
.iddi-header__lang-dropdown:hover .iddi-header__lang-arrow,
.iddi-header__lang-dropdown.is-hovered .iddi-header__lang-arrow,
.iddi-header__lang-dropdown.is-open .iddi-header__lang-arrow {
	transform: rotate(180deg) !important;
}

/* Dropdown Card */
.iddi-header__lang .gt_options,
.iddi-header__lang .iddi-header__lang-menu {
	position: absolute !important;
	top: calc(100% + 4px) !important;
	right: 0 !important;
	left: auto !important;
	min-width: 145px !important;
	background: #FFFFFF !important;
	border: 1px solid #EAEFF5 !important;
	border-radius: 8px !important;
	box-shadow: 0 10px 25px rgba(25, 41, 84, 0.12) !important;
	padding: 6px !important;
	margin: 0 !important;
	list-style: none !important;
	z-index: 999999 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transform: translateY(-4px) !important;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

/* Hover Bridge: Tạo cầu nối vô hình để chuột di chuyển xéo không bị rơi menu */
.iddi-header__lang .gt_options::before,
.iddi-header__lang .iddi-header__lang-menu::before {
	content: "" !important;
	position: absolute !important;
	top: -20px !important;
	right: 0 !important;
	left: 0 !important;
	height: 25px !important;
	background: transparent !important;
	display: block !important;
	z-index: 10 !important;
}

.iddi-header__lang .gt_switcher:hover .gt_options,
.iddi-header__lang .gt_switcher.is-hovered .gt_options,
.iddi-header__lang .gt_switcher.is-open .gt_options,
.iddi-header__lang-dropdown:hover .gt_options,
.iddi-header__lang-dropdown.is-hovered .gt_options,
.iddi-header__lang-dropdown.is-open .gt_options,
.iddi-header__lang-dropdown:hover .iddi-header__lang-menu,
.iddi-header__lang-dropdown.is-hovered .iddi-header__lang-menu,
.iddi-header__lang-dropdown.is-open .iddi-header__lang-menu {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: translateY(0) !important;
	display: block !important;
}

.iddi-header__lang .gt_options a,
.iddi-header__lang .iddi-header__lang-menu a,
.iddi-header__lang-link {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	padding: 8px 12px !important;
	border-radius: 5px !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	color: #192954 !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease !important;
	white-space: nowrap !important;
	line-height: 1.4 !important;
}

.iddi-header__lang .gt_options a img,
.iddi-header__lang .iddi-header__lang-menu a img,
.iddi-header__lang-link img {
	width: 18px !important;
	height: auto !important;
	max-height: 13px !important;
	border-radius: 2px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15) !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
}

.iddi-header__lang .gt_options a:hover,
.iddi-header__lang .iddi-header__lang-menu a:hover,
.iddi-header__lang-link:hover {
	background-color: #F8FAFC !important;
	color: #E45E25 !important;
}

.iddi-header__lang .gt_options a.is-active,
.iddi-header__lang .iddi-header__lang-menu a.is-active,
.iddi-header__lang-link.is-active {
	color: #E45E25 !important;
	background: rgba(228, 94, 37, 0.08) !important;
	font-weight: 600 !important;
}