/*
	Erasmus CNSH visual polish
	Presentation-only overrides shared by the static pages.
*/

:root {
	--cnsh-blue-950: #061a38;
	--cnsh-blue-900: #082b5c;
	--cnsh-blue-800: #0b3d7d;
	--cnsh-blue-700: #0756a6;
	--cnsh-blue-600: #0877c9;
	--cnsh-blue-100: #dceeff;
	--cnsh-gold: #f2c84b;
	--cnsh-gold-soft: #fff2b8;
	--cnsh-ink: #17263b;
	--cnsh-muted: #5d6b7e;
	--cnsh-bg: #f4f7fb;
	--cnsh-surface: #ffffff;
	--cnsh-border: rgba(7, 69, 137, 0.14);
	--cnsh-shadow-sm: 0 8px 24px rgba(6, 31, 66, 0.08);
	--cnsh-shadow-md: 0 18px 48px rgba(6, 31, 66, 0.13);
	--cnsh-shadow-lg: 0 28px 72px rgba(3, 22, 48, 0.2);
	--cnsh-radius-sm: 10px;
	--cnsh-radius: 18px;
	--cnsh-radius-lg: 26px;
	--cnsh-container: 1240px;
	--cnsh-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
}

body {
	background-color: var(--cnsh-bg);
	color: var(--cnsh-ink);
	font-family: "Poppins", "Roboto", "Segoe UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body.landing::before,
body.landing::after {
	display: none !important;
}

::selection {
	background: var(--cnsh-gold-soft);
	color: var(--cnsh-blue-950);
}

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

img {
	height: auto;
}

p,
li {
	overflow-wrap: anywhere;
}

main,
section,
article,
aside,
header,
footer,
nav,
div {
	min-width: 0;
}

p {
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--cnsh-blue-900);
	font-family: "Poppins", "Roboto", "Segoe UI", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.025em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 4.5rem);
	line-height: 1.08;
}

h2 {
	font-size: clamp(1.75rem, 3.5vw, 3rem);
	line-height: 1.2;
}

h3 {
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	line-height: 1.4;
}

a {
	text-underline-offset: 0.2em;
}

a,
button,
input,
select,
textarea,
[tabindex] {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--cnsh-gold);
	outline-offset: 4px;
	border-radius: 4px;
}

p a:not(.button):not(.card-link):not(.pdf-button),
.project-text a,
.emap-paragraph a,
.social-media-project-container a {
	color: var(--cnsh-blue-700);
	font-weight: 600;
	text-decoration-color: rgba(7, 86, 166, 0.32);
	text-decoration-thickness: 1px;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

p a:not(.button):not(.card-link):not(.pdf-button):hover,
.project-text a:hover,
.emap-paragraph a:hover,
.social-media-project-container a:hover {
	color: var(--cnsh-blue-600);
	text-decoration-color: currentColor;
}

/* Shared containers and section rhythm */

.container,
.inner-header-container,
.contact-inner {
	width: min(calc(100% - 2.5rem), var(--cnsh-container));
	max-width: var(--cnsh-container);
	margin-inline: auto;
}

.wrapper,
.section,
.projects-text-section,
.projects-project-section,
.projects-list-section,
.greece-text-section,
.description-section,
.introduction-section,
.contact-section,
.mobilitate-emap,
.card-section {
	position: relative;
}

.wrapper,
.section {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-header {
	max-width: 880px;
	margin-inline: auto;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}

.section-header::after,
.projects-text-section::after,
.header::after {
	content: "";
	display: block;
	width: 74px;
	height: 4px;
	margin: 1.25rem auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--cnsh-blue-600), var(--cnsh-gold));
}

.section-divider {
	width: min(100%, var(--cnsh-container));
	height: 1px;
	margin: clamp(2.5rem, 5vw, 4.5rem) auto;
	border: 0 !important;
	background: linear-gradient(90deg, transparent, rgba(7, 86, 166, 0.32), transparent);
}

