/*
Theme Name: Inside Properties - Landing pages
Description: Inside Properties Child Theme
Template: insideproperties
Text Domain: insideproperties-child
*/

:root{
	--font-size: 1rem;
	--site-width: 58rem;
	--slider-max-height: 400px;
}

body{
	font-family: "franklin-gothic-std", sans-serif;
	font-weight: 400;
	font-style: normal;
}

main{
	padding-block: 0;
}

header{
	display: block;
	top: var(--wp-admin--admin-bar--height, 0);
	width: 100%;
	overflow: hidden;
	background: none;
	z-index: 9;
}
header.home{
	position: absolute;
}
header .logo a{
	display: inline-block;
}
header svg.logo{
	width: 100%;
	height: 100px;
	transition: height 0.2s;

}
header.scroll svg.logo{
	height: 50px !important;
}

@media( max-width: 1024px){
	header.home{
		height: var(--slider-max-height);
		display: grid;
		place-content: center;
	}
	header svg.logo{
		height: 50px !important;
	}
}
@media( min-width: 1025px){
	header{
		padding: 2rem;
	}
}



header .flex{
	align-items: center;
	gap: 1rem;
	justify-content: space-between;
}

header a.btn{
	text-transform: uppercase;
	font-size: 1rem;
	transition: background 0.2s, font-size 0.2s;
}
header.scroll a.btn{
	font-size: .9em;
}

