/*
Theme Name: i-BEC
Theme URI: https://i-bec.org/
Author: Interbalkan Environment Center
Author URI: https://i-bec.org/
Description: Bilingual (Greek / English) theme for the Interbalkan Environment Center, ported from the i-BEC Astro site. Ships the full design system, the project archive, the service catalogue and a one-click content importer. Built for PHP 5.6 and WordPress 6.2.
Version: 1.0.3
Requires at least: 4.9
Tested up to: 6.2
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: i-bec
Tags: two-columns, custom-menu, translation-ready, featured-images, full-width-template
*/

/*
 * The compiled design system lives in assets/css/theme.css (Tailwind CSS v4,
 * generated from the Astro sources). This file only carries the theme header
 * plus a few WordPress-specific rules that the Tailwind build cannot know about,
 * because they style markup that WordPress itself emits.
 */

/* Core WordPress alignment classes. */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-block-image figcaption {
	color: var(--color-muted);
	font-size: 0.8125rem;
	margin-top: 0.5rem;
}

.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;
}

.screen-reader-text:focus {
	background-color: #ffffff;
	clip: auto !important;
	clip-path: none;
	color: #1e5f34;
	display: block;
	font-size: 0.875rem;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

/* The admin bar must not hide the sticky header. */
.admin-bar .ibec-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .ibec-header {
		top: 46px;
	}
}

/* Filter chips shared by the project archive and the service catalogue. */
.archive-chip,
.service-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid var(--color-border);
	background: var(--color-surface);
	padding: 0.5rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--color-body);
	transition:
		background-color 150ms ease,
		border-color 150ms ease,
		color 150ms ease;
}

.archive-chip:hover,
.service-chip:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.archive-chip.is-active,
.service-chip.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.archive-chip-count,
.service-chip-count {
	font-size: 0.6875rem;
	font-variant-numeric: tabular-nums;
	color: var(--color-muted);
}

.archive-chip.is-active .archive-chip-count,
.service-chip.is-active .service-chip-count {
	color: rgb(255 255 255 / 0.7);
}
