/*
Theme Name: GH Tema
Theme URI: https://greenhillstudio.lt/
Author: Green Hill Studio
Author URI: https://greenhillstudio.lt/
Description: White-label training platform theme (design direction B — soft colored cards, Nunito/Hanken Grotesk). Companion theme for the GH Mokymai plugin.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gh-tema
Tags: e-learning, accessibility-ready, custom-menu
*/

/* ============================================================
   Design tokens (direction A — "Institucinis pasitikėjimas").
   All colors in this stylesheet MUST reference these custom
   properties. --ghm-primary* and --ghm-success* are overridden
   at runtime from the ghm_primary_color option (white-label).
   ============================================================ */

:root {
	--ghm-header-h: 4.75rem; /* lipnios antraštės aukštis — lipnių kortelių atstumui */
	/* Colors — v4 minkštoji paletė (redesign 2026-09-02).
	   Nuorodos/akcentai mėlyni, CTA tamsiai mėlynas (navy), kortelių
	   plokščios spalvos: mėtinė, laimas, žydra, švelni pilka. */
	--ghm-bg: #FFFFFF;
	--ghm-surface: #FFFFFF;
	--ghm-surface-alt: #F1F3F5;
	--ghm-ink: #1A2B3B;
	--ghm-body: #314352;
	--ghm-muted: #5A6B7A;
	--ghm-primary: #0075DE;
	--ghm-primary-dark: #005BB0;
	--ghm-primary-soft: #E6F3FE;
	--ghm-on-primary: #ffffff;
	--ghm-cta: #1A2B3B;
	--ghm-cta-dark: #0D1726;
	--ghm-deep: #0D1726;
	--ghm-mint: #34E2C4;
	--ghm-lime: #D9F13C;
	--ghm-gold: #005BB0;      /* v3 palikimas — nebe gintaras, mėlynas */
	--ghm-gold-soft: #E6F3FE;
	--ghm-border: #E1E5E9;
	--ghm-success: #1F9D74;
	--ghm-success-text: #157A5B; /* 4.5:1 ant #F1F3F5 — tekstui */
	--ghm-success-soft: rgba(31, 157, 116, 0.1);
	--ghm-danger: #C0392B;
	--ghm-danger-soft: rgba(192, 57, 43, 0.08);
	--ghm-focus: #0075DE;

	/* Typography — Nunito antraštėms, Hanken Grotesk tekstui (savi woff2) */
	--ghm-font-display: 'Nunito', -apple-system, sans-serif;
	--ghm-font-body: 'Hanken Grotesk', -apple-system, sans-serif;

	/* Root is 18px (html: 112.5%): readability requirement — body >= 18px,
	   smallest informational text >= 16px (0.889rem). */
	--ghm-fs-xs: 0.941rem;    /* 16px — floor for informational text */
	--ghm-fs-sm: 0.941rem;    /* 16px */
	--ghm-fs-base: 1rem;      /* 17px body */
	--ghm-fs-lg: 1.118rem;    /* 19px */
	--ghm-fs-xl: 1.294rem;    /* 22px */
	--ghm-fs-2xl: 1.529rem;   /* 26px */
	--ghm-fs-3xl: 2.588rem;   /* 44px — v4 minkštoji (Nunito atlaiko) */

	--ghm-lh-tight: 1.15;
	--ghm-lh-heading: 1.25;
	--ghm-lh-body: 1.65;

	/* Spacing */
	--ghm-sp-1: 0.222rem;   /*  4px */
	--ghm-sp-2: 0.444rem;   /*  8px */
	--ghm-sp-3: 0.667rem;   /* 12px */
	--ghm-sp-4: 0.889rem;   /* 16px */
	--ghm-sp-5: 1.333rem;   /* 24px */
	--ghm-sp-6: 1.778rem;   /* 32px */
	--ghm-sp-7: 2.667rem;   /* 48px */
	--ghm-sp-8: 3.556rem;   /* 64px */
	--ghm-sp-9: 5.333rem;   /* 96px */

	/* Radii — v4 minkšta */
	--ghm-r-sm: 10px;
	--ghm-r-md: 16px;
	--ghm-r-lg: 24px;
	--ghm-r-pill: 999px;

	/* Shadows (soft) */
	--ghm-shadow-sm: 0 2px 8px rgba(26, 43, 59, 0.05);
	--ghm-shadow-md: 0 8px 24px rgba(26, 43, 59, 0.06);
	--ghm-shadow-lg: 0 12px 32px rgba(26, 43, 59, 0.10);

	/* Layout */
	--ghm-maxw: 1100px;
	--ghm-maxw-narrow: 760px;
}

/* §8.2 (G10): mokymų turinio konteineris NELIEČIAMAS — jame užšaldomos
   ikiredizaininės paveldimos reikšmės (šriftas) ir senas --ghm-muted,
   kurį naudoja peržyklės indikatorius. Redizaino stilius į .ghm-viewer
   vidų neteka. */
.ghm-viewer__stage {
	/* §8.2: TURINIO scena — pilnas ikiredizaininis tokenų rinkinys,
	   kad medžiagos pateikimas nepasikeistų. Įrankių juosta (rėmas)
	   lieka už šio bloko ir gauna naują sistemą. */
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	color: #1c2420;
	--ghm-bg: #faf9f6;
	--ghm-surface: #ffffff;
	--ghm-surface-alt: #f2f0e9;
	--ghm-ink: #1c2420;
	--ghm-body: #1c2420;
	--ghm-muted: #55605a;
	--ghm-primary: #1e5c46;
	--ghm-primary-dark: #164736;
	--ghm-primary-soft: #e6efe9;
	--ghm-gold: #7f6118;
	--ghm-gold-soft: #f6efdc;
	--ghm-border: #e3dfd4;
	--ghm-success: #1e5c46;
	--ghm-success-soft: #e6efe9;
	--ghm-danger: #97372b;
	--ghm-danger-soft: #f7e9e6;
	--ghm-focus: #1e5c46;
	--ghm-font-display: Georgia, 'Times New Roman', serif;
	--ghm-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	--ghm-r-sm: 8px;
	--ghm-r-md: 12px;
	--ghm-r-lg: 16px;
	--ghm-shadow-sm: 0 1px 2px rgba(28, 36, 32, 0.05), 0 1px 1px rgba(28, 36, 32, 0.03);
	--ghm-shadow-md: 0 1px 2px rgba(28, 36, 32, 0.05), 0 4px 12px rgba(28, 36, 32, 0.07);
	--ghm-shadow-lg: 0 2px 4px rgba(28, 36, 32, 0.05), 0 12px 32px rgba(28, 36, 32, 0.10);
}

/* Šriftai — savi failai, jokių išorinių užklausų. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/Nunito-600-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/Nunito-600-latin-ext.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/Nunito-700-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/Nunito-700-latin-ext.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/HankenGrotesk-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/HankenGrotesk-400-latin-ext.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/HankenGrotesk-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/HankenGrotesk-500-latin-ext.woff2) format('woff2'); }

/* ============================================================
   Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	font-size: 106.25%; /* 17px base — readable for older users without shouting (owner feedback 2026-08-20) */
}

body {
	margin: 0;
	background: var(--ghm-bg);
	color: var(--ghm-body);
	font-family: var(--ghm-font-body);
	font-size: var(--ghm-fs-base);
	line-height: var(--ghm-lh-body);
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	line-height: var(--ghm-lh-heading);
	margin: 0 0 var(--ghm-sp-4);
	color: var(--ghm-ink);
}
h1 { font-size: var(--ghm-fs-2xl); letter-spacing: -0.5px; line-height: 1.12; }
h2 { font-size: var(--ghm-fs-xl); letter-spacing: -0.3px; }
h3 { font-size: var(--ghm-fs-lg); letter-spacing: -0.15px; }
h4 { font-size: var(--ghm-fs-base); font-weight: 700; }
@media (min-width: 768px) {
	h1 { font-size: var(--ghm-fs-3xl); }
}

p { margin: 0 0 var(--ghm-sp-4); }
ul, ol { margin: 0 0 var(--ghm-sp-4); padding-left: 1.25em; }

a { color: var(--ghm-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ghm-primary-dark); }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--ghm-sp-3); border-bottom: 1px solid var(--ghm-border); }

blockquote {
	margin: 0 0 var(--ghm-sp-4);
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	border-left: 4px solid var(--ghm-primary);
	background: var(--ghm-surface);
	border-radius: var(--ghm-r-sm);
}

:focus-visible {
	outline: 2px solid var(--ghm-focus);
	outline-offset: 2px;
	border-radius: var(--ghm-r-sm);
}

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--ghm-primary);
	color: var(--ghm-on-primary);
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
	border-radius: 0 0 var(--ghm-r-sm) 0;
	text-decoration: none;
}
.skip-link:focus {
	left: 0;
	color: var(--ghm-on-primary);
}

/* Layout helpers */
.wrap {
	max-width: var(--ghm-maxw);
	margin: 0 auto;
	padding-left: var(--ghm-sp-5);
	padding-right: var(--ghm-sp-5);
}
.wrap-narrow { max-width: var(--ghm-maxw-narrow); margin: 0 auto; }

.section { padding: var(--ghm-sp-7) 0; }
@media (min-width: 768px) { .section { padding: var(--ghm-sp-8) 0; } }

.section-title { text-align: center; margin-bottom: var(--ghm-sp-2); }
.section-lead {
	text-align: center;
	color: var(--ghm-muted);
	max-width: var(--ghm-maxw-narrow);
	margin: 0 auto var(--ghm-sp-6);
}

.center { text-align: center; }
.muted { color: var(--ghm-muted); }
.small { font-size: var(--ghm-fs-sm); }
.scroll-x { overflow-x: auto; }

/* ============================================================
   Buttons (pills)
   ============================================================ */

.btn {
	display: inline-block;
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-sm);
	font-weight: 700;
	line-height: 1.25;
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
	border-radius: var(--ghm-r-pill);
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}
.btn-primary {
	background: var(--ghm-cta);
	color: var(--ghm-on-primary);
}
.btn-primary:hover { background: var(--ghm-cta-dark); color: var(--ghm-on-primary); }
.btn-outline {
	background: var(--ghm-surface);
	color: var(--ghm-ink);
	border: 1px solid var(--ghm-border);
}
.btn-outline:hover { border-color: var(--ghm-ink); color: var(--ghm-ink); background: var(--ghm-surface); }
.btn-sm { font-size: var(--ghm-fs-sm); padding: var(--ghm-sp-2) var(--ghm-sp-4); }
.btn-lg { padding: var(--ghm-sp-3) var(--ghm-sp-6); font-size: var(--ghm-fs-base); }
.btn[aria-disabled="true"], .btn:disabled {
	background: var(--ghm-surface-alt);
	color: var(--ghm-muted);
	border-color: var(--ghm-border);
	box-shadow: none;
	cursor: not-allowed;
}

/* ============================================================
   Header
   ============================================================ */

/* Licencijos juosta virš antraštės — tamsi, visa yra nuoroda į Apie mus. */
.license-bar {
	background: var(--ghm-deep);
	color: #ffffff;
	font-size: 0.75rem;
	line-height: 1.2;
	font-weight: 500;
	text-align: center;
	padding: var(--ghm-sp-1) var(--ghm-sp-5);
}
.license-bar a { color: inherit; text-decoration: none; }
.license-bar a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; }
.license-bar .license-no { font-weight: 700; letter-spacing: 0.04em; }

.site-header {
	background: var(--ghm-surface);
	border-bottom: 1px solid var(--ghm-border);
	padding: var(--ghm-sp-4) 0;
	position: sticky;
	top: 0;
	z-index: 60;
}
.admin-bar .site-header { top: 32px; }
html { scroll-padding-top: calc(var(--ghm-header-h) + var(--ghm-sp-3)); }
/* Siauruose ekranuose antraštė išsiskleidžia į 3 eiles (~160px) — lipni
   užimtų penktadalį ekrano, todėl ten lieka statinė. */
@media (max-width: 999px) {
	.site-header { position: static; }
	html { scroll-padding-top: 0; }
}
.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--ghm-sp-4) var(--ghm-sp-5);
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-lg);
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--ghm-ink);
	text-decoration: none;
}
/* C logotipo ženklas: trys persidengiančios pasuktos kortelės. */
.logo-mark { position: relative; width: 36px; height: 29px; flex: none; }
.logo-mark i { position: absolute; border-radius: 6px; }
.logo-mark i:nth-child(1) { width: 23px; height: 16px; background: var(--ghm-primary); right: 0; top: 0; transform: rotate(-8deg); }
.logo-mark i:nth-child(2) { width: 20px; height: 13px; background: var(--ghm-lime); left: 7px; top: 7px; transform: rotate(4deg); }
.logo-mark i:nth-child(3) { width: 21px; height: 14px; background: var(--ghm-mint); left: 0; bottom: 0; transform: rotate(-5deg); }
.logo-image {
	border: none;
	padding: 0;
	display: inline-flex;
	align-items: center;
}
.logo-image img {
	max-height: 3.2rem;
	width: auto;
	display: block;
}
.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-2) var(--ghm-sp-4);
}
.site-nav a {
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-ink);
	text-decoration: none;
	padding: var(--ghm-sp-1) var(--ghm-sp-2);
	border-radius: var(--ghm-r-pill);
}
.site-nav a:hover { color: var(--ghm-primary-dark); background: var(--ghm-primary-soft); }
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	color: var(--ghm-primary-dark);
	background: var(--ghm-primary-soft);
	font-weight: 600;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--ghm-sp-4);
	flex-wrap: wrap;
	justify-content: center;
}
/* 390px: veiksmai telpa į vieną liniją tik su mažesniais tarpais. */
@media (max-width: 480px) {
	.header-actions { gap: var(--ghm-sp-2); }
	.header-cta { padding: var(--ghm-sp-1) var(--ghm-sp-3); font-size: var(--ghm-fs-xs); }
	.lang-switch a { padding: var(--ghm-sp-1); }
}
.header-link {
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-ink);
	text-decoration: none;
}
/* Header CTA — the one loud element in the header (owner's ask, 2026-08-25). */
.header-cta {
	display: inline-block;
	background: var(--ghm-cta);
	color: var(--ghm-on-primary);
	font-size: var(--ghm-fs-sm);
	font-weight: 600;
	padding: var(--ghm-sp-2) var(--ghm-sp-4);
	border-radius: var(--ghm-r-pill);
	text-decoration: none;
	white-space: nowrap;
}
.header-cta:hover,
.header-cta:focus {
	background: var(--ghm-cta-dark);
	color: var(--ghm-on-primary);
	text-decoration: none;
}
.header-link:hover { color: var(--ghm-primary-dark); text-decoration: underline; }

/* Language switcher (Polylang): compact LT/EN/UK slugs. */
.lang-switch ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--ghm-sp-1);
}
.lang-switch a {
	display: inline-block;
	font-size: var(--ghm-fs-xs);
	font-weight: 600;
	text-transform: uppercase;
	color: var(--ghm-muted);
	text-decoration: none;
	padding: var(--ghm-sp-1) var(--ghm-sp-2);
	border-radius: var(--ghm-r-pill);
}
.lang-switch a:hover { color: var(--ghm-primary-dark); background: var(--ghm-primary-soft); }
.lang-switch .current-lang a { color: var(--ghm-primary-dark); background: var(--ghm-primary-soft); }

/* Kalbų skydelis (owner, 2026-09-02): dabartinė kalba piliulėje, sąrašas išlenda. */
.lang-menu { position: relative; order: 10; }
.lang-menu > summary { list-style: none; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-current {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: var(--ghm-fs-xs);
	font-weight: 600;
	color: var(--ghm-ink);
	padding: var(--ghm-sp-1) var(--ghm-sp-3);
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-primary-soft);
}
.lang-current svg { width: 0.9rem; height: 0.9rem; }
.lang-menu[open] .lang-current svg { transform: rotate(180deg); }
.lang-dropdown { min-width: 7rem; right: 0; left: auto; }
.lang-dropdown .current-lang a { color: var(--ghm-primary-dark); font-weight: 700; }

/* Account panel: the profile icon opens a small dropdown (owner, 2026-08-26). */
.account-menu { position: relative; }
.account-menu > summary { list-style: none; cursor: pointer; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu[open] > summary { background: var(--ghm-primary-soft); color: var(--ghm-primary-dark); }
.account-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 50;
	min-width: 13rem;
	list-style: none;
	margin: 0;
	padding: var(--ghm-sp-2);
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	box-shadow: var(--ghm-shadow-lg);
}
.account-dropdown a {
	display: block;
	padding: var(--ghm-sp-2) var(--ghm-sp-3);
	border-radius: var(--ghm-r-sm);
	color: var(--ghm-ink);
	font-size: var(--ghm-fs-sm);
	text-decoration: none;
	white-space: nowrap;
}
.account-dropdown a:hover { background: var(--ghm-primary-soft); color: var(--ghm-primary-dark); }
.account-dropdown-sep { border-top: 1px solid var(--ghm-border); margin-top: var(--ghm-sp-2); padding-top: var(--ghm-sp-2); }

/* Icon links: cart and account (owner, 2026-08-26) — equal round hit areas
   keep the whole header row on one calm visual line. */
.header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: var(--ghm-r-pill);
	color: var(--ghm-ink);
	position: relative;
	flex-shrink: 0;
}
.header-icon svg { width: 1.35rem; height: 1.35rem; }
.header-icon:hover { background: var(--ghm-primary-soft); color: var(--ghm-primary-dark); }
.cart-count {
	position: absolute;
	top: -2px;
	right: -4px;
	min-width: 1.5em;
	line-height: 1.5em;
	text-align: center;
	background: var(--ghm-primary);
	color: var(--ghm-on-primary);
	border-radius: var(--ghm-r-pill);
	font-size: 0.65rem;
	font-weight: 700;
	padding: 0 0.35em;
}
/* One straight header line (owner's ask, 2026-08-26): everything — logo,
   the whole menu, cart and account — on a single baseline, nothing wraps.
   The header strip gets a wider stage than the page body (1280px), because
   at the body's 1100px the full line physically cannot fit with 16px text.
   The single-line mode starts where the content genuinely fits; below that
   the header falls back to the tidy centered wrap. */
.site-header .wrap { max-width: var(--ghm-maxw); } /* v4: antraštės kraštai = turinio kraštai */
/* One line from 1140px up — the language switcher (LT EN UK) added ~120px
   back to the row. */