section.banner{
	height: auto;
	min-height: var(--slider-max-height);
}
@media(min-width:1400px){
	section.banner{
		min-height: var(--slider-max-height);
	}
}
@media(min-width:1650px){
	section.banner{
		min-height: 600px;
	}
}
section.banner::before{
	content: '';
	inset: 0 0 auto;
	height: 20%;
	background: linear-gradient(180deg, #00000061, #ffffff00);
	position: absolute;
	z-index: 1;
}

.ms-slide:not([style*="hidden"]) .ms-slide-bgcont img{
	animation: bg-zoom 10s ease-in-out forwards;
}

section.hero{
	padding-block: 4rem;
}
section.hero .text *{
	color: white;
}
section.hero .intro{
	align-items: flex-start;
	gap: 1rem;
}
section.hero :is(h1, h2) strong{
	display: block;
	font-size: 1.5em;
}
section.hero h1{
	text-wrap: initial;
}
section.hero h1 strong{
	color: #fff;
}
section.hero h2 strong{
	font-size: 1.3em;
	color: var(--color);
}
section.hero h2:after{
	display: none;
}
section.hero p{
	font-family: "franklin-gothic-std-cond", sans-serif;
	text-transform: uppercase;
	margin: 0;
}
section.hero .wp-block-button__link{
	font-size: clamp(1.1rem, 4vw, 1.3rem);
}
section.hero .wp-block-column.flex{
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: nowrap;
}
section.hero .wp-block-column + .wp-block-column{
	width: auto;
	flex: initial;
}

.entry-content svg.logo{
	max-height: 120px;
	display: block;
	margin-inline: auto;
}

.we-are-inside{
	padding: 4rem 2rem;
	text-transform: uppercase;
}
.we-are-inside p{
	max-width: 24rem;
	font-size: .9rem;
}

.features{
	padding-block: 6rem;
}
.features p{
	font-family: "franklin-gothic-std-cond", sans-serif;
	text-transform: uppercase;
}

.wp-block-columns{
	margin-block: 0;
}

.wp-block-group.has-background h2{
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
}


.is-layout-grid{
	padding-inline: 1rem;
}
.is-layout-grid .wp-block-group__inner-container{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.is-layout-grid svg{
	color: var(--primary);
	font-size: 2rem;
}
.is-layout-grid p{
	max-width: 26ch;
}


body .is-layout-grid{
	gap: 3rem;
}

.wp-block-group.emphasis{
	--size: 5rem;
	background: var(--accent-light);
	padding-block: var(--size);
}

.wp-block-spacer.with-vertical-line{
	position: relative;
	margin-block: 5rem;
}
.wp-block-spacer.with-vertical-line::before{
	content: '';
	position: absolute;
	height: 100%;
	top: 50%;
	left: 50%;
	translate: 0 -50%;
	width: 1px;
	border-left: 1px solid var(--primary);
}


a.btn, a.wp-block-button__link, input[type="submit"]{
	font-family: bebas-neue, sans-serif;
	font-size: 1.1rem;
	font-weight: 400;
	line-height: 1;
}
header a.btn.alt{
	background: transparent;
	color: #fff;
	aspect-ratio: 1;
	min-width: 43px;
	padding: 0.8rem;
	aspect-ratio: 1;
	justify-content: center;
}
header a.alt:hover{
	color: var(--accent);
}

h1, h2, h3{
	font-family: bebas-neue, sans-serif;
	font-weight: 400;
}
:is(h1, h2, h3) strong{
	font-weight: 400;
	color: #b3a071;
}
h1{
	font-size: clamp(1.3rem, 2.5vw, 2.2rem);
	margin-bottom: 0;
}
h2{
	text-transform: uppercase;
	position: relative;
	font-size: 2rem;
}

.wp-block-column h2::after,
.wp-block-media-text__content h2::after{
	content: '';
	width: 4rem;
	height: 1px;
	background: var(--accent);
	display: block;
	margin-block: 1.5rem;
}

p.has-text-align-center{
	margin-inline: auto;
}
p:last-child{
	margin-bottom: 0;
}

.max-width-50{
	max-width: 50ch;
}

footer{
	background: #111;
	padding: 0;
	color: #fff;
}
footer svg.logo{
	max-height: 80px;
}
footer .wrap{
	padding-block: 2rem;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}
footer address{
	font-size: .9rem;
	font-weight: 500;
}
footer .site-info{
	text-align: center;
	color: #fff;
	font-size: .8rem;
	padding-block: 10px;
}
footer a.btn.alt{
	background: transparent;
	color: #fff;
}
footer .socials svg{
	color: #fff;
	font-size: 1.2rem;
}
footer .socials svg:hover{
	color: var(--hover);
}

hr.wp-block-separator{
	display: block;
	margin-block: 4rem;
	margin-inline: auto;
	max-width: 10rem;
	border-top: 1px solid #c5c5c5;
}


a.scrollup{
	position: fixed;
	display: none;
	background: var(--primary);
	right: 2rem;
	bottom: 2rem;
	z-index: 9;
	width: 3rem;
	height: 3rem;
	place-content: center;
	border-radius: 50%;
	color: #fff;
	font-size: 1.2rem;
}
a.scrollup:hover{
	background: var(--accent);
}
a.scrollup.visible{
	display: grid;
}


@keyframes bg-zoom {
    0% {
        scale: 100%;
    }
    100% {
        scale: 105%;
    }
}



body:is(.page-id-181, .page-id-189) section.hero p{
	margin-inline: auto;
}

ul.check-list{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
ul.check-list li {
    position: relative;
    list-style: none;
    padding-left: 2rem;
}
ul.check-list li::before {
    content: '';
    background-image: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='%23c29524' d='M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z'/></svg>");
    position: absolute;
    top: 1px;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    width: 1.4rem;
    aspect-ratio: 1;
}

@media(max-width: 756px){
	a.scrollup{
		right: 5px;
		bottom: 5px;
	}

	body:is(.page-id-181, .page-id-189){
		--slider-max-height: 300px;
	}
	body:is(.page-id-181, .page-id-189) header svg.logo{
		min-height: 90px !important;
	}
	body:is(.page-id-181, .page-id-189) header svg.logo g:is(#inside, #properties){
		fill: white !important;
	}
	body:is(.page-id-181, .page-id-189) section.hero{
		padding-block: 3rem;
	}
	body:is(.page-id-181, .page-id-189) section.banner{
		background: black;
	}
	body:is(.page-id-181, .page-id-189) .master-slider-parent{
		opacity: 0.7;
	}
	body:is(.page-id-181, .page-id-189) .hero .wp-block-buttons,
	body:is(.page-id-181, .page-id-189) .entry-content svg.logo{
		display: none;
	}
	body:is(.page-id-181, .page-id-189) .we-are-inside .wp-block-columns{
		gap: 0;
	}
}