.subheader-emap {
	width: 100%;
	height: auto !important;
	min-height: 0;
	padding: clamp(1rem, 3vw, 2rem) 0;
	color: var(--cnsh-blue-900);
	text-align: center;
}

.subheader-emap h1 {
	width: 100%;
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.12;
}

.mobilitate-emap {
	width: min(100%, 1000px);
	height: auto;
	margin-inline: auto;
	padding: clamp(0.5rem, 2vw, 1.25rem) 0;
	text-align: center;
}

.mobilitate-emap h1,
.mobilitate-emap h2 {
	max-width: 100%;
	margin-inline: auto;
	font-size: clamp(1.5rem, 3.5vw, 2.6rem);
	line-height: 1.25;
}

.description-section > h1[style] {
	color: var(--cnsh-blue-900) !important;
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.12;
}

/* Landed header and dropdown navigation */

#page-wrapper {
	padding-top: 4.5em;
}

#header {
	height: 4.5em;
	line-height: 4.5em;
	background: rgba(5, 46, 99, 0.96);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 32px rgba(3, 22, 48, 0.16);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

body.landing #header {
	background: linear-gradient(180deg, rgba(2, 19, 43, 0.78), rgba(2, 19, 43, 0));
	border-bottom-color: transparent;
}

#header h1 {
	left: clamp(1rem, 4vw, 3.5rem);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

#header h1 a {
	color: #fff;
	text-shadow: none;
}

#header h1 a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 0.55rem;
	border-radius: 50%;
	background: var(--cnsh-gold);
	box-shadow: 0 0 0 4px rgba(242, 200, 75, 0.16);
	vertical-align: 0.1em;
}

#header nav {
	right: clamp(1rem, 4vw, 3.5rem);
}

#header nav ul li {
	margin-left: clamp(0.45rem, 1.6vw, 1.35rem);
}

#header nav ul li a,
#header nav ul li span {
	position: relative;
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.035em;
}

#header nav > ul > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0.9rem;
	left: 0;
	height: 2px;
	border-radius: 999px;
	background: var(--cnsh-gold);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 240ms var(--cnsh-ease);
}

#header nav > ul > li > a:hover::after,
#header nav > ul > li.active > a::after,
#header nav > ul > li > a[aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

.dropotron {
	min-width: 15rem;
	padding: 0.55rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	background: rgba(5, 38, 82, 0.98);
	box-shadow: var(--cnsh-shadow-lg);
	backdrop-filter: blur(16px);
}

.dropotron.level-0::before {
	background: #052652;
}

.dropotron > li {
	border: 0;
}

.dropotron > li a,
.dropotron > li span {
	padding: 0.65rem 0.85rem;
	border-radius: 9px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.8rem;
	line-height: 1.45;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.dropotron > li > a:hover,
.dropotron > li.active > a {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
	transform: translateX(3px);
}

#titleBar {
	height: 4.25rem;
	background: rgba(5, 46, 99, 0.97);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 8px 26px rgba(3, 22, 48, 0.16);
	backdrop-filter: blur(14px);
}

#titleBar .title {
	color: #fff;
	font-weight: 700;
	letter-spacing: 0.08em;
}

#titleBar .toggle {
	width: 4.25rem;
	height: 4.25rem;
}

#navPanel {
	background: linear-gradient(180deg, var(--cnsh-blue-950), var(--cnsh-blue-900));
	box-shadow: 20px 0 50px rgba(3, 22, 48, 0.28);
}

#navPanel .link {
	min-height: 3.25rem;
	padding-block: 0.85rem;
	border-top-color: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.84);
	line-height: 1.45;
}

#navPanel .link:hover,
#navPanel .link[aria-current="page"] {
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}

/* Newer sticky header family */

.top-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid var(--cnsh-border);
	box-shadow: 0 8px 30px rgba(6, 31, 66, 0.08);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.inner-header-container {
	min-height: 76px;
	padding: 0.65rem 0;
}

.div-logo,
.logo {
	display: flex;
	align-items: center;
}