@media (min-width: 1140px) {
	.header-inner { justify-content: space-between; flex-wrap: nowrap; gap: var(--ghm-sp-3); }
	/* The menu takes all the free width and centers itself in it — the old
	   margin-left:auto on the actions glued the menu to the logo instead
	   (owner, 2026-08-26). */
	/* Meniu — tiksliai puslapio centre (ne laisvo tarpo centre): tarpai iš
	   abiejų pusių vienodi lyginant su turinio centru (užsakovė 2026-09-02). */
	.header-inner { position: relative; }
	.site-nav { position: absolute; left: 50%; transform: translateX(-50%); flex: none; display: flex; justify-content: center; min-width: 0; }
	.site-nav ul { flex-wrap: nowrap; gap: var(--ghm-sp-1); }
	.site-nav a { white-space: nowrap; padding: var(--ghm-sp-1) var(--ghm-sp-1); }
	.header-actions { flex-shrink: 0; gap: var(--ghm-sp-3); }
	.header-cta { padding: var(--ghm-sp-2) var(--ghm-sp-3); }
	.logo { flex-shrink: 0; }
}
@media (min-width: 1330px) {
	.header-inner { gap: var(--ghm-sp-5); }
	.site-nav ul { gap: var(--ghm-sp-1) var(--ghm-sp-2); }
	.site-nav a { padding: var(--ghm-sp-1) var(--ghm-sp-2); }
	.header-actions { gap: var(--ghm-sp-4); }
	.header-cta { padding: var(--ghm-sp-2) var(--ghm-sp-4); }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
	background: var(--ghm-deep);
	color: #ffffff;
	margin-top: var(--ghm-sp-8);
	padding: var(--ghm-sp-7) 0 var(--ghm-sp-6);
	text-align: center;
	border-radius: var(--ghm-r-lg) var(--ghm-r-lg) 0 0;
}
.footer-links {
	list-style: none;
	margin: 0 0 var(--ghm-sp-4);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-2) var(--ghm-sp-5);
}
.footer-links a { font-size: var(--ghm-fs-sm); color: #ffffff; opacity: 0.88; text-decoration: none; }
.footer-links a:hover { opacity: 1; color: #ffffff; text-decoration: underline; }
.footer-req { font-size: var(--ghm-fs-sm); color: #ffffff; opacity: 0.7; margin: 0; }

/* ============================================================
   Cards, badges, chips
   ============================================================ */

.card {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-5);
}

.badge {
	display: inline-block;
	font-size: var(--ghm-fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: var(--ghm-sp-1) var(--ghm-sp-3);
	border-radius: var(--ghm-r-pill);
}
.badge-gold {
	background: var(--ghm-gold-soft);
	color: var(--ghm-gold);
	border: 1px solid var(--ghm-gold);
}
.badge-green { background: var(--ghm-primary-soft); color: var(--ghm-primary-dark); }

.chip {
	display: inline-block;
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-body);
	background: var(--ghm-primary-soft);
	border: none;
	border-radius: var(--ghm-r-pill);
	padding: var(--ghm-sp-2) var(--ghm-sp-4);
}

/* Certificate seal (pure CSS) */
.seal {
	width: 2.75rem;
	height: 2.75rem;
	flex: 0 0 auto;
	margin: 0 auto var(--ghm-sp-3);
	border-radius: var(--ghm-r-pill);
	border: 2px solid var(--ghm-gold);
	background:
		radial-gradient(circle at center, var(--ghm-gold-soft) 0 55%, transparent 56%),
		var(--ghm-surface);
	box-shadow: inset 0 0 0 5px var(--ghm-surface), var(--ghm-shadow-sm);
}

/* FAQ (details) */
.faq details {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	box-shadow: var(--ghm-shadow-sm);
	margin-bottom: var(--ghm-sp-3);
	padding: 0;
}
.faq summary {
	cursor: pointer;
	font-weight: 600;
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	border-radius: var(--ghm-r-md);
	list-style-position: inside;
}
.faq summary:hover { color: var(--ghm-primary-dark); }
.faq details[open] summary { border-bottom: 1px solid var(--ghm-border); }
.faq .faq-body { padding: var(--ghm-sp-4) var(--ghm-sp-5); color: var(--ghm-muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* Progress bar */
.progress-track {
	background: var(--ghm-surface-alt);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-pill);
	height: 0.75rem;
	overflow: hidden;
}
.progress-fill {
	height: 100%;
	background: var(--ghm-primary);
	border-radius: var(--ghm-r-pill);
}

/* Native form controls */
input[type="radio"], input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--ghm-primary);
	margin-top: 0.2rem;
	flex: 0 0 auto;
}
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="date"], input[type="tel"],
input[type="number"], input[type="url"], select, textarea {
	font-family: var(--ghm-font-body);
	font-size: var(--ghm-fs-base);
	color: var(--ghm-ink);
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-sm);
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	max-width: 100%;
}
input:focus, select:focus, textarea:focus {
	outline: 3px solid var(--ghm-focus);
	outline-offset: 1px;
	border-color: var(--ghm-primary);
}

/* ============================================================
   Front page
   ============================================================ */

/* Hero v4 (2026-09-02): tekstas kairėje, spalvotų blokų kompozicija
   dešinėje, paskutinis antraštės žodis laimo markeryje. Balta drobė. */
.hero { padding: var(--ghm-sp-8) 0 var(--ghm-sp-7); background: var(--ghm-bg); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--ghm-sp-6); align-items: center; }
.hero h1 { margin: 0 0 var(--ghm-sp-4); text-wrap: balance; }
.hero .btn { margin-top: var(--ghm-sp-4); }
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: minmax(0, 34rem) 1fr; gap: var(--ghm-sp-7); }
	.hero h1 { font-size: var(--ghm-fs-3xl); }
}
.hero-lead {
	font-size: var(--ghm-fs-lg);
	color: var(--ghm-muted);
	max-width: 56ch;
	margin: 0 0 var(--ghm-sp-5);
}
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ghm-sp-3) var(--ghm-sp-4); margin: 0 0 var(--ghm-sp-6); }
.hero .btn { margin-top: 0; }
.hero-link { color: var(--ghm-primary); font-weight: 600; text-decoration: none; }
.hero-link:hover { color: var(--ghm-primary-dark); text-decoration: underline; }
/* Pasitikėjimo eilutės hero'e — stulpeliu, kairėje, su 16px ikonomis. */
.hero .trust-items {
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: var(--ghm-sp-3);
}
@media (min-width: 768px) { .hero .trust-items { flex-direction: column; gap: var(--ghm-sp-3); } }
.marker {
	background: var(--ghm-lime);
	color: var(--ghm-ink);
	border-radius: 10px;
	padding: 0 10px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}
/* Kompozicija: trys plokšti suapvalinti pasukti blokai, vienas už krašto. */
.hero-shapes { position: relative; height: 22rem; display: none; }
.hero-shapes i { position: absolute; border-radius: 28px; }
.hero-shapes .shape-blue { width: 24rem; height: 11rem; background: var(--ghm-primary); right: -4rem; top: 0.5rem; transform: rotate(-7deg); }
.hero-shapes .shape-lime { width: 13rem; height: 5.5rem; background: var(--ghm-lime); right: 5rem; top: 8rem; transform: rotate(-4deg); }
.hero-shapes .shape-mint { width: 20rem; height: 10rem; background: var(--ghm-mint); left: 0.5rem; top: 11rem; transform: rotate(5deg); }
@media (min-width: 900px) { .hero-shapes { display: block; } }

/* DUK blokas — žydra kortelė: antraštė+įžanga kairėje, mygtukas dešinėje. */
section[aria-labelledby="gh-faq-title"] .wrap {
	max-width: var(--ghm-maxw);
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6) var(--ghm-sp-6);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: var(--ghm-sp-6);
	align-items: center;
	text-align: left;
}
section[aria-labelledby="gh-faq-title"] .section-title { text-align: left; grid-column: 1; margin: 0 0 var(--ghm-sp-2); }
section[aria-labelledby="gh-faq-title"] .section-lead { text-align: left; grid-column: 1; margin: 0; max-width: none; color: var(--ghm-body); }
section[aria-labelledby="gh-faq-title"] .btn { grid-column: 2; grid-row: 1 / span 2; }
section[aria-labelledby="gh-faq-title"] .btn.btn-outline { background: var(--ghm-cta); color: #ffffff; border-color: var(--ghm-cta); }
@media (max-width: 640px) {
	section[aria-labelledby="gh-faq-title"] .wrap { grid-template-columns: 1fr; }
	section[aria-labelledby="gh-faq-title"] .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: var(--ghm-sp-4); }
}
/* Sekcijų antraštės — kairėje (maketas). */
.section-title, .front-content h2 { text-align: left; font-size: 1.882rem; letter-spacing: -0.3px; } /* 32px — maketas */
.section-lead { text-align: left; margin-left: 0; }

/* Front page static content: an airy lead, feature cards, a price line. */
.front-content { padding: var(--ghm-sp-7) 0 var(--ghm-sp-2); }
.front-intro {
	text-align: center;
	font-size: var(--ghm-fs-lg);
	max-width: 56ch;
	margin: 0 auto var(--ghm-sp-7);
}
.front-content h2 { text-align: left; margin: 0 0 var(--ghm-sp-5); }
.front-features {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ghm-sp-4);
	margin: 0 0 var(--ghm-sp-6);
}
@media (min-width: 768px) { .front-features { grid-template-columns: repeat(3, 1fr); } }
.front-feature {
	background: var(--ghm-surface-alt);
	border: none;
	border-radius: var(--ghm-r-lg);
	box-shadow: none;
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
	display: flex;
	flex-direction: column;
}
.front-feature:nth-child(2) { background: var(--ghm-mint); }
.front-feature:nth-child(3) { background: var(--ghm-surface-alt); } /* užsakovė 2026-09-02: dvi žalios greta — per daug */
.front-feature:nth-child(4) { background: var(--ghm-lime); }
/* Ikonos ženkliukas: tamsus apskritimas su balta ikona (CSS mask iš
   sistemos ikonų rinkinio — be markup keitimo). */
.front-feature:not(.front-feature--kaina)::before {
	content: '';
	display: block;
	width: 48px;
	height: 48px;
	border-radius: var(--ghm-r-pill);
	background-color: var(--ghm-ink);
	margin-bottom: var(--ghm-sp-3);
	-webkit-mask: var(--ikona) center / 24px 24px no-repeat;
	mask: var(--ikona) center / 24px 24px no-repeat;
	-webkit-mask-composite: source-in;
}
.front-feature:not(.front-feature--kaina) { position: relative; }
.front-feature:not(.front-feature--kaina)::after {
	content: '';
	position: absolute;
	top: var(--ghm-sp-6);
	left: var(--ghm-sp-5);
	width: 48px;
	height: 48px;
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-ink);
	z-index: 0;
}
.front-feature:not(.front-feature--kaina)::before { position: relative; z-index: 1; background-color: #ffffff; }
.front-feature:nth-child(1) { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h9.2l2.8 2.8v13.2a1 1 0 0 1-1 1h-11a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 3.5v17'/%3E%3Cpath d='M12.5 3.5v4.6l1.6-1.2 1.6 1.2V3.5'/%3E%3C/svg%3E"); }
.front-feature:nth-child(2) { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 4.5h10.2l2.8 2.8v12.2H5.5V4.5Z'/%3E%3Cpath d='M12 12.5V8.5M12 12.5l3 1.8'/%3E%3C/svg%3E"); }
.front-feature:nth-child(3) { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h15.4L21 7.6V18H3V5Z'/%3E%3Cpath d='M6.5 9.5h7M6.5 12.5h5'/%3E%3Ccircle cx='16.8' cy='13.9' r='2.1'/%3E%3C/svg%3E"); }
.front-feature:nth-child(4) { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5V7.3L8 5h8.2l2.3 2.3V15l-2.5 2.5H9.5'/%3E%3Cpath d='M12 14.5 9 17.5l3 3'/%3E%3C/svg%3E"); }
.front-feature:nth-child(5) { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2.5h7.6L17 4.9v16.6H7V2.5Z'/%3E%3Cpath d='M10.8 18.8h2.4M10 5h2.5'/%3E%3C/svg%3E"); }
/* „Kainos nuo" — mėlyna kortelė, baltas tekstas. */
.front-feature--kaina { background: var(--ghm-primary); justify-content: center; }
.front-feature--kaina .front-price { text-align: left; margin: 0; color: #ffffff; font-family: var(--ghm-font-display); font-weight: 700; font-size: var(--ghm-fs-lg); }
.front-feature--kaina .front-price a { color: #ffffff; display: block; font-family: var(--ghm-font-body); font-weight: 500; font-size: var(--ghm-fs-sm); margin-top: var(--ghm-sp-2); text-decoration: underline; }
.front-feature h3 {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-base);
	margin: 0 0 var(--ghm-sp-2);
	color: var(--ghm-ink);
}
.front-feature p { margin: 0; color: var(--ghm-body); font-size: var(--ghm-fs-sm); }


.trust-strip { background: var(--ghm-bg); padding: 0 0 var(--ghm-sp-6); }
.trust-items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--ghm-sp-4);
	text-align: center;
}
.trust-items li {
	display: flex;
	align-items: center;
	gap: var(--ghm-sp-2);
	font-size: var(--ghm-fs-sm);
	font-weight: 500;
	color: var(--ghm-body);
}
.trust-items .trust-icon { width: 1rem; height: 1rem; flex: none; color: var(--ghm-ink); }
.trust-items a { color: var(--ghm-primary); }
@media (min-width: 768px) {
	.trust-items { flex-direction: row; justify-content: center; gap: var(--ghm-sp-7); }
}

.course-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ghm-sp-5);
}
@media (min-width: 768px) {
	.course-grid { grid-template-columns: repeat(3, 1fr); }
}
/* v4 apsiverčianti kortelė. Hover zona — stabilus .flip-slot langelis
   (besisukanti plokštuma pelės negaudo — kitaip kraštuose mirksi);
   80ms uždelsa saugo nuo atsitiktinio užkliudymo. */
.flip-slot { perspective: 1200px; height: 24rem; position: relative; }
.flip-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 500ms ease 80ms;
	pointer-events: none;
}
.flip-slot a { pointer-events: auto; }
.flip-slot:hover .flip-inner,
.flip-slot:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-inner .flip-front, .flip-inner .flip-back {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.flip-inner .flip-back { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

.course-card {
	display: flex;
	flex-direction: column;
	text-align: left;
	gap: var(--ghm-sp-3);
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
	border: none;
	box-shadow: none;
	border-radius: var(--ghm-r-lg);
}
/* Kortelių tonai: nuolaida — mėlyna, kitos pakaitomis švelni/žydra. */
.card.card--soft { background: var(--ghm-surface-alt); border: none; box-shadow: none; }
.card.card--sky  { background: var(--ghm-primary-soft); border: none; box-shadow: none; }
.card.card--blue { background: var(--ghm-primary); border: none; box-shadow: none; }
.card.card--blue h3 a, .card.card--blue .course-program, .card.card--blue .course-price,
.card.card--blue .course-price del, .card.card--blue .course-meta, .card.card--blue .course-more { color: #ffffff; }
.card.card--blue .course-meta li::before { background: var(--ghm-lime); }
.course-card h3 { margin: 0; font-size: var(--ghm-fs-lg); }
.course-card h3 a { color: var(--ghm-ink); text-decoration: none; }
.course-card h3 a:hover { color: inherit; }
.course-program { color: var(--ghm-muted); font-size: var(--ghm-fs-sm); margin: 0; }
.card.card--soft .course-program, .card.card--sky .course-program { color: var(--ghm-body); }
.course-price {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-xl);
	color: var(--ghm-ink);
	margin: var(--ghm-sp-3) 0;
}
.course-price--big { font-size: 1.65rem; margin: auto 0 0; }
.course-more {
	color: var(--ghm-ink);
	font-weight: 500;
	font-size: var(--ghm-fs-sm);
	text-decoration: none;
	align-self: flex-end;
}
.course-more::after { content: ' \2192'; }
.course-more:hover { text-decoration: underline; }

/* Discounted course: crossed-out "was" price + a small badge (owner,
   2026-08-26 — mirrors the old shop's "Išpardavimas" tags). */
.course-price del,
.price del {
	color: var(--ghm-muted);
	font-size: 0.75em;
	margin-right: var(--ghm-sp-2);
	text-decoration-thickness: 1.5px;
}
/* v4 SPALVŲ TAISYKLĖ: kortelės tonas — tik fiksuota rotacija (dekoras),
   reikšmę neša TIK laimo „Nuolaida" žyma — identiška ant visų tonų. */

.course-sale-badge {
	align-self: flex-start;
	background: var(--ghm-lime);
	color: var(--ghm-ink);
	font-size: var(--ghm-fs-xs);
	font-weight: 700;
	padding: var(--ghm-sp-1) var(--ghm-sp-3);
	border-radius: var(--ghm-r-pill);
	margin: 0;
}

/* Apie mus (owner, 2026-08-26): centered headings via the core alignment
   class (the theme does not always load block-library CSS), discreet
   requisites line — the legal entity is stated, not advertised. */
.entry-content .has-text-align-center { text-align: center; }
.ghm-rekvizitai {
	text-align: center;
	font-size: var(--ghm-fs-xs);
	color: var(--ghm-muted);
	margin: var(--ghm-sp-7) 0 0;
}

/* Contact form ([ghm_contact_form]): full-width card, name+email in one
   row, a short message box (owner, 2026-08-26: wider and shorter). */
.ghm-contact-form {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-sm);
	padding: var(--ghm-sp-5);
	text-align: left;
	margin: var(--ghm-sp-5) 0;
}
.ghm-contact-fields { display: grid; gap: var(--ghm-sp-4); }
@media (min-width: 600px) {
	.ghm-contact-fields { grid-template-columns: 1fr 1fr; }
}
.ghm-contact-fields .ghm-field { margin: 0; }
.ghm-contact-form .ghm-field { margin-bottom: var(--ghm-sp-4); }
.ghm-contact-form label { margin-bottom: var(--ghm-sp-1); font-size: var(--ghm-fs-sm); }
.ghm-contact-form input[type="text"],
.ghm-contact-form input[type="email"],
.ghm-contact-form textarea {
	width: 100%;
	max-width: none;
}
.ghm-contact-form textarea { min-height: 6.5rem; resize: vertical; }
.ghm-contact-form .ghm-actions { margin: 0; padding-top: 0; }

/* DUK: bold questions, plain answers (owner, 2026-08-26). */
.ghm-duk h3 {
	font-family: var(--ghm-font-body);
	font-size: var(--ghm-fs-lg);
	font-weight: 700;
	margin: var(--ghm-sp-6) 0 var(--ghm-sp-2);
}
.ghm-duk h3:first-child { margin-top: 0; }
.course-meta {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--ghm-sp-5);
	color: var(--ghm-body);
	font-size: var(--ghm-fs-base);
	display: grid;
	gap: var(--ghm-sp-2);
}
.course-meta li { position: relative; padding-left: 1rem; }
.course-meta li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--ghm-primary);
}
.flip-back .course-meta { margin: 0; }
.flip-back .course-price { margin-top: auto; }
/* Aligned card bottoms (owner, 2026-08-26): titles vary in length, so the
   whole price+meta+button group is pushed to the card's bottom — in every
   row the prices, the meta lines and the buttons sit on the same level. */
.flip-back .course-more { margin-top: var(--ghm-sp-2); }

.steps {
	list-style: none;
	counter-reset: step;
	margin: 0 auto;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ghm-sp-5);
	max-width: var(--ghm-maxw-narrow);
}
@media (min-width: 768px) {
	.steps { grid-template-columns: repeat(3, 1fr); max-width: none; }
}
.step {
	counter-increment: step;
	text-align: left;
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
	border-radius: var(--ghm-r-lg);
	display: flex;
	flex-direction: column;
	background: var(--ghm-surface-alt);
}
.step:nth-child(2) { background: var(--ghm-mint); }
.step:nth-child(3) { background: var(--ghm-lime); }
.step::before {
	content: '0' counter(step);
	display: block;
	margin: 0 0 var(--ghm-sp-3);
	color: var(--ghm-primary);
	font-weight: 600;
	font-size: var(--ghm-fs-sm);
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}
.step:nth-child(2)::before, .step:nth-child(3)::before { color: var(--ghm-ink); }
.step h3 { font-size: var(--ghm-fs-lg); margin-bottom: var(--ghm-sp-3); }
.step p { color: var(--ghm-body); font-size: var(--ghm-fs-sm); margin: auto 0 0; }

/* ============================================================
   Course pages (archive + single)
   ============================================================ */

.page-head {
	text-align: center;
	padding: var(--ghm-sp-7) 0 var(--ghm-sp-5);
}

.breadcrumb {
	padding: var(--ghm-sp-5) 0 0;
	text-align: center;
}
.breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-2);
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-muted);
}
.breadcrumb li + li::before {
	content: "/";
	margin-right: var(--ghm-sp-2);
	color: var(--ghm-border);
}

/* v4 kurso puslapis: dvi kolonos — pasakojimas kairėje, lipni pirkimo
   kortelė dešinėje (kaina, CTA, „Kursą sudaro" su ikonomis). */
