/*
Theme Name: AUGB Glasgow GeneratePress Child
Theme URI: https://augb-glasgow.co.uk
Description: Child theme for the AUGB Glasgow website, built on GeneratePress.
Author: AUGB Glasgow
Template: generatepress
Version: 1.1.285
Text Domain: augb-glasgow
*/

@font-face {
	font-family: "Manrope";
	src:
		url("assets/fonts/Manrope-VariableFont_wght.woff2") format("woff2"),
		url("assets/fonts/Manrope-VariableFont_wght.ttf") format("truetype");
	font-weight: 200 800;
	font-style: normal;
	font-display: block;
}

/* ==========================================================================
   01. Токени
   ========================================================================== */

:root {
	/* Токени AUGB. Єдина система: усі змінні з префіксом --augb-. Кольори в правилах — лише через токени. */

	/* Бренд */
	--augb-primary: #023e8a;
	--augb-primary-2: #0077b6;
	--augb-warm: #ff931f;
	--augb-warm-hover: #e97812;

	/* Текст */
	--augb-text: #172033;
	--augb-text-secondary: #5e6677;
	--augb-text-muted: #8a93a3;
	--augb-text-inverse: #fff;

	/* Поверхні */
	--augb-surface: #fff;
	--augb-surface-soft: #f7fafc;
	--augb-surface-tint: #f8fbfd;
	--augb-surface-ice: #f7fcfe;
	--augb-surface-chip: #eef9fc;
	--augb-surface-chip-hover: #e4f7fd;
	--augb-surface-hover: #e8f8fc;
	--augb-icon-bg: #eaf8fc;
	--augb-topline-bg: rgba(247, 250, 252, 0.84);
	--augb-header-bg: rgba(255, 255, 255, 0.96);
	--augb-badge-bg: rgba(255, 147, 31, 0.16);

	/* Рамки */
	--augb-border: #dfe6f1;
	--augb-border-soft: #edf1f6;
	--augb-border-light: #cfe7f3;
	--augb-border-hover: #bfe7f3;
	--augb-border-accent: #90d2e8;
	--augb-border-chip: #d9f0f7;
	--augb-border-icon: #d6e8f0;
	--augb-border-icon-badge: #c7ecf6;
	--augb-border-tab-active: rgba(2, 62, 138, 0.1);

	/* Стани */
	--augb-danger: #c93632;
	--augb-danger-text: #9e2b28;
	--augb-danger-bg: #fffafa;
	--augb-danger-border: rgba(201, 54, 50, 0.28);
	--augb-success-border: rgba(0, 119, 182, 0.24);
	--augb-disabled-opacity: 0.4;

	/* Футер (світле на темному) */
	--augb-footer-line: rgba(255, 255, 255, 0.20);
	--augb-footer-border: rgba(255, 255, 255, 0.22);
	--augb-footer-hover-border: rgba(247, 252, 254, 0.6);

	/* Тіні */
	--augb-shadow-soft: 0 8px 30px rgba(2, 62, 138, 0.06);
	--augb-shadow-lift: 0 12px 24px rgba(5, 70, 95, 0.12);
	--augb-shadow-readonly: inset 0 0 0 999px rgba(94, 102, 119, 0.03);

	/* Фони-градієнти */
	--augb-bg-page:
		linear-gradient(90deg, rgba(0, 180, 216, 0.04), transparent 28%, transparent 72%, rgba(255, 147, 31, 0.04)),
		var(--augb-surface);
	--augb-bg-news:
		linear-gradient(135deg, rgba(255, 147, 31, 0.10), rgba(255, 255, 255, 0.94) 44%),
		var(--augb-surface);
	--augb-bg-team:
		linear-gradient(135deg, rgba(2, 62, 138, 0.04), rgba(255, 255, 255, 0.96)),
		var(--augb-surface);
	--augb-bg-map-grid:
		linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
		rgba(255, 255, 255, 0.10);

	/* Лейаут */
	--augb-container: 1200px;
	--augb-grid-gap: var(--augb-space-24);
	--augb-section-gap: 56px;
	--augb-content-padding: 36px;
	--augb-sidebar-width: 30%;
	--augb-heading-width: 520px;
	--augb-radius-card: 16px;
	--augb-card-pad-sm: 20px;
	--augb-card-pad-md: 28px;
	--augb-media-h-card: 200px;

	/* Типографіка */
	--augb-h1-size: 44px;
	--augb-h1-line: 50px;
	--augb-home-h1-size: 48px;
	--augb-home-h1-line: 54px;
	--augb-h2-size: 28px;
	--augb-h2-line: 34px;
	--augb-h3-size: 18px;
	--augb-h3-line: 24px;
	--augb-h4-size: 16px;
	--augb-h4-line: 22px;
	--augb-h5-size: 14px;
	--augb-h5-line: 20px;
	--augb-h6-size: 12px;
	--augb-h6-line: 18px;
	--augb-prose-size: 15px;
	--augb-prose-line: 24px;
	--augb-prose-gap: var(--augb-space-14);

	/* Текст (не заголовки): 4 розміри — xs, sm, md (= prose), lg */
	--augb-text-xs-size: 12px;
	--augb-text-xs-line: 16px;
	--augb-text-sm-size: 14px;
	--augb-text-sm-line: 20px;
	--augb-text-lg-size: 20px;
	--augb-text-lg-line: 26px;

	/* Відступи (gap, margin, padding): шкала px */
	--augb-space-2: 2px;
	--augb-space-4: 4px;
	--augb-space-5: 5px;
	--augb-space-6: 6px;
	--augb-space-7: 7px;
	--augb-space-8: 8px;
	--augb-space-10: 10px;
	--augb-space-12: 12px;
	--augb-space-14: 14px;
	--augb-space-15: 15px;
	--augb-space-16: 16px;
	--augb-space-18: 18px;
	--augb-space-20: 20px;
	--augb-space-22: 22px;
	--augb-space-24: 24px;
	--augb-space-28: 28px;
	--augb-space-30: 30px;
	--augb-space-32: 32px;
	--augb-space-38: 38px;
	--augb-space-40: 40px;

	/* Елементи керування: внутрішні відступи */
	--augb-pad-button-y: 12px;
	--augb-pad-button-x: 24px;
	--augb-pad-control-y: 12px;
	--augb-pad-control-x: 16px;
	--augb-pad-icon: 8px;

	/* Форми */
	--augb-form-field-height: 48px;
	--augb-form-radius: 10px;
	--augb-form-focus: 0 0 0 3px rgba(0, 180, 216, 0.16);

	/* Анімація */
	--augb-transition-ui:
		background-color 180ms ease,
		border-color 180ms ease,
		color 180ms ease,
		box-shadow 180ms ease,
		opacity 180ms ease,
		visibility 180ms ease,
		transform 180ms ease;
}

/* ==========================================================================
   02. Reset і базові контроли
   ========================================================================== */

/* Reset — один на сайт. Специфічність свідомо різна:
   *            — (0,0,0): усе інше;
   :is(теги)    — (0,0,1): перебиває нульові :where() з CSS ядра WP;
   :is(класи)   — (0,1,0): перебиває класові поля сторонніх блоків і форм (GB, WP, ACF, AF).
   Компоненти задають свої відступи нижче класами і виграють за порядком. */
