/* CJCA Caraș-Severin – stiluri site (stil tradițional bănățean). Culorile de bază vin din paleta Kadence (--global-palette1..9). */
:root {
	--cnme-indigo: #173f5f;
	--cnme-indigo-dark: #0f2c43;
	--cnme-red: var(--global-palette1, #a82a24);
	--cnme-gold: #e0a526;
	--cnme-gold-soft: #fbf1d6;
	--cnme-radius: 18px;
	--cnme-shadow: 0 10px 30px -12px rgba(70, 35, 10, .25);
	--cnme-shadow-hover: 0 22px 45px -18px rgba(70, 35, 10, .38);
}

/* ---------- Animații la derulare ---------- */
.cnme-js .reveal,
.cnme-js .reveal-stagger > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.cnme-js .reveal.is-visible,
.cnme-js .reveal-stagger > .is-visible { opacity: 1; transform: none; }
.cnme-js .reveal-stagger > *:nth-child(2) { transition-delay: .08s; }
.cnme-js .reveal-stagger > *:nth-child(3) { transition-delay: .16s; }
.cnme-js .reveal-stagger > *:nth-child(4) { transition-delay: .24s; }
.cnme-js .reveal-stagger > *:nth-child(5) { transition-delay: .32s; }
.cnme-js .reveal-stagger > *:nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
	.cnme-js .reveal, .cnme-js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
	.cnme-hero .cnme-hero-emblem { animation: none !important; }
}

/* ---------- Titluri de secțiune ---------- */
.cnme-eyebrow {
	display: inline-block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--cnme-indigo);
	background: var(--global-palette7, #efe3cf);
	padding: .35em .9em;
	border-radius: 999px;
	margin-bottom: .6rem;
}
.cnme-section-title { margin-top: 0; }
.cnme-section-title::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: var(--cnme-gold);
	margin: .7rem 0 0;
}
.has-text-align-center.cnme-section-title::after { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.cnme-hero.wp-block-cover { min-height: min(88vh, 760px); }
.cnme-hero .wp-block-cover__image-background { transform: scale(1.06); animation: cnme-zoom 18s ease-out forwards; }
@keyframes cnme-zoom { to { transform: scale(1); } }
.cnme-hero h1 {
	font-size: clamp(2.2rem, 5.2vw, 4.2rem);
	line-height: 1.05;
	letter-spacing: -.02em;
	margin: .2em 0 .35em;
	color: #fff;
}
.cnme-hero h1 em { font-style: normal; color: var(--cnme-gold); }
.cnme-hero .cnme-hero-kicker { color: var(--cnme-gold); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }
.cnme-hero .cnme-hero-quote {
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	max-width: 40rem;
	opacity: .92;
	border-left: 3px solid var(--cnme-gold);
	padding-left: 1rem;
}
.cnme-hero .cnme-hero-emblem img {
	width: min(300px, 60vw);
	height: auto;
	border-radius: 50%;
	box-shadow: 0 0 0 10px rgba(255, 255, 255, .12), 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.cnme-hero .cnme-hero-emblem { animation: cnme-float 7s ease-in-out infinite; }
@keyframes cnme-float { 50% { transform: translateY(-12px); } }
.cnme-hero .wp-block-button__link { border-radius: 999px; padding: .85em 1.6em; font-weight: 700; transition: transform .25s, box-shadow .25s; }
.cnme-hero .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .5); }
.cnme-btn-gold .wp-block-button__link { background: var(--cnme-gold) !important; color: #2a1a0e !important; }
.cnme-btn-ghost .wp-block-button__link { background: transparent !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, .7) !important; }