.course-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ghm-sp-6);
	align-items: start;
	padding-top: var(--ghm-sp-3);
	padding-bottom: var(--ghm-sp-8);
}
@media (min-width: 960px) {
	.course-layout { grid-template-columns: minmax(0, 1fr) 24rem; column-gap: var(--ghm-sp-8); row-gap: var(--ghm-sp-6); }
	.course-layout .course-head { grid-column: 1 / -1; }
	.course-layout .course-main { grid-column: 1; grid-row: 2; }
	.course-layout .course-buy { grid-column: 2; grid-row: 2; align-self: start; }
}
/* Duonos trupiniai — prie to paties kairio krašto kaip turinys. */
.breadcrumb ol { justify-content: flex-start; }
.breadcrumb.wrap { padding-left: var(--ghm-sp-5); padding-right: var(--ghm-sp-5); }
/* Antraštės blokas — žydra kortelė su spalvotų formų aidu (kaip hero). */
.course-head {
	position: relative;
	overflow: hidden;
	text-align: left;
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6) var(--ghm-sp-6) var(--ghm-sp-6);
	margin: 0;
}
.course-shapes i { position: absolute; border-radius: 22px; z-index: 0; }
.course-shapes i:nth-child(1) { width: 16rem; height: 7rem; background: var(--ghm-primary); right: -2rem; top: -1.5rem; transform: rotate(-8deg); }
.course-shapes i:nth-child(2) { width: 9rem; height: 4.5rem; background: var(--ghm-lime); right: 9rem; top: 3.5rem; transform: rotate(5deg); }
.course-shapes i:nth-child(3) { width: 12rem; height: 5.5rem; background: var(--ghm-mint); right: -1rem; top: 6.5rem; transform: rotate(-4deg); }
.course-head h1, .course-head .meta-row, .course-head p { max-width: 60%; }
.course-head > * { position: relative; z-index: 1; }
.course-head h1 { max-width: 22ch; margin: 0 0 var(--ghm-sp-4); font-size: var(--ghm-fs-3xl); line-height: 1.12; }
.course-head .badge-gold { background: var(--ghm-lime); color: var(--ghm-ink); border: none; }
.course-head .chip { background: var(--ghm-surface); }
@media (max-width: 767px) { .course-head h1 { font-size: var(--ghm-fs-2xl); } }
.meta-row {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--ghm-sp-2) var(--ghm-sp-3);
}
.course-about { max-width: none; }
.content-section { padding: 0; }
.content-section h2 { text-align: left; font-size: var(--ghm-fs-xl); margin-bottom: var(--ghm-sp-4); }

.course-buy-card {
	background: var(--ghm-primary-soft);
	border: none;
	box-shadow: none;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
}
.course-buy-foot {
	margin-top: var(--ghm-sp-5);
	padding-top: var(--ghm-sp-5);
	border-top: 1px solid rgba(26, 43, 59, 0.15);
}
.course-buy-card .price {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: 2.2rem;
	color: var(--ghm-ink);
	margin: 0 0 var(--ghm-sp-4);
	line-height: 1.1;
}
.course-buy-card .price del { font-size: 0.5em; font-weight: 400; color: var(--ghm-body); margin-right: var(--ghm-sp-2); }
.course-buy-card .btn { display: block; width: 100%; margin: 0; }
.course-buy-title { font-size: var(--ghm-fs-base); margin: 0 0 var(--ghm-sp-3); color: var(--ghm-ink); }
.course-includes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ghm-sp-3); }
.course-includes li {
	position: relative;
	padding-left: 2.6rem;
	min-height: 1.9rem;
	display: flex;
	align-items: center;
	color: var(--ghm-ink);
	font-weight: 500;
}
/* Ikonos: tamsus apskritimas su balta sistemos ikona (CSS mask). */
.course-includes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-ink);
}
.course-includes li::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.9rem;
	height: 1.9rem;
	background: #ffffff;
	-webkit-mask: var(--ikona) center / 1.05rem 1.05rem no-repeat;
	mask: var(--ikona) center / 1.05rem 1.05rem no-repeat;
}
.course-includes .inc-material { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h9.2l2.8 2.8v13.2a1 1 0 0 1-1 1h-11a2 2 0 0 1-2-2v-13a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M8 3.5v17'/%3E%3Cpath d='M12.5 3.5v4.6l1.6-1.2 1.6 1.2V3.5'/%3E%3C/svg%3E"); }
.course-includes .inc-quiz { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 3h12.4l2.6 2.6V21H4.5V3Z'/%3E%3Cpath d='M8 7.5h8M8 11h4'/%3E%3Cpath d='m8.5 16 2 2 4.5-4.5'/%3E%3C/svg%3E"); }
.course-includes .inc-cert { --ikona: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h15.4L21 7.6V18H3V5Z'/%3E%3Cpath d='M6.5 9.5h7M6.5 12.5h5'/%3E%3Ccircle cx='16.8' cy='13.9' r='2.1'/%3E%3C/svg%3E"); }
.list-card { padding: var(--ghm-sp-5) var(--ghm-sp-6); background: var(--ghm-primary-soft); border: none; box-shadow: none; }
.list-card ul { margin: 0; padding: 0; list-style: none; }
.list-card li {
	padding: var(--ghm-sp-3) 0;
	display: flex;
	gap: var(--ghm-sp-3);
	align-items: baseline;
}
.list-card li + li { border-top: 1px solid rgba(26, 43, 59, 0.12); }
.list-card .dot {
	flex: 0 0 auto;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-primary);
	position: relative;
	top: -0.1rem;
}
.list-card .dot-gold { background: var(--ghm-gold); }

/* ============================================================
   Learning mode (enrolled view + /mokymasis/ context)
   ============================================================ */

.learn-head {
	text-align: center;
	padding: var(--ghm-sp-6) 0 var(--ghm-sp-5);
}
.learn-head h1 { margin-bottom: var(--ghm-sp-2); }
.progress-block {
	max-width: 420px;
	margin: 0 auto;
}
.progress-label {
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-muted);
	margin-bottom: var(--ghm-sp-2);
}
.learn-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ghm-sp-5);
	align-items: start;
	padding-bottom: var(--ghm-sp-7);
}
@media (min-width: 900px) {
	.learn-grid { grid-template-columns: 320px 1fr; }
}
.materials { padding: var(--ghm-sp-4); }
.materials h2 {
	font-size: var(--ghm-fs-lg);
	text-align: center;
	padding-top: var(--ghm-sp-2);
}
.materials ol { list-style: none; margin: 0; padding: 0; }
.materials li {
	display: flex;
	align-items: flex-start;
	gap: var(--ghm-sp-3);
	padding: var(--ghm-sp-4);
	border-radius: var(--ghm-r-md);
}
.materials li + li { margin-top: var(--ghm-sp-2); }
.mat-state {
	flex: 0 0 auto;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: var(--ghm-r-pill);
	text-align: center;
	line-height: 1.6rem;
	font-size: var(--ghm-fs-sm);
	font-weight: 700;
}
.mat-done .mat-state {
	background: var(--ghm-success-soft);
	color: var(--ghm-success);
	border: 1px solid var(--ghm-success);
}
.mat-current {
	background: var(--ghm-primary-soft);
	border: 1px solid var(--ghm-primary);
}
.mat-current .mat-state {
	background: var(--ghm-primary);
	color: var(--ghm-on-primary);
}
.mat-locked { color: var(--ghm-muted); }
.mat-locked .mat-state {
	background: var(--ghm-surface-alt);
	color: var(--ghm-muted);
	border: 1px solid var(--ghm-border);
}
.mat-title { font-weight: 600; display: block; }
.mat-note { font-size: var(--ghm-fs-xs); color: var(--ghm-muted); display: block; }
.mat-current .mat-note { color: var(--ghm-primary-dark); }
.learn-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-4);
	padding: var(--ghm-sp-4) 0 var(--ghm-sp-2);
}

/* ============================================================
   Plugin: secure PDF viewer ([ghm_viewer])
   ============================================================ */

.ghm-viewer {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-4);
}
.ghm-viewer .ghm-viewer__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--ghm-sp-3) var(--ghm-sp-4);
	padding: var(--ghm-sp-2) 0 var(--ghm-sp-4);
}
/* v4: abi vartymo rodyklės — VIENODOS (pora); būsena keičia tik toną. */
.ghm-viewer .ghm-viewer__toolbar button {
	font-family: var(--ghm-font-body);
	font-size: var(--ghm-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	padding: var(--ghm-sp-2) var(--ghm-sp-4);
	border-radius: var(--ghm-r-pill);
	border: 1px solid var(--ghm-border);
	background: var(--ghm-surface);
	color: var(--ghm-ink);
	cursor: pointer;
}
.ghm-viewer .ghm-viewer__toolbar button:hover:not(:disabled) {
	background: var(--ghm-primary-soft);
	color: var(--ghm-ink);
}
.ghm-viewer .ghm-viewer__toolbar button:disabled {
	border-color: var(--ghm-border);
	color: var(--ghm-muted);
	background: var(--ghm-surface);
	cursor: not-allowed;
	opacity: 0.55;
}
.ghm-viewer .ghm-viewer__page-indicator {
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-muted);
	min-width: 8rem;
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.ghm-viewer .ghm-viewer__stage {
	background: var(--ghm-surface-alt);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	overflow: hidden;
}
.ghm-viewer .ghm-viewer__status {
	padding: var(--ghm-sp-3);
	text-align: center;
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-muted);
}
.ghm-viewer .ghm-viewer__status[hidden] { display: none; }
.ghm-viewer-message {
	text-align: center;
	color: var(--ghm-muted);
	font-size: var(--ghm-fs-sm);
}

/* ============================================================
   Plugin: quiz ([ghm_quiz])
   ============================================================ */

.ghm-quiz {
	max-width: var(--ghm-maxw-narrow);
	margin: 0 auto;
	padding: var(--ghm-sp-5) 0 var(--ghm-sp-6);
}
.ghm-quiz h2 {
	text-align: center;
	margin-bottom: var(--ghm-sp-5);
}

.ghm-quiz-info {
	list-style: none;
	margin: 0 auto var(--ghm-sp-5);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-2) var(--ghm-sp-3);
}
.ghm-quiz-info li {
	display: inline-block;
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-ink);
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-pill);
	padding: var(--ghm-sp-1) var(--ghm-sp-4);
}

.ghm-notice {
	border-radius: var(--ghm-r-md);
	border: 1px solid var(--ghm-border);
	background: var(--ghm-surface);
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	margin-bottom: var(--ghm-sp-4);
}
.ghm-notice-success {
	background: var(--ghm-success-soft);
	border-color: var(--ghm-success);
	color: var(--ghm-success);
	font-weight: 600;
}
.ghm-notice-error {
	background: var(--ghm-danger-soft);
	border-color: var(--ghm-danger);
	color: var(--ghm-danger);
	font-weight: 600;
}

.ghm-questions {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: ghm-question;
}
/* v4 šilumos lašas ilgiausiam puslapiui: klausimų kortelės gauna
   dekoro rotacijos kairįjį akcentą (mėtinė/žydra/laimas). */
.ghm-questions .ghm-question { position: relative; overflow: hidden; --akcentas: var(--ghm-mint); }
.ghm-questions .ghm-question::before { content: ''; position: absolute; left: 0; top: var(--ghm-sp-4); bottom: var(--ghm-sp-4); width: 6px; border-radius: 0 3px 3px 0; background: var(--akcentas); }
.ghm-questions .ghm-question:nth-child(3n+2) { --akcentas: var(--ghm-primary); }
.ghm-questions .ghm-question:nth-child(3n) { --akcentas: var(--ghm-lime); }
.ghm-question {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	margin-bottom: var(--ghm-sp-5);
	padding: var(--ghm-sp-5) var(--ghm-sp-5) var(--ghm-sp-4);
}
.ghm-question fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}
.ghm-question legend {
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-lg);
	line-height: var(--ghm-lh-heading);
	padding: 0;
	margin-bottom: var(--ghm-sp-4);
}
.ghm-question-hint {
	font-size: var(--ghm-fs-sm);
	color: var(--ghm-muted);
	margin: 0 0 var(--ghm-sp-4);
}
/* Part of the question, not decoration: capped so a large pictogram does not
   push the answers off the screen on a phone. */
.ghm-question-image {
	margin: 0 0 var(--ghm-sp-4);
}
/* An option that is a picture: the label stays above it so the choice is still
   readable when the pictures look alike. */
.ghm-answer-image {
	display: block;
	margin-top: var(--ghm-sp-2);
}
.ghm-answer-image img {
	display: block;
	max-width: 100%;
	max-height: 170px;
	width: auto;
	height: auto;
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-sm, 4px);
	background: #fff;
}
.ghm-question-image img {
	display: block;
	max-width: 100%;
	max-height: 260px;
	width: auto;
	height: auto;
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: #fff;
}
.ghm-answer {
	display: flex;
	align-items: flex-start;
	gap: var(--ghm-sp-3);
	font-size: var(--ghm-fs-lg);
	padding: var(--ghm-sp-4) var(--ghm-sp-4);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface);
	margin: 0 0 var(--ghm-sp-3);
	cursor: pointer;
}
.ghm-answer:hover { border-color: var(--ghm-primary); }
.ghm-answer:has(:checked) {
	border-color: var(--ghm-primary);
	background: var(--ghm-primary-soft);
}
.ghm-answer label { cursor: pointer; flex: 1 1 auto; }

.ghm-actions {
	text-align: center;
	padding-top: var(--ghm-sp-3);
}
/* Testo pateikimas — lipni apatinė juosta su plačiu mygtuku (susijungia
   su 4px progreso juosta po ja). */
.ghm-question-form .ghm-actions {
	position: sticky;
	bottom: 4px;
	background: var(--ghm-surface);
	border-top: 1px solid var(--ghm-border);
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	margin-top: var(--ghm-sp-5);
	z-index: 50;
}
.ghm-question-form .ghm-actions .ghm-button {
	font-size: var(--ghm-fs-base);
	padding: var(--ghm-sp-4) var(--ghm-sp-8);
	width: min(100%, 24rem);
}
/* Didesni radio taikiniai vyresnei auditorijai. */
.ghm-answer input[type="radio"], .ghm-answer input[type="checkbox"] {
	width: 1.5rem;
	height: 1.5rem;
}
/* Testo informacijos eilutės — žydri chips'ai. */
.ghm-quiz-info li {
	display: inline-block;
	background: var(--ghm-primary-soft);
	color: var(--ghm-body);
	border-radius: var(--ghm-r-pill);
	padding: var(--ghm-sp-1) var(--ghm-sp-4);
	margin: 0 var(--ghm-sp-2) var(--ghm-sp-2) 0;
}
/* 4px progreso juosta testo apačioje (pildo JS, be teksto). */
.ghm-quiz-progress {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: var(--ghm-surface-alt);
	z-index: 60;
}
.ghm-quiz-progress .ghm-quiz-progress-fill {
	height: 100%;
	width: 0;
	background: var(--ghm-primary);
	transition: width 200ms ease;
}
.ghm-button,
button.ghm-button {
	display: inline-block;
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-sm);
	font-weight: 700;
	line-height: 1.25;
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
	border-radius: var(--ghm-r-pill);
	border: 2px solid transparent;
	background: var(--ghm-cta);
	color: var(--ghm-on-primary);
	cursor: pointer;
	text-align: center;
	text-decoration: none;
}
.ghm-button:hover { background: var(--ghm-cta-dark); color: var(--ghm-on-primary); }

/* Quiz result */
.ghm-quiz-result {
	text-align: center;
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
}
.ghm-score {
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-2xl);
	margin: var(--ghm-sp-3) 0 var(--ghm-sp-2);
	color: var(--ghm-ink);
}
.ghm-result { font-weight: 700; margin-bottom: var(--ghm-sp-2); }
.ghm-result-passed { color: var(--ghm-success); }
.ghm-quiz-result:has(.ghm-result-passed) { border-top: 4px solid var(--ghm-success); }
.ghm-quiz-result:has(.ghm-result-passed) .ghm-score { color: var(--ghm-success); }
.ghm-result-failed, .ghm-result-exhausted { color: var(--ghm-danger); }
.ghm-quiz-result:has(.ghm-result-failed) { border-top: 4px solid var(--ghm-danger); }
.ghm-quiz-result:has(.ghm-result-exhausted) { border-top: 4px solid var(--ghm-danger); }
.ghm-quiz-result:has(.ghm-result-failed) .ghm-score { color: var(--ghm-danger); }
.ghm-attempts-remaining { color: var(--ghm-muted); margin-bottom: var(--ghm-sp-4); }
/* :not(.ghm-button) — this rule is more specific than .ghm-button, so
   without the guard the certificate buttons on the passed screen rendered
   green-on-green: their labels showed up only on hover. */
.ghm-quiz-result a:not(.ghm-button) {
	color: var(--ghm-primary);
}
.ghm-quiz-result a.ghm-button { color: var(--ghm-on-primary); }
.ghm-quiz-result .ghm-result-actions { margin-top: var(--ghm-sp-4); }
.ghm-quiz-result .ghm-result-actions .ghm-button { margin: 0 var(--ghm-sp-2) var(--ghm-sp-2); }

/* Secondary button: outlined, so the primary action stays the loudest. */
.ghm-button--secondary,
.ghm-quiz-result a.ghm-button--secondary {
	background: transparent;
	border-color: var(--ghm-primary);
	color: var(--ghm-primary);
	box-shadow: none;
}
.ghm-button--secondary:hover {
	background: var(--ghm-primary-soft);
	color: var(--ghm-primary-dark);
}

/* Learner data form */
.ghm-field { margin: 0 0 var(--ghm-sp-4); }
.ghm-field label {
	display: block;
	font-weight: 600;
	margin-bottom: var(--ghm-sp-2);
}
.ghm-field input {
	display: block;
	width: 100%;
	max-width: 26rem;
}
.ghm-quiz-learner-data,
.ghm-quiz-intro {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-6) var(--ghm-sp-5);
}

/* ============================================================
   Plugin: certificate verification ([ghm_cert_verification])
   ============================================================ */

.ghm-verify {
	max-width: var(--ghm-maxw-narrow);
	margin: 0; /* kairėje, lygiuoja su įžangos tekstu (užsakovė, 2026-09-02: „žodžiai nelygiuoja su lentele") */
}
.ghm-verify__form {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--ghm-sp-4);
	margin-bottom: var(--ghm-sp-5);
}
.ghm-verify__label {
	display: block;
	flex: 1 1 100%;
	font-weight: 600;
}
.ghm-verify__input {
	flex: 1 1 14rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}
.ghm-verify__submit {
	font-family: var(--ghm-font-body);
	font-size: var(--ghm-fs-sm);
	font-weight: 500;
	line-height: 1.25;
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
	border-radius: var(--ghm-r-pill);
	border: 2px solid transparent;
	background: var(--ghm-primary);
	color: var(--ghm-on-primary);
	box-shadow: var(--ghm-shadow-sm);
	cursor: pointer;
}
.ghm-verify__submit:hover { background: var(--ghm-primary-dark); }

.ghm-verify-result {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-lg);
	box-shadow: var(--ghm-shadow-md);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
}
.ghm-verify-status {
	font-weight: 700;
	font-size: var(--ghm-fs-lg);
	margin-bottom: var(--ghm-sp-3);
}
/* valid = green */
.ghm-verify-result--valid { background: var(--ghm-surface); --busena: var(--ghm-success); } /* baltas fonas — G8: žalias tekstas ant žalsvo/žydro fono 2.7:1 */
.ghm-verify-status--valid { color: var(--ghm-success-text); }
/* revoked / not found / rate limited = red */
.ghm-verify-result--revoked,
.ghm-verify-result--not-found,
.ghm-verify-result--rate-limited { background: var(--ghm-danger-soft); --busena: var(--ghm-danger); }
.ghm-verify-status--revoked,
.ghm-verify-status--not-found,
.ghm-verify-status--rate-limited { color: var(--ghm-danger); }
/* expired = amber (muted gold, AA on its soft background) */
.ghm-verify-result--expired { background: var(--ghm-gold-soft); --busena: var(--ghm-gold); }
.ghm-verify-status--expired { color: var(--ghm-gold); }

.ghm-verify__details {
	margin: var(--ghm-sp-4) 0 0;
	display: grid;
	grid-template-columns: max-content 1fr;
	gap: var(--ghm-sp-2) var(--ghm-sp-5);
}
.ghm-verify__term { font-weight: 600; color: var(--ghm-ink); }
.ghm-verify__description { margin: 0; color: var(--ghm-ink); }

/* ============================================================
   Content pages / archive / search / 404
   ============================================================ */

.page-content-narrow {
	max-width: var(--ghm-maxw-narrow);
	margin: 0 auto;
	padding: 0 var(--ghm-sp-5) var(--ghm-sp-7);
}
.page-content-narrow h1 { text-align: center; margin-bottom: var(--ghm-sp-5); }
.entry-content img { border-radius: var(--ghm-r-md); }

/* Editor tables (the training-periodicity list, for one) used to render as a
   cramped unstyled grid. A wide table gets the room it needs: it may break out
   of the narrow column up to 1100px, scrolls sideways on small screens instead
   of crushing its columns, and reads as the plugin-side tables do. */
