/*
Theme Name: Classified Board
Theme URI: https://bilohash.com/
Author: BILOHASH
Author URI: https://bilohash.com/
Description: The companion theme for the Classified Board plugin: a quiet block theme that gets out of the way. The board brings its own header, footer and pages; everything else — posts, news, contact pages — uses the same colors and type.
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: classified-board-theme
Tags: blog, one-column, block-patterns, block-styles, full-site-editing, custom-colors, custom-logo, custom-menu, editor-style, template-editing, translation-ready, wide-blocks, accessibility-ready
*/

/* Block themes are styled in theme.json; only what it cannot express lives here. */

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

:where(.wp-site-blocks) a:focus-visible,
:where(.wp-site-blocks) button:focus-visible,
:where(.wp-site-blocks) input:focus-visible,
:where(.wp-site-blocks) select:focus-visible,
:where(.wp-site-blocks) textarea:focus-visible,
:where(.wp-site-blocks) summary:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 2px;
}

/* The site header, kept small so the board below it is the page. */
.cbt-header {
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.cbt-footer {
	border-top: 1px solid var(--wp--preset--color--line);
}

.cbt-post-card {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	overflow: hidden;
}

.cbt-post-card img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
