/*
 Theme Name:   Rentari
 Theme URI:    https://hibourg.com/
 Description:  Custom WP theme for Rentari
 Author:       Hibourg
 Author URI:   https://hibourg.com/
 Template:     twentytwentyfive
 Version:      1.0.0
 Text Domain:  rentari
*/

/* Variables */

:root {
	--font-primary: 'Source Sans 3', Arial, sans-serif;
	--font-secondary: 'Playfair Display', 'Times New Roman', serif;
	--color-primary: #000;
	--color-secondary: #ccc;
	--color-theme: #1C2D37;

}

/* == Reset & Base == */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	color: #1a1a1a;
}

a:hover {
	color: #999;
	text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.5;
	margin-top: 1.5em;
	font-family: var(--font-secondary);
}

b,
strong {
	font-weight: 600;
}

small {
	font-family: var(--font-primary);
}

sup {
	font-style: italic;
}

summary,
ul li,
p {
	font-family: var(--font-primary);
	font-size: 1.35rem;
}

ul li {
	line-height: 1.35;
	margin-bottom: 0.75rem;
}

ul.house-bullet {
	list-style: none;
	padding-left: 1.8rem !important;
}

ul.house-bullet li::before {
	content: "";
	background-image: url("img/house.png");
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
	width: 16px;
	height: 16px;
	position: relative;
	left: -1.7rem;
	margin-right: -1.1rem;
}

h1 {
	font-size: 4rem;
}

h2 {
	font-size: 3.3rem;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

figure {
	margin: 1.5em 0;
}

blockquote {
	border-left: 4px solid #ccc;
	padding-left: 1em;
	color: #666;
	margin: 1.5em 0;
}

.wp-block-table table td {
	border: none;
	padding: 0.3rem 0 0.3rem 0.3rem;
}

.wp-block-table td:nth-child(2n) {
	width: 9rem;
	text-align: center;
}

.wp-block-table table tr:nth-child(2n) {
	background-color: #f7edd8;
}

.has-global-padding>.alignfull {
	margin-right: 0;
	margin-left: 0;
}

/* == Layout == */

header {
	position: absolute;
	z-index: 1;
	width: 100%;
	background-color: #fbfaf3;
	padding-top: 1rem;
}

header .brand-container {
	display: flex;
}

.brand-text {
	font-family: 'Outfit';
	font-size: 2rem;
	font-weight: 300;
}

.mask-20 {
	position: relative;
	isolation: isolate;
	/* keeps the overlay below content */
}

.mask-20::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .20);
	/* 20% black */
	pointer-events: none;
	/* clicks pass through */
}

.site-header,
.site-footer {
	max-width: 1200px;
	margin: 0 auto;
}

.site-header h1 {
	display: none;
}

.is-content-justification-center {
	justify-content: center;
}

.is-vertical {
	flex-direction: column;
}

main.container {
	padding: 0;
}

/* == Blocks mimicry == */

.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-bottom: 0;
}

.wp-block-column {
	flex: 1;
	min-width: 200px;
}

.wp-block-image {
	margin: 1.5em 0;
}

.wp-block-quote {
	font-style: italic;
	color: #666;
	border-left: 4px solid #ccc;
	padding-left: 1em;
	margin: 1.5em 0;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1.5em 0;
}

.wp-block-button a {
	display: inline-block;
	padding: 0.7rem 2.2rem;
	font-size: 1.5rem;
	background-color: #1e1e1e;
	color: #fff;
	text-decoration: none;
}

.wp-block-button a:hover {
	background-color: #333;
}

.wp-block-details {
	padding: 0.5rem 1rem;
	margin: 0;
}

.wpcf7-form-control {
	font-size: 1.6rem;
	line-height: 1.5;
	padding: 0.2rem 0.5rem;
	width: 100%;
	border: 1px solid #999;
}

textarea {
	height: 12rem;
}

.lh-13 {
	line-height: 1.3;
}

.lh-13 small {
	font-size: 0.9rem;
	color: #666;
	margin: 0.5rem 0;
	display: block;
}

