/*
Theme Name: Inside Properties
Text Domain: promisys
Author: Promisys
Version: 1.0
*/

:root{
	--font-size: 1rem;
	--site-width: 70rem;

	--color: #020203;

	--dark-blue:  #01232c;
	--pale-gray:  #f1eff0;
	--pale-green: #dce3df;
	--gold:       #bf9324;
}

html{
	scroll-padding-top: 100px !important;
}

body{
	font-family: 'Satoshi-Regular';
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	font-size: var(--font-size);
	line-height: 1.4;
	color: var(--color);
}

.site-width-large{
	--site-width: 80rem;
}
.site-width-xlarge{
	--site-width: 100rem;
}
.wrap{
	width: min(100% - 3rem, var(--site-width));
	margin-inline: auto;
}

#content{
	flex: 1;
}
section.banner{
	height: 250px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: var(--pale-gray);
	position: relative;
	transition: height .2s;
	display: grid;
	place-content: center;
	position: relative;
}
section.banner[style]::before{
	content: '';
	position: absolute;
	inset: 0;
	background: rgb(0,0,0,0.3);
}
section.banner[style] h1{
	color: #fff;
	position: relative;
	z-index: 1;
}

footer{
	padding-block: 2rem;
	padding-inline: 3rem;
	background: var(--dark-blue);
}
footer .wrap{
	display: grid;
	grid-template-areas: "address nav socials";
	grid-template-columns: auto 1fr auto;
	gap: clamp(2rem, 5vw, 6rem);
	background: var(--dark-blue);
	color: #fff;
}
footer address{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	grid-area: address;
	text-transform: uppercase;
	font-size: .8rem;
}
footer nav{
	grid-area: nav;
}
footer nav .menu-item-home{
	display: none;
}
footer nav ul.menu{
	gap: 2rem;
}
footer nav ul.menu > li{
	flex: 1;
}
footer nav ul.menu > li > a{
	text-decoration: uppercase;
	font-weight: 600;
}
footer nav ul.sub-menu{
	border-top: 1px solid var(--gold);
	flex-direction: column;
	padding-top: 5px;
	margin-top: 5px;
	font-size: .9rem;
	gap: 3px;
}

footer .socials{
	grid-area: socials;
}

footer svg.logo{
	width: 150px;
	margin-bottom: 1rem;
}

footer a{
	color: #fff;
}

.grid {
  --min-col-size: 220px;
  --gap: 1rem;

  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min-col-size), 100%), 1fr));
}
.grid.auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(min(var(--min-col-size), 100%), 1fr));
}

.spacer{
	height: 2rem;
}

.socials{
	gap: 8px;
}
.socials a{
	background: #fff;
	color: var(--dark-blue);
	width: 40px;
	aspect-ratio: 1;
	display: grid;
	place-content: center;
	border-radius: 50px;
}
.socials a:hover{
	background: var(--gold);
	color: var(--dark-blue);
}

a{
	color: var(--color);
	text-decoration: none;
}
.entry-content a{
	text-decoration: underline;
	text-underline-offset: 2px;
}
a:hover{
	color: var(--gold);
}



p{
	margin-bottom: 1rem;
	line-height: 1.2em;
}

.entry-content ul:not(.slides){
	padding-left: 18px;
}


.contact__wrapper{
	gap: 4rem;
}
aside .contact-info{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

video{
	aspect-ratio: 1120/630;
	width: 100%;
	display: block;
}

strong{
	font-family: 'Satoshi-Medium';
	font-weight: 500;
}
.content-area img:not(li img) {
	display: block;
	font-style: italic;
	max-width: 100%;
	height: auto;
	width: auto;
}

img{
	display: block;
}
a:has( > img){
	display: block;
	width: fit-content;
	overflow: hidden;
}
a img{
	transition: scale 0.3s
}
#content a:hover img{
	scale: 1.02;
}

input,
button,
textarea,
select{
	font: inherit;
}
button{
	background: none;
	border: none;
}
address{
	font-style: normal;
}

form[role="search"]{
	position: relative;
	margin-bottom: 20px;
}
form[role="search"] input.search-field{
	width: 100%;
	height: 40px;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 0 10px;
}
form[role="search"] .search-submit{
	position: absolute;
	height: 40px;
	width: 40px;
	right: 0;
	top: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	outline: none;
}

.flex{
	display: flex;
	flex-wrap: wrap;
}
.flex.column{
	flex-direction: column;
}

*:has( > [class*="svg-inline"]){
	display: flex;
	gap: 5px;
	align-items: center;
}

.card{
	border: 1px solid #efefef;
	padding: 2rem;
	border-radius: 1rem;
	max-width: max-content;
	margin: 0 auto;
}
.warning, .notice{
	border: 1px solid;
	padding: 1rem 1.4rem;
	border-radius: 1rem;
	margin: 0 auto;
	text-align: center;
}
.notice{
    background: #e1f6ff;
    color: #1d78d5;
    border-color: #9ccde2;
}
.warning{
	background: #fff8eb;
	color: #c97d00;
	border-color: #e4c896;
}

.align-right{
	margin-left: auto;
}


svg.logo g.symbol{
	fill: #fff;
}
svg.logo g.symbol.gold{
	fill: var(--gold);
	display: none;
}
svg.logo-symbol{
	fill: var(--gold);
	height: 32px;
	position: absolute;
	transition: height 0.2s, top 0.2s;
	top: 3.5rem;
	left: 50%;
	translate: -50% 0;
}
header.scroll .navigation__upper:not(:has( + .navigation__primary.open)) svg.logo-symbol{
	height: 28px;
	top: 5px;
}

svg.double-arrows path{
	fill: #fff;
}
svg.double-arrows.gold path{
	fill: var(--gold);
}

hr.wp-block-separator{
	margin-block: 3rem;
	border-top: 1px solid #ccc;
}

.loader{
	display: flex;
	gap: 0.25rem;
	justify-content: center;
}
.loader > *{
	width: 0.5rem;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--dark-blue);
	animation: bounce 0.5s infinite alternate;
}
.loader > *:nth-child(2){
	content: '';
	animation-delay: 100ms;
}
.loader > *:nth-child(3){
	content: '';
	animation-delay: 200ms;
}

@keyframes bounce{
	to{
		translate: 0 -0.25rem;
	}
}

@media( max-width: 578px){
	.modal .scroller p{
		padding-inline: 2rem;
		text-align: left;
		gap: 1rem;
		line-height: 1;
		font-size: 1.1rem;
	}
}