.div-logo img,
.logo img {
	width: auto;
	max-width: min(190px, 45vw);
	max-height: 58px;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(6, 31, 66, 0.08));
}

.top-nav .main-ul {
	align-items: center;
	gap: clamp(0.25rem, 2vw, 1rem);
}

.top-nav .main-ul li {
	margin: 0;
}

.top-nav .main-ul li a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.4rem 0.7rem;
	border-radius: 9px;
	color: var(--cnsh-blue-800);
	font-size: 0.92rem;
	font-weight: 650;
	transition: color 180ms ease, background-color 180ms ease;
}

.top-nav .main-ul li a::after {
	content: "";
	position: absolute;
	right: 0.7rem;
	bottom: 0.3rem;
	left: 0.7rem;
	height: 2px;
	border-radius: 999px;
	background: var(--cnsh-gold);
	transform: scaleX(0);
	transition: transform 220ms var(--cnsh-ease);
}

.top-nav .main-ul li a:hover,
.top-nav .main-ul li a[aria-current="page"] {
	background: rgba(7, 86, 166, 0.07);
	color: var(--cnsh-blue-600);
}

.top-nav .main-ul li a:hover::after,
.top-nav .main-ul li a[aria-current="page"]::after {
	transform: scaleX(1);
}

.mobile-icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(7, 86, 166, 0.07);
}

.top-header:not(:has(.top-nav)) .mobile-icon,
.top-header:not(:has(.top-nav)) .inner-header-container > span {
	display: none !important;
}

.mobile-icon span {
	left: 7px;
	width: 30px;
	background-color: var(--cnsh-blue-800);
}

.mobile-icon:empty::before,
.mobile-icon:empty::after {
	content: "";
	position: absolute;
	left: 8px;
	width: 28px;
	height: 3px;
	border-radius: 999px;
	background: var(--cnsh-blue-800);
	transition: transform 220ms ease, top 220ms ease;
}

.mobile-icon:empty::before {
	top: 13px;
	box-shadow: 0 8px 0 var(--cnsh-blue-800);
}

.mobile-icon:empty::after {
	top: 29px;
}

.mobile-icon.open:empty::before {
	top: 21px;
	box-shadow: none;
	transform: rotate(45deg);
}

.mobile-icon.open:empty::after {
	top: 21px;
	transform: rotate(-45deg);
}

/* Homepage hero */

#banner {
	min-height: min(900px, 100svh);
	background-color: var(--cnsh-blue-950);
	box-shadow: none;
}

#banner::after {
	background:
		radial-gradient(circle at 78% 18%, rgba(242, 200, 75, 0.15), transparent 26%),
		linear-gradient(110deg, rgba(3, 20, 44, 0.92), rgba(5, 63, 128, 0.68) 58%, rgba(3, 24, 52, 0.8));
}

#banner .content {
	width: min(92%, var(--cnsh-container));
	max-width: var(--cnsh-container);
	margin: 0 auto;
	padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 4vw, 3rem);
	text-align: left;
}

#banner .content header {
	width: min(680px, 62vw);
}

#banner .content header h2 {
	color: #fff !important;
	font-size: clamp(2.3rem, 5vw, 4.8rem);
	line-height: 1.06;
	letter-spacing: -0.045em;
	text-shadow: 0 4px 24px rgba(2, 17, 38, 0.35);
}

#banner .content header p {
	max-width: 620px;
	margin-top: 1.2rem;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: clamp(1rem, 1.8vw, 1.3rem);
	font-weight: 400;
	line-height: 1.7;
	text-shadow: 0 2px 12px rgba(2, 17, 38, 0.28);
}

#banner .content .image {
	width: clamp(13rem, 25vw, 20rem);
	height: clamp(13rem, 25vw, 20rem);
	margin-left: clamp(2rem, 5vw, 5rem);
	border: 8px solid rgba(255, 255, 255, 0.16);
	border-radius: 50%;
	box-shadow: 0 28px 70px rgba(2, 17, 38, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.24);
	overflow: hidden;
}