*,
*::before,
*::after,
:is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, dt, figure, blockquote, label, fieldset, legend, form, input, select, textarea, button),
:is(.gb-text, .wp-block-post-title, .wp-block-heading, .wp-block-post-excerpt, .wp-block-post-template, .wp-block-term-name,
	.wp-block-term-template, .wp-block-post-featured-image, .wp-block-group, .wp-block-list, .wp-block-button,
	.gb-button, .gb-menu, .gb-menu-item, .gb-tabs__menu-item, .gb-media,
	.acf-label, .acf-form-submit, .acf-field, .acf-input, .acf-fields, .af-field, .af-label, .af-submit, .af-form,
	.acf-notice, .selected) {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* Кнопки форм плагінів: внутрішні відступи токенами. .augb-button задає свої в компоненті. */
:is(.acf-button, .af-submit-button, input[type="submit"], input[type="button"]) {
	padding: var(--augb-pad-button-y) var(--augb-pad-button-x);
}

:is(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea) {
	padding: var(--augb-pad-control-y) var(--augb-pad-control-x);
}

/* Типографічні відступи: задаємо токенами після обнулення native-елементів. */
ul {
	margin-block: var(--augb-space-15);
	padding-inline-start: var(--augb-space-40);
}

/* ==========================================================================
   03. База: документ, типографіка, медіа
   ========================================================================== */

html {
	overflow-x: clip;
	scroll-behavior: smooth;
	scroll-padding-top: 138px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	min-width: 0;
	overflow-x: clip;
	color: var(--augb-text);
	font-family: "Manrope", Arial, sans-serif;
	font-size: var(--augb-prose-size);
	line-height: var(--augb-prose-line);
	letter-spacing: 0;
	padding-top: 138px;
	/* Фон усього сайту — заданий один раз тут. !important перебиває
	   GeneratePress body { background: var(--base-2) } (інлайн-стиль). */
	background: var(--augb-bg-page) !important;
}

a {
	color: var(--augb-primary);
	text-decoration: none;
}

:where(
	a,
	button:where(:not(#wpadminbar *)),
	input[type="button"]:where(:not(#wpadminbar *)),
	input[type="submit"]:where(:not(#wpadminbar *)),
	.site-main form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="reset"]), select, textarea),
	.augb-button,
	.site-main .gb-tabs .gb-tabs__menu-item,
	.augb-scroll-top,
	.augb-calendar-card,
	.augb-upcoming-event-row
) {
	transition: var(--augb-transition-ui);
}

h1,
.wp-block-query-title,
h2,
h3,
h4,
h5,
h6 {
	color: var(--augb-primary);
	font-weight: 800;
	text-transform: none;
}

h1,
.wp-block-query-title {
	font-size: var(--augb-h1-size);
	line-height: var(--augb-h1-line);
}

h2 {
	font-size: var(--augb-h2-size);
	line-height: var(--augb-h2-line);
}

h3 {
	color: var(--augb-text);
	font-size: var(--augb-h3-size);
	line-height: var(--augb-h3-line);
}

h4 {
	color: var(--augb-text);
	font-size: var(--augb-h4-size);
	line-height: var(--augb-h4-line);
}

h5 {
	font-size: var(--augb-h5-size);
	line-height: var(--augb-h5-line);
}

h6 {
	color: var(--augb-text-secondary);
	font-size: var(--augb-h6-size);
	line-height: var(--augb-h6-line);
}

p {
	color: var(--augb-text-secondary);
}

/* GB Text — базова типографіка тексту замість p.
   :where() дає нульову специфічність: будь-який клас компонента її перебиває. */
:where(.gb-text) {
	color: var(--augb-text-secondary);
}

span.gb-text {
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 700;
}

/* Потік тексту в контенті сторінок (.entry-content) і статей
   (GP Content Template — .dynamic-entry-content): відступ задає контейнер. */
.entry-content > * + *,
.dynamic-entry-content > * + * {
	margin-top: var(--augb-prose-gap);
}

img.has-border-color {
	border-width: 1px;
	border-style: solid;
	border-radius: var(--augb-radius-card);
}

.wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

[style*="--inline-bg-image"] {
	border: 1px solid var(--augb-border-light);
	border-radius: var(--augb-radius-card);
	background-image: var(--inline-bg-image);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-blend-mode: normal;
}

/* Нативні кнопки. Адмін-бар WP і scroll-top виключені; :where() не додає специфічності. */
button:where(:not(#wpadminbar *, .augb-scroll-top)),
input[type="button"]:where(:not(#wpadminbar *)),
input[type="submit"]:where(:not(#wpadminbar *)) {
	border-radius: 10px;
	font-family: inherit;
	font-weight: 800;
}

/* База WordPress / GeneratePress. */
img {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

.gp-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Заголовки: одна система відступів (шкала --space-*), розміри — з токенів --augb-h*-size */
.site-content :is(h1, h2, h3, h4, h5, h6),
.augb-footer :is(h1, h2, h3, h4, h5, h6) {
	margin: 0 0 var(--augb-space-16);
}

.site-content h1 {
	margin-bottom: var(--augb-space-24);
}

.site-content :is(h3),
.augb-footer :is(h3) {
	margin-bottom: var(--augb-space-12);
}

.site-content :is(h4, h5, h6) {
	margin-bottom: var(--augb-space-8);
}

.augb-section-head :is(h1, h2, h3, h4, h5, h6) {
	margin: 0;
}

:is(p, ul, ol, figure, .gb-text) + :is(h1, h2, h3, h4, h5, h6) {
	margin-top: var(--augb-prose-gap);
}

/* ==========================================================================
   04. Лейаут GeneratePress і контейнери
   ========================================================================== */

.home .site-content,
.home .content-area,
.home .site-main,
.home .inside-article,
.home .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.home .site-content {
	display: block;
}

.site.grid-container {
	width: 100%;
	max-width: none;
}

.augb-container {
	width: min(var(--augb-container), calc(100% - 80px));
	margin-inline: auto;
}

/* Layout — GeneratePress, Separate Containers (CSS GP вимкнено).
   Колонки — flex: сайдбар без вмісту (GP Element не виведено) зникає, контент займає всю ширину. */
.site-content {
	width: min(var(--augb-container), calc(100% - 80px));
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: var(--augb-grid-gap);
}

.content-area,
.widget-area,
.site-main {
	float: none;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.content-area {
	flex: 1 1 0;
}

.widget-area {
	flex: 0 0 var(--augb-sidebar-width);
}

.widget-area:not(:has(> [class^="inside-"] > *)) {
	display: none;
}

.site-main,
.inside-right-sidebar,
.site-main > .dynamic-content-template {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--augb-grid-gap);
}

.inside-right-sidebar > * {
	min-width: 0;
}

.inside-article,
.site-main > .dynamic-content-template:not(:has(> .inside-article)) {
	padding: var(--augb-content-padding);
}

/* ==========================================================================
   05. Шапка: top-line, header, меню, хлібні крихти
   ========================================================================== */

.augb-breadcrumbs {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	font-weight: 700;
	line-height: var(--augb-text-xs-line);
}

.augb-breadcrumbs-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin: 0;
	padding: 18px var(--augb-content-padding) 0;
	list-style: none;
}

.augb-breadcrumbs-item + .augb-breadcrumbs-item::before {
	content: "/";
	margin: 0 8px;
	color: var(--augb-text-muted);
}

.augb-breadcrumbs-link {
	color: var(--augb-primary);
	text-decoration: none;
}

.augb-breadcrumbs-current {
	color: var(--augb-text-secondary);
}

.augb-top-line {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 50;
	height: 38px;
	border-bottom: 1px solid var(--augb-border-soft);
	background: var(--augb-topline-bg);
	backdrop-filter: blur(16px);
}

.augb-top-line .augb-container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--augb-space-12);
}

.augb-top-account {
	height: 100%;
	margin-right: auto;
	display: flex;
	align-items: center;
}

.augb-top-account-link {
	display: inline-flex;
	align-items: center;
}

.augb-top-account-link a {
	display: inline-flex;
	align-items: center;
	color: var(--augb-primary);
	font-size: var(--augb-text-xs-size);
	font-weight: 800;
	line-height: var(--augb-text-xs-line);
	text-decoration: none;
	white-space: nowrap;
}

.augb-top-account-link a:is(:hover, :focus-visible) {
	color: var(--augb-warm);
}

.augb-social-dot {
	width: 28px;
	height: 28px;
	border: 1px solid var(--augb-border-light);
	border-radius: 50%;
	background: var(--augb-surface) no-repeat center / 15px 15px;
}

.augb-header {
	position: fixed;
	top: 38px;
	right: 0;
	left: 0;
	z-index: 50;
	height: 100px;
	background: var(--augb-header-bg);
	border-bottom: 1px solid var(--augb-border-soft);
	backdrop-filter: blur(16px);
}

body.admin-bar .augb-top-line {
	top: 32px;
}

body.admin-bar .augb-header {
	top: 70px;
}

.augb-header .augb-container {
	height: 100%;
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr) auto auto;
	align-items: center;
	gap: clamp(var(--augb-space-12), 1.4vw, var(--augb-space-20));
}

.augb-header .augb-container > div {
	min-width: 0;
}

/* Головне меню — GB Navigation. Шрифт 12–14px від ширини вікна; пункти, що не вміщаються, переносяться на другий рядок. */
.augb-header .gb-menu {
	justify-content: center;
	gap: 0 clamp(var(--augb-space-6), 0.8vw, var(--augb-space-8));
	font-size: clamp(12px, 1.1vw, 14px);
	font-weight: 600;
}

/* WP-меню у top-line і футері: ul прозорий, li — елементи flex-контейнера. */
.augb-top-social > ul,
.augb-footer-nav > ul {
	display: contents;
	list-style: none;
}

.augb-header .gb-menu .gb-menu-link {
	position: relative;
	padding: 10px 0;
	color: var(--augb-primary);
	white-space: nowrap;
}

.augb-header .gb-menu .gb-menu-link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: var(--augb-primary);
	opacity: 0;
}

.augb-header .gb-menu :is(.current-menu-item, .current_page_item) > .gb-menu-link::after,
.augb-header .gb-menu .gb-menu-link:is(:hover, :focus-visible)::after {
	opacity: 1;
}

/* Соц-іконки в top-line (WP-меню augb_social): SVG-фон на <li class="augb-social-dot soc-*">. */
.augb-top-social {
	display: flex;
	gap: var(--augb-space-8);
}

/* приховати текстову назву в <a>, лишити клікабельну область */
.augb-social-dot a {
	display: block;
	width: 100%;
	height: 100%;
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-indent: -9999px;
	overflow: hidden;
}

.augb-top-social .soc-facebook  { background-image: url("/wp-content/uploads/facebook-logo.svg"); }

.augb-top-social .soc-instagram { background-image: url("/wp-content/uploads/instagram-logo.svg"); }

.augb-top-social .soc-linkedin  { background-image: url("/wp-content/uploads/linkedin-logo.svg"); }

.augb-top-social .soc-telegram  { background-image: url("/wp-content/uploads/telegram-logo.svg"); }

.augb-top-social .soc-threads   { background-image: url("/wp-content/uploads/threads-logo.svg"); }

.augb-top-social .soc-whatsapp  { background-image: url("/wp-content/uploads/whatsapp-logo.svg"); }

.augb-top-social .soc-x         { background-image: url("/wp-content/uploads/x-logo.svg"); }

/* Лого-бренд у header (GB-блок .augb-brand-logo): лого 74×74 + текст. */
.augb-brand-logo {
	display: flex;
	align-items: center;
	gap: var(--augb-space-12);
	min-width: 0;
}

.augb-header .augb-container > .augb-brand-logo > a:first-child {
	width: 74px;
	flex: 0 0 74px;
	display: block;
}

.augb-header .augb-container > .augb-brand-logo > a:first-child img {
	width: 74px;
	height: 74px;
	display: block;
	object-fit: contain;
}

/* Виняток з токенів тексту: шрифт лого. */
.augb-header .augb-container > .augb-brand-logo .gb-text > a {
	color: var(--augb-primary);
	font-weight: 800;
	font-size: 20px;
	line-height: 1.1;
	text-decoration: none;
}

.augb-social-dot:hover { background-color: var(--augb-surface-soft); }

.augb-top-social .soc-facebook:hover { background-image: url("/wp-content/uploads/facebook-logo-hover.svg"); }

.augb-top-social .soc-instagram:hover { background-image: url("/wp-content/uploads/instagram-logo-hover.svg"); }

.augb-top-social .soc-linkedin:hover { background-image: url("/wp-content/uploads/linkedin-logo-hover.svg"); }

.augb-top-social .soc-telegram:hover { background-image: url("/wp-content/uploads/telegram-logo-hover.svg"); }

.augb-top-social .soc-threads:hover { background-image: url("/wp-content/uploads/threads-logo-hover.svg"); }

.augb-top-social .soc-whatsapp:hover { background-image: url("/wp-content/uploads/whatsapp-logo-hover.svg"); }

.augb-top-social .soc-x:hover { background-image: url("/wp-content/uploads/x-logo-hover.svg"); }

/* ==========================================================================
   06. Кнопки й посилання-CTA
   ========================================================================== */

/* Кнопки: одна база .augb-button. Кнопки відправки форм (ACF тощо) = .augb-button.is-primary. */
.augb-button,
.site-main form :is(button:not([type="button"], [type="reset"]), input[type="submit"], input[type="button"]):not(.augb-button) {
	min-height: 48px;
	padding: var(--augb-pad-button-y) var(--augb-pad-button-x);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 10px;
	box-shadow: none;
	cursor: pointer;
	font-family: inherit;
	font-size: var(--augb-h5-size);
	font-weight: 800;
	line-height: var(--augb-h5-line);
	text-decoration: none;
	white-space: nowrap;
}

.augb-button.is-primary,
.augb-cookie-accept.augb-button,
.site-main form :is(button:not([type="button"], [type="reset"]), input[type="submit"], input[type="button"]):not(.augb-button) {
	background: var(--augb-primary);
	color: var(--augb-text-inverse);
}

.augb-button.is-primary:is(:hover, :focus-visible),
.augb-cookie-accept.augb-button:is(:hover, :focus-visible),
.site-main form :is(button:not([type="button"], [type="reset"]), input[type="submit"], input[type="button"]):not(.augb-button):is(:hover, :focus-visible) {
	background: var(--augb-primary-2);
}

.augb-button.is-outline,
.augb-cookie-reject.augb-button {
	background: var(--augb-surface);
	color: var(--augb-primary);
	border-color: var(--augb-border-accent);
}

.augb-button.is-outline:is(:hover, :focus-visible),
.augb-cookie-reject.augb-button:is(:hover, :focus-visible) {
	background-color: var(--augb-surface-hover);
	color: var(--augb-primary);
	border-color: var(--augb-primary);
}

.augb-button.is-warm {
	min-height: 52px;
	min-width: clamp(120px, 12vw, 164px);
	padding: 13px clamp(20px, 2.2vw, 32px);
	background: var(--augb-warm);
	color: var(--augb-surface-ice);
	border-radius: 12px;
}

.augb-button.is-warm:is(:hover, :focus-visible) {
	border-color: var(--augb-warm);
	background-color: var(--augb-surface-hover);
	color: var(--augb-warm);
}

/* Мала обвідна кнопка: вихід з акаунта і навігація календаря.
   Вигляд і hover — як у .augb-button.is-outline. */
.augb-account-signout,
.augb-events-calendar-button,
.nav-links .page-numbers:not(.dots),
.af-form .acf-repeater-add-row {
	min-height: 38px;
	padding: 8px 14px;
	border: 1px solid var(--augb-border-accent);
	border-radius: 10px;
	background: var(--augb-surface);
	box-shadow: none;
	color: var(--augb-primary);
	cursor: pointer;
	font-family: inherit;
	font-size: var(--augb-text-sm-size);
	font-weight: 800;
	line-height: var(--augb-text-sm-line);
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
}

.augb-account-signout,
.af-form .acf-repeater-add-row {
	display: inline-flex;
	align-items: center;
}

.augb-account-signout:is(:hover, :focus-visible),
.nav-links a.page-numbers:is(:hover, :focus-visible),
.af-form .acf-repeater-add-row:is(:hover, :focus-visible),
.augb-events-calendar-button:is(:hover, :focus-visible),
.augb-upcoming-event-row:is(:hover, :focus-visible) .augb-upcoming-event-action {
	border-color: var(--augb-primary);
	background: var(--augb-surface-hover);
	color: var(--augb-primary);
}

.augb-link-cta {
	display: inline-flex;
	align-items: center;
	gap: var(--augb-space-7);
	color: var(--augb-warm);
	font-size: var(--augb-text-sm-size);
	font-weight: 800;
	line-height: var(--augb-text-sm-line);
	text-decoration: none;
}

.augb-link-cta .gb-text {
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.augb-link-cta:is(:hover, :focus-visible) {
	color: var(--augb-primary-2);
}

/* ==========================================================================
   07. Форми, авторизація, вкладки
   ========================================================================== */

/* Forms — WP / ACF Advanced Forms / augb-auth-form. */
.site-main form label,
.af-form .acf-field .acf-label label {
	display: inline-flex;
	align-items: baseline;
	gap: var(--augb-space-6);
	margin: 0 0 8px;
	color: var(--augb-text);
	font-size: var(--augb-text-sm-size);
	font-weight: 700;
	line-height: var(--augb-text-sm-line);
}

.site-main form :is(.required, .acf-required) {
	color: var(--augb-danger);
	font-size: var(--augb-text-xs-size);
	font-weight: 600;
	line-height: var(--augb-text-xs-line);
}

.site-main form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="reset"]), select, textarea) {
	width: 100%;
	min-height: var(--augb-field-height, var(--augb-form-field-height));
	padding: 12px 14px;
	border: 1px solid var(--augb-border);
	border-radius: var(--augb-form-radius);
	background: var(--augb-surface);
	box-shadow: none;
	color: var(--augb-text);
	font-family: inherit;
	font-size: var(--augb-text-sm-size);
	font-weight: 500;
	line-height: var(--augb-text-sm-line);
}

.site-main form textarea {
	--augb-field-height: 160px;
	resize: vertical;
}

.site-main form :is(input, textarea)::placeholder {
	color: var(--augb-text-muted);
	opacity: 1;
}

.site-main form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"], [type="button"], [type="reset"]), select, textarea):focus {
	border-color: var(--augb-primary-2);
	box-shadow: var(--augb-form-focus);
	outline: 0;
}

.site-main form :is(input, select, textarea, button):disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.site-main form input:is([type="checkbox"], [type="radio"]),
.af-form .acf-input input:is([type="checkbox"], [type="radio"]) {
	width: auto;
	margin: 0;
	accent-color: var(--augb-primary);
}

.site-main form :is(.is-error, .acf-error) :is(input, select, textarea) {
	border-color: var(--augb-danger);
	background: var(--augb-danger-bg);
}

.site-main form .form-error {
	margin-top: 8px;
	color: var(--augb-danger);
	font-size: var(--augb-text-xs-size);
	font-weight: 600;
	line-height: var(--augb-text-xs-line);
}

/* ACF Advanced Forms: прибрати оформлення плагіна, відступи — gap контейнера. */
.af-form .acf-fields {
	display: grid;
	gap: var(--augb-space-18);
}

/* ACF Group: вкладені поля — картка. */
.af-form .acf-field-group > .acf-input > .acf-fields {
	padding: 18px;
	border: 1px solid var(--augb-border);
	border-radius: 14px;
	background: var(--augb-surface-soft);
}

/* ACF Repeater: таблиця без оформлення плагіна. */
.af-form .acf-repeater .acf-table {
	border: 0;
	background: none;
}

.af-form .acf-repeater .acf-table :is(th, td) {
	padding: 0 12px 12px 0;
	border: 0;
	background: none;
	vertical-align: middle;
}

.af-form .acf-repeater .acf-table .acf-row-handle {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 700;
	text-shadow: none;
}

.af-form .acf-repeater .acf-icon {
	border-color: var(--augb-border-accent);
	background: var(--augb-surface);
	color: var(--augb-primary);
}

.af-form .acf-fields > .acf-field,
.af-form .af-submit {
	margin: 0;
	padding: 0;
	border: 0;
}

/* .af-submit — елемент тієї ж сітки: 18px gap + 10px = 28px до кнопки. */
.af-form .af-submit {
	margin-top: 10px;
}

.af-form .acf-field .acf-label {
	margin: 0;
}

.af-form .acf-field p.description {
	margin: 0 0 8px;
	color: var(--augb-text-muted);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.af-form .acf-bl {
	display: grid;
	gap: var(--augb-space-8);
}

.af-form :is(.acf-checkbox-list, .acf-radio-list) li {
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.site-main form :is(.acf-checkbox-list, .acf-radio-list) label {
	display: inline-flex;
	align-items: center;
	gap: var(--augb-space-8);
	margin: 0;
	font-weight: 500;
	line-height: 22px;
}

.af-form .acf-notice.-error {
	margin: 0 0 8px;
	padding: 10px 12px;
	border: 1px solid var(--augb-danger-border);
	border-radius: var(--augb-form-radius);
	background: var(--augb-danger-bg);
	color: var(--augb-danger-text);
}

.af-form .acf-notice p {
	margin: 0;
	color: inherit;
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-auth {
	max-width: 620px;
	color: var(--augb-text-secondary);
}

.augb-auth-form {
	display: grid;
	gap: var(--augb-space-18);
	margin: 0;
}

.augb-auth-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--augb-space-18);
}

.augb-auth .augb-form-row {
	margin: 0;
}

.augb-auth .augb-form-check {
	margin: 0;
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-auth .augb-form-check label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: var(--augb-space-10);
	margin: 0;
	font-weight: 500;
}

.augb-auth .augb-form-check input:is([type="checkbox"], [type="radio"]) {
	margin-top: 4px;
}

.augb-auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-12);
	margin-top: 4px;
}

.augb-auth-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-10) var(--augb-space-18);
	color: var(--augb-text-muted);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-auth-message {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px solid var(--augb-border);
	border-radius: 10px;
	background: var(--augb-surface-soft);
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-sm-size);
	font-weight: 600;
	line-height: var(--augb-text-sm-line);
}