.entry-content .wp-block-table {
	width: min(1100px, calc(100vw - 2 * var(--ghm-sp-5)));
	margin-left: 50%;
	transform: translateX(-50%);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.entry-content table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: var(--ghm-surface);
	font-size: var(--ghm-fs-sm);
	line-height: 1.45;
}
.entry-content table th,
.entry-content table td {
	border: 1px solid var(--ghm-border);
	padding: var(--ghm-sp-2) var(--ghm-sp-3);
	text-align: left;
	vertical-align: top;
}
.entry-content table thead th,
.entry-content table tr:first-child th {
	background: var(--ghm-primary-soft);
	color: var(--ghm-primary-dark);
	font-weight: 700;
}
.entry-content table tbody tr:nth-child(even) { background: var(--ghm-bg, #FFFFFF); }

.search-form-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--ghm-sp-3);
	margin-bottom: var(--ghm-sp-6);
}
.search-form-row input[type="search"] { flex: 1 1 16rem; max-width: 26rem; }

.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ghm-sp-4); }
.result-list .card h2, .result-list .card h3 { margin-bottom: var(--ghm-sp-2); }
.result-list .card p:last-child { margin-bottom: 0; }

.error-404 { text-align: center; padding: var(--ghm-sp-8) 0; }
.error-404 .btn { margin: var(--ghm-sp-2); }

.pagination-nav { text-align: center; padding: var(--ghm-sp-6) 0 0; }
.pagination-nav .page-numbers {
	display: inline-block;
	min-width: 2.4rem;
	padding: var(--ghm-sp-2) var(--ghm-sp-3);
	margin: 0 var(--ghm-sp-1);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-surface);
	color: var(--ghm-ink);
	text-decoration: none;
	font-size: var(--ghm-fs-sm);
}
.pagination-nav .page-numbers.current {
	background: var(--ghm-primary);
	border-color: var(--ghm-primary);
	color: var(--ghm-on-primary);
	font-weight: 700;
}
.pagination-nav a.page-numbers:hover { background: var(--ghm-primary-soft); color: var(--ghm-primary-dark); }

/* Post/page alignment basics */
.alignleft { float: left; margin: 0 var(--ghm-sp-5) var(--ghm-sp-4) 0; }
.alignright { float: right; margin: 0 0 var(--ghm-sp-4) var(--ghm-sp-5); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { max-width: 100%; }

/* ============================================================
   WooCommerce (light wrapper — container + typography only)
   ============================================================ */

.ghm-woo-wrap {
	max-width: var(--ghm-maxw);
	margin: 0 auto;
	padding: var(--ghm-sp-6) var(--ghm-sp-5) var(--ghm-sp-7);
}
.woocommerce, .woocommerce-page {
	font-size: var(--ghm-fs-base);
}
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-cta);
	color: var(--ghm-on-primary);
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--ghm-cta-dark);
	color: var(--ghm-on-primary);
}

/* Formų etiketės: netrūkinėja į dvi „etiketes"; (nebūtinas) — pilkas. */
.woocommerce form .form-row label:not(.screen-reader-text) { display: block; width: 100%; }
.woocommerce form .form-row label .optional { color: var(--ghm-muted); font-weight: 400; }

/* v4: atsiskaitymas dviem kolonomis — forma kairėje, užsakymo
   suvestinė ir mokėjimas dešinėje (lipni). */
@media (min-width: 1000px) {
	form.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 26rem;
		grid-template-rows: auto auto auto 1fr; /* 4 eil. apimanti forma plečia tik 1fr eilutę — antraštė nenusėda */
		gap: 0 var(--ghm-sp-6);
		align-items: start;
	}
	form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 4; }
	form.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 2; margin: 0 0 var(--ghm-sp-3); }
	/* Klaidų pranešimas (Woo įterpia formos pradžioje) — virš suvestinės, ne po lipnia kortele (užsakovė, 2026-09-02). */
	form.woocommerce-checkout .woocommerce-NoticeGroup-checkout { grid-column: 2; grid-row: 1; margin: 0 0 var(--ghm-sp-4); }
	form.woocommerce-checkout #order_review { grid-column: 2; grid-row: 3; position: sticky; top: calc(var(--ghm-header-h) + var(--ghm-sp-4)); }
	form.woocommerce-checkout #customer_details.col2-set .col-1,
	form.woocommerce-checkout #customer_details.col2-set .col-2 { width: 100%; float: none; }
}
/* Suvestinė — žydra kortelė (paletės akcentas transakciniame). */
form.woocommerce-checkout #order_review {
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5);
}
form.woocommerce-checkout #order_review table.shop_table { background: transparent; }

/* Svarbiausias srauto mygtukas — pilno pločio ir ryškus. */
.woocommerce-checkout #payment button#place_order {
	width: 100%;
	font-size: var(--ghm-fs-base);
	padding: var(--ghm-sp-4) var(--ghm-sp-6);
}

/* v4: mokėjimo blokas atsiskaityme — sistemos fonas ir kampai (vietoje
   Woo numatytojo pilkšvai violetinio). */
.woocommerce-checkout #payment {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
}
.woocommerce-checkout #payment div.payment_box {
	background: var(--ghm-primary-soft);
	color: var(--ghm-body);
}
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-MyAccount-navigation {
	float: none !important;
	width: auto !important; /* Woo core: float:left + width:30% — fonas likdavo siauresnis už tekstą */
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-4);
}
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--ghm-sp-1);
}
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: var(--ghm-sp-2) var(--ghm-sp-4);
	border-radius: var(--ghm-r-md);
	text-decoration: none;
	color: var(--ghm-ink);
	font-size: var(--ghm-fs-sm);
	white-space: nowrap;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation a:hover {
	background: var(--ghm-surface);
	color: var(--ghm-primary-dark);
}
.woocommerce table.shop_table {
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface);
}
/* v4: Woo pranešimų, laukų ir lentelių numatytosios spalvos -> tokenai. */
/* Woo programiškai fokusuoja pranešimą (tabindex -1): pelės/programinio fokuso
   žiedas darė dvigubą rėmelį. Klaviatūros fokusui (:focus-visible) žiedas lieka. */
.woocommerce-message:focus:not(:focus-visible), .woocommerce-info:focus:not(:focus-visible) { outline: none; }
.woocommerce-message:focus-visible, .woocommerce-info:focus-visible { outline: 2px solid var(--ghm-focus); outline-offset: 2px; } /* toks pat žiedas kaip kitų fokusuotų elementų — ne pilkas antras rėmelis */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--ghm-primary-soft) !important; /* be pilkumos */
	color: var(--ghm-body) !important;
	border: none !important;
	border-left: 3px solid var(--ghm-primary) !important;
	border-radius: var(--ghm-r-md);
}
.woocommerce-error { border-left-color: var(--ghm-danger) !important; }
.woocommerce a.remove { color: var(--ghm-danger) !important; }
.woocommerce .input-text, .woocommerce input.input-text, .woocommerce select,
.woocommerce textarea, .woocommerce-checkout input, .woocommerce-checkout select {
	color: var(--ghm-ink) !important;
	border-color: var(--ghm-border) !important;
}
.woocommerce form.woocommerce-form, .woocommerce form.checkout_coupon,
.woocommerce form.login, .woocommerce form.register {
	border-color: var(--ghm-border) !important;
	border-radius: var(--ghm-r-lg);
}
.woocommerce span.required { color: var(--ghm-muted) !important; }
.woocommerce-checkout .input-text, .woocommerce-checkout select,
.woocommerce-checkout textarea, .woocommerce .select2-selection {
	border-radius: var(--ghm-r-sm) !important;
	background: var(--ghm-surface);
}
.woocommerce table.shop_table, table.ghm-account-certs {
	border: none !important;
	border-radius: var(--ghm-r-lg);
	background: var(--ghm-surface-alt);
	overflow: hidden;
	border-collapse: separate;
	border-spacing: 0;
}
.woocommerce table.shop_table th, table.ghm-account-certs th {
	background: transparent !important;
	color: var(--ghm-muted) !important;
	font-size: var(--ghm-fs-sm);
	border: none !important;
	border-bottom: 1px solid var(--ghm-border) !important;
	padding: var(--ghm-sp-4);
}
.woocommerce table.shop_table td, table.ghm-account-certs td {
	border: none !important;
	border-bottom: 1px solid var(--ghm-border) !important;
	background: transparent;
	padding: var(--ghm-sp-4);
}
.woocommerce table.shop_table tr:last-child td,
table.ghm-account-certs tr:last-child td { border-bottom: none !important; }
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table .order-total th, .woocommerce table.shop_table .order-total td {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	color: var(--ghm-ink) !important;
	font-size: var(--ghm-fs-base);
}
/* Transakciniai puslapiai (krepšelis/atsiskaitymas/paskyra) gauna pilną
   plotį — siaurame 760px stulpelyje lentelės ir dvi kolonos nesutelpa. */
.woocommerce-cart .page-content-narrow,
.woocommerce-checkout .page-content-narrow,
.woocommerce-account .page-content-narrow { max-width: var(--ghm-maxw); }
/* Paskyros navigacija + turinys: aiškios dvi kolonos. */
@media (min-width: 900px) {
	.woocommerce-account main .woocommerce {
		display: grid;
		grid-template-columns: fit-content(20rem) minmax(0, 1fr);
		gap: var(--ghm-sp-6);
		align-items: start;
	}
	.woocommerce-account main .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-account main .woocommerce > .woocommerce-MyAccount-navigation { grid-column: 1; grid-row: 2; }
	.woocommerce-account main .woocommerce > .woocommerce-MyAccount-content { grid-column: 2; grid-row: 2; }
}
.woocommerce-MyAccount-navigation ul { float: none; width: auto; }
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: 100% !important; } /* Woo core 68 % permušta */

/* Krepšelis dviem kolonomis: prekės kairėje, suvestinė lipni dešinėje. */
@media (min-width: 1000px) {
	.woocommerce-cart main .woocommerce {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 24rem;
		gap: var(--ghm-sp-6);
		align-items: start;
	}
	.woocommerce-cart main .woocommerce > .woocommerce-notices-wrapper,
	.woocommerce-cart main .woocommerce > .woocommerce-message { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { position: sticky; top: calc(var(--ghm-header-h) + var(--ghm-sp-4)); }
}
/* Krepšelio lentelės antraštės akivaizdžios iš turinio — paliekamos tik
   ekrano skaitytuvams; prekės eilutė skaitosi kaip kortelė. */
.woocommerce-cart table.cart thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}
.woocommerce-cart table.cart td.product-name a { font-weight: 600; color: var(--ghm-ink); text-decoration: none; }
.woocommerce-cart table.cart td.product-name a:hover { color: var(--ghm-primary-dark); }
/* Šalinimo „×" — apvalus aiškus mygtukas. */
.woocommerce-cart table.cart a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: var(--ghm-r-pill);
	background: var(--ghm-surface) !important;
	border: 1px solid var(--ghm-border);
}
.woocommerce-cart table.cart a.remove:hover { border-color: var(--ghm-danger); }
/* Kupono eilutė be tuščios uodegos. */
.woocommerce-cart table.cart td.actions { padding-top: var(--ghm-sp-4); }

/* Kursai parduodami po vieną — tuščias „Kiekis" stulpelis nerodomas;
   be antraščių „Kaina" ir „Suma" dubliuojasi — rodoma tik suma. */
.woocommerce-cart table.cart .product-quantity,
.woocommerce-cart table.cart .product-price { display: none; }
/* Pranešimo mygtukas „Krepšelis" pačiame krepšelyje — perteklinis. */
.woocommerce-cart .woocommerce-message .button { display: none; }

/* Krepšelio suvestinė — žydra kortelė. */
.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5);
}
.woocommerce-cart .cart-collaterals .cart_totals table { background: transparent; }
/* Šoninių kortelių lentelės: be paveldėto 640px min-width (netelpa). */
.cart-collaterals table, form.woocommerce-checkout #order_review table {
	min-width: 0 !important;
	width: 100%;
}
.woocommerce-cart .cart-collaterals .cart_totals h2 { font-size: var(--ghm-fs-lg); margin-bottom: var(--ghm-sp-3); }
/* Šalinimo „×" ramus, raudonas tik užvedus. */
.woocommerce a.remove { color: var(--ghm-muted) !important; }
.woocommerce a.remove:hover { color: var(--ghm-danger) !important; background: transparent !important; }

/* Kursai be nuotraukų — tuščias paveiksliuko stulpelis krepšelyje slepiamas. */
.woocommerce-cart table.cart .product-thumbnail { display: none; }
/* Kupono laukas: telpa visas „Nuolaidos kodas". */
.woocommerce table.cart td.actions .coupon .input-text { width: 13rem !important; }
/* Neaktyvus „Atnaujinti krepšelį" nerodomas, kol nieko nepakeista. */
.woocommerce button[name="update_cart"]:disabled { display: none; }
/* Pažymėjimai — KORTELIŲ sąrašas (v4): kiekviena eilutė virsta apvalia
   kortele: numeris ir data smulkiai, programa ryškiai, būsena — žalias
   ženkliukas, PDF mygtukas dešinėje. Antraštės paliekamos ekrano
   skaitytuvams (vizualiai paslėptos). */
table.ghm-account-certs { display: block; width: 100%; min-width: 0; background: transparent; border: none; }
table.ghm-account-certs thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}
table.ghm-account-certs tbody { display: grid; gap: var(--ghm-sp-3); }
table.ghm-account-certs tbody tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: var(--ghm-sp-5);
	row-gap: 2px;
	align-items: center;
	background: var(--ghm-surface-alt) !important; /* permuša Woo zebrą */
	border-radius: var(--ghm-r-md);
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
}
table.ghm-account-certs tbody td { border: none !important; padding: 0 !important; background: transparent; }
table.ghm-account-certs td:nth-child(1) { grid-column: 1; grid-row: 1; font-size: var(--ghm-fs-sm); color: var(--ghm-muted); white-space: nowrap; }
table.ghm-account-certs td:nth-child(2) { grid-column: 1; grid-row: 2; font-weight: 600; color: var(--ghm-ink); }
table.ghm-account-certs td:nth-child(3) { grid-column: 1; grid-row: 3; font-size: var(--ghm-fs-sm); color: var(--ghm-muted); white-space: nowrap; }
table.ghm-account-certs td:nth-child(4) { grid-column: 2; grid-row: 1; justify-self: end; }
table.ghm-account-certs td:nth-child(4) {
	color: var(--ghm-ink);
	font-weight: 700;
	white-space: nowrap;
	background: var(--ghm-mint);
	border-radius: var(--ghm-r-pill);
	padding: var(--ghm-sp-1) var(--ghm-sp-4) !important;
	font-size: var(--ghm-fs-sm);
}
table.ghm-account-certs td:nth-child(5) { grid-column: 2; grid-row: 2 / span 2; justify-self: end; }
table.ghm-account-certs .ghm-button {
	white-space: nowrap;
	font-size: var(--ghm-fs-xs);
	padding: var(--ghm-sp-2) var(--ghm-sp-4);
}
.woocommerce table.shop_table td.actions { background: transparent; }
input, button, select, textarea { color: var(--ghm-ink); }
/* select2 (šalies laukas atsiskaityme) — tokenai */
.woocommerce .select2-selection { border-color: var(--ghm-border) !important; border-radius: var(--ghm-r-sm); }
.woocommerce .select2-selection__rendered { color: var(--ghm-ink) !important; }
.woocommerce .show-password-input { color: var(--ghm-muted) !important; }
/* Pranešimų nuorodos: tamsesnė mėlyna — 4.5:1 ant žydro fono (G8). */
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: var(--ghm-primary-dark) !important;
	text-decoration: underline;
}
/* Siauri ekranai: lentelės slenka savo konteineryje, ne per puslapį (G7);
   Woo mobilus td.actions juodas fonas — išjungiamas. */
@media (max-width: 640px) {
	.woocommerce table.shop_table {
		display: block;
		width: 100%;
		min-width: 0; /* permuša 640px min-width — mobilėje ląstelės sukrautos */
		max-width: 100%;
		overflow-x: auto;
	}
	.woocommerce table.shop_table td.actions { background: transparent !important; }
	.woocommerce table.shop_table td { background: transparent !important; }
}

.woocommerce-message-senas, .woocommerce-info-senas {
	border-top-color: var(--ghm-primary);
}
.woocommerce-error {
	border-top-color: var(--ghm-danger);
}

/* Phase 6 seam: the learning routes render outside the page templates and
   were missing the standard content container. */
.ghm-learn {
	max-width: var(--ghm-container, 1100px);
	margin: 0 auto;
	padding: var(--ghm-sp-6, 2.5rem) var(--ghm-sp-4, 1.25rem) var(--ghm-sp-7, 4rem);
}
/* v4 mokymosi rėmas: šoninė kortelė + peržyklės stulpelis (turinys §8.2
   neliečiamas — čia tik APLINK jį). */
.ghm-learn-head { margin-bottom: var(--ghm-sp-5); }
.ghm-learn-subtitle { color: var(--ghm-muted); margin: 0 0 var(--ghm-sp-2); }
.ghm-learn-grid { display: grid; grid-template-columns: 1fr; gap: var(--ghm-sp-5); align-items: start; }
@media (min-width: 960px) { .ghm-learn-grid { grid-template-columns: 22rem minmax(0, 1fr); } }
.ghm-learn-materials {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5);
	position: sticky;
	top: calc(var(--ghm-header-h) + var(--ghm-sp-4));
}
.ghm-learn-materials-heading { font-size: var(--ghm-fs-lg); margin-bottom: var(--ghm-sp-4); }
.ghm-learn-list { list-style: none; margin: 0 0 var(--ghm-sp-5); padding: 0; display: grid; gap: var(--ghm-sp-3); }
.ghm-learn-row-link {
	display: flex;
	gap: var(--ghm-sp-3);
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface);
	color: var(--ghm-ink);
	text-decoration: none;
}
.ghm-learn-row--current .ghm-learn-row-link { background: var(--ghm-primary-soft); }
.ghm-learn-row-link:hover { color: var(--ghm-ink); box-shadow: var(--ghm-shadow-sm); }
.ghm-learn-state { color: var(--ghm-success); font-weight: 700; }
.ghm-learn-row--pending .ghm-learn-state { color: var(--ghm-muted); }
.ghm-learn-row-title { display: block; font-weight: 600; }
.ghm-learn-row-note { display: block; font-size: var(--ghm-fs-sm); color: var(--ghm-muted); }
.ghm-learn-test-card { background: var(--ghm-mint); border-radius: var(--ghm-r-md); padding: var(--ghm-sp-4) var(--ghm-sp-5); }
.ghm-learn-test-card--locked { background: var(--ghm-surface); }
.ghm-learn-test-title { font-size: var(--ghm-fs-base); margin-bottom: var(--ghm-sp-2); }
.ghm-learn-test-note { font-size: var(--ghm-fs-sm); color: var(--ghm-body); margin-bottom: var(--ghm-sp-3); }
.ghm-learn-test-link {
	display: inline-block;
	background: var(--ghm-cta);
	color: var(--ghm-on-primary);
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-sm);
	padding: var(--ghm-sp-3) var(--ghm-sp-5);
	border-radius: var(--ghm-r-pill);
	text-decoration: none;
}
.ghm-learn-test-link:hover { background: var(--ghm-cta-dark); color: var(--ghm-on-primary); }
.ghm-learn-progress { max-width: 26rem; }
.ghm-learn-progress-label { font-size: var(--ghm-fs-sm); color: var(--ghm-muted); margin-bottom: var(--ghm-sp-2); }
.ghm-learn-progress-track {
	background: var(--ghm-border);
	border-radius: var(--ghm-r-pill);
	height: 0.7rem;
	overflow: hidden;
}
.ghm-learn-progress-fill { background: var(--ghm-primary); height: 100%; border-radius: var(--ghm-r-pill); }
.ghm-learn-viewer-heading { font-size: var(--ghm-fs-lg); }
.ghm-learn-viewer-note {
	color: var(--ghm-muted);
	font-size: var(--ghm-fs-sm);
	text-align: center;
	margin-top: var(--ghm-sp-3);
}
.ghm-learn-back a { color: var(--ghm-primary-dark); } /* 4.5:1 ant žydro bloko */
.ghm-access-denied__message { margin: var(--ghm-sp-4, 1.25rem) 0; }
.ghm-dashboard-summary { margin-bottom: var(--ghm-sp-5, 2rem); }
.ghm-result-actions { margin-top: var(--ghm-sp-4, 1.25rem); }
.ghm-next-steps { margin-top: var(--ghm-sp-5, 2rem); }