#banner .content .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--cnsh-ease);
}

#banner .content .image:hover img {
	transform: scale(1.045);
}

.goto-next {
	opacity: 0.88;
	transition: opacity 180ms ease, transform 180ms ease;
}

.goto-next:hover {
	opacity: 1;
	transform: translateY(3px);
}

#one.spotlight .content {
	border-top-color: var(--cnsh-gold) !important;
	background: linear-gradient(180deg, rgba(4, 27, 58, 0.9), rgba(4, 27, 58, 0.96));
	backdrop-filter: blur(10px);
}

#one.spotlight .content h2 {
	color: #82c8ff !important;
}

#one.spotlight .content p {
	color: rgba(255, 255, 255, 0.86) !important;
	font-weight: 400;
	line-height: 1.85;
}

/* Internal page banners */

.banner {
	min-height: clamp(230px, 34vw, 390px);
	display: grid;
	place-items: center;
	padding: 7rem 1.25rem 3rem;
	background-position: center;
	background-size: cover;
}

.banner::before {
	background: linear-gradient(110deg, rgba(3, 28, 62, 0.86), rgba(7, 86, 166, 0.54));
}

.white-block {
	width: min(880px, 92vw);
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--cnsh-radius-lg);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--cnsh-shadow-lg);
	text-align: center;
	backdrop-filter: blur(12px);
}

.white-block h1,
.white-block h2 {
	margin: 0;
	color: var(--cnsh-blue-900);
}

.projects-text-section,
.greece-text-section {
	width: min(100%, var(--cnsh-container));
	margin-inline: auto;
	padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
	text-align: center;
}

.projects-text-section h1,
.greece-text-section h1 {
	margin-bottom: 1rem;
	color: var(--cnsh-blue-900);
	font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.projects-text-section p,
.greece-text-section p {
	max-width: 900px;
	margin-inline: auto;
	color: var(--cnsh-muted);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	line-height: 1.85;
}

/* Cards, projects, resources and testimonials */

.projects-project-section,
.projects-list-section {
	width: min(100%, var(--cnsh-container));
	margin-inline: auto;
	padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(4rem, 8vw, 7rem);
}

.projects-project-section + .projects-project-section {
	padding-top: clamp(3rem, 6vw, 5rem);
	border-top: 1px solid var(--cnsh-border);
}

.project-text {
	max-width: 920px;
	padding: 0 0 clamp(1.75rem, 4vw, 3rem);
}

.project-text h2,
.projects-project-section h2 {
	padding: 0;
	color: var(--cnsh-blue-900);
	font-size: clamp(1.65rem, 3vw, 2.55rem);
	line-height: 1.25;
}

.project-text h3,
.project-text p {
	color: var(--cnsh-muted);
	font-weight: 400;
	line-height: 1.8;
}

.projects-project-cards-holder,
.homepage-projects-cards-container,
.testimonials-grid,
.pdf-presentations,
.resurse-container {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	align-items: stretch;
	gap: clamp(1.25rem, 3vw, 2rem) !important;
}

.card,
.testimonial-card,
.pdf-item,
.video-item,
.project-details,
.project-info-container,
.resursa {
	position: relative;
	width: auto !important;
	margin: 0;
	border: 1px solid var(--cnsh-border);
	border-radius: var(--cnsh-radius);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: var(--cnsh-shadow-sm);
	overflow: hidden;
	transition: transform 260ms var(--cnsh-ease), box-shadow 260ms var(--cnsh-ease), border-color 260ms ease;
}

.card:hover,
.testimonial-card:hover,
.pdf-item:hover,
.video-item:hover,
.project-details:hover,
.project-info-container:hover,
.resursa:hover {
	transform: translateY(-6px);
	border-color: rgba(7, 86, 166, 0.3);
	box-shadow: var(--cnsh-shadow-md);
}

.card {
	min-height: 100%;
	justify-content: space-between;
	text-align: left;
}

.card-photo-container {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	margin: 0;
	border-radius: 0;
	background: #e7eef7;
	overflow: hidden;
}

.card-photo-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--cnsh-ease);
}