.augb-auth-message.is-success {
	border-color: var(--augb-success-border);
	background: var(--augb-surface-hover);
	color: var(--augb-primary);
}

.augb-auth-message.is-error {
	border-color: var(--augb-danger-border);
	background: var(--augb-danger-bg);
	color: var(--augb-danger-text);
}

.augb-auth-view[hidden] {
	display: none;
}

.augb-auth-subheader {
	margin: 0 0 18px;
}

.augb-auth-subheader h3 {
	color: var(--augb-primary);
}

.augb-auth-toggle {
	display: inline-flex;
	align-items: center;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--augb-primary);
	cursor: pointer;
	font: inherit;
	font-weight: 800;
	line-height: inherit;
	text-align: left;
	text-decoration: none;
}

/* Вкладки GB Tabs. */
.site-main .gb-tabs .gb-tabs__menu-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: transparent;
	color: var(--augb-text-secondary);
	cursor: pointer;
}

.site-main .gb-tabs .gb-tabs__menu-item .gb-text {
	margin: 0;
	font-family: inherit;
	font-size: var(--augb-prose-size);
	font-weight: 800;
	line-height: var(--augb-prose-line);
	text-align: center;
}

.site-main .gb-tabs .gb-tabs__menu-item .gb-text {
	color: inherit;
}