/* ============================================================
   Checkout: buyer-type chooser (two side-by-side options, each
   with its own radio — Woo's default markup separated the circle
   from its label, which confused buyers).
   ============================================================ */

.ghm-buyer-type {
	border: 0;
	margin: 0 0 var(--ghm-sp-5);
	padding: 0;
}
.ghm-buyer-type__legend {
	font-size: var(--ghm-fs-sm);
	font-weight: 600;
	padding: 0;
	margin-bottom: var(--ghm-sp-3);
}
.ghm-buyer-type__options {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ghm-sp-3);
}
.ghm-buyer-type__option {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	gap: var(--ghm-sp-3);
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface);
	cursor: pointer;
	font-size: var(--ghm-fs-sm);
	line-height: 1.3;
}
.ghm-buyer-type__option input[type="radio"] {
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	accent-color: var(--ghm-primary);
}
.ghm-buyer-type__option.is-selected {
	border-color: var(--ghm-primary);
	background: var(--ghm-primary-soft);
	box-shadow: inset 0 0 0 1px var(--ghm-primary);
}
.ghm-buyer-type__option:focus-within {
	outline: 3px solid var(--ghm-focus);
	outline-offset: 2px;
}

/* ============================================================
   Order received / thank-you page
   ============================================================ */

.woocommerce-order .woocommerce-order-overview,
ul.woocommerce-order-overview {
	list-style: none;
	margin: var(--ghm-sp-5) 0;
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--ghm-sp-4);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface);
}
ul.woocommerce-order-overview li {
	border: 0 !important;
	margin: 0;
	padding: 0;
	float: none !important;
	font-size: var(--ghm-fs-xs);
	color: var(--ghm-muted);
	text-transform: none;
	line-height: 1.4;
}
ul.woocommerce-order-overview li strong {
	display: block;
	margin-top: var(--ghm-sp-1);
	font-size: var(--ghm-fs-base);
	font-weight: 600;
	color: var(--ghm-ink);
	overflow-wrap: anywhere;
}

.ghm-next-steps { margin: var(--ghm-sp-6) 0; }
.ghm-next-steps .ghm-button,
.ghm-next-steps .button {
	max-width: 100%;
	overflow-wrap: anywhere;
	text-align: center;
}

.ghm-seller-box {
	margin: var(--ghm-sp-6) 0;
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	background: var(--ghm-surface-alt);
	font-size: var(--ghm-fs-xs);
	line-height: 1.55;
}
.ghm-seller-box h2 {
	font-size: var(--ghm-fs-lg);
	margin-bottom: var(--ghm-sp-2);
}
.ghm-seller-box dl {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--ghm-sp-1) var(--ghm-sp-4);
}
.ghm-seller-box dt { color: var(--ghm-muted); }
.ghm-seller-box dd { margin: 0; }


/* ============================================================
   v4 (2026-09-02) — Krepšelis ir atsiskaitymas: gilesnis dizainas.
   Kairėje lygiuotos antraštės, prekė kaip kortelė, laukai tinklelyje,
   mokėjimo būdai — radio kortelės, suvestinė — žydra lipni kortelė.
   ============================================================ */

/* Puslapio antraštė transakciniuose — kaip kurso puslapyje: žydra kortelė
   su trijų spalvotų formų kompozicija, tekstas kairėje. */
.woocommerce-cart .page-head,
.woocommerce-checkout .page-head,
.woocommerce-account .page-head { padding: var(--ghm-sp-5) 0 var(--ghm-sp-5); text-align: left; }
.woocommerce-cart .page-head .wrap,
.woocommerce-checkout .page-head .wrap,
.woocommerce-account .page-head .wrap {
	position: relative;
	overflow: hidden;
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6) var(--ghm-sp-6);
	min-height: 11rem;
	display: flex;
	align-items: center;
	max-width: calc(var(--ghm-maxw) - 2 * var(--ghm-sp-5)); /* kortelės kraštai = turinio kraštai */
}
.woocommerce-cart .page-head h1,
.woocommerce-checkout .page-head h1,
.woocommerce-account .page-head h1 { text-align: left; margin: 0; position: relative; z-index: 1; max-width: 60%; }
.woocommerce-cart .page-head .wrap::before,
.woocommerce-checkout .page-head .wrap::before,
.woocommerce-account .page-head .wrap::before,
.woocommerce-cart .page-head .wrap::after,
.woocommerce-checkout .page-head .wrap::after,
.woocommerce-account .page-head .wrap::after,
.woocommerce-cart .page-head h1::after,
.woocommerce-checkout .page-head h1::after,
.woocommerce-account .page-head h1::after { content: ''; position: absolute; border-radius: 22px; }
.woocommerce-cart .page-head .wrap::before,
.woocommerce-checkout .page-head .wrap::before,
.woocommerce-account .page-head .wrap::before {
	width: 16rem; height: 7rem; background: var(--ghm-primary); right: -2rem; top: -1.5rem; transform: rotate(-8deg);
	box-shadow: -4rem 7.5rem 0 -0.8rem var(--ghm-mint); /* trečia forma — mėtinė kopija apačioje */
}
.woocommerce-cart .page-head .wrap::after,
.woocommerce-checkout .page-head .wrap::after,
.woocommerce-account .page-head .wrap::after { width: 9rem; height: 4.5rem; background: var(--ghm-lime); right: 9rem; top: 3.5rem; transform: rotate(5deg); }
.woocommerce-cart .page-head h1::after,
.woocommerce-checkout .page-head h1::after,
.woocommerce-account .page-head h1::after { display: none; }
@media (max-width: 767px) {
	.woocommerce-cart .page-head h1, .woocommerce-checkout .page-head h1, .woocommerce-account .page-head h1 { max-width: none; }
	.woocommerce-cart .page-head .wrap::before, .woocommerce-checkout .page-head .wrap::before, .woocommerce-account .page-head .wrap::before,
	.woocommerce-cart .page-head .wrap::after, .woocommerce-checkout .page-head .wrap::after, .woocommerce-account .page-head .wrap::after,
	.woocommerce-cart .page-head h1::after, .woocommerce-checkout .page-head h1::after, .woocommerce-account .page-head h1::after { display: none; }
}

/* --- Krepšelis: prekės eilutė kaip kortelė --- */
.woocommerce-cart table.cart {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	overflow: hidden;
}
.woocommerce-cart table.cart td { vertical-align: middle; padding: var(--ghm-sp-5) var(--ghm-sp-4) !important; }
.woocommerce-cart table.cart td.product-remove { width: 3rem; padding-right: 0 !important; }
.woocommerce-cart table.cart td.product-name { font-size: var(--ghm-fs-lg); }
.woocommerce-cart table.cart td.product-subtotal {
	text-align: right;
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-lg);
	color: var(--ghm-ink);
	white-space: nowrap;
}
.woocommerce-cart table.cart td.actions {
	background: transparent !important;
	border-top: 1px solid var(--ghm-border) !important;
	padding: var(--ghm-sp-4) !important;
}
.woocommerce-cart table.cart td.actions .coupon { display: flex; gap: var(--ghm-sp-3); align-items: center; flex-wrap: wrap; }
.woocommerce-cart table.cart td.actions .coupon .input-text { margin: 0; }
.woocommerce-cart .cart_totals h2 { font-size: var(--ghm-fs-lg); }
.woocommerce-cart .cart_totals table th { width: 50%; color: var(--ghm-muted); font-weight: 500; }
.woocommerce-cart .cart_totals table .order-total th,
.woocommerce-cart .cart_totals table .order-total td { font-size: var(--ghm-fs-xl); font-family: var(--ghm-font-display); font-weight: 700; color: var(--ghm-ink) !important; }
.woocommerce-cart .wc-proceed-to-checkout { padding: var(--ghm-sp-4) 0 0; }
.woocommerce-cart .wc-proceed-to-checkout .button { width: 100%; display: block; text-align: center; }

/* Atsiskaityme „įdėtas į krepšelį" pranešimas (su mygtuku „Krepšelis") —
   perteklinis: žmogus jau atsiskaito. Kiti pranešimai (kuponas, klaidos)
   lieka. */
.woocommerce-checkout .woocommerce-message:has(a.button.wc-forward) { display: none; }

/* --- Atsiskaitymas: sekcijų antraštės ir laukų tinklelis --- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
	font-size: var(--ghm-fs-lg);
	margin: 0 0 var(--ghm-sp-4);
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2 { margin-top: var(--ghm-sp-6); }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--ghm-sp-4);
	row-gap: var(--ghm-sp-3);
}
.woocommerce-checkout form .form-row,
.woocommerce-checkout form .form-row-first,
.woocommerce-checkout form .form-row-last { margin: 0; padding: 0; float: none; width: 100%; } /* permuša Woo 47 % */
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { grid-column: span 1; }
.woocommerce-checkout .form-row-wide, .woocommerce-checkout .notes { grid-column: 1 / -1; }
@media (max-width: 640px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	.woocommerce-checkout .woocommerce-additional-fields__field-wrapper { grid-template-columns: 1fr; }
	.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { grid-column: 1 / -1; }
}
.woocommerce-checkout .form-row label { font-size: var(--ghm-fs-sm); font-weight: 500; color: var(--ghm-ink); margin-bottom: var(--ghm-sp-1); }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row .select2-container { width: 100% !important; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select { min-height: 3rem; }
/* select2 paslėptas gimtasis select — ne 100% pločio (G7 perpildymas). */
.woocommerce-checkout .form-row select.select2-hidden-accessible { width: 1px !important; min-height: 0; }
.woocommerce-checkout .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .ghm-buyer-type { grid-column: 1 / -1; }
.woocommerce-checkout .ghm-buyer-type { margin-bottom: var(--ghm-sp-4); }
.woocommerce-checkout .ghm-buyer-type__option { border-radius: var(--ghm-r-md); background: var(--ghm-surface-alt); border: 1px solid transparent; }
.woocommerce-checkout .ghm-buyer-type__option.is-selected { background: var(--ghm-primary-soft); border-color: var(--ghm-primary); box-shadow: none; }

/* Suvestinė dešinėje: prekės eilutės, ryški suma */
form.woocommerce-checkout #order_review table.shop_table { background: transparent; }
form.woocommerce-checkout #order_review table.shop_table thead { display: none; }
form.woocommerce-checkout #order_review table.shop_table td,
form.woocommerce-checkout #order_review table.shop_table th {
	padding: var(--ghm-sp-3) 0 !important;
	border-bottom: 1px solid rgba(26, 43, 59, 0.12) !important;
	background: transparent !important;
}
form.woocommerce-checkout #order_review table.shop_table .product-total,
form.woocommerce-checkout #order_review table.shop_table tfoot td { text-align: right; white-space: nowrap; }
form.woocommerce-checkout #order_review table.shop_table tfoot th { color: var(--ghm-muted); font-weight: 500; font-family: var(--ghm-font-body); }
form.woocommerce-checkout #order_review table.shop_table .order-total th,
form.woocommerce-checkout #order_review table.shop_table .order-total td {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-xl);
	color: var(--ghm-ink) !important;
	border-bottom: none !important;
}

/* Mokėjimo būdai — radio kortelės */
.woocommerce-checkout #payment { background: transparent; padding: 0; margin-top: var(--ghm-sp-5); }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 !important; border: none !important; }
.woocommerce-checkout #payment ul.payment_methods li {
	background: var(--ghm-surface);
	border-radius: var(--ghm-r-md);
	padding: var(--ghm-sp-3) var(--ghm-sp-4) !important;
	margin: 0 0 var(--ghm-sp-3) !important;
	border: 1px solid transparent;
	line-height: 1.4;
}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--ghm-primary); }
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; color: var(--ghm-ink); cursor: pointer; }
.woocommerce-checkout #payment div.payment_box {
	background: var(--ghm-surface-alt) !important;
	color: var(--ghm-body);
	border-radius: var(--ghm-r-sm);
	margin: var(--ghm-sp-3) 0 0 !important;
	font-size: var(--ghm-fs-sm);
}
.woocommerce-checkout #payment div.place-order { padding: var(--ghm-sp-4) 0 0 !important; }


/* --- Atsiskaitymo forma kortelių kalba (užsakovė, 2026-09-02) --- */
/* Kupono raginimas — ne pilkas blokas, o subtili eilutė. */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: transparent !important;
	border: none !important;
	padding: 0 0 var(--ghm-sp-4) !important;
	margin: 0 !important;
	color: var(--ghm-muted) !important;
	font-size: var(--ghm-fs-sm);
	border-radius: 0;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none; }
.woocommerce-checkout form.checkout_coupon {
	background: var(--ghm-surface-alt);
	border: none !important;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) !important;
	margin-bottom: var(--ghm-sp-5) !important;
}
/* Pirkėjo duomenų kolona — šviesi kortelė, balti apvalūs laukai be rėmelių. */
.woocommerce-checkout #customer_details {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
}
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 { font-size: var(--ghm-fs-lg); margin-bottom: var(--ghm-sp-4); }
.woocommerce-checkout #customer_details .col-2 { margin-top: var(--ghm-sp-6); padding-top: var(--ghm-sp-6); border-top: 1px solid var(--ghm-border); }
.woocommerce-checkout #customer_details .form-row label { font-weight: 600; color: var(--ghm-ink); font-size: var(--ghm-fs-sm); }
.woocommerce-checkout #customer_details .form-row label .optional { font-weight: 400; color: var(--ghm-muted); }
.woocommerce-checkout #customer_details .input-text,
.woocommerce-checkout #customer_details select,
.woocommerce-checkout #customer_details textarea,
.woocommerce-checkout #customer_details .select2-selection {
	background: var(--ghm-surface) !important;
	border: 1px solid transparent !important;
	border-radius: var(--ghm-r-md) !important;
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	min-height: 3.25rem;
	box-shadow: none;
}
.woocommerce-checkout #customer_details .input-text:focus,
.woocommerce-checkout #customer_details select:focus,
.woocommerce-checkout #customer_details textarea:focus { border-color: var(--ghm-primary) !important; outline: 2px solid var(--ghm-focus); outline-offset: 1px; }
.woocommerce-checkout #customer_details .select2-selection { height: 3.25rem; display: flex; align-items: center; }
.woocommerce-checkout #customer_details .select2-selection__arrow { height: 3.25rem; }
.woocommerce-checkout #customer_details .ghm-buyer-type__option { background: var(--ghm-surface); border: 1px solid transparent; border-radius: var(--ghm-r-md); padding: var(--ghm-sp-4); }
.woocommerce-checkout #customer_details .ghm-buyer-type__option.is-selected { border-color: var(--ghm-primary); background: var(--ghm-surface); }
.woocommerce-checkout #customer_details .ghm-buyer-type__legend { color: var(--ghm-ink); }
/* Antraštės virš kolonų — ta pati linija. */
.woocommerce-checkout #order_review_heading { font-size: var(--ghm-fs-lg); margin: 0 0 var(--ghm-sp-4); }

/* Kursų sąrašas: įžanga centruota po centruota antrašte (užsakovė 2026-09-02). */
.post-type-archive-ghm_course .section-lead,
.post-type-archive-ghm_course .page-head p { text-align: center; margin-left: auto; margin-right: auto; }


/* ============================================================
   v4 (2026-09-02) — Mokymosi aplinka: antraštės blokas kaip kurso
   puslapyje, šoninė kortelė, peržyklės rėmas be rėmelių.
   Turinys (.ghm-viewer__stage) — NELIEČIAMAS (§8.2, G10).
   ============================================================ */
.ghm-learn-head {
	position: relative;
	overflow: hidden;
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
	margin-bottom: var(--ghm-sp-6);
}
.ghm-learn-head::before,
.ghm-learn-head::after { content: ''; position: absolute; border-radius: 22px; }
.ghm-learn-head::before {
	width: 16rem; height: 7rem; background: var(--ghm-primary); right: -2rem; top: -1.5rem; transform: rotate(-8deg);
	box-shadow: -4rem 7.5rem 0 -0.8rem var(--ghm-mint);
}
.ghm-learn-head::after { width: 9rem; height: 4.5rem; background: var(--ghm-lime); right: 9rem; top: 3.5rem; transform: rotate(5deg); }
.ghm-learn-head > * { position: relative; z-index: 1; }
.ghm-learn-title { max-width: 60%; margin-bottom: var(--ghm-sp-4); }
.ghm-learn-progress { max-width: 26rem; }
.ghm-learn-progress-track { background: var(--ghm-surface); }
@media (max-width: 767px) {
	.ghm-learn-title { max-width: none; }
	.ghm-learn-head::before, .ghm-learn-head::after { display: none; }
}
/* Testo kortelė šoninėje — žydra (viena šeima su pirkimo kortele), navy CTA. */
.ghm-learn-test-card { background: var(--ghm-primary-soft); }
.ghm-learn-test-card--locked { background: var(--ghm-surface); }
/* Peržyklės rėmas — kortelė be rėmelio. */
.ghm-viewer {
	border: 1px solid transparent; /* išlaiko scenos plotį pikselio tikslumu (G10) */
	box-shadow: none;
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-4);
}
.ghm-learn-viewer-heading { margin-bottom: var(--ghm-sp-3); }
/* Testo puslapio antraštė — ta pati kortelė (ghm-learn--test). */
.ghm-learn--test .ghm-learn-head .ghm-learn-subtitle { margin: 0 0 var(--ghm-sp-2); color: var(--ghm-body); }
.ghm-learn--test .ghm-learn-back { margin: 0; }


/* ============================================================
   v4 (2026-09-02) — Testas: klausimų kortelės, atsakymai kaip
   pasirenkamos kortelės, rezultato ekranas, pradžios ir duomenų formos.
   ============================================================ */
.ghm-quiz { max-width: 48rem; }
.ghm-quiz h2 { text-align: left; font-size: var(--ghm-fs-xl); margin-bottom: var(--ghm-sp-4); }
.ghm-quiz-info { justify-content: flex-start; margin-left: 0; }
.ghm-quiz-info li { background: var(--ghm-primary-soft); border: none; color: var(--ghm-body); padding: var(--ghm-sp-2) var(--ghm-sp-4); }
/* Klausimo kortelė — be rėmelio ir šešėlio, apvali; kairysis akcentas lieka. */
.ghm-question {
	border: none;
	box-shadow: none;
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6) var(--ghm-sp-5);
}
.ghm-questions .ghm-question { border-left: none; }
.ghm-question legend { font-size: var(--ghm-fs-lg); font-weight: 700; color: var(--ghm-ink); }
/* Atsakymai — baltos apvalios kortelės; pasirinkta — mėlynas rėmas + žydra. */
.ghm-answer {
	background: var(--ghm-surface);
	border: 2px solid transparent;
	border-radius: var(--ghm-r-md);
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
	margin: 0 0 var(--ghm-sp-2);
	font-size: var(--ghm-fs-base);
}
.ghm-answer:hover { border-color: var(--ghm-border); }
.ghm-answer:has(:checked) { border-color: var(--ghm-primary); background: var(--ghm-primary-soft); }
.ghm-answer input[type="radio"], .ghm-answer input[type="checkbox"] { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; }
/* Pateikimo juosta — be viršutinės linijos, mygtukas centre. */
.ghm-question-form .ghm-actions { border-top: none; background: transparent; }
.ghm-question-form .ghm-actions .ghm-button { box-shadow: var(--ghm-shadow-md); }
/* Rezultato ekranas — žydra kortelė, didelis balas, navy veiksmai. */
.ghm-quiz-result {
	background: var(--ghm-primary-soft);
	border: none !important;
	box-shadow: none;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-7) var(--ghm-sp-6);
}
.ghm-quiz-result:has(.ghm-result-passed),
.ghm-quiz-result:has(.ghm-result-failed),
.ghm-quiz-result:has(.ghm-result-exhausted) { border-top: none; }
.ghm-quiz-result:has(.ghm-result-passed) { background: var(--ghm-mint); }
.ghm-score { font-size: var(--ghm-fs-3xl); font-weight: 700; color: var(--ghm-ink) !important; margin: var(--ghm-sp-2) 0; }
.ghm-result { font-size: var(--ghm-fs-lg); color: var(--ghm-ink); }
.ghm-result-passed { color: var(--ghm-ink); }
.ghm-result-failed, .ghm-result-exhausted { color: var(--ghm-danger); }
.ghm-attempts-remaining { color: var(--ghm-body); }
.ghm-quiz-result a.ghm-button--secondary, .ghm-quiz-result .ghm-button--secondary { background: var(--ghm-surface); border-color: transparent; color: var(--ghm-ink); }
.ghm-quiz-result a.ghm-button--secondary:hover, .ghm-quiz-result .ghm-button--secondary:hover { background: var(--ghm-surface); color: var(--ghm-ink); }
/* Pradžios ir duomenų formos — šviesi kortelė, balti laukai. */
.ghm-quiz-intro, .ghm-quiz-learner-data {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
}
.ghm-notice { border: none; border-radius: var(--ghm-r-md); background: var(--ghm-surface); }
.ghm-notice-success { background: var(--ghm-mint); color: var(--ghm-ink); }
.ghm-notice-error { background: var(--ghm-danger-soft); color: var(--ghm-danger); }
.ghm-field input, .ghm-field select, .ghm-field textarea {
	background: var(--ghm-surface);
	border: 1px solid transparent;
	border-radius: var(--ghm-r-md);
	min-height: 3.25rem;
	width: 100%;
}
.ghm-field input:focus, .ghm-field select:focus, .ghm-field textarea:focus { border-color: var(--ghm-primary); outline: 2px solid var(--ghm-focus); outline-offset: 1px; }