/* ---------- Contoare ---------- */
.cnme-stats { margin-top: -70px !important; position: relative; z-index: 2; }
.cnme-stat {
	background: #fff;
	border-radius: var(--cnme-radius);
	box-shadow: var(--cnme-shadow);
	padding: 1.6rem 1.4rem !important;
	height: 100%;
	border-top: 4px solid var(--cnme-gold);
}
.cnme-stat .cnme-num { font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 800; color: var(--cnme-indigo); line-height: 1; margin: 0 0 .3rem; }
.cnme-stat .cnme-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin: 0 0 .6rem; }
.cnme-stat p:last-child { font-size: .92rem; color: var(--global-palette5, #584e46); margin-bottom: 0; }

/* ---------- Carduri ---------- */
.cnme-card {
	background: #fff;
	border-radius: var(--cnme-radius);
	box-shadow: var(--cnme-shadow);
	padding: 1.6rem !important;
	height: 100%;
	transition: transform .3s ease, box-shadow .3s ease;
	position: relative;
}
.cnme-card:hover { transform: translateY(-6px); box-shadow: var(--cnme-shadow-hover); }
.cnme-card h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.cnme-card h3 a { text-decoration: none; color: inherit; }
.cnme-card h3 a::after { content: ""; position: absolute; inset: 0; } /* tot cardul e clickabil */
.cnme-card h3 a:hover { color: var(--cnme-indigo); }
.cnme-card p { margin: 0; color: var(--global-palette5, #584e46); font-size: .95rem; }
.cnme-card .cnme-card-icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--global-palette7, #efe3cf); color: var(--cnme-indigo);
	font-size: 1.5rem; margin-bottom: 1rem;
	transition: background .3s, color .3s;
}
.cnme-card:hover .cnme-card-icon { background: var(--cnme-indigo); color: #fff; }
.cnme-cards { gap: 1.4rem !important; }
.cnme-arrow::after { content: " →"; transition: margin .2s; }
.cnme-card:hover .cnme-arrow::after { margin-left: 4px; }

/* ---------- Niveluri de învățământ ---------- */
.cnme-level { text-align: left; }
.cnme-level .cnme-level-age { font-size: .82rem; font-weight: 700; color: var(--cnme-gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem !important; }

/* ---------- Secțiune „despre” ---------- */
.cnme-feature-list { list-style: none; padding-left: 0; }
.cnme-feature-list li { position: relative; padding: .45rem 0 .45rem 2rem; border-bottom: 1px dashed var(--global-palette7, #e6d6bc); }
.cnme-feature-list li::before {
	content: "✓"; position: absolute; left: 0; top: .45rem;
	width: 1.4rem; height: 1.4rem; border-radius: 50%;
	background: var(--cnme-gold-soft); color: #9a6b00; font-weight: 800; font-size: .8rem;
	display: grid; place-items: center;
}
.cnme-photo img { border-radius: var(--cnme-radius); box-shadow: var(--cnme-shadow); }
.cnme-photo-stack { position: relative; }
.cnme-photo-badge {
	position: absolute; right: -10px; bottom: -18px;
	background: var(--cnme-gold); color: #2a1a0e; border-radius: 16px;
	padding: 1rem 1.3rem !important; box-shadow: var(--cnme-shadow); font-weight: 700; max-width: 220px;
}
.cnme-photo-badge strong { display: block; font-size: 2rem; line-height: 1; }

/* ---------- Banda indigo ---------- */
.cnme-band { position: relative; overflow: hidden; }
.cnme-band::before {
	content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
	right: -160px; top: -220px; background: radial-gradient(circle, rgba(224,165,38, .25), transparent 65%);
	pointer-events: none;
}
.cnme-band .cnme-card { background: rgba(255, 255, 255, .07); box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.cnme-band .cnme-card p { color: rgba(255, 255, 255, .82); }
.cnme-band .cnme-card:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Citate ---------- */
.cnme-quote {
	background: #fff; border-radius: var(--cnme-radius); padding: 1.8rem !important;
	box-shadow: var(--cnme-shadow); height: 100%; position: relative;
}
.cnme-quote::before {
	content: "“"; position: absolute; top: -.2rem; right: 1.2rem;
	font-size: 6rem; line-height: 1; color: var(--cnme-gold); opacity: .35; font-family: Georgia, serif;
}
.cnme-quote p { font-style: italic; }
.cnme-quote .cnme-quote-author { font-style: normal; font-weight: 700; color: var(--cnme-indigo); margin-bottom: 0; }

/* ---------- Logo-uri parteneri ---------- */
.cnme-logos img { max-height: 80px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s; }
.cnme-logos img:hover { filter: none; opacity: 1; transform: scale(1.05); }
.cnme-logos .wp-block-image { margin: 0; }

/* ---------- Contact ---------- */
.cnme-contact-item { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; }
.cnme-map iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--cnme-radius); box-shadow: var(--cnme-shadow); }

/* ---------- Conținut preluat de pe site-ul vechi ---------- */
.entry-content img { max-width: 100%; height: auto; }
.cnme-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.entry-content table td, .entry-content table th { border: 1px solid var(--global-palette7, #e6d6bc); padding: .55rem .7rem; vertical-align: top; }
.entry-content table tr:nth-child(even) td { background: var(--global-palette8, #faf5ec); }
.entry-content a[href$=".pdf"], .entry-content a[href$=".PDF"] {
	padding-left: 1.4em;
	background: no-repeat left center / 1em url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0392b' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E");
}
/* grilele vechi ale temei Joomla */
.yjsg-row { display: grid; gap: 1.5rem; grid-template-columns: repeat(12, 1fr); margin-bottom: 1.5rem; }
.yjsg-col-1-2 { grid-column: span 6; }
.yjsg-col-1-3 { grid-column: span 4; }
.yjsg-col-1-4 { grid-column: span 3; }
@media (max-width: 767px) { .yjsg-row > * { grid-column: 1 / -1; } }
.yjsg-center { text-align: center; }

/* ---------- Antet ---------- */
.site-branding .custom-logo { border-radius: 50%; }
.site-branding .site-title { line-height: 1.15; }
.site-branding .site-description { font-size: .8rem; opacity: .75; }

/* spațiere: eticheta mică stă lipită de titlul de sub ea */
.entry-content .cnme-eyebrow { margin-bottom: 0 !important; }
.entry-content .cnme-eyebrow + .wp-block-heading { margin-top: .5rem !important; }
.entry-content .cnme-eyebrow + .wp-block-heading + * { margin-top: 1.2rem; }

/* ---------- Hartă încărcată doar la cerere ---------- */
.cnme-map-consent {
	min-height: 360px; border-radius: var(--cnme-radius); box-shadow: var(--cnme-shadow);
	background: var(--global-palette8, #faf5ec) radial-gradient(circle at 30% 20%, rgba(224,165,38,.18), transparent 55%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.cnme-map-consent .cnme-map-icon { font-size: 2.6rem; margin: 0 0 .5rem; }
.cnme-map-consent p { max-width: 30rem; }
.cnme-map-load {
	background: var(--cnme-indigo); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.6em;
	font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.cnme-map-load:hover, .cnme-map-load:focus-visible { transform: translateY(-2px); box-shadow: var(--cnme-shadow); }

/* ---------- Subsol ---------- */
.site-footer .footer-html a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .cnme-footer-links { display: block; margin-top: .4rem; }

/* ---------- Modulul de accesibilitate (DJ-Accessibility) ---------- */
.djacc, .djacc * { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important; }

/* =========================================================
   Pagini de conținut: tipografie și așezare unitară
   (doar copiii direcți ai conținutului, ca să nu afecteze prima pagină și cardurile)
   ========================================================= */
body:not(.home) .entry-content > p,
body:not(.home) .entry-content > ul li,
body:not(.home) .entry-content > ol li { font-size: 1.0625rem; line-height: 1.75; }
body:not(.home) .entry-content > h2 {
	font-size: clamp(1.4rem, 2.2vw, 1.7rem); line-height: 1.25; margin: 2.4rem 0 .9rem;
	padding-bottom: .5rem; border-bottom: 2px solid var(--global-palette7, #efe3cf);
}
body:not(.home) .entry-content > h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.3; margin: 1.9rem 0 .6rem; color: var(--cnme-indigo); }
body:not(.home) .entry-content > h2:first-child,
body:not(.home) .entry-content > h3:first-child { margin-top: 0; }
body:not(.home) .entry-content > p { margin: 0 0 1.1rem; }

/* imagine singură */
.entry-content .cnme-media { text-align: center; margin: 1.8rem 0; }
.entry-content .cnme-media img { border-radius: 14px; box-shadow: var(--cnme-shadow); max-height: 640px; width: auto; }

/* galerie */
.entry-content .cnme-gallery {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 1.8rem 0;
}
.entry-content .cnme-gallery img,
.entry-content .cnme-gallery a { display: block; width: 100%; }
.entry-content .cnme-gallery img {
	aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; transition: transform .3s, box-shadow .3s;
}
.entry-content .cnme-gallery img:hover { transform: scale(1.03); box-shadow: var(--cnme-shadow); }

/* liste de documente */
.entry-content ul.cnme-docs { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .6rem; }
.entry-content ul.cnme-docs li {
	background: #fff; border: 1px solid var(--global-palette7, #efe3cf); border-radius: 12px;
	padding: .8rem 1rem .8rem 3rem; position: relative; line-height: 1.5; transition: border-color .2s, box-shadow .2s;
}
.entry-content ul.cnme-docs li::before {
	content: ""; position: absolute; left: 1rem; top: .85rem; width: 1.3rem; height: 1.3rem;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a82a24' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
}
.entry-content ul.cnme-docs li:hover { border-color: var(--cnme-gold); box-shadow: var(--cnme-shadow); }
.entry-content ul.cnme-docs a { font-weight: 600; text-decoration: none; padding-left: 0; background: none; }
.entry-content ul.cnme-docs a:hover { text-decoration: underline; }

/* tabele */
.entry-content table th {
	background: var(--global-palette7, #efe3cf); color: var(--global-palette3, #17162f);
	font-weight: 700; text-align: left; border: 1px solid var(--global-palette7, #e6d6bc); padding: .6rem .7rem;
}
.entry-content table td { line-height: 1.5; }

/* ---------- Imagine mărită ---------- */
.cnme-lightbox {
	position: fixed; inset: 0; z-index: 99999; background: rgba(20, 12, 8, .92);
	display: none; align-items: center; justify-content: center; padding: 3rem 4rem;
}
.cnme-lightbox.is-open { display: flex; animation: cnme-fade .25s ease; }
@keyframes cnme-fade { from { opacity: 0; } }
.cnme-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.cnme-lightbox button {
	position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%;
	width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.cnme-lightbox button:hover, .cnme-lightbox button:focus-visible { background: var(--cnme-gold); color: #2a1a0e; }
.cnme-lb-close { top: 1rem; right: 1rem; }
.cnme-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.cnme-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .cnme-lightbox { padding: 3.5rem .5rem; } .cnme-lb-prev, .cnme-lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- #TeamEliade ---------- */
.cnme-team-intro { max-width: 46rem; margin-left: auto !important; margin-right: auto !important; font-size: 1.15rem; color: var(--global-palette5, #584e46); }
.cnme-team-photo { margin: 2.5rem 0 3.5rem !important; }
.cnme-team-photo img {
	width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 62%;
	border-radius: 24px; box-shadow: var(--cnme-shadow-hover);
}
.cnme-team-photo figcaption { text-align: center; font-size: .9rem; color: var(--global-palette6, #857a6f); margin-top: .9rem; }
.cnme-pullquote {
	font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.3; color: var(--cnme-indigo); border-left: 4px solid var(--cnme-gold); padding-left: 1.2rem; margin-top: 1.5rem;
}
.cnme-more { margin-top: 1rem; }
.cnme-more summary {
	cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--cnme-indigo);
	padding: .6rem 1.2rem; border: 2px solid var(--cnme-indigo); border-radius: 999px; list-style: none; transition: background .2s, color .2s;
}
.cnme-more summary::-webkit-details-marker { display: none; }
.cnme-more summary::after { content: "↓"; transition: transform .25s; }
.cnme-more[open] summary::after { transform: rotate(180deg); }
.cnme-more summary:hover, .cnme-more summary:focus-visible { background: var(--cnme-indigo); color: #fff; }
.cnme-more[open] > :not(summary) { animation: cnme-fade .35s ease; }
.cnme-more[open] summary { margin-bottom: 1.2rem; }
.cnme-team-tags { font-weight: 700; color: #b8860b; letter-spacing: .03em; margin-top: 1.4rem; }

/* eticheta mică deasupra unui titlu centrat stă și ea pe centru */
.cnme-eyebrow.has-text-align-center { display: table; margin-left: auto !important; margin-right: auto !important; }

/* ---------- Antetul paginilor interioare: fotografia de pe prima pagină, mai discret ---------- */
.entry-hero .entry-hero-container-inner {
	background:
		linear-gradient(115deg, rgba(45, 16, 12, .95) 0%, rgba(127, 29, 25, .88) 55%, rgba(127, 29, 25, .72) 100%),
		url("/wp-content/uploads/arhiva/site/4-hora-londra.jpg") center 45% / cover no-repeat;
	position: relative;
}
.entry-hero .entry-hero-container-inner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px;
	background: var(--cj-band) repeat-x center / auto 16px;
}
.entry-hero .entry-header { min-height: 280px; display: flex; flex-direction: column; justify-content: center; padding: 3rem 0 2.5rem; }
.entry-hero .entry-title, .entry-hero .archive-title {
	color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -.01em;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .25); max-width: 52rem; margin-left: auto; margin-right: auto;
}
.entry-hero .kadence-breadcrumbs { color: rgba(255, 255, 255, .78); font-size: .88rem; margin-bottom: .9rem; }
.entry-hero .kadence-breadcrumbs a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.entry-hero .kadence-breadcrumbs a:hover { color: var(--cnme-gold); }
.entry-hero .kadence-breadcrumbs .bc-delimiter { margin: 0 .45em; color: var(--cnme-gold); }
.cnme-js .entry-hero .entry-header > * { animation: cnme-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.cnme-js .entry-hero .entry-title, .cnme-js .entry-hero .archive-title { animation-delay: .08s; }
@keyframes cnme-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cnme-js .entry-hero .entry-header > * { animation: none; } }
@media (max-width: 767px) { .entry-hero .entry-header { min-height: 200px; padding: 2.2rem 0 1.8rem; } }

/* fotografie diferită în antet pentru fiecare secțiune */
.cnme-sec-despre-noi .entry-hero .entry-hero-container-inner,
.cnme-sec-sectii .entry-hero .entry-hero-container-inner,
.cnme-sec-evenimente-derulate .entry-hero .entry-hero-container-inner {
	background-image:
		linear-gradient(115deg, rgba(45, 16, 12, .93) 0%, rgba(127, 29, 25, .82) 55%, rgba(127, 29, 25, .62) 100%),
		var(--cnme-hero-img);
	background-size: cover; background-repeat: no-repeat; background-position: center var(--cnme-hero-y, 45%);
}
.cnme-sec-despre-noi          { --cnme-hero-img: url("/wp-content/uploads/arhiva/site/5-deschidere-an.jpg");    --cnme-hero-y: 40%; }
.cnme-sec-sectii              { --cnme-hero-img: url("/wp-content/uploads/arhiva/site/3-costume-banatene.jpg"); --cnme-hero-y: 35%; }
.cnme-sec-evenimente-derulate { --cnme-hero-img: url("/wp-content/uploads/arhiva/site/2-hora-muzeu.jpg");       --cnme-hero-y: 60%; }

/* ---------- Anunțuri: prima pagină ---------- */
.cnme-news-head { margin-bottom: 1.6rem !important; }
.cnme-news .wp-block-post-template { gap: 1.4rem; }
.cnme-news-card { display: flex; flex-direction: column; gap: .5rem; border-top: 4px solid var(--global-palette7, #efe3cf); }
.cnme-news-card:hover { border-top-color: var(--cnme-gold); }
.cnme-news-meta { gap: .6rem !important; align-items: center; font-size: .82rem; }
.cnme-news-meta .wp-block-post-date { color: var(--global-palette6, #857a6f); font-weight: 600; }
.cnme-news-meta .wp-block-post-terms a {
	background: var(--global-palette7, #efe3cf); color: var(--cnme-indigo); text-decoration: none;
	padding: .2em .7em; border-radius: 999px; font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em;
}
.cnme-news-card .wp-block-post-title { font-size: 1.15rem; line-height: 1.35; margin: .2rem 0 0; }
.cnme-news-card .wp-block-post-title a { text-decoration: none; color: inherit; }
.cnme-news-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.cnme-news-card .wp-block-post-excerpt { color: var(--global-palette5, #584e46); font-size: .95rem; flex: 1; }
.cnme-news-card .wp-block-post-excerpt p { margin: 0; }
.cnme-news-card .cnme-arrow { margin-top: auto; font-weight: 700; color: var(--cnme-indigo); font-size: .92rem; }

/* anunț fixat (important) */
.cnme-news .cnme-important .cnme-news-card,
.cnme-important.loop-entry { border-top-color: #d64545 !important; }
.cnme-news .cnme-important .cnme-news-meta::before,
.cnme-important.loop-entry .entry-header::before {
	content: "Important"; background: #d64545; color: #fff; font-weight: 800; font-size: .72rem;
	text-transform: uppercase; letter-spacing: .06em; padding: .25em .7em; border-radius: 999px; display: inline-block;
}
.cnme-important.loop-entry .entry-header::before { margin-bottom: .6rem; }

/* ---------- Anunțuri: lista completă și anunțul individual ---------- */
.blog .loop-entry, .archive .loop-entry {
	border-radius: var(--cnme-radius); box-shadow: var(--cnme-shadow); border-top: 4px solid var(--global-palette7, #efe3cf);
	transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.blog .loop-entry:hover, .archive .loop-entry:hover { transform: translateY(-5px); box-shadow: var(--cnme-shadow-hover); border-top-color: var(--cnme-gold); }
.loop-entry .entry-title { font-size: 1.2rem; line-height: 1.35; }
.loop-entry .entry-taxonomies a, .single .entry-hero .entry-taxonomies a {
	background: var(--global-palette7, #efe3cf); color: var(--cnme-indigo) !important; text-decoration: none;
	padding: .2em .7em; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .05em;
}
.single .entry-hero .entry-meta, .single .entry-hero .entry-meta a { color: rgba(255, 255, 255, .85); }
body.single-post .entry-content > p { font-size: 1.0625rem; line-height: 1.75; }

/* fără autor în listă și în articol (anunțurile sunt ale școlii) */
.entry-meta .posted-by, .entry-meta .posted-by + .meta-divider { display: none !important; }

/* antetul anunțurilor (lista, categoriile și fiecare anunț) */
.blog .entry-hero .entry-hero-container-inner,
.category .entry-hero .entry-hero-container-inner,
.single-post .entry-hero .entry-hero-container-inner {
	background:
		linear-gradient(90deg, rgba(40, 18, 12, .55) 0%, rgba(40, 18, 12, .25) 50%, rgba(40, 18, 12, 0) 100%),
		url("/wp-content/uploads/arhiva/site/antet-anunturi.jpg?v=2") 70% 50% / cover no-repeat;
}
@media (max-width: 767px) {
	.blog .entry-hero .entry-hero-container-inner,
	.category .entry-hero .entry-hero-container-inner,
	.single-post .entry-hero .entry-hero-container-inner {
		background:
			linear-gradient(rgba(40, 18, 12, .62), rgba(40, 18, 12, .62)),
			url("/wp-content/uploads/arhiva/site/antet-anunturi.jpg?v=2") 72% 50% / cover no-repeat;
	}
}


/* =========================================================
   Motiv bănățean: bandă de cusătură (romburi în trepte, roșu, negru, galben)
   ========================================================= */
:root {
	--cj-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16' viewBox='0 0 48 16' shape-rendering='crispEdges'%3E%3Crect width='48' height='16' fill='%23faf5ec'/%3E%3Cg fill='%23a82a24'%3E%3Crect x='22' y='1' width='4' height='2'/%3E%3Crect x='20' y='3' width='8' height='2'/%3E%3Crect x='18' y='5' width='12' height='2'/%3E%3Crect x='16' y='7' width='16' height='2'/%3E%3Crect x='18' y='9' width='12' height='2'/%3E%3Crect x='20' y='11' width='8' height='2'/%3E%3Crect x='22' y='13' width='4' height='2'/%3E%3C/g%3E%3Cg fill='%231f1a16'%3E%3Crect x='22' y='7' width='4' height='2'/%3E%3Crect x='0' y='7' width='2' height='2'/%3E%3Crect x='46' y='7' width='2' height='2'/%3E%3Crect x='4' y='3' width='2' height='2'/%3E%3Crect x='4' y='11' width='2' height='2'/%3E%3Crect x='42' y='3' width='2' height='2'/%3E%3Crect x='42' y='11' width='2' height='2'/%3E%3C/g%3E%3Cg fill='%23e0a526'%3E%3Crect x='8' y='7' width='4' height='2'/%3E%3Crect x='36' y='7' width='4' height='2'/%3E%3C/g%3E%3C/svg%3E");
}
.cj-band { height: 16px; background: var(--cj-band) repeat-x center / auto 16px; }
/* bandă subțire deasupra antetului site-ului și deasupra subsolului */
body::before { content: ""; display: block; height: 10px; background: var(--cj-band) repeat-x center / auto 10px; position: relative; z-index: 100; }
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ""; display: block; height: 16px; background: var(--cj-band) repeat-x center / auto 16px; }

/* titluri serif, ușor mai calde */
.cnme-section-title::after { background: var(--cnme-red); height: 3px; }
.cnme-eyebrow { background: #f3e2d0; color: var(--cnme-red); }

/* sigla Centrului nu e rotundă: fără cadru, doar umbră pe contur */
.cnme-hero .cj-emblem img {
	border-radius: 0; box-shadow: none; width: min(320px, 62vw);
	filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)) drop-shadow(0 0 1px rgba(255, 255, 255, .6));
}
.site-branding .custom-logo { border-radius: 0; }
/* fotografii cu ramă crem, ca un tablou */
.cj-photo-frame img { border: 10px solid #fff; box-shadow: 0 0 0 1px #e6d6bc, var(--cnme-shadow-hover); }
/* afișele din anunțuri */
.cnme-news-card .cj-news-img { margin: -1.6rem -1.6rem .4rem !important; }
.cnme-news-card .cj-news-img img { border-radius: var(--cnme-radius) var(--cnme-radius) 0 0; object-position: center top; }
/* lista cursurilor cu durata la dreapta */
.cj-course-list { list-style: none; padding: 0; margin: .4rem 0 0; }
.cj-course-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.cj-course-list li span { color: var(--cnme-gold); font-weight: 700; white-space: nowrap; }
.cj-courses .cnme-card h3 { color: #fff; border-bottom: 2px solid var(--cnme-gold); padding-bottom: .4rem; }
.cnme-hero h1 { font-weight: 700; letter-spacing: -.01em; }

/* =========================================================
   AȘEZAREA PROPRIE A CENTRULUI (diferită de colegiu)
   ========================================================= */
body { background: #faf5ec; }
.cj-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cnme-red); margin-bottom: .5rem !important; }
.cj-title { font-family: Lora, Georgia, serif; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-top: 0; }
.cj-more a { font-weight: 700; color: var(--cnme-red); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.cj-more a::after { content: " →"; }

/* --- antet instituțional: sigla și numele la stânga, meniul la dreapta, bandă bănățeană dedesubt --- */
.site-header .site-main-header-wrap { background: #fff; position: relative; }
.site-header .site-main-header-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: var(--cj-band) repeat-x center / auto 8px; z-index: 2; pointer-events: none; }
.site-header .site-branding .site-title { font-family: Lora, Georgia, serif; font-size: 1.12rem; line-height: 1.2; color: #1f1a16; max-width: 15rem; }
.site-header .site-branding a.brand { gap: .8rem; }
.site-header .main-navigation .primary-menu-container > ul > li.menu-item > a { font-size: .9rem; font-weight: 600; padding-top: 1.2em; padding-bottom: 1.2em; }
.site-header .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.site-header .main-navigation .primary-menu-container > ul > li > a:hover { color: var(--cnme-red); box-shadow: inset 0 -3px 0 var(--cnme-red); }

/* --- prima pagină: text + colaj --- */
.cj-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); background:
	radial-gradient(circle at 85% 20%, rgba(224, 165, 38, .16), transparent 45%), #faf5ec; }
.cj-hero h1 { font-family: Lora, Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.04; margin: .2em 0 .45em; color: #1f1a16; }
.cj-hero h1 em { display: block; font-style: italic; color: var(--cnme-red); }
.cj-lead { font-size: 1.15rem; color: #584e46; max-width: 34rem; }
.cj-hero-quote { margin-top: 2rem !important; font-family: Lora, Georgia, serif; font-style: italic; color: #857a6f; border-top: 1px solid #e6d6bc; padding-top: 1rem; max-width: 30rem; }
.cj-hero-quote span { font-style: normal; font-weight: 700; color: #584e46; }
.cj-btn-red .wp-block-button__link { background: var(--cnme-red) !important; color: #fff !important; border-radius: 4px !important; padding: .9em 1.6em; font-weight: 700; letter-spacing: .02em; }
.cj-btn-line .wp-block-button__link { border: 2px solid #1f1a16 !important; color: #1f1a16 !important; background: transparent !important; border-radius: 4px !important; padding: .8em 1.5em; font-weight: 700; }
.cj-btn-red .wp-block-button__link:hover, .cj-btn-line .wp-block-button__link:hover { transform: translateY(-2px); }

.cj-collage { position: relative; min-height: 540px; }
.cj-collage .wp-block-image { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; box-shadow: 0 25px 50px -20px rgba(70, 35, 10, .45); transition: transform .5s cubic-bezier(.2, .7, .2, 1), z-index 0s; }
.cj-collage .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cj-collage .wp-block-image:nth-child(1) { top: 0; right: 2%; width: 66%; transform: rotate(2.5deg); z-index: 1; }
.cj-collage .wp-block-image:nth-child(2) { top: 38%; left: 0; width: 46%; transform: rotate(-4deg); z-index: 3; }
.cj-collage .wp-block-image:nth-child(3) { bottom: 0; right: 6%; width: 46%; transform: rotate(3deg); z-index: 2; }
.cj-collage .wp-block-image:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.cj-collage::before { content: ""; position: absolute; inset: 8% 10% 8% 14%; background: var(--cj-band) repeat center / 48px 16px; opacity: .25; border-radius: 6px; }
@media (max-width: 900px) {
	.cj-collage { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.cj-collage::before { display: none; }
	.cj-collage .wp-block-image { position: static; width: auto !important; transform: none !important; padding: 6px; }
	.cj-collage .wp-block-image:first-child { grid-column: 1 / -1; }
}

/* --- panglica roșie cu cifre --- */
.cj-ribbon { background: var(--cnme-red); color: #fff; padding: 2.2rem 0 !important; position: relative; }
.cj-ribbon::before, .cj-ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--cj-band) repeat-x center / auto 10px; }
.cj-ribbon::before { top: -10px; } .cj-ribbon::after { bottom: -10px; }
.cj-ribbon-cols .wp-block-column { text-align: center; border-left: 1px solid rgba(255, 255, 255, .25); }
.cj-ribbon-cols .wp-block-column:first-child { border-left: 0; }
.cj-ribbon-num { font-family: Lora, Georgia, serif; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; line-height: 1; margin: 0 !important; }
.cj-ribbon-label { margin: .3rem 0 0 !important; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; opacity: .9; }

/* --- afișele pe un rând --- */
.cj-posters-section { padding: 5rem 0 3rem; }
.cj-section-head { margin-bottom: 1.5rem !important; }
.cj-posters .wp-block-post-template { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .2rem 1.5rem; margin: 0; list-style: none; scrollbar-color: var(--cnme-red) #efe3cf; }
.cj-posters .wp-block-post-template > li { flex: 0 0 min(250px, 70vw); scroll-snap-align: start; margin: 0; }
.cj-poster .wp-block-post-featured-image { margin: 0 0 .8rem; background: #fff; padding: 8px; box-shadow: 0 18px 30px -18px rgba(70, 35, 10, .5); transition: transform .35s; }
.cj-poster .wp-block-post-featured-image img { object-position: center top; }
.cj-poster:hover .wp-block-post-featured-image { transform: translateY(-6px) rotate(-1deg); }
.cj-poster-date { font-size: .8rem; font-weight: 700; color: var(--cnme-red); text-transform: uppercase; letter-spacing: .08em; }
.cj-poster .wp-block-post-title { font-size: 1.02rem; line-height: 1.35; margin: .2rem 0 0; font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.cj-poster .wp-block-post-title a { color: #1f1a16; text-decoration: none; }

/* --- despre --- */
.cj-about { background: #fff; padding: 5rem 0 !important; border-top: 1px solid #e6d6bc; border-bottom: 1px solid #e6d6bc; }
.cj-ornament { color: var(--cnme-red); font-size: 1.8rem; margin: 0 0 .5rem !important; }
.cj-about-text { font-size: 1.15rem; line-height: 1.8; color: #584e46; }

/* --- secții în zig-zag --- */
.cj-zigzag { padding: 5rem 0 3rem; }
.cj-zig { gap: clamp(2rem, 5vw, 4.5rem) !important; margin-bottom: 4rem !important; }
.cj-zig-rev > .wp-block-column:first-child { order: 2; }
@media (max-width: 781px) { .cj-zig-rev > .wp-block-column:first-child { order: 0; } }
.cj-zig-title { font-family: Lora, Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 .7rem; }
.cj-zig-title a { color: #1f1a16; text-decoration: none; background: linear-gradient(var(--cnme-gold), var(--cnme-gold)) no-repeat 0 92% / 0 .3em; transition: background-size .4s; }
.cj-zig:hover .cj-zig-title a { background-size: 100% .3em; }
.cj-tile { aspect-ratio: 4 / 3; display: grid; place-items: center; border-radius: 6px; position: relative; overflow: hidden; box-shadow: 0 25px 45px -25px rgba(70, 35, 10, .6); }
.cj-tile::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(255, 255, 255, .45); border-radius: 4px; }
.cj-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--cj-band) repeat-x center / auto 16px; }
.cj-tile-blue { background: #173f5f; } .cj-tile-red { background: #a82a24; } .cj-tile-yellow { background: #e0a526; } .cj-tile-dark { background: #2f2925; }
.cj-tile-icon { font-size: clamp(4rem, 9vw, 6.5rem); margin: 0 !important; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3)); transition: transform .5s; }
.cj-zig:hover .cj-tile-icon { transform: scale(1.12) rotate(-6deg); }

/* --- programul cursurilor --- */
.cj-programme-section { padding: 4rem 0 !important; background: #173f5f; }
.cj-programme { background: #fffdf8; padding: clamp(2rem, 5vw, 3.5rem) !important; border: 1px solid #e6d6bc; outline: 6px double #e6d6bc; outline-offset: -16px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.cj-programme-cols { gap: 3rem !important; margin-top: 2rem !important; }
.cj-programme h3 { font-family: Lora, Georgia, serif; font-style: italic; color: var(--cnme-red); font-size: 1.3rem; margin: 1.4rem 0 .5rem; }
.cj-programme .wp-block-column > h3:first-child { margin-top: 0; }
.cj-prog { list-style: none; padding: 0; margin: 0; }
.cj-prog li { display: flex; align-items: baseline; padding: .35rem 0; }
.cj-prog li::after { content: ""; flex: 1; order: 2; border-bottom: 2px dotted #c9b48f; margin: 0 .6rem; transform: translateY(-.25em); }
.cj-prog li span { order: 3; font-weight: 700; color: #1f1a16; white-space: nowrap; }

/* --- istoric --- */
.cj-history { padding: 5rem 0 !important; }
.cj-year { font-family: Lora, Georgia, serif; font-size: clamp(5rem, 13vw, 9.5rem); font-weight: 700; line-height: .9; color: var(--cnme-red); margin: 0 !important; letter-spacing: -.03em; }
.cj-year-caption { font-family: Lora, Georgia, serif; font-style: italic; color: #857a6f; border-top: 3px solid var(--cnme-gold); padding-top: .8rem; max-width: 18rem; }

/* --- pași de înscriere --- */
.cj-steps-section { background: #fff; padding: 5rem 0 !important; border-top: 1px solid #e6d6bc; }
.cj-steps { margin-top: 2.5rem; position: relative; }
.cj-steps, .cj-steps > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.cj-steps > .wp-block-group__inner-container { grid-column: 1 / -1; }
.cj-steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; border-top: 2px dashed #c9b48f; }
.cj-step { text-align: center; position: relative; }
.cj-step-num { width: 56px; height: 56px; margin: 0 auto 1rem !important; border-radius: 50%; background: var(--cnme-red); color: #fff; display: grid; place-items: center; font-family: Lora, Georgia, serif; font-size: 1.5rem; font-weight: 700; box-shadow: 0 0 0 6px #fff, 0 0 0 7px #e6d6bc; }
.cj-step h3 { font-family: Lora, Georgia, serif; font-size: 1.25rem; margin: 0 0 .4rem; }
@media (max-width: 781px) { .cj-steps, .cj-steps > .wp-block-group__inner-container { grid-template-columns: 1fr; } .cj-steps::before { display: none; } }

/* --- subsol pe 3 coloane --- */
.site-footer { background: #10283d; color: rgba(255, 255, 255, .82); }
.site-footer .site-middle-footer-wrap, .site-footer .site-bottom-footer-wrap, .site-footer .site-top-footer-wrap { background: transparent; }
.site-footer a { color: #fff; }
.cj-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; text-align: left; padding: 2.5rem 0 1.5rem; }
.cj-footer h4 { font-family: Lora, Georgia, serif; color: #fff; font-size: 1.15rem; margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--cnme-red); display: inline-block; }
.cj-footer p { margin: 0 0 .5rem; line-height: 1.6; }
.cj-footer ul { list-style: none; margin: 0; padding: 0; }
.cj-footer li { margin: 0 0 .35rem; }
.cj-footer-copy { border-top: 1px solid rgba(255, 255, 255, .15); padding: 1rem 0; font-size: .85rem; text-align: center; opacity: .8; }
@media (max-width: 781px) { .cj-footer { grid-template-columns: 1fr; } }

/* --- pagini interioare: antet mai jos, titlu la stânga, conținut pe „hârtie” crem --- */
.entry-hero .entry-header { min-height: 220px; text-align: left; align-items: flex-start; padding: 2.5rem 0 2.2rem; }
.entry-hero .entry-title, .entry-hero .archive-title { margin-left: 0; text-align: left; }
.entry-hero .kadence-breadcrumbs { text-align: left; }
.content-bg, .site-main .entry.single-entry { background: transparent; box-shadow: none; }
body:not(.home) .entry-content > h2 { font-family: Lora, Georgia, serif; border-bottom-color: #e6d6bc; }
body:not(.home) .entry-content > h3 { color: var(--cnme-red); }

/* ---------- Pagina „Despre noi” ---------- */
.cj-dn-intro { padding: 3.5rem 0 1rem !important; }
.cj-dn-lead { font-family: Lora, Georgia, serif; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: #1f1a16; }
.cj-dn-istoric { padding: 2.5rem 0 4rem !important; }
.cj-dn-istoric p { text-align: justify; }
.cj-dn-istoric > .wp-block-group__inner-container > p:first-of-type:not(.cj-kicker)::first-letter,
.cj-dn-istoric > p:not(.cj-kicker):first-of-type::first-letter { float: left; font-family: Lora, Georgia, serif; font-weight: 700; font-size: 3.6em; line-height: .9; margin: .08em .12em 0 0; color: var(--cnme-red); }

.cj-dn-video { background: #173f5f; color: #f3ead9; padding: 4.5rem 0 !important; position: relative; }
.cj-dn-video::before, .cj-dn-video::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--cj-band); background-size: auto 100%; }
.cj-dn-video::before { top: 0; } .cj-dn-video::after { bottom: 0; }
.cj-dn-video .cj-title, .cj-dn-video strong { color: #fff; }
.cj-dn-video .cj-kicker { color: #e0a526; }
.cj-video { position: relative; aspect-ratio: 16 / 9; border: 8px solid #faf5ec; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); background: radial-gradient(circle at 30% 30%, #2a5c84, #0f2a40 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1rem; }
.cj-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cj-play { width: 88px; height: 88px; border-radius: 50%; border: 0; background: var(--cnme-red); color: #fff; font-size: 2rem; cursor: pointer; padding-left: 6px; animation: cj-pulse 2s infinite; transition: transform .2s, background .2s; }
.cj-play:hover, .cj-play:focus-visible { background: #e0a526; color: #1f1a16; transform: scale(1.06); }
@keyframes cj-pulse { 0% { box-shadow: 0 0 0 0 rgba(224,165,38,.6); } 70% { box-shadow: 0 0 0 22px rgba(224,165,38,0); } 100% { box-shadow: 0 0 0 0 rgba(224,165,38,0); } }
@media (prefers-reduced-motion: reduce) { .cj-play { animation: none; } }
.cj-video-note { font-size: .85rem; color: #cfdbe6; margin: 0; max-width: 28rem; }
.cj-video-note a { color: #e0a526; }

.cj-dn-team { padding: 4.5rem 0 3rem !important; }
.cj-dn-team-text { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.cj-people { gap: 2rem !important; margin-top: 2.5rem !important; max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.cj-person { background: #fffdf8; border: 1px solid #e6d6bc; border-top: 5px solid var(--cnme-red); padding: 2rem 1.5rem !important; text-align: center; transition: transform .25s, box-shadow .25s; }
.cj-person:nth-child(2) { border-top-color: #173f5f; }
.cj-person:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -25px rgba(31,26,22,.5); }
.cj-monogram { width: 96px; height: 96px; margin: 0 auto 1rem !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Lora, Georgia, serif; font-weight: 700; font-size: 2rem; color: #fff; background: var(--cnme-red); outline: 3px dotted #e0a526; outline-offset: 5px; }
.cj-person:nth-child(2) .cj-monogram { background: #173f5f; }
.cj-person h3 { margin: 0 0 .3rem; font-size: 1.25rem; }
.cj-role { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #857a6f; margin: 0; }

.cj-dn-courses { padding: 3rem 0 2.5rem !important; }
.page .cj-programme-section { margin-top: 0 !important; }
.cj-dn-more { padding: 3rem 0 4.5rem !important; }
.cj-video.cnme-map-consent { min-height: 0; border-radius: 0; padding: 1rem; background: radial-gradient(circle at 30% 30%, #2a5c84, #0f2a40 70%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.cj-video .cnme-map-load.cj-play { border-radius: 50%; padding: 0 0 0 6px; background: var(--cnme-red); }
.cj-video .cnme-map-load.cj-play:hover { background: #e0a526; }
.cj-dn-team .cj-people, .cj-dn-team .cj-people > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 20rem)); justify-content: center; gap: 2rem; }
.cj-dn-team .cj-people:has(> .wp-block-group__inner-container) { display: block; }
@media (max-width: 1200px) {
	.cj-dn-intro, .cj-dn-istoric, .cj-dn-video, .cj-dn-team, .cj-dn-courses, .cj-dn-more, .page .cj-programme-section { padding-left: 1rem !important; padding-right: 1rem !important; }
}
.home .cj-dn-video { margin-top: 0 !important; margin-bottom: 0 !important; }
.cj-portrait { width: 150px; height: 150px; margin: 0 auto 1.2rem !important; border-radius: 50%; overflow: hidden; outline: 3px dotted #e0a526; outline-offset: 5px; border: 4px solid var(--cnme-red); }
.cj-person:nth-child(2) .cj-portrait { border-color: #173f5f; }
.cj-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
/* ---------- Pagina „Secții”: cursurile deasupra cardurilor ---------- */
.cj-sx-courses { padding: .5rem 0 2rem !important; }
.cj-sx-programme { margin: 0 0 3.5rem !important; }
.cj-sx-programme + .cnme-cards, .cj-sx-programme ~ .cnme-cards { margin-top: 0 !important; }
/* „Anunțuri și concursuri”: carduri cu chenar auriu */
.entry-content ul.cj-notices { gap: 1rem; }
.entry-content ul.cj-notices li { border-color: #e0a526; border-radius: 14px; padding: 1.1rem 1.4rem 1.1rem 3.6rem; box-shadow: 0 14px 30px -22px rgba(31,26,22,.45); font-size: 1.05rem; }
.entry-content ul.cj-notices li::before { left: 1.3rem; top: 1.15rem; width: 1.5rem; height: 1.5rem; }
.entry-content ul.cj-notices li:hover { box-shadow: 0 20px 40px -22px rgba(31,26,22,.55); transform: translateY(-2px); }
.entry-content ul.cj-notices a { color: var(--cnme-red); font-weight: 700; }
.entry-content ul.cj-notices em { display: block; margin-top: .3rem; font-size: .95rem; color: #584e46; }

/* ---------- Evenimente derulate: ani pliabili, carduri cu album ---------- */
.cj-ev-intro { color: #584e46; }
.cj-evyear { margin: 0 0 1.2rem; border: 1px solid #e6d6bc; border-radius: 14px; background: #fffdf8; overflow: hidden; }
.cj-evyear > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-family: Lora, Georgia, serif; font-weight: 700; font-size: 1.25rem; color: #1f1a16; }
.cj-evyear > summary::-webkit-details-marker { display: none; }
.cj-evyear > summary::after { content: ""; margin-left: auto; width: .7rem; height: .7rem; border-right: 2px solid var(--cnme-red); border-bottom: 2px solid var(--cnme-red); transform: rotate(45deg); transition: transform .25s; }
.cj-evyear[open] > summary::after { transform: rotate(225deg); }
.cj-evyear[open] > summary { border-bottom: 1px dashed #e6d6bc; }
.cj-evyear-count { font-family: "Source Sans 3", sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--cnme-red); padding: .2rem .7rem; border-radius: 999px; }
.entry-content ul.cj-events { list-style: none; margin: 0; padding: 1.2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: .9rem; }
.entry-content ul.cj-events li { margin: 0; }
.cj-events li > a, .cj-events li > div { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .95rem 1rem .95rem 3.1rem; background: #fff; border: 1px solid #e0a526; border-radius: 12px; position: relative; text-decoration: none; color: #1f1a16; box-shadow: 0 12px 26px -22px rgba(31,26,22,.5); transition: transform .2s, box-shadow .2s, border-color .2s; }
.cj-events li > a::before { content: ""; position: absolute; left: 1rem; top: 1rem; width: 1.4rem; height: 1.4rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a82a24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E"); }
.cj-events li > a:hover, .cj-events li > a:focus-visible { transform: translateY(-3px); border-color: var(--cnme-red); box-shadow: 0 18px 34px -22px rgba(31,26,22,.6); }
.cj-ev-title { font-weight: 700; font-size: .9rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }
.cj-ev-meta { font-size: .88rem; color: #857a6f; line-height: 1.4; }
.cj-events li > a:hover .cj-ev-title { color: var(--cnme-red); }
@media (max-width: 600px) { .entry-content ul.cj-events { padding: .8rem; } .cj-evyear > summary { font-size: 1.05rem; padding: 1rem; } }

.cj-evyear, .cj-evyear summary, .cj-events { letter-spacing: normal; }
.cj-ev-title, .cj-ev-meta { font-family: "Source Sans 3", sans-serif; }
.cj-evyear-count { white-space: nowrap; flex-shrink: 0; }
.cj-evyear > summary::after { flex-shrink: 0; }
@media (max-width: 600px) { .cj-evyear > summary { flex-wrap: wrap; gap: .4rem .8rem; } .cj-evyear-name { flex: 1 1 70%; } }


/* =========================================================
   PRIMA PAGINĂ – AȘEZARE INSTITUȚIONALĂ (după șablonul „Municipality”),
   cu elementele tradiționale: banda bănățeană, culorile siglei, fontul Lora
   ========================================================= */
.home .content-container, .home .site-main { padding-top: 0 !important; }
.cm-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cnme-red); margin-bottom: .6rem !important; }
.cm-title { font-family: Lora, Georgia, serif; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin-top: 0 !important; color: #1f1a16; text-transform: none; }
.cm-btn .wp-block-button__link { background: var(--cnme-red) !important; color: #fff !important; border-radius: 3px !important; padding: .85em 1.7em !important; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, transform .2s; }
.cm-btn .wp-block-button__link:hover { background: #7f1d19 !important; transform: translateY(-2px); }
.cm-btn-light .wp-block-button__link { background: #e0a526 !important; color: #1f1a16 !important; }
.cm-btn-light .wp-block-button__link:hover { background: #fff !important; }
.cm-btn-center { text-align: center; }
.wp-block-buttons:has(.cm-btn-center) { justify-content: center; margin-top: 2.5rem; }

/* A. fotografia mare + cele 3 „porți” */
.cm-hero { position: relative; color: #fff; padding: clamp(5rem, 11vw, 9rem) 1rem 0 !important; margin-bottom: 0 !important;
	background: linear-gradient(180deg, rgba(16, 40, 61, .35) 0%, rgba(16, 40, 61, .55) 55%, rgba(16, 40, 61, .85) 100%), url("/wp-content/uploads/arhiva/site/4-hora-londra.jpg") center 40% / cover no-repeat; }
.cm-hero .cm-kicker { color: #f3c65a; }
.cm-hero h1 { color: #fff; font-family: Lora, Georgia, serif; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; margin: 0 0 clamp(2.5rem, 6vw, 4.5rem) !important; max-width: 14ch; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.cm-gates { gap: 1.2rem !important; position: relative; bottom: -2.5rem; margin-top: -1rem !important; }
.cm-gate { background: rgba(16, 40, 61, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-top: 4px solid var(--cnme-red); padding: 1.4rem 1.4rem 0 !important; display: flex; flex-direction: column; color: rgba(255, 255, 255, .85); box-shadow: 0 25px 50px -25px rgba(0, 0, 0, .6); }
.cm-gate h3 { margin: 0 0 .5rem; font-size: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.cm-gate h3 a { color: #fff; text-decoration: none; }
.cm-gate h3::before { content: ""; flex: 0 0 44px; height: 44px; background: var(--cnme-red) var(--cm-ic) no-repeat center / 22px; }
.cm-gate p { font-size: .95rem; line-height: 1.55; margin: 0 0 1.2rem; }
.cm-gate .cm-gate-link { margin: auto -1.4rem 0 !important; }
.cm-gate .cm-gate-link a { display: block; text-align: center; padding: .8rem; background: var(--cnme-red); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.cm-gate .cm-gate-link a:hover { background: #e0a526; color: #1f1a16; }
.cm-gate:hover { transform: translateY(-4px); transition: transform .25s; }

/* B. banda de sub fotografie */
.cm-strip { background: #efe3cf; padding: 4.2rem 1rem 1.4rem !important; margin-top: 0 !important; font-size: .95rem; color: #584e46; position: relative; }
.cm-strip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--cj-band) repeat-x center / auto 10px; opacity: .8; }
.cm-strip a { color: var(--cnme-red); font-weight: 700; }

/* C. despre + manager */
.cm-about { padding: clamp(3.5rem, 7vw, 6rem) 1rem !important; margin-top: 0 !important; }
.cm-about .wp-block-columns { gap: clamp(2rem, 5vw, 4.5rem) !important; }
.cm-sign { margin-top: 1.6rem !important; padding-left: 1rem; border-left: 4px solid #e0a526; line-height: 1.4; color: #857a6f; }
.cm-sign strong { font-family: Lora, Georgia, serif; font-size: 1.15rem; color: #1f1a16; }
.cm-portrait-col { position: relative; }
.cm-portrait { margin: 0 !important; }
.cm-portrait img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 15%; filter: grayscale(.15); }
.cm-portrait-note { position: absolute; right: -1rem; bottom: -1.5rem; width: 68%; background: #173f5f; color: #e8eef3; padding: 1.3rem 1.4rem !important; font-size: .92rem; line-height: 1.5; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); border-left: 4px solid #e0a526; }
.cm-portrait-note p { margin: 0; }

/* D. cifrele, pe fotografie */
.cm-stats { padding: 3rem 1rem !important; margin: 0 !important; color: #fff; position: relative;
	background: linear-gradient(rgba(16, 40, 61, .9), rgba(16, 40, 61, .9)), url("/wp-content/uploads/arhiva/site/2-hora-muzeu.jpg") center / cover fixed; }
.cm-stats::before, .cm-stats::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--cj-band) repeat-x center / auto 10px; }
.cm-stats::before { top: 0; } .cm-stats::after { bottom: 0; }
.cm-stats-cols .wp-block-column { text-align: center; }
.cm-stats-cols .wp-block-column + .wp-block-column { border-left: 1px solid rgba(255, 255, 255, .2); }
.cm-stat-num { font-family: Lora, Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; margin: 0 0 .4rem !important; color: #fff; }
.cm-stat-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #f3c65a; margin: 0 !important; }

/* E. școala + pașii de înscriere */
.cm-school { padding: clamp(3.5rem, 7vw, 6rem) 1rem !important; margin: 0 !important; }
.cm-school .wp-block-columns { gap: clamp(1.5rem, 3vw, 2.8rem) !important; }
.cm-tall { margin: 0 !important; height: 100%; }
.cm-tall img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.cm-steps-title { font-family: Lora, Georgia, serif; font-size: 1.3rem; margin: 0 0 1rem; }
.cm-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: .9rem 0 !important; border-bottom: 1px solid #e6d6bc; }
.cm-step:last-child { border-bottom: 0; }
.cm-step-num { grid-row: span 2; width: 48px; height: 48px; margin: 0 !important; background: var(--cnme-red); color: #fff; display: grid; place-items: center; font-family: Lora, Georgia, serif; font-weight: 700; font-size: 1.3rem; }
.cm-step h3 { margin: 0 0 .2rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.cm-step p:not(.cm-step-num) { margin: 0; font-size: .92rem; color: #584e46; }
.cm-step a { color: var(--cnme-red); font-weight: 700; }

/* F. secțiile, ca „departamente” */
.cm-departments { padding: clamp(3.5rem, 7vw, 6rem) 1rem !important; margin: 0 !important; position: relative;
	background: linear-gradient(rgba(239, 227, 207, .93), rgba(239, 227, 207, .96)), url("/wp-content/uploads/arhiva/site/3-costume-banatene.jpg") center / cover; }
.cm-depts { gap: 1.2rem !important; margin-top: 2.5rem !important; }
.cm-dept { background: #fffdf8; padding: 1.6rem 1.5rem !important; border-bottom: 4px solid transparent; box-shadow: 0 16px 34px -26px rgba(31, 26, 22, .55); transition: transform .25s, border-color .25s; display: flex; flex-direction: column; }
.cm-dept:hover { transform: translateY(-4px); border-bottom-color: var(--cnme-red); }
.cm-dept h3 { margin: 0 0 .6rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: .8rem; }
.cm-dept h3::before { content: ""; flex: 0 0 40px; height: 40px; background: #173f5f var(--cm-ic) no-repeat center / 20px; outline: 2px dotted #e0a526; outline-offset: 3px; }
.cm-dept h3 a { color: #1f1a16; text-decoration: none; }
.cm-dept p { font-size: .93rem; color: #584e46; margin: 0 0 1rem; }
.cm-dept .cm-dept-link { margin-top: auto !important; }
.cm-dept .cm-dept-link a { display: inline-block; border: 1.5px solid var(--cnme-red); color: var(--cnme-red); padding: .35rem 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.cm-dept .cm-dept-link a:hover { background: var(--cnme-red); color: #fff; }

/* G. bandă închisă cu fotografie */
.cm-band { padding: clamp(3.5rem, 7vw, 5.5rem) 1rem !important; margin: 0 !important; color: rgba(255, 255, 255, .85);
	background: linear-gradient(90deg, rgba(31, 26, 22, .94) 0%, rgba(31, 26, 22, .78) 100%), url("/wp-content/uploads/arhiva/site/5-deschidere-an.jpg") center 40% / cover; }
.cm-band .cm-kicker { color: #f3c65a; }
.cm-band .cm-title { color: #fff; text-transform: uppercase; letter-spacing: .02em; }

/* video: lipit de banda de deasupra */
.home .cj-dn-video { margin-top: 0 !important; }

/* I. contact, deasupra subsolului */
.cm-contacts { background: #faf5ec; padding: 3rem 1rem !important; margin: 0 !important; }
.cm-contacts-cols { gap: 1.2rem !important; }
.cm-contact { background: #173f5f; color: rgba(255, 255, 255, .85); padding: 1.4rem 1.4rem 1.4rem 5rem !important; position: relative; height: 100%; }
.cm-contact::before { content: ""; position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; background: var(--cnme-red) var(--cm-ic) no-repeat center / 22px; }
.cm-contact h3 { color: #fff; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .3rem; }
.cm-contact p { margin: 0; font-size: .95rem; line-height: 1.5; }
.cm-contact a { color: #f3c65a; text-decoration: none; }

@media (max-width: 900px) {
	.cm-portrait-note { position: static; width: auto; margin-top: -2rem; margin-left: 1.5rem; }
	.cm-tall img { min-height: 260px; }
	.cm-stats-cols { flex-wrap: wrap !important; }
	.cm-stats-cols .wp-block-column { flex-basis: 45% !important; border-left: 0 !important; margin-bottom: 1.5rem; }
	.cm-gates { bottom: -1.5rem; }
}
@media (max-width: 600px) {
	.cm-hero { padding-top: 3.5rem !important; }
	.cm-strip { padding-top: 3rem !important; }
}
.cm-gate-elevi, .cm-ic-elevi, .cm-ct-elevi { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%2010%2012%205%202%2010l10%205%2010-5z'/%3E%3Cpath%20d='M6%2012v5c3%202%209%202%2012%200v-5'/%3E%3C/svg%3E"); }
.cm-gate-scena, .cm-ic-scena, .cm-ct-scena { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2018V5l12-2v13'/%3E%3Ccircle%20cx='6'%20cy='18'%20r='3'/%3E%3Ccircle%20cx='18'%20cy='16'%20r='3'/%3E%3C/svg%3E"); }
.cm-gate-docs, .cm-ic-docs, .cm-ct-docs { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14%202H6a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h12a2%202%200%200%200%202-2V8z'/%3E%3Cpath%20d='M14%202v6h6M8%2013h8M8%2017h5'/%3E%3C/svg%3E"); }
.cm-gate-muzica, .cm-ic-muzica, .cm-ct-muzica { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2018V5l12-2v13'/%3E%3Ccircle%20cx='6'%20cy='18'%20r='3'/%3E%3Ccircle%20cx='18'%20cy='16'%20r='3'/%3E%3C/svg%3E"); }
.cm-gate-dans, .cm-ic-dans, .cm-ct-dans { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='4'%20r='2'/%3E%3Cpath%20d='M12%206v7l-4%207M12%2013l4%207M6%209l6%201%206-3'/%3E%3C/svg%3E"); }
.cm-gate-arte, .cm-ic-arte, .cm-ct-arte { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='13.5'%20cy='6.5'%20r='1'/%3E%3Ccircle%20cx='17.5'%20cy='10.5'%20r='1'/%3E%3Ccircle%20cx='8.5'%20cy='7.5'%20r='1'/%3E%3Ccircle%20cx='6.5'%20cy='12.5'%20r='1'/%3E%3Cpath%20d='M12%202a10%2010%200%200%200%200%2020c1%200%201.5-.8%201.5-1.6%200-.4-.2-.8-.4-1.1-.3-.3-.4-.7-.4-1.1%200-.9.7-1.6%201.6-1.6H16a6%206%200%200%200%206-6c0-4.9-4.5-8.6-10-8.6z'/%3E%3C/svg%3E"); }
.cm-gate-foto, .cm-ic-foto, .cm-ct-foto { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M23%2019a2%202%200%200%201-2%202H3a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h4l2-3h6l2%203h4a2%202%200%200%201%202%202z'/%3E%3Ccircle%20cx='12'%20cy='13'%20r='4'/%3E%3C/svg%3E"); }
.cm-gate-loc, .cm-ic-loc, .cm-ct-loc { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2010c0%207-9%2013-9%2013S3%2017%203%2010a9%209%200%200%201%2018%200z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E"); }
.cm-gate-mail, .cm-ic-mail, .cm-ct-mail { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%204h16a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202H4a2%202%200%200%201-2-2V6a2%202%200%200%201%202-2z'/%3E%3Cpath%20d='m22%206-10%207L2%206'/%3E%3C/svg%3E"); }
.cm-gate-tel, .cm-ic-tel, .cm-ct-tel { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1.9.4%201.8.7%202.7a2%202%200%200%201-.5%202.1L8%209.8a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.7.7a2%202%200%200%201%201.7%202z'/%3E%3C/svg%3E"); }
.cm-gate-pin, .cm-ic-pin, .cm-ct-pin { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2010c0%207-9%2013-9%2013S3%2017%203%2010a9%209%200%200%201%2018%200z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E"); }

/* Kadence pune conținutul secțiunilor într-un „inner-container”: îl limităm la lățimea paginii */
.cm-hero > .wp-block-group__inner-container, .cm-strip > .wp-block-group__inner-container, .cm-about > .wp-block-group__inner-container,
.cm-stats > .wp-block-group__inner-container, .cm-school > .wp-block-group__inner-container, .cm-departments > .wp-block-group__inner-container,
.cm-band > .wp-block-group__inner-container, .cm-contacts > .wp-block-group__inner-container { max-width: 1200px; margin-left: auto; margin-right: auto; }
.cm-hero h1 { max-width: 16ch !important; margin-left: 0 !important; }
/* aceleași reguli și pe „inner-container”-ul pus de Kadence */
.cm-step > .wp-block-group__inner-container { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; }
.cm-step:has(> .wp-block-group__inner-container) { display: block; }
.cm-gate > .wp-block-group__inner-container, .cm-dept > .wp-block-group__inner-container { display: flex; flex-direction: column; height: 100%; }
.cm-gate > .wp-block-group__inner-container > .cm-gate-link { margin-top: auto !important; }
.cm-dept > .wp-block-group__inner-container > .cm-dept-link { margin-top: auto !important; }
.cm-steps > .wp-block-group__inner-container > .cm-step:last-child { border-bottom: 0; }
.cm-hero { z-index: 2; }
.cm-gates > .wp-block-group__inner-container, .cm-depts > .wp-block-group__inner-container { display: grid; gap: 1.2rem; align-items: stretch; }
.cm-gates > .wp-block-group__inner-container { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.cm-depts > .wp-block-group__inner-container { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.cm-gates:has(> .wp-block-group__inner-container), .cm-depts:has(> .wp-block-group__inner-container) { display: block; }
.cm-gate, .cm-dept { height: 100%; }

/* =========================================================
   PAGINILE INTERIOARE – ACELAȘI STIL INSTITUȚIONAL CA PRIMA PAGINĂ
   (colțuri drepte, albastru închis + roșu, butoane cu majuscule, banda bănățeană)
   ========================================================= */
body:not(.home) { background: #fff; }

/* antetul paginii: fotografie sub un strat albastru închis, titlu mare, firimituri */
.entry-hero .entry-hero-container-inner,
.cnme-sec-despre-noi .entry-hero .entry-hero-container-inner,
.cnme-sec-sectii .entry-hero .entry-hero-container-inner,
.cnme-sec-evenimente-derulate .entry-hero .entry-hero-container-inner {
	background-image: linear-gradient(90deg, rgba(16, 40, 61, .94) 0%, rgba(16, 40, 61, .78) 55%, rgba(16, 40, 61, .55) 100%), var(--cnme-hero-img, url("/wp-content/uploads/arhiva/site/4-hora-londra.jpg"));
	background-size: cover; background-repeat: no-repeat; background-position: center var(--cnme-hero-y, 45%);
}
.entry-hero .entry-header { min-height: 260px; padding: 3rem 0 2.6rem; }
.entry-hero .entry-title, .entry-hero .archive-title { font-family: Lora, Georgia, serif; font-size: clamp(2rem, 4.2vw, 3.2rem); position: relative; padding-bottom: .9rem; }
.entry-hero .entry-title::after, .entry-hero .archive-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--cnme-red); }
.entry-hero .kadence-breadcrumbs { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; }
.entry-hero .kadence-breadcrumbs .bc-delimiter { color: #f3c65a; }

/* titluri din conținut: etichetă roșie scurtă deasupra, fără linie lungă */
body:not(.home) .entry-content > h2 { font-family: Lora, Georgia, serif; border-bottom: 0 !important; padding-bottom: 0; position: relative; padding-top: .9rem; }
body:not(.home) .entry-content > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 4px; background: var(--cnme-red); }
body:not(.home) .entry-content > h3 { color: #173f5f; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }

/* toate butoanele: dreptunghiulare, roșii, cu majuscule */
.entry-content .wp-block-button__link { background: var(--cnme-red); color: #fff; border-radius: 3px !important; padding: .85em 1.7em; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.entry-content .wp-block-button__link:hover { background: #7f1d19; color: #fff; }

/* carduri cu subpagini (Secții, Transparență, secția de muzică…) ca „departamentele” de pe prima pagină */
.cnme-card { border-radius: 0; box-shadow: 0 16px 34px -26px rgba(31, 26, 22, .55); border: 1px solid #efe3cf; border-bottom: 4px solid transparent; background: #fffdf8; padding: 1.6rem 1.5rem !important; }
.cnme-card:hover { transform: translateY(-4px); border-bottom-color: var(--cnme-red); box-shadow: 0 22px 40px -26px rgba(31, 26, 22, .6); }
.cnme-card h3 { text-transform: uppercase; letter-spacing: .03em; font-size: 1.02rem; display: flex; align-items: center; gap: .8rem; }
.cnme-card h3::before { content: ""; flex: 0 0 38px; height: 38px; background: #173f5f var(--cm-ic, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E")) no-repeat center / 19px; outline: 2px dotted #e0a526; outline-offset: 3px; }
.cnme-card h3 a:hover { color: var(--cnme-red); }
.cnme-card .cnme-arrow { margin-top: 1rem !important; display: inline-block; border: 1.5px solid var(--cnme-red); color: var(--cnme-red); padding: .3rem .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.cnme-card .cnme-arrow::after { content: ""; }
.cnme-card:hover .cnme-arrow { background: var(--cnme-red); color: #fff; }

/* anunțuri / documente: carduri drepte, cu bară roșie la stânga */
.entry-content ul.cnme-docs li, .entry-content ul.cj-notices li { border-radius: 0; border: 1px solid #efe3cf; border-left: 4px solid var(--cnme-red); background: #fffdf8; }
.entry-content ul.cj-notices li:hover, .entry-content ul.cnme-docs li:hover { border-color: #efe3cf; border-left-color: #173f5f; }

/* evenimente: anii și cardurile, drepte */
.cj-evyear { border-radius: 0; border-color: #efe3cf; background: #fff; }
.cj-evyear > summary { background: #173f5f; color: #fff; }
.cj-evyear > summary::after { border-color: #f3c65a; }
.cj-evyear[open] > summary { border-bottom: 0; }
.cj-evyear-count { background: var(--cnme-red); }
.cj-events li > a, .cj-events li > div { border-radius: 0; border: 1px solid #efe3cf; border-bottom: 3px solid transparent; background: #fffdf8; }
.cj-events li > a:hover, .cj-events li > a:focus-visible { border-color: #efe3cf; border-bottom-color: var(--cnme-red); }

/* Despre noi: echipa, introducerea */
.cj-person { border-radius: 0; border-top-width: 4px; background: #fffdf8; }
.cj-portrait { border-radius: 0; width: 160px; height: 180px; outline: 0; border: 0; box-shadow: 6px 6px 0 #e0a526; }
.cj-dn-lead { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

/* Secții: programul cursurilor, drept */
.cj-programme { outline: 0; border: 1px solid #efe3cf; border-top: 4px solid var(--cnme-red); box-shadow: 0 20px 40px -30px rgba(31, 26, 22, .5); }

/* Contact: datele în casete albastre, harta dreaptă */
.cnme-contact-item { background: #173f5f; color: rgba(255, 255, 255, .88); padding: .9rem 1.1rem; margin: 0 0 .6rem !important; border-left: 4px solid var(--cnme-red); }
.cnme-contact-item a { color: #f3c65a; }
.entry-content ul.cnme-feature-list { list-style: none; padding: 0; }
.entry-content ul.cnme-feature-list li { padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid #efe3cf; position: relative; }
.entry-content ul.cnme-feature-list li::before { content: ""; position: absolute; left: 0; top: .8rem; width: 1.3rem; height: 1.3rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a82a24' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.cnme-map, .cnme-map-consent, .cnme-map iframe { border-radius: 0 !important; }
.cnme-map-consent { background: #efe3cf; }
.cnme-map-load { border-radius: 3px; background: var(--cnme-red); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* tabele */
.entry-content table th { background: #173f5f; color: #fff; }

/* iconițe pe cardurile de secții, după adresa linkului */
.cnme-card:has(h3 a[href*="muzica"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2018V5l12-2v13'/%3E%3Ccircle%20cx='6'%20cy='18'%20r='3'/%3E%3Ccircle%20cx='18'%20cy='16'%20r='3'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="clasa"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M9%2018V5l12-2v13'/%3E%3Ccircle%20cx='6'%20cy='18'%20r='3'/%3E%3Ccircle%20cx='18'%20cy='16'%20r='3'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="coregrafie"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='4'%20r='2'/%3E%3Cpath%20d='M12%206v7l-4%207M12%2013l4%207M6%209l6%201%206-3'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="arte-plastice"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='13.5'%20cy='6.5'%20r='1'/%3E%3Ccircle%20cx='17.5'%20cy='10.5'%20r='1'/%3E%3Ccircle%20cx='8.5'%20cy='7.5'%20r='1'/%3E%3Ccircle%20cx='6.5'%20cy='12.5'%20r='1'/%3E%3Cpath%20d='M12%202a10%2010%200%200%200%200%2020c1%200%201.5-.8%201.5-1.6%200-.4-.2-.8-.4-1.1-.3-.3-.4-.7-.4-1.1%200-.9.7-1.6%201.6-1.6H16a6%206%200%200%200%206-6c0-4.9-4.5-8.6-10-8.6z'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="fotografica"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M23%2019a2%202%200%200%201-2%202H3a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2h4l2-3h6l2%203h4a2%202%200%200%201%202%202z'/%3E%3Ccircle%20cx='12'%20cy='13'%20r='4'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="caransebes"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2010c0%207-9%2013-9%2013S3%2017%203%2010a9%209%200%200%201%2018%200z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E"); }
.cnme-card:has(h3 a[href*="bocsa"]) { --cm-ic: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M21%2010c0%207-9%2013-9%2013S3%2017%203%2010a9%209%200%200%201%2018%200z'/%3E%3Ccircle%20cx='12'%20cy='10'%20r='3'/%3E%3C/svg%3E"); }

/* ---------- Revizie 16.11.2026 ---------- */
/* Cele 6 secții câte 3 pe rând (nu 4 + 2). */
@media (min-width: 900px) {
	.cm-depts > .wp-block-group__inner-container, .cm-depts:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* Butonul de accesibilitate în dreapta jos pe telefon, ca să nu acopere textul. */
@media (max-width: 767px) {
	.djacc--sticky.djacc--bottom-left { left: auto !important; right: 12px !important; bottom: 12px !important; }
}
