/*
Theme Name: Peștera
Theme URI: https://scoalapestera.ro/
Description: Temă copil Twenty Twenty-Five pentru Școala Gimnazială Nr. 1 Peștera (jud. Constanța). Violet și coral, din sigla școlii; fonturi găzduite local (Platypi, Manrope), fără resurse externe; texte, imagini, contacte și meniuri editabile din Editorul de site.
Author: Edd
Template: twentytwentyfive
Version: 1.0.1
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pestera
*/

/* ------------------------------------------------------------------ base */
:root {
	color-scheme: only light;
	--pst-radius: 18px;
	--pst-radius-sm: 12px;
	--pst-ease: cubic-bezier(.2, .7, .2, 1);
	--pst-focus: 0 0 0 3px #fff, 0 0 0 6px #5B1BB5;
}
html { scroll-padding-top: 7rem; }
/* Core returns focus to the sticky opener BEFORE removing has-modal-open.
   Its already-visible button sits inside the page's anchor padding; Chromium
   otherwise scrolls the document to center it. Only the modal uses zero padding:
   keep core focus/keyboard handling and normal document anchor offsets intact. */
html.pst-js.has-modal-open { scroll-padding-top: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { height: auto; }
::selection { background: #FDECEF; color: #2B0B57; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
.wp-element-button:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid #D41E44;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(43, 11, 87, .55);
	border-radius: 6px;
}
.pst-band a:focus-visible, .pst-footer a:focus-visible, .pst-hero a:focus-visible, .pst-pagehead a:focus-visible, .pst-topbar a:focus-visible, .pst-mapcard a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px rgba(212, 30, 68, .55); }

