/*
Theme Name: GOL Directory
Theme URI: https://guide.md
Author: GOL Directory
Description: Lightweight block theme for the GOL physician directory. Header, footer and navigation are edited visually in Appearance → Editor. Includes page templates for the directory search, provider profiles, claim flow and a wide/full-width layout. No page builder, no bloat.
Version: 1.6.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gol-theme
Tags: block-theme, full-site-editing, directory, one-column, custom-menu, editor-style, wide-blocks
*/

/* Block themes get their design from theme.json; this file holds only the
   small extras that CSS expresses better than settings. */

body {
	-webkit-font-smoothing: antialiased;
}

.gol-search-form input[type="text"],
.gol-search-form select,
.gol-ai-search input[type="text"] {
	border: 1px solid var(--wp--preset--color--border, #d9d9d9);
	border-radius: 6px;
	font: inherit;
}

.gol-search-form button,
.gol-ai-search button,
.gol-profile .button,
.wp-block-button__link {
	border-radius: 6px;
	cursor: pointer;
}

.gol-facets h3 {
	border-bottom: 1px solid var(--wp--preset--color--border, #e8e8e8);
	padding-bottom: 4px;
}

.gol-facets a {
	text-decoration: none;
}

.gol-facets a:hover {
	text-decoration: underline;
}

.gol-search-results a,
.gol-profile a {
	color: var(--wp--preset--color--primary, #0f6fc5);
}

.gol-profile h1 {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	line-height: 1.15;
}

/* Tables inside profiles must never break the layout on phones. */
.gol-profile table,
.gol-procedures table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
}

@media (max-width: 782px) {
	.gol-search-layout {
		flex-direction: column;
	}
	.gol-facets {
		flex: 1 1 auto !important;
		width: 100%;
	}
}

/* Screen-reader helper (themes must provide this). */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