/* ============================================================
   v4 (2026-09-02) — Paskyra: skydelis, Mano kursai, Užsakymai,
   Duomenys, Adresai — kortelių kalba.
   ============================================================ */
.woocommerce-MyAccount-content { font-size: var(--ghm-fs-base); }
.woocommerce-MyAccount-content > p:first-of-type { font-size: var(--ghm-fs-lg); color: var(--ghm-ink); }
.ghm-account-heading { font-size: var(--ghm-fs-xl); margin: 0 0 var(--ghm-sp-4); }
/* Skydelio santrauka — žydra kortelė su veiksmais */
.ghm-dashboard-summary {
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
	margin-top: var(--ghm-sp-5);
}
.ghm-dashboard-summary p { margin: 0 0 var(--ghm-sp-4); font-weight: 600; color: var(--ghm-ink); }
.ghm-dashboard-summary .ghm-button + .ghm-button { background: var(--ghm-surface); color: var(--ghm-ink); }
/* Mano kursai — kortelių sąrašas */
.ghm-account-courses { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ghm-sp-3); }
.ghm-account-course {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: var(--ghm-sp-5);
	row-gap: 2px;
	align-items: center;
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-md);
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
	margin: 0;
}
.ghm-account-course__title { grid-column: 1; grid-row: 1; font-weight: 600; color: var(--ghm-ink); }
.ghm-account-course__progress { grid-column: 1; grid-row: 2; font-size: var(--ghm-fs-sm); color: var(--ghm-muted); }
.ghm-account-course .ghm-button { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; font-size: var(--ghm-fs-xs); padding: var(--ghm-sp-2) var(--ghm-sp-4); }
/* Užsakymai — kortelių eilutės kaip pažymėjimų */
.woocommerce-account table.woocommerce-orders-table { display: block; width: 100%; min-width: 0; background: transparent; border: none !important; }
.woocommerce-account table.woocommerce-orders-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.woocommerce-account table.woocommerce-orders-table tbody { display: grid; gap: var(--ghm-sp-3); }
.woocommerce-account table.woocommerce-orders-table tbody tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: var(--ghm-sp-5);
	row-gap: 2px;
	align-items: center;
	background: var(--ghm-surface-alt) !important;
	border-radius: var(--ghm-r-md);
	padding: var(--ghm-sp-4) var(--ghm-sp-5);
}
.woocommerce-account table.woocommerce-orders-table tbody th,
.woocommerce-account table.woocommerce-orders-table tbody td { border: none !important; padding: 0 !important; background: transparent !important; }
.woocommerce-account .woocommerce-orders-table__cell-order-number { grid-column: 1; grid-row: 1; font-weight: 600; }
.woocommerce-account .woocommerce-orders-table__cell-order-number a { color: var(--ghm-ink); text-decoration: none; }
.woocommerce-account .woocommerce-orders-table__cell-order-date { grid-column: 1; grid-row: 2; font-size: var(--ghm-fs-sm); color: var(--ghm-muted); }
.woocommerce-account .woocommerce-orders-table__cell-order-status {
	grid-column: 2; grid-row: 1; justify-self: end;
	background: var(--ghm-surface); border-radius: var(--ghm-r-pill);
	padding: var(--ghm-sp-1) var(--ghm-sp-4) !important; font-size: var(--ghm-fs-sm); font-weight: 600; color: var(--ghm-ink);
}
.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { background: var(--ghm-mint); }
.woocommerce-account .woocommerce-orders-table__cell-order-total { grid-column: 1; grid-row: 3; font-family: var(--ghm-font-display); font-weight: 700; color: var(--ghm-ink); }
.woocommerce-account .woocommerce-orders-table__cell-order-actions { grid-column: 2; grid-row: 2 / span 2; justify-self: end; display: flex; gap: var(--ghm-sp-2); flex-wrap: wrap; justify-content: flex-end; }
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { font-size: var(--ghm-fs-xs); padding: var(--ghm-sp-2) var(--ghm-sp-4); white-space: nowrap; margin: 0; }
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button.view { background: var(--ghm-surface); color: var(--ghm-ink); }
/* Duomenų forma — šviesi kortelė, balti laukai */
.woocommerce-account form.edit-account {
	background: var(--ghm-surface-alt);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--ghm-sp-4);
	row-gap: var(--ghm-sp-3);
}
.woocommerce-account form.edit-account .form-row { margin: 0; padding: 0; float: none; width: 100%; }
.woocommerce-account form.edit-account .form-row-wide, .woocommerce-account form.edit-account fieldset,
.woocommerce-account form.edit-account > p:not(.form-row), .woocommerce-account form.edit-account .clear { grid-column: 1 / -1; }
.woocommerce-account form.edit-account fieldset { border: none; margin: 0; padding: var(--ghm-sp-4) 0 0; border-top: 1px solid var(--ghm-border); }
.woocommerce-account form.edit-account legend { font-family: var(--ghm-font-display); font-weight: 700; font-size: var(--ghm-fs-lg); color: var(--ghm-ink); padding: 0 0 var(--ghm-sp-3); }
.woocommerce-account form.edit-account label { font-weight: 600; font-size: var(--ghm-fs-sm); color: var(--ghm-ink); display: block; }
.woocommerce-account form.edit-account label em { font-weight: 400; color: var(--ghm-muted); font-style: normal; }
.woocommerce-account form.edit-account .input-text { background: var(--ghm-surface) !important; border: 1px solid transparent !important; border-radius: var(--ghm-r-md) !important; min-height: 3.25rem; width: 100%; }
.woocommerce-account form.edit-account .input-text:focus { border-color: var(--ghm-primary) !important; }
.woocommerce-account form.edit-account .woocommerce-Button { margin-top: var(--ghm-sp-2); }
@media (max-width: 640px) { .woocommerce-account form.edit-account { grid-template-columns: 1fr; } }
/* Adresai — dvi kortelės */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ghm-sp-4); }
.woocommerce-account .woocommerce-Addresses .col-1, .woocommerce-account .woocommerce-Addresses .col-2 { width: 100%; float: none; max-width: none; }
.woocommerce-account .woocommerce-Address { background: var(--ghm-surface-alt); border-radius: var(--ghm-r-lg); padding: var(--ghm-sp-5); height: 100%; }
.woocommerce-account .woocommerce-Address-title h2 { font-size: var(--ghm-fs-lg); margin: 0 0 var(--ghm-sp-3); }
.woocommerce-account .woocommerce-Address-title .edit { font-size: var(--ghm-fs-sm); color: var(--ghm-primary-dark); } /* 4.5:1 ant #F1F3F5 */
.woocommerce-account .woocommerce-Address address { font-style: normal; color: var(--ghm-body); line-height: 1.6; }
@media (max-width: 640px) { .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; } }


/* Paskyra be pilkumos, bet ramiai (užsakovė 2026-09-02): navigacija balta
   su plonu rėmeliu, sąrašų kortelės ir formos — žydros, vienintelis
   ryškesnis akcentas — skydelio santrauka (mėtinė). */
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--ghm-surface); border: 1px solid var(--ghm-border); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--ghm-primary-soft); }
.woocommerce-MyAccount-navigation a:hover { background: var(--ghm-primary-soft); }
.ghm-account-course { background: var(--ghm-primary-soft); }
.woocommerce-account table.woocommerce-orders-table tbody tr { background: var(--ghm-primary-soft) !important; }
.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { background: var(--ghm-mint); }
table.ghm-account-certs tbody tr { background: var(--ghm-primary-soft) !important; }
table.ghm-account-certs tbody tr td:nth-child(4) { background: var(--ghm-mint) !important; } /* Woo zebra lyginėse eilutėse gesino ženkliuką */
.woocommerce-account form.edit-account { background: var(--ghm-primary-soft); }
.woocommerce-account form.edit-account fieldset { border-top-color: rgba(26, 43, 59, 0.15); }
.woocommerce-account .woocommerce-Address { background: var(--ghm-primary-soft); }
.ghm-dashboard-summary { background: var(--ghm-mint); }
.ghm-dashboard-summary .ghm-button + .ghm-button { background: var(--ghm-surface); }


/* ============================================================
   v4 (2026-09-02) — Informaciniai puslapiai: visiems puslapiams tas pats
   antraštės blokas, Apie mus platesnis, kontaktų forma su matomais
   laukais, DUK su spalvotais žymekliais, periodiškumo lentelė (struktūra
   NEKEIČIAMA — tik spalvos), sertifikato patikra žydra kortelė.
   ============================================================ */
/* Antraštės blokas — VISIEMS puslapiams su .page-head */
.page-head { padding: var(--ghm-sp-5) 0; text-align: left; }
.page-head .wrap {
	position: relative;
	overflow: hidden;
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
	min-height: 11rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: calc(var(--ghm-maxw) - 2 * var(--ghm-sp-5));
}
.page-head h1 { text-align: left; margin: 0; position: relative; z-index: 1; max-width: 60%; }
.page-head .section-lead, .page-head p { text-align: left; margin: var(--ghm-sp-3) 0 0; position: relative; z-index: 1; max-width: 60%; color: var(--ghm-body); }
.page-head .wrap::before, .page-head .wrap::after { content: ''; position: absolute; border-radius: 22px; }
.page-head .wrap::before {
	width: 16rem; height: 7rem; background: var(--ghm-primary); right: -2rem; top: -1.5rem; transform: rotate(-8deg);
	box-shadow: -4rem 7.5rem 0 -0.8rem var(--ghm-mint);
}
.page-head .wrap::after { width: 9rem; height: 4.5rem; background: var(--ghm-lime); right: 9rem; top: 3.5rem; transform: rotate(5deg); }
@media (max-width: 767px) {
	.page-head h1, .page-head p { max-width: none; }
	.page-head .wrap::before, .page-head .wrap::after { display: none; }
}
/* Kursų sąrašo įžanga — kairėje kartu su antrašte (blokas bendras). */
.post-type-archive-ghm_course .section-lead { text-align: left; margin-left: 0; }

/* Apie mus ir Kontaktai — platesni, ne suspausti */
.page-id-19 .page-content-narrow, .page-id-622 .page-content-narrow { max-width: var(--ghm-maxw); }
.page-id-19 .entry-content > p:first-child, .entry-content .front-intro { max-width: 62ch; font-size: var(--ghm-fs-lg); text-align: left; margin: 0 0 var(--ghm-sp-6); }
.entry-content .has-text-align-center { text-align: left; }
.entry-content h2 { margin-top: var(--ghm-sp-7); }
.entry-content > h2:first-child { margin-top: 0; }
/* Savybių kortelės — be pilkos (1 ir 5 žydra/mėtinė vietoj pilkos) */
.front-feature:nth-child(1) { background: var(--ghm-primary-soft); }
.front-feature:nth-child(5) { background: var(--ghm-primary-soft); }

/* Kontaktų forma — žydra kortelė, balti laukai su matoma linija */
.ghm-contact-form {
	background: var(--ghm-primary-soft);
	border: none;
	box-shadow: none;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6);
}
.ghm-contact-form label { font-weight: 600; color: var(--ghm-ink); }
.ghm-contact-form input[type="text"], .ghm-contact-form input[type="email"], .ghm-contact-form textarea {
	background: var(--ghm-surface);
	border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md);
	min-height: 3.25rem;
	padding: var(--ghm-sp-3) var(--ghm-sp-4);
}
.ghm-contact-form input:focus, .ghm-contact-form textarea:focus { border-color: var(--ghm-primary); }
.ghm-contact-form .ghm-actions { text-align: left; }
.ghm-rekvizitai { text-align: left; }

/* DUK — klausimai su spalvotu žymekliu (rotacija), atsakymai įtraukti */
.ghm-duk h3 {
	position: relative;
	padding-left: 1.4rem;
	font-family: var(--ghm-font-display);
	font-size: var(--ghm-fs-lg);
	margin: var(--ghm-sp-6) 0 var(--ghm-sp-2);
}
.ghm-duk h3::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--ghm-primary); }
.ghm-duk h3:nth-of-type(3n+2)::before { background: var(--ghm-mint); }
.ghm-duk h3:nth-of-type(3n)::before { background: var(--ghm-lime); }
.ghm-duk p { padding-left: 1.4rem; color: var(--ghm-body); }

/* Periodiškumo lentelė — TIK spalvos; struktūra ir pločiai nekeičiami */
.entry-content table th { background: var(--ghm-primary-soft); color: var(--ghm-ink); border-color: var(--ghm-border); }
.entry-content table td { border-color: var(--ghm-border); }
.entry-content table tbody tr:nth-child(even) td { background: transparent; }

