/*
Theme Name: Triaj
Theme URI: https://optimizare.site/
Author: Optimizare.Site
Author URI: https://optimizare.site/
Description: Temă pentru spitale și instituții medicale publice. Antet cu sigla și sigiliile de certificare, meniu ierarhic lizibil pe orice ecran, slider propriu cu preluare din Revolution Slider, litere gândite pentru citire ușoară (Atkinson Hyperlegible Next). Compatibilă cu pluginul OptimizareSite.
Version: 1.0.1
Requires at least: 6.4
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: triaj
*/

/* Litere ------------------------------------------------------------------ */

@font-face {
	font-family: "Atkinson Next";
	src: url("assets/fonts/atkinson-next.woff2") format("woff2-variations"), url("assets/fonts/atkinson-next.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Next";
	src: url("assets/fonts/atkinson-next-italic.woff2") format("woff2-variations"), url("assets/fonts/atkinson-next-italic.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Source Serif";
	src: url("assets/fonts/source-serif-4.woff2") format("woff2-variations"), url("assets/fonts/source-serif-4.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* Culorile vin din materialele spitalului: bordo-ul folosit pe site din 2013,
   rosul crucii din sigla si bleumarinul sigiliilor de certificare. */
:root {
	--t-bordo: #800808;
	--t-bordo-deep: #5f0505;
	--t-cruce: #c8102e;
	--t-navy: #13306b;
	--t-navy-deep: #0c214d;
	--t-ink: #1f2633;
	--t-ink-soft: #444e60;
	--t-ink-muted: #5c6677;
	--t-paper: #fff;
	--t-porcelain: #f2f4f7;
	--t-rule: #d9dee6;
	--t-rule-strong: #b6bfcc;
	--t-amber: #ffbf3c;
	--t-serif: "Source Serif", Georgia, "Times New Roman", serif;
	--t-sans: "Atkinson Next", "Segoe UI", Roboto, Arial, sans-serif;
	--t-wrap: 1220px;
	--t-gutter: clamp(16px, 4vw, 32px);
	--t-radius: 6px;

	/* Caseta de raspuns a pluginului OptimizareSite preia culorile temei. */
	--osite-accent: var(--t-bordo);
	--osite-ink: var(--t-ink);
	--osite-ink-soft: var(--t-ink-soft);
	--osite-ink-muted: var(--t-ink-muted);
	--osite-paper-sunken: var(--t-porcelain);
	--osite-rule-strong: var(--t-rule-strong);
}

/* Baza -------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

body {
	margin: 0;
	background: var(--t-paper);
	color: var(--t-ink);
	font-family: var(--t-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-weight: 400;
	overflow-wrap: break-word;
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--t-bordo);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--t-bordo-deep);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--t-navy);
	outline-offset: 2px;
}

.t-nav :focus-visible,
.t-footer :focus-visible {
	outline-color: var(--t-amber);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.t-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--t-navy);
	color: #fff;
	font-weight: 700;
	border-radius: var(--t-radius);
	text-decoration: none;
}

.t-skip:focus {
	top: 12px;
	color: #fff;
}

.t-wrap {
	width: min(100% - 2 * var(--t-gutter), var(--t-wrap));
	margin-inline: auto;
}

.t-icon {
	width: 1.25em;
	height: 1.25em;
	fill: currentColor;
	flex: none;
}

.t-main:focus {
	outline: none;
}

/* Bara de sus ------------------------------------------------------------- */

.t-topbar {
	background: var(--t-porcelain);
	border-bottom: 1px solid var(--t-rule);
	font-size: 0.9375rem;
	line-height: 1.3;
	color: var(--t-ink-soft);
}

.t-topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
}

.t-topbar__appt {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding-block: 6px;
}

.t-topbar__appt .t-icon {
	color: var(--t-bordo);
}

.t-topbar__short {
	display: none;
}

.t-topbar__phone {
	color: var(--t-navy);
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

a.t-topbar__phone:hover {
	color: var(--t-bordo);
	text-decoration: underline;
}

.t-topbar__side {
	display: flex;
	align-items: center;
	gap: 14px;
}

.t-searchform--compact {
	gap: 0;
}

.t-searchform--compact .t-searchform__input {
	width: 230px;
	flex: none;
	padding: 6px 12px;
	border-radius: var(--t-radius) 0 0 var(--t-radius);
	font-size: 0.92rem;
}

.t-searchform--compact .t-searchform__btn {
	padding: 0 12px;
	border-radius: 0 var(--t-radius) var(--t-radius) 0;
}

.t-searchform--compact .t-searchform__btn span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.t-social {
	display: flex;
	gap: 2px;
	margin: 0 -8px 0 0;
	padding: 0;
	list-style: none;
}

.t-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: var(--t-navy);
}

.t-social a:hover {
	color: var(--t-bordo);
	background: #e5e9ef;
}

/* Antetul ----------------------------------------------------------------- */

.t-header {
	background: var(--t-paper);
}

.t-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 22px;
}

.t-brand {
	display: flex;
	align-items: center;
	gap: 18px;
	color: var(--t-navy);
	text-decoration: none;
	min-width: 0;
}

.t-brand:hover {
	color: var(--t-navy-deep);
}

.t-brand__mark {
	width: auto;
	height: 74px;
}

.t-brand__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-family: var(--t-serif);
	line-height: 1.05;
}

/* Primul rand imita tipografia siglei vechi: majuscule mici, spatiate. */
.t-brand__top {
	font-size: 1.375rem;
	font-weight: 600;
	font-variant-caps: small-caps;
	font-feature-settings: "smcp" 1;
	letter-spacing: 0.035em;
}

.t-brand__name {
	font-size: 2.625rem;
	font-weight: 700;
	letter-spacing: -0.005em;
}

.t-seals {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.t-seal {
	padding-inline: 22px;
}

.t-seal + .t-seal {
	border-left: 1px solid var(--t-rule);
}

.t-seal:last-child {
	padding-right: 0;
}

.t-seal img {
	display: block;
	width: auto;
	height: 70px;
}

/* Meniul ------------------------------------------------------------------ */

.t-nav {
	position: relative;
	z-index: 40;
	background: var(--t-bordo);
	color: #fff;
}

.t-nav__in {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 54px;
}

.t-nav__panel {
	flex: 1;
	min-width: 0;
}

.t-menu,
.t-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.t-nav__toggle,
.t-nav__search,
.t-sub-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-weight: 700;
}

.t-nav__toggle .t-icon--close,
.t-nav__search .t-icon--close,
.t-nav.is-open .t-nav__toggle .t-icon--menu,
.t-nav.is-searching .t-nav__search .t-icon--search {
	display: none;
}

.t-nav.is-open .t-nav__toggle .t-icon--close,
.t-nav.is-searching .t-nav__search .t-icon--close {
	display: block;
}

.t-nav__toggle:hover,
.t-nav__search:hover,
.t-nav.is-searching .t-nav__search {
	background: var(--t-bordo-deep);
}

.t-sub-toggle .t-icon {
	transition: transform 0.2s ease;
}

.t-search {
	background: var(--t-porcelain);
	border-bottom: 1px solid var(--t-rule);
	padding-block: 18px;
	color: var(--t-ink);
}

/* Meniul pe ecrane mari: panouri late, cu coloane. */
@media (min-width: 1260px) {
	.t-nav__toggle,
	.t-nav__search,
	.t-nav .t-search {
		display: none;
	}

	.t-menu {
		display: flex;
		flex-wrap: wrap;
		height: 100%;
	}

	.t-menu > li {
		display: flex;
		align-items: stretch;
	}

	.t-menu > li > a {
		display: flex;
		align-items: center;
		padding: 0 8px;
		color: #fff;
		font-weight: 600;
		font-size: 0.92rem;
		line-height: 1.25;
		text-decoration: none;
		white-space: nowrap;
	}

	.t-menu > li:first-child > a {
		padding-left: 0;
	}

	.t-menu > li.menu-item-has-children > a,
	.t-menu > li.page_item_has_children > a {
		padding-right: 1px;
	}

	.t-menu > li > .t-sub-toggle {
		padding: 0 7px 0 1px;
	}

	.t-menu > li > .t-sub-toggle .t-icon {
		width: 14px;
		height: 14px;
	}

	.t-menu > li:hover > a,
	.t-menu > li:hover > .t-sub-toggle,
	.t-menu > li.is-open > a,
	.t-menu > li.is-open > .t-sub-toggle {
		background: var(--t-bordo-deep);
	}

	.t-menu > li:first-child:hover > a {
		background: none;
		text-decoration: underline;
	}

	.t-menu > .current-menu-item > a,
	.t-menu > .current-menu-ancestor > a,
	.t-menu > .current_page_item > a,
	.t-menu > .current_page_ancestor > a {
		box-shadow: inset 0 -4px 0 #fff;
	}

	.t-menu > li.is-open > .t-sub-toggle .t-icon {
		transform: rotate(180deg);
	}

	/* Panoul: toata latimea meniului, cu elementele asezate in coloane. */
	.t-menu > li > ul {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: min(72vh, 660px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 26px 30px 30px;
		background: var(--t-paper);
		color: var(--t-ink);
		border-top: 4px solid var(--t-navy);
		border-radius: 0 0 var(--t-radius) var(--t-radius);
		box-shadow: 0 20px 44px rgba(12, 33, 77, 0.2);
		columns: 3 230px;
		column-gap: 36px;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-4px);
		transition: opacity 0.14s ease, transform 0.14s ease, visibility 0s linear 0.14s;
	}

	.t-menu > li:hover > ul,
	.t-menu > li.is-open > ul {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition-delay: 0.12s, 0.12s, 0s;
	}

	.t-menu > li.is-open > ul {
		transition-delay: 0s;
	}

	/* Meniurile scurte, fara niveluri, raman o lista ingusta sub element. */
	.t-menu > li:not(:has(> ul > li:nth-child(6))):not(:has(ul ul)) {
		position: relative;
	}

	.t-menu > li:not(:has(> ul > li:nth-child(6))):not(:has(ul ul)) > ul {
		right: auto;
		width: max-content;
		min-width: 260px;
		max-width: 380px;
		columns: auto;
		padding: 14px;
	}

	.t-menu ul li {
		break-inside: avoid;
	}

	.t-menu ul li:has(> ul > li:nth-child(9)) {
		break-inside: auto;
	}

	.t-menu ul a {
		display: block;
		padding: 6px 10px;
		border-radius: 4px;
		color: var(--t-ink);
		font-size: 0.98rem;
		line-height: 1.35;
		text-decoration: none;
	}

	.t-menu ul a:hover {
		background: var(--t-porcelain);
		color: var(--t-bordo);
	}

	.t-menu ul .current-menu-item > a,
	.t-menu ul .current_page_item > a {
		color: var(--t-bordo);
		font-weight: 700;
	}

	/* Al doilea nivel cu submeniu devine titlul unei coloane. */
	.t-menu ul li:has(> ul) > a {
		font-family: var(--t-serif);
		font-weight: 700;
		font-size: 1.08rem;
		color: var(--t-navy);
	}

	.t-menu ul ul {
		margin: 2px 0 14px 10px;
		padding-left: 10px;
		border-left: 2px solid var(--t-rule);
	}

	.t-menu ul ul a {
		padding-block: 4px;
		font-size: 0.94rem;
		color: var(--t-ink-soft);
	}

	.t-menu ul .t-sub-toggle {
		display: none;
	}

}

.t-nav__search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Meniul pe telefon si tableta: o lista care se deschide pe niveluri. */
@media (max-width: 1259.98px) {
	.t-topbar__search {
		display: none;
	}

	.t-nav__in {
		justify-content: space-between;
	}

	.t-nav__toggle {
		margin-left: calc(-1 * 14px);
	}

	.t-nav__panel {
		display: none;
		position: absolute;
		top: 100%;
		left: calc(-1 * var(--t-gutter));
		right: calc(-1 * var(--t-gutter));
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--t-paper);
		color: var(--t-ink);
		box-shadow: 0 18px 40px rgba(12, 33, 77, 0.22);
		border-top: 4px solid var(--t-navy);
	}

	.t-nav.is-open .t-nav__panel {
		display: block;
	}

	.t-nav__panel .t-menu {
		padding: 6px var(--t-gutter) 18px;
	}

	.t-menu li {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		border-bottom: 1px solid var(--t-rule);
	}

	.t-menu li:last-child {
		border-bottom: 0;
	}

	.t-menu a {
		flex: 1;
		padding: 13px 0;
		color: var(--t-ink);
		font-weight: 600;
		line-height: 1.35;
		text-decoration: none;
	}

	.t-menu a:hover {
		color: var(--t-bordo);
	}

	.t-menu .current-menu-item > a,
	.t-menu .current_page_item > a {
		color: var(--t-bordo);
	}

	.t-sub-toggle {
		justify-content: center;
		width: 48px;
		padding: 0;
		color: var(--t-navy);
		border-left: 1px solid var(--t-rule);
	}

	.t-menu li.is-open > .t-sub-toggle .t-icon {
		transform: rotate(180deg);
	}

	.t-menu li > ul {
		display: none;
		flex-basis: 100%;
		margin: 0 0 10px;
		padding: 2px 0 2px 14px;
		border-left: 3px solid var(--t-rule);
	}

	.t-menu li.is-open > ul {
		display: block;
	}

	.t-menu ul li {
		border-bottom: 0;
	}

	.t-menu ul a {
		padding: 9px 0;
		font-weight: 400;
	}

}