.card:hover .card-photo-container img {
	transform: scale(1.045);
}

.card-text-container {
	flex: 1 1 auto;
	padding: 1.35rem 1.35rem 0;
	color: var(--cnsh-ink);
	opacity: 1;
}

.card-text-container p {
	margin: 0;
	color: var(--cnsh-muted);
	font-size: 0.98rem;
	line-height: 1.7;
}

.card-button-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.65rem;
	padding: 1.25rem 1.35rem 1.45rem;
	text-align: left;
}

.card-button-container a {
	border: 0;
}

button,
input[type="button"],
input[type="submit"],
.button,
.card-link,
.cta-button,
.pdf-button,
.turkey-button,
.button-padlet,
.homepage-projects-seeall-button-container button,
.card-button-container button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 0.7rem 1.15rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 11px;
	background: linear-gradient(135deg, var(--cnsh-blue-700), var(--cnsh-blue-600));
	box-shadow: 0 8px 22px rgba(7, 86, 166, 0.2);
	color: #fff !important;
	font-family: inherit;
	font-size: 0.94rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 180ms var(--cnsh-ease), box-shadow 180ms ease, background-color 180ms ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover,
.card-link:hover,
.cta-button:hover,
.pdf-button:hover,
.turkey-button:hover,
.button-padlet:hover,
.homepage-projects-seeall-button-container button:hover,
.card-button-container button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(7, 86, 166, 0.28);
	color: #fff !important;
}

button:active,
.button:active,
.card-link:active,
.cta-button:active,
.pdf-button:active {
	transform: translateY(0);
}

