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

/*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: 1140px;
    }
}

.archive,
.category,
.single {
    font-family: "Roboto", Sans-serif;
}

/* Posts */
.latest-posts {
    font-family: "Roboto", Sans-serif;
	display: grid;
	gap: 24px;
}
.post-item {
	position: relative;
	text-align: center;
	border: 3px solid #e5e5e5;
	box-shadow: 0 10px 10px 1px rgba(0, 0, 0, .07);
}
.post-thumb {
	display: flex;
	position: relative;
}
.post-thumb img {
    width: 100%;
    max-height: 280px;
	aspect-ratio: 1.24 / 1;
	object-fit: cover;
}
.content-wrap {
	padding: 20px;
}
.content-wrap .post-title a {
	color: #0f0e0e;
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    text-decoration: none;
}
.post-content {
    color: #424242;
    font-size: 14px;
}
.post-category {
    background-color: #7D7461;
    font-size: 12px;
    padding: 8px 15px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    text-wrap: nowrap;
    text-decoration: none;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,50%);
}
.read-more {
	color: #7D7461;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

/*Single post*/
.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 {
    position: static;
}
.single-top-content,
.post-content-wrap.single-content {
    font-family: "Roboto", Sans-serif;
}
.single-top-content .post-thumb img {
    max-height: 100%;
}
.post-content-wrap.single-content {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 32px;
    color: #777;
}
.post-content-wrap.single-content a {
    color: #db8d70;
}

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;
}

/* 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;
}

/* CF7 */
.submit-wrap {
	text-align: right;
}
.wpcf7 [type=submit], .button {
	background-color: var(--e-global-color-primary);
	color: #fff;
	border: none;
	max-width: fit-content;
	padding: 14px 40px;
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s linear;
}
.wpcf7 [type=submit]:hover, .button:hover {
	background-color: #000;
}

.wpcf7-list-item {
	margin-left: 0;
	margin-top: 12px;
}
.wpcf7-list-item-label {
	font-size: 14px;
    padding-left: 4px;
}
.wpcf7-list-item-label a {
	font-size: 14px;
	color: var(--e-global-color-72b556b);
}
.wpcf7-not-valid-tip {
	font-size: 14px;
	font-style: italic;
	margin-top: 10px;
	margin-bottom: 0!important;
}
.inline-label span,
.inline-label span a {
	font-size: 14px;
	display: inline;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select,
textarea {
    width: 100%;
	background-color: transparent;
	border: none;
	outline: none;
    color: #000;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    border-radius: 0;
	padding: 6px;
	margin-top: 6px;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="text"]:focus-visible,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="email"]:focus-visible,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="tel"]:focus-visible,
textarea:focus,
textarea:focus-visible {
    border-bottom: 2px solid rgba(0,0,0,0.20);
}
.wpcf7 label {
    font-family: "Roboto", Sans-serif;
}
.wpcf7-list-item label {
    display: flex;
    align-items: center;
}

/* Get in touch */
.get-in-touch {
	position: relative;
}
.get-in-touch-form .wpcf7 input[type="text"],
.get-in-touch-form .wpcf7 input[type="email"],
.get-in-touch-form .wpcf7 input[type="tel"],
.get-in-touch-form textarea {
    border-bottom: 2px solid #fff;
	color: #fff;
}
.get-in-touch-form .wpcf7 input[type="text"]:focus,
.get-in-touch-form .wpcf7 input[type="text"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="text"]:active,
.get-in-touch-form .wpcf7 input[type="email"]:focus,
.get-in-touch-form .wpcf7 input[type="email"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="email"]:active,
.get-in-touch-form .wpcf7 input[type="tel"]:focus,
.get-in-touch-form .wpcf7 input[type="tel"]:focus-visible,
.get-in-touch-form .wpcf7 input[type="tel"]:active,
.get-in-touch-form .wpcf7 textarea:focus,
.get-in-touch-form .wpcf7 textarea:focus-visible,
.get-in-touch-form .wpcf7 textarea:active {
	border: none;
	border-bottom: 2px solid var(--e-global-color-primary);
	outline: none;
}
.get-in-touch-form .form-wrapper p {
	display: grid;
	gap: 10px;
}
.get-in-touch-form .wpcf7 [type=submit] {
	margin: 10px auto 0;
	max-width: 100%;
    width: 100%;
}
.inline-fields {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
}
.inline-fields label span {
	margin-bottom: 10px;
}