/* Cautarea ---------------------------------------------------------------- */

.t-searchform {
	display: flex;
	gap: 8px;
	max-width: 640px;
}

.t-searchform__input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--t-rule-strong);
	border-radius: var(--t-radius);
	background: var(--t-paper);
	color: var(--t-ink);
}

.t-searchform__input:focus-visible {
	outline-offset: 0;
	border-color: var(--t-navy);
}

.t-searchform__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0 18px;
	border: 0;
	border-radius: var(--t-radius);
	background: var(--t-navy);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.t-searchform__btn:hover {
	background: var(--t-navy-deep);
}

/* Banda cu titlul --------------------------------------------------------- */

.t-titleband {
	padding-block: 30px 26px;
	border-bottom: 1px solid var(--t-rule);
}

.t-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 0;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--t-ink-muted);
}

.t-crumbs li + li::before {
	content: "/";
	margin-inline: 8px;
	color: var(--t-rule-strong);
}

.t-crumbs a {
	color: var(--t-ink-soft);
	text-decoration: none;
}

.t-crumbs a:hover {
	color: var(--t-bordo);
	text-decoration: underline;
}

.t-titleband__title {
	margin: 0;
	max-width: 42ch;
	font-family: var(--t-serif);
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.375rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--t-navy);
	text-wrap: balance;
}