/* Sertifikato patikra — žydra kortelė, navy mygtukas */
.ghm-verify { background: var(--ghm-primary-soft); border: none; box-shadow: none; border-radius: var(--ghm-r-lg); padding: var(--ghm-sp-6); }
.ghm-verify__input { background: var(--ghm-surface); border: 1px solid var(--ghm-border); border-radius: var(--ghm-r-md); min-height: 3.25rem; }
.ghm-verify__submit { background: var(--ghm-cta); color: #ffffff; border-radius: var(--ghm-r-pill); font-family: var(--ghm-font-display); font-weight: 700; }
.ghm-verify__submit:hover { background: var(--ghm-cta-dark); }


/* Teisiniai ir kiti tekstiniai puslapiai (v4): turinio kairysis kraštas
   sutampa su antraštės bloku; skaitymo eilutė ribojama 68ch, o lentelės,
   kortelės ir formos — pilno pločio. */
.page-content-narrow { max-width: var(--ghm-maxw); }
.page-content-narrow.entry-content > p,
.page-content-narrow.entry-content > h2,
.page-content-narrow.entry-content > h3,
.page-content-narrow.entry-content > ul,
.page-content-narrow.entry-content > ol,
.page-content-narrow .wp-block-group__inner-container > p,
.page-content-narrow .wp-block-group__inner-container > h3 { max-width: 68ch; }
.page-content-narrow.entry-content > h2 { font-size: var(--ghm-fs-xl); margin: var(--ghm-sp-7) 0 var(--ghm-sp-3); }
.page-content-narrow.entry-content > h3 { font-size: var(--ghm-fs-lg); margin: var(--ghm-sp-6) 0 var(--ghm-sp-2); }
.page-content-narrow.entry-content > h2:first-child,
.page-content-narrow.entry-content > h3:first-child { margin-top: 0; }
.page-content-narrow.entry-content > p { color: var(--ghm-body); }
.page-content-narrow.entry-content > p strong { color: var(--ghm-ink); }

/* ============================================================
   Teisiniai puslapiai kortelėmis (užsakovė, 2026-09-02): skyriai —
   spalvotos kortelės eilutėmis. Ilgi skyriai per visą plotį (tekstas
   dviem stulpeliais), trumpi — poromis. Tonai priskiriami PHP
   (gh_tema_legal_cards): plačios — žydra/pilkšva, trumpos — mėtinė arba
   salotinė + neutrali, kad dvi žalios nebūtų greta.
   ============================================================ */
.legal-cards { margin-top: var(--ghm-sp-2); display: grid; gap: var(--ghm-sp-5); }
@media (min-width: 900px) {
	.legal-cards { grid-template-columns: 1fr 1fr; }
	.legal-card--wide { grid-column: 1 / -1; }
	.legal-card--wide .legal-card__text { columns: 2; column-gap: var(--ghm-sp-7); }
}
.legal-card {
	background: var(--ghm-primary-soft);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
	margin: 0;
}
.legal-card--sky { background: var(--ghm-primary-soft); }
.legal-card--alt { background: var(--ghm-surface-alt); }
.legal-card--mint { background: var(--ghm-mint); }
.legal-card--lime { background: var(--ghm-lime); }
.legal-card * { max-width: none; }
.legal-card .legal-card__title,
.legal-card > h2, .legal-card > h3, .legal-card > h4 {
	font-family: var(--ghm-font-display);
	font-weight: 700;
	font-size: var(--ghm-fs-lg);
	line-height: 1.3;
	color: var(--ghm-ink);
	margin: 0 0 var(--ghm-sp-3);
}
.legal-card > h2 + h3, .legal-card > .legal-card__title + h3 { margin-top: var(--ghm-sp-2); }
.legal-card__text p { margin: 0 0 var(--ghm-sp-3); color: var(--ghm-body); }
.legal-card__text > :last-child { margin-bottom: 0; }
.legal-card__text h3, .legal-card__text h4 { font-size: 1rem; font-weight: 700; margin: var(--ghm-sp-2) 0 var(--ghm-sp-2); }
/* Pastraipos gali skeltis per stulpelius — kitaip vienos pastraipos skyrius užpildo tik kairę pusę. */
.legal-card a { color: var(--ghm-primary-dark); }

/* Apie mus: kontaktai kairėje, rekvizitų kortelė dešinėje (užsakovė, 2026-09-02). */
.ghm-kontaktai-grid { display: grid; gap: var(--ghm-sp-5); margin: 0 0 var(--ghm-sp-6); align-items: stretch; }
@media (min-width: 900px) {
	.ghm-kontaktai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ghm-kontaktai-note { grid-column: 1 / -1; }
}
/* Kontaktų kortelė (mėtinė) tokio pat aukščio kaip rekvizitų (užsakovė, 2026-09-02). */
.ghm-kontaktai-card {
	background: var(--ghm-mint);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ghm-kontaktai-card > p { margin: 0; max-width: none; color: var(--ghm-ink); font-size: var(--ghm-fs-lg); line-height: 1.7; }
.ghm-kontaktai-card a { color: var(--ghm-ink); text-decoration-color: var(--ghm-cta-deep); font-weight: 600; }
.ghm-kontaktai-note > p { max-width: none; margin: 0; }
.ghm-rekvizitai-card {
	background: var(--ghm-lime);
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
}
.ghm-rekvizitai-card h3 { font-size: var(--ghm-fs-lg); margin: 0 0 var(--ghm-sp-3); color: var(--ghm-ink); }
.ghm-rekvizitai-card .ghm-rekvizitai { margin: 0; max-width: none; color: var(--ghm-ink); line-height: 1.6; }

/* Apie mus: įžanga — mėlyna kortelė su baltu tekstu (užsakovė, 2026-09-02:
   „viršuje trūksta ryškių spalvų"). */
.page-id-19 .entry-content > p.front-intro {
	background: var(--ghm-primary);
	color: #ffffff;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-6) var(--ghm-sp-6);
	font-size: var(--ghm-fs-lg);
	line-height: 1.55;
	max-width: none;
	margin: 0 0 var(--ghm-sp-7);
}

/* DUK: turinys centruotoje skaitymo juostoje (užsakovė, 2026-09-03: „info per vidurį"). */
.page-id-21 .ghm-duk { max-width: 72ch; margin: 0 auto; }
.page-id-21 .ghm-duk h3 { max-width: none; }
.page-id-21 .ghm-duk p { max-width: none; }

/* G6 (eilučių ilgis) — pilno perbėgimo pataisos 2026-09-03 */
.ghm-learn--test .ghm-learn-quiz { max-width: 44rem; margin: 0 auto; } /* testo klausimai/atsakymai ≤ ~75ch */
.woocommerce-MyAccount-content > p { max-width: 68ch; }               /* paskyros skydelio įžanga */
@media (min-width: 900px) {
	/* Apie mus įžangos kortelė lieka per visą plotį, bet teksto juosta ≤ ~72ch */
	.page-id-19 .entry-content > p.front-intro { padding-right: max(var(--ghm-sp-6), calc(100% - 72ch - var(--ghm-sp-6))); }
}

/* Kritikos 8 raundas (2026-09-03) */
/* Patikros rezultato būsena — spalvotas kvadratėlis prieš tekstą (kraštas ant apvalios kortelės darė „pusmėnulius") */
.ghm-verify-status { position: relative; padding-left: 1.3rem; }
.ghm-verify-status::before { content: ''; position: absolute; left: 0; top: 0.42em; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--busena, var(--ghm-primary)); }
/* Kurso antraštės formos telefone slepiamos (kaip ir kitų antraščių blokų) — lipo ant pavadinimo */
@media (max-width: 767px) { .course-shapes { display: none; } }
/* Kursų sąrašo įžanga — kairėje po antrašte, ne centruota */
.post-type-archive-ghm_course .page-head .section-lead { text-align: left; margin: var(--ghm-sp-3) 0 0; max-width: 34rem; }
/* Adresai: įžanginė pastraipa per visą tinklelį; kortelės — dviem stulpeliais tvarkingai */
.woocommerce-account .woocommerce-Addresses > p { grid-column: 1 / -1; margin: 0; }
/* Paskyra telefone: tarpas tarp navigacijos ir turinio */
@media (max-width: 899px) { .woocommerce-MyAccount-navigation { margin-bottom: var(--ghm-sp-5); } }
/* Woo .col2-set::before/::after (clearfix, display:table) tinklelyje tampa langeliais ir išstumia korteles */
.woocommerce-account .woocommerce-Addresses::before, .woocommerce-account .woocommerce-Addresses::after { content: none; display: none; }

/* ============================================================
   Kritikos 2 raundas (2026-09-03) — vientisumo pataisos
   ============================================================ */
/* Prisijungimas (neprisijungęs lankytojas): vienas centruotas stulpelis,
   forma — žydra kortelė su baltais apvaliais laukais kaip atsiskaityme. */
.woocommerce-account:not(.logged-in) main .woocommerce { display: block; max-width: 36rem; margin: var(--ghm-sp-6) auto 0; }
.woocommerce-account:not(.logged-in) main .woocommerce > h2 { font-size: var(--ghm-fs-xl); margin: 0 0 var(--ghm-sp-4); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password {
	background: var(--ghm-primary-soft);
	border: none;
	border-radius: var(--ghm-r-lg);
	padding: var(--ghm-sp-5) var(--ghm-sp-6);
	margin: 0;
}
.woocommerce form.login .input-text, .woocommerce form.register .input-text, .woocommerce form.lost_reset_password .input-text {
	background: var(--ghm-surface); border: 1px solid transparent; border-radius: var(--ghm-r-md); padding: 0.85rem 1rem; width: 100%;
}
.woocommerce form.login .input-text:focus, .woocommerce form.register .input-text:focus, .woocommerce form.lost_reset_password .input-text:focus { border-color: var(--ghm-primary); outline: 2px solid var(--ghm-focus); outline-offset: 1px; }
.woocommerce form.login label, .woocommerce form.register label, .woocommerce form.lost_reset_password label { font-weight: 600; color: var(--ghm-ink); font-size: var(--ghm-fs-sm); }
.woocommerce form.login .lost_password a { color: var(--ghm-primary-dark); }
.woocommerce form.login .show-password-input { color: var(--ghm-muted); }

/* Woo puslapių antraštės blokas: h1 kairėje kaip visuose kituose puslapiuose. */
.woocommerce-cart .page-head .wrap, .woocommerce-checkout .page-head .wrap, .woocommerce-account .page-head .wrap { justify-content: flex-start; text-align: left; }
.woocommerce-cart .page-head .wrap h1, .woocommerce-checkout .page-head .wrap h1, .woocommerce-account .page-head .wrap h1 { margin: 0 auto 0 0; text-align: left; }

/* Atsiskaitymas: „Jūsų užsakymas" — kortelės viršus (kaip „Pirkėjo duomenys" savoje kortelėje). */
form.woocommerce-checkout #order_review_heading { background: var(--ghm-primary-soft); border-radius: var(--ghm-r-lg) var(--ghm-r-lg) 0 0; padding: var(--ghm-sp-5) var(--ghm-sp-5) 0; margin: 0; }
form.woocommerce-checkout #order_review { border-radius: 0 0 var(--ghm-r-lg) var(--ghm-r-lg); padding-top: var(--ghm-sp-4); }
.woocommerce-checkout #order_review_heading { font-size: var(--ghm-fs-lg); }
/* Placeholder telefone nenukerpamas be ženklo */
.woocommerce-checkout #customer_details .input-text::placeholder { text-overflow: ellipsis; }

/* Krepšelis: kupono eilutė — tos pačios kortelės apačia, ne iškritusi ant balto. */
.woocommerce-cart table.cart td.actions { background: var(--ghm-surface-alt) !important; border-top: 1px solid rgba(26, 43, 59, 0.08) !important; border-radius: 0 0 var(--ghm-r-lg) var(--ghm-r-lg); padding: var(--ghm-sp-4) var(--ghm-sp-5) var(--ghm-sp-5) !important; }
.woocommerce-cart table.cart tbody tr.cart_item:last-of-type td { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Kurso puslapis: „Akredituotas kursas" — ne antra salotinė etiketė (salotinė = tik „Nuolaida"). */
.course-head .badge-gold { background: var(--ghm-surface); color: var(--ghm-ink); border: none; text-transform: none; letter-spacing: 0; }
@media (max-width: 767px) { .course-head .meta-row { display: grid; gap: var(--ghm-sp-2); } .course-head .meta-row .chip { display: block; } }

/* Teisinės kortelės: pastraipa nesiskelia per stulpelius; išimtis — vienos pastraipos skyrius (kitaip dešinė pusė tuščia). */
.legal-card--wide .legal-card__text p { break-inside: avoid; }
.legal-card--wide.legal-card--vienas .legal-card__text p { break-inside: auto; }

/* ============================================================
   Kritikos 3 raundas (2026-09-03) — mobilus krepšelis ir smulkmenos
   ============================================================ */
/* Krepšelis telefone: ne Woo „stacked table" su etiketėmis, o kortelė
   (pavadinimas · suma · šalinti); suvestinė — įprasta lentelė be etikečių. */
@media (max-width: 767px) {
	.woocommerce-cart table.cart td::before, .woocommerce-cart .cart_totals td::before { display: none !important; }
	.woocommerce-cart table.cart tbody tr.cart_item {
		display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: var(--ghm-sp-3);
		background: var(--ghm-surface-alt); border-radius: var(--ghm-r-lg) var(--ghm-r-lg) 0 0; padding: var(--ghm-sp-4) var(--ghm-sp-5);
	}
	.woocommerce-cart table.cart tbody tr.cart_item td { display: block; text-align: left; border: none !important; padding: 0 !important; background: transparent !important; }
	.woocommerce-cart table.cart tbody tr.cart_item td.product-remove { grid-column: 1; }
	.woocommerce-cart table.cart tbody tr.cart_item td.product-name { grid-column: 2; font-weight: 600; text-align: left !important; }
	.woocommerce-cart table.cart tbody tr.cart_item td.product-subtotal { grid-column: 3; font-weight: 700; white-space: nowrap; }
	.woocommerce-cart table.cart tbody tr.cart_item td.product-price, .woocommerce-cart table.cart tbody tr.cart_item td.product-quantity, .woocommerce-cart table.cart tbody tr.cart_item td.product-thumbnail { display: none; }
	.woocommerce-cart table.cart td.actions { display: block; border-radius: 0 0 var(--ghm-r-lg) var(--ghm-r-lg); }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100% !important; }
	.woocommerce-cart .cart_totals table.shop_table { display: table; width: 100%; }
	.woocommerce-cart .cart_totals table.shop_table tr { display: table-row; }
	.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { display: table-cell; text-align: left; }
	.woocommerce-cart .cart_totals table.shop_table td { text-align: right; }
	.woocommerce-cart .cart_totals table.shop_table .order-total th, .woocommerce-cart .cart_totals table.shop_table .order-total td { display: table-cell; }
}
.woocommerce-cart button[name="update_cart"] { display: none !important; } /* kursai po vieną, kuponas turi savo mygtuką */

/* Antraščių blokai telefone: be formų nereikia 11rem aukščio — pavadinimas neplaukioja tuščiame plote */
@media (max-width: 767px) {
	.page-head .wrap, .woocommerce-cart .page-head .wrap, .woocommerce-checkout .page-head .wrap, .woocommerce-account .page-head .wrap, .course-head, .ghm-learn-head { min-height: 0; padding: var(--ghm-sp-5); }
}

/* Apverčiamos kursų kortelės lietimo įrenginiuose: hover nėra, kita pusė nepasiekiama —
   rodoma tik priekinė pusė natūralaus aukščio (visa informacija — kurso puslapyje). */
@media (hover: none), (max-width: 767px) { /* ir pagal plotį — pilno puslapio nuotraukos praranda hover:none emuliaciją */
	.flip-slot { height: auto; perspective: none; }
	.flip-slot .flip-inner { transform: none !important; transition: none; }
	.flip-inner .flip-front { position: static; min-height: 0; }
	.flip-inner .flip-back { display: none; }
}

/* Duonos trupiniai telefone: kairėje, be „/" eilutės pradžioje */
@media (max-width: 767px) {
	.breadcrumb ol { flex-wrap: wrap; justify-content: flex-start; text-align: left; }
	.breadcrumb li[aria-current] { flex: 1 1 100%; }
	.breadcrumb li[aria-current]::before { content: none; margin: 0; }
}

/* Smulkmenos iš 3 raundo */
.woocommerce-message::before { color: var(--ghm-success); }                     /* Woo varnelė — sistemos žalia */
abbr.required { text-decoration: none; border-bottom: none; }
.woocommerce-account .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ghm-sp-3); margin-bottom: var(--ghm-sp-3); }
.woocommerce-account .woocommerce-Address-title h2 { margin: 0; }
.woocommerce-account form.edit-account fieldset legend { padding: 0 0 var(--ghm-sp-3); margin-bottom: var(--ghm-sp-2); }

/* ============================================================
   Kritikos 4 raundas (2026-09-03)
   ============================================================ */
/* Užsakymai telefone: kortelė (nr + būsena / data / suma / mygtukai per visą plotį), be Woo etikečių */
@media (max-width: 767px) {
	.woocommerce-account table.woocommerce-orders-table td::before, .woocommerce-account table.woocommerce-orders-table th::before { display: none !important; }
	.woocommerce-account table.woocommerce-orders-table tbody tr { grid-template-columns: minmax(0, 1fr) auto; }
	.woocommerce-account table.woocommerce-orders-table tbody th, .woocommerce-account table.woocommerce-orders-table tbody td { display: block; text-align: left; }
	.woocommerce-account .woocommerce-orders-table__cell-order-status { grid-column: 2; grid-row: 1; justify-self: end; }
	.woocommerce-account .woocommerce-orders-table__cell-order-actions { grid-column: 1 / -1; grid-row: 4; display: flex; gap: var(--ghm-sp-2); flex-wrap: wrap; margin-top: var(--ghm-sp-3); }
	.woocommerce-account .woocommerce-orders-table__cell-order-actions .button { flex: 1 1 10rem; text-align: center; }
}
/* Būsena — ženkliukas visoms būsenoms (baltas), įvykdytam — mėtinis (viena būsenų kalba su pažymėjimais) */
.woocommerce-account table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-status { background: var(--ghm-surface) !important; border-radius: var(--ghm-r-pill); padding: var(--ghm-sp-1) var(--ghm-sp-4) !important; font-weight: 700; font-size: var(--ghm-fs-sm); color: var(--ghm-ink); white-space: nowrap; } /* !important — td taisyklė 'background: transparent !important' gesino ženkliuką */
.woocommerce-account table.woocommerce-orders-table tbody tr.woocommerce-orders-table__row--status-completed td.woocommerce-orders-table__cell-order-status { background: var(--ghm-mint) !important; }
/* Pranešimas su mygtuku (Woo „Confirm email"): mygtukas ne float, o po tekstu; telefone — atskira eilutė */
.woocommerce-info .button, .woocommerce-message .button { float: none !important; display: inline-block; margin: var(--ghm-sp-2) 0 0 !important; }
.woocommerce-info, .woocommerce-message { display: block; }

/* Kurso antraštė telefone: piliulės per visą plotį (60 % riba — tik su formomis) */
@media (max-width: 767px) { .course-head h1, .course-head .meta-row, .course-head p { max-width: none; } }

/* Turinio lentelės — konteinerio pločio, be išlindimo */
.entry-content table { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

/* Paskyros skilties h2 kartoja antraštės bloko h1 — nerodomas */
.woocommerce-account .woocommerce-MyAccount-content > h2:first-child { display: none; }

/* Adresų kortelės antraštė lygiuoja su turiniu; nuoroda nelūžta */
.woocommerce-account .woocommerce-Address-title { padding: 0; }
.woocommerce-account .woocommerce-Address-title .edit { white-space: nowrap; }

/* Teisinės kortelės poros — natūralaus aukščio, ne tempiamos */
.legal-cards { align-items: start; }

/* Prisijungimo „Prisiminti mane" — sistemos spalvos langelis */
.woocommerce form.login input[type="checkbox"] { accent-color: var(--ghm-primary); width: 1.1rem; height: 1.1rem; vertical-align: -2px; }

/* Mobili antraštė (<1000px): 2 eilutės vietoj 3 — logotipas + ikonos vienoje, meniu antroje;
   „Rinktis kursą" mygtukas telefone paslėptas (meniu „Kursai" ir hero CTA lieka). */
@media (max-width: 999px) {
	.header-inner { justify-content: space-between; row-gap: var(--ghm-sp-3); }
	.logo { order: 1; }
	.header-actions { order: 2; margin-left: auto; }
	.header-cta { display: none; }
	.site-nav { order: 3; flex: 1 1 100%; position: static; left: auto; transform: none; display: flex; justify-content: center; }
	.site-header { padding: var(--ghm-sp-3) 0; }
}

/* Turinio lentelės figūra — konteinerio pločio (buvo su neigiamomis paraštėmis — lentelė išlįsdavo po ~23px į abi puses) */
.entry-content .wp-block-table { margin-left: 0; margin-right: 0; transform: none; width: 100%; max-width: 100%; overflow-x: auto; }

/* Pranešimas su mygtuku: tekstas pirmas, mygtukas dešinėje (telefone — atskira eilute po tekstu) */
.woocommerce-info:has(.button), .woocommerce-message:has(.button) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ghm-sp-3); }
.woocommerce-info .button, .woocommerce-message .button { order: 2; margin: 0 0 0 auto !important; }
@media (max-width: 767px) { .woocommerce-info .button, .woocommerce-message .button { flex: 1 1 100%; margin-left: 0 !important; text-align: center; } }

/* ============================================================
   Kritikos 5 raundas (2026-09-03)
   ============================================================ */
/* Mobili antraštė: logotipas ir ikonos tikrai vienoje eilutėje (204+154px netilpo į 344px) */
@media (max-width: 999px) {
	.logo { font-size: 1.05rem; flex: 0 0 auto; }
	.header-actions { gap: var(--ghm-sp-2); flex: 0 0 auto; }
	.lang-menu .lang-current { padding: 0.35rem 0.6rem; }
}
/* Užsakymai telefone: tekstas kairėje (Woo responsive lentelė lygiuoja dešinėn) */
@media (max-width: 767px) {
	.woocommerce-account table.woocommerce-orders-table tbody td, .woocommerce-account table.woocommerce-orders-table tbody th { text-align: left !important; }
	.woocommerce-account .woocommerce-orders-table__cell-order-status { text-align: center !important; }
}
/* Paskyros meniu telefone: horizontaliai slenkamos piliulės, ne 7 eilučių sąrašas prieš turinį */
@media (max-width: 899px) {
	.woocommerce-MyAccount-navigation { border: none; background: transparent; padding: 0; }
	.woocommerce-MyAccount-navigation ul { display: flex; gap: var(--ghm-sp-2); overflow-x: auto; padding: 0 0 var(--ghm-sp-2); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; background: var(--ghm-surface-alt); border-radius: var(--ghm-r-pill); padding: 0.5rem 0.9rem; }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--ghm-primary-soft); }
}
/* „Keisti slaptažodį" — skyriklio linija per visą plotį po antrašte, ne prie paskutinės raidės */
.woocommerce-account form.edit-account fieldset { border: none; border-top: 1px solid rgba(26, 43, 59, 0.15); padding-top: var(--ghm-sp-5); margin-top: var(--ghm-sp-5); }
.woocommerce-account form.edit-account fieldset legend { float: left; width: 100%; padding: 0 0 var(--ghm-sp-3); margin: 0; border: none; font-weight: 700; color: var(--ghm-ink); }
.woocommerce-account form.edit-account fieldset legend + * { clear: both; }
/* Adresų kortelės: nuoroda po antrašte (antraštė nebelūžta šalia nuorodos) */
.woocommerce-account .woocommerce-Address-title { flex-direction: column; align-items: flex-start; gap: var(--ghm-sp-1); }
/* Mobili antraštė: siauresnės paraštės ir tarpai, kad logotipas + ikonos tilptų į vieną eilutę 390px */
@media (max-width: 999px) {
	.site-header .wrap { padding-left: var(--ghm-sp-3); padding-right: var(--ghm-sp-3); }
	.header-inner { column-gap: var(--ghm-sp-2); }
	.logo { font-size: 1rem; gap: 8px; }
	.header-actions .header-icon { padding: 0.35rem; }
}
@media (max-width: 399px) { .logo { font-size: 0.95rem; } } /* 360px ekranai — logotipas + ikonos vis dar vienoje eilutėje */

/* ============================================================
   Kritikos 6 raundas (2026-09-03)
   ============================================================ */
/* Kurso puslapis telefone: pirkimo kortelė (kaina + „Pirkti kursą") iškart po antrašte, aprašymas — po ja */
@media (max-width: 999px) {
	.course-layout { display: flex; flex-direction: column; }
	.course-layout .course-head { order: 0; }
	.course-layout .course-buy { order: 1; margin-bottom: var(--ghm-sp-6); }
	.course-layout .course-main { order: 2; }
}
/* Krepšelio „Viso" eilutė — be lentelės linijos likučio po kaire cele */
.woocommerce-cart .cart_totals .order-total th, .woocommerce-cart .cart_totals .order-total td { border: 0 !important; }
/* Paskyros piliulės telefone: dešinėje išblukimas — matyti, kad galima slinkti */
@media (max-width: 899px) { .woocommerce-MyAccount-navigation ul { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent); padding-right: 2rem; } }
/* Teisinės kortelės: tuščios pastraipos (turinio) nedaro tarpų */
.legal-card__text p:empty { display: none; }
/* Duonos trupiniai telefone: tik „← Kursai" — dviejų eilučių lūžis be skirtuko atrodė kaip du elementai */
@media (max-width: 767px) {
	.breadcrumb li[aria-current] { display: none; }
	.breadcrumb li:first-child::before { content: '← '; color: var(--ghm-primary-dark); }
}

/* ============================================================
   Užsakovė (2026-09-03): telefone — tas pats parašas. Dekoratyvinės
   kortelių formos telefone ne slepiamos, o rodomos perpus mažesnės
   viršutiniame dešiniame kampe; tekstas prasideda po jomis.
   ============================================================ */