.site-main .gb-tabs .gb-tabs__menu-item.gb-block-is-current {
	border-color: var(--augb-border-tab-active);
	background: var(--augb-surface);
	box-shadow: var(--augb-shadow-soft);
	color: var(--augb-primary);
}

.site-main .gb-tabs .gb-tabs__menu-item:is(:hover, :focus-visible) {
	background: var(--augb-surface);
	color: var(--augb-primary);
}

.augb-auth-toggle:is(:hover, :focus-visible) {
	color: var(--augb-warm);
}

.site-main .gb-tabs {
	display: grid;
	gap: var(--augb-space-30);
}

.site-main .gb-tabs:has(.augb-account-dashboard) {
	gap: 0;
}

.site-main .gb-tabs:has(.augb-account-dashboard) > .gb-tabs__menu {
	display: none;
}

.site-main .gb-tabs:has(.augb-account-dashboard) .gb-tabs__items {
	max-width: none;
}

.site-main .gb-tabs .gb-tabs__menu {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: var(--augb-space-4);
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	padding: 4px;
	border: 1px solid var(--augb-border);
	border-radius: 12px;
	background: var(--augb-surface-soft);
	box-shadow: var(--augb-shadow-soft);
}

.site-main .gb-tabs .gb-tabs__items {
	max-width: 720px;
	width: 100%;
	margin-inline: auto;
}

.site-main .gb-tabs .gb-tabs__item {
	min-width: 0;
}

.site-main .gb-tabs .augb-auth {
	max-width: none;
}

.augb-auth-helper {
	margin: 14px 0 0;
	font-size: var(--augb-text-sm-size);
	font-weight: 700;
	line-height: var(--augb-text-sm-line);
}

/* ==========================================================================
   08. Кабінет (My account)
   ========================================================================== */

.augb-account-dashboard {
	width: 100%;
	color: var(--augb-text-secondary);
}

.augb-account-dashboard-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--augb-space-24);
	margin: 0 0 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--augb-border-soft);
}

.augb-account-eyebrow {
	margin: 0 0 4px;
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	font-weight: 800;
	line-height: var(--augb-text-xs-line);
	text-transform: uppercase;
}

.augb-account-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--augb-space-24);
	align-items: start;
}

.augb-account-card {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--augb-border);
	border-radius: 14px;
	background: var(--augb-surface-soft);
}

.augb-account-card h3 {
	color: var(--augb-primary);
}

.augb-account-card-copy {
	margin: -8px 0 18px;
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-account-dashboard input[readonly] {
	border-color: var(--augb-border);
	background: var(--augb-border-soft);
	box-shadow: var(--augb-shadow-readonly);
	color: var(--augb-text-secondary);
	cursor: not-allowed;
	-webkit-text-fill-color: var(--augb-text-secondary);
}

/* ==========================================================================
   09. Головна: секції й компоненти
   ========================================================================== */

.augb-section {
	width: min(var(--augb-container), calc(100% - 80px));
	margin: var(--augb-section-gap) auto 0;
}

.augb-section.augb-hero {
	margin-top: 0;
}

.augb-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--augb-space-10);
	margin-bottom: 22px;
}

.augb-section-head > :first-child {
	min-width: 0;
}

.augb-section-head h2 {
	display: block;
}

.augb-section-head .augb-link-cta {
	flex: 0 0 auto;
}

.augb-hero {
	padding-top: var(--augb-section-gap);
}

.augb-hero h1 {
	max-width: var(--augb-heading-width);
	font-size: var(--augb-home-h1-size);
	line-height: var(--augb-home-h1-line);
}

.augb-text-small {
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	gap: var(--augb-grid-gap);
	align-items: center;
}

/* Виняток з токенів тексту: hero. */
.augb-hero-copy {
	display: grid;
	gap: var(--augb-space-22);
	font-size: 20px;
	line-height: 1.55;
}

.augb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-14);
}

.augb-photo-slot {
	min-height: 260px;
	display: block;
	border-radius: var(--augb-radius-card);
	overflow: hidden;
}

.augb-photo-slot img {
	position: absolute;
	inset: 0;
}

/* Фото, що заповнює контейнер (слот, галерея, команда). */
.augb-photo-slot img,
.augb-event-gallery-img,
.single-event-gallery .wp-block-post-featured-image img,
.augb-team-list-photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.augb-hero .augb-photo-slot {
	min-height: 320px;
}

.augb-panel,
.augb-card,
.inside-article,
.site-main > .dynamic-content-template:not(:has(> .inside-article)) {
	border: 1px solid var(--augb-border);
	border-radius: var(--augb-radius-card);
	background: var(--augb-surface);
	box-shadow: var(--augb-shadow-soft);
}

.augb-panel {
	padding: var(--augb-card-pad-md);
}

.augb-dashboard,
.augb-dashboard > *,
.augb-dashboard-column,
.augb-panel,
.augb-card,
.augb-hero-grid > *,
.augb-news-layout > *,
.augb-team-card > *,
.augb-report-grid > *,
.augb-social-layout > * {
	min-width: 0;
}

.augb-dashboard {
	display: grid;
	grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	gap: var(--augb-grid-gap);
	align-items: start;
}

.augb-dashboard-column {
	display: grid;
	gap: var(--augb-grid-gap);
}

.augb-who-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 174px;
	gap: var(--augb-space-28);
	align-items: center;
}

.augb-who-card .augb-photo-slot {
	min-height: 256px;
}

.augb-card-copy {
	display: grid;
	gap: var(--augb-space-18);
	align-content: start;
}

.augb-card-copy .augb-button {
	justify-self: start;
}

.augb-photo-slot,
.augb-photo-slot > * {
	position: relative;
	z-index: 1;
}

.augb-activity-grid {
	display: grid;
}

.augb-activity-menu {
	display: grid;
	gap: var(--augb-space-14);
	margin: 0;
	padding: 0;
	list-style: none;
}

.augb-activity-menu > :is(.gb-menu-item, .menu-item) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.augb-activity-menu > :is(.gb-menu-item, .menu-item) > :is(.gb-menu-link, a),
.augb-metric-card,
.augb-partners-section .wp-block-post {
	border: 1px solid var(--augb-border-soft);
	background: var(--augb-surface-soft);
}

.augb-activity-menu > :is(.gb-menu-item, .menu-item) > :is(.gb-menu-link, a) {
	display: grid;
	grid-template-columns: 50px 1fr;
	column-gap: var(--augb-space-14);
	row-gap: 0;
	padding: 14px;
	border-radius: 14px;
	color: var(--augb-text);
	text-decoration: none;
}

.augb-activity-menu > :is(.gb-menu-item, .menu-item) > :is(.gb-menu-link, a):is(:hover, :focus-visible) {
	border-color: var(--augb-border-hover);
	background: var(--augb-surface);
	color: var(--augb-text);
	box-shadow: var(--augb-shadow-soft);
	transform: translateY(-1px);
}

.augb-activity-menu .augb-menu-item-title {
	margin: 0;
	align-self: end;
	font-weight: 800;
}

.augb-activity-menu .augb-menu-item-description {
	grid-column: 2;
	margin: 0;
	align-self: start;
	color: var(--augb-text-secondary);
}

.augb-activity-menu > :is(.gb-menu-item, .menu-item) > :is(.gb-menu-link, a)::before {
	content: "";
	grid-row: span 2;
	width: 50px;
	height: 50px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--augb-border-icon);
	border-radius: 50%;
	background-color: var(--augb-surface);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
}

.augb-activity-menu .gb-text {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

.augb-activity-menu .augb-menu-item-description {
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
}

.augb-impact-grid {
	gap: var(--augb-space-12);
}

.augb-metric-card {
	min-height: 132px;
	display: grid;
	align-content: start;
	justify-items: center;
	gap: var(--augb-space-8);
	padding: 18px;
	border-radius: 16px;
	text-align: center;
}

.augb-metric-value {
	color: var(--augb-primary);
	font-size: clamp(1.5rem, 2.3vw, 1.875rem);
	font-weight: 800;
	line-height: 1.12;
}

.augb-metric-label,
.augb-meta {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
}

.augb-news-layout {
	display: grid;
	grid-template-columns: 1.05fr 1fr 0.95fr;
	gap: var(--augb-grid-gap);
	align-items: stretch;
	min-height: 0;
	background: var(--augb-bg-news);
}

.augb-news-feature {
	display: grid;
	grid-template-columns: 154px minmax(0, 1fr);
	gap: var(--augb-space-16);
	align-items: stretch;
	min-height: 0;
}

.augb-news-feature .wp-block-post-featured-image {
	width: 100%;
	height: 100%;
}

.augb-news-feature img {
	height: 100% !important;
}

.augb-news-row {
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: var(--augb-space-12);
	padding: 11px 0;
	border-top: 1px solid var(--augb-border-soft);
}

.augb-news-row img {
	aspect-ratio: 1;
}

/* Малі заголовки карток (h5): колір тексту замість primary. */
.augb-news-row .wp-block-post-title {
	color: var(--augb-text);
}

:is(.augb-news-section, .augb-report-card) .wp-block-post-title a {
	display: block;
	color: inherit;
	font: inherit;
	text-decoration: none;
}

:is(.augb-news-section, .augb-report-card) .read-more {
	color: var(--augb-warm);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

:is(.augb-news-section, .augb-report-card) :is(.wp-block-post-title a, .read-more):is(:hover, :focus-visible) {
	color: var(--augb-primary-2);
}

.augb-news-date {
	display: block;
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	font-weight: 800;
	line-height: var(--augb-text-xs-line);
	text-transform: uppercase;
}

.augb-news-feature .augb-news-date,
.augb-report-card .augb-news-date {
	margin: 0 0 7px;
}

.augb-subscribe-box {
	display: grid;
	align-content: center;
	padding: 14px;
	border: 1px solid var(--augb-border-light);
	border-radius: 16px;
	background: var(--augb-surface-ice);
}

.augb-subscribe-form {
	align-self: center;
	margin-top: 10px;
}

.augb-subscribe-box .af-form .af-fields {
	gap: var(--augb-space-5);
}

.augb-team-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: clamp(var(--augb-space-20), 3vw, var(--augb-space-32));
	align-items: center;
	min-height: 260px;
	padding: var(--augb-card-pad-md);
	background: var(--augb-bg-team);
}

.augb-team-card > div:first-child {
	display: grid;
	align-content: center;
	justify-items: start;
	gap: var(--augb-space-10);
}

.augb-team-card .augb-photo-slot {
	width: 100%;
	aspect-ratio: 1.4;
	min-height: 0;
	justify-self: end;
	box-shadow: none;
}

.augb-team-card .wp-block-term-template {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-6) var(--augb-space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.augb-team-card .wp-block-term {
	margin: 0;
	padding: 0;
}

.augb-team-card .wp-block-term-name {
	margin: 0;
}

.augb-team-card .wp-block-term-name a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 8px;
	border: 1px solid var(--augb-border-soft);
	border-radius: 999px;
	background: var(--augb-surface);
	color: var(--augb-primary);
	font-size: var(--augb-text-xs-size);
	font-weight: 700;
	line-height: var(--augb-text-xs-line);
}

.augb-team-card .wp-block-term-name a:is(:hover, :focus-visible) {
	border-color: var(--augb-primary);
	background: var(--augb-primary);
	color: var(--augb-text-inverse);
}

.augb-report-grid {
	gap: var(--augb-grid-gap);
}

.augb-social-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--augb-grid-gap);
}

.augb-report-grid > li {
	display: flex;
}

.augb-report-grid > li > * {
	width: 100%;
	height: 100%;
}

.augb-story-card,
.augb-social-card {
	padding: var(--augb-card-pad-sm);
}

.augb-story-card {
	display: grid;
	align-content: start;
	gap: var(--augb-space-14);
}

.augb-story-card > .gb-text {
	font-style: italic;
}

.augb-report-card {
	padding: 16px;
}

.augb-report-card .wp-block-post-featured-image {
	margin-bottom: 16px;
}

.augb-partner-band {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: stretch;
	gap: var(--augb-space-18);
	padding: 24px;
}

.augb-partner-logos {
	display: contents;
}

.augb-partners-section .wp-block-query {
	display: contents;
}

.augb-partners-section .wp-block-post-template {
	display: contents;
}

.augb-partners-section .wp-block-post {
	min-width: 0;
	min-height: 190px;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: var(--augb-space-10);
	padding: 14px 12px;
	border-radius: 14px;
	text-align: center;
}

.augb-partners-section .wp-block-post > a:first-child {
	width: 128px;
	height: 104px;
	display: grid;
	place-items: center;
}

.augb-partners-section .wp-block-post img {
	width: auto;
	height: auto;
	max-width: 128px;
	max-height: 104px;
	display: block;
	object-fit: contain;
}

.augb-partner-band > div:not(.augb-partner-logos) {
	min-width: 0;
	display: grid;
	align-content: center;
	justify-items: center;
}

.augb-partner-name {
	color: var(--augb-primary);
	font-size: var(--augb-text-xs-size);
	font-weight: 700;
	line-height: var(--augb-text-xs-line);
	text-decoration: none;
}

/* Соцстрічки [augb_instagram], [augb_facebook] (inc/augb-social-feeds.php). */
.augb-ig,
.augb-fb {
	margin: 0;
	padding: 0;
	list-style: none;
}

.augb-ig {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--augb-space-8);
}

.augb-ig img {
	aspect-ratio: 1;
}

.augb-ig img,
.augb-fb__item > a img {
	width: 100%;
	display: block;
	object-fit: cover;
	border-radius: var(--augb-form-radius);
}

.augb-fb .emoji {
	display: inline;
	width: 1em;
	height: 1em;
	vertical-align: -0.1em;
}

/* Counters (Our Impact): SVG-іконки метрик. */
.augb-metric-card .augb-icon-badge {
	width: 50px;
	height: 50px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--augb-border-icon-badge);
	border-radius: 13px;
	background: var(--augb-icon-bg);
}