.lh-13 small+br {
	display: none;
}

select.wpcf7-form-control {
	padding: 0.3rem 0.5rem;
	cursor: pointer;
}

.wpcf7-form label,
.wpcf7-form-control-wrap {
	width: 100%;
}

.wp-block-button a,
.wpcf7-form-control.wpcf7-submit {
	background-color: #1e1e1e;
	color: #fff;
	cursor: pointer;
	width: auto;
	padding: 0.5rem 1rem;
	border-radius: 0;
	font-family: var(--font-primary);
}

.wp-block-button a:hover {
	background-color: #000;
}

.faq {
	width: 90%;
	gap: 0;
}

.faq details {
	width: 100%;
}

.faq details summary {
	cursor: pointer;
	font-size: 1.5rem;
}

.faq details p {
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 1rem;
}

.has-text-align-center {
	text-align: center;
}

.has-text-align-right {
	text-align: right;
}

.has-text-align-left {
	text-align: left;
}

.portfolio figure {
	display: flex;
	align-items: end;
}

.why .wp-block-column,
.services .wp-block-column {
	background: var(--color-theme);
	border-radius: 1rem;
}

.why .wp-block-image,
.services .wp-block-image {
	margin-bottom: 0;
}

.why .wp-block-column figure img,
.services .wp-block-column figure img {
	border-top-left-radius: 1rem;
	border-top-right-radius: 1rem;
}

.why .wp-block-group,
.services .wp-block-group {
	padding: 2rem;
	margin-top: 0;
}

.why .wp-block-image,
.services .wp-block-image {
	margin: 0;
}

.why ul,
.services ul {
	list-style: none;
	padding: 0;
}

.why ul li:before,
.services ul li:before {
	content: '✓';
	margin-right: 0.5rem;
}

.package {
	display: flex;
	flex-direction: column;
	padding: 3rem;
}

.package .wp-block-buttons {
	margin-top: auto;
}

a {
	color: black;
}

/* Nav */

.nav-item {
	font-family: var(--font-primary);
	font-size: 1.2rem;
	line-height: 1;
}

.nav-link {
	color: var(--color-primary);
	text-decoration: none;
}

.nav-item .nav-link img {
	width: 36px;
}

.navbar {
	padding-top: 0;
	padding-bottom: 0;
}

.navbar-nav {
	gap: 1rem;
}

.navbar-brand {
	padding: 0;
}

.navbar-brand img {
	width: 3rem;
}

footer .brand-logo {
	width: 5rem;
}

footer {
	padding-top: 2rem;
}

footer .icons a svg {
	width: 32px;
	height: 32px;
}

footer .icons {
	display: flex;
	gap: 1rem;
}

footer .navbar-nav {
	flex-direction: row;
	justify-content: center;
}

.gap-10 {
	gap: 5rem;
}

.object-bottom img,
.object-bottom {
	object-position: bottom;
}

.object-left img,
.object-left {
	object-position: left;
}

/* DESKTOP */

@media (min-width: 500px) {
	.mt-sm-10 {
		margin-top: 5rem;
	}
}

@media (min-width: 1200px) {

	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl {
		max-width: 100%;
	}

}

/* MOBILE */

@media (max-width: 500px) {
	.container>article>div:first-child>div:first-child {
		padding-top: 20vh !important;
		background-position: center;
	}

	.gap-10 {
		gap: 3rem;
	}

	.mask-20::before {
		background-color: rgba(216, 216, 216, 0.75);
	}

	h2 {
		font-size: 2.7rem;
		text-align: center;
	}

	h3 {
		font-size: 1.7rem;
		line-height: 1.3;
	}

	.package {
		padding: 2rem 1.5rem;
	}

	table {
		font-size: 1.25rem;
	}

	.wp-block-table td:nth-child(2n) {
		width: unset;
	}

	tr {
		display: flex;
		flex-direction: column;
		text-align: center;
	}

	.is-layout-flex .extra-right-column {
		margin-top: -1.3rem;
	}
}