/*
Theme Name: Homelot
Theme URI: https://wordpress.com/theme/homelot
Author: Automattic
Author URI: https://automattic.com/
Description: A refined block theme for modern real estate agencies, pairing editorial typography with image-led layouts for listings, agent profiles, and location-aware search.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homelot
Tags: one-column, three-columns, four-columns, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks
*/

/* Crossfade page transition */

@view-transition {
	navigation: auto;
}

/*
 * Navigation overlay: render child menu items inline (not as a dropdown),
 * indented under their parent and inheriting its font size. The selector
 * needs to out-rank core's `.wp-block-navigation .has-child .wp-block-navigation__submenu-container`,
 * which theme.json block css cannot (it is emitted inside :root :where()).
 */
.wp-block-navigation .wp-block-navigation__overlay-container .has-child {
	flex-wrap: wrap;
}

.wp-block-navigation .wp-block-navigation__overlay-container .has-child .wp-block-navigation__submenu-container {
	position: static;
	flex-basis: 100%;
	min-width: 0;
	border: none;
	padding: 0 0 0 var(--wp--preset--spacing--40);
	/* Transparent, or an opaque box paints over the parent's descenders (line-height is 1). */
	background-color: transparent;
	color: inherit;
}

.wp-block-navigation .wp-block-navigation__overlay-container .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding-top: 0;
	padding-bottom: 0;
}

/* Font smoothing */
body {
	text-rendering: geometricprecision;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: 0.1em
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/*
 * Make sure footers have no margin.
 * https://github.com/WordPress/gutenberg/issues/47637
 */
footer.wp-block-template-part {
	margin-block-start: 0 !important;
}

/* Utility classes for removing text decoration from link . */
.no-underline a {
	text-decoration: none;
}

/* Utility classes for custom ordering . */
.order-0 {
	order: 0;
}

.order-1 {
	order: 1;
}

.grow-0 {
	flex-grow: 0;
}

.grow {
	flex-grow: 1;
}

@media (min-width: 600px) {
	.md\:order-0 {
		order: 0;
	}

	.md\:order-1 {
		order: 1;
	}

	.md\:grow-0 {
		flex-grow: 0;
	}

	.md\:grow {
		flex-grow: 1;
	}
}