@media (max-width: 767px) {
	.page-head .wrap, .woocommerce-cart .page-head .wrap, .woocommerce-checkout .page-head .wrap, .woocommerce-account .page-head .wrap, .ghm-learn-head, .course-head {
		padding-top: 6.75rem; overflow: hidden; position: relative; /* formų juosta ~6rem, tekstas po ja */
	}
	.page-head .wrap::before, .page-head .wrap::after,
	.woocommerce-cart .page-head .wrap::before, .woocommerce-checkout .page-head .wrap::before, .woocommerce-account .page-head .wrap::before,
	.woocommerce-cart .page-head .wrap::after, .woocommerce-checkout .page-head .wrap::after, .woocommerce-account .page-head .wrap::after,
	.ghm-learn-head::before, .ghm-learn-head::after { display: block; }
	.page-head .wrap::before, .woocommerce-cart .page-head .wrap::before, .woocommerce-checkout .page-head .wrap::before, .woocommerce-account .page-head .wrap::before, .ghm-learn-head::before {
		width: 8rem; height: 3.5rem; right: -1rem; top: -0.75rem; border-radius: 12px;
		box-shadow: -2rem 3.6rem 0 -0.4rem var(--ghm-mint);
	}
	.page-head .wrap::after, .woocommerce-cart .page-head .wrap::after, .woocommerce-checkout .page-head .wrap::after, .woocommerce-account .page-head .wrap::after, .ghm-learn-head::after {
		width: 4.5rem; height: 2.25rem; right: 4.5rem; top: 1.75rem; border-radius: 12px;
	}
	.course-shapes { display: block; }
	.course-shapes i { border-radius: 12px; }
	.course-shapes i:nth-child(1) { width: 8rem; height: 3.5rem; right: -1rem; top: -0.75rem; }
	.course-shapes i:nth-child(2) { width: 4.5rem; height: 2.25rem; right: 4.5rem; top: 1.75rem; }
	.course-shapes i:nth-child(3) { width: 6rem; height: 2.5rem; right: -0.5rem; top: 3rem; }
}
/* Hero telefone: formų klasteris po tekstu, sumažintas */
@media (max-width: 899px) {
	.hero-shapes { display: block; height: 10rem; margin-top: var(--ghm-sp-4); }
	.hero-shapes i { border-radius: 16px; }
	.hero-shapes .shape-blue { width: 12rem; height: 5.5rem; right: 0.75rem; top: 0.25rem; } /* buvo -1.5rem — nukirpta (užsakovė, 2026-09-03) */
	.hero-shapes .shape-lime { width: 6.5rem; height: 2.75rem; right: 3rem; top: 4rem; }
	.hero-shapes .shape-mint { width: 10rem; height: 5rem; left: auto; right: 9rem; top: 5rem; }
}

/* ============================================================
   Paieška antraštėje ir 404 (užsakovė, 2026-09-03)
   ============================================================ */
.search-menu { position: relative; }
.search-menu > summary { list-style: none; cursor: pointer; }
.search-menu > summary::-webkit-details-marker { display: none; }
/* atidaryta būsena be fono — ikona atrodo kaip krepšelio ir profilio (užsakovė) */
.search-panel {
	position: absolute; top: calc(100% + 6px); right: 0; z-index: 50;
	display: flex; gap: var(--ghm-sp-2); width: min(26rem, calc(100vw - 2 * var(--ghm-sp-3)));
	padding: var(--ghm-sp-3); background: var(--ghm-surface); border: 1px solid var(--ghm-border);
	border-radius: var(--ghm-r-md); box-shadow: 0 12px 32px rgba(26, 43, 59, 0.12);
}
.search-panel input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 0.7rem 0.9rem; border: 1px solid var(--ghm-border); border-radius: var(--ghm-r-md); font: inherit; }
.search-panel input[type="search"]:focus { border-color: var(--ghm-primary); outline: 2px solid var(--ghm-focus); outline-offset: 1px; }
.search-panel .btn { white-space: nowrap; }
@media (max-width: 999px) { .search-menu .search-panel { right: auto; left: 50%; transform: translateX(-50%); } }
@media (max-width: 480px) { .search-menu { position: static; } .search-menu .search-panel { left: var(--ghm-sp-3); right: var(--ghm-sp-3); transform: none; width: auto; } .site-header { position: relative; } }

/* Paieškos rezultatai */
.search-results .search-form-row { display: flex; gap: var(--ghm-sp-2); max-width: 36rem; margin: 0 0 var(--ghm-sp-6); }
.search-results .search-form-row input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 0.8rem 1rem; border: 1px solid var(--ghm-border); border-radius: var(--ghm-r-md); font: inherit; }
.search-results .search-courses { margin-bottom: var(--ghm-sp-6); }
.search-results .result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ghm-sp-3); }
.search-results .result-list .card { background: var(--ghm-surface-alt); border: none; box-shadow: none; border-radius: var(--ghm-r-lg); padding: var(--ghm-sp-5); }
.search-results .result-list .card h2 { margin: 0 0 var(--ghm-sp-2); font-size: var(--ghm-fs-lg); }
.search-results .result-list .card a { color: var(--ghm-ink); text-decoration: none; }
.search-results .result-list .card a:hover { color: var(--ghm-primary-dark); text-decoration: underline; }
.search-results .result-list .card p { margin: 0; }

/* 404 */
.error-404 .wrap { padding-top: var(--ghm-sp-6); padding-bottom: var(--ghm-sp-8); }
.error-404__card { background: var(--ghm-surface-alt); border-radius: var(--ghm-r-lg); padding: var(--ghm-sp-6); max-width: 40rem; }
.error-404__code { font-family: var(--ghm-font-display); font-weight: 700; font-size: var(--ghm-fs-3xl); line-height: 1; color: var(--ghm-primary); margin: 0 0 var(--ghm-sp-4); }
.error-404__actions { display: flex; flex-wrap: wrap; gap: var(--ghm-sp-3); margin: 0 0 var(--ghm-sp-5); }
.error-404__search { display: flex; gap: var(--ghm-sp-2); margin: 0; }
.error-404__search input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 0.8rem 1rem; border: 1px solid transparent; background: var(--ghm-surface); border-radius: var(--ghm-r-md); font: inherit; }
.error-404__search input[type="search"]:focus { border-color: var(--ghm-primary); outline: 2px solid var(--ghm-focus); outline-offset: 1px; }
.page-head .wrap p { max-width: 60%; }
/* Kurso antraštė telefone: formų konteineris iš srauto — absoliutus kampe, kaip kitų antraščių pseudo-elementai */
@media (max-width: 767px) { .course-shapes { position: absolute; top: 0; right: 0; left: 0; height: 0; margin: 0; } }

/* Telefone antraštės (h1) — didesnis eilučių tarpas: 1.12 su lietuviškomis nosinėmis ir
   „internetu" žymekliu atrodė, kad eilutės lipa viena ant kitos (užsakovė, 2026-09-03). */
@media (max-width: 899px) {
	.hero h1 { line-height: 1.22; }
	.hero h1 .marker { padding: 0 8px; }
}
@media (max-width: 767px) {
	h1, .course-head h1, .page-head h1, .ghm-learn-title { line-height: 1.2; }
}

/* ============================================================
   Naudojimo patikra (2026-09-03) — užsakovė: „viską tvarkyk".
   ============================================================ */
/* Mobili antraštė (<1000px): LIPNI ir tvarkinga — 1 eilutė: logotipas + ikonos;
   2 eilutė: meniu kairėje, kalba dešinėje (užsakovė: „headeris turi slinkti kartu"). */
@media (max-width: 999px) {
	.site-header { position: sticky; top: 0; padding: var(--ghm-sp-2) 0; }
	.admin-bar .site-header { top: 46px; }
	html { scroll-padding-top: 7.5rem; }
	/* 1 eilutė: logotipas kairėje, ikonos dešinėje (visos KARTU — display:contents jas
	   išbarstydavo ir profilis nukrisdavo į kitą eilutę). 2 eilutė: meniu per vidurį. */
	.header-inner { display: flex; flex-wrap: wrap; align-items: center; row-gap: var(--ghm-sp-2); column-gap: 6px; justify-content: flex-start; }
	.logo { order: 1; flex: 0 1 auto; min-width: 0; margin-right: auto; }
	.header-actions { order: 2; display: flex; align-items: center; flex: 0 0 auto; gap: 4px; margin-left: auto; }
	.site-nav { order: 3; flex: 1 1 100%; display: flex; justify-content: center; }
	.site-nav ul { justify-content: center; flex-wrap: nowrap; gap: var(--ghm-sp-1) var(--ghm-sp-4); }
	.site-nav a { white-space: nowrap; padding: var(--ghm-sp-1) 0; }
	.lang-menu { order: 0; margin-left: 0; }
	.lang-menu .lang-current { padding: 0.3rem 0.45rem; min-height: 2.25rem; min-width: 2.4rem; justify-content: center; gap: 2px; }
	.header-actions .header-icon { padding: 0.3rem; }
	/* Iškrentantys skydeliai — po ikona, neišlendant už ekrano */
	.header-actions .account-dropdown { right: 0; left: auto; max-width: calc(100vw - 2 * var(--ghm-sp-3)); }
}
@media (max-width: 480px) { .site-header { position: sticky; } } /* permuša ankstesnį position:relative (paieškos skydelis vis tiek rišasi prie antraštės) */
@media (max-width: 399px) { .logo { font-size: 0.85rem; } .lang-menu .lang-current svg { display: none; } .site-nav a { font-size: 0.95rem; } .site-nav ul { gap: var(--ghm-sp-3); } }
@media (max-width: 359px) { .site-nav a { font-size: 0.9rem; } .site-nav ul { gap: var(--ghm-sp-2); } .logo { font-size: 0.8rem; } }

/* Poraštė telefone — mažesnė, kad būtų įskaitoma, bet neužimtų daug vietos (užsakovė). */
@media (max-width: 767px) {
	.site-footer { margin-top: var(--ghm-sp-6); padding: var(--ghm-sp-5) 0 var(--ghm-sp-4); }
	.footer-links { gap: var(--ghm-sp-1) var(--ghm-sp-3); margin-bottom: var(--ghm-sp-3); }
	.footer-links a { font-size: 0.8125rem; }
	.footer-req { font-size: 0.75rem; }
}

/* Pagrindinis telefone: hero figūra išsikišo 8px už krašto (horizontalus slinkimas) */
@media (max-width: 899px) { .hero { overflow-x: clip; } }

/* Kortelė: komplekto žyma priekyje (užsakovė, 2026-09-03) ir nuolaidos procentas */
.course-badges { display: flex; flex-wrap: wrap; gap: var(--ghm-sp-2); align-self: flex-start; }
.course-badges .course-sale-badge { align-self: auto; }
.course-sale-badge.course-bundle__pill { background: var(--ghm-mint); text-transform: uppercase; letter-spacing: 0.04em; }
.course-bundle { margin: var(--ghm-sp-2) 0 0; font-size: var(--ghm-fs-xs); font-weight: 600; color: var(--ghm-muted); }
.card.card--blue .course-bundle { color: rgba(255, 255, 255, 0.85); }

/* Kurso puslapis telefone: lipni pirkimo juosta apačioje (kaina + „Pirkti kursą" visada po ranka) */
.course-buybar { display: none; }
@media (max-width: 999px) {
	.course-buybar { display: flex; align-items: center; justify-content: space-between; gap: var(--ghm-sp-3); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: var(--ghm-sp-2) var(--ghm-sp-4); padding-bottom: calc(var(--ghm-sp-2) + env(safe-area-inset-bottom, 0px)); background: var(--ghm-surface); border-top: 1px solid var(--ghm-border); box-shadow: 0 -8px 24px rgba(26, 43, 59, 0.08); }
	.course-buybar__price { margin: 0; font-family: var(--ghm-font-display); font-weight: 800; font-size: 1.35rem; color: var(--ghm-ink); }
	.course-buybar__price del { font-size: 0.875rem; font-weight: 500; color: var(--ghm-muted); margin-right: 0.25rem; }
	.course-buybar .btn { white-space: nowrap; }
	.single-ghm_course .site-footer { padding-bottom: 5.5rem; }
}

/* Periodiškumo lentelė telefone: užuomina + šešėlis dešinėje — lentelė slenkama į šoną */
.table-scroll-hint { display: none; }
@media (max-width: 767px) {
	.table-scroll-hint { display: block; margin: 0 0 var(--ghm-sp-2); font-size: var(--ghm-fs-sm); color: var(--ghm-muted); }
	.entry-content .wp-block-table { background: linear-gradient(90deg, transparent calc(100% - 32px), rgba(26, 43, 59, 0.12)); background-attachment: local; }
	.entry-content .wp-block-table table { font-size: 0.8125rem; }
	.entry-content .wp-block-table th, .entry-content .wp-block-table td { padding: 0.5rem 0.6rem; }
}

/* Testo rezultatas telefone: „Jūsų rezultatas: 100 %" viena–dvi eilutės, ne trys */
@media (max-width: 767px) { .ghm-score { font-size: var(--ghm-fs-xl); } }

/* Paskyros kortelės telefone: pavadinimas per visą plotį, mygtukas po juo (buvo po žodį eilutėje) */
@media (max-width: 599px) {
	.ghm-account-course { grid-template-columns: 1fr; }
	.ghm-account-course .ghm-button { grid-column: 1; grid-row: 3; justify-self: start; margin-top: var(--ghm-sp-2); }
	table.ghm-account-certs tbody tr { grid-template-columns: 1fr; }
	table.ghm-account-certs td:nth-child(1) { grid-column: 1; grid-row: 1; }
	table.ghm-account-certs td:nth-child(4) { grid-column: 1; grid-row: 2; justify-self: start; margin: 2px 0 6px; }
	table.ghm-account-certs td:nth-child(2) { grid-column: 1; grid-row: 3; }
	table.ghm-account-certs td:nth-child(3) { grid-column: 1; grid-row: 4; }
	table.ghm-account-certs td:nth-child(5) { grid-column: 1; grid-row: 5; justify-self: start; margin-top: var(--ghm-sp-2); }
	/* Patikros rezultato ir pardavėjo lentelės: etiketė virš reikšmės */
	.ghm-verify__details { grid-template-columns: 1fr; gap: 0; }
	.ghm-verify__term { margin-top: var(--ghm-sp-3); font-size: var(--ghm-fs-sm); color: var(--ghm-muted); }
	.ghm-verify__term:first-child { margin-top: 0; }
	.ghm-seller-box dl { grid-template-columns: 1fr; gap: 0; }
	.ghm-seller-box dt { margin-top: var(--ghm-sp-2); font-size: var(--ghm-fs-sm); }
	.ghm-seller-box dt:first-child { margin-top: 0; }
}
/* Paskyros skiltys telefone: visos matomos (laužiasi į eilutes), be paslėptos slinkties */
@media (max-width: 899px) {
	.woocommerce-MyAccount-navigation ul { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; }
}
/* Padėkos puslapis: SF nuoroda šalia „Kas toliau"; „Pirkėjo tipas" antraštė neliečia adreso dėžutės */
.ghm-next-steps__invoice { margin: 0 0 var(--ghm-sp-5); }
.woocommerce-order .woocommerce-customer-details { margin-bottom: var(--ghm-sp-5); }
.woocommerce-order h2.woocommerce-column__title { margin-top: var(--ghm-sp-5); }
/* Maži lietimo taikiniai telefone */
@media (max-width: 767px) {
	.woocommerce .show-password-input { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
	.woocommerce-orders-table__cell-order-number a { display: inline-block; padding: 0.45rem 0.25rem; }
	.woocommerce-Address-title a.edit { display: inline-block; padding: 0.5rem 0; }
}
/* Kontaktų formos pranešimai — plugino klasės su dvigubu brūkšneliu (buvo stilius tik viengubam) */
.ghm-notice--success { background: var(--ghm-success-soft); border-color: var(--ghm-success); color: var(--ghm-success-dark, var(--ghm-success)); font-weight: 600; }
.ghm-notice--error { background: var(--ghm-danger-soft); border-color: var(--ghm-danger); color: var(--ghm-danger); font-weight: 600; }

/* Paskyros skiltys telefone — išskleidžiamos mygtuku (užsakovė, 2026-09-03: „tegul išlenda, per daug vietos užima") */
.account-nav-toggle { display: none; }
@media (max-width: 899px) {
	.account-nav-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--ghm-sp-2); padding: 0.7rem 1rem; background: var(--ghm-primary-soft); color: var(--ghm-ink); border: 0; border-radius: var(--ghm-r-md); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
	.account-nav-toggle svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; transition: transform 0.15s; }
	.woocommerce-MyAccount-navigation.is-open .account-nav-toggle svg { transform: rotate(180deg); }
	.woocommerce-MyAccount-navigation ul { display: none; margin-top: var(--ghm-sp-2); }
	.woocommerce-MyAccount-navigation.is-open ul { display: flex; flex-wrap: wrap; }
	.woocommerce-MyAccount-navigation { margin-bottom: var(--ghm-sp-4); }
}
/* Pranešimų juostos (laikinas slaptažodis, el. pašto patvirtinimas…) — kompaktiškos (užsakovė) */
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding: var(--ghm-sp-3) var(--ghm-sp-4); font-size: var(--ghm-fs-sm); line-height: 1.45; margin-bottom: var(--ghm-sp-4); }
.woocommerce-info .button, .woocommerce-message .button { padding: 0.4rem 0.9rem; font-size: var(--ghm-fs-xs); }
/* Atsiskaitymas: pašto kodo pastaba po lauku */
.ghm-adreso-pastaba { display: block; margin-top: 0.3rem; font-size: var(--ghm-fs-xs); color: var(--ghm-muted); }
/* Pranešimų ikona (Woo ::before absoliuti) — vieta pagal mažesnį užpildą */
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding-left: 2.9em !important; position: relative; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { top: 0.95em; left: 1.1em; font-size: 0.95em; }

/* Periodiškumo lentelė telefone — kortelės (užsakovė: telefone vis dar nesimato visos).
   Etiketės iš antraštės eilutės įrašomos į data-label (gh_tema_lenteles_etiketes). */
@media (max-width: 767px) {
	.entry-content .wp-block-table.ghm-table-cards { overflow: visible; background: none; }
	.entry-content .ghm-table-cards table { min-width: 0; } /* permuša .entry-content table { min-width: 640px } */
	.ghm-table-cards table, .ghm-table-cards tbody, .ghm-table-cards tr, .ghm-table-cards td { display: block; width: auto; }
	.ghm-table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ghm-table-cards tbody { display: grid; gap: var(--ghm-sp-3); }
	.ghm-table-cards tr { background: var(--ghm-surface-alt); border: 1px solid var(--ghm-border); border-radius: var(--ghm-r-md); padding: var(--ghm-sp-4); }
	.ghm-table-cards td { border: none !important; padding: 0 0 var(--ghm-sp-3); font-size: var(--ghm-fs-sm); }
	.ghm-table-cards td:last-child { padding-bottom: 0; }
	.ghm-table-cards td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: var(--ghm-fs-xs); font-weight: 700; color: var(--ghm-muted); text-transform: none; }
	.ghm-table-cards td[data-label=""]::before, .ghm-table-cards td:not([data-label])::before { display: none; }
	.ghm-table-cards .ghm-cell-nr { font-family: var(--ghm-font-display); font-weight: 800; font-size: var(--ghm-fs-lg); color: var(--ghm-primary); }
	.ghm-table-cards .ghm-cell-nr::before { display: none; }
	.wp-block-table.ghm-table-cards + .table-scroll-hint, .ghm-table-cards ~ .table-scroll-hint { display: none; }
}

/* Gatvių pasiūlymai atsiskaityme — savas sąrašas (naršyklės datalist nesiderino su dizainu) */
.ghm-adr-wrap { position: relative; }
.ghm-adr-list { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: var(--ghm-sp-1); list-style: none; background: var(--ghm-surface); border: 1px solid var(--ghm-border); border-radius: var(--ghm-r-md); box-shadow: 0 12px 32px rgba(26, 43, 59, 0.14); max-height: 17rem; overflow-y: auto; }
.ghm-adr-list:empty, .ghm-adr-list[hidden] { display: none; }
.ghm-adr-list li { margin: 0; }
.ghm-adr-opt { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: var(--ghm-r-sm); padding: 0.55rem 0.7rem; font: inherit; color: var(--ghm-ink); cursor: pointer; }
.ghm-adr-opt:hover, .ghm-adr-opt:focus-visible, .ghm-adr-opt[aria-selected="true"] { background: var(--ghm-primary-soft); outline: none; }
.ghm-adr-opt strong { display: block; font-weight: 700; }
.ghm-adr-opt span { display: block; font-size: var(--ghm-fs-xs); color: var(--ghm-muted); }
