/**
 * Theme Two packaged overrides.
 * Base styles load from this theme2 CSS pack (copied classic Quote stack).
 */

/* Desktop header: Login / Signup sit left of the CTA */
header.header-two .navbar-extra .info.nav-push-item {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

header.header-two .navbar-extra .info.nav-push-item a {
    color: #fff;
}

header.header-two .navbar-extra .main-btn {
    margin-left: 8px;
}

/* Mobile hamburger — white bars (header bar is dark) */
header.header-two .header-nav .nav-container .navbar-toggler {
    border-color: #fff;
}

header.header-two .header-nav .nav-container .navbar-toggler span {
    background-color: #fff;
}

/* Homepage brand logos — keep original look, add top/bottom gap */
.theme-home-two .client-section {
    padding-top: 110px !important;
    padding-bottom: 100px !important;
}

.theme-home-two .client-section .client-slider {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .theme-home-two .client-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

/* Insights & Inspiration — equal text block height without breaking slick widths */
.theme-home-two .latest-post-loop .latest-post-box-two .post-desc {
    min-height: 190px;
    display: flex;
    flex-direction: column;
}

.theme-home-two .latest-post-loop .latest-post-box-two .post-desc .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: calc(33px * 3);
    margin-bottom: 20px;
}

.theme-home-two .latest-post-loop .latest-post-box-two .post-desc .post-link {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .theme-home-two .latest-post-loop .latest-post-box-two .post-desc {
        min-height: 170px;
    }

    .theme-home-two .latest-post-loop .latest-post-box-two .post-desc .title {
        min-height: calc(28px * 3);
    }
}

@media (max-width: 767px) {
    .theme-home-two .latest-post-loop .latest-post-box-two .post-desc {
        min-height: 160px;
    }

    .theme-home-two .latest-post-loop .latest-post-box-two .post-desc .title {
        min-height: calc(26px * 3);
    }
}

/* Equal breadcrumb ">" gaps on detail pages */
.breadcrumb-section .breadcrumb-text ul li {
	margin: 0 !important;
	padding: 0;
}

.breadcrumb-section .breadcrumb-text ul li a {
	padding-right: 0 !important;
	margin-right: 0 !important;
}

.breadcrumb-section .breadcrumb-text ul li a::after {
	content: none !important;
	display: none !important;
}

.breadcrumb-section .breadcrumb-text ul li:not(:last-child)::after {
	content: ">";
	display: inline-block;
	margin: 0 12px;
	position: static;
	transform: none;
	font-weight: 600;
	color: #fff;
}

/* Contact form: side padding on mobile (inputs were flush left/right) */
@media (max-width: 991px) {
	.contact-section.contact-page .contact-form,
	.he11-contact-section .contact-form {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}


/* Contact page phone — same size/color as email & address */
.contact-section.contact-page .contact-info .contact-info-content ul li.phone,
.contact-section.contact-page .contact-info .contact-info-content ul li.phone a,
.contact-section.contact-page .contact-info .contact-info-content ul li.phone .contact-info-values,
.contact-section.contact-page .contact-info .contact-info-content ul li.phone .contact-info-values a,
.he11-contact-section .contact-info-content ul li.phone,
.he11-contact-section .contact-info-content ul li.phone a {
	color: #616161 !important;
	font-weight: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

.contact-section.contact-page .contact-info .contact-info-content ul li.phone i,
.he11-contact-section .contact-info-content ul li.phone i {
	font-size: 18px !important;
	color: var(--main-color) !important;
}


/* Contact page illustration — square cover for any upload size */
.contact-section.contact-page .contact-info .illustration-img,
.he11-contact-section .contact-info .illustration-img {
	width: 100%;
	max-width: 480px;
	aspect-ratio: 1 / 1;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	border-radius: 0;
}

.contact-section.contact-page .contact-info .illustration-img img,
.he11-contact-section .contact-info .illustration-img img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center !important;
}


/* Contact icons — align with first text line (same horizontal row) */
.contact-section.contact-page .contact-info .contact-info-content ul li,
.he11-contact-section .contact-info-content ul li {
	display: flex !important;
	align-items: flex-start !important;
	line-height: 1.5 !important;
}

.contact-section.contact-page .contact-info .contact-info-content ul li > i,
.he11-contact-section .contact-info-content ul li > i {
	width: 22px !important;
	height: 1.5em !important;
	line-height: 1.5em !important;
	font-size: 18px !important;
	margin-top: 0 !important;
	margin-right: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	color: var(--main-color) !important;
}

.contact-section.contact-page .contact-info .contact-info-content ul li > span,
.contact-section.contact-page .contact-info .contact-info-content ul li > a,
.contact-section.contact-page .contact-info .contact-info-content ul li > .contact-info-values,
.he11-contact-section .contact-info-content ul li > span,
.he11-contact-section .contact-info-content ul li > a {
	line-height: 1.5 !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}
