/* ================================================
   Inner Hero
   ================================================ */
.page-template-page-blog-php .blog-text-wrap{
    display: none;
}
.page-template-page-blog-php section#md-blog-page,
.page-template-default section.md-content-inner,
.page-template-page-contactus-php section.md-content-inner,
.page-template-page-estimate  section.md-content-inner,
.page-template-page-contactus-php  section#md-testimonials ,
.page-template-page-estimate  section#md-testimonials  {
    padding-top: 0;
}
.md-description-post {
    background: #F3F7FA;
    padding: 30px;
    border-radius: 30px;
    margin-bottom: 50px;
}
.single section.md-content-inner {
    padding-top: 0;
}
.md-content-wrap p a {
	color:#25ABE2;
}
#md-inner-hero {
	position: relative;
	float: left;
	width: 100%;
	background: #FFFFFF;
	padding-bottom: 60px;
	padding-top: 86px;
z-index: 9;
}
h2.inner-hero-form-title br {
    display: none;
}
.md-description-post p {
    margin-bottom: 0;
    font-style: italic;
}
/* Blue / featured-image background
   Height is set dynamically via JS to reach the form midpoint */
.inner-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: #0C5D98;
	z-index: 0;
	/* fallback height if JS hasn't fired yet */
	height: 280px;
}

.inner-hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Overlay so text stays readable over images */
.inner-hero-bg.has-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 55%);
	z-index: 1;
}
section.md-content-inner .container {
    display: flex;
}
.md-content-wrap {
    float: left;
    width: 100%;
}
/* Container sits above background */
.inner-hero-container {
	position: relative;
	z-index: 2;
	padding-top: 50px;
	text-align: center;
}

/* Breadcrumbs */
.inner-hero-breadcrumb {
	margin-bottom: 14px;
}

.inner-hero-breadcrumb .breadcrumb-nav,
.inner-hero-breadcrumb .breadcrumb-nav span,
.inner-hero-breadcrumb .breadcrumb-nav a {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: 0.16px;
	color: #FFFFFF;
	text-decoration: none;
}

.inner-hero-breadcrumb .breadcrumb-nav a {
	color: #FDB913;
}

.inner-hero-breadcrumb .breadcrumb-nav a:hover {
	text-decoration: underline;
	color: #FDB913;
}

/* Title */
.inner-hero-title {
	font-family: 'Roboto', sans-serif;
	font-size: 48px;
	font-weight: 600;
	line-height: 60px;
	letter-spacing: -0.48px;
	color: #FFFFFF;
	text-align: center;
	    margin: 0;
}

/* Subtitle */
.inner-hero-subtitle {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: 0.16px;
	color: #FFFFFF;
	margin: 0 30px 45px;
	text-align: center;
}
.inner-hero-form-wrap-content {
    border: 1px solid #FFF;
    padding: 15px;
    border-radius: 30px;
}
/* Form card */
.inner-hero-form-wrap {
	background: #FFFFFF;
	border-radius: 20px;
	padding: 35px 40px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.inner-hero-form-title {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 38px;
	letter-spacing: -0.6px;
	color: #0C5D98;
	margin: 0 auto 28px;
	text-align: center;
}

.inner-hero-form-title .highlight-blue {
	color: #25ABE2;
}

.inner-hero-form-title {
	border-bottom: 1px solid #BCC1C3;
	padding-bottom: 35px;
}
.inner-hero-form-wrap-content {
    margin-top: 60px;
}
.md-inner-form-wrap .gform-theme--foundation .gfield .ginput_password.large, .md-inner-form-wrap .gform-theme--foundation .gfield input.large, .md-inner-form-wrap .gform-theme--foundation .gfield select.large , .md-inner-form-wrap  .gform-theme--framework .gfield--input-type-datepicker.gfield--datepicker-custom-icon .ginput_container_date input {
    text-align: left;
}
/* ================================================
   Inner Hero — Gravity Form
   Moving From | Moving To | Moving Date in one row
   ================================================ */
.page-template-page-blog-php .blog-text-wrap {
    display: none;
}
.page-template-page-blog-php section#md-blog-page {
    padding-top: 0;
}
.md-inner-form-wrap .gform_wrapper {
	margin: 0 !important;
}