.get-in-touch-form .wpcf7 form .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.sent .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.invalid .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.unaccepted .wpcf7-response-output,
.get-in-touch-form .wpcf7 form.payment-required .wpcf7-response-output {
	color: #fff!important;
}

/* 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;
}
.hero-inner {
	max-width: 1200px;
	margin-inline: auto;
	display: grid;
	gap: 40px;
	align-items: center;
}
article .post-content h2,
article .post-content h3,
article .post-content h4 {
	margin-top: 40px;
}
.pagination a {
	color: var( --e-global-color-primary );
}

/* Author box */
.author-box-section {
  border: 1px solid lightgray;
  padding: 24px;
}
.author-box-inner {
  display: grid;
  gap: 40px;
  width: 100%;
}
.author-heading {
    margin-bottom: 24px;
    font-size: 18px;
}
/*.author-avatar img {*/
/*  border-radius: 50%;*/
/*}*/
.author-info {
  flex: 1;
}
.author-name {
    font-size: 18px;
    font-weight: bold;
    text-transform: capitalize;
    margin: 0 0 5px;
}
.author-description {
    font-size: 15px;
    color: #777;
    line-height: 1.4;
    margin-bottom: 0;
}
.social-links {
    border: 1px solid lightgray;
    border-top: none;
    background-color: #fcfcfc;
    padding: 10px 24px;
}

.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;
}

/*Footer nav*/
.footer-nav li {
    padding: 4px;
    border-bottom: 1px solid #fff;
}
.footer-nav li:last-child {
    border-bottom: none;
}

@media screen and ( min-width: 640px ) {
	.hero-inner {
		grid-template-columns: repeat(2,1fr);
	}
	.hero-inner.full,
	.search .hero-inner {
		grid-template-columns: 1fr;
	}
	.latest-posts {
		grid-template-columns: repeat(2, 1fr);
		gap: 56px 30px;
	}
	.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;
    }
}
@media screen and ( min-width: 991px ) {
	.latest-posts {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and ( min-width: 1025px ) {
	.get-in-touch-form .inline-fields p {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media screen and (max-width: 1025px) {
    .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
		flex-wrap: wrap;
	}
}

/*Table of content*/
.post-toc {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background: #F8F8F8;
}
.post-toc-title {
    font-weight: bold;
    margin-bottom: 10px;
}
.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 {
    text-decoration: none;
}
.post-toc-link:hover {
    text-decoration: underline;
}

/*Copied from Custom CSS*/
/********New videwo section******/
.video-wrapper,.video-wrapper div {
    position: relative;
    width: 100%;
   height:100%;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes it fill without distortion */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust darkness */
    pointer-events: none;
}

.video-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}
.whb-header{
	padding-top:85px !important;
}

/**Gallery***/
#ufg-gallery .card-img, #ufg-gallery .card-img-top {
    height: auto !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}
.new-section .btn.ufg-parent-filter-button {
	background-color: #7d7461!important;
}
.new-section .btn.ufg-all-filter-button {
  background-color: #db8d70 !important;
}

.elementor-widget-text-editor a, .elementor-tab-content a, .entry-content p a {
    color: #db8d70;
    text-decoration: underline;
}
.elementor-widget-text-editor a:hover, .elementor-tab-content a:hover, .entry-content p a:hover {
    opacity: 0.7;
    text-decoration: none;
}

:root {
  --silver-gradient: linear-gradient(
    180deg,
    #BFBFBF 0%,
    #FFFFFF 23%,
    #E0E0E0 44%,
    #D8D8D8 83%,
    #FFFFFF 100%
  );
}
.elementor-button,
.new-section .btn {
	background: var(--silver-gradient)!important;
	color: #000!important;
	font-size: 14px!important;
	border: 1px solid #000!important;
	padding-block: 12px!important;
}
.elementor-button:hover {
	filter: brightness(0.9);
}
.new-section .btn.ufg-all-filter-button {
	background: #747B80!important;
	border: 1px solid #747B80!important;
	color: #fff!important;
}