.augb-metric-card .augb-icon-badge::before {
	content: "";
	width: 30px;
	height: 30px;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 30px 30px;
}

.augb-metric-card.is-events .augb-icon-badge::before { background-image: url("/wp-content/uploads/impact-events.svg"); }

.augb-metric-card.is-children .augb-icon-badge::before { background-image: url("/wp-content/uploads/impact-child-activities.svg"); }

.augb-metric-card.is-volunteers .augb-icon-badge::before { background-image: url("/wp-content/uploads/impact-volunteers.svg"); }

.augb-metric-card.is-participants .augb-icon-badge::before { background-image: url("/wp-content/uploads/impact-participants.svg"); }

.augb-metric-card.is-years .augb-icon-badge::before { background-image: url("/wp-content/uploads/impact-activity.svg"); }

/* What we do: клас пункту меню act-* → SVG-фон картки. */
.augb-activity-menu .act-english      > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/english-classes.svg"); }

.augb-activity-menu .act-children     > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/children-activities.svg"); }

.augb-activity-menu .act-arts         > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/arts.svg"); }

.augb-activity-menu .act-lectures     > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/lectures.svg"); }

.augb-activity-menu .act-community    > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/community-events.svg"); }

.augb-activity-menu .act-support      > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/support-groups.svg"); }

.augb-activity-menu .act-skill        > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/skill-building.svg"); }

.augb-activity-menu .act-social       > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/social-activities.svg"); }

.augb-activity-menu .act-teens        > :is(.gb-menu-link, a)::before { background-image: url("/wp-content/uploads/teens-activities.svg"); }

.augb-social-card { display: grid; gap: var(--augb-space-16); align-content: start; }

.augb-social-card > .augb-button { justify-self: start; }

/* ==========================================================================
   10. Футер
   ========================================================================== */

.augb-footer {
	margin-top: var(--augb-section-gap);
	background: linear-gradient(110deg, var(--augb-primary), var(--augb-primary-2));
}

.augb-footer,
.augb-footer :is(a, button, .augb-button, .gb-text, span, p, li, h1, h2, h3, h4, h5, h6, div),
.augb-footer :is(a, button, .augb-button):is(:hover, :focus-visible) {
	color: var(--augb-text-inverse);
}

.augb-footer-grid {
	position: relative;
	min-height: 330px;
	padding: 38px 0;
	display: grid;
	grid-template-columns: 310px 230px 180px minmax(0, 1fr);
	gap: var(--augb-space-38);
}

.augb-footer-grid::after {
	content: "";
	position: absolute;
	right: 50%;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	border-bottom: 1px solid var(--augb-footer-line);
	pointer-events: none;
}

.augb-footer-grid > section {
	min-width: 0;
}

.augb-footer div.gb-text,
.augb-footer a:not(.augb-button) {
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-footer-contact-section {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--augb-space-14);
}

/* Виняток з токенів тексту: шрифт лого у футері. */
.augb-footer-brand {
	display: flex;
	gap: var(--augb-space-14);
	align-items: center;
	margin-bottom: 16px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.08;
	text-decoration: none;
}

.augb-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-10);
	margin-top: 20px;
	max-width: 290px;
}

.augb-footer-social a {
	display: block;
	border: 1px solid transparent;
	border-radius: 50%;
}

.augb-footer-social a:is(:hover, :focus-visible) {
	border-color: var(--augb-footer-hover-border);
	background-color: var(--augb-surface-ice);
}

.augb-footer-social img {
	display: block;
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.augb-footer-links a {
	display: block;
	text-decoration: none;
}

.augb-footer-nav {
	display: flex;
	flex-direction: column;
	gap: var(--augb-space-8);
}

.augb-footer-nav a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.augb-map-card {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: var(--augb-space-16);
}

.augb-footer-photo,
.augb-map-slot {
	min-height: 190px;
	border: 1px solid var(--augb-footer-border);
	border-radius: var(--augb-radius-card);
}

.augb-map-slot {
	position: relative;
	background: var(--augb-bg-map-grid);
	background-size: 28px 28px;
}

.augb-footer .augb-button.is-warm {
	margin-top: 20px;
}

.augb-footer-bottom {
	padding: 14px 0 18px;
	display: flex;
	justify-content: space-between;
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

/* ==========================================================================
   11. Глобальні елементи: cookie, scroll-top
   ========================================================================== */

.augb-cookie-consent {
	width: min(var(--augb-container), calc(100% - 80px));
	margin-bottom: 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--augb-space-24);
	align-items: center;
	padding: 20px 24px;
	border: 1px solid var(--augb-border);
	border-radius: 16px;
	background: var(--augb-surface);
	box-shadow: var(--augb-shadow-soft);
}

.gb-overlay--standard:has(.augb-cookie-consent) {
	left: 0;
	right: 0;
	width: 100%;
	max-width: none;
}

.gb-overlay__content:has(.augb-cookie-consent) {
	width: 100%;
	display: flex;
	justify-content: center;
}

.augb-cookie-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(150px, 1fr));
	gap: var(--augb-space-10);
	align-items: center;
}

.augb-cookie-actions .augb-button {
	min-width: 150px;
	min-height: 44px;
	padding: 11px 18px;
}

.augb-cookie-actions code {
	padding: 0;
	background: transparent;
	color: inherit;
	font: inherit;
}

.augb-scroll-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--augb-warm);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
}

.augb-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.augb-scroll-top:is(:hover, :focus-visible) {
	color: var(--augb-warm-hover);
}

.augb-scroll-top:focus-visible {
	outline: 2px solid var(--augb-primary);
	outline-offset: 3px;
}

.augb-scroll-top-icon {
	width: 44px;
	height: 44px;
	display: block;
}

/* ==========================================================================
   12. Календар подій і upcoming events
   ========================================================================== */

/* Events calendar shortcode [augb_events_calendar]. */
.augb-events-calendar-shell {
	width: 100%;
	min-width: 0;
}

.augb-events-calendar {
	width: 100%;
	color: var(--augb-text);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-events-calendar-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: var(--augb-space-16);
	padding-inline: var(--augb-content-padding);
	margin-bottom: 22px;
	align-items: center;
}

.augb-events-calendar-nav,
.augb-events-calendar-toolbar-spacer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--augb-space-12);
}

.augb-events-calendar-nav {
	justify-self: start;
}

.augb-events-calendar-toolbar-spacer {
	justify-self: end;
}

.augb-events-calendar-title {
	margin: 0;
}

.augb-week-board {
	display: grid;
	overflow: hidden;
	border: 1px solid var(--augb-border-soft);
	border-radius: 0 0 var(--augb-radius-card) var(--augb-radius-card);
	background: var(--augb-surface);
}

.augb-week-day {
	min-width: 0;
	background: linear-gradient(180deg, var(--augb-surface-tint) 0, var(--augb-surface) 78px);
}

.augb-week-day.is-today {
	background: linear-gradient(180deg, var(--augb-surface-chip) 0, var(--augb-surface) 90px);
}

.augb-week-day-header {
	display: grid;
	gap: var(--augb-space-2);
	justify-items: center;
	padding: 12px 8px 14px;
	color: var(--augb-primary);
	font-weight: 800;
	text-align: center;
	text-transform: uppercase;
}

.augb-week-day-name {
	font-size: 11px;
	line-height: 14px;
}

.augb-week-day-date {
	display: inline-grid;
	min-width: 26px;
	height: 26px;
	padding: 0 6px;
	place-items: center;
	border-radius: 999px;
	font-size: 13px;
	line-height: 1;
}

.augb-week-day.is-today .augb-week-day-date {
	background: var(--augb-primary);
	color: var(--augb-text-inverse);
}

.augb-week-day-events {
	display: grid;
	align-content: start;
	gap: var(--augb-space-15);
	padding: 0 10px 18px;
}

.augb-calendar-card.is-archived {
  background: var(--augb-surface-soft);
}

.augb-calendar-card {
	min-width: 0;
	display: grid;
	gap: var(--augb-space-5);
	padding: 11px 12px 12px;
	border: 1px solid var(--augb-border-chip);
	border-radius: 8px;
	background: var(--augb-surface-chip);
	color: var(--augb-text);
	text-decoration: none;
	white-space: normal;
	box-shadow: var(--augb-shadow-soft);
}

.augb-calendar-card:is(:hover, :focus-visible) {
	border-color: var(--augb-border-hover);
	background: var(--augb-surface-chip-hover);
	color: var(--augb-text);
	box-shadow: var(--augb-shadow-lift);
	transform: translateY(-1px);
}

.augb-calendar-card-time {
	color: var(--augb-primary-2);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 800;
}

/* БОРГ: розмітка з шорткоду [augb_events_calendar] — h4 замість h5.
   Типографіка тут, доки шорткод не перейде на h5. */
.augb-calendar-card-title {
	margin: 0;
	color: var(--augb-primary);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
}

.augb-calendar-card-meta {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 700;
}

.augb-calendar-card-teaser {
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
}

.augb-calendar-card-cta {
	width: fit-content;
	margin-top: 3px;
	color: var(--augb-primary);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.augb-upcoming-events-list {
	display: grid;
	gap: var(--augb-space-10);
}

.augb-upcoming-event-row {
	min-width: 0;
	display: grid;
	grid-template-columns: 64px 86px minmax(0, 1fr) auto;
	gap: var(--augb-space-16);
	align-items: center;
	padding: 12px 14px;
	border: 1px solid var(--augb-border-soft);
	border-radius: 16px;
	background: var(--augb-surface);
	color: var(--augb-text);
	text-decoration: none;
}

.augb-upcoming-event-row:is(:hover, :focus-visible) {
	border-color: var(--augb-border-hover);
	color: var(--augb-text);
	box-shadow: var(--augb-shadow-soft);
	transform: translateY(-1px);
}

.augb-upcoming-event-date {
	display: grid;
	justify-items: center;
	color: var(--augb-primary);
	text-align: center;
}

.augb-upcoming-event-date strong {
	font-size: 28px;
	line-height: 30px;
	font-weight: 800;
}

.augb-upcoming-event-date span {
	font-weight: 800;
	text-transform: uppercase;
}

.augb-upcoming-event-schedule,
.augb-upcoming-event-content {
	min-width: 0;
	display: grid;
}

.augb-upcoming-event-time,
.augb-upcoming-event-weekday,
.augb-upcoming-event-teaser {
	color: var(--augb-text-muted);
}

.augb-upcoming-event-teaser {
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
}

.augb-upcoming-event-title-line {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-8);
	align-items: center;
}

/* .augb-upcoming-event-row — щоб перебити відступ заголовків .site-content :is(h3) (0,1,1). */
.augb-upcoming-event-row .augb-upcoming-event-title {
	margin: 0;
	min-width: 0;
	color: var(--augb-text);
	font-weight: 800;
}

.augb-upcoming-event-badge {
	display: inline-block;
	width: fit-content;
	margin: 0;
	font-size: inherit;
	line-height: 1;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--augb-badge-bg);
	color: var(--augb-warm-hover);
	font-weight: 800;
	text-transform: uppercase;
}

/* Бейдж на .gb-text (span): span.gb-text задає 12px/700 з (0,1,1) — повертаємо вагу бейджа. */
.gb-text.augb-upcoming-event-badge {
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
	font-weight: 800;
}

.augb-upcoming-event-tags {
	margin: 0;
	color: var(--augb-primary-2);
	font-weight: 800;
}

.augb-upcoming-event-action {
	min-width: 88px;
	text-align: center;
}

.augb-week-day-empty,
.augb-events-calendar-status {
	margin: 0;
	color: var(--augb-text-muted);
	font-weight: 700;
}

.augb-week-day-empty {
	padding: 8px 0 12px;
	text-align: center;
}

.augb-events-calendar-status {
	padding: 0 var(--augb-content-padding) var(--augb-content-padding);
}

.augb-events-calendar-status.is-error {
	color: var(--augb-danger-text);
}

@media (min-width: 768px) {
	.augb-week-day {
		display: grid;
		grid-template-columns: 160px minmax(0, 1fr);
		background: var(--augb-surface);
		border-bottom: 1px solid var(--augb-border-soft);
	}

	.augb-week-day-events {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(220px, 260px);
		align-items: start;
		overflow-x: auto;
		padding: 14px 14px 18px;
	}

	.augb-week-day:last-child {
		border-bottom: 0;
	}

	.augb-week-day.is-today {
		background: var(--augb-surface);
	}

	.augb-week-day-header {
		background: linear-gradient(180deg, var(--augb-surface-tint) 0, var(--augb-surface) 78px);
		border-right: 1px solid var(--augb-border-soft);
	}

	.augb-week-day.is-today .augb-week-day-header {
		background: linear-gradient(180deg, var(--augb-surface-chip) 0, var(--augb-surface) 90px);
	}

	.augb-week-board {
		border-radius: var(--augb-radius-card);
	}

	.augb-week-day-name {
		font-size: var(--augb-text-sm-size);
		line-height: var(--augb-text-sm-line);
	}

	.augb-week-day-date {
		font-size: var(--augb-text-lg-size);
		line-height: var(--augb-text-lg-line);
	}
}

/* ==========================================================================
   13. Шаблони записів: single, архіви, пошук, пагінація
   ========================================================================== */

.augb-single-post {
	display: grid;
	gap: var(--augb-grid-gap);
}

.augb-single-post > :is(.gb-text, .wp-block-post-featured-image, .dynamic-entry-content) {
	margin: 0;
}

.augb-single-post > .gb-text:is(span) {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	font-weight: 700;
	line-height: var(--augb-text-xs-line);
}

.augb-single-post .wp-block-post-featured-image {
	width: 100%;
	height: 350px;
	margin: 0;
	overflow: hidden;
	border-radius: var(--augb-radius-card) var(--augb-radius-card) 0 0;
	background: var(--augb-border-soft);
}

.augb-single-post .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	border-radius: var(--augb-radius-card) var(--augb-radius-card) 0 0;
	object-fit: cover;
}

/* Архіви, пошук, 404: картка — .content-area, записи всередині без картки. */
:is(.archive, .search, .error404) .content-area {
	padding: var(--augb-content-padding);
	border: 1px solid var(--augb-border);
	border-radius: var(--augb-radius-card);
	background: var(--augb-surface);
	box-shadow: var(--augb-shadow-soft);
}

:is(.archive, .search, .error404) .inside-article {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.entry-meta {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	line-height: var(--augb-text-xs-line);
}

.search-form {
	display: flex;
	gap: var(--augb-space-12);
}

.search-form label {
	flex: 1;
}

/* Пагінація GP: тільки номери сторінок. */
.paging-navigation :is(.nav-previous, .nav-next) {
	display: none;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--augb-space-8);
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
}

.nav-links .page-numbers.current {
	border-color: var(--augb-primary);
	background: var(--augb-primary);
	color: var(--augb-text-inverse);
}

/* FAQ: акордеон GB Pro (клас .augb-accordion на блоці). */
.augb-accordion {
	display: grid;
	gap: var(--augb-space-10);
}

.augb-accordion .gb-accordion__item {
	border: 1px solid var(--augb-border-soft);
	border-radius: 14px;
	background: var(--augb-surface-soft);
}

.augb-accordion .gb-accordion__item-open {
	border-color: var(--augb-border-hover);
	background: var(--augb-surface);
	box-shadow: var(--augb-shadow-soft);
}

.augb-accordion .gb-accordion__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--augb-space-16);
	padding: var(--augb-space-16) var(--augb-space-20);
	cursor: pointer;
}

.augb-accordion .gb-accordion__toggle h3 {
	margin: 0;
	color: var(--augb-primary);
}

.augb-accordion .gb-accordion__toggle:is(:hover, :focus-visible) h3 {
	color: var(--augb-primary-2);
}

.augb-accordion .gb-accordion__toggle::after {
	content: "+";
	flex: 0 0 auto;
	color: var(--augb-warm);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.augb-accordion .gb-accordion__item-open .gb-accordion__toggle::after {
	content: "\2212";
}

.augb-accordion .gb-accordion__content {
	padding: 0 var(--augb-space-20) var(--augb-space-20);
}

.augb-accordion .gb-accordion__content > * + * {
	margin-top: var(--augb-prose-gap);
}

/* ==========================================================================
   14. Подія: single event, галерея, карусель
   ========================================================================== */

.site-main .single-event {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--augb-space-40);
	align-items: start;
}

.single-event-main,
.single-event-media {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--augb-space-20);
	align-content: start;
	min-width: 0;
}

.single-event .wp-block-post-featured-image,
.single-event-media .wp-block-post-featured-image {
	border-radius: var(--augb-radius-card);
	overflow: hidden;
}

.single-event .wp-block-post-featured-image img,
.single-event-media .wp-block-post-featured-image img {
	border-radius: var(--augb-radius-card);
}

.single-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-8) var(--augb-space-12);
	align-items: center;
}

.single-event-meta > :not(.augb-upcoming-event-badge) {
	margin: 0;
	color: var(--augb-primary);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
	font-weight: 800;
}

.single-event-description {
	display: grid;
	gap: var(--augb-space-8);
}

.single-event-description > * {
	margin: 0;
}

.single-event-team:not(:has(.gb-loop-item)),
.single-event-feedback:not(:has(.gb-loop-item)) {
	display: none;
}

.single-event-team .gb-loop-item > div {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 0 var(--augb-space-12);
	align-items: center;
	align-content: center;
	grid-template-rows: auto auto;
	min-height: 72px;
	text-align: left;
}

.single-event-team img {
	grid-row: 1 / span 2;
	margin: 0;
	align-self: center;
	width: 72px;
	height: 72px;
	max-width: none;
	display: block;
	border: 3px solid var(--augb-surface);
	border-radius: 50%;
	box-shadow: var(--augb-shadow-soft);
	object-fit: cover;
}

