@font-face {
    font-family: 'Undergrow Regular';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Undergrow Regular'),
         url('../fonts/Undergrow.woff2') format('woff2'),
         url('../fonts/Undergrow.woff') format('woff');
}

body,
p {
	font-family: 'Mulish', sans-serif !important;
}

h1,
h2,
h3,
h4,
span.fs_highlight {
    font-family: 'Undergrow Regular', Arial, sans-serif !important;
    font-weight: 400;
}

.ehf-header #masthead {
	overflow-x: clip;
}
.hfe-nav-menu__layout-horizontal .hfe-nav-menu {
	flex-wrap: nowrap;
}

@keyframes iconColorSwitch {
    0% {
        filter: invert(0);
    }
    20% {
        filter: invert(1);
    }
    80% {
        filter: invert(1);
    }
    100% {
        filter: invert(0);
    }
}

.social-icons svg {
    filter: invert(0);
    animation: iconColorSwitch linear both;
    animation-duration: 1s;
    animation-timeline: scroll();
}

.elementor-widget-text-editor a:not(.elementor-button),
.post-content-wrap.single-content a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: all 0.25s linear;
}
.elementor-widget-text-editor a:not(.elementor-button):hover,
.post-content-wrap.single-content a:hover {
	text-decoration-thickness: 3px;
}

.elementor-widget-text-editor ul {
	padding: 0 0 20px 28px;
}

span.fs_highlight {
    font-size: 32px;
    color: var( --e-global-color-primary );
    font-weight: 400;
    margin-right: 5px;
}

.elementor-image-box-wrapper {
	margin-bottom: 16px;
}
.elementor-image-box-wrapper a {
	font-size: 16px;
	font-weight: 700;
}
.elementor-widget-image-box .elementor-image-box-img img {
	width: 100%;
}
.procedures-grid .elementor-widget-wrap.elementor-element-populated {
	align-items: flex-start!important;
}

/*When disable hello elementor styling*/
body:not([class*=elementor-page-]) .site-main {
    width: 100%;
    margin-inline: auto;
    padding-block: 40px;
    padding-inline: 20px;
    box-sizing: border-box;
}
@media (min-width: 576px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 500px;
        padding-block: 70px;
    }
}
@media (min-width: 768px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 600px;
    }
}
@media (min-width: 992px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 1540px;
    }
}

/*Floating button*/
.floating-booking-btn {
	display: block;
	position: fixed;
	bottom: 28px;
	right: 21px;
	z-index: 100;
}
.floating-booking-btn button {
	margin: 0;
	border-radius: 50px;
	color: white;
	background-color: #000;
	font-weight: 400;
	line-height: 1.4;
    padding: 0.7rem 2rem;
    border: 2px solid white;
}
.floating-booking-btn button:hover {
    background-color: #000;
}
.floating-booking-btn a {
    color: white;
    opacity: 1;
}

/* Posts */
.latest-posts {
	display: grid;
	gap: 24px;
}
.post-item {
	position: relative;
}
.post-thumb {
	transition: all 0.25s ease-in-out;
	position: relative;
	overflow: hidden;
}
.blog .post-thumb:hover {
	transform: scale(0.96);
}
.post-thumb img {
	display: flex;
    width: 100%;
    max-height: 490px;
	aspect-ratio: 235 / 163;
	object-fit: cover;
	transition: all 0.25s ease-in-out;
}
.blog .post-thumb:hover img {
	transform: scale(1.08);
}
.content-wrap {
	padding: 32px;
}
.content-wrap .post-title a {
	color: #000;
    font-size: 42px;
    line-height: 1.2;
}
.content-wrap .post-title a,
.widget_block li a {
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s ease;
}

.content-wrap .post-title a:hover,
.widget_block li a:hover {
  background-size: 100% 2px;
}
.post-content {
    color: #484f56;
    font-size: 18px;
    margin-block: 24px;
    line-height: 1.8;
}
.post-category {
	display: inline-block;
    background-color: #6d757e;
    padding: 6px 10px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    text-wrap: nowrap;
    text-decoration: none;
}

.post-category:hover {
    color: #fff;
}
.read-more,
.post-date,
.read-time {
	color: #353b41;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 12px!important;
}
.read-time::before {
	content: "\2022";
    display: inline-block;
    font-size: .3125rem;
    vertical-align: middle;
    top: -1px;
    position: relative;
    margin-right: .75rem;
    left: -2px;
}
.read-more {
	margin-right: 10px;
}

/*Single post*/
body.single-post {
	overflow-x: clip;
}
.big-text {
    font-size: 14vw;
    font-weight: 600;
    line-height: 1;
    position: absolute;
    color: HSL(var(--neutral-10));
    top: 120px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    
    opacity: .04;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: currentColor;
    -webkit-text-stroke-width: 2px;
}
.page-title {
    text-transform: capitalize;
}
.breadcrumb {
    text-transform: uppercase;
    font-size: 12px;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
}
.breadcrumb > span {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.post-category.single {
	font-size: 12px;
	font-weight: 700;
    margin-bottom: 20px;
}
.single-top-content .post-title {
	font-family: 'Mulish', sans-serif !important;
    font-size: 38px;
    font-weight: 700;
}
.single-top-content .post-thumb img {
    max-height: 100%;
    margin-top: 16px;
}
.post-content-wrap.single-content {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 32px;
}
.single-top-content .post-meta span {
	font-size: 12px;
	text-transform: uppercase;
}
.single-top-content .author,
.single-top-content .post-date {
	margin-right: 12px;
}
.post-content-wrap.single-content h2,
.post-content-wrap.single-content h3 {
	font-family: 'Mulish', sans-serif !important;
	font-weight: 700;
    margin-top: 32px;
}
.post-content-wrap.single-content h2 {
    font-size: 32px;
}
.post-content-wrap.single-content h3 {
    font-size: 24px;
}
.post-content-wrap.single-content li,
.post-content-wrap.single-content p,
.post-content-wrap.single-content a {
    font-size: 18px;
}
.post-content-wrap.single-content ul {
    margin-bottom: 24px;
}

table {
    margin-bottom: 35px;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    line-height: 1.4;
}
table td {
    padding: 15px 12px;
    border-bottom: 1px solid #0000001b;
}

/* Sidebar */
.single-content-wrap {
	display: grid;
	gap: 40px;
	margin-top: 48px;
}
.custom-sidebar {
	width: 100%;
	margin-top: 0px;
}
.custom-html-box {
	background-color: var( --e-global-color-primary );
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 24px;
	color: #fff;
}
.custom-html-box a {
	background-color: #fff;
	border: 1px solid #fff;
	padding: 10px 24px;
	border-radius: 100px;
	color: var( --e-global-color-primary );
	transition: all 0.25s linear;
}
.custom-html-box a:hover {
	background-color: transparent;
	color: #fff;
	text-decoration: none;
}

.widget_block {
	margin-bottom: 40px;
}
.widget_block .wp-block-heading {
	font-size: 32px;
}
.widget_block ul {
	display: grid;
	gap: 4px;
	padding: 0;
	list-style: none;
}
.widget_block ul li a {
	font-size: 16px;
	color: #000;
}

/* Pagination */
.pagination-wrap ul {
    font-family: "Roboto", Sans-serif;
	display: flex;
	justify-content: center;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin-top: 60px;
}
.pagination-wrap ul li a,
.pagination-wrap ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 30px;
	border: 1px solid var(--e-global-color-primary);
	color: var(--e-global-color-primary);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}
.pagination-wrap ul li a:hover,
.pagination-wrap ul li span.current,
.pagination-wrap .next:hover,
.pagination-wrap .prev:hover {
	background: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	color: #fff;
}
.pagination-wrap .next,
.pagination-wrap .prev {
    width: auto;
	background-color: #fff;
	border-color: var(--e-global-color-primary);
	padding-inline: 10px;
}

/* Single page */
.single-hero-section {
    font-family: "Roboto", Sans-serif;
	background-color: var(--e-global-color-primary);
	padding-inline: 20px;
	padding-block: 40px;
	color: #fff;
	text-align: center;
}

article .post-content h2,
article .post-content h3,
article .post-content h4 {
	margin-top: 40px;
}
.pagination a {
	color: var( --e-global-color-primary );
}

.tags-wrapper {
    margin-top: 40px;
}
.tags-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 16px;
    padding: 0;
    list-style: none;
}
.tags-wrapper li a {
    border: 2px solid #0000001b;
    color: #000;
    padding: 4px 10px;
    text-decoration: none;
    text-transform: capitalize;
    font-weight: 700;
    transition: all 0.25s linear;
}
.tags-wrapper li a:hover {
    border: 2px solid #000;
}

.next-prev-wrapper {
    display: grid;
    gap: 24px;
    margin-top: 60px;
}
.next-prev-wrapper .prev-item a,
.next-prev-wrapper .next-item a {
    padding-block: 24px;
    border-top: 2px solid #0000001b;
    border-bottom: 2px solid #0000001b;
}
.next-prev-wrapper .next-item a {
    justify-content: end;
}

.next-prev-wrapper a {
    display: flex;
    gap: 16px;
    align-items: center;
    color: #000;
    text-decoration: none;
}
.next-prev-wrapper a span {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    font-size: 32px;
    border: 1px solid #000;
    display: grid;
    place-content: center;
}

/*Table of content*/
.post-toc {
    border: 1px solid #ddd;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 20px;
    border-radius: 6px;
    background: #F8F8F8;
}
.post-toc-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 20px;
}
.post-toc-list {
    margin: 0;
    padding-left: 18px;
}
.post-content ul li.post-toc-item {
    margin: 0;
    margin-left: 3px;
    font-size: 14px;
}
.post-toc-link {
    font-size: 16px!important;
    text-decoration: none;
}
.post-toc-link:hover {
    text-decoration: underline;
}

@media screen and ( min-width: 640px ) {
	.latest-posts {
		grid-template-columns: repeat(2, 1fr);
		gap: 56px;
	}
	.blog-archive-wrap .latest-posts {
		grid-template-columns: repeat(2, 1fr);
	}
	.author-box-inner {
        display: flex;
    }
	.next-prev-wrapper {
        grid-template-columns: repeat(2,1fr);
        gap: 80px;
    }
    .single-content-wrap {
		display: flex;
	}
	.custom-sidebar {
		width: 434px;
		flex-shrink: 0;
	}
}

@media screen and ( min-width: 1025px ) {
	.hfe-nav-menu .menu-item-has-children .sub-menu {
		padding-block: 8px;
	}
	.hfe-nav-menu .menu-item-has-children.auto-scroll .sub-menu {
		max-height: 460px;
		overflow-y: auto;
	}

}
@media screen and (max-width: 1024px) {
    .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		flex-wrap: wrap;
		padding-block: 8px;
	}
}