.t-titleband__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 12px 0 0;
	font-size: 0.95rem;
	color: var(--t-ink-muted);
}

/* Asezarea in pagina ------------------------------------------------------ */

.t-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	padding-block: 38px 64px;
}

.t-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.t-article {
	min-width: 0;
}

/* Continutul -------------------------------------------------------------- */

.t-entry::after {
	content: "";
	display: table;
	clear: both;
}

.t-entry > p,
.t-entry > ul,
.t-entry > ol,
.t-entry > h2,
.t-entry > h3,
.t-entry > h4,
.t-entry > blockquote {
	max-width: 74ch;
}

.t-entry p {
	margin: 0 0 1em;
}

.t-entry h2,
.t-entry h3,
.t-entry h4,
.t-entry h5,
.t-entry h6 {
	margin: 1.6em 0 0.55em;
	font-family: var(--t-serif);
	font-weight: 700;
	line-height: 1.2;
	color: var(--t-navy);
}

.t-entry h2 {
	font-size: 1.65rem;
}

.t-entry h3 {
	font-size: 1.35rem;
}

.t-entry h4 {
	font-size: 1.15rem;
}

.t-entry ul,
.t-entry ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.t-entry li {
	margin-bottom: 0.3em;
}

.t-entry li::marker {
	color: var(--t-bordo);
}