.testimonial-card {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.testimonial-card::before,
.mark-header4 + p::before,
section:has(> .mark-header4)::before {
	content: "\201C";
	position: absolute;
	top: 0.35rem;
	right: 1rem;
	color: rgba(7, 86, 166, 0.1);
	font-family: Georgia, serif;
	font-size: 5rem;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.testimonial-card h3 {
	position: relative;
	z-index: 1;
	color: var(--cnsh-blue-800);
}

section:has(> .mark-header4) {
	position: relative;
	margin-bottom: 1.5rem !important;
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1px solid var(--cnsh-border);
	border-radius: var(--cnsh-radius);
	background: #fff;
	box-shadow: var(--cnsh-shadow-sm);
}

.mark-header4 {
	position: relative;
	z-index: 1;
	margin-bottom: 0.7rem;
	padding: 0;
	color: var(--cnsh-blue-800);
	background: none !important;
}

.mark-header4::before {
	display: none !important;
}

.mark-header4 + p {
	position: relative;
	margin: 0 0 1.5rem;
	padding: 1.4rem 1.5rem;
	border: 1px solid var(--cnsh-border);
	border-left: 4px solid var(--cnsh-gold);
	border-radius: 0 var(--cnsh-radius) var(--cnsh-radius) 0;
	background: #fff;
	box-shadow: var(--cnsh-shadow-sm);
	color: var(--cnsh-muted);
	font-style: italic;
	font-weight: 400;
	line-height: 1.85;
}

section:has(> .mark-header4) > .mark-header4 + p {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.nume-profesori {
	padding-left: 0 !important;
}

.resursa {
	min-height: 220px;
	height: auto;
	margin: 0;
	padding: 1.5rem;
	background: linear-gradient(145deg, var(--cnsh-blue-900), var(--cnsh-blue-700));
	color: #fff;
	text-align: center;
}

.social-media-project-container {
	width: fit-content;
	margin: 1rem 0 2rem;
	padding: 1rem 1.2rem;
	border: 1px solid var(--cnsh-border);
	border-radius: var(--cnsh-radius-sm);
	background: rgba(255, 255, 255, 0.75);
	box-shadow: var(--cnsh-shadow-sm);
}

/* Galleries and media */

.photo-gallery,
.image-gallery,
.imagini-turcia,
.turkey-section-img,
.greece-section-img,
.italy-section-img,
.revista-container {
	gap: clamp(0.8rem, 2vw, 1.35rem) !important;
}

.photo-gallery,
.image-gallery,
.imagini-turcia {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
	width: min(100%, var(--cnsh-container));
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	padding: 0 !important;
}

.gallery-item,
.imagini-turcia > img,
.turkey-section-img img,
.greece-section-img img,
.italy-section-img img,
.revista-container img,
#content .image img,
.projects-list-section img {
	border: 1px solid rgba(255, 255, 255, 0.75);
	border-radius: var(--cnsh-radius) !important;
	box-shadow: var(--cnsh-shadow-sm);
	overflow: hidden;
}

.gallery-item {
	min-height: 210px;
	background: #e7eef7;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--cnsh-ease), filter 300ms ease;
}

.gallery-item:hover img {
	transform: scale(1.045);
	filter: saturate(1.04);
}

.video-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
}

.video-item {
	padding-bottom: 0.9rem;
}

.video-item video,
.video-container video,
.testimoniale-video video,
.greece-video-section video,
.podcast-video,
.popup-video video {
	display: block;
	width: 100%;
	border: 1px solid var(--cnsh-border);
	border-radius: var(--cnsh-radius);
	background: var(--cnsh-blue-950);
	box-shadow: var(--cnsh-shadow-md);
}

.video-item video {
	border: 0;
	border-radius: var(--cnsh-radius) var(--cnsh-radius) 0 0;
	box-shadow: none;
}

.video-item-title {
	padding: 0.95rem 1rem 0;
	color: var(--cnsh-blue-900);
	font-weight: 650;
}

.pdf-container,
.podcast-container {
	width: min(100%, 1000px);
	margin: clamp(1.5rem, 4vw, 3rem) auto;
	border-radius: var(--cnsh-radius);
	box-shadow: var(--cnsh-shadow-md);
	overflow: hidden;
}

.pdf-container iframe {
	display: block;
	width: 100%;
	min-height: min(760px, 78vh);
	border: 0;
	background: #fff;
}

.pdf-item {
	display: flex;
	flex-direction: column;
}

.pdf-thumbnail {
	aspect-ratio: 16 / 10;
	background: #e7eef7;
	overflow: hidden;
}

.pdf-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--cnsh-ease);
}

.pdf-item:hover .pdf-thumbnail img {
	transform: scale(1.04);
}

.pdf-info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.2rem;
}

.popup-gallery,
.popup-video,
.popup-imagini-turcia {
	background: rgba(2, 14, 32, 0.92);
	backdrop-filter: blur(12px);
}

.popup-gallery img,
.popup-video video,
.popup-imagini-turcia img {
	max-width: min(92vw, 1100px);
	max-height: 88vh;
	border: 6px solid rgba(255, 255, 255, 0.92);
	border-radius: var(--cnsh-radius);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
	object-fit: contain;
}

/* Museum page */

.header {
	position: relative;
	padding: clamp(4rem, 9vw, 7rem) 1.25rem;
	background-color: rgba(4, 35, 75, 0.65);
	background-blend-mode: multiply;
	box-shadow: inset 0 -100px 120px rgba(3, 22, 48, 0.3);
}

.header-title {
	color: #fff !important;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.18;
	text-shadow: 0 4px 24px rgba(2, 17, 38, 0.45);
}

.header-title + .header-title {
	margin-top: 0.4rem;
	color: var(--cnsh-gold-soft) !important;
	font-size: clamp(1.3rem, 3vw, 2rem);
}

.card-section {
	gap: 1.25rem;
	width: min(calc(100% - 2.5rem), var(--cnsh-container));
	margin: 2rem auto;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.46);
	border-radius: var(--cnsh-radius-lg);
	background: rgba(244, 247, 251, 0.88);
	box-shadow: var(--cnsh-shadow-lg);
	backdrop-filter: blur(12px);
}

