/*
Theme Name: Buildler
Theme URI: https://buildler.com/themes/buildler
Author: Clinic Software
Author URI: https://clinicsoftware.com
Description: A WordPress block theme by Clinic Software for clinics, salons, and appointment-based practices. Native templates, block patterns, style variations and locally bundled fonts.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buildler
Tags: blog, one-column, two-columns, right-sidebar, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, sticky-post, style-variations, template-editing, threaded-comments, translation-ready, wide-blocks
*/

/*
 * Global rules theme.json cannot express.
 * Colours, type, spacing and radii stay in theme.json.
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
}

/*
 * Embedded frames, objects and audio/video players carry fixed dimensions
 * from oEmbed/mediaelement. Cap them so they never force the page wider
 * than the viewport.
 */
iframe,
embed,
object,
audio {
	max-width: 100%;
}

.wp-audio-shortcode,
.mejs-container,
.wp-video {
	max-width: 100%;
}

/*
 * Keep wide content from pushing the layout wider than the viewport.
 * Long unbroken strings, code blocks and tables should scroll within their
 * container instead of expanding the page.
 */
body,
p,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

pre,
code,
samp,
kbd {
	max-width: 100%;
	overflow-x: auto;
}

table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

figure {
	margin-left: 0;
	margin-right: 0;
}

/*
 * Classic caption figures carry an inline width from the [caption] shortcode
 * (e.g. style="width: 1200px"). Cap them to their container so they shrink on
 * small screens instead of forcing horizontal scrolling.
 */
.wp-caption {
	max-width: 100%;
}

.skip-link:focus {
	position: fixed;
	top: var(--wp--preset--spacing--30, 1rem);
	left: var(--wp--preset--spacing--30, 1rem);
	z-index: 100000;
}
