/*
Theme Name: Lucian Blaga
Theme URI: https://lucian-blaga.ro/
Description: Temă copil Twenty Twenty-Five pentru Liceul Teoretic „Lucian Blaga” Constanța. Albastru ultramarin și lavandă din sigla liceului, cu accent acvamarin; fonturi găzduite local (Platypi, Ysabeau Office), fără resurse externe; texte, imagini, contacte și meniuri editabile din Editorul de site.
Author: Edd
Template: twentytwentyfive
Version: 1.0.2
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: lucianblaga
*/

/* ------------------------------------------------------------------ tokens (from the crest: ultramarine #002AE2, lavender ring #7890E8) */
:root {
	color-scheme: only light;
	--lb-ink: #10143A;
	--lb-muted: #4B5072;
	--lb-blue: #0B2FD9;
	--lb-indigo: #0E1650;
	--lb-night: #090E3A;
	--lb-soft: #E9EDFF;
	--lb-mist: #EEF1FF;
	--lb-lav: #8A9CF0;
	--lb-lav-light: #C9D2FF;
	--lb-aqua: #5EE2D3;
	--lb-aqua-dark: #0A7268;
	--lb-aqua-soft: #E3F8F5;
	--lb-border: #DCE0F2;
	--lb-radius: 20px;
	--lb-radius-sm: 12px;
	--lb-ease: cubic-bezier(.2, .7, .2, 1);
	--lb-shadow: 0 1px 2px rgba(14, 22, 80, .06), 0 8px 24px rgba(14, 22, 80, .08);
	--lb-shadow-lift: 0 2px 4px rgba(14, 22, 80, .08), 0 20px 44px rgba(14, 22, 80, .16);
	--lb-rings: repeating-radial-gradient(circle at center, transparent 0 46px, rgba(201, 210, 255, .16) 46px 48px);
}
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.lb-js.has-modal-open { scroll-padding-top: 0; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; font-feature-settings: "kern", "liga"; }
img { height: auto; }
::selection { background: var(--lb-aqua); color: var(--lb-ink); }
h1, h2, h3, h4 { text-wrap: balance; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, .wp-element-button:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--lb-blue); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(94, 226, 211, .55); border-radius: 6px;
}
.lb-band a:focus-visible, .lb-footer a:focus-visible, .lb-hero a:focus-visible, .lb-pagehead a:focus-visible, .lb-topbar a:focus-visible, .lb-mapcard a:focus-visible {
	outline-color: #fff; box-shadow: 0 0 0 6px rgba(94, 226, 211, .6);
}
.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 */
.lb-site-header, header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.lb-topbar p { margin: 0; }
.lb-topbar a { text-decoration: none; }
.lb-topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lb-topbar__info { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; }
.lb-topbar__links { display: flex; gap: 1.2rem; }
.lb-topbar__links a { color: var(--lb-lav-light) !important; font-weight: 600; }
.lb-ico::before { content: ""; display: inline-block; width: .95em; height: .95em; margin-right: .4em; vertical-align: -.12em; background: var(--lb-aqua); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.lb-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"); }
.lb-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"); }
.lb-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"); }

.lb-header { border-bottom: 1px solid rgba(14, 22, 80, .08); transition: padding .25s var(--lb-ease), box-shadow .25s var(--lb-ease); }
.lb-scrolled .lb-header { padding-top: .4rem !important; padding-bottom: .4rem !important; box-shadow: 0 10px 28px rgba(14, 22, 80, .10); }
.lb-brand { min-width: 0; }
/* crest: the image is already a centred badge on white with an even margin (tools/clean_logo.py), so the frame
   is only white + a hairline ring; aspect-ratio keeps a perfect circle in the header, scrolled header and footer */
.lb-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(11, 47, 217, .16), 0 3px 10px rgba(14, 22, 80, .10);
	transition: width .25s var(--lb-ease), height .25s var(--lb-ease);
}
.lb-scrolled .lb-header .lb-brand__logo img { width: 46px !important; height: 46px !important; }
.lb-brand__text { min-width: 0; }
.lb-brand .wp-block-site-title { margin: 0; max-width: 17rem; text-wrap: balance; }
.lb-brand .wp-block-site-title a { color: var(--lb-indigo); }
.lb-brand__motto { margin: 0 !important; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-aqua-dark); font-weight: 700; }
.lb-scrolled .lb-header .lb-brand__motto { display: none; }

