/* liceu – Liceul Tehnologic nr. 1 Fundulea: green (crest) + sunflower yellow */
:root {
	--st-primary: #1f5a35;
	--st-primary-dark: #123621;
	--st-accent: #e0a800;
	--st-bg: #f5f7f2;
	--st-card: #ffffff;
	--st-text: #1f2a22;
	--st-muted: #4b5a4f;
	--st-link: #1c5a8f;
	--st-line: #d8dfd2;
	--st-fs: 1.125rem;
}
:root.st-contrast {
	--st-primary: #000;
	--st-primary-dark: #000;
	--st-accent: #ffd400;
	--st-bg: #000;
	--st-card: #000;
	--st-text: #fff;
	--st-muted: #fff;
	--st-link: #7fd1ff;
	--st-line: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body.st { margin: 0; background: var(--st-bg); color: var(--st-text); font: var(--st-fs)/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.st a { color: var(--st-link); text-underline-offset: .15em; }
.st a:hover { text-decoration-thickness: 2px; }
.st :focus-visible { outline: 3px solid var(--st-accent); outline-offset: 2px; }
.st img { max-width: 100%; height: auto; }
.st-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
.st-skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 100; }
.st-skip:focus { left: 8px; top: 8px; }

/* utility bar */
.st-util { background: var(--st-primary-dark); color: #fff; font-size: .9rem; }
.st-util__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; min-height: 40px; }
.st-util a { color: #fff; }
.st-util__contact, .st-util__tools { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
.st-tool { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; min-height: 32px; min-width: 40px; padding: 0 .6rem; font: inherit; cursor: pointer; }
.st-tool[aria-pressed="true"] { background: var(--st-accent); color: #000; border-color: var(--st-accent); }

/* header */
.st-header { background: var(--st-primary); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.st-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-block: .6rem; }
.st-brand { display: flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; flex: 1 1 320px; min-width: 0; }
.st-brand__mark { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 10px; background: #fff; color: var(--st-primary); font-weight: 800; letter-spacing: .02em; }
.st-brand__txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.st-brand__txt strong { font-size: 1.15rem; }
.st-brand__txt span { font-size: .85rem; opacity: .9; }
.st-search { flex: 0 1 320px; }
.st-search form { display: flex; gap: .4rem; }
.st-search input[type="search"], .st-search input[type="text"], .st-search .form-control { flex: 1; min-width: 0; min-height: 44px; padding: .3rem .7rem; border: 0; border-radius: 6px; font: inherit; }
.st-search button, .st-search .btn { min-height: 44px; padding: 0 1rem; border: 0; border-radius: 6px; background: var(--st-accent); color: #000; font-weight: 600; cursor: pointer; }


.st-header .st-brand, .st-header .st-brand:hover { color: #fff; }

/* breadcrumbs */
.st-crumbs { background: var(--st-card); border-bottom: 1px solid var(--st-line); font-size: .9rem; }
.st-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: .55rem 0; }
.st-crumbs li + li::before { content: "›"; margin-right: .5rem; color: var(--st-muted); }

/* content */
.st-main { padding-block: 1.5rem 3rem; min-height: 55vh; }
.st-main:focus { outline: none; }
.st-content { background: var(--st-card); border: 1px solid var(--st-line); border-radius: 10px; padding: 1.25rem; min-width: 0; }
.st-has-side { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) 300px; }
.st-content h1, .st-content h2 { color: var(--st-primary); line-height: 1.25; }
:root.st-contrast .st-content h1, :root.st-contrast .st-content h2 { color: #fff; }
.st-content .page-header h1, .st-content .page-header h2 { margin-top: 0; font-size: 1.7rem; }
.st-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.st-content th, .st-content td { border: 1px solid var(--st-line); padding: .45rem .6rem; vertical-align: top; }
.st-content th { background: var(--st-bg); text-align: left; }
.st-content .com-content-category__table, .st-content .category { display: table; }
.st-content .com-content-category__table td, .st-content .com-content-category__table th { padding: .5rem .6rem; }
.st-content .com-content-category-blog__item { border-bottom: 1px solid var(--st-line); padding-block: 1rem; }
.st-content .pagination { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.st-content .page-link { display: inline-block; min-width: 44px; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--st-line); border-radius: 6px; text-align: center; text-decoration: none; }
.st-content .active .page-link { background: var(--st-primary); color: #fff; border-color: var(--st-primary); }
.st-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; list-style: none; padding: 0; }
.st-gallery img { width: 100%; height: 130px; object-fit: cover; border-radius: 6px; }
.st-contact dt { font-weight: 700; margin-top: .6rem; }
.st-contact dd { margin: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; }
.tags a { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--st-bg); border: 1px solid var(--st-line); text-decoration: none; font-size: .85rem; }

/* footer */
.st-footer { background: var(--st-primary-dark); color: #e7edf5; padding-block: 2rem 1rem; margin-top: 2rem; }
.st-footer a { color: #fff; }
.st-footer__cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.st-footer h2 { font-size: 1.05rem; margin: 0 0 .5rem; color: #fff; }
.st-footer ul { list-style: none; padding: 0; margin: 0; }
.st-footer__copy { border-top: 1px solid rgba(255,255,255,.2); margin-top: 1.5rem; padding-top: .8rem; font-size: .85rem; }

/* small screens: mobile-first collapse of the menu */
@media (max-width: 991px) {
	.st-has-side { grid-template-columns: 1fr; }
	.st-search { flex: 1 1 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .st-util, .st-header, .st-nav, .st-footer, .st-crumbs { display: none; } .st-content { border: 0; } }
.st-search label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-content .com-content-category__info, .st-content .article-info { font-size: .85rem; color: var(--st-muted); }
.st .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* PDF preview */
.st-pdf-btn { display: inline-flex; align-items: center; margin-left: .5rem; padding: .1rem .6rem; min-height: 32px; border: 1px solid var(--st-primary); border-radius: 999px; background: #fff; color: var(--st-primary); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; vertical-align: baseline; }
.st-pdf-btn:hover { background: var(--st-primary); color: #fff; }
:root.st-contrast .st-pdf-btn { background: #000; color: #ffd400; border-color: #ffd400; }
.st-pdf { width: min(1100px, 96vw); height: 92vh; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; color: #1d2733; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.st-pdf::backdrop { background: rgba(6, 20, 40, .7); }
.st-pdf[open] { display: flex; flex-direction: column; }
.st-pdf__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; padding: .6rem .9rem; background: var(--st-primary-dark); color: #fff; }
.st-pdf__title { flex: 1 1 14rem; min-width: 0; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st .st-pdf__act, .st-pdf__act { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem; border: 1px solid rgba(255, 255, 255, .6); border-radius: 8px; background: transparent; color: #fff; font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; }
.st-pdf__close { background: var(--st-accent); border-color: var(--st-accent); color: #000; font-weight: 700; }
.st-pdf__frame { flex: 1 1 auto; width: 100%; border: 0; background: #f4f6f9; }
.st-pdf-open { overflow: hidden; }
/* cookie information notice */
.st-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; padding: .85rem 1rem; background: #0b2440; color: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .3); }
.st-consent[hidden] { display: none; }
.st-consent p { margin: 0; max-width: 62rem; font-size: .92rem; line-height: 1.5; }
.st .st-consent a { color: #ffd98a; font-weight: 700; }
.st-consent button { min-height: 44px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--st-accent); color: #000; font: inherit; font-weight: 800; cursor: pointer; }
:root.st-contrast .st-consent { background: #000; border-top: 2px solid #fff; }
@media print { .st-consent { display: none; } }
/* forms (contact, Law 544 request): fields in the look of the site */
.st-content form .control-group { margin: 0 0 1rem; max-width: 42rem; }
/* article/event edit forms: editor and fields use the full content width (the 42rem cap is only for contact-style forms) */
.st-content .edit.item-page form .control-group, .st-content .edit.item-page .tab-content, .st-content .edit.item-page .controls { max-width: none; width: 100%; }
.st-content .edit.item-page .editor, .st-content .edit.item-page .wf-editor-container, .st-content .edit.item-page .tox, .st-content .edit.item-page .mce-tinymce, .st-content .edit.item-page iframe { max-width: 100%; }
.st-content .edit.item-page .wf-editor-container, .st-content .edit.item-page .tox-tinymce { width: 100%; }
.st-content form label { display: block; margin: 0 0 .25rem; font-weight: 700; }
.st-content form .star { color: #b3261e; }
.st-content .form-control, .st-content input[type="text"], .st-content input[type="email"], .st-content textarea { display: block; width: 100%; min-height: 46px; padding: .45rem .75rem; border: 2px solid var(--st-line); border-radius: 8px; background: var(--st-card); color: var(--st-text); font: inherit; }
.st-content textarea { min-height: 9rem; }
.st-content .form-control:focus, .st-content textarea:focus { border-color: var(--st-primary); }
.st-content input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-right: .4rem; vertical-align: -.15rem; accent-color: var(--st-primary); }
.st-content form button[type="submit"], .st-content .btn-primary { min-height: 48px; padding: 0 1.6rem; border: 0; border-radius: 999px; background: var(--st-primary); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.st-content form button[type="submit"]:hover { background: var(--st-primary-dark); }
:root.st-contrast .st-content .form-control, :root.st-contrast .st-content textarea { border-color: #fff; }
:root.st-contrast .st-content form button[type="submit"] { background: #ffd400; color: #000; }
/* front-end article form: attach a file */
.st-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin: 0 0 1rem; padding: .75rem 1rem; border: 2px dashed var(--st-line); border-radius: 10px; background: var(--st-card); }
.st-upload button { min-height: 44px; padding: 0 1.2rem; border: 2px solid var(--st-primary); border-radius: 999px; background: transparent; color: var(--st-primary); font: inherit; font-weight: 800; cursor: pointer; }
.st-upload button:hover { background: var(--st-primary); color: #fff; }
.st-upload__hint { color: var(--st-muted); font-size: .88rem; }
.st-upload__status { flex: 1 1 100%; margin: 0; font-weight: 700; }
.st-brand__mark img { display: block; width: 44px; height: 44px; object-fit: contain; }

/* strip for logged-in editors */
.st-editorbar { background: #123621; color: #fff; font-size: .95rem; }
.st-editorbar__in { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding-top: .4rem; padding-bottom: .4rem; }
.st .st-editorbar a { color: #ffe08a; font-weight: 700; }
.st-editorbar form { margin: 0; }
.st-editorbar button { min-height: 36px; padding: 0 .9rem; border: 1px solid #fff; border-radius: 999px; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.st-editorbar button:hover, .st-editorbar button:focus-visible { background: #fff; color: #123621; }

/* "Autentificare" link in the top bar: same look as the other tools */
.st a.st-tool { display: inline-flex; align-items: center; text-decoration: none; }
.st .st-tool--login { font-weight: 700; }

/* editors' panel (mod_stpanel) */
.st-panel__hello { margin: 0 0 1rem; font-size: 1.1rem; }
.st-panel__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.st a.st-panel__btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: 0 1.4rem; border-radius: 999px; background: var(--st-primary); border: 2px solid var(--st-primary); color: #fff; font-weight: 800; text-decoration: none; }
.st a.st-panel__btn:hover, .st a.st-panel__btn:focus-visible { background: var(--st-primary-dark); border-color: var(--st-primary-dark); }
.st-panel__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.st-panel__stats li { margin: 0; padding: .8rem 1rem; background: var(--st-card); border: 1px solid var(--st-line); border-top: 4px solid var(--st-accent); border-radius: 10px; }
.st-panel__stats strong { display: block; font-size: 1.8rem; line-height: 1.1; color: var(--st-primary); }
.st-panel__stats span { font-size: .92rem; color: var(--st-muted); }
.st-panel__warn { padding: .7rem 1rem; background: #fdf3df; border-left: 6px solid var(--st-accent); border-radius: 0 8px 8px 0; color: #1d2733; }
.st-panel__box { margin: 0 0 1.75rem; }
.st-panel__box h2 { margin: 0 0 .6rem; font-size: 1.3rem; }
.st-panel__table { width: 100%; border-collapse: collapse; }
.st-panel__table th, .st-panel__table td { padding: .55rem .7rem; border-bottom: 1px solid var(--st-line); text-align: left; vertical-align: top; }
.st-panel__table thead th { border-bottom: 2px solid var(--st-primary); background: var(--st-card); }
.st-panel__state { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .88rem; font-weight: 700; border: 1px solid currentColor; }
.st-panel__state--on { color: #14532d; }
.st-panel__state--off { color: #7a4b00; }
.st-panel__rules ul { margin: 0; padding-left: 1.2rem; }
@media (max-width: 767px) { .st-panel__table thead { position: absolute; left: -9999px; } .st-panel__table, .st-panel__table tbody, .st-panel__table tr, .st-panel__table th, .st-panel__table td { display: block; width: 100%; } .st-panel__table tr { margin: 0 0 .9rem; padding: .4rem 0; border: 1px solid var(--st-line); border-radius: 8px; } .st-panel__table th, .st-panel__table td { border: 0; padding: .25rem .8rem; } }
:root.st-contrast .st-panel__stats li { background: #000; border: 2px solid #fff; border-top: 4px solid #ffd400; }
:root.st-contrast .st-panel__stats strong { color: #ffd400; }
:root.st-contrast .st-panel__state--on, :root.st-contrast .st-panel__state--off { color: #fff; }
:root.st-contrast .st-panel__warn { background: #000; color: #fff; border-color: #ffd400; }