.single-event-team span {
	display: block;
	margin: 0;
	color: var(--augb-text-secondary);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
	font-weight: 700;
}

.single-event-team span:last-child {
	color: var(--augb-primary);
	font-weight: 800;
}

.single-event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--augb-space-12) var(--augb-space-16);
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border: 1px solid var(--augb-border-chip);
	border-radius: 8px;
	background: var(--augb-surface-chip);
	box-shadow: var(--augb-shadow-soft);
}

.augb-single-event-timetable,
.augb-single-event-timetable-list,
.augb-single-event-timetable-item {
	min-width: 0;
}

.augb-single-event-timetable-list {
	display: grid;
	gap: var(--augb-space-8);
}

.augb-single-event-timetable-item {
	display: grid;
	gap: var(--augb-space-2);
}

.augb-single-event-timetable-date {
	display: block;
	color: var(--augb-primary);
	font-size: var(--augb-text-lg-size);
	line-height: var(--augb-text-lg-line);
	font-weight: 800;
}

.augb-single-event-timetable-time {
	display: block;
	color: var(--augb-text);
	font-size: var(--augb-text-sm-size);
	line-height: var(--augb-text-sm-line);
	font-weight: 700;
}

.single-event-map {
	display: grid;
	gap: var(--augb-space-10);
	justify-items: start;
}

.single-event-map > * {
	margin: 0;
}

.single-event-feedback {
	min-width: 0;
}

.single-event-feedback .augb-story-card {
	margin: 0;
}

.augb-event-gallery,
.single-event-gallery .wp-block-post-featured-image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	min-width: 0;
	margin: 0;
}

.augb-event-gallery-track {
	height: 100%;
	overflow: hidden;
	border-radius: var(--augb-radius-card);
	display: flex;
	gap: 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.augb-event-gallery-track::-webkit-scrollbar {
	display: none;
}

.augb-event-gallery-item {
	flex: 0 0 100%;
	min-width: 100%;
	height: 100%;
	display: block;
	scroll-snap-align: start;
}

.augb-event-gallery-img,
.single-event-gallery .wp-block-post-featured-image img {
	border: 0;
	border-radius: 0;
}

/* Кнопки слайдерів: по центру висоти, половина ширини виходить за край слайда. */
.augb-event-gallery-controls {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}

.augb-event-gallery-arrow {
	pointer-events: auto;
	width: 48px;
	min-height: 48px;
	height: 48px;
	padding: 0;
	font-size: 24px;
	line-height: 1;
}

.augb-event-gallery-arrow.is-prev {
	transform: translateX(-50%);
}

.augb-event-gallery-arrow.is-next {
	transform: translateX(50%);
}

.augb-event-gallery-arrow:is(:disabled, .is-disabled) {
	opacity: var(--augb-disabled-opacity);
	cursor: default;
}

/* Кнопки GB-каруселі: по центру висоти, половина ширини виходить за край слайда. */
.gb-carousel {
	position: relative;
	overflow: visible;
}

.gb-carousel .gb-carousel-control {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	width: 48px;
	min-height: 48px;
	height: 48px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--augb-border-accent);
	border-radius: 10px;
	background: var(--augb-surface);
	color: var(--augb-primary);
	box-shadow: none;
	cursor: pointer;
}

.gb-carousel .gb-carousel-control--previous {
	left: 0;
	transform: translate(-50%, -50%);
}

.gb-carousel .gb-carousel-control--next {
	right: 0;
	transform: translate(50%, -50%);
}

.gb-carousel .gb-carousel-control:is(:hover, :focus-visible) {
	background-color: var(--augb-surface-hover);
	border-color: var(--augb-primary);
	color: var(--augb-primary);
}

.gb-carousel .gb-carousel-control:is(:disabled, .is-disabled) {
	opacity: var(--augb-disabled-opacity);
	cursor: default;
}

/* ==========================================================================
   15. Списки записів і команда
   ========================================================================== */

.augb-posts-masonry .wp-block-post-template,
.augb-posts-list .wp-block-post-template {
	gap: var(--augb-grid-gap);
}

.augb-posts-masonry .wp-block-post,
.augb-posts-list .wp-block-post {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--augb-border);
	border-radius: var(--augb-radius-card);
	background: var(--augb-surface-soft);
}

.augb-posts-list .wp-block-post {
	height: 100%;
}

.augb-posts-masonry .wp-block-post-featured-image > a,
.augb-posts-list .wp-block-post-featured-image > a,
.augb-posts-list .augb-post-card-body > a:has(> img) {
	width: 100%;
	height: var(--augb-media-h-card);
	display: block;
	overflow: hidden;
	border: 0;
	border-radius: var(--augb-radius-card) var(--augb-radius-card) 0 0;
}

.augb-posts-masonry .wp-block-post-featured-image img,
.augb-posts-list .wp-block-post-featured-image img,
.augb-posts-list .augb-post-card-body > a > img {
	width: 100%;
	height: var(--augb-media-h-card);
	display: block;
	border: 0;
	border-radius: var(--augb-radius-card) var(--augb-radius-card) 0 0;
	object-fit: cover;
}

.augb-posts-masonry .augb-post-card-body,
.augb-posts-list .augb-post-card-body {
	padding: 18px;
}

.augb-posts-list .augb-post-card-body:has(> a:first-child > img),
.augb-posts-list .augb-post-card-body:has(> .wp-block-post-featured-image:first-child) {
	padding-top: 0;
}

.augb-posts-list .augb-post-card-body > :is(img, .wp-block-post-featured-image, a:has(> img)):first-child {
	width: calc(100% + 36px);
	max-width: none;
	margin-right: -18px;
	margin-left: -18px;
}

.augb-posts-list .augb-post-card-body > :is(img, .wp-block-post-featured-image, a:has(> img)):first-child + * {
	margin-top: 18px;
}

.augb-posts-masonry .wp-block-post-title,
.augb-posts-list .wp-block-post-title,
.augb-posts-masonry h3,
.augb-posts-list h3 {
	color: var(--augb-primary);
	font-size: var(--augb-text-lg-size);
	line-height: var(--augb-text-lg-line);
	font-weight: 800;
}

.augb-posts-masonry .wp-block-post-title a,
.augb-posts-list .wp-block-post-title a,
.augb-posts-masonry h3 a,
.augb-posts-list h3 a {
	color: inherit;
	text-decoration: none;
}

.augb-posts-masonry .wp-block-post-title a:is(:hover, :focus-visible),
.augb-posts-list .wp-block-post-title a:is(:hover, :focus-visible),
.augb-posts-masonry h3 a:is(:hover, :focus-visible),
.augb-posts-list h3 a:is(:hover, :focus-visible) {
	color: var(--augb-warm);
}

.augb-posts-masonry a.read-more {
	color: var(--augb-warm);
	font-weight: 800;
	text-decoration: none;
}

.augb-posts-masonry a.read-more:is(:hover, :focus-visible) {
	color: var(--augb-primary);
}

.augb-posts-masonry .wp-block-post-date {
	color: var(--augb-text-muted);
	font-size: var(--augb-text-xs-size);
	font-weight: 700;
	line-height: var(--augb-text-xs-line);
}

.augb-team-list-card {
	min-width: 0;
	height: 100%;
	padding: 24px 18px;
	border: 1px solid var(--augb-border-soft);
	border-radius: var(--augb-radius-card);
	background: linear-gradient(180deg, var(--augb-surface), var(--augb-surface-tint));
	text-align: center;
}

.augb-section-team > h3 {
	position: relative;
	width: fit-content;
	color: var(--augb-primary);
	text-align: center;
}

.augb-section-team > h3::after {
	content: "";
	position: absolute;
	right: 50%;
	bottom: 0;
	width: 54px;
	height: 3px;
	border-radius: 999px;
	background: var(--augb-warm);
	transform: translateX(50%);
}

.augb-team-list-photo {
	width: 220px;
	height: 220px;
	margin: 0 auto 20px;
	overflow: hidden;
	border: 3px solid var(--augb-surface);
	border-radius: 50%;
	background: var(--augb-border-soft);
	box-shadow: var(--augb-shadow-soft);
}

.augb-team-list-photo img {
	max-width: none;
}

.augb-team-list-body {
	display: grid;
	justify-items: center;
}

/* Картки списку: кнопки внизу, фото від верхнього краю */
.augb-posts-list .augb-post-card-body {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: auto auto;
	grid-template-rows: auto auto auto 1fr auto;
	align-items: start;
	column-gap: var(--augb-space-8);
	row-gap: 0;
}

.augb-posts-list .augb-post-card-body > * {
	grid-column: 1 / -1;
}

.augb-posts-list .augb-post-card-body > .augb-button {
	grid-column: auto;
	align-self: end;
}

/* Відступ зверху від контенту для кнопок у картках і блоках (не шапка, не футер) */
.augb-posts-list .augb-post-card-body > .augb-button,
.augb-panel > .augb-button {
	margin-top: 16px;
}

.augb-posts-list li.wp-block-post {
	display: flex;
	flex-direction: column;
}