.lb-nav .wp-block-navigation-item__content { padding: .55rem .72rem; border-radius: 999px; transition: background-color .2s, color .2s; color: var(--lb-ink); }
.lb-nav .wp-block-navigation-item__content:hover,
.lb-nav .current-menu-item > .wp-block-navigation-item__content { background: var(--lb-soft); color: var(--lb-blue); }
/* desktop dropdowns: white card, soft shadow, roomy items, aqua hover marker (only outside the mobile overlay) */
.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	background: #fff !important; border: 1px solid var(--lb-border) !important; border-radius: 18px; padding: .5rem !important; min-width: 18rem !important;
	box-shadow: 0 2px 6px rgba(14, 22, 80, .06), 0 24px 52px rgba(14, 22, 80, .18); margin-top: .35rem;
}
.lb-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; }
.lb-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: 12px; padding: .7rem 1rem; font-weight: 650; color: var(--lb-indigo); text-decoration: none;
}
.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--lb-mist); color: var(--lb-blue); box-shadow: inset 3px 0 0 var(--lb-aqua-dark);
}
@media (prefers-reduced-motion: no-preference) {
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child .wp-block-navigation__submenu-container { transition: opacity .18s ease, transform .18s var(--lb-ease), visibility .18s; transform: translateY(6px); }
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:hover > .wp-block-navigation__submenu-container,
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child:focus-within > .wp-block-navigation__submenu-container,
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .has-child [aria-expanded="true"] ~ .wp-block-navigation__submenu-container { transform: none; }
}
.lb-nav .lb-nav__cta > .wp-block-navigation-item__content { background: var(--lb-blue); color: #fff; margin-left: .35rem; padding-left: 1.15rem; padding-right: 1.15rem; }
.lb-nav .lb-nav__cta > .wp-block-navigation-item__content:hover { background: var(--lb-indigo); color: #fff; }
/* search: magnifier icon on desktop, normal row in the mobile overlay */
.lb-nav .lb-nav__search > .wp-block-navigation-item__content::before {
	content: ""; display: inline-block; width: 1.05rem; height: 1.05rem; margin-right: .4rem; vertical-align: -.15em; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3a7 7 0 0 1 5.6 11.2l5.1 5.1-1.4 1.4-5.1-5.1A7 7 0 1 1 10 3zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3a7 7 0 0 1 5.6 11.2l5.1 5.1-1.4 1.4-5.1-5.1A7 7 0 1 1 10 3zm0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lb-nav .lb-nav__extra { display: none !important; }
@media (max-width: 1240px) {
	.lb-brand .wp-block-site-title { max-width: 13rem; font-size: 1rem; }
	.lb-nav .wp-block-navigation-item__content { padding: .5rem .5rem; }
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .lb-nav__search > .wp-block-navigation-item__content { font-size: 0; padding: .55rem .65rem; }
	.lb-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .lb-nav__search > .wp-block-navigation-item__content::before { font-size: 1rem; margin-right: 0; width: 1.15rem; height: 1.15rem; }
}
@media (max-width: 781px) {
	.lb-topbar__info .lb-ico--pin, .lb-topbar__links { display: none !important; }
	.lb-brand .wp-block-site-title { max-width: 12.5rem; font-size: .95rem; }
	.lb-brand__logo img { width: 50px !important; height: 50px !important; }
	.lb-brand__motto { font-size: .68rem; }
}

/* ------------------------------------------------------------------ typography helpers */
.is-style-lb-kicker {
	font-size: .8125rem !important; font-weight: 800; font-family: var(--wp--preset--font-family--ysabeau); letter-spacing: .16em; text-transform: uppercase; color: var(--lb-aqua-dark); margin-bottom: .25rem !important;
	display: inline-flex; align-items: center; gap: .6rem;
}
.is-style-lb-kicker::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid currentColor; box-shadow: 0 0 0 3px rgba(94, 226, 211, .25); flex: none; }
.has-base-2-color .is-style-lb-kicker, .lb-band .is-style-lb-kicker, .lb-hero .is-style-lb-kicker, .lb-pagehead .is-style-lb-kicker { color: var(--lb-aqua); }
.is-style-lb-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--lb-muted); }
.lb-pagehead .is-style-lb-lead, .lb-hero .is-style-lb-lead, .lb-band .is-style-lb-lead { color: rgba(255, 255, 255, .9); }
.lb-note { font-size: var(--wp--preset--font-size--small); color: var(--lb-muted); border-left: 3px solid var(--lb-lav); padding-left: .9rem; }
.lb-more { font-weight: 700; margin-top: .4rem !important; }
.lb-more a { text-decoration: none; }
.lb-more a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ buttons */
.wp-element-button, .wp-block-button__link { transition: background-color .2s, color .2s, transform .2s var(--lb-ease), box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(14, 22, 80, .2); }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; color: var(--lb-blue); background: transparent; padding: calc(.8rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--lb-blue); color: #fff; border-color: var(--lb-blue); }
.wp-block-button.is-style-lb-accent > .wp-block-button__link { background: var(--lb-aqua); color: var(--lb-ink); }
.wp-block-button.is-style-lb-accent > .wp-block-button__link:hover { background: #8BEDE2; color: var(--lb-ink); box-shadow: 0 10px 24px rgba(94, 226, 211, .35); }
.wp-block-button.is-style-lb-light > .wp-block-button__link { background: #fff; color: var(--lb-indigo); }
.wp-block-button.is-style-lb-light > .wp-block-button__link:hover { background: var(--lb-aqua); color: var(--lb-ink); }
.wp-block-button.is-style-lb-ghost > .wp-block-button__link { background: rgba(255, 255, 255, .06); color: #fff; border: 2px solid rgba(255, 255, 255, .7); padding: calc(.8rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-lb-ghost > .wp-block-button__link:hover { background: #fff; color: var(--lb-indigo); border-color: #fff; }

/* ------------------------------------------------------------------ page head band (ring motif from the crest) */
.lb-pagehead { position: relative; overflow: hidden; isolation: isolate; }
.lb-pagehead::after {
	content: ""; position: absolute; z-index: -1; right: -9rem; top: 50%; width: 30rem; height: 30rem; margin-top: -15rem; border-radius: 50%;
	background: var(--lb-rings); border: 2px solid rgba(201, 210, 255, .25);
}
.lb-pagehead::before { content: ""; position: absolute; z-index: -1; right: 4rem; top: -3rem; width: 9rem; height: 9rem; border-radius: 50%; background: radial-gradient(circle, rgba(94, 226, 211, .28), rgba(94, 226, 211, 0) 70%); }
.lb-pagehead h1, .lb-pagehead .wp-block-post-title, .lb-pagehead .wp-block-query-title { color: #fff; max-width: 24ch; margin-top: .35rem; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
.lb-pagehead .lb-single-title { max-width: 32ch; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); overflow-wrap: anywhere; }
.lb-pagehead .wp-block-post-date { color: rgba(255, 255, 255, .85); }
.lb-pagehead .is-style-lb-kicker a { color: inherit; text-decoration: none; }
.lb-meta { gap: .75rem 1rem; }

/* ------------------------------------------------------------------ hero: text + arched building photo, crest and a fact badge */
.lb-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.lb-hero::before {
	content: ""; position: absolute; z-index: -1; right: -14rem; top: 50%; width: 52rem; height: 52rem; margin-top: -24rem; border-radius: 50%;
	background: var(--lb-rings), radial-gradient(circle, rgba(138, 156, 240, .22), rgba(138, 156, 240, 0) 62%);
}
.lb-hero::after { content: ""; position: absolute; z-index: -1; left: -8rem; bottom: -10rem; width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(94, 226, 211, .22), rgba(94, 226, 211, 0) 66%); }
.lb-hero__cols { margin-bottom: 0 !important; }
.lb-hero__text > * { max-width: 41rem; }
.lb-hero__title { color: #fff !important; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.35rem) !important; font-weight: 650 !important; line-height: 1.03 !important; letter-spacing: -.02em !important; margin-top: .45rem !important; }
.lb-hero__name { display: block; color: var(--lb-aqua); font-style: italic; font-weight: 700; }
.lb-hero__lead { font-size: clamp(1.125rem, 1rem + .45vw, 1.35rem) !important; max-width: 36rem; color: rgba(255, 255, 255, .9) !important; }
.lb-hero__actions { margin-top: 1.75rem !important; gap: .75rem; }
.lb-hero__vision { margin-top: 1.9rem !important; padding: .9rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(201, 210, 255, .22); font-size: 1.02rem; color: rgba(255, 255, 255, .92); max-width: 34rem !important; }
.lb-hero__vision strong { font-family: var(--wp--preset--font-family--platypi); font-weight: 600; color: #fff; font-style: italic; }
.lb-hero__vision span { display: block; margin-top: .3rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lb-aqua); font-weight: 800; }
.lb-hero__visual { position: relative; max-width: 30rem; margin-left: auto !important; padding: 0 0 1.5rem 2.5rem; }
.lb-hero__visual > * { margin: 0 !important; }
.lb-hero__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 240px 240px 28px 28px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .08), 0 34px 70px rgba(4, 8, 40, .55); }
.lb-hero__crest {
	position: absolute; z-index: 3; left: 0; bottom: 0; width: 128px; height: 128px; border-radius: 50%; background: #fff; padding: 7px !important;
	box-shadow: 0 0 0 8px rgba(255, 255, 255, .16), 0 20px 44px rgba(4, 8, 40, .5);
}
.lb-hero__crest .wp-block-image, .lb-hero__crest figure { margin: 0 !important; }
.lb-hero__crest img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.lb-hero__badge { position: absolute; z-index: 3; right: -1rem; top: 2.2rem; max-width: 12.5rem; background: #fff; color: var(--lb-ink); border-radius: 18px; padding: .9rem 1.05rem !important; box-shadow: 0 22px 46px rgba(4, 8, 40, .4); }
.lb-hero__badge-text { margin: 0 !important; font-size: .9rem; line-height: 1.3; font-weight: 600; color: var(--lb-muted); }
.lb-hero__badge-text strong { display: block; font-family: var(--wp--preset--font-family--platypi); font-size: 2.2rem; line-height: 1; color: var(--lb-blue); font-weight: 700; margin-bottom: .2rem; }
@media (prefers-reduced-motion: no-preference) {
	.lb-hero__kicker, .lb-hero__title, .lb-hero__lead, .lb-hero__actions, .lb-hero__vision { animation: lb-rise .9s var(--lb-ease) both; }
	.lb-hero__title { animation-delay: .08s; }
	.lb-hero__lead { animation-delay: .16s; }
	.lb-hero__actions { animation-delay: .24s; }
	.lb-hero__vision { animation-delay: .32s; }
	.lb-hero__photo { animation: lb-pop 1s .1s var(--lb-ease) both; }
	.lb-hero__crest { animation: lb-crest 1s .45s var(--lb-ease) both; }
	.lb-hero__badge { animation: lb-pop .9s .6s var(--lb-ease) both; }
	.lb-hero::before { animation: lb-spin 90s linear infinite; }
}
@keyframes lb-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lb-pop { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes lb-crest { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes lb-spin { to { transform: rotate(360deg); } }
@media (max-width: 781px) {
	.lb-hero__media { order: 2; }
	.lb-hero__visual { max-width: 22rem; margin: 2rem auto 0 !important; padding: 0 0 1rem 1.25rem; }
	.lb-hero__photo img { border-radius: 180px 180px 22px 22px; aspect-ratio: 4 / 4.4 !important; }
	.lb-hero__crest { width: 92px; height: 92px; padding: 5px !important; }
	.lb-hero__badge { right: -.25rem; top: 1rem; max-width: 10rem; padding: .7rem .8rem !important; }
	.lb-hero__badge-text { font-size: .8rem; }
	.lb-hero__badge-text strong { font-size: 1.7rem; }
	.lb-hero::before { right: -24rem; top: 30%; }
}

/* ------------------------------------------------------------------ quick access tiles */
.lb-quick { margin-top: -4rem !important; position: relative; z-index: 3; }
.lb-tiles { gap: 1rem !important; }
.is-style-lb-tile {
	position: relative; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); padding: 1.25rem 1.25rem 1.2rem 4.7rem !important;
	box-shadow: var(--lb-shadow); transition: transform .25s var(--lb-ease), box-shadow .25s var(--lb-ease), border-color .25s; min-height: 6.4rem;
}
.is-style-lb-tile::before {
	content: ""; position: absolute; left: 1.15rem; top: 1.3rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
	background: var(--lb-soft) var(--ico) center / 1.3rem no-repeat; box-shadow: inset 0 0 0 1px rgba(11, 47, 217, .12); transition: background-color .25s;
}
.is-style-lb-tile:hover, .is-style-lb-tile:focus-within { transform: translateY(-4px); box-shadow: var(--lb-shadow-lift); border-color: var(--lb-aqua-dark); }
.is-style-lb-tile:hover::before, .is-style-lb-tile:focus-within::before { background-color: var(--lb-aqua-soft); }
.lb-tile__title { margin: 0 0 .2rem !important; font-family: var(--wp--preset--font-family--ysabeau) !important; font-size: 1.125rem !important; font-weight: 800 !important; letter-spacing: 0 !important; line-height: 1.25 !important; }
.lb-tile__title a { color: var(--lb-indigo); text-decoration: none; }
.lb-tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--lb-radius); }
.lb-tile__title a:focus-visible { outline: none; box-shadow: none; }
.is-style-lb-tile:has(a:focus-visible) { outline: 3px solid var(--lb-blue); outline-offset: 3px; }
.lb-tile__text { margin: 0 !important; font-size: .95rem; color: var(--lb-muted); line-height: 1.4; overflow-wrap: anywhere; }
.lb-ico-news { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
.lb-ico-cap { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
.lb-ico-exam { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
.lb-ico-gavel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%3E%3Cpath d='M2 21h12v2H2zM5.2 8.1l2.8-2.8 11.3 11.3-2.8 2.8zM9.4 3.9 12.2 1l5.7 5.7-2.9 2.8zM3.8 9.5 6.6 6.7l5.7 5.6-2.9 2.9z'/%3E%3C/svg%3E"); }
.lb-ico-doc { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
.lb-ico-family { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%3E%3Cpath d='M8 3a3 3 0 1 1 0 6 3 3 0 0 1 0-6zm9 2a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM2 20v-3a5 5 0 0 1 5-5h2a5 5 0 0 1 5 5v3zm13 0v-3c0-1.2-.3-2.3-.9-3.3A4 4 0 0 1 22 17v3z'/%3E%3C/svg%3E"); }
.lb-ico-star { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
.lb-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230B2FD9'%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"); }
@media (max-width: 600px) {
	.lb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
	.is-style-lb-tile { padding: 1rem .9rem 1rem !important; min-height: 0; }
	.is-style-lb-tile::before { position: static; display: block; margin-bottom: .6rem; width: 2.3rem; height: 2.3rem; }
	.lb-tile__title { font-size: 1.02rem !important; }
	.lb-tile__text { font-size: .875rem; }
	.lb-quick { margin-top: -3rem !important; }
	.lb-content--home > .lb-quick { margin-block-start: -3rem !important; }
}

/* ------------------------------------------------------------------ figures band */
.lb-stats { gap: 0 !important; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); box-shadow: var(--lb-shadow); overflow: hidden; }
.lb-stat { padding: 1.4rem 1.5rem !important; position: relative; }
.lb-stat + .lb-stat { border-left: 1px solid var(--lb-border); }
.lb-stat > * { margin: 0 !important; }
.lb-stat__num { font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1; color: var(--lb-blue); letter-spacing: -.02em; }
.lb-stat__label { margin-top: .45rem !important; font-size: .98rem; color: var(--lb-muted); font-weight: 600; line-height: 1.35; }
.lb-stats__note { margin-top: .6rem !important; font-size: .875rem; color: var(--lb-muted); }
@media (max-width: 781px) { .lb-stat + .lb-stat { border-left: 0; border-top: 1px solid var(--lb-border); } .lb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .lb-stat:nth-child(2) { border-top: 0; border-left: 1px solid var(--lb-border); } .lb-stat:nth-child(4) { border-left: 1px solid var(--lb-border); } }

/* ------------------------------------------------------------------ sections */
.lb-sechead { margin-bottom: var(--wp--preset--spacing--40) !important; gap: 1rem; }
.lb-sechead h2 { margin-top: 0 !important; }

/* news cards */
.lb-cards { gap: 1.25rem !important; }
.lb-cards > .wp-block-post { display: flex; }
.lb-card-post {
	position: relative; width: 100%; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); padding: 1.35rem 1.4rem 1.4rem !important;
	box-shadow: 0 1px 2px rgba(14, 22, 80, .05); transition: transform .25s var(--lb-ease), box-shadow .25s var(--lb-ease), border-color .25s; overflow: hidden;
}
.lb-card-post::before { content: ""; position: absolute; left: 1.4rem; top: 0; width: 3rem; height: 4px; border-radius: 0 0 4px 4px; background: var(--lb-blue); transition: width .3s var(--lb-ease); }
.lb-card-post:hover::before { width: calc(100% - 2.8rem); }
.category-hotarari-consiliul-de-administratie .lb-card-post::before { background: #5A3FD6; }
.category-activitati .lb-card-post::before, .category-concursuri-si-olimpiade .lb-card-post::before { background: var(--lb-aqua-dark); }
.category-admitere .lb-card-post::before { background: #1E88E5; }
.category-bacalaureat .lb-card-post::before, .category-evaluare-nationala .lb-card-post::before { background: #C2410C; }
.category-informatii-publice .lb-card-post::before, .category-transparenta-bugetara .lb-card-post::before { background: var(--lb-indigo); }
.category-personal .lb-card-post::before { background: #8A9CF0; }
.lb-card-post:hover, .lb-card-post:focus-within { transform: translateY(-4px); box-shadow: var(--lb-shadow-lift); border-color: #BFC7EA; }
.lb-card-post__img { margin: -1.35rem -1.4rem .4rem !important; max-width: none !important; width: calc(100% + 2.8rem) !important; }
.lb-card-post__title { margin: .15rem 0 0 !important; font-size: 1.25rem !important; line-height: 1.28 !important; overflow-wrap: anywhere; hyphens: auto; }
.lb-card-post__title a { color: var(--lb-indigo); }
.lb-card-post__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lb-card-post__title a:focus-visible { outline: none; box-shadow: none; }
.lb-card-post:has(.lb-card-post__title a:focus-visible) { outline: 3px solid var(--lb-blue); outline-offset: 3px; }
.lb-card-post__date { margin: 0 !important; font-weight: 700; }
.lb-card-post__excerpt { margin: 0 !important; color: var(--lb-muted); font-size: 1rem; overflow-wrap: anywhere; }
.lb-card-post__excerpt p, .lb-card-post__excerpt .wp-block-post-excerpt__excerpt { margin: 0; overflow-wrap: anywhere; word-break: break-word; }

/* category pills */
.lb-pills { display: flex; flex-wrap: wrap; gap: .4rem; position: relative; z-index: 2; font-size: .8125rem; }
.lb-pills .wp-block-post-terms__separator { display: none; }
.lb-pills a, .lb-pill { display: inline-block; padding: .26rem .72rem; border-radius: 999px; background: var(--lb-soft); color: var(--lb-blue); font-weight: 700; text-decoration: none; letter-spacing: .01em; line-height: 1.3; }
.lb-pills a:hover { background: var(--lb-blue); color: #fff; }
.lb-pill--hotarari-consiliul-de-administratie { background: #EEEAFD; color: #4527B8; }
.lb-pill--activitati, .lb-pill--concursuri-si-olimpiade { background: var(--lb-aqua-soft); color: #075A52; }
.lb-pill--admitere { background: #E3F0FC; color: #12589B; }
.lb-pill--bacalaureat, .lb-pill--evaluare-nationala { background: #FDEDE4; color: #9A3409; }
.lb-pill--informatii-publice, .lb-pill--transparenta-bugetara { background: #E8E9F4; color: var(--lb-indigo); }
.lb-pagehead .lb-pills a { background: rgba(255, 255, 255, .14); color: #fff; }
.lb-pagehead .lb-pills a:hover { background: #fff; color: var(--lb-indigo); }

/* category links (server-side filter, works without JS) + search */
.lb-filterbar { margin-bottom: 1rem !important; gap: .5rem 1rem; }
.lb-filterbar__label { margin: 0 !important; font-weight: 800; font-size: .9375rem; color: var(--lb-muted); }
.lb-filter, .lb-filter ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 !important; margin: 0 !important; }
.lb-filter li { margin: 0; color: var(--lb-muted); font-size: .8125rem; }
.lb-filter a {
	display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--lb-border); background: #fff; color: var(--lb-blue); text-decoration: none; font-weight: 700; font-size: .9375rem;
	transition: background-color .2s, color .2s, border-color .2s;
}
.lb-filter a:hover { border-color: var(--lb-blue); }
.lb-filter .current-cat > a, .lb-filter a[aria-current] { background: var(--lb-blue); border-color: var(--lb-blue); color: #fff; }
.lb-search--inline { margin-bottom: var(--wp--preset--spacing--40) !important; }
.lb-pagination { margin-top: var(--wp--preset--spacing--50) !important; gap: .4rem; font-weight: 700; flex-wrap: wrap; }
.lb-pagination a, .lb-pagination .current, .lb-pagination .dots { padding: .5rem .9rem; border-radius: 999px; text-decoration: none; }
.lb-pagination a { background: #fff; border: 1px solid var(--lb-border); }
.lb-pagination a:hover { border-color: var(--lb-blue); }
.lb-pagination .current { background: var(--lb-blue); color: #fff; }

/* about */
.lb-about__media { position: relative; }
.is-style-lb-rounded img { border-radius: var(--lb-radius); }
.lb-about__media > .wp-block-image { position: relative; z-index: 1; }
.lb-about__img img { border-radius: 28px 140px 28px 28px; }
.lb-quote-card {
	position: absolute; z-index: 2; right: -1rem; bottom: -1.75rem; max-width: 19rem; background: var(--lb-indigo); color: #fff; padding: 1.15rem 1.35rem !important; border-radius: 16px;
	box-shadow: 0 20px 44px rgba(14, 22, 80, .32); font-family: var(--wp--preset--font-family--platypi); font-size: 1.15rem; line-height: 1.35;
}
.lb-quote-card p { margin: 0; }
.lb-quote-card strong { font-weight: 600; font-style: italic; }
.lb-quote-card__by { font-family: var(--wp--preset--font-family--ysabeau); font-size: .75rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-aqua); margin-top: .45rem !important; font-weight: 800; }
@media (max-width: 781px) {
	/* below the photo, never on top of it */
	.lb-quote-card { position: relative; right: auto; bottom: auto; max-width: none; margin: 1rem 0 0 !important; box-shadow: 0 10px 28px rgba(14, 22, 80, .18); }
	.lb-about__img img { border-radius: 22px 90px 22px 22px; }
}
.is-style-lb-checks { list-style: none; padding-left: 0 !important; }
.is-style-lb-checks li { position: relative; padding-left: 2.05rem; margin-bottom: .55rem; }
.is-style-lb-checks li::before {
	content: ""; position: absolute; left: 0; top: .22rem; width: 1.35rem; height: 1.35rem; border-radius: 50%;
	background: var(--lb-aqua-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230A7268'%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;
}
@media (min-width: 782px) { .lb-cols-2 { columns: 2; column-gap: 2rem; } .lb-cols-2 li { break-inside: avoid; } }

/* indigo band (admission) */
.lb-band { position: relative; overflow: hidden; isolation: isolate; }
.lb-band::before { content: ""; position: absolute; z-index: -1; left: -12rem; top: 50%; width: 36rem; height: 36rem; margin-top: -18rem; border-radius: 50%; background: var(--lb-rings); }
.lb-band h2 { color: #fff; }
.lb-admband__card { background: #fff; color: var(--lb-ink); border-radius: var(--lb-radius); padding: 1.2rem 1.3rem 1rem !important; box-shadow: 0 28px 60px rgba(4, 8, 40, .45); }
.lb-admband__card .wp-block-table { margin: 0; }
.lb-admband__note { font-size: .9rem; color: var(--lb-muted); margin: .75rem 0 0 !important; }

/* tables */
.lb-table table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 1rem; }
.lb-table thead th { background: var(--lb-indigo); color: #fff; font-weight: 700; text-align: left; padding: .7rem .8rem; border: 0; }
.lb-table thead th:first-child { border-top-left-radius: 12px; }
.lb-table thead th:last-child { border-top-right-radius: 12px; }
.lb-table td { padding: .65rem .8rem; border: 0; border-bottom: 1px solid var(--lb-border); background: #fff; }
.lb-table tbody tr:nth-child(even) td { background: var(--lb-mist); }
.lb-table--medii td:nth-child(n+3), .lb-table--medii th:nth-child(n+3) { text-align: center; white-space: nowrap; }
.lb-table--medii td:last-child { font-weight: 800; color: var(--lb-blue); }
.lb-table--medii { overflow-x: auto; }
/* table cells: never split words letter by letter (overflow-wrap:anywhere shrinks min-content); hyphenate instead, scroll if still too wide */
.lb-table th, .lb-table td, .lb-content .wp-block-table td, .lb-content .wp-block-table th { overflow-wrap: break-word; word-break: normal; hyphens: auto; }
.lb-table { overflow-x: auto; }
@media (max-width: 600px) { .lb-table table { font-size: .875rem; } .lb-table thead th, .lb-table td { padding: .5rem .45rem; } .lb-admband__card { padding: .9rem .8rem .8rem !important; } }
.lb-table--years td:nth-child(n+2), .lb-table--years th:nth-child(n+2) { text-align: center; }

/* document lists */
.is-style-lb-doclist { list-style: none; padding: 0 !important; margin-top: .5rem; border-top: 1px solid var(--lb-border); }
.is-style-lb-doclist li { position: relative; padding: .85rem .5rem .85rem 2.6rem; border-bottom: 1px solid var(--lb-border); transition: background-color .2s; }
.is-style-lb-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='%230B2FD9'%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-lb-doclist li:hover { background: #fff; }
.is-style-lb-doclist a:first-child { font-weight: 700; text-decoration: none; color: var(--lb-indigo); overflow-wrap: anywhere; }
.is-style-lb-doclist a:first-child:hover { text-decoration: underline; color: var(--lb-blue); }
.lb-doc__meta { display: inline-block; margin-left: .35rem; font-size: .8125rem; font-weight: 700; color: var(--lb-muted); background: var(--lb-soft); padding: .08rem .55rem; border-radius: 999px; white-space: nowrap; }
.lb-toc-wrap { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius-sm); padding: 1rem 1.25rem !important; }
.lb-toc { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0 !important; margin: 0; font-weight: 700; font-size: 1rem; }
.lb-pills-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.lb-pills-list a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--lb-border); text-decoration: none; font-weight: 700; }
.lb-pills-list a:hover { border-color: var(--lb-blue); }

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

/* contact + map card (no third-party embeds) */
.lb-contact-list { list-style: none; padding: 0 !important; }
.lb-contact-list li { padding: .6rem 0; border-bottom: 1px solid var(--lb-border); overflow-wrap: anywhere; }
.lb-mapcard {
	position: relative; border-radius: var(--lb-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% - 3rem) 3rem, var(--lb-aqua) 0 .55rem, rgba(94, 226, 211, .35) .6rem 1.4rem, transparent 1.45rem),
		repeating-radial-gradient(circle at calc(100% - 3rem) 3rem, transparent 0 38px, rgba(201, 210, 255, .14) 38px 40px),
		linear-gradient(135deg, #0E1650, #13238F 60%, #0B2FD9);
	box-shadow: 0 20px 44px rgba(14, 22, 80, .22);
}
.lb-mapcard > * { margin: 0 !important; }
.lb-mapcard__title { font-family: var(--wp--preset--font-family--platypi); font-size: 1.45rem; font-weight: 650; padding-right: 3rem; }
.lb-mapcard__addr { opacity: .92; margin-bottom: 1rem !important; }
.lb-mapcard__note { font-size: .82rem; opacity: .85; margin-top: .9rem !important; }

/* page content */
.lb-content > h2 { margin-top: var(--wp--preset--spacing--50); }
.lb-content > h2:first-child { margin-top: 0; }
.lb-content .wp-block-image img { border-radius: var(--lb-radius-sm); }
.lb-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius-sm); padding: 1rem 1.15rem; transition: border-color .2s, box-shadow .2s; }
.lb-content .wp-block-file:hover { border-color: #BFC7EA; box-shadow: var(--lb-shadow); }
.lb-content .wp-block-file > a:first-child { font-weight: 700; overflow-wrap: anywhere; flex: 1 1 14rem; padding-left: 2rem; position: relative; color: var(--lb-indigo); }
.lb-content .wp-block-file > a:first-child::before { content: ""; position: absolute; left: 0; top: .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='%230B2FD9'%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; }
.lb-content .wp-block-file .wp-block-file__button { margin-left: 0; padding: .55rem 1.15rem; border-radius: 999px; background: var(--lb-blue); color: #fff; font-size: .9375rem; }
.lb-content .wp-block-file .wp-block-file__button:hover { background: var(--lb-indigo); }
.lb-content .wp-block-table td { border-color: var(--lb-border); }
.lb-content .wp-block-table { overflow-x: auto; }
.lb-table-ident td:first-child { font-weight: 700; color: var(--lb-indigo); width: 38%; background: #fff; }
.lb-content p, .lb-content li { overflow-wrap: break-word; }
.lb-content .wp-block-video video { display: block; width: auto; max-width: 100%; max-height: min(80vh, 760px); margin-inline: auto; border-radius: var(--lb-radius-sm); background: var(--lb-indigo); }
.lb-content .wp-block-audio audio { width: 100%; }
.lb-vision { border-left: 4px solid var(--lb-aqua-dark) !important; padding: .5rem 0 .5rem 1.25rem !important; font-family: var(--wp--preset--font-family--platypi); font-size: 1.6rem; color: var(--lb-indigo); font-style: italic; }
.lb-vision p { margin: 0; }
.lb-vision cite { display: block; margin-top: .5rem; font-size: .8125rem; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-aqua-dark); font-family: var(--wp--preset--font-family--ysabeau); font-weight: 800; }
.is-style-lb-card { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius); padding: 1.35rem 1.4rem !important; box-shadow: 0 1px 2px rgba(14, 22, 80, .05); }
.lb-gallery img { border-radius: 12px; }
.lb-single-img { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.lb-single-img img { border-radius: var(--lb-radius); }
.lb-postnav { border-top: 1px solid var(--lb-border); padding-top: 1.25rem; gap: 1rem; max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.lb-main > .wp-block-buttons { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.lb-search { max-width: 36rem; }
.lb-search .wp-block-search__input { border-radius: 999px 0 0 999px; border: 1.5px solid var(--lb-border); padding: .7rem 1.1rem; font-size: 1rem; }
.lb-search .wp-block-search__button { border-radius: 0 999px 999px 0; margin-left: 0; }
.lb-pagehead .lb-search .wp-block-search__input { border-color: transparent; }
.lb-pagehead .lb-search .wp-block-search__button { background: var(--lb-aqua); color: var(--lb-ink); }

/* galleries: strict, even grid */
.lb-gallery.wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem !important; }
.lb-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; }
.lb-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
@media (max-width: 600px) { .lb-gallery.wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lb-cta-card { margin-top: var(--wp--preset--spacing--60) !important; border-left: 4px solid var(--lb-aqua-dark) !important; }
.lb-cta-card h2 { margin-top: 0; }
.lb-content .lb-cards { margin-top: 1rem; }
.lb-details { margin-top: 1.25rem !important; }
.lb-details[open] > :not(summary) { margin-top: .75rem; }

/* links that replace third-party embeds (Facebook, news sites) */
.lb-extlink { background: #fff; border: 1px solid var(--lb-border); border-left: 4px solid var(--lb-blue); border-radius: var(--lb-radius-sm); padding: 1rem 1.15rem 1rem 3.2rem; position: relative; }
.lb-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='%230B2FD9'%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; }
.lb-extlink a { font-weight: 700; overflow-wrap: anywhere; }

/* structures (Contact, Despre noi) */
.lb-structs { gap: .9rem !important; margin-top: 1rem !important; }
.lb-struct { position: relative; background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius-sm); padding: 1.05rem 1.15rem 1.05rem 1.35rem !important; box-shadow: 0 1px 2px rgba(14, 22, 80, .05); overflow: hidden; }
.lb-struct::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lb-aqua-dark); }
.lb-struct > * { margin: 0 !important; }
.lb-struct__kind { font-size: .75rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-aqua-dark); }
.lb-struct__name { margin-top: .3rem !important; color: var(--lb-indigo); font-size: 1.125rem; line-height: 1.35; }
.lb-struct__place { margin-top: .3rem !important; font-size: .9375rem; color: var(--lb-muted); }
.lb-struct--pj { background: linear-gradient(135deg, #0E1650, #13238F 70%, #0B2FD9); border-color: transparent; }
.lb-struct--pj::before { background: var(--lb-aqua); }
.lb-struct--pj .lb-struct__kind { color: var(--lb-aqua); }
.lb-struct--pj .lb-struct__name, .lb-struct--pj .lb-struct__name strong { color: #fff; }
.lb-struct--pj .lb-struct__place { color: rgba(255, 255, 255, .85); }
.lb-struct--none { background: var(--lb-mist); }

/* „Vă așteptăm la liceu!” (Contact) */
.lb-welcome { position: relative; background: var(--lb-aqua-soft); border: 1px solid #BFEDE7; border-left: 4px solid var(--lb-aqua-dark); border-radius: var(--lb-radius); padding: 1.35rem 1.5rem 1.35rem 4.7rem !important; margin-top: 1.5rem !important; }
.lb-welcome::before {
	content: ""; position: absolute; left: 1.25rem; top: 1.35rem; width: 2.6rem; height: 2.6rem; border-radius: 50%;
	background: var(--lb-indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235EE2D3'%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;
}
.lb-welcome > * { margin: 0 !important; }
.lb-welcome__title { font-family: var(--wp--preset--font-family--platypi); font-size: 1.55rem; font-weight: 650; color: var(--lb-indigo); line-height: 1.25; }
.lb-welcome__text { margin-top: .4rem !important; color: #22284F; }
@media (max-width: 600px) { .lb-welcome { padding: 1.2rem 1.15rem !important; } .lb-welcome::before { position: static; display: block; margin-bottom: .7rem; } }

/* resource facts (Despre noi) */
.lb-facts { gap: .9rem !important; margin-top: 1rem !important; }
.lb-fact { background: #fff; border: 1px solid var(--lb-border); border-radius: var(--lb-radius-sm); padding: 1.1rem 1.15rem !important; position: relative; overflow: hidden; }
.lb-fact::after { content: ""; position: absolute; right: -1.2rem; top: -1.2rem; width: 4rem; height: 4rem; border-radius: 50%; border: 2px solid var(--lb-soft); box-shadow: 0 0 0 8px rgba(233, 237, 255, .5); }
.lb-fact > * { margin: 0 !important; }
.lb-fact__num { font-family: var(--wp--preset--font-family--platypi); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--lb-blue); letter-spacing: -.02em; }
.lb-fact__label { margin-top: .35rem !important; font-size: .95rem; color: var(--lb-muted); font-weight: 600; line-height: 1.3; }

/* footer */
.lb-footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #0E1650, #090E3A) !important; }
.lb-footer::before { content: ""; position: absolute; z-index: -1; right: -10rem; bottom: -14rem; width: 34rem; height: 34rem; border-radius: 50%; background: var(--lb-rings); }
.lb-footer h2.lb-footer__title { color: var(--lb-aqua); font-family: var(--wp--preset--font-family--ysabeau); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.lb-footer p, .lb-footer li { color: rgba(255, 255, 255, .88); font-size: 1rem; }
.lb-footer a { text-decoration: none; }
.lb-footer a:hover { text-decoration: underline; color: var(--lb-aqua) !important; }
.lb-footer__links { list-style: none; padding: 0 !important; }
.lb-footer__links li { padding: .2rem 0; }
.lb-footer__sep { border-color: rgba(255, 255, 255, .15) !important; opacity: 1; }
.lb-footer .wp-block-site-title { max-width: 16rem; font-family: var(--wp--preset--font-family--platypi); }
.lb-footer .lb-brand .wp-block-site-title a { color: #fff; }
.lb-postnav .wp-block-post-navigation-link { display: flex; gap: .4rem; align-items: baseline; }
.lb-footer .lb-brand__logo img { background: #fff; box-shadow: 0 0 0 3px rgba(201, 210, 255, .3); }
.lb-footer__motto em { font-family: var(--wp--preset--font-family--platypi); }
.lb-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .75); }

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

/* scroll reveal: only with JS and only without reduced motion */
@media (prefers-reduced-motion: no-preference) {
	.lb-js .lb-reveal { transition: opacity .7s var(--lb-ease), transform .7s var(--lb-ease); }
	.lb-js .lb-reveal:not(.is-visible) { opacity: 0; transform: translateY(26px); }
	.lb-js .lb-tiles > .lb-reveal:nth-child(2) { transition-delay: .06s; }
	.lb-js .lb-tiles > .lb-reveal:nth-child(3) { transition-delay: .12s; }
	.lb-js .lb-tiles > .lb-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-styles-wrapper .lb-reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .lb-quick { margin-top: 0 !important; }

/* layout glue */
.wp-site-blocks > main, .wp-site-blocks > .lb-main, .wp-site-blocks > footer, .wp-site-blocks > .lb-pagehead { margin-block-start: 0; }
.lb-pagehead__inner > :first-child { margin-top: 0; }
.lb-pagehead__inner > .is-style-lb-lead, .lb-pagehead__inner > .wp-block-term-description { max-width: 48rem; }
.lb-content--home, .lb-content--home > .alignfull { margin-block-start: 0 !important; }
.lb-content--home > .lb-quick { margin-block-start: -4rem !important; }
.editor-styles-wrapper .lb-content--home > .lb-quick, .editor-styles-wrapper .lb-quick { margin-block-start: 0 !important; }
.single .lb-pagehead__inner { max-width: var(--wp--style--global--content-size) !important; margin-left: auto !important; margin-right: auto !important; }
@media print { .lb-site-header, .lb-footer, .lb-top, .lb-filterbar, .lb-search { display: none !important; } }

/* ------------------------------------------------------------------ mobile overlay menu (core/navigation, < 600 px) */
nav.lb-nav:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background: radial-gradient(circle at 100% 0, rgba(94, 226, 211, .16), rgba(94, 226, 211, 0) 40%), linear-gradient(180deg, #0E1650 0%, #13238F 100%);
	color: #fff; padding: 1rem 1.25rem 1.5rem;
}
.lb-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: 30rem; margin: 0 auto; }
.lb-nav .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; }
/* brand row: crest + name (decorative; the page header already names the school) */
.lb-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
	background: #fff url("assets/images/lb-sigla-liceului.webp") center / cover no-repeat; box-shadow: 0 0 0 2px rgba(94, 226, 211, .55);
}
.lb-nav .is-menu-open .wp-block-navigation__responsive-dialog::after {
	content: "Liceul Teoretic\A„Lucian Blaga” Constanța";
	content: "Liceul Teoretic\A„Lucian Blaga” Constanța" / "";
	white-space: pre; position: absolute; top: 3px; left: 58px; right: 56px;
	font-family: var(--wp--preset--font-family--platypi); font-weight: 650; font-size: .98rem; 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. */
.lb-nav .wp-block-navigation__responsive-container.is-menu-open,
.lb-nav .is-menu-open .wp-block-navigation__responsive-dialog { transform: none !important; animation: none !important; }
.lb-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed; top: 1rem; right: 1.25rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
	color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); transition: background-color .2s;
}
.lb-nav .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: rgba(255, 255, 255, .16); }
.lb-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }
.lb-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.4rem !important; align-items: stretch !important; gap: 0; }
.lb-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); }
.lb-nav .is-menu-open .wp-block-navigation-item { width: 100%; display: block; }
.lb-nav .is-menu-open .wp-block-navigation-item__content,
.lb-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--ysabeau); font-size: 1.2rem; font-weight: 700; letter-spacing: 0; text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.lb-nav .is-menu-open .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .05) !important; color: var(--lb-aqua) !important; }
.lb-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline: 2px solid var(--lb-aqua); outline-offset: -2px; box-shadow: none; border-radius: 8px; }
.lb-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content,
.lb-nav .is-menu-open .wp-block-navigation-item__content[aria-current="page"] { color: var(--lb-aqua) !important; box-shadow: inset 3px 0 0 var(--lb-aqua); padding-left: .9rem !important; }
/* submenu parents become small uppercase section labels; their children are a plain group */
.lb-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: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lb-lav-light) !important;
}
.lb-nav .is-menu-open .has-child > .wp-block-navigation-item__content:hover { background: none !important; text-decoration: underline; }
.lb-nav .is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
.lb-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;
}
.lb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding-left: 1rem !important; font-size: 1.125rem; font-weight: 600; color: rgba(255, 255, 255, .92) !important; }
.lb-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--lb-aqua); margin-right: .75rem; flex: none; }
.lb-nav .is-menu-open .lb-nav__search > .wp-block-navigation-item__content::before { margin-right: .6rem; }
/* the call to action: full-width aqua button, then phone + e-mail */
.lb-nav .is-menu-open .lb-nav__cta { margin-top: 1.5rem; }
.lb-nav .is-menu-open .lb-nav__cta > .wp-block-navigation-item__content {
	justify-content: center; min-height: 54px; border: 0; border-radius: 999px; background: var(--lb-aqua) !important; color: var(--lb-ink) !important;
	font-size: 1.125rem; font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); padding: .5rem 1.5rem !important;
}
.lb-nav .is-menu-open .lb-nav__cta > .wp-block-navigation-item__content:hover { background: #8BEDE2 !important; color: var(--lb-ink) !important; }
.lb-nav .is-menu-open .lb-nav__cta > .wp-block-navigation-item__content:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 999px; }
.lb-nav .is-menu-open .lb-nav__extra { display: block !important; }
.lb-nav .is-menu-open .lb-nav__extra > .wp-block-navigation-item__content { justify-content: center; min-height: 44px; border: 0; font-size: 1rem; padding-top: 0 !important; padding-bottom: 0 !important; font-weight: 600; color: rgba(255, 255, 255, .88) !important; overflow-wrap: anywhere; }
.lb-nav .is-menu-open .lb-nav__phone { margin-top: .6rem; }
.lb-nav .is-menu-open .lb-nav__extra > .wp-block-navigation-item__content::before { content: ""; width: 1rem; height: 1rem; margin-right: .55rem; background: var(--lb-aqua); flex: none; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.lb-nav .is-menu-open .lb-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"); }
.lb-nav .is-menu-open .lb-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: a clear 44 px target */
.lb-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--lb-blue); background: var(--lb-soft); }
.lb-nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 600px) { .lb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; } }
@media (prefers-reduced-motion: no-preference) {
	.lb-nav .is-menu-open .wp-block-navigation__responsive-dialog { animation: lb-menu-in .38s var(--lb-ease) both; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { animation: lb-menu-item .45s var(--lb-ease) both; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { animation-delay: .03s; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { animation-delay: .06s; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { animation-delay: .09s; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(5) { animation-delay: .12s; }
	.lb-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(n+6) { animation-delay: .15s; }
}
@keyframes lb-menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes lb-menu-item { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