.card-section .card {
	flex: 1 1 270px;
	max-width: 360px;
}

.card-section .card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 600ms var(--cnsh-ease);
}

.card-section .card:hover img {
	transform: scale(1.035);
}

.card-section .card-content {
	flex: 1 1 auto;
	padding: 1.25rem;
}

.card-section .card-link {
	margin: 0 1.25rem 1.25rem;
}

/* Footer families */

#footer,
.main-footer,
body > footer {
	position: relative;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 18% 0, rgba(8, 119, 201, 0.22), transparent 28%),
		linear-gradient(145deg, var(--cnsh-blue-950), var(--cnsh-blue-900));
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
	overflow: hidden;
}

#footer::before,
.main-footer::before,
body > footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cnsh-blue-600), var(--cnsh-gold), var(--cnsh-blue-600));
}

#footer h1,
#footer h2,
#footer h3,
.main-footer h1,
.main-footer h2,
.main-footer h3,
body > footer h3 {
	color: #fff !important;
}

#footer p,
#footer .copyright,
.main-footer p,
body > footer h3 {
	color: rgba(255, 255, 255, 0.72) !important;
	font-weight: 400;
	line-height: 1.75;
}

#footer .copyright {
	max-width: 980px;
	margin: 2rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#footer .copyright li {
	border: 0;
	margin: 0;
	padding: 0;
}

.logo-container,
.contact-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.logo-container img,
.contact-logo-container img {
	max-width: 132px;
	max-height: 68px;
	padding: 0.55rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 8px 24px rgba(2, 17, 38, 0.22);
	object-fit: contain;
	transition: transform 220ms var(--cnsh-ease), box-shadow 220ms ease;
}

.logo-container img:hover,
.contact-logo-container img:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(2, 17, 38, 0.28);
}

#footer .icons .icon.alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	transition: transform 180ms var(--cnsh-ease), background-color 180ms ease, border-color 180ms ease;
}

#footer .icons .icon.alt:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.14);
}

body > footer > div {
	width: min(100%, 992px) !important;
	margin: 1rem auto !important;
	padding: clamp(1.2rem, 3vw, 2rem);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--cnsh-radius) !important;
	background: rgba(255, 255, 255, 0.08) !important;
	opacity: 1 !important;
}

/* Reveal and entrance motion */

.reveal {
	--reveal-delay: 0ms;
}

.reveal.reveal-pending {
	opacity: 0;
	transform: translateY(24px);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
	transition:
		opacity 650ms var(--cnsh-ease) var(--reveal-delay),
		transform 650ms var(--cnsh-ease) var(--reveal-delay);
}

#banner .content header,
#banner .content .image {
	animation: cnsh-hero-in 850ms var(--cnsh-ease) both;
}

#banner .content .image {
	animation-delay: 120ms;
}

@keyframes cnsh-hero-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Responsive */