.md-inner-form-wrap .gform_wrapper.gravity-theme .gform_required_legend,
.md-inner-form-wrap .gform_wrapper.gravity-theme .gfield_required {
	display: none !important;
}

/* Prebaci GF-ov 4-column grid na 3 kolone */
.md-inner-form-wrap .gform-theme--foundation .gform_fields {
	grid-template-columns: repeat(3, 1fr) !important;
	column-gap: 15px !important;
	row-gap: 20px !important;
}

/* Sve gfield po defaultu full-width (override GF span 4) */
.md-inner-form-wrap .gform-theme--foundation .gfield,
.md-inner-form-wrap .gform-theme--foundation .gfield--width-full,
.md-inner-form-wrap .gform-theme--foundation .gfield--width-half {
	grid-column: 1 / -1 !important;
	margin: 0 !important;
}

/* Sakrij address sub-polja (Route, City, State, Postal, Country) */
.md-inner-form-wrap .gform-theme--foundation .gfield.address-inner-3,
.md-inner-form-wrap .gform-theme--foundation .gfield.address-inner-4 {
	display: none !important;
}

/* Moving From | Moving To | Moving Date — svako 1/3 */
.md-inner-form-wrap .gform-theme--foundation .gfield.address-wrapper,
.md-inner-form-wrap .gform-theme--foundation .gfield.gfield--type-date {
	grid-column: span 1 !important;
}

/* Submit i navigacija stepa */
.md-inner-form-wrap .gform-theme--foundation .gform_footer,
.md-inner-form-wrap .gform-theme--foundation .gform_page_footer {
	grid-column: 1 / -1 !important;
	margin-top: 10px !important;
	padding: 0 !important;
}

/* Labels */
.md-inner-form-wrap .gform_wrapper.gravity-theme .gfield_label {
	font-family: 'Roboto', sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	color: var(--main) !important;
	margin-bottom: 8px !important;
}

/* Inputs */
.md-inner-form-wrap .gform_wrapper.gravity-theme input[type="text"],
.md-inner-form-wrap .gform_wrapper.gravity-theme input[type="email"],
.md-inner-form-wrap .gform_wrapper.gravity-theme input[type="tel"],
.md-inner-form-wrap .gform_wrapper.gravity-theme input[type="date"],
.md-inner-form-wrap .gform_wrapper.gravity-theme input[type="number"],
.md-inner-form-wrap .gform_wrapper.gravity-theme select {
	font-family: 'Roboto', sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	letter-spacing: 0.18px !important;
	color: #073354 !important;
	background: #FFFFFF !important;
	border: 1px solid #BCC1C3 !important;
	border-radius: 10px !important;
	padding: 16px 15px !important;
	height: 62px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	transition: border-color 0.3s ease !important;
}

.md-inner-form-wrap .gform_wrapper.gravity-theme textarea {
	font-family: 'Roboto', sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 28px !important;
	color: #073354 !important;
	background: #FFFFFF !important;
	border: 1px solid #BCC1C3 !important;
	border-radius: 10px !important;
	padding: 14px 15px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.md-inner-form-wrap .gform_wrapper.gravity-theme input:focus,
.md-inner-form-wrap .gform_wrapper.gravity-theme select:focus,
.md-inner-form-wrap .gform_wrapper.gravity-theme textarea:focus {
	border-color: #0C5D98 !important;
	outline: none !important;
}

/* Submit button */
.md-inner-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.md-inner-form-wrap .gform_wrapper.gravity-theme .gform_button {
	font-family: 'Roboto', sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: var(--main) !important;
	background: var(--cta) !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 14px 40px !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: background 0.3s ease !important;
}

.md-inner-form-wrap .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.md-inner-form-wrap .gform_wrapper.gravity-theme .gform_button:hover {
	background: var(--cta-hover) !important;
}

/* ================================================
   Inner Hero — Logos bar
   ================================================ */
.page-template-page-singlelocation section#md-testimonials {
    padding-top: 0;
}
.page-template-page-singlelocation section#md-inner-hero {
    padding-bottom: 55px;
}
.inner-hero-logos {
	float: left;
	width: 100%;
	background: #FFFFFF;
	padding: 20px 0;
/* 	border-top: 1px solid #E8EEF3; */
	position: relative;
	z-index: 1;
	margin-top: 40px;
}
.md-content-wrap figure, .md-content-wrap figure img,
.location-content-wrap figure, .location-content-wrap figure img   {
    width: 100% !important;
}
.md-content-wrap figure img , .location-content-wrap figure img {
	border-radius:30px;	
}
.md-content-wrap figure,
.location-content-wrap figure {
    padding: 14px 0 15px;
}
.md-content-wrap figure figcaption,
.location-content-wrap figure figcaption{
    color: #000;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: 0.32px;
    margin-bottom: 0 !important;
}
.inner-hero-logos-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
}