.screen-reader-text:not(:focus) {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ------------------------------------------------------------------ header */
.pst-site-header,
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
.pst-topbar { transition: margin-top .25s var(--pst-ease); }
.pst-topbar p { margin: 0; }
.pst-topbar a { text-decoration: none; }
.pst-topbar a:hover { text-decoration: underline; }
.pst-topbar__info { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.pst-topbar__links { display: flex; gap: 1.2rem; }
.pst-ico::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: .4em; vertical-align: -.12em; background: currentColor; opacity: .85; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pst-ico--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.pst-ico--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.pst-ico--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }

.pst-header {
	border-bottom: 1px solid rgba(91, 27, 181, .08);
	transition: padding .25s var(--pst-ease), box-shadow .25s var(--pst-ease);
	box-shadow: 0 1px 0 rgba(43, 11, 87, .02);
}
.pst-scrolled .pst-header { padding-top: .4rem !important; padding-bottom: .4rem !important; box-shadow: 0 8px 24px rgba(43, 11, 87, .10); }
.pst-brand { min-width: 0; }
/* crest: the image itself is a centred badge on white with an even margin, so the circular frame is just
   white + a hairline ring; aspect-ratio keeps it a perfect circle at every size (header, scrolled, footer). */
.pst-brand__logo img {
	display: block; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; background: #fff;
	box-shadow: 0 0 0 1px rgba(91, 27, 181, .14), 0 2px 8px rgba(43, 11, 87, .08);
	transition: width .25s var(--pst-ease), height .25s var(--pst-ease);
}
.pst-scrolled .pst-header .pst-brand__logo img { width: 46px !important; height: 46px !important; }
.pst-brand__text { min-width: 0; }
.pst-brand .wp-block-site-title { margin: 0; max-width: 21rem; }
.pst-brand__motto { margin: 0 !important; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #A8102F; font-weight: 700; }
.pst-scrolled .pst-header .pst-brand__motto { display: none; }

.pst-nav .wp-block-navigation-item__content { padding: .55rem .7rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.pst-nav .wp-block-navigation-item__content:hover,
.pst-nav .current-menu-item > .wp-block-navigation-item__content { background: #F0E9FC; }
/* desktop dropdowns: white card, soft shadow, roomy items (only outside the mobile overlay) */
.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	background: #fff !important; border: 1px solid #E6E0F1 !important; border-radius: 16px; padding: .5rem !important; min-width: 17.5rem !important;
	box-shadow: 0 2px 6px rgba(43, 11, 87, .06), 0 22px 48px rgba(43, 11, 87, .16); margin-top: .35rem;
}
.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container::before {
	content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; /* hover bridge over the gap */
}
.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block; width: 100%; border-radius: 10px; padding: .65rem .9rem; font-weight: 600; color: #2B0B57; text-decoration: none;
}
.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: #F6F2FD; color: #2B0B57; box-shadow: inset 3px 0 0 #D41E44; text-decoration: none;
}
@media (prefers-reduced-motion: no-preference) {
	.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child .wp-block-navigation__submenu-container { transition: opacity .18s ease, transform .18s var(--pst-ease), visibility .18s; transform: translateY(6px); }
	.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:hover > .wp-block-navigation__submenu-container,
	.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:focus-within > .wp-block-navigation__submenu-container,
	.pst-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child [aria-expanded="true"] ~ .wp-block-navigation__submenu-container { transform: none; }
}
.pst-nav .pst-nav__cta > .wp-block-navigation-item__content { background: #5B1BB5; color: #fff; margin-left: .35rem; padding-left: 1.1rem; padding-right: 1.1rem; }
.pst-nav .pst-nav__cta > .wp-block-navigation-item__content:hover { background: #2B0B57; color: #fff; }
/* phone + e-mail items exist only for the mobile overlay */
.pst-nav .pst-nav__extra { display: none !important; }
@media (max-width: 1180px) {
	.pst-brand .wp-block-site-title { max-width: 14rem; font-size: .98rem; }
	.pst-nav .wp-block-navigation-item__content { padding: .5rem .5rem; }
}
@media (max-width: 781px) {
	.pst-topbar__info .pst-ico--pin, .pst-topbar__links { display: none !important; }
	.pst-brand .wp-block-site-title { max-width: 12.5rem; font-size: .92rem; }
	.pst-brand__logo img { width: 48px !important; height: 48px !important; }
	.pst-brand__motto { font-size: .68rem; }
}

/* ------------------------------------------------------------------ typography helpers */
.is-style-pst-kicker {
	font-size: .8125rem !important; font-weight: 800; font-family: var(--wp--preset--font-family--manrope); letter-spacing: .14em; text-transform: uppercase; color: #A8102F; margin-bottom: .25rem !important;
	display: inline-flex; align-items: center; gap: .6rem;
}
.is-style-pst-kicker::before { content: ""; width: 1.75rem; height: 2px; background: #D41E44; border-radius: 2px; }
.has-base-2-color .is-style-pst-kicker, .pst-band .is-style-pst-kicker, .pst-hero .is-style-pst-kicker, .pst-pagehead .is-style-pst-kicker { color: #FFC2CC; }
.is-style-pst-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: #4F4863; }
.pst-pagehead .is-style-pst-lead, .pst-hero .is-style-pst-lead, .pst-band .is-style-pst-lead { color: rgba(255, 255, 255, .88); }
.pst-note { font-size: var(--wp--preset--font-size--small); color: #4F4863; border-left: 3px solid #D41E44; padding-left: .9rem; }

/* ------------------------------------------------------------------ buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, transform .2s var(--pst-ease), box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(43, 11, 87, .18); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; color: #5B1BB5; background: transparent; padding: calc(.8rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #5B1BB5; color: #fff; border-color: #5B1BB5; }
.wp-block-button.is-style-pst-accent > .wp-block-button__link { background: #D41E44; color: #fff; }
.wp-block-button.is-style-pst-accent > .wp-block-button__link:hover { background: #A8102F; color: #fff; box-shadow: 0 10px 22px rgba(168, 16, 47, .35); }
.wp-block-button.is-style-pst-light > .wp-block-button__link { background: #fff; color: #2B0B57; }
.wp-block-button.is-style-pst-light > .wp-block-button__link:hover { background: #FDECEF; color: #2B0B57; }
.wp-block-button.is-style-pst-ghost > .wp-block-button__link { background: rgba(255, 255, 255, .08); color: #fff; border: 2px solid rgba(255, 255, 255, .75); padding: calc(.8rem - 2px) calc(1.5rem - 2px); backdrop-filter: blur(4px); }
.wp-block-button.is-style-pst-ghost > .wp-block-button__link:hover { background: #fff; color: #2B0B57; border-color: #fff; }

/* ------------------------------------------------------------------ page head band */
.pst-pagehead { position: relative; overflow: hidden; isolation: isolate; }
.pst-pagehead::after {
	content: ""; position: absolute; z-index: -1; right: -6rem; top: -6rem; width: 26rem; height: 26rem; border-radius: 50%;
	background: radial-gradient(circle at center, rgba(212, 30, 68, .28), rgba(212, 30, 68, 0) 65%);
}
.pst-pagehead h1, .pst-pagehead .wp-block-post-title, .pst-pagehead .wp-block-query-title { color: #fff; max-width: 22ch; margin-top: .35rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.pst-pagehead .pst-single-title { max-width: 30ch; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.pst-pagehead .wp-block-post-date { color: rgba(255, 255, 255, .85); }
.pst-pagehead .is-style-pst-kicker a { color: inherit; text-decoration: none; }
.pst-meta { gap: .75rem 1rem; }

/* ------------------------------------------------------------------ hero (split: text + building photo with the crest and a „network” card) */
.pst-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.pst-hero::before {
	/* the crest's mortarboard as a quiet rhombus lattice + a coral glow and a violet glow */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(circle at 92% 12%, rgba(248, 48, 72, .42), rgba(248, 48, 72, 0) 30%),
		radial-gradient(circle at 70% 115%, rgba(136, 0, 248, .55), rgba(136, 0, 248, 0) 45%),
		repeating-linear-gradient(30deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 34px),
		repeating-linear-gradient(-30deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 34px);
}
.pst-hero__cols { margin-bottom: 0 !important; }
.pst-hero__text > * { max-width: 40rem; }
.pst-hero__title { color: #fff !important; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.25rem) !important; font-weight: 700 !important; line-height: 1.02 !important; letter-spacing: -.02em !important; text-wrap: balance; margin-top: .4rem !important; }
.pst-hero__lead { font-size: clamp(1.0625rem, .95rem + .45vw, 1.25rem) !important; max-width: 36rem; color: rgba(255, 255, 255, .9) !important; }
.pst-hero__actions { margin-top: 1.75rem !important; gap: .75rem; }
.pst-hero__motto { margin-top: 1.9rem !important; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .9rem; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .98rem; }
.pst-hero__motto strong { font-family: var(--wp--preset--font-family--platypi); font-weight: 600; font-size: 1.08rem; color: #fff; letter-spacing: .01em; }
.pst-hero__motto span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #FFC2CC; font-weight: 800; }
.pst-hero__frame { position: relative; max-width: 36rem; margin-left: auto !important; padding: 0 0 2.25rem 0 !important; }
.pst-hero__frame > * { margin: 0 !important; }
.pst-hero__photo { position: relative; }
.pst-hero .wp-block-image.pst-hero__photo img, .pst-content .wp-block-image.pst-hero__photo img { display: block; width: 100%; border-radius: 180px 28px 28px 28px; box-shadow: 0 30px 60px rgba(22, 6, 44, .5); }
.pst-hero__crest {
	position: absolute; z-index: 3; left: -26px; top: -18px; width: 112px; height: 112px;
	border-radius: 50%; background: #fff; padding: 6px !important; box-shadow: 0 0 0 6px rgba(255, 255, 255, .16), 0 18px 40px rgba(22, 6, 44, .45);
}
.pst-hero__crest .wp-block-image, .pst-hero__crest figure { margin: 0 !important; }
.pst-hero__crest img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.pst-hero__card {
	position: absolute; z-index: 3; left: -2.25rem; bottom: 0; max-width: 17.5rem; padding: 1rem 1.2rem 1.05rem !important;
	background: #fff; color: #1C1530; border-radius: 18px; box-shadow: 0 24px 50px rgba(22, 6, 44, .35);
}
.pst-hero__card > * { margin: 0 !important; }
.pst-hero__card-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #A8102F; }
.pst-hero__card-num { margin-top: .2rem !important; font-family: var(--wp--preset--font-family--platypi); font-size: 1.15rem; font-weight: 600; color: #2B0B57; line-height: 1.2; }
.pst-hero__card-num strong { font-size: 2.1rem; font-weight: 700; color: #5B1BB5; margin-right: .25rem; vertical-align: -.12em; }
.pst-hero__card-text { margin-top: .25rem !important; font-size: .86rem; line-height: 1.4; color: #4F4863; }
@media (prefers-reduced-motion: no-preference) {
	.pst-hero__kicker, .pst-hero__title, .pst-hero__lead, .pst-hero__actions, .pst-hero__motto { animation: pst-rise .9s var(--pst-ease) both; }
	.pst-hero__title { animation-delay: .08s; }
	.pst-hero__lead { animation-delay: .16s; }
	.pst-hero__actions { animation-delay: .24s; }
	.pst-hero__motto { animation-delay: .32s; }
	.pst-hero__photo { animation: pst-pop .9s .05s var(--pst-ease) both; }
	.pst-hero__crest { animation: pst-crest .9s .35s var(--pst-ease) both; }
	.pst-hero__card { animation: pst-rise .9s .45s var(--pst-ease) both; }
}
@keyframes pst-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pst-pop { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pst-crest { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .pst-hero__card { left: 1rem; } .pst-hero__crest { left: -10px; } }
@media (max-width: 781px) {
	.pst-hero__media { order: 2; }
	.pst-hero__frame { max-width: none; margin: 2.75rem 0 0 !important; padding: 0 !important; }
	.pst-hero .wp-block-image.pst-hero__photo img, .pst-content .wp-block-image.pst-hero__photo img { border-radius: 110px 20px 20px 20px; }
	.pst-hero__crest { width: 78px; height: 78px; top: -30px; left: auto; right: 14px; padding: 5px !important; }
	/* the network card goes below the photo on phones, never over it */
	.pst-hero__card { position: relative; left: auto; bottom: auto; max-width: none; margin-top: 1rem !important; }
}

/* ------------------------------------------------------------------ quick access tiles */
.pst-quick { margin-top: -4.5rem !important; position: relative; z-index: 3; }
.pst-tiles { gap: 1rem !important; }
.is-style-pst-tile {
	position: relative; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius); padding: 1.25rem 1.25rem 1.2rem 4.6rem !important;
	box-shadow: 0 1px 2px rgba(43, 11, 87, .06), 0 8px 24px rgba(43, 11, 87, .08);
	transition: transform .25s var(--pst-ease), box-shadow .25s var(--pst-ease), border-color .25s;
	min-height: 6.25rem;
}
.is-style-pst-tile::before {
	content: ""; position: absolute; left: 1.15rem; top: 1.3rem; width: 2.5rem; height: 2.5rem; border-radius: 12px;
	background: #F0E9FC var(--ico) center / 1.35rem no-repeat;
	transition: background-color .25s;
}
.is-style-pst-tile:hover, .is-style-pst-tile:focus-within { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(43, 11, 87, .08), 0 18px 40px rgba(43, 11, 87, .16); border-color: #D41E44; }
.is-style-pst-tile:hover::before, .is-style-pst-tile:focus-within::before { background-color: #FDECEF; }
.pst-tile__title { margin: 0 0 .2rem !important; font-family: var(--wp--preset--font-family--manrope) !important; font-size: 1.0625rem !important; font-weight: 800 !important; letter-spacing: 0 !important; }
.pst-tile__title a { color: #2B0B57; text-decoration: none; }
.pst-tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--pst-radius); }
.pst-tile__title a:focus-visible { outline: none; box-shadow: none; }
.is-style-pst-tile:has(a:focus-visible) { outline: 3px solid #D41E44; outline-offset: 3px; }
.pst-tile__text { margin: 0 !important; font-size: .9rem; color: #4F4863; line-height: 1.45; overflow-wrap: anywhere; }
.pst-ico-news { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M4 4h13a2 2 0 0 1 2 2v1h1a2 2 0 0 1 2 2v9a3 3 0 0 1-3 3H6a4 4 0 0 1-4-4V6a2 2 0 0 1 2-2zm15 5v9a1 1 0 0 0 2 0V9zM6 8v3h9V8zm0 5v2h9v-2zm0 4v1h6v-1z'/%3E%3C/svg%3E"); }
.pst-ico-child { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 2a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm-6 8h12l-1 2h-3v4l2 6h-2.2L12 17l-1.8 5H8l2-6v-4H7z'/%3E%3C/svg%3E"); }
.pst-ico-exam { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M7 2h10a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm2 4v2h6V6zm-.3 8.3-1.4 1.4L10 18.4l5.7-5.7-1.4-1.4-4.3 4.3z'/%3E%3C/svg%3E"); }
.pst-ico-doc { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5zM8 12v2h8v-2zm0 4v2h8v-2z'/%3E%3C/svg%3E"); }
.pst-ico-chart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M3 3h2v16h16v2H3zm4 9h3v5H7zm5-5h3v10h-3zm5 3h3v7h-3z'/%3E%3C/svg%3E"); }
.pst-ico-leaf { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 3 1 9l11 6 9-4.9V17h2V9zM5 13.2V17c0 1.7 3.1 3 7 3s7-1.3 7-3v-3.8l-7 3.8z'/%3E%3C/svg%3E"); }
.pst-ico-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5zm-1 13-3.5-3.5 1.4-1.4 2.1 2.1 4.6-4.6 1.4 1.4z'/%3E%3C/svg%3E"); }
.pst-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ sections */
@media (max-width: 600px) {
	.pst-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
	.is-style-pst-tile { padding: 1rem .9rem 1rem !important; min-height: 0; }
	.is-style-pst-tile::before { position: static; display: block; margin-bottom: .6rem; width: 2.25rem; height: 2.25rem; }
	.pst-tile__title { font-size: .98rem !important; }
	.pst-tile__text { font-size: .8125rem; }
	.pst-quick { margin-top: -3rem !important; }
	.pst-content--home > .pst-quick { margin-block-start: -3rem !important; }
}
.pst-sechead { margin-bottom: var(--wp--preset--spacing--40) !important; gap: 1rem; }
.pst-sechead h2 { margin-top: 0 !important; }
.pst-sechead--stack > * { max-width: 46rem; }
.pst-section h2 { text-wrap: balance; }

/* news cards */
.pst-cards { gap: 1.25rem !important; }
.pst-cards > .wp-block-post { display: flex; }
.pst-card-post {
	position: relative; width: 100%; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius); padding: 1.35rem 1.4rem 1.4rem !important;
	box-shadow: 0 1px 2px rgba(43, 11, 87, .05); transition: transform .25s var(--pst-ease), box-shadow .25s var(--pst-ease), border-color .25s;
	overflow: hidden;
}
.pst-card-post::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: #5B1BB5; }
.category-pnras .pst-card-post::before { background: #2E7D5B; }
.category-activitati .pst-card-post::before { background: #D41E44; }
.category-informatii-publice .pst-card-post::before { background: #3030B8; }
.category-inscriere .pst-card-post::before, .category-evaluare-nationala .pst-card-post::before { background: #7A2FE0; }
.category-concursuri-si-selectii .pst-card-post::before { background: #B4462F; }
.category-proiecte .pst-card-post::before { background: #0E7490; }
.pst-card-post:hover, .pst-card-post:focus-within { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(43, 11, 87, .08), 0 18px 40px rgba(43, 11, 87, .14); border-color: #C9BCE3; }
.pst-card-post__img { margin: -1.35rem -1.4rem .4rem !important; max-width: none !important; width: calc(100% + 2.8rem) !important; }
.pst-card-post__img img { border-radius: 0; transition: transform .5s var(--pst-ease); }
.pst-card-post:hover .pst-card-post__img img { transform: scale(1.03); }
.pst-card-post__title { margin: 0 !important; font-size: 1.1875rem !important; line-height: 1.3 !important; overflow-wrap: anywhere; hyphens: auto; }
.pst-card-post__title a { color: #2B0B57; }
.pst-card-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pst-card-post__title a:focus-visible { outline: none; box-shadow: none; }
.pst-card-post:has(.pst-card-post__title a:focus-visible) { outline: 3px solid #D41E44; outline-offset: 3px; }
.pst-card-post__date { margin: 0 !important; font-weight: 600; }
.pst-card-post__excerpt { margin: 0 !important; color: #4F4863; font-size: .95rem; overflow-wrap: anywhere; }
.pst-card-post__excerpt p { margin: 0; }

/* category pills */
.pst-pills { display: flex; flex-wrap: wrap; gap: .4rem; position: relative; z-index: 2; font-size: .75rem; }
.pst-pills .wp-block-post-terms__separator { display: none; }
.pst-pills a, .pst-pill {
	display: inline-block; padding: .28rem .7rem; border-radius: 999px; background: #F0E9FC; color: #5B1BB5; font-weight: 700; text-decoration: none; letter-spacing: .02em; line-height: 1.3;
}
.pst-pills a:hover { background: #5B1BB5; color: #fff; }
.pst-pill--pnras { background: #E3F2EA; color: #1E5B41; }
.pst-pill--activitati { background: #FDECEF; color: #8E0F2A; }
.pst-pill--informatii-publice { background: #E7E8FA; color: #2A2A9E; }
.pst-pill--inscriere, .pst-pill--evaluare-nationala { background: #EFE6FB; color: #4A1596; }
.pst-pill--concursuri-si-selectii { background: #F8E6E1; color: #8E3423; }
.pst-pill--proiecte { background: #E0F2F6; color: #0B5466; }
.pst-pagehead .pst-pills a { background: rgba(255, 255, 255, .14); color: #fff; }
.pst-pagehead .pst-pills a:hover { background: #fff; color: #2B0B57; }

/* filter */
.pst-filterbar { margin-bottom: var(--wp--preset--spacing--40) !important; gap: .5rem 1rem; }
.pst-filterbar__label { margin: 0 !important; font-weight: 800; font-size: .875rem; color: #4F4863; }
.pst-filter, .pst-filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin: 0 !important; }
.pst-filter li { margin: 0; }
.pst-filter a {
	display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid #E3DCEF; background: #fff; color: #5B1BB5; text-decoration: none; font-weight: 700; font-size: .875rem;
	transition: background-color .2s, color .2s, border-color .2s;
}
.pst-filter a:hover { border-color: #5B1BB5; }
.pst-filter .current-cat > a, .pst-filter a[aria-current] { background: #5B1BB5; border-color: #5B1BB5; color: #fff; }
.pst-cards > .wp-block-post[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) {
	.pst-cards > .wp-block-post:not([hidden]) { animation: pst-fade .35s var(--pst-ease) both; }
}
@keyframes pst-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pst-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: .4rem; font-weight: 700; }
.pst-pagination a, .pst-pagination .current { padding: .45rem .85rem; border-radius: 999px; text-decoration: none; }
.pst-pagination .current { background: #5B1BB5; color: #fff; }

/* about */
.pst-about__media { position: relative; }
.is-style-pst-rounded img { border-radius: var(--pst-radius); }
.pst-about__media > .wp-block-image { position: relative; z-index: 1; }
.pst-quote-card {
	position: absolute; z-index: 2; right: -1rem; bottom: -1.5rem; max-width: 18rem; background: #5B1BB5; color: #fff; padding: 1.1rem 1.3rem !important; border-radius: var(--pst-radius-sm);
	box-shadow: 0 18px 40px rgba(43, 11, 87, .30); font-family: var(--wp--preset--font-family--platypi); font-size: 1.125rem; line-height: 1.35;
}
.pst-quote-card p { margin: 0; }
.pst-quote-card__by { font-family: var(--wp--preset--font-family--manrope); font-size: .75rem !important; letter-spacing: .12em; text-transform: uppercase; color: #FFC2CC; margin-top: .4rem !important; }
@media (max-width: 781px) {
	/* below the photo, never on top of it */
	.pst-quote-card { position: relative; right: auto; bottom: auto; max-width: none; margin: 1rem 0 0 !important; box-shadow: 0 10px 28px rgba(43, 11, 87, .18); }
}

.is-style-pst-checks { list-style: none; padding-left: 0 !important; }
.is-style-pst-checks li { position: relative; padding-left: 2rem; margin-bottom: .55rem; }
.is-style-pst-checks li::before {
	content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
	background: #FDECEF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A8102F'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / .9rem no-repeat;
}

/* programme cards */
.pst-pcards { gap: 1.25rem !important; }
.pst-pcard {
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--pst-radius); overflow: hidden; border: 1px solid #E3DCEF;
	box-shadow: 0 1px 2px rgba(43, 11, 87, .05); transition: transform .3s var(--pst-ease), box-shadow .3s var(--pst-ease);
}
.pst-pcard:hover, .pst-pcard:focus-within { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(43, 11, 87, .08), 0 22px 44px rgba(43, 11, 87, .18); }
.pst-pcard > .wp-block-image { margin: 0 !important; overflow: hidden; }
.pst-pcard > .wp-block-image img { width: 100%; transition: transform .6s var(--pst-ease); }
.pst-pcard:hover > .wp-block-image img { transform: scale(1.05); }
.pst-pcard__art { position: relative; aspect-ratio: 3 / 2; display: grid; place-items: center; background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(135deg, #2B0B57, #5B1BB5 55%, #7A2FE0); margin: 0 !important; overflow: hidden; }
.pst-pcard__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #D41E44; }
.pst-pcards > .pst-pcard:nth-child(2) .pst-pcard__art { background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(135deg, #7E0C26, #D41E44 70%, #F05A6E); }
.pst-pcards > .pst-pcard:nth-child(2) .pst-pcard__art::after { background: #5B1BB5; }
.pst-pcards > .pst-pcard:nth-child(3) .pst-pcard__art { background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(135deg, #0B3B5C, #0E7490 70%, #1F9BB8); }
.pst-pcard__badge { color: #fff; font-family: var(--wp--preset--font-family--platypi); font-size: 2.75rem; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pst-pcard__body { padding: 1.25rem 1.35rem 1.4rem !important; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pst-pcard__body > * { margin: 0 !important; }
.pst-pcard__body p { font-size: .95rem; color: #4F4863; }
.pst-pcard__pill { align-self: flex-start; font-size: .72rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8E0F2A !important; background: #FDECEF; border-radius: 999px; padding: .25rem .65rem; }
.pst-pcard__title { font-size: 1.3rem !important; }
.pst-pcard__title a { color: #2B0B57; text-decoration: none; }
.pst-pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pst-pcard__title a:focus-visible { outline: none; box-shadow: none; }
.pst-pcard:has(a:focus-visible) { outline: 3px solid #D41E44; outline-offset: 3px; }
.pst-pcard__more { margin-top: auto !important; font-weight: 800; color: #5B1BB5 !important; }
.pst-pcard:hover .pst-pcard__more { color: #A8102F !important; }

/* navy band */
.pst-band { position: relative; overflow: hidden; isolation: isolate; }
.pst-band::before {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.pst-band h2 { color: #fff; }

/* document lists */
.is-style-pst-doclist { list-style: none; padding: 0 !important; margin-top: .5rem; border-top: 1px solid #E3DCEF; }
.is-style-pst-doclist li {
	position: relative; padding: .85rem .5rem .85rem 2.6rem; border-bottom: 1px solid #E3DCEF; transition: background-color .2s;
}
.is-style-pst-doclist li::before {
	content: ""; position: absolute; left: .4rem; top: .95rem; width: 1.5rem; height: 1.5rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5zM8 12v2h8v-2zm0 4v2h8v-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.is-style-pst-doclist li:hover { background: #fff; }
.is-style-pst-doclist a:first-child { font-weight: 700; text-decoration: none; color: #2B0B57; }
.is-style-pst-doclist a:first-child:hover { text-decoration: underline; }
.pst-doc__meta { display: inline-block; margin-left: .35rem; font-size: .75rem; font-weight: 700; color: #4F4863; background: #F0E9FC; padding: .1rem .5rem; border-radius: 999px; white-space: nowrap; }
.pst-doc__post { font-size: .8125rem; margin-left: .35rem; }
.pst-doclist--dark { border-color: rgba(255, 255, 255, .2); }
.pst-doclist--dark li { border-color: rgba(255, 255, 255, .2); }
.pst-doclist--dark li::before { filter: brightness(0) invert(1); opacity: .9; }
.pst-doclist--dark li:hover { background: rgba(255, 255, 255, .06); }
.pst-doclist--dark a:first-child { color: #fff; }
.pst-doclist--dark .pst-doc__meta { background: rgba(255, 255, 255, .15); color: #fff; }
.pst-toc-wrap { background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius-sm); padding: 1rem 1.25rem !important; }
.pst-toc { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0 !important; margin: 0; font-weight: 700; font-size: .95rem; }

/* FAQ (details/summary – works without JS) */
.pst-faq { display: grid; gap: .75rem; }
.pst-faq__item { transition: border-color .2s, box-shadow .2s; }
.pst-faq__item[open] { border-color: #D41E44 !important; box-shadow: 0 8px 24px rgba(43, 11, 87, .08); }
.pst-faq__item summary { cursor: pointer; font-weight: 800; color: #2B0B57; list-style: none; position: relative; padding-right: 2.25rem; }
.pst-faq__item summary::-webkit-details-marker { display: none; }
.pst-faq__item summary::after {
	content: ""; position: absolute; right: 0; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem; border-radius: 50%;
	background: #F0E9FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center / .95rem no-repeat;
	transition: transform .25s var(--pst-ease);
}
.pst-faq__item[open] summary::after { transform: rotate(45deg); background-color: #FDECEF; }
.pst-faq__item p { margin-top: .75rem; color: #4F4863; }

/* contact + map card (no third-party embeds) */
.pst-contact-list { list-style: none; padding: 0 !important; }
.pst-contact-list li { padding: .6rem 0; border-bottom: 1px solid #E3DCEF; overflow-wrap: anywhere; }
.pst-mapcard {
	position: relative; border-radius: var(--pst-radius); overflow: hidden; padding: 2rem 1.75rem 1.75rem !important; color: #fff; min-height: 20rem;
	display: flex; flex-direction: column; justify-content: flex-end;
	background:
		radial-gradient(circle at calc(100% - 2.75rem) 2.75rem, rgba(212, 30, 68, .95) 0 .55rem, rgba(212, 30, 68, .35) .6rem 1.4rem, transparent 1.45rem),
		repeating-linear-gradient(28deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 46px),
		repeating-linear-gradient(-58deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 64px),
		linear-gradient(135deg, #2B0B57, #5B1BB5 70%, #7A2FE0);
	box-shadow: 0 18px 40px rgba(43, 11, 87, .2);
}
.pst-mapcard > * { margin: 0 !important; }
.pst-mapcard__title { font-family: var(--wp--preset--font-family--platypi); font-size: 1.375rem; font-weight: 700; }
.pst-mapcard__addr { opacity: .9; margin-bottom: 1rem !important; }
.pst-mapcard__note { font-size: .78rem; opacity: .8; margin-top: .9rem !important; }

/* page content */
.pst-content > h2 { margin-top: var(--wp--preset--spacing--50); }
.pst-content > h2:first-child { margin-top: 0; }
.pst-content .wp-block-image img { border-radius: var(--pst-radius-sm); }
.pst-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius-sm); padding: 1rem 1.15rem; }
.pst-content .wp-block-file > a:first-child { font-weight: 700; overflow-wrap: anywhere; flex: 1 1 14rem; padding-left: 2rem; position: relative; }
.pst-content .wp-block-file > a:first-child::before { content: ""; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5zM8 12v2h8v-2zm0 4v2h8v-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pst-content .wp-block-file .wp-block-file__button { margin-left: 0; padding: .55rem 1.1rem; border-radius: 999px; background: #5B1BB5; color: #fff; font-size: .875rem; }
.pst-content .wp-block-table td { border-color: #E3DCEF; overflow-wrap: anywhere; }
.pst-content .wp-block-table { overflow-x: auto; }
.pst-table-ident td:first-child { font-weight: 700; color: #2B0B57; width: 38%; background: #fff; }
.pst-content .wp-block-video video { max-height: 80vh; border-radius: var(--pst-radius-sm); background: #2B0B57; }
.pst-content p, .pst-content li { overflow-wrap: break-word; }
.pst-vision { border-left: 4px solid #D41E44 !important; padding: .5rem 0 .5rem 1.25rem !important; font-family: var(--wp--preset--font-family--platypi); font-size: 1.5rem; color: #2B0B57; }
.pst-vision p { margin: 0; }
.is-style-pst-card, .pst-level { background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius); padding: 1.35rem 1.4rem !important; box-shadow: 0 1px 2px rgba(43, 11, 87, .05); transition: transform .25s var(--pst-ease), box-shadow .25s; }
.pst-level:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(43, 11, 87, .12); }
.pst-level h3 { margin-top: 0; }
.pst-level__list { list-style: none; padding: 0 !important; margin: 0; font-size: .95rem; color: #4F4863; }
.pst-level__list li { padding: .25rem 0; }
.pst-funding img { max-height: 90px; width: auto; }
.pst-gallery img { border-radius: 10px; }
.pst-single-img { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.pst-single-img img { border-radius: var(--pst-radius); }
.pst-postnav { border-top: 1px solid #E3DCEF; padding-top: 1.25rem; gap: 1rem; max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.pst-main > .wp-block-buttons { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.pst-search { max-width: 34rem; }
.pst-search .wp-block-search__input { border-radius: 999px 0 0 999px; border: 1.5px solid #E3DCEF; padding: .7rem 1rem; }
.pst-search .wp-block-search__button { border-radius: 0 999px 999px 0; margin-left: 0; }

/* footer */
.pst-footer h2.pst-footer__title { color: #FFC2CC; font-family: var(--wp--preset--font-family--manrope); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.pst-footer p, .pst-footer li { color: rgba(255, 255, 255, .86); font-size: .95rem; }
.pst-footer a { text-decoration: none; }
.pst-footer a:hover { text-decoration: underline; color: #FFC2CC !important; }
.pst-footer__links { list-style: none; padding: 0 !important; }
.pst-footer__links li { padding: .2rem 0; }
.pst-footer__sep { border-color: rgba(255, 255, 255, .15) !important; opacity: 1; }
.pst-footer .wp-block-site-title { max-width: 16rem; }
.pst-footer .pst-brand__logo img { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.pst-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .7); }

/* back to top (created by JS) */
.pst-top {
	position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 3rem; height: 3rem; border-radius: 50%; border: 0; cursor: pointer;
	background: #D41E44; color: #fff; box-shadow: 0 10px 24px rgba(43, 11, 87, .25); display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s var(--pst-ease), visibility .25s;
}
.pst-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.pst-top:hover { background: #A8102F; color: #fff; }

/* scroll reveal: only with JS and only without reduced motion */
@media (prefers-reduced-motion: no-preference) {
	.pst-js .pst-reveal { transition: opacity .7s var(--pst-ease), transform .7s var(--pst-ease); }
	.pst-js .pst-reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
	.pst-js .pst-tiles > .pst-reveal:nth-child(2), .pst-js .pst-pcards > .pst-reveal:nth-child(2) { transition-delay: .06s; }
	.pst-js .pst-tiles > .pst-reveal:nth-child(3), .pst-js .pst-pcards > .pst-reveal:nth-child(3) { transition-delay: .12s; }
	.pst-js .pst-tiles > .pst-reveal:nth-child(4), .pst-js .pst-pcards > .pst-reveal:nth-child(4) { transition-delay: .18s; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* editor: never hide reveal blocks */
.editor-styles-wrapper .pst-reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .pst-quick { margin-top: 0 !important; }

/* layout glue */
.wp-site-blocks > main, .wp-site-blocks > .pst-main, .wp-site-blocks > footer, .wp-site-blocks > .pst-pagehead { margin-block-start: 0; }
.pst-pagehead__inner > :first-child { margin-top: 0; }
.pst-pagehead__inner > .is-style-pst-lead, .pst-pagehead__inner > .wp-block-term-description { max-width: 48rem; }
.pst-content--home, .pst-content--home > .alignfull { margin-block-start: 0 !important; }
.pst-content--home > .pst-quick { margin-block-start: -4.5rem !important; }
.editor-styles-wrapper .pst-content--home > .pst-quick, .editor-styles-wrapper .pst-quick { margin-block-start: 0 !important; }

@media print {
	.pst-site-header, .pst-footer, .pst-top, .pst-filterbar { display: none !important; }
}

@media (max-width: 600px) { .pst-content--home > .pst-quick { margin-block-start: -3rem !important; } }

/* single post: title column aligned with the text column */
.single .pst-pagehead__inner { max-width: var(--wp--style--global--content-size) !important; margin-left: auto !important; margin-right: auto !important; }
.pst-content .wp-block-video video { display: block; width: auto; max-width: 100%; max-height: min(80vh, 760px); margin-inline: auto; }

/* galleries: strict, even grid (no stretched last item) */
.pst-gallery.wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem !important; }
.pst-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; }
.pst-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
@media (max-width: 600px) { .pst-gallery.wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pst-mapcard__title { padding-right: 3rem; }


/* ------------------------------------------------------------------ mobile overlay menu (core/navigation, < 600 px) */
nav.pst-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: linear-gradient(180deg, #2B0B57 0%, #5B1BB5 100%);
	color: #fff; padding: 1rem 1.25rem 1.5rem;
}
.pst-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: 30rem; margin: 0 auto; }
.pst-nav .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; }
/* brand row: crest + school name (decorative; the page header already names the school) */
.pst-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
	background: #fff url("assets/images/pestera-sigla-scolii.webp") center / cover no-repeat; box-shadow: 0 0 0 2px rgba(255, 194, 204, .55);
}
.pst-nav .is-menu-open .wp-block-navigation__responsive-dialog::after {
	content: "Școala Gimnazială\ANr. 1 Peștera";
	content: "Școala Gimnazială\ANr. 1 Peștera" / "";
	white-space: pre; position: absolute; top: 3px; left: 56px; right: 56px;
	font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: .9rem; line-height: 1.3; color: #fff;
}
/* Keep the close button fixed to the viewport while the long modal scrolls.
   Opacity fades remain; an identity animation transform must not create a
   containing block for the fixed close control. */
.pst-nav .wp-block-navigation__responsive-container.is-menu-open,
.pst-nav .is-menu-open .wp-block-navigation__responsive-dialog { transform: none !important; animation: none !important; }
.pst-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed; top: 1rem; right: 1.25rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
	color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); transition: background-color .2s;
}
.pst-nav .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: rgba(255, 255, 255, .16); }
.pst-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }
.pst-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.25rem !important; align-items: stretch !important; gap: 0;
}
.pst-nav .is-menu-open .wp-block-navigation__container {
	align-items: stretch !important; justify-content: flex-start !important; gap: 0 !important; width: 100%;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.pst-nav .is-menu-open .wp-block-navigation-item { width: 100%; display: block; }
.pst-nav .is-menu-open .wp-block-navigation-item__content,
.pst-nav .is-menu-open .wp-block-navigation-item .wp-block-navigation-item__content {
	display: flex; align-items: center; box-sizing: border-box; min-height: 48px; padding: .45rem .25rem !important; margin: 0 !important; width: 100%; line-height: 1.3;
	border-radius: 0; background: none; color: #fff !important;
	font-family: var(--wp--preset--font-family--manrope); font-size: 1.125rem; font-weight: 700; letter-spacing: 0; text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.pst-nav .is-menu-open .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .05) !important; color: #FFC2CC !important; }
.pst-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid #D41E44; outline-offset: -2px; box-shadow: none; border-radius: 8px; }
.pst-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
.pst-nav .is-menu-open .wp-block-navigation-item__content[aria-current="page"] { color: #FFC2CC !important; box-shadow: inset 3px 0 0 #D41E44; padding-left: .9rem !important; }
/* submenu parents become small gold section labels; their children are a plain group (no boxes) */
.pst-nav .is-menu-open .has-child > .wp-block-navigation-item__content {
	min-height: 0; padding: 1.15rem .25rem .4rem !important; border-bottom: 0;
	font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FFC2CC !important;
}
.pst-nav .is-menu-open .has-child > .wp-block-navigation-item__content:hover { background: none !important; text-decoration: underline; }
.pst-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
.pst-nav .is-menu-open .wp-block-navigation__submenu-container {
	position: static !important; display: block !important; width: 100% !important; min-width: 0 !important;
	padding: 0 !important; margin: 0 !important; border: 0 !important; border-top: 1px solid rgba(255, 255, 255, .12) !important;
	border-radius: 0 !important; background: none !important; box-shadow: none !important; opacity: 1 !important; visibility: visible !important; height: auto !important;
}
.pst-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding-left: 1rem !important; font-size: 1.0625rem; font-weight: 600; color: rgba(255, 255, 255, .92) !important;
}
.pst-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: #D41E44; margin-right: .75rem; flex: none; opacity: .85;
}
/* the call to action: full-width gold button, then phone + e-mail */
.pst-nav .is-menu-open .pst-nav__cta { margin-top: 1.5rem; }
.pst-nav .is-menu-open .pst-nav__cta > .wp-block-navigation-item__content {
	justify-content: center; min-height: 54px; border: 0; border-radius: 999px; background: #D41E44 !important; color: #fff !important;
	font-size: 1.0625rem; font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); padding: .5rem 1.5rem !important;
}
.pst-nav .is-menu-open .pst-nav__cta > .wp-block-navigation-item__content:hover { background: #A8102F !important; color: #fff !important; }
.pst-nav .is-menu-open .pst-nav__cta > .wp-block-navigation-item__content:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }
.pst-nav .is-menu-open .pst-nav__extra { display: block !important; }
.pst-nav .is-menu-open .pst-nav__extra > .wp-block-navigation-item__content {
	justify-content: center; min-height: 44px; border: 0; font-size: .95rem; padding-top: 0 !important; padding-bottom: 0 !important; font-weight: 600; color: rgba(255, 255, 255, .85) !important;
}
.pst-nav .is-menu-open .pst-nav__phone { margin-top: .6rem; }
.pst-nav .is-menu-open .pst-nav__extra > .wp-block-navigation-item__content::before {
	content: ""; width: 1rem; height: 1rem; margin-right: .55rem; background: #FFC2CC; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.pst-nav .is-menu-open .pst-nav__phone > .wp-block-navigation-item__content::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.pst-nav .is-menu-open .pst-nav__mail > .wp-block-navigation-item__content::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
/* hamburger button: a clear 44 px target */
.pst-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #5B1BB5; background: #F0E9FC; }
.pst-nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 600px) { .pst-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; } }
@media (prefers-reduced-motion: no-preference) {
	.pst-nav .is-menu-open .wp-block-navigation__responsive-dialog { animation: pst-menu-in .38s var(--pst-ease) both; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { animation: pst-menu-item .45s var(--pst-ease) both; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { animation-delay: .03s; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { animation-delay: .06s; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { animation-delay: .09s; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(5) { animation-delay: .12s; }
	.pst-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+6) { animation-delay: .15s; }
}
@keyframes pst-menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pst-menu-item { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ structures (Contact, Despre noi) */
.pst-structs { gap: .9rem !important; margin-top: 1rem !important; }
.pst-struct {
	position: relative; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius-sm); padding: 1rem 1.15rem 1rem 1.35rem !important;
	box-shadow: 0 1px 2px rgba(43, 11, 87, .05); overflow: hidden;
}
.pst-struct::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #D41E44; }
.pst-struct > * { margin: 0 !important; }
.pst-struct__kind { font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #A8102F; }
.pst-struct__name { margin-top: .3rem !important; color: #2B0B57; font-size: 1.0625rem; line-height: 1.35; }
.pst-struct__place { margin-top: .3rem !important; font-size: .875rem; color: #4F4863; }

/* „Vă așteptăm la școală!” (Contact) */
.pst-welcome {
	position: relative; background: #F4EEFB; border: 1px solid #E2D6F3; border-left: 4px solid #D41E44; border-radius: var(--pst-radius); padding: 1.35rem 1.5rem 1.35rem 4.6rem !important; margin-top: 1.5rem !important;
}
.pst-welcome::before {
	content: ""; position: absolute; left: 1.25rem; top: 1.35rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
	background: #5B1BB5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFC4CC'%3E%3Cpath d='M12 3 2 8v2h20V8zM4 11v8H2v2h20v-2h-2v-8h-3v8h-3v-5h-4v5H7v-8z'/%3E%3C/svg%3E") center / 1.3rem no-repeat;
}
.pst-welcome > * { margin: 0 !important; }
.pst-welcome__title { font-family: var(--wp--preset--font-family--platypi); font-size: 1.5rem; font-weight: 700; color: #2B0B57; line-height: 1.25; }
.pst-welcome__text { margin-top: .4rem !important; color: #2E2645; }
@media (max-width: 600px) { .pst-welcome { padding: 1.2rem 1.15rem !important; } .pst-welcome::before { position: static; display: block; margin-bottom: .7rem; } }

.pst-ico-school { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 3 2 8v2h20V8zM4 11v8H2v2h20v-2h-2v-8h-3v8h-3v-5h-4v5H7v-8z'/%3E%3C/svg%3E"); }

.pst-ico-star { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E"); }
.is-style-pst-tile:hover::before, .is-style-pst-tile:focus-within::before { background-color: #FDECEF; }

/* ------------------------------------------------------------------ shared components */
/* crest card on the PJ structure */
.pst-struct--pj { background: linear-gradient(135deg, #2B0B57, #5B1BB5); border-color: transparent; }
.pst-struct--pj::before { background: #D41E44; }
.pst-struct--pj .pst-struct__kind { color: #FFC2CC; }
.pst-struct--pj .pst-struct__name, .pst-struct--pj .pst-struct__name strong { color: #fff; }
.pst-struct--pj .pst-struct__place { color: rgba(255, 255, 255, .82); }

/* resource facts (Despre noi) */
.pst-facts { gap: .9rem !important; margin-top: 1rem !important; }
.pst-fact { background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius-sm); padding: 1.1rem 1.15rem !important; position: relative; overflow: hidden; }
.pst-fact::after { content: ""; position: absolute; left: 1.15rem; bottom: 0; width: 2.25rem; height: 3px; background: #D41E44; border-radius: 3px 3px 0 0; }
.pst-fact > * { margin: 0 !important; }
.pst-fact__num { font-family: var(--wp--preset--font-family--platypi); font-weight: 800; font-size: 2.25rem; line-height: 1; color: #5B1BB5; letter-spacing: -.02em; }
.pst-fact__label { margin-top: .35rem !important; font-size: .9rem; color: #4F4863; font-weight: 600; line-height: 1.3; }

/* values (acrostic list from the old site) */
.pst-values { gap: .55rem !important; margin-top: .75rem !important; }
.pst-value { margin: 0 !important; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1.5px solid #E3DCEF; font-weight: 800; color: #2B0B57; font-size: .95rem; }
.pst-value::first-letter { color: #D41E44; font-size: 1.15em; }

/* details used as an expandable data panel */
.pst-details { margin-top: 1.25rem !important; }
.pst-details[open] > :not(summary) { margin-top: .75rem; }

/* PNRAS slogan */
.pst-slogan { background: linear-gradient(135deg, #2B0B57, #5B1BB5); color: #fff; border-radius: var(--pst-radius); padding: 1.5rem 1.6rem !important; position: relative; overflow: hidden; }
.pst-slogan::after { content: ""; position: absolute; right: -2.5rem; top: -2.5rem; width: 9rem; height: 9rem; border-radius: 50%; background: rgba(212, 30, 68, .45); }
.pst-slogan p { position: relative; z-index: 1; margin: 0; font-family: var(--wp--preset--font-family--platypi); font-size: 1.35rem; line-height: 1.35; font-weight: 700; }
.pst-slogan strong { color: #FFC2CC; }

/* big quote band (Acasă) */
.pst-quoteband { position: relative; overflow: hidden; }
.pst-bigquote { max-width: 52rem; margin: 0 auto !important; border: 0 !important; padding: 0 0 0 4.5rem !important; position: relative; }
.pst-bigquote::before { content: "„"; position: absolute; left: 0; top: -.6rem; font-family: var(--wp--preset--font-family--platypi); font-weight: 800; font-size: 6rem; line-height: 1; color: #D41E44; }
.pst-bigquote p { font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); line-height: 1.25; letter-spacing: -.015em; color: #2B0B57; margin: 0; }
.pst-bigquote cite { display: block; margin-top: .9rem; font-style: normal; font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #A8102F; }
@media (max-width: 600px) { .pst-bigquote { padding-left: 2.6rem !important; } .pst-bigquote::before { font-size: 4rem; top: -.3rem; } }

/* links that replace third-party embeds (Facebook, Cuget Liber) */
.pst-extlink { background: #fff; border: 1px solid #E3DCEF; border-left: 4px solid #5B1BB5; border-radius: var(--pst-radius-sm); padding: 1rem 1.15rem 1rem 3.2rem; position: relative; }
.pst-extlink::before { content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.4rem; height: 1.4rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pst-extlink a { font-weight: 700; overflow-wrap: anywhere; }

/* gallery page */
.pst-gallery-meta { margin-top: -.5rem !important; font-size: .9rem; color: #4F4863; font-weight: 600; }
.pst-cta-card { margin-top: var(--wp--preset--spacing--60) !important; text-align: left; border-left: 4px solid #D41E44 !important; }
.pst-cta-card h2 { margin-top: 0; }
.pst-content .pst-cards { margin-top: 1rem; }

/* section background: the crest's lavender */
.has-cream-background-color { background-color: #F4EEFB; }
.pst-vision { border-left-color: #D41E44 !important; font-weight: 700; }
.pst-vision cite { display: block; margin-top: .5rem; font-size: .8125rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #A8102F; font-family: var(--wp--preset--font-family--manrope); font-weight: 800; }

/* /activitati/: posts without a photo get a branded media area, so every card has the same rhythm */
.pst-query--media .pst-card-post:not(:has(.wp-block-post-featured-image))::after {
	content: ""; order: -1; display: block; aspect-ratio: 16 / 9; margin: -1.35rem -1.4rem .4rem; width: calc(100% + 2.8rem);
	background:
		url("assets/images/pestera-sigla-scolii.webp") center / 34% auto no-repeat,
		radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px,
		linear-gradient(135deg, #2B0B57, #5B1BB5 60%, #7A2FE0);
}
.pst-query--media .pst-card-post:not(:has(.wp-block-post-featured-image))::before { z-index: 1; }


/* ------------------------------------------------------------------ Peștera components */
/* headings: Platypi, a little softer than the body font */
h1, h2, h3, .wp-block-post-title { font-variation-settings: normal; }
.pst-section h2, .pst-content > h2 { font-weight: 650; }

/* news cards: coral rule on the left instead of a top bar; categories coloured by slug */
.pst-card-post::before { left: 0; top: 1.35rem; bottom: auto; right: auto; width: 4px; height: 2.4rem; border-radius: 0 4px 4px 0; background: #D41E44; }
.category-documente-scolare .pst-card-post::before { background: #5B1BB5; }
.category-inscriere .pst-card-post::before { background: #0E7490; }
.category-evaluare-nationala .pst-card-post::before { background: #3030B8; }
.category-concursuri .pst-card-post::before { background: #B4462F; }
.category-proiecte .pst-card-post::before { background: #8800F8; }
.pst-pill--documente-scolare { background: #F0E9FC; color: #4A1596; }
.pst-pill--inscriere { background: #E0F2F6; color: #0B5466; }
.pst-pill--evaluare-nationala { background: #E7E8FA; color: #2A2A9E; }
.pst-pill--concursuri { background: #F8E6E1; color: #8E3423; }
.pst-pill--proiecte { background: #FDECEF; color: #8E0F2A; }
.pst-pill--anunturi { background: #F0E9FC; color: #5B1BB5; }

/* network of schools (Acasă) */
.pst-network__img img { box-shadow: 0 22px 44px rgba(43, 11, 87, .18); }
.pst-villages { gap: 1rem !important; margin-top: var(--wp--preset--spacing--40) !important; }
.pst-village {
	position: relative; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius); padding: 1.3rem 1.3rem 1.2rem !important;
	box-shadow: 0 1px 2px rgba(43, 11, 87, .05); transition: transform .25s var(--pst-ease), box-shadow .25s var(--pst-ease);
}
.pst-village:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(43, 11, 87, .12); }
.pst-village > * { margin: 0 !important; }
.pst-village__label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #A8102F; }
.pst-village__name { margin-top: .1rem !important; font-size: 1.5rem !important; color: #2B0B57; }
.pst-village__units { list-style: none; padding: 0 !important; margin-top: .85rem !important; display: grid; gap: .6rem; }
.pst-village__units li { position: relative; padding: .55rem .7rem .55rem 2.3rem; border-radius: 12px; background: #FAF8FD; line-height: 1.3; font-size: .95rem; color: #2B0B57; }
.pst-village__units li::before {
	content: ""; position: absolute; left: .65rem; top: .7rem; width: 1.15rem; height: 1.15rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235B1BB5'%3E%3Cpath d='M12 3 2 8v2h20V8zM4 11v8H2v2h20v-2h-2v-8h-3v8h-3v-5h-4v5H7v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pst-unit__kind { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #4F4863; margin-bottom: .1rem; }
.pst-village--pj { background: linear-gradient(150deg, #2B0B57, #4A139A); border-color: transparent; color: #fff; }
.pst-village--pj .pst-village__label { color: #FFC2CC; }
.pst-village--pj .pst-village__name { color: #fff; }
.pst-village--pj .pst-village__units li { background: rgba(255, 255, 255, .1); color: #fff; }
.pst-village--pj .pst-village__units li::before { filter: brightness(0) invert(1); }
.pst-village--pj .pst-unit__kind { color: rgba(255, 255, 255, .78); }

/* history timeline (Acasă) */
.pst-timeline { gap: 1rem !important; position: relative; counter-reset: step; }
.pst-step { position: relative; padding: 1.4rem 1.2rem 1.2rem !important; background: #fff; border: 1px solid #E3DCEF; border-radius: var(--pst-radius); }
.pst-step > * { margin: 0 !important; }
.pst-step::before { content: ""; position: absolute; left: 1.2rem; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #D41E44; box-shadow: 0 0 0 5px #FAF8FD; }
.pst-step__year { font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: 1.9rem; line-height: 1.05; color: #5B1BB5; letter-spacing: -.01em; }
.pst-step__title { margin-top: .35rem !important; font-family: var(--wp--preset--font-family--manrope) !important; font-size: 1rem !important; font-weight: 800 !important; letter-spacing: 0 !important; color: #2B0B57; }
.pst-step__text { margin-top: .4rem !important; font-size: .92rem; line-height: 1.5; color: #4F4863; }
@media (min-width: 1100px) {
	.pst-timeline::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 2px; background: linear-gradient(90deg, #D41E44, #8800F8); opacity: .5; }
}
.pst-facts--home { margin-top: var(--wp--preset--spacing--50) !important; }
.pst-facts--home .pst-fact { background: linear-gradient(150deg, #2B0B57, #4A139A); border-color: transparent; }
.pst-facts--home .pst-fact__num { color: #fff; }
.pst-facts--home .pst-fact__label { color: rgba(255, 255, 255, .85); }
.pst-facts--home .pst-fact::after { background: #F83048; }
.pst-history__note { font-size: .875rem; color: #4F4863; margin-top: 1rem !important; }

/* motto band */
.pst-motto { text-align: center; background: #FAF8FD; border-top: 1px solid #E3DCEF; border-bottom: 1px solid #E3DCEF; position: relative; overflow: hidden; }
.pst-motto::before, .pst-motto::after { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; z-index: 0; }
.pst-motto::before { left: -6rem; top: -9rem; background: radial-gradient(circle, rgba(136, 0, 248, .12), rgba(136, 0, 248, 0) 70%); }
.pst-motto::after { right: -6rem; bottom: -9rem; background: radial-gradient(circle, rgba(248, 48, 72, .14), rgba(248, 48, 72, 0) 70%); }
.pst-motto > * { position: relative; z-index: 1; }
.pst-motto__label { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #A8102F; margin-top: 0 !important; margin-bottom: 0 !important; }
.pst-motto__words { gap: .5rem 2.5rem !important; margin-top: .6rem !important; }
.pst-motto__word { margin: 0 !important; font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: clamp(1.9rem, 1rem + 3vw, 3.4rem); line-height: 1.1; letter-spacing: -.015em; color: #2B0B57; }
.pst-motto__word:nth-child(2) { color: #5B1BB5; }
.pst-motto__word:nth-child(3) { color: #A8102F; }
.pst-motto__src { margin-top: .75rem !important; font-size: .875rem; color: #4F4863; }

/* PROSPER acrostic */
.pst-acro { gap: .5rem !important; }
.pst-acro__item { margin: 0 !important; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1.5px solid #E3DCEF; font-weight: 700; color: #2B0B57; }
.pst-acro__item strong { color: #D41E44; font-size: 1.15em; }

/* declarations list in two columns */
@media (min-width: 782px) { .pst-doclist--cols { columns: 2; column-gap: 2rem; } .pst-doclist--cols li { break-inside: avoid; } }

/* contact program tables */
.pst-table-program td:first-child { font-weight: 700; color: #2B0B57; width: 32%; background: #fff; }
.pst-table-program table { background: #fff; }

/* programme card art: violet / coral / indigo */
.pst-pcards > .pst-pcard:nth-child(2) .pst-pcard__art { background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(135deg, #7E0C26, #D41E44 70%, #F05A6E); }
.pst-pcards > .pst-pcard:nth-child(4) .pst-pcard__art { background: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(135deg, #1E1E7A, #3030B8 70%, #5A5AE0); }
.pst-pcards > .pst-pcard:nth-child(4) .pst-pcard__art::after { background: #F83048; }

.pst-pcard__img--contain { background: #0D1B45; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.pst-pcard__img--contain img { object-fit: contain !important; width: 100%; height: auto; }
.pst-motto__words { max-width: none !important; }
.pst-motto__word + .pst-motto__word::before { content: "·"; margin-right: 2.5rem; color: #E3DCEF; font-weight: 400; }
@media (max-width: 781px) { .pst-motto__word + .pst-motto__word::before { display: none; } .pst-motto__words { flex-direction: column; gap: .1rem !important; } }
.pst-content--home > .pst-news { padding-top: var(--wp--preset--spacing--50) !important; }
@media (max-width: 600px) { .pst-query--home .pst-cards > .wp-block-post:nth-child(n+4) { display: none; } }

@media (max-width: 600px) { .pst-pcard__art, .pst-pcard__img--contain { aspect-ratio: 2 / 1; } }

.pst-badge-img { margin-bottom: .25rem !important; }
.pst-badge-img img { width: 120px; height: auto; }