@media screen and (max-width: 980px) {
	html {
		scroll-padding-top: 4.25rem;
	}

	#page-wrapper,
	body.landing #page-wrapper {
		padding-top: 4.25rem;
	}

	body.landing #header,
	#header {
		display: none;
	}

	#banner {
		min-height: auto;
	}

	#banner::before {
		display: none;
	}

	#banner .content {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 2rem;
		width: 100%;
		padding: clamp(6.5rem, 18vw, 9rem) 1.35rem 5rem;
		text-align: center;
	}

	#banner .content header {
		width: min(100%, 680px);
	}

	#banner .content .image {
		order: -1;
		margin: 0;
	}

	#one.spotlight .content {
		padding: 3.5rem 1.35rem !important;
		text-align: left;
	}

	.inner-header-container {
		width: min(calc(100% - 2rem), var(--cnsh-container));
		margin: 0 auto;
	}

	.top-nav {
		top: 76px;
		width: min(82vw, 340px);
		height: calc(100svh - 76px);
		padding: 1rem;
		background: rgba(255, 255, 255, 0.98);
		border-right: 1px solid var(--cnsh-border);
		box-shadow: 18px 20px 48px rgba(6, 31, 66, 0.18);
		backdrop-filter: blur(16px);
	}

	.top-nav .main-ul {
		gap: 0.25rem;
		padding: 1rem 0;
		text-align: left;
	}

	.top-nav .main-ul li {
		width: 100%;
		padding: 0;
	}

	.top-nav .main-ul li a {
		width: 100%;
		min-height: 48px;
		padding: 0.65rem 0.8rem;
		font-size: 1rem;
	}

	.projects-project-cards-holder,
	.homepage-projects-cards-container {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	}

	.testimoniale-section {
		width: 100%;
		margin-left: 0;
		padding: 3rem 1.25rem;
	}

	.greece-section-img,
	.turkey-section-img,
	.italy-section-img {
		display: grid;
		grid-template-columns: 1fr;
		width: min(calc(100% - 2.5rem), 760px);
		margin-inline: auto;
		padding: 0;
	}

	.greece-section-img img,
	.turkey-section-img img,
	.italy-section-img img {
		width: 100%;
		height: auto;
		max-height: 520px;
		object-fit: cover;
	}

	.contact-section {
		padding: 3rem 1.25rem;
	}

	.contact-text,
	.contact-logos {
		width: min(100%, 760px);
	}
}

@media screen and (max-width: 736px) {
	body,
	input,
	select,
	textarea {
		font-size: 16px;
		line-height: 1.7;
	}

	.container,
	.inner-header-container,
	.contact-inner {
		width: min(calc(100% - 2rem), var(--cnsh-container));
	}

	.wrapper,
	.section {
		padding-block: 3.5rem;
	}

	.banner {
		padding-top: 5.5rem;
	}

	.white-block {
		padding: 1.35rem;
		border-radius: var(--cnsh-radius);
	}

	.projects-text-section,
	.greece-text-section,
	.description-section {
		padding: 3.5rem 1rem 2.5rem;
	}

	.projects-project-section,
	.projects-list-section {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.projects-project-cards-holder,
	.homepage-projects-cards-container,
	.testimonials-grid,
	.pdf-presentations,
	.resurse-container {
		grid-template-columns: 1fr;
	}

	.card {
		max-width: 520px;
		margin-inline: auto;
	}

	.photo-gallery,
	.image-gallery,
	.imagini-turcia {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery-item {
		min-height: 160px;
	}

	.pdf-container iframe {
		min-height: 62vh;
	}

	#footer,
	.main-footer,
	body > footer {
		padding: 3.5rem 1rem;
	}

	.logo-container {
		gap: 0.75rem;
	}
}

@media screen and (max-width: 480px) {
	#banner .content {
		padding-top: 5.5rem;
	}

	#banner .content header h2 {
		width: 100%;
		font-size: clamp(1.85rem, 9.2vw, 2.45rem);
		overflow-wrap: normal;
		word-break: normal;
	}

	#banner .content header p {
		width: 100%;
		font-size: 0.98rem;
	}

	#banner .content .image {
		width: 11.5rem;
		height: 11.5rem;
		border-width: 6px;
	}

	.photo-gallery,
	.image-gallery,
	.imagini-turcia {
		grid-template-columns: 1fr;
	}

	.gallery-item {
		min-height: 220px;
	}

	.card-button-container {
		align-items: stretch;
	}

	.card-button-container a,
	.card-button-container button {
		width: 100%;
	}

	.logo-container img,
	.contact-logo-container img {
		max-width: 106px;
	}

	.subheader-emap h1 {
		font-size: 1.8rem;
	}

	.mobilitate-emap h1,
	.mobilitate-emap h2 {
		font-size: 1.42rem;
		overflow-wrap: anywhere;
	}

	.description-section > h1[style] {
		font-size: 2.25rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0ms !important;
	}

	.reveal,
	.reveal.reveal-pending,
	.reveal.is-visible {
		opacity: 1 !important;
		transform: none !important;
	}
}