.t-entry strong {
	font-weight: 700;
}

.t-entry blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--t-bordo);
	color: var(--t-ink-soft);
}

.t-entry hr {
	border: 0;
	border-top: 1px solid var(--t-rule);
	margin: 2em 0;
}

.t-entry table {
	width: auto;
	max-width: 100%;
	margin: 0 0 1.4em;
	border-collapse: collapse;
	font-size: 0.97rem;
	display: block;
	overflow-x: auto;
}

.t-entry th,
.t-entry td {
	padding: 9px 12px;
	border: 1px solid var(--t-rule);
	text-align: left;
	vertical-align: top;
}

.t-entry th,
.t-entry thead td {
	background: var(--t-porcelain);
	font-weight: 700;
}

.t-entry iframe {
	display: block;
	border: 0;
}

.t-entry .wp-video,
.t-entry figure {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0.3em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.6em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
	clear: both;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
figcaption {
	margin-top: 6px;
	font-size: 0.9rem;
	color: var(--t-ink-muted);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin-bottom: 1.4em;
}

.gallery-item {
	margin: 0;
}

.t-article__image {
	margin: 0 0 28px;
}

.t-article__image img {
	display: block;
	border-radius: var(--t-radius);
}

.t-pages {
	margin-top: 1.5em;
	font-weight: 700;
}

/* Navigarea intre anunturi */
.t-postnav {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--t-rule);
}

.t-postnav .nav-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.t-postnav a {
	display: block;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--t-rule);
	border-radius: var(--t-radius);
	text-decoration: none;
}

.t-postnav a:hover {
	border-color: var(--t-bordo);
}

.t-postnav .nav-next {
	text-align: right;
}

.t-postnav__dir {
	display: block;
	font-size: 0.88rem;
	color: var(--t-ink-muted);
}

.t-postnav__title {
	display: block;
	margin-top: 4px;
	color: var(--t-navy);
	font-weight: 700;
	line-height: 1.35;
}

/* Liste de anunturi ------------------------------------------------------- */

.t-list {
	border-top: 1px solid var(--t-rule);
}

.t-item {
	padding-block: 22px;
	border-bottom: 1px solid var(--t-rule);
}

.t-item__date {
	margin: 0 0 4px;
	font-size: 0.9rem;
	color: var(--t-ink-muted);
	font-variant-numeric: tabular-nums;
}

.t-item__title {
	margin: 0;
	font-family: var(--t-serif);
	font-size: 1.32rem;
	line-height: 1.25;
	font-weight: 700;
}

.t-item__title a {
	color: var(--t-navy);
	text-decoration: none;
}

.t-item__title a:hover {
	color: var(--t-bordo);
	text-decoration: underline;
}

.t-item__excerpt {
	margin: 8px 0 0;
	max-width: 74ch;
	color: var(--t-ink-soft);
}

.t-intro {
	margin-bottom: 24px;
}

.t-count {
	margin: 0 0 12px;
	color: var(--t-ink-muted);
}

.t-searchagain {
	margin-bottom: 24px;
}

.navigation.pagination {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--t-rule);
	border-radius: var(--t-radius);
	color: var(--t-navy);
	font-weight: 700;
	text-decoration: none;
}

a.page-numbers:hover {
	border-color: var(--t-bordo);
	color: var(--t-bordo);
}

.page-numbers.current {
	background: var(--t-bordo);
	border-color: var(--t-bordo);
	color: #fff;
}

.page-numbers.dots {
	border-color: transparent;
}

/* Bara laterala ----------------------------------------------------------- */

.t-sidebar {
	min-width: 0;
	font-size: 1rem;
}

.t-widget + .t-widget {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--t-rule);
}

.t-widget__title {
	margin: 0 0 14px;
	font-family: var(--t-serif);
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--t-navy);
}

.t-widget p:last-child {
	margin-bottom: 0;
}

.t-widget img {
	display: block;
}

.t-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.t-widget li {
	padding-block: 9px;
	border-bottom: 1px solid var(--t-rule);
	line-height: 1.4;
}

.t-widget li:first-child {
	padding-top: 0;
}

.t-widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.t-widget li a {
	color: var(--t-ink);
	font-weight: 600;
	text-decoration: none;
}

.t-widget li a:hover {
	color: var(--t-bordo);
	text-decoration: underline;
}

.t-widget .post-date {
	display: block;
	margin-top: 3px;
	font-size: 0.88rem;
	color: var(--t-ink-muted);
}

.t-sidebar .widget_text:has(> .textwidget:empty),
.t-sidebar .widget_block:empty {
	display: none;
}

.widget_views li {
	color: var(--t-ink-muted);
	font-size: 0.95rem;
}

/* Butoanele din bara laterala (Rezultate analize, Programari online) au stilul
   scris direct in widget; aici primesc doar colturile si raspunsul la mouse. */
.t-sidebar a[style*="background"] {
	border-radius: var(--t-radius);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition: filter 0.15s ease;
}

.t-sidebar a[style*="background"]:hover {
	filter: brightness(1.25);
	text-decoration: none;
}

.t-sidebar .widget_text p:has(> a[style*="background"]) {
	margin: 0;
}

.t-sidebar .widget_text p:has(> a[style*="background"]):last-child a {
	margin-bottom: 0 !important;
}

.widget_search .t-searchform__btn span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.t-contact {
	font-style: normal;
}

.t-contact__row {
	display: flex;
	gap: 10px;
	margin: 0 0 10px;
	line-height: 1.45;
}

.t-contact__row .t-icon {
	margin-top: 2px;
	color: var(--t-bordo);
}

.t-contact__label {
	display: block;
	font-size: 0.86rem;
	color: var(--t-ink-muted);
}

.t-contact a {
	font-weight: 700;
	color: var(--t-navy);
	text-decoration: none;
}

.t-contact a:hover {
	color: var(--t-bordo);
	text-decoration: underline;
}

/* Subsolul ---------------------------------------------------------------- */

.t-footer {
	background: var(--t-navy);
	color: #fff;
	font-size: 1rem;
}

.t-footer a {
	color: #fff;
}

.t-footer a:hover {
	color: #fff;
	text-decoration-thickness: 2px;
}

.t-footer__grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr 1fr;
	gap: 40px 48px;
	padding-block: 52px 44px;
}

.t-footer__brand {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 20px;
	font-family: var(--t-serif);
	line-height: 1.1;
}

.t-footer__tile {
	display: grid;
	place-items: center;
	flex: none;
	width: 62px;
	height: 62px;
	border-radius: 10px;
	background: #fff;
}

.t-footer__tile img {
	width: 44px;
	height: auto;
}

.t-footer__top {
	display: block;
	font-size: 1.05rem;
	font-weight: 600;
	font-variant-caps: small-caps;
	font-feature-settings: "smcp" 1;
	letter-spacing: 0.035em;
	color: #d7def0;
}

.t-footer__name {
	display: block;
	margin-top: 4px;
	font-size: 1.6rem;
	font-weight: 700;
}

.t-footer__address {
	display: flex;
	gap: 10px;
	margin: 0;
	color: #e3e8f4;
	line-height: 1.5;
}

.t-footer__title {
	margin: 0 0 14px;
	font-family: var(--t-serif);
	font-size: 1.2rem;
	font-weight: 700;
}

.t-footer dl {
	margin: 0;
}

.t-footer__row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	padding-block: 7px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.t-footer__row:last-child {
	border-bottom: 0;
}

.t-footer dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #c9d2e8;
}

.t-footer dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.t-footer dd a {
	text-decoration: none;
}

.t-footer dd a:hover {
	text-decoration: underline;
}

.t-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.t-footer__links li {
	padding-block: 7px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.t-footer__links li:last-child {
	border-bottom: 0;
}

.t-footer__links a {
	font-weight: 600;
	text-decoration: none;
}

.t-footer__links a:hover {
	text-decoration: underline;
}

.t-footer__bottom {
	background: var(--t-navy-deep);
	font-size: 0.92rem;
	color: #c9d2e8;
}

.t-footer__bottom-in {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	padding-block: 16px;
}

.t-footer__bottom p {
	margin: 0;
}

.t-footer__extra {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
}

/* Comentarii (de obicei inchise de OptimizareSite) */
.t-comments {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--t-rule);
}

.t-comments__title,
.comment-reply-title {
	font-family: var(--t-serif);
	color: var(--t-navy);
}

.t-comments__list {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	padding-block: 14px;
	border-bottom: 1px solid var(--t-rule);
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	max-width: 640px;
	padding: 10px 12px;
	border: 1px solid var(--t-rule-strong);
	border-radius: var(--t-radius);
	background: var(--t-paper);
}

.comment-form .submit {
	padding: 11px 20px;
	border: 0;
	border-radius: var(--t-radius);
	background: var(--t-navy);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.t-entry .t-searchform {
	margin-bottom: 1em;
}

/* Ecrane medii si mici ---------------------------------------------------- */

@media (max-width: 1100px) {
	.t-brand__name {
		font-size: 2.25rem;
	}

	.t-seal {
		padding-inline: 16px;
	}

	.t-seal img {
		height: 58px;
	}
}

@media (max-width: 960px) {
	.t-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.t-sidebar {
		padding-top: 32px;
		border-top: 2px solid var(--t-rule);
	}

	.t-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.t-footer__id {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.t-header__in {
		flex-wrap: wrap;
		padding-block: 16px 14px;
	}

	.t-seals {
		width: 100%;
		padding-top: 12px;
		border-top: 1px solid var(--t-rule);
	}

	.t-seal:first-child {
		padding-left: 0;
	}

	.t-seal img {
		height: 46px;
	}

	.t-brand {
		gap: 12px;
	}

	.t-brand__mark {
		height: 54px;
	}

	.t-brand__top {
		font-size: 1.05rem;
	}

	.t-brand__name {
		font-size: 1.75rem;
	}

	.t-titleband {
		padding-block: 22px 20px;
	}

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 0 auto 1em;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 1.0625rem;
	}

	.t-topbar__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.t-topbar__short {
		display: inline;
	}

	.t-footer__grid {
		grid-template-columns: 1fr;
		padding-block: 40px 32px;
	}

	.t-layout {
		padding-block: 28px 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.t-topbar,
	.t-nav,
	.t-hero,
	.t-sidebar,
	.t-postnav,
	.t-footer__nav,
	.t-skip {
		display: none !important;
	}

	.t-layout {
		display: block;
		padding: 0;
	}

	.t-footer {
		background: none;
		color: #000;
	}

	.t-footer a {
		color: #000;
	}
}