.inner-hero-badge {
	display: flex;
	align-items: center;
	justify-content: center;
}

.inner-hero-badge img {
	max-height: 96px;
	width: auto;
	object-fit: contain;
}
.md-content-inner section#md-how-it-works .container.wide-container, 
.md-content-inner  section#md-services .container.wide-container { 
    flex-direction: column;
}
.md-content-inner section#md-banner-long {
    margin: 20px 0;
}
figure {
    margin: 0;
}
/* ================================================
   Inner Content
   ================================================ */
.page-id-36 section.md-content-inner {
    padding: 0;
}
.md-content-inner {
	float: left;
	width: 100%;
	padding: 60px 0 0px;
}
section#md-blog-page a.blog-readmore {
    width: 200px;
}
.md-content-wrap {
	text-align: left;
}

.md-content-wrap h1,
.md-content-wrap h2,
.location-content-wrap h2{
	font-family: 'Roboto', sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: 0.72px;
	color: #073354;
	text-align: left;
	margin: 50px 0 20px;
}

.md-content-wrap h3,
.location-content-wrap h3 {
	font-family: 'Roboto', sans-serif;
	font-size: 30px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: 0.6px;
	color: #073354;
	text-align: left;
	margin: 50px 0 20px;
}

.md-content-wrap h4,
.md-content-wrap h5,
.md-content-wrap h6,
.location-content-wrap h4,
.location-content-wrap h5, 
.location-content-wrap h6 {
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	color: #073354;
	text-align: left;
	margin: 0 0 14px;
}

.md-content-wrap p,
.location-content-wrap p {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 28px;
	letter-spacing: 0.32px;
	color: #000000;
	text-align: left;
	margin: 0 0 20px;
}

.md-content-wrap ul,
.md-content-wrap ol,
.location-content-wrap ul,
.location-content-wrap ol {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 28px;
	letter-spacing: 0.32px;
	color: #000000;
	text-align: left;
	padding-left: 22px;
	margin: 0 0 20px;
}

.md-content-wrap li {
	margin-bottom: 8px;
}

.md-content-wrap a {
	color: var(--main);
}

.md-content-wrap a:hover {
	color: var(--main-hover);
}

.md-content-wrap img {
	max-width: 100%;
	height: auto;
}

.md-content-wrap blockquote {
	border-left: 4px solid var(--main);
	padding: 12px 20px;
	margin: 0 0 20px;
	font-style: italic;
}
.md-content-wrap li {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: 0.32px;
    font-family: 'Roboto', sans-serif;
}
.md-content-wrap ul, .md-content-wrap ol, .location-content-wrap  ul, .location-content-wrap ol {
    border-radius: 30px;
    background: #F3F7FA;
	padding: 50px 20px 50px 50px;
}
section#md-testimonials .container {
    flex-direction: column;
    display: flex;
}
.page-template-page-singlelocation section#md-faq {
    background: #fff;
}
/* ================================================
   Blog Page
   ================================================ */

#md-blog-page {
	float: left;
	width: 100%;
	padding: 80px 0;
}

#md-blog-page .blog-wrap {
	float: left;
	width: 100%;
}

#md-blog-page .blog-posts-wrap {
	margin-top: 40px;
}

#md-blog-page .single-blog {
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
}

/* Pagination */
.blog-pagination {
	float: left;
	width: 100%;
	margin-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.blog-pagination .page-numbers {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--main);
	background: #F3F7FA;
	border: 1px solid #E0E8F0;
	border-radius: 6px;
	padding: 8px 16px;
	text-decoration: none;
	transition: .3s ease;
	line-height: 1;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
	background: var(--main);
	color: #FFFFFF;
	border-color: var(--main);
}

.blog-pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	cursor: default;
}

/* ================================================
   Gallery Page
   ================================================ */

#md-gallery {
	float: left;
	width: 100%;
	padding: 0 0 80px;
}

.gallery-grid {
	float: left;
	width: 100%;
}

.gallery-item {
	margin-bottom: 30px;
}

.gallery-item-inner {
	background-color: var(--bckg);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: 20px;
}

.gallery-item-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.gallery-item-inner:hover img {
	transform: scale(1.05);
}

/* Gallery end */
.gform-theme--foundation .gfield textarea.large {
    text-align: left;
}
/* ================================================
   Responsive
   ================================================ */

@media screen and (max-width: 1199px) {
	.inner-hero-title {
		font-size: 38px;
		line-height: 50px;
	}

	.inner-hero-form-title {
		font-size: 24px;
		line-height: 32px;
	}
}

@media screen and (max-width: 991px) {
	/* Stack sva 3 polja na mobile */
	.md-inner-form-wrap .gform-theme--foundation .gform_fields {
		grid-template-columns: 1fr !important;
	}

	.md-inner-form-wrap .gform-theme--foundation .gfield.address-wrapper,
	.md-inner-form-wrap .gform-theme--foundation .gfield.gfield--type-date {
		grid-column: 1 / -1 !important;
	}

	/* Blog page — 2 kolone na tabletu (768–991px) */
	#md-blog-page .single-blog.col-sm-6 {
		width: 50%;
	}
}

@media screen and (max-width: 767px) {
	.inner-hero-container {
		padding-top: 35px;
	}

	.inner-hero-title {
		font-size: 30px;
		line-height: 40px;
		margin-bottom: 28px;
	}

	.inner-hero-form-wrap {
		padding: 25px 20px;
	}

	.inner-hero-logos-wrap {
		gap: 14px;
	}

	.inner-hero-badge img {
		max-height: 70px;
	}

	#md-gallery {
		padding-bottom: 50px;
	}

	.gallery-item {
		margin-bottom: 15px;
	}
	.md-content-wrap h1, .md-content-wrap h2,
	.location-content-wrap h2 {
		font-size: 28px;
		line-height: 38px;
	}
	.md-content-wrap h3,
	.location-content-wrap h3{
		font-size: 26px;
		font-weight: 600;
	}
}
@media screen and (min-width: 640px) {
	.md-inner-form-wrap .md-contat-page .gform-theme--foundation .gform_fields {
		grid-template-columns: revert-rule !important;
	}
	.md-inner-form-wrap .md-contat-page .gform-theme--foundation .gfield, .md-inner-form-wrap .md-contat-page .gform-theme--foundation .gfield--width-full, .md-inner-form-wrap .md-contat-page .gform-theme--foundation .gfield--width-half {
		grid-column: span 1 !important;
	}
	.md-inner-form-wrap .md-contat-page .gform-theme--foundation div#field_3_5 {
		grid-column: span 3 !important;
	}
}
@media screen and (max-width: 600px) {
	#md-gallery {
		padding-bottom: 40px;
	}
}
@media screen and (max-width: 600px) {
	.inner-hero-form-wrap {
		padding: 20px 15px;
	}

	.inner-hero-form-title {
		font-size: 20px;
		line-height: 28px;
	}
	.inner-hero-form-title {
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	.inner-hero-badge {
		width: 45%;
	}
}