/* ==========================================================================
   MedSkill Wow – design layer for the Divi 4 build.
   Every block is a native Divi module; these classes (set in the module's
   Advanced → CSS Class field) only add what Divi has no setting for.

   Course badges (Blurb CSS class):  msw-badge-top | msw-badge-new |
   msw-badge-live | msw-badge-best ; article tags: msw-tag-urgenta |
   msw-tag-interna | msw-tag-pediatrie
   ========================================================================== */

:root {
	--msw-navy: #0b1f6e;
	--msw-navy-2: #142c94;
	--msw-navy-3: #06124a;
	--msw-red: #e5232e;
	--msw-red-2: #c4141f;
	--msw-ink: #0e1b4d;
	--msw-text: #333d5c;
	--msw-muted: #525d7d;
	--msw-bg: #f4f7fd;
	--msw-line: #e4e9f5;
	--msw-amber: #f5a524;
	--msw-radius: 16px;
	--msw-radius-lg: 24px;
	--msw-shadow: 0 10px 30px rgba(14, 27, 77, .08);
	--msw-shadow-lg: 0 24px 60px rgba(14, 27, 77, .16);
	--msw-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
	--msw-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
	--msw-gap: 24px;
}

body.msw input,
body.msw textarea,
body.msw select,
body.msw button,
body.msw .et_pb_module {
	font-family: var(--msw-body);
}
body.msw {
	background: #fff;
	color: var(--msw-text);
	font-family: var(--msw-body);
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
}
body.msw h1, body.msw h2, body.msw h3, body.msw h4, body.msw h5, body.msw h6 {
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-weight: 700;
	letter-spacing: -.01em;
}
body.msw #page-container .et_pb_section [class*="msw"] p:last-of-type {
	padding-bottom: 0;
}
.msw .msw-red, .msw h1 span, .msw h2 span {
	color: var(--msw-red);
}

/* ---------- Buttons (native Button module + CSS class) ---------- */
body.msw #page-container .et_pb_section .et_pb_button.msw-btn,
body.msw .msw-btn-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px !important;
	min-height: 50px;
	border: 0 !important;
	border-radius: 999px;
	background: var(--msw-red);
	color: #fff !important;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 10px 24px rgba(229, 35, 46, .28);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn:after,
body.msw .msw-btn-link:after {
	content: '\35';
	position: static;
	display: inline-block;
	margin: 0 !important;
	opacity: 1 !important;
	font-family: 'ETmodules' !important;
	font-size: 18px !important;
	line-height: 1;
	transition: transform .2s ease;
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn:hover,
body.msw .msw-btn-link:hover {
	background: var(--msw-red-2);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(229, 35, 46, .34);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn:hover:after,
body.msw .msw-btn-link:hover:after {
	transform: translateX(3px);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-navy {
	background: var(--msw-navy);
	box-shadow: 0 10px 24px rgba(11, 31, 110, .25);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-navy:hover {
	background: var(--msw-navy-2);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-white {
	background: #fff;
	color: var(--msw-navy) !important;
	box-shadow: none;
}
/* "Vezi cum funcționează": text button with a round play icon */
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play {
	padding: 6px 4px !important;
	background: transparent;
	color: var(--msw-ink) !important;
	box-shadow: none;
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play:before {
	content: '';
	position: static;
	display: inline-block;
	width: 38px;
	height: 38px;
	margin: 0;
	border-radius: 50%;
	background: var(--msw-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 16px no-repeat;
	opacity: 1;
	box-shadow: 0 8px 18px rgba(11, 31, 110, .3);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play:after {
	content: none;
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play:hover {
	background: transparent;
	transform: none;
	color: var(--msw-red) !important;
}
.msw-btn-row .et_pb_button_module_wrapper {
	display: inline-block;
	margin: 0 18px 12px 0 !important;
	vertical-align: middle;
}

/* ---------- Section headings ---------- */
.msw-eyebrow {
	margin-bottom: 10px !important;
	color: var(--msw-navy);
	font-family: var(--msw-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.msw-eyebrow.msw-eyebrow-red {
	color: var(--msw-red);
}
.msw-title h2 {
	padding-bottom: 6px;
	font-size: clamp(26px, 2.4vw, 42px);
	line-height: 1.2;
}
.msw-title p {
	font-size: 15px;
}
.msw-title.msw-center {
	text-align: center;
}
.msw-sec-head {
	margin-bottom: 0 !important;
}
.msw-sec-head .et_pb_text_inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.msw-sec-head h2 {
	padding-bottom: 4px;
	font-size: clamp(24px, 2.1vw, 38px);
	line-height: 1.2;
}
.msw-sec-head p {
	font-size: 14.5px;
}
.msw-head-r {
	display: flex;
	align-items: center;
	gap: 10px;
}
.msw-head-r a.msw-more {
	margin-right: 10px;
	color: var(--msw-navy);
	font-family: var(--msw-head);
	font-size: 13.5px;
	font-weight: 600;
}
.msw-head-r a.msw-more:hover {
	color: var(--msw-red);
}
.msw-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--msw-line);
	border-radius: 50%;
	background: #fff;
	color: var(--msw-ink);
	cursor: pointer;
	box-shadow: var(--msw-shadow);
	transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.msw-nav svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.msw-nav:hover {
	border-color: var(--msw-navy);
	background: var(--msw-navy);
	color: #fff;
}
.msw-nav[disabled] {
	opacity: .4;
	cursor: default;
	pointer-events: none;
}
.msw-nav:focus-visible,
.msw-btn-link:focus-visible {
	outline: 2px solid var(--msw-red);
	outline-offset: 3px;
}

/* ==========================================================================
   HEADER (Theme Builder)
   ========================================================================== */
.msw-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid rgba(228, 233, 245, .7);
	background: rgba(255, 255, 255, .92) !important;
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	transition: box-shadow .25s ease;
}
.msw-header.et_pb_sticky--top,
.msw-scrolled .msw-header {
	box-shadow: 0 8px 30px rgba(14, 27, 77, .08);
}
.msw-header .et_pb_row {
	display: flex;
	align-items: center;
}
.msw-header .et_pb_menu .et_pb_menu__logo img {
	max-height: 44px;
	width: auto;
}
.msw-header .et_pb_menu .et-menu > li {
	padding-right: 14px;
	padding-left: 14px;
}
.msw-header .et_pb_menu .et-menu > li > a {
	padding-bottom: 0 !important;
	color: var(--msw-ink) !important;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 500;
	transition: color .2s ease;
}
.msw-header .et_pb_menu__wrap,
.msw-header .et_pb_menu .et-menu {
	align-items: center;
}
.msw-header .et_pb_menu .et-menu > li {
	padding-top: 0;
	padding-bottom: 0;
}
.msw-header .et_pb_menu .et-menu > li > a {
	padding-top: 10px;
	padding-bottom: 10px !important;
}
/* Anchor links (#categorii …) are never shown as "current". */
.msw-header .et_pb_menu .et-menu > li > a:hover,
.msw-header .et_pb_menu .et-menu > li.current-menu-item:not(.menu-item-type-custom) > a {
	color: var(--msw-red) !important;
	opacity: 1;
}
.msw-header .et_pb_menu .et-menu .menu-item-has-children > a:first-child:after {
	top: 0;
	font-size: 14px;
}
.msw-header .et_pb_menu .et-menu-nav li ul.sub-menu {
	border-top: 3px solid var(--msw-red);
	border-radius: 0 0 12px 12px;
	box-shadow: var(--msw-shadow-lg);
}
.msw-header .et_pb_menu__search-button,
.msw-header .et_pb_menu__close-search-button {
	color: var(--msw-ink) !important;
	font-size: 16px !important;
}
.msw-header .et_mobile_nav_menu .mobile_menu_bar:before {
	color: var(--msw-navy);
}
.msw-header .et_mobile_nav_menu .et_mobile_menu {
	border-top-color: var(--msw-red);
	border-radius: 0 0 14px 14px;
}

/* Account actions: [medskill_cont] (plugin MedSkill) */
.ms-account {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 500;
}
.ms-account a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--msw-ink);
	white-space: nowrap;
	transition: color .2s ease, background .2s ease, transform .2s ease;
}
.ms-account a:hover {
	color: var(--msw-red);
}
.ms-account svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ms-account .ms-account-cta {
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--msw-navy);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 10px 22px rgba(11, 31, 110, .25);
}
.ms-account .ms-account-cta:hover {
	background: var(--msw-red);
	color: #fff;
	transform: translateY(-1px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.msw-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 500px at 85% 10%, rgba(20, 44, 148, .10), transparent 60%),
		radial-gradient(700px 420px at 0% 100%, rgba(229, 35, 46, .07), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--msw-bg) 100%) !important;
}
/* Ribbons on the edges (decorative) */
.msw-hero:before,
.msw-hero:after {
	content: '';
	position: absolute;
	z-index: 0;
	pointer-events: none;
}
.msw-hero:before {
	left: -230px;
	bottom: -210px;
	width: 400px;
	height: 280px;
	border-radius: 40px;
	background: linear-gradient(135deg, var(--msw-red) 0%, #ff5a61 45%, var(--msw-navy) 46%, var(--msw-navy-2) 100%);
	opacity: .9;
	transform: rotate(-28deg);
	filter: blur(.3px);
}
.msw-hero:after {
	right: -180px;
	top: 40px;
	width: 380px;
	height: 520px;
	border-radius: 60px;
	background: linear-gradient(160deg, var(--msw-navy-2), var(--msw-navy) 55%, var(--msw-red) 56%, #ff6b72);
	opacity: .85;
	transform: rotate(24deg);
}
.msw-hero .et_pb_row {
	position: relative;
	z-index: 1;
}
.msw-hero-title h1 {
	padding-bottom: 14px;
	font-size: clamp(40px, 4.6vw, 80px);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.03em;
}
.msw-hero-title h1 span {
	display: inline-block;
	background: linear-gradient(90deg, var(--msw-red), #ff4d57);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.msw-hero-sub h2 {
	padding-bottom: 14px;
	font-size: clamp(19px, 1.7vw, 30px);
	line-height: 1.3;
}
.msw-hero-lead p {
	max-width: 470px;
	font-size: 16px;
	line-height: 1.65;
}
.msw-hero-feats .et_pb_text_inner {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 8px;
}
.msw-feat {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 170px;
	color: var(--msw-ink);
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.35;
}
.msw-feat i,
.msw-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--msw-navy);
	box-shadow: var(--msw-shadow);
}
.msw-feat svg,
.msw-ico svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Visual: portrait + floating cards */
.msw-hero-visual {
	position: relative;
	min-height: 560px;
}
.msw-hero-visual .msw-hero-img {
	width: 78%;
	margin: 0 0 0 auto !important;
}
.msw-hero-visual .msw-hero-img .et_pb_image_wrap,
.msw-hero-visual .msw-hero-img img {
	display: block;
	width: 100%;
	border-radius: 0 0 0 200px;
	aspect-ratio: 9 / 11;
	object-fit: cover;
}
.msw-float {
	position: absolute !important;
	z-index: 2;
	margin: 0 !important;
	animation: msw-bob 6s ease-in-out infinite;
}
.msw-card-ui {
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: var(--msw-radius);
	background: rgba(255, 255, 255, .94);
	box-shadow: var(--msw-shadow-lg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.msw-float-phone {
	left: 0;
	top: 30px;
	width: 200px;
	animation-delay: -1s;
}
.msw-float-video {
	left: 14%;
	bottom: 30px;
	width: 270px;
	animation-delay: -3s;
}
.msw-float-feats {
	right: -10px;
	top: 40px;
	width: 190px;
	animation-delay: -2s;
}
.msw-float-rating {
	right: 0;
	bottom: 50px;
	animation-delay: -4s;
}
@keyframes msw-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* Phone mockup */
.msw-phone {
	padding: 10px;
	border: 6px solid #0f1733;
	border-radius: 30px;
	background: #fff;
	box-shadow: var(--msw-shadow-lg);
	transform: rotate(-8deg);
}
.msw-phone-bar {
	width: 60px;
	height: 6px;
	margin: 0 auto 10px;
	border-radius: 6px;
	background: #0f1733;
}
.msw-phone-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	padding: 6px;
	border-radius: 10px;
	background: var(--msw-bg);
}
.msw-phone-row img {
	flex: none;
	width: 46px;
	height: 36px;
	border-radius: 7px;
	object-fit: cover;
}
.msw-phone-row b {
	display: block;
	color: var(--msw-ink);
	font-size: 9.5px;
	line-height: 1.25;
}
.msw-phone-row small {
	color: var(--msw-muted);
	font-size: 8.5px;
}
/* Video card */
.msw-video-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}
.msw-video-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}
.msw-play-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 46px;
	height: 46px;
	border: 4px solid rgba(255, 255, 255, .7);
	border-radius: 50%;
	background: var(--msw-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 18px no-repeat;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 0 rgba(229, 35, 46, .5);
	animation: msw-pulse 2.4s ease-out infinite;
}
@keyframes msw-pulse {
	0% { box-shadow: 0 0 0 0 rgba(229, 35, 46, .45); }
	100% { box-shadow: 0 0 0 18px rgba(229, 35, 46, 0); }
}
.msw-video-title {
	margin: 10px 0 8px;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 13px;
	font-weight: 600;
}
.msw-progress {
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--msw-line);
}
.msw-progress span {
	display: block;
	height: 100%;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--msw-red), #ff6b72);
}
.msw-progress-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 6px;
	color: var(--msw-muted);
	font-size: 11px;
}
/* Rating card */
.msw-rating-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
}
.msw-rating-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--msw-red);
	color: #fff;
	font-family: var(--msw-head);
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(229, 35, 46, .35);
}
.msw-rating-card b {
	display: block;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 16px;
	line-height: 1.2;
}
.msw-rating-card small {
	display: block;
	color: var(--msw-muted);
	font-size: 11px;
}
.msw-stars {
	color: var(--msw-amber);
	font-size: 14px;
	letter-spacing: 1px;
}
/* Features card */
.msw-feats-card .msw-frow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--msw-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
}
.msw-feats-card .msw-frow + .msw-frow {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--msw-line);
}
.msw-feats-card .msw-ico {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--msw-navy);
	color: #fff;
	box-shadow: none;
}
.msw-feats-card .msw-ico svg {
	width: 16px;
	height: 16px;
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.msw-cats {
	display: grid !important;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 16px;
}
.msw-cats > .et_pb_module {
	margin: 0 !important;
}
.msw-cat {
	height: 100%;
	padding: 22px 10px 18px;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow);
	text-align: center;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.msw-cat:hover,
.msw-cat.msw-cat-active {
	border-color: var(--msw-red);
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(229, 35, 46, .14);
}
.msw-cat.msw-cat-active {
	border-width: 2px;
}
.msw-cat .et_pb_main_blurb_image {
	margin-bottom: 12px !important;
}
.msw-cat .et-pb-icon {
	color: var(--msw-navy) !important;
	font-size: 34px !important;
	transition: color .25s ease, transform .25s ease;
}
.msw-cat:hover .et-pb-icon,
.msw-cat.msw-cat-active .et-pb-icon {
	color: var(--msw-red) !important;
	transform: scale(1.08);
}
.msw-cat h4.et_pb_module_header {
	padding: 0;
	color: var(--msw-ink);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
}
.msw-cat a {
	color: inherit;
}

/* ==========================================================================
   CARD TRACKS (courses, testimonials, articles) – horizontal scroll + arrows
   ========================================================================== */
.msw-track {
	display: grid !important;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * var(--msw-gap)) / 4);
	gap: var(--msw-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding: 12px 6px 26px !important;
	margin: 0 -6px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.msw-track::-webkit-scrollbar {
	display: none;
}
.msw-track.msw-track-3 {
	grid-auto-columns: calc((100% - 2 * var(--msw-gap)) / 3);
}
.msw-track > .et_pb_module {
	margin: 0 !important;
	scroll-snap-align: start;
}

/* Course / article card (Blurb module with image) */
.msw-card {
	overflow: hidden;
	height: 100%;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow);
	text-align: left !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
.msw-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--msw-shadow-lg);
}
.msw-card .et_pb_blurb_content {
	max-width: none;
	height: 100%;
}
.msw-card .et_pb_main_blurb_image {
	position: relative;
	display: block;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	overflow: hidden;
}
.msw-card .et_pb_main_blurb_image .et_pb_image_wrap {
	display: block;
	width: 100%;
}
.msw-card .et_pb_main_blurb_image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform .5s ease;
}
.msw-card:hover .et_pb_main_blurb_image img {
	transform: scale(1.05);
}
.msw-card .et_pb_blurb_container {
	padding: 14px 16px 16px;
}
.msw-card h4.et_pb_module_header {
	min-height: 2.6em;
	padding-bottom: 8px;
	color: var(--msw-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.msw-card h4.et_pb_module_header a {
	color: inherit;
}
.msw-card .et_pb_blurb_description {
	font-size: 12.5px;
}
/* Badge (top-left), heart (top-right), play (bottom-left) */
.msw-card[class*="msw-badge-"] .et_pb_main_blurb_image:before,
.msw-card[class*="msw-tag-"] .et_pb_main_blurb_image:before {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--msw-red);
	color: #fff;
	font-family: var(--msw-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	text-transform: uppercase;
}
.msw-badge-top .et_pb_main_blurb_image:before { content: 'Top'; }
.msw-badge-new .et_pb_main_blurb_image:before { content: 'Nou'; background: var(--msw-navy) !important; }
.msw-badge-live .et_pb_main_blurb_image:before { content: '● Live'; }
.msw-badge-best .et_pb_main_blurb_image:before { content: 'Bestseller'; }
.msw-tag-urgenta .et_pb_main_blurb_image:before { content: 'Urgență'; background: var(--msw-navy) !important; }
.msw-tag-interna .et_pb_main_blurb_image:before { content: 'Medicină internă'; background: var(--msw-navy) !important; }
.msw-tag-pediatrie .et_pb_main_blurb_image:before { content: 'Pediatrie'; background: var(--msw-navy) !important; }
.msw-badge-live .et_pb_main_blurb_image:before {
	animation: msw-blink 1.6s ease-in-out infinite;
}
@keyframes msw-blink {
	50% { opacity: .65; }
}
.msw-card .et_pb_main_blurb_image:after {
	content: '';
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 2;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1b4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1.1L12 21l7.8-7.5 1-1.1a5.5 5.5 0 0 0 0-7.8z'/%3E%3C/svg%3E") 50% 55% / 15px no-repeat;
	box-shadow: 0 4px 12px rgba(14, 27, 77, .15);
}
.msw-card.msw-has-play .et_pb_image_wrap:after {
	content: '';
	position: absolute;
	left: 12px;
	bottom: 12px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0e1b4d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 14px no-repeat;
	box-shadow: 0 6px 14px rgba(14, 27, 77, .3);
	transition: background-color .2s ease, transform .2s ease;
}
.msw-card.msw-has-play:hover .et_pb_image_wrap:after {
	background-color: var(--msw-red);
	transform: scale(1.1);
}
/* Rating + meta inside the card */
.msw-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	color: var(--msw-ink);
	font-size: 12px;
}
.msw-rating .msw-stars {
	font-size: 12px;
}
.msw-rating small {
	color: var(--msw-muted);
	font-size: 11px;
}
ul.msw-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	padding: 10px 0 0 !important;
	border-top: 1px solid var(--msw-line);
	list-style: none !important;
	color: var(--msw-muted);
	font-size: 11.5px;
	line-height: 1.3;
}
ul.msw-meta li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
}
ul.msw-meta svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: var(--msw-navy);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.msw-date {
	color: var(--msw-muted);
	font-size: 12px;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.msw-collage {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 120px;
	gap: 12px;
}
.msw-collage > .et_pb_module {
	margin: 0 !important;
}
.msw-collage .et_pb_image .et_pb_image_wrap,
.msw-collage .et_pb_image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 14px;
	object-fit: cover;
}
.msw-collage .et_pb_image {
	height: 100%;
	transition: transform .3s ease;
}
.msw-collage .et_pb_image:hover {
	transform: scale(1.02);
}
.msw-collage .et_pb_image:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.msw-collage .et_pb_image:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.msw-collage .et_pb_image:nth-child(3) { grid-column: 1; grid-row: 3 / 5; }
.msw-collage .et_pb_image:nth-child(4) { grid-column: 2 / 4; grid-row: 3; }
.msw-collage .et_pb_image:nth-child(5) { grid-column: 2 / 4; grid-row: 4; }
.msw-collage .msw-collage-play {
	position: absolute !important;
	left: 50%;
	top: 50%;
	z-index: 3;
	transform: translate(-50%, -50%);
}
.msw-collage-play a {
	display: block;
	width: 76px;
	height: 76px;
	border: 8px solid rgba(255, 255, 255, .85);
	border-radius: 50%;
	background: var(--msw-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 26px no-repeat;
	box-shadow: var(--msw-shadow-lg);
	font-size: 0;
	animation: msw-pulse-navy 2.4s ease-out infinite;
}
@keyframes msw-pulse-navy {
	0% { box-shadow: 0 0 0 0 rgba(11, 31, 110, .4); }
	100% { box-shadow: 0 0 0 22px rgba(11, 31, 110, 0); }
}
.msw-about-text {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 14px;
	align-content: center;
}
.msw-about-text > .et_pb_module {
	grid-column: 1 / -1;
}
.msw-about-text > .et_pb_blurb {
	grid-column: auto;
	margin: 8px 0 26px !important;
}
.msw-about-text > .et_pb_button_module_wrapper {
	grid-column: 1 / -1;
}
.msw-mini .et_pb_main_blurb_image {
	margin-bottom: 10px !important;
}
.msw-mini .et-pb-icon {
	padding: 12px;
	border-radius: 14px;
	background: var(--msw-bg);
	color: var(--msw-navy) !important;
	font-size: 22px !important;
}
.msw-mini h4.et_pb_module_header {
	padding: 0;
	color: var(--msw-ink);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.msw-stats {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(600px 300px at 10% 0%, rgba(229, 35, 46, .25), transparent 60%),
		radial-gradient(600px 300px at 90% 100%, rgba(80, 120, 255, .25), transparent 60%),
		linear-gradient(120deg, var(--msw-navy-3), var(--msw-navy) 50%, var(--msw-navy-2)) !important;
}
.msw-stats:before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 22px 22px;
	pointer-events: none;
}
.msw-stats .et_pb_column {
	position: relative;
}
.msw-stats .et_pb_column:not(:last-child):after {
	content: '';
	position: absolute;
	right: -2.7%;
	top: 15%;
	height: 70%;
	border-right: 1px solid rgba(255, 255, 255, .15);
}
.msw-stat,
.msw-stat .et_pb_text_inner {
	text-align: center !important;
}
.msw-stat-num {
	color: #fff;
	font-family: var(--msw-head);
	font-size: clamp(30px, 2.8vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
}
.msw-stat-label {
	margin-top: 6px;
	color: rgba(255, 255, 255, .94);
	font-size: 14px;
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.msw-why-list .et_pb_blurb {
	margin-bottom: 14px !important;
}
.msw-li .et_pb_blurb_content {
	display: flex;
	align-items: center;
	max-width: none;
}
.msw-li .et_pb_main_blurb_image {
	width: 34px !important;
	margin: 0 14px 0 0 !important;
}
.msw-li .et-pb-icon {
	padding: 8px;
	border-radius: 10px;
	background: var(--msw-navy);
	color: #fff !important;
	font-size: 16px !important;
}
.msw-li .et_pb_blurb_container {
	padding: 0 !important;
}
.msw-li .et_pb_blurb_description {
	color: var(--msw-ink);
	font-size: 14px;
	font-weight: 500;
}
.msw-why-visual {
	position: relative;
}
.msw-why-visual .msw-why-img img,
.msw-why-visual .msw-why-img .et_pb_image_wrap {
	display: block;
	width: 100%;
	border-radius: var(--msw-radius-lg);
	aspect-ratio: 16 / 11;
	object-fit: cover;
}
.msw-why-visual .msw-why-img {
	width: 62%;
	margin: 0 !important;
}
.msw-quote-card {
	position: absolute !important;
	right: 0;
	bottom: 6%;
	width: 44%;
	margin: 0 !important;
	padding: 22px !important;
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow-lg);
}
.msw-quote-card:before {
	content: '“';
	position: absolute;
	right: 16px;
	top: -18px;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--msw-red);
	color: #fff;
	font-family: Georgia, serif;
	font-size: 40px;
	line-height: 52px;
	text-align: center;
}
.msw-quote-card blockquote {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: var(--msw-ink);
	font-size: 15px;
	font-style: italic;
	line-height: 1.55;
}
.msw-quote-card cite {
	display: block;
	color: var(--msw-ink);
	font-size: 12.5px;
	font-style: normal;
	font-weight: 700;
}
.msw-quote-card cite small {
	display: block;
	color: var(--msw-muted);
	font-weight: 400;
}
.msw-score-card {
	position: absolute !important;
	right: 4%;
	top: 4%;
	margin: 0 !important;
}
.msw-avatars {
	display: flex;
	margin-left: 6px;
}
.msw-avatars img {
	width: 26px;
	height: 26px;
	margin-left: -8px;
	border: 2px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}

/* ==========================================================================
   TESTIMONIALS (native Testimonial module)
   ========================================================================== */
.msw-testi {
	height: 100%;
	padding: 26px 24px !important;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff !important;
	box-shadow: var(--msw-shadow);
	text-align: left !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
.msw-testi:hover {
	transform: translateY(-4px);
	box-shadow: var(--msw-shadow-lg);
}
.msw-testi.et_pb_testimonial {
	display: flex;
	flex-direction: column;
}
.msw-testi .et_pb_testimonial_portrait {
	width: 52px !important;
	height: 52px !important;
	margin: 0 0 14px !important;
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--msw-bg);
}
.msw-testi .et_pb_testimonial_portrait {
	float: none !important;
	display: block;
}
.msw-testi .et_pb_testimonial_description,
.msw-testi .et_pb_testimonial_description_inner {
	display: block;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
.msw-testi .et_pb_testimonial_content {
	color: var(--msw-text);
	font-size: 14px;
	font-style: italic;
	line-height: 1.6;
}
.msw-testi .et_pb_testimonial_content .msw-stars {
	display: block;
	margin-top: 12px;
	font-style: normal;
}
.msw-testi .et_pb_testimonial_author {
	margin-top: 8px;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 13px;
	font-weight: 600;
}
.msw-testi .et_pb_testimonial_meta {
	color: var(--msw-muted);
	font-size: 11.5px;
}
.msw-testi:before {
	display: none !important;
}

/* ==========================================================================
   EVENTS BANNER
   ========================================================================== */
.msw-event-box.et_pb_row {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 1fr .9fr;
	align-items: center;
	gap: 24px;
	overflow: hidden;
	border-radius: var(--msw-radius-lg);
	background:
		radial-gradient(500px 280px at 0% 100%, rgba(229, 35, 46, .3), transparent 60%),
		linear-gradient(120deg, var(--msw-navy-3), var(--msw-navy) 60%, var(--msw-navy-2));
	box-shadow: var(--msw-shadow-lg);
}
.msw-event-box.et_pb_row:after {
	display: none;
}
.msw-event-box > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
}
body.msw .msw-event-box h2 {
	padding-bottom: 10px;
	color: #fff;
	font-size: clamp(24px, 2.1vw, 36px);
	line-height: 1.2;
}
body.msw .msw-event-box p {
	color: #ffffff;
}
.msw-event-img img,
.msw-event-img .et_pb_image_wrap {
	display: block;
	width: 100%;
	border-radius: var(--msw-radius);
	aspect-ratio: 16 / 10;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.msw-event-card {
	padding: 22px !important;
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow-lg);
}
.msw-event-card .msw-eyebrow {
	color: var(--msw-red);
}
.msw-event-card h3 {
	padding-bottom: 12px;
	font-size: 20px;
}
.msw-event-card .msw-erow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	color: var(--msw-text);
	font-size: 13px;
}
.msw-event-card svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--msw-red);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ==========================================================================
   FAQ + HELP CARD
   ========================================================================== */
.msw-faq.et_pb_toggle {
	margin-bottom: 12px !important;
	padding: 16px 20px !important;
	border: 1px solid var(--msw-line) !important;
	border-radius: 12px;
	background: #fff !important;
	box-shadow: 0 4px 14px rgba(14, 27, 77, .04);
	transition: border-color .2s ease;
}
.msw-faq.et_pb_toggle_open {
	border-color: var(--msw-navy) !important;
}
.msw-faq .et_pb_toggle_title {
	padding-right: 40px;
	color: var(--msw-ink) !important;
	font-family: var(--msw-body);
	font-size: 14.5px;
	font-weight: 500;
}
.msw-faq .et_pb_toggle_title:before {
	right: 0;
	color: var(--msw-ink) !important;
	font-size: 18px !important;
}
.msw-faq.et_pb_toggle_open .et_pb_toggle_title:before {
	color: var(--msw-red) !important;
}
.msw-faq .et_pb_toggle_content {
	padding-top: 10px;
	font-size: 14px;
}
.msw-help {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding: 34px !important;
	border-radius: var(--msw-radius-lg);
	background: linear-gradient(135deg, var(--msw-navy), var(--msw-navy-2)) !important;
	box-shadow: var(--msw-shadow-lg);
}
.msw-help:before {
	content: '';
	position: absolute;
	right: -60px;
	top: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
}
.msw-help .et_pb_blurb_content {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: none;
	text-align: left;
}
.msw-help .et_pb_main_blurb_image {
	margin: 0 !important;
}
.msw-help .et-pb-icon {
	padding: 16px;
	border-radius: 18px;
	background: #fff;
	color: var(--msw-navy) !important;
	font-size: 28px !important;
}
body.msw .msw-help h4.et_pb_module_header {
	padding-bottom: 4px;
	color: #fff;
	font-size: 17px;
}
.msw-help .et_pb_blurb_description {
	color: rgba(255, 255, 255, .94);
	font-size: 13px;
}

/* ==========================================================================
   FOOTER (Theme Builder)
   ========================================================================== */
.msw-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--msw-navy-3), var(--msw-navy) 70%) !important;
	color: rgba(255, 255, 255, .94);
}
.msw-footer:before {
	content: '';
	position: absolute;
	left: -120px;
	bottom: -160px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(229, 35, 46, .25), transparent 70%);
	pointer-events: none;
}
.msw-footer-main.et_pb_row {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr;
	gap: 32px;
}
.msw-footer-main.et_pb_row:after {
	display: none;
}
.msw-footer-main > .et_pb_column {
	width: auto !important;
	margin: 0 !important;
}
body.msw .msw-footer h4 {
	padding-bottom: 14px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}
.msw-footer p,
.msw-footer li {
	color: rgba(255, 255, 255, .94);
	font-size: 13.5px;
	line-height: 1.7;
}
.msw-footer ul.msw-links {
	padding: 0 !important;
	list-style: none !important;
}
.msw-footer ul.msw-links li {
	padding: 0 0 6px;
}
.msw-footer a {
	color: rgba(255, 255, 255, .94);
	transition: color .2s ease;
}
.msw-footer a:hover {
	color: #fff;
}
.msw-footer .msw-footer-logo img {
	max-height: 46px;
	width: auto;
}
.msw-footer-bottom.et_pb_row {
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.msw-footer-bottom .et_pb_text_inner {
	display: flex;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
	font-size: 12.5px;
}
.msw-footer-bottom .et_pb_text_inner p {
	padding: 0;
	font-size: 12.5px;
}
.msw-footer-bottom .msw-legal a + a {
	margin-left: 22px;
}

/* Social icons: [medskill_social] (plugin MedSkill) */
.ms-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
	padding: 0 !important;
	list-style: none !important;
}
.ms-social li {
	padding: 0 !important;
}
.ms-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	transition: background .2s ease, transform .2s ease;
}
.ms-social a:hover {
	background: var(--msw-red);
	transform: translateY(-2px);
}
.ms-social svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Newsletter (native Contact Form, one e-mail field) */
.msw-newsletter .et_pb_contact_form {
	position: relative;
	margin: 0 !important;
}
.msw-newsletter .et_pb_contact_form_container .et_pb_contact_main_title {
	display: none;
}
.msw-newsletter p.et_pb_contact_field {
	margin: 0 !important;
	padding: 0 !important;
}
.msw-newsletter .et_pb_contact_form input.input {
	padding: 14px 64px 14px 20px !important;
	border: 1px solid rgba(255, 255, 255, .2) !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--msw-ink) !important;
	font-size: 13.5px;
}
.msw-newsletter .et_contact_bottom_container {
	position: absolute;
	right: 5px;
	top: 5px;
	margin: 0 !important;
	float: none;
}
body.msw #page-container .msw-newsletter .et_pb_contact_submit.et_pb_button {
	width: 40px;
	height: 40px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: var(--msw-red);
	color: #fff !important;
	font-size: 18px;
	line-height: 40px;
	text-align: center;
}
body.msw #page-container .msw-newsletter .et_pb_contact_submit.et_pb_button:after {
	display: none;
}
body.msw #page-container .msw-newsletter .et_pb_contact_submit.et_pb_button:hover {
	background: var(--msw-red-2);
}
.msw-newsletter .et-pb-contact-message {
	color: #fff;
	font-size: 13px;
}
.msw-newsletter .et-pb-contact-message p {
	color: #fff;
}
.msw-footnote p {
	color: #ffffff !important;
	font-size: 12px !important;
}

/* ==========================================================================
   Reveal on scroll (JS adds .msw-in; without JS everything is visible)
   ========================================================================== */
.msw-js .msw-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.msw-js .msw-reveal.msw-in {
	opacity: 1;
	transform: none;
}
.msw-builder .msw-reveal {
	opacity: 1 !important;
	transform: none !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
	.msw-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.msw-header .et_pb_row { flex-wrap: wrap; }
	.ms-account { gap: 12px; }
	.msw-hero:before, .msw-hero:after { opacity: .35; }
	.msw-hero-title h1 { font-size: clamp(38px, 6vw, 52px); }
	.msw-hero-visual { min-height: 0; margin-top: 30px; }
	.msw-hero-visual .msw-hero-img { width: 86%; margin: 0 auto !important; }
	.msw-float-phone, .msw-float-feats { display: none; }
	.msw-float-video { left: 0; bottom: 10px; width: 240px; }
	.msw-float-rating { right: 0; bottom: auto; top: 20px; }
	.msw-track { grid-auto-columns: calc((100% - var(--msw-gap)) / 2.2); }
	.msw-track.msw-track-3 { grid-auto-columns: calc((100% - var(--msw-gap)) / 2.2); }
	.msw-about-text { margin-top: 30px; }
	.msw-stats .et_pb_column:nth-child(2):after { display: none; }
	.msw-why-visual .msw-why-img { width: 100%; }
	.msw-quote-card { position: relative !important; width: auto; margin-top: -60px !important; margin-left: 8% !important; }
	.msw-score-card { top: 14px; right: 14px; }
	.msw-event-box.et_pb_row { grid-template-columns: 1fr; }
	.msw-event-img { display: none; }
	.msw-footer-main.et_pb_row { grid-template-columns: 1fr 1fr; }
	.msw-footer-main > .et_pb_column:first-child,
	.msw-footer-main > .et_pb_column:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.msw-hero-title h1 { font-size: clamp(34px, 10vw, 44px); }
	.msw-hero-sub h2 { font-size: 20px; }
	.msw-title h2, .msw-sec-head h2 { font-size: clamp(23px, 6.6vw, 28px); }
	.msw-head-r a.msw-more { display: none; }
	.msw-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.msw-track,
	.msw-track.msw-track-3 { grid-auto-columns: 82%; gap: 16px; }
	.msw-hero-visual .msw-hero-img { width: 100%; }
	.msw-float-video { position: relative !important; left: auto; bottom: auto; width: auto; margin-top: -40px !important; animation: none; }
	.msw-float-rating { top: 12px; right: 12px; }
	.msw-rating-card { padding: 10px 12px; }
	.msw-collage { grid-auto-rows: 80px; gap: 8px; }
	.msw-about-text { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.msw-stat-num { font-size: 32px; }
	.msw-stats .et_pb_column:after { display: none; }
	.msw-stats .et_pb_column { margin-bottom: 22px !important; }
	.msw-quote-card { margin-left: 0 !important; margin-top: 16px !important; }
	.msw-help .et_pb_blurb_content { flex-direction: column; align-items: flex-start; }
	.msw-footer-main.et_pb_row { gap: 26px 20px; }
	.msw-footer-bottom .et_pb_text_inner { justify-content: center; text-align: center; }
	.ms-account .ms-account-login span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.msw-float, .msw-play-dot, .msw-collage-play a, .msw-badge-live .et_pb_main_blurb_image:before { animation: none; }
	.msw-js .msw-reveal { opacity: 1; transform: none; transition: none; }
	.msw-track { scroll-behavior: auto; }
	.msw-card, .msw-cat, .msw-testi, .msw-card img { transition: none; }
}

/* ==========================================================================
   Contrast rule: text on dark backgrounds is always white, text inside the
   white cards placed on them is always dark. Keep every text clearly
   readable against its background.
   ========================================================================== */
body.msw .msw-stats,
body.msw .msw-stats *:not(svg):not(path),
body.msw .msw-footer,
body.msw .msw-footer h4,
body.msw .msw-footer p,
body.msw .msw-footer li,
body.msw .msw-footer a,
body.msw .msw-event-box h2,
body.msw .msw-event-box > .et_pb_column:first-child p,
body.msw .msw-help h4,
body.msw .msw-help .et_pb_blurb_description,
body.msw .msw-help .et_pb_blurb_description p {
	color: #ffffff !important;
}
body.msw .msw-footer a:hover {
	color: #ffffff !important;
	text-decoration: underline;
}
body.msw .msw-event-box h2 span,
body.msw .msw-footer .msw-red {
	color: #ff5c65 !important;
}
body.msw .msw-event-card h3,
body.msw .msw-event-card .msw-erow {
	color: var(--msw-ink) !important;
}
body.msw .msw-event-card .msw-eyebrow {
	color: var(--msw-red) !important;
}
body.msw .msw-newsletter .et_pb_contact_form input.input,
body.msw .msw-newsletter .et_pb_contact_form input.input::placeholder {
	color: var(--msw-ink) !important;
	opacity: 1;
}
body.msw .msw-newsletter .et-pb-contact-message,
body.msw .msw-newsletter .et-pb-contact-message p {
	color: #ffffff !important;
}

/* Categories: icon + label centered */
body.msw .msw-cat,
body.msw .msw-cat .et_pb_blurb_content,
body.msw .msw-cat h4.et_pb_module_header {
	text-align: center !important;
}
body.msw .msw-cat .et_pb_main_blurb_image {
	margin-right: auto !important;
	margin-left: auto !important;
}

/* Wide screens: a little more breathing room */
@media (min-width: 1600px) {
	body.msw { font-size: 16px; }
	.msw-hero-visual { min-height: 680px; }
	.msw-float-phone { width: 230px; }
	.msw-float-video { width: 310px; }
	.msw-float-feats { width: 220px; }
	.msw-card h4.et_pb_module_header { font-size: 15.5px; }
	.msw-cat h4.et_pb_module_header { font-size: 14px; }
}

/* Small phones: nothing may be wider than the screen */
@media (max-width: 480px) {
	body.msw #page-container { overflow-x: hidden; }
	/* clip: same cut, but no scroll container – sticky elements keep working */
	@supports (overflow: clip) { body.msw #page-container { overflow-x: clip; } }
	.msw-btn-row .et_pb_button_module_wrapper { display: block; margin: 0 0 12px !important; }
	.msw-hero-feats .et_pb_text_inner { flex-direction: column; gap: 12px; }
	.msw-feat { max-width: none; }
	.msw-sec-head .et_pb_text_inner { align-items: flex-start; }
	.msw-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
	.msw-collage .et_pb_image:nth-child(n) { grid-column: auto; grid-row: auto; }
	.msw-collage .et_pb_image:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
	.msw-help { padding: 26px 20px !important; }
}

/* Events banner: air between the text and the button */
.msw-event-box > .et_pb_column:first-child .et_pb_text {
	margin-bottom: 30px !important;
}
.msw-event-box > .et_pb_column:first-child .et_pb_button_module_wrapper {
	margin-top: 4px !important;
}
.msw-event-box > .et_pb_column:first-child h2 {
	margin-bottom: 6px;
}

/* Header actions: search + account */
.msw-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

/* Header columns: the menu takes the free space, the actions their width */
@media (min-width: 981px) {
	.msw-header .et_pb_row > .et_pb_column {
		width: auto !important;
		margin-right: 0 !important;
	}
	.msw-header .et_pb_row > .et_pb_column:first-child {
		flex: 1 1 auto;
		min-width: 0;
		margin-right: 24px !important;
	}
	.msw-header .et_pb_row > .et_pb_column:last-child {
		flex: 0 0 auto;
	}
}
@media (min-width: 981px) and (max-width: 1280px) {
	.msw-header .ms-account .ms-account-login span { display: none; }
	.msw-header .et_pb_menu .et-menu > li { padding-right: 9px; padding-left: 9px; }
}
.msw-header-actions {
	gap: 12px;
}
.msw-header-actions .ms-account {
	margin-left: 6px;
}
/* Phones / tablets: the actions sit on their own line, aligned right,
   and the account button text stays readable */
@media (max-width: 980px) {
	.msw-header .et_pb_row > .et_pb_column:last-child {
		margin-top: 10px !important;
	}
	.msw-header-actions {
		justify-content: space-between;
	}
}
@media (max-width: 480px) {
	.msw-header-actions { gap: 8px; }
	.ms-account { gap: 8px; }
	.ms-account .ms-account-cta { padding: 10px 16px; font-size: 13px; }
}

/* Tablets / phones: the right hero ribbon would sit behind the text */
@media (max-width: 980px) {
	.msw-hero:after { display: none; }
	.msw-hero:before { left: -260px; bottom: -230px; opacity: .6; }
	.msw-header-actions { justify-content: flex-end; }
}
@media (max-width: 480px) {
	.msw-collage .et_pb_image:nth-child(4),
	.msw-collage .et_pb_image:nth-child(5) { grid-column: auto; grid-row: auto; }
}

/* Buttons keep their padding on hover too (Divi changes it when the icon shows) */
body.msw #page-container .et_pb_section .et_pb_button.msw-btn:hover {
	padding: 15px 32px !important;
}
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play,
body.msw #page-container .et_pb_section .et_pb_button.msw-btn-play:hover {
	min-height: 0;
	padding: 6px 8px 6px 0 !important;
}
@media (max-width: 480px) {
	body.msw #page-container .et_pb_section .et_pb_button.msw-btn,
	body.msw #page-container .et_pb_section .et_pb_button.msw-btn:hover {
		padding: 14px 28px !important;
	}
}

/* Footer newsletter: field right under its title */
.msw-newsletter,
.msw-newsletter .et_pb_contact {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
.msw-footer-main > .et_pb_column:last-child .et_pb_text:first-child {
	margin-bottom: 14px !important;
}
.msw-footnote {
	margin-top: 14px !important;
}

/* Mega menu button in the header (plugin MedSkill, optional) */
.msw-header-actions .ms-mega-btn {
	margin-right: 6px;
}
@media (max-width: 480px) {
	.msw-header-actions .ms-mega-btn { padding: 11px 13px; }
	.msw-header-actions .ms-mega-btn span { display: none; }
}

/* ==========================================================================
   Dynamic blocks (plugin MedSkill): [medskill_cursuri], [medskill_recenzii],
   [medskill_articole], [medskill_categorii_grid] – same look as the cards
   ========================================================================== */
.msw-track-dyn > * {
	margin: 0 !important;
	scroll-snap-align: start;
}
.msw-dyn-wrap,
.msw-dyn-wrap .et_pb_text_inner {
	overflow: visible;
}
.msw-badge-sale .et_pb_main_blurb_image:before { content: 'Reducere'; }
.msw-card .msw-tag {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	max-width: calc(100% - 64px);
	overflow: hidden;
	padding: 5px 10px;
	border-radius: 6px;
	background: var(--msw-navy);
	color: #fff;
	font-family: var(--msw-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}
.msw-card h4.et_pb_module_header {
	padding: 0 0 8px;
}
.msw-card-post .et_pb_main_blurb_image:after {
	display: none;
}
ul.msw-meta li.msw-price {
	color: var(--msw-red-2);
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 800;
}
.msw-rating-none small {
	color: var(--msw-muted);
	font-weight: 600;
}
.msw-empty {
	padding: 30px;
	border: 1px dashed var(--msw-line);
	border-radius: var(--msw-radius);
	color: var(--msw-text);
	text-align: center;
}
/* Testimonials built from Tutor reviews (portrait as background) */
.msw-testi .et_pb_testimonial_portrait {
	background-position: center;
	background-size: cover;
}
/* Categories grid */
a.msw-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--msw-ink) !important;
}
.msw-cat-ico {
	display: inline-flex;
	color: var(--msw-navy);
	transition: color .25s ease, transform .25s ease;
}
.msw-cat-ico svg {
	width: 36px;
	height: 36px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
a.msw-cat:hover .msw-cat-ico,
a.msw-cat.msw-cat-active .msw-cat-ico {
	color: var(--msw-red);
	transform: scale(1.08);
}
.msw-cat-name {
	font-family: var(--msw-head);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

/* ==========================================================================
   Equal card heights everywhere (carousels, grids, favorites): every card
   stretches to the tallest one in its row; title blocks get a fixed two-line
   height and the meta line sits at the bottom.
   ========================================================================== */
.msw-track {
	align-items: stretch;
}
.msw-track > * {
	display: flex;
	flex-direction: column;
	height: auto !important;
}
.msw-card,
.msw-card .et_pb_blurb_content,
.msw-card .et_pb_blurb_container,
.msw-card .et_pb_blurb_description {
	display: flex;
	flex-direction: column;
}
.msw-card { height: 100%; }
.msw-card .et_pb_blurb_content,
.msw-card .et_pb_blurb_container,
.msw-card .et_pb_blurb_description {
	flex: 1 1 auto;
}
.msw-card .et_pb_blurb_container,
.msw-card .et_pb_blurb_container *,
.msw-card h4.et_pb_module_header {
	text-align: left !important;
}
.msw-card h4.et_pb_module_header {
	display: -webkit-box;
	min-height: calc(2 * 1.3em + 8px);
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.msw-card ul.msw-meta,
.msw-card .msw-date {
	margin-top: auto !important;
}
.msw-card .msw-rating {
	min-height: 18px;
}
/* Testimonials: author block at the bottom */
.msw-testi.et_pb_testimonial,
.msw-testi .et_pb_testimonial_description {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
}
.msw-testi .et_pb_testimonial_description_inner {
	flex: 1 1 auto;
}
/* Category tiles and favorites cards */
.msw-cats > * { height: 100%; }
.ms-fav-lista { align-items: stretch; }
.ms-fav-card { display: flex; flex-direction: column; height: 100%; }
.ms-fav-card__txt { flex: 1 1 auto; }

/* The account button keeps white text on every page (Tutor / Woo styles) */
body.msw .ms-account a.ms-account-cta,
body.msw .ms-account a.ms-account-cta:hover {
	color: #ffffff !important;
}

/* Header with the mega menu button: the menu stays on one line */
.msw-header .et_pb_menu .et-menu {
	flex-wrap: nowrap;
	white-space: nowrap;
}
@media (min-width: 981px) and (max-width: 1560px) {
	.ms-has-mega .msw-header .et_pb_menu .et-menu > li { padding-right: 9px; padding-left: 9px; }
	.ms-has-mega .msw-header .ms-account .ms-account-login span { display: none; }
	.ms-has-mega .msw-header-actions { gap: 8px; }
}
@media (min-width: 981px) and (max-width: 1240px) {
	.ms-has-mega .msw-header .ms-mega-btn span { display: none; }
	.ms-has-mega .msw-header .ms-mega-btn { padding: 11px 13px; }
}

/* Official logo (colour, 377×243): taller in the header, on a white card
   in the dark footer so the red / teal stay clearly visible */
.msw-header .et_pb_menu .et_pb_menu__logo img,
.msw-header .et_pb_menu__logo-wrap img {
	max-height: 58px !important;
	width: auto;
}
.msw-footer .msw-footer-logo .et_pb_image_wrap {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}
.msw-footer .msw-footer-logo img {
	max-height: 64px;
	width: auto;
}
@media (max-width: 980px) {
	.msw-header .et_pb_menu .et_pb_menu__logo img { max-height: 46px !important; }
}
.msw-track-dyn > p,
.msw-track-dyn > br {
	display: none !important;
}

/* ==========================================================================
   Sections added with the official texts
   ========================================================================== */

/* Header top bar: [medskill_meniu meniu="medskill-bara-sus"] + social */
.msw-topbar { position: relative; z-index: 101; }
.msw-topbar-in {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}
.msw-topbar ul.msw-topnav {
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
}
.msw-topbar ul.msw-topnav li { padding: 0 !important; }
.msw-topbar ul.msw-topnav a {
	color: #ffffff !important;
	font-family: var(--msw-head);
	font-size: 13px;
	font-weight: 600;
}
.msw-topbar ul.msw-topnav a:hover { text-decoration: underline; }
.msw-topbar .ms-social { margin: 0; gap: 6px; }
.msw-topbar .ms-social a { width: 26px; height: 26px; background: rgba(255, 255, 255, .14); }
.msw-topbar .ms-social svg { width: 13px; height: 13px; }
/* Main phone, left of the top bar – desktop only */
.msw-topbar .ms-tel-sus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
	color: #ffffff !important;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .01em;
	white-space: nowrap;
}
.msw-topbar .ms-tel-sus svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.msw-topbar .ms-tel-sus:hover span { text-decoration: underline; }
@media (max-width: 980px) {
	.msw-topbar .ms-tel-sus { display: none; }
}
@media (max-width: 767px) {
	.msw-topbar-in { justify-content: center; flex-wrap: wrap; gap: 10px; }
}

/* Hero eyebrow with icon, phone header, quality card */
.msw-eyebrow-ico p {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--msw-navy);
	font-size: 14px;
	letter-spacing: .02em;
	text-transform: none;
}
.msw-eyebrow-ico p:before {
	content: '';
	width: 26px;
	height: 26px;
	flex: none;
	border-radius: 8px;
	background: var(--msw-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2zM22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.msw-phone-h {
	margin: 0 0 4px;
	padding: 0 4px;
	line-height: 1.15;
}
.msw-phone-h small { display: block; color: var(--msw-navy); font-size: 9px; font-weight: 700; }
.msw-phone-h b { color: var(--msw-ink); font-family: var(--msw-head); font-size: 14px; }
.msw-feats-card .msw-frow b { color: var(--msw-red); font-family: var(--msw-head); }
.msw-quality-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
}
.msw-quality-card .msw-ico {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--msw-navy);
	color: #fff;
	box-shadow: none;
}
.msw-quality-card b {
	display: block;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 13.5px;
	line-height: 1.3;
}
.msw-rating-badge svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Centered helpers */
.msw-center-text,
.msw-center-text .et_pb_text_inner { text-align: center !important; }
.et_pb_button_module_wrapper:has(.msw-btn-center) {
	display: flex !important;
	justify-content: center;
	margin-top: 34px !important;
}
.msw-subh {
	display: block;
	margin-bottom: 6px;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: clamp(18px, 1.5vw, 24px);
	font-weight: 700;
}
.msw-subh span { color: var(--msw-red); }
.msw-title-sm p { font-size: 15px; line-height: 1.7; }
body.msw .msw-title h2 .msw-navy-b { color: var(--msw-navy); font-weight: 800; }

/* Info card on the collages */
.msw-collage .msw-collage-card {
	position: absolute !important;
	right: -18px;
	bottom: 18%;
	z-index: 4;
	width: min(320px, 70%);
	margin: 0 !important;
}
.msw-info-card {
	padding: 20px 22px;
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow-lg);
}
.msw-info-h {
	display: flex;
	flex-direction: column;
	margin-bottom: 8px !important;
	padding: 0 !important;
}
.msw-info-h b {
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 19px;
}
.msw-stars-red { color: var(--msw-red); }
.msw-info-card ul {
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
}
.msw-info-card li {
	padding: 4px 0 !important;
	color: var(--msw-text);
	font-size: 13.5px;
	line-height: 1.45;
}
.msw-info-card strong { color: var(--msw-ink); }
.msw-red { color: var(--msw-red-2); font-weight: 600; }
.msw-row-reverse.et_pb_row { display: flex; flex-direction: row; }
@media (max-width: 980px) {
	.msw-row-reverse.et_pb_row { flex-direction: column-reverse; }
	.msw-collage .msw-collage-card { right: 8px; bottom: 8px; }
}
@media (max-width: 480px) {
	.msw-collage .msw-collage-card { position: relative !important; right: auto; bottom: auto; width: 100%; grid-column: 1 / -1; }
}

/* Callout (contact / "Oferim cursuri pentru") */
.msw-callout {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-top: 10px;
	padding: 20px 22px;
	border-left: 4px solid var(--msw-red);
	border-radius: 0 var(--msw-radius) var(--msw-radius) 0;
	background: #fff;
	box-shadow: var(--msw-shadow);
}
.msw-callout-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--msw-red);
	color: #fff;
}
.msw-callout-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msw-callout h4 { padding-bottom: 6px; color: var(--msw-ink); font-size: 18px; }
.msw-callout p { color: var(--msw-text); font-size: 14.5px; }

/* [medskill_contact] */
ul.ms-contact {
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
}
ul.ms-contact li { padding: 3px 0 !important; }
ul.ms-contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--msw-ink);
	font-weight: 700;
}
ul.ms-contact a:hover { color: var(--msw-red); }
ul.ms-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.msw .msw-help ul.ms-contact a,
body.msw .msw-footer ul.ms-contact a { color: #ffffff !important; }
.msw-footer ul.ms-contact { margin: 14px 0 4px; }
.msw-footer ul.ms-contact a { font-size: 16px; }

/* Lecturers carousel (native Team Member modules, placeholders) */
.msw-track.msw-track-lectori { grid-auto-columns: calc((100% - 4 * var(--msw-gap)) / 5); }
.msw-lector.et_pb_team_member {
	display: flex !important;
	flex-direction: column;
	overflow: hidden;
	height: 100%;
	padding: 0 !important;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow);
	text-align: center;
	transition: transform .3s ease, box-shadow .3s ease;
}
.msw-lector.et_pb_team_member:hover { transform: translateY(-6px); box-shadow: var(--msw-shadow-lg); }
.msw-lector .et_pb_team_member_image {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}
.msw-lector .et_pb_team_member_image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}
.msw-lector .et_pb_team_member_description {
	display: block !important;
	flex: 1 1 auto;
	padding: 16px 14px 18px;
	text-align: center !important;
}
.msw-lector h4.et_pb_module_header {
	padding-bottom: 4px;
	color: var(--msw-ink);
	font-size: 15px;
}
.msw-lector .et_pb_member_position {
	padding-bottom: 6px;
	color: var(--msw-red-2);
	font-size: 14px;
	font-weight: 600;
}
.msw-lector .et_pb_team_member_description p { color: var(--msw-text); font-size: 13px; }
@media (max-width: 1200px) { .msw-track.msw-track-lectori { grid-auto-columns: calc((100% - 3 * var(--msw-gap)) / 4); } }
@media (max-width: 980px) { .msw-track.msw-track-lectori { grid-auto-columns: calc((100% - var(--msw-gap)) / 2.3); } }
@media (max-width: 767px) { .msw-track.msw-track-lectori { grid-auto-columns: 62%; } }

/* Become a lecturer */
.msw-lector-cta.et_pb_row {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	padding: 0 !important;
	border-radius: var(--msw-radius-lg);
	background: var(--msw-bg);
	box-shadow: var(--msw-shadow);
}
.msw-lector-cta > .et_pb_column { margin: 0 !important; }
.msw-lector-cta-text { display: flex !important; flex-direction: column; justify-content: center; padding: 50px 48px !important; }
.msw-lector-img,
.msw-lector-img .et_pb_image_wrap,
.msw-lector-img img { display: block; width: 100%; height: 100%; margin: 0 !important; object-fit: cover; }
@media (max-width: 980px) {
	.msw-lector-cta.et_pb_row { flex-direction: column; }
	.msw-lector-cta-text { padding: 32px 24px !important; }
}

/* Events: eyebrow on dark, dynamic card */
body.msw .msw-event-box .msw-eyebrow-light { color: #ff8a90 !important; }
.msw-event-card-dyn h3 a { color: var(--msw-ink); }
.msw-event-card-dyn h3 a:hover { color: var(--msw-red); }

/* Account CTA */
.msw-cta-box.et_pb_row {
	overflow: hidden;
	border-radius: var(--msw-radius-lg);
	background:
		radial-gradient(500px 240px at 100% 0%, rgba(229, 35, 46, .35), transparent 60%),
		linear-gradient(120deg, var(--msw-navy-3), var(--msw-navy) 55%, var(--msw-navy-2));
	box-shadow: var(--msw-shadow-lg);
}
body.msw .msw-cta-box h2 {
	padding: 0;
	color: #fff;
	font-size: clamp(22px, 2.2vw, 34px);
}
body.msw .msw-cta-box h2 span { color: #ff8a90; }
.msw-cta-box .et_pb_button_module_wrapper { margin-top: 22px !important; }

/* Footer with 4 columns + ANPC */
.msw-footer-main.msw-footer-4.et_pb_row { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 980px) { .msw-footer-main.msw-footer-4.et_pb_row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .msw-footer-main.msw-footer-4.et_pb_row { grid-template-columns: 1fr; } }
.msw-footer-brand h4 { margin-top: 18px; }
.msw-footer-bottom-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	flex-wrap: wrap;
}
.msw-footer-bottom-in p { padding: 0 !important; }
.msw-anpc { display: flex; flex-wrap: wrap; gap: 8px; }
.msw-anpc a {
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 8px;
	color: #ffffff !important;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.msw-anpc a:hover { background: rgba(255, 255, 255, .1); text-decoration: none !important; }

/* Lecturer cards: centered text */
.msw-lector .et_pb_team_member_description,
.msw-lector .et_pb_team_member_description * {
	text-align: center !important;
}

/* "Devino lector": both halves share the card width, the image fills its half */
@media (min-width: 981px) {
	.msw-lector-cta.et_pb_row > .et_pb_column {
		flex: 1 1 50%;
		width: auto !important;
	}
}
.msw-lector-cta.et_pb_row > .et_pb_column:last-child {
	display: flex;
	min-height: 320px;
}
.msw-lector-cta .msw-lector-img {
	flex: 1 1 auto;
}

/* Events banner without an upcoming event: the empty card column goes away */
.msw-event-box.et_pb_row:not(:has(.msw-event-card)) {
	grid-template-columns: 1.15fr 1fr;
}
.msw-event-box.et_pb_row:not(:has(.msw-event-card)) > .et_pb_column:last-child {
	display: none;
}

/* ==========================================================================
   Homepage content from medskill.ro
   ========================================================================== */

/* "»" before the carousel titles */
.msw-raquo { color: var(--msw-red); margin-right: 4px; }

/* Hero with the real phone image */
.msw-hero-visual-phone { display: flex; align-items: center; justify-content: center; min-height: 600px; }
.msw-hero-visual-phone .msw-hero-img.msw-hero-phone {
	width: auto !important;
	margin: 0 auto !important;
	filter: drop-shadow(0 30px 50px rgba(14, 27, 77, .22));
}
.msw-hero-visual-phone .msw-hero-img.msw-hero-phone .et_pb_image_wrap,
.msw-hero-visual-phone .msw-hero-img.msw-hero-phone img {
	width: auto;
	max-width: 100%;
	height: auto;
	aspect-ratio: auto;
	border-radius: 0;
	object-fit: contain;
}
.msw-hero-visual-phone .msw-float-tl { left: 2%; right: auto; top: 60px; width: auto; }
.msw-hero-visual-phone .msw-float-feats { right: 0; top: 150px; width: 230px; }
.msw-hero-visual-phone .msw-float-video { left: 0; bottom: 70px; width: 300px; }
.msw-hero-visual-phone .msw-float-rating { right: 0; bottom: 30px; }
@media (max-width: 980px) {
	.msw-hero-visual-phone { min-height: 0; flex-direction: column; gap: 14px; }
	.msw-hero-visual-phone .msw-float { position: relative !important; inset: auto; width: 100% !important; max-width: 420px; animation: none; }
	.msw-hero-visual-phone .msw-float-phone, .msw-hero-visual-phone .msw-float-feats { display: block; }
}

/* Photo + info card (Despre Noi, Prim Ajutor) */
.msw-photo-col { position: relative; }
.msw-photo-col .msw-collage-photo { margin: 0 !important; }
.msw-photo-col .msw-collage-photo img,
.msw-photo-col .msw-collage-photo .et_pb_image_wrap {
	display: block;
	width: 100%;
	border-radius: var(--msw-radius-lg);
}
.msw-photo-col .msw-collage-card {
	position: absolute !important;
	right: -24px;
	bottom: 12%;
	z-index: 3;
	width: min(330px, 72%);
	margin: 0 !important;
}
.msw-info-h { flex-direction: row !important; align-items: center; gap: 12px; }
.msw-info-h img { width: 96px; height: auto; flex: none; border-radius: 10px; }
.msw-info-h > span { display: flex; flex-direction: column; }
@media (max-width: 980px) {
	.msw-photo-col .msw-collage-card { position: relative !important; right: auto; bottom: auto; width: 100%; margin-top: -40px !important; }
}

/* About features that open popups */
.msw-mini-link h4.et_pb_module_header a { color: var(--msw-ink); text-decoration: underline; text-decoration-color: rgba(229, 35, 46, .5); text-underline-offset: 3px; }
.msw-mini-link:hover h4.et_pb_module_header a { color: var(--msw-red); }

/* Categories: 3 format cards */
.msw-format-card {
	height: 100%;
	padding: 26px 24px !important;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.msw-format-card:hover { transform: translateY(-4px); border-color: var(--msw-red); box-shadow: 0 18px 40px rgba(229, 35, 46, .14); }
.msw-format-card .et_pb_blurb_content { display: flex; align-items: center; gap: 18px; max-width: none; }
.msw-format-card .et_pb_main_blurb_image { margin: 0 !important; width: auto !important; }
.msw-format-card .et-pb-icon { font-size: 42px !important; color: var(--msw-navy) !important; }
.msw-format-card h3.et_pb_module_header { padding-bottom: 4px; font-size: 19px; }
.msw-format-card h3.et_pb_module_header a { color: var(--msw-ink); }
.msw-format-card .et_pb_blurb_description p { color: var(--msw-red-2); font-weight: 700; }
.msw-format-row.et_pb_row { display: flex; gap: 24px; }
.msw-format-row > .et_pb_column { flex: 1; width: auto !important; margin: 0 !important; }
@media (max-width: 980px) { .msw-format-row.et_pb_row { flex-direction: column; } }

/* Lecturer cards (images from medskill.ro) */
.msw-track-lectori > .msw-lector-card { margin: 0 !important; }
.msw-lector-card .et_pb_image_wrap,
.msw-lector-card img {
	display: block;
	width: 100%;
	border: 1px solid var(--msw-line);
	border-radius: var(--msw-radius);
	background: #fff;
	box-shadow: var(--msw-shadow);
}
.msw-lector-card { transition: transform .3s ease; }
.msw-lector-card:hover { transform: translateY(-6px); }
.msw-sec-head h2 a { color: inherit; }
.msw-sec-head h2 a:hover { color: var(--msw-red); }

/* Become a lecturer: image fills its half */
.msw-lector-cta .msw-lector-img img { height: 100%; min-height: 320px; object-fit: cover; }

/* Testimonials with the initials avatars */
.msw-testi .et_pb_testimonial_portrait { background-size: cover; background-position: center; }

/* FAQ: 3 visible, the rest after "Vezi mai mult" */
.msw-faq-row .msw-faq-more { display: none; }
.msw-faq-row.msw-faq-all .msw-faq-more { display: block; }
.msw-builder .msw-faq-row .msw-faq-more { display: block; }
button.msw-faq-toggle { margin-top: 10px; cursor: pointer; }
button.msw-faq-toggle:after { content: '' !important; }

/* Footer: white logo, ANPC / payments row */
.msw-footer .msw-footer-logo-alb img { max-width: 220px; height: auto; }
.msw-footer-bottom-in .ms-social { margin: 0; }
.msw-anpc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 30px;
	flex-wrap: wrap;
}
.msw-anpc-row img { display: block; width: 230px; height: auto; border-radius: 8px; }
.msw-anpc-row .msw-netopia { width: 140px; padding: 8px 12px; border-radius: 10px; background: #fff; }
.msw-anpc-row .msw-anpc-link { color: #ffffff !important; font-weight: 700; }
@media (max-width: 767px) { .msw-anpc-row { justify-content: center; } }

/* CTA band above the footer (Theme Builder footer) */
.msw-footer-cta-sec .msw-cta-box h2 { text-align: center; }

/* Popups */
.msw-popup { display: none !important; }
.msw-popup.is-open {
	position: fixed !important;
	inset: 0;
	z-index: 100200;
	display: block !important;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 40px 16px !important;
	background: rgba(14, 27, 77, .62) !important;
}
html.msw-popup-lock { overflow: hidden; }
.msw-popup-host { z-index: 100150 !important; }
.msw-popup .msw-popup-box.et_pb_row {
	position: relative;
	padding: 44px 40px !important;
	border-radius: var(--msw-radius-lg);
	background: #fff;
	box-shadow: var(--msw-shadow-lg);
}
.msw-popup-x {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--msw-bg);
	color: var(--msw-ink);
	font-size: 26px;
	line-height: 42px;
	cursor: pointer;
}
.msw-popup-x:hover { background: var(--msw-red); color: #fff; }
.msw-popup-x:focus-visible { outline: 2px solid var(--msw-red); outline-offset: 2px; }
.msw-builder .msw-popup { display: block !important; outline: 2px dashed var(--msw-red); }
@media (max-width: 767px) {
	.msw-popup.is-open { padding: 16px 10px !important; }
	.msw-popup .msw-popup-box.et_pb_row { padding: 50px 20px 28px !important; }
	.msw-popup-x { position: sticky; z-index: 50; float: right; top: 0; margin: -36px -8px 0 0; background: #fff; box-shadow: 0 6px 16px rgba(14, 27, 77, .18); }
}

/* Popup "Educație de Încredere": features grid */
.msw-feature-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.msw-feature-grid > .et_pb_module { grid-column: 1 / -1; margin: 0 !important; }
.msw-feature-grid > .msw-feature { grid-column: auto; }
.msw-feature .et_pb_blurb_content { display: flex; gap: 14px; max-width: none; text-align: left; }
.msw-feature .et_pb_main_blurb_image { flex: none; width: 54px !important; margin: 0 !important; }
.msw-feature .et_pb_main_blurb_image img { width: 54px; padding: 10px; border-radius: 14px; background: var(--msw-bg); }
.msw-feature h4.et_pb_module_header { padding-bottom: 4px; color: var(--msw-ink); font-size: 16px; }
.msw-feature p { font-size: 14px; }
@media (max-width: 980px) { .msw-feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .msw-feature-grid { grid-template-columns: 1fr; } }

/* Popup "De ce noi?": three columns */
.msw-why-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 10px; }
.msw-why-cols > div { padding: 22px; border-radius: var(--msw-radius); background: var(--msw-bg); }
.msw-why-cols h4 { padding-bottom: 8px; color: var(--msw-red-2); font-size: 18px; }
.msw-why-cols p { font-size: 14px; line-height: 1.65; }
@media (max-width: 980px) { .msw-why-cols { grid-template-columns: 1fr; } }

/* Lecturer form */
.msw-form .et_pb_contact_field { margin-bottom: 14px !important; }
.msw-form .input,
.msw-form textarea.input {
	padding: 13px 16px !important;
	border: 1px solid var(--msw-line) !important;
	border-radius: 12px !important;
	background: var(--msw-bg) !important;
	color: var(--msw-ink) !important;
	font-size: 14.5px !important;
}
.msw-form .input::placeholder { color: var(--msw-muted) !important; opacity: 1; }
.msw-form .et_pb_contact_field_options_title { color: var(--msw-ink); font-weight: 700; }
.msw-form .et_pb_contact_field_checkbox label,
.msw-form .et_pb_contact_field_radio label { color: var(--msw-text) !important; }
body.msw #page-container .msw-form .et_pb_contact_submit.et_pb_button {
	padding: 14px 34px !important;
	border: 0 !important;
	border-radius: 999px;
	background: var(--msw-red);
	color: #fff !important;
	font-size: 15px;
}
body.msw #page-container .msw-form .et_pb_contact_submit.et_pb_button:hover { background: var(--msw-red-2); }
.msw-form .et_pb_contact_captcha_question,
.msw-form .et_pb_contact_right p { color: var(--msw-ink) !important; }

/* ==========================================================================
   Phone / tablet header: hamburger on the right, menu above everything,
   sub-menus as an accordion
   ========================================================================== */
@media (max-width: 980px) {
	.msw-header .et_pb_row > .et_pb_column:first-child {
		position: relative;
		z-index: 30;
	}
	.msw-header .et_pb_menu_inner_container {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.msw-header .et_pb_menu .et_pb_menu__wrap {
		flex: 1 1 auto;
		justify-content: flex-end !important;
		margin-left: 16px;
	}
	.msw-header .et_mobile_nav_menu {
		float: none;
		margin: 0 0 0 auto !important;
	}
	.msw-header .mobile_menu_bar {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border: 1px solid var(--msw-line);
		border-radius: 12px;
		background: #fff;
	}
	.msw-header .mobile_menu_bar:before {
		position: static !important;
		top: auto !important;
		color: var(--msw-navy) !important;
		font-size: 30px !important;
		line-height: 1 !important;
	}
	.msw-header .mobile_nav.opened .mobile_menu_bar:before { content: '\4d'; }
	.msw-header .et_pb_menu .et_mobile_menu {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + 10px);
		z-index: 100000;
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		margin: 0;
		padding: 8px 10px 14px !important;
		border: 0;
		border-top: 3px solid var(--msw-red);
		border-radius: 0 0 18px 18px;
		background: #fff !important;
		box-shadow: 0 24px 60px rgba(14, 27, 77, .22);
	}
	.msw-header .et_mobile_menu li {
		position: relative;
		padding: 0 !important;
		list-style: none;
	}
	.msw-header .et_mobile_menu li a {
		display: block;
		padding: 12px 52px 12px 12px !important;
		border-bottom: 1px solid var(--msw-line) !important;
		background: transparent !important;
		color: var(--msw-ink) !important;
		font-family: var(--msw-head);
		font-size: 15px !important;
		font-weight: 600;
		line-height: 1.35;
		opacity: 1 !important;
	}
	.msw-header .et_mobile_menu li li a { font-size: 14px !important; font-weight: 500; }
	.msw-header .et_mobile_menu .sub-menu {
		display: none !important;
		margin: 0 0 4px 10px !important;
		padding: 0 0 0 10px !important;
		border-left: 2px solid var(--msw-line);
	}
	.msw-header .et_mobile_menu li.msw-open > .sub-menu { display: block !important; }
	.msw-header .et_mobile_menu li.msw-open > a { color: var(--msw-red) !important; }
	.msw-sub-toggle {
		position: absolute;
		right: 4px;
		top: 4px;
		width: 40px;
		height: 38px;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background: var(--msw-bg);
		cursor: pointer;
	}
	.msw-sub-toggle:before {
		content: '';
		display: block;
		width: 9px;
		height: 9px;
		margin: 0 auto;
		border-right: 2px solid var(--msw-ink);
		border-bottom: 2px solid var(--msw-ink);
		transform: translateY(-2px) rotate(45deg);
		transition: transform .2s ease;
	}
	.msw-open > .msw-sub-toggle:before { transform: translateY(2px) rotate(-135deg); }
	.msw-sub-toggle:focus-visible { outline: 2px solid var(--msw-red); outline-offset: 2px; }
	/* Divi's own sub-menu arrows / indent are replaced by the accordion */
	.msw-header .et_mobile_menu .menu-item-has-children > a { background: transparent !important; }
}

/* The Theme Builder header always stacks above the page (open mobile menu,
   mega menu, search, mini cart) */
.et-l--header {
	position: relative;
	z-index: 1000;
}
@media (max-width: 980px) {
	.msw-header .et_pb_row > .et_pb_column:last-child {
		position: relative;
		z-index: 1;
	}
	.msw-header.et_pb_section,
	.msw-header .et_pb_row {
		overflow: visible !important;
	}
}

/* Lecturers: name / title / hospital (sizes asked: 15 / 17 / 12px) */
body.msw .msw-lector h4.et_pb_module_header { font-size: 15px !important; line-height: 1.3; }
body.msw .msw-lector .et_pb_member_position { font-size: 17px !important; line-height: 1.3; }
body.msw .msw-lector .et_pb_team_member_description p { font-size: 12px !important; line-height: 1.4; }
.msw-lector .et_pb_team_member_image img { aspect-ratio: auto; object-fit: contain; background: #fff; }

/* Mobile menu: solid white panel; the menu column above the action buttons */
@media (max-width: 980px) {
	body.msw .msw-header .et_pb_menu ul.et_mobile_menu,
	body.msw .msw-header .et_pb_menu ul.et_mobile_menu ul { background-color: #ffffff !important; }
	body.msw .msw-header .et_pb_row > .et_pb_column:first-child { position: relative !important; z-index: 40 !important; }
	body.msw .msw-header .et_pb_row > .et_pb_column:last-child { position: relative !important; z-index: 1 !important; }
}

/* Desktop dropdowns with a deep menu tree (live menu: up to 5 levels):
   level 2 is a flyout, levels 3+ open inside it (indented) – nothing
   leaves the screen, no horizontal scroll */
@media (min-width: 981px) {
	.msw-header .et-menu-nav li ul.sub-menu {
		width: 290px;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		padding: 10px 0 !important;
	}
	.msw-header .et-menu-nav li li { width: 100%; padding: 0 12px !important; }
	.msw-header .et-menu-nav li li a {
		width: 100% !important;
		padding: 8px 10px !important;
		color: var(--msw-ink) !important;
		font-size: 14px;
		line-height: 1.35;
		white-space: normal;
	}
	.msw-header .et-menu-nav li li a:hover { background: var(--msw-bg); color: var(--msw-red) !important; opacity: 1; border-radius: 8px; }
	.msw-header .et-menu-nav li li ul.sub-menu {
		position: static !important;
		display: none !important;
		width: auto !important;
		max-height: none;
		overflow: visible;
		margin: 0 0 4px 10px !important;
		padding: 0 0 0 8px !important;
		border: 0 !important;
		border-left: 2px solid var(--msw-line) !important;
		box-shadow: none !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
	.msw-header .et-menu-nav li li:hover > ul.sub-menu,
	.msw-header .et-menu-nav li li:focus-within > ul.sub-menu { display: block !important; }
	.msw-header .et-menu-nav li li li { padding: 0 !important; }
	.msw-header .et-menu-nav li li.menu-item-has-children > a:after { content: '\33'; right: 8px; top: 9px; font-size: 14px; }
}
/* Safety net: nothing may widen the page */
html, body { overflow-x: clip; }
@media (min-width: 981px) {
	.msw-header .et-menu-nav li li { display: block !important; }
}
@media (min-width: 981px) {
	body.msw .msw-header .et-menu-nav ul.sub-menu,
	body.msw .msw-header .et-menu-nav li li ul.sub-menu { background-color: #ffffff !important; }
	body.msw .msw-header .et-menu-nav > ul > li > ul.sub-menu { z-index: 100001; box-shadow: 0 24px 60px rgba(14, 27, 77, .2) !important; }
}

/* Lecturers: title red 17px, hospital 12px (separate selectors) */
body.msw .msw-lector .et_pb_team_member_description p.et_pb_member_position {
	padding-bottom: 6px;
	color: var(--msw-red-2) !important;
	font-size: 17px !important;
	font-weight: 500;
	line-height: 1.3;
}
body.msw .msw-lector .et_pb_team_member_description p:not(.et_pb_member_position) {
	color: var(--msw-text) !important;
	font-size: 12px !important;
}

/* Phone / tablet header: action buttons spread over the full width */
@media (max-width: 980px) {
	.msw-header .et_pb_row > .et_pb_column:last-child {
		width: 100% !important;
		margin: 10px 0 0 !important;
		padding-top: 10px;
		border-top: 1px solid var(--msw-line);
	}
	.msw-header .msw-account-wrap,
	.msw-header .msw-account-wrap .et_pb_text_inner { width: 100%; }
	body.msw .msw-header-actions {
		display: flex;
		align-items: center;
		justify-content: space-between !important;
		gap: 8px;
		width: 100%;
	}
	.msw-header-actions .ms-mega-btn { margin-right: 0; }
	.msw-header-actions .ms-account { margin-left: 0; }
}
@media (min-width: 600px) and (max-width: 980px) {
	.msw-header-actions .ms-mega-btn span { display: inline !important; }
	.msw-header-actions .ms-account .ms-account-login span { display: inline !important; }
}
@media (max-width: 980px) {
	.msw-header .et_pb_row > .et_pb_column:first-child { margin-bottom: 0 !important; }
	.msw-header .et_pb_row > .et_pb_column:last-child { margin-top: 8px !important; padding-top: 8px; }
}

/* Mockup hero: real phone image from medskill.ro as the floating phone */
.msw-float-phone .msw-phone-img {
	display: block;
	width: 100%;
	height: auto;
	transform: rotate(-7deg);
	filter: drop-shadow(0 24px 40px rgba(14, 27, 77, .28));
}
.msw-hero-visual .msw-float-phone { width: 210px; left: 0; top: 40px; }
.msw-hero-visual .msw-float-video { left: 18%; bottom: 40px; width: 260px; }
.msw-rating-badge { font-size: 14px; }
/* About image (medskill.ro collage) */
.msw-about-img,
.msw-about-img .et_pb_image_wrap,
.msw-about-img img { display: block; width: 100%; margin: 0 !important; border-radius: var(--msw-radius-lg); }
.msw-about-img img { box-shadow: var(--msw-shadow-lg); }
/* Why-us image (medskill.ro first-aid collage) keeps its proportions */
.msw-why-visual .msw-why-img img,
.msw-why-visual .msw-why-img .et_pb_image_wrap { aspect-ratio: auto; object-fit: contain; }
.msw-why-visual .msw-why-img { width: 58%; }
/* Footer: CTA column + legal links */
.msw-footer-main > .et_pb_column:last-child h4 { font-size: 17px; line-height: 1.35; }
.msw-footer-bottom .msw-legal a + a { margin-left: 22px; }
.msw-footer .msw-footer-logo-alb img { max-width: 200px; height: auto; }
@media (max-width: 980px) {
	.msw-hero-visual .msw-float-phone { display: block; position: absolute !important; width: 130px; left: 0; top: 10px; }
	.msw-why-visual .msw-why-img { width: 100%; }
}
@media (max-width: 767px) {
	.msw-hero-visual .msw-float-phone { width: 110px; }
}
/* Section heads: text left, link + arrows stay on the right */
.msw-sec-head .et_pb_text_inner { flex-wrap: nowrap; }
.msw-sec-head .msw-head-l { flex: 1 1 auto; max-width: 980px; }
.msw-sec-head .msw-head-r { flex: none; }
@media (max-width: 767px) { .msw-sec-head .et_pb_text_inner { flex-wrap: wrap; } }
/* Hero: the jobs card sits above the lecturers card */
@media (min-width: 981px) {
	.msw-hero-visual .msw-float-video { left: 6%; bottom: 150px; width: 250px; }
}

/* About: text column centred on the image + "MEDSkill Team" and contact cards */
#despre .et_pb_row { display: flex; align-items: center; }
.msw-about-text > .et_pb_button_module_wrapper { margin-bottom: 26px !important; }
.msw-about-extra {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 18px;
}
.msw-team-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--msw-radius-lg);
	background: linear-gradient(140deg, var(--msw-navy-3), var(--msw-navy) 60%, var(--msw-navy-2));
	box-shadow: var(--msw-shadow-lg);
}
.msw-team-card:after {
	content: '';
	position: absolute;
	right: -50px;
	bottom: -60px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(229, 35, 46, .45), transparent 70%);
}
.msw-team-card img {
	display: block;
	width: 100%;
	height: 150px;
	object-fit: cover;
	object-position: center 30%;
}
.msw-team-body { position: relative; z-index: 1; padding: 16px 20px 20px; }
.msw-team-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px !important; padding: 0 !important; }
body.msw .msw-team-h b { color: #fff; font-family: var(--msw-head); font-size: 18px; }
.msw-team-card ul { margin: 0; padding: 0 !important; list-style: none !important; }
.msw-team-card li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .14);
	color: #ffffff;
	font-size: 13.5px;
	line-height: 1.4;
}
.msw-team-card li strong { color: #fff; }
.msw-team-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	min-width: 46px;
	height: 32px;
	padding: 0 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 800;
}
.msw-team-num svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.msw-contact-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 24px 22px;
	border: 1px solid var(--msw-line);
	border-top: 4px solid var(--msw-red);
	border-radius: var(--msw-radius-lg);
	background: #fff;
	box-shadow: var(--msw-shadow);
}
.msw-contact-card h4 { padding-bottom: 10px; color: var(--msw-ink); font-size: 18px; line-height: 1.3; }
.msw-contact-card ul.ms-contact a { font-size: 15px; }
@media (max-width: 980px) {
	#despre .et_pb_row { display: block; }
}
@media (max-width: 767px) {
	.msw-about-extra { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer CTA "Creează-ți cont și primești 10% reducere!" – overlaps the footer
   ========================================================================== */
.msw-footer-cta-band { position: relative; z-index: 3; margin-bottom: -90px; }
.msw-footer-cta-band + .msw-footer { padding-top: 160px !important; }
.msw-cta-ultra.et_pb_row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	padding: 44px 56px !important;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 28px;
	background:
		radial-gradient(420px 220px at 12% 120%, rgba(255, 92, 101, .55), transparent 70%),
		radial-gradient(520px 260px at 95% -30%, rgba(80, 120, 255, .55), transparent 70%),
		linear-gradient(120deg, #e5232e 0%, #b3101b 32%, var(--msw-navy) 68%, var(--msw-navy-2) 100%);
	background-size: 160% 160%;
	box-shadow: 0 30px 70px rgba(14, 27, 77, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
	animation: msw-cta-flow 12s ease-in-out infinite alternate;
}
@keyframes msw-cta-flow {
	from { background-position: 0% 50%; }
	to { background-position: 100% 50%; }
}
/* soft light sweep */
.msw-cta-ultra.et_pb_row:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: -40%;
	width: 35%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
	transform: skewX(-18deg);
	animation: msw-cta-sweep 6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes msw-cta-sweep {
	0%, 55% { left: -40%; }
	100% { left: 130%; }
}
/* dotted texture */
.msw-cta-ultra.et_pb_row:after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
	mask-image: linear-gradient(90deg, transparent, #000 60%);
	pointer-events: none;
}
.msw-cta-ultra > .et_pb_column {
	position: relative;
	z-index: 1;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	width: 100% !important;
}
.msw-cta-ultra .msw-cta-ultra-text { margin: 0 !important; }
.msw-cta-ultra-in { display: flex; align-items: center; gap: 26px; }
.msw-cta-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 104px;
	height: 104px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 12px 30px rgba(0, 0, 0, .2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.msw-cta-badge:before {
	content: '';
	position: absolute;
	inset: -8px;
	border: 2px dashed rgba(255, 255, 255, .45);
	border-radius: 50%;
	animation: msw-spin 18s linear infinite;
}
@keyframes msw-spin { to { transform: rotate(360deg); } }
.msw-cta-badge b {
	color: #fff;
	font-family: var(--msw-head);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
}
body.msw .msw-cta-ultra h2 {
	padding: 0;
	color: #ffffff;
	font-size: clamp(24px, 2.4vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.02em;
}
body.msw .msw-cta-ultra h2 span {
	display: inline-block;
	padding: 0 10px;
	border-radius: 10px;
	background: #ffffff;
	color: var(--msw-red-2);
	-webkit-text-fill-color: var(--msw-red-2);
}
.msw-cta-ultra .et_pb_button_module_wrapper { flex: none; margin: 0 !important; }
body.msw #page-container .et_pb_section .et_pb_button.msw-cta-ultra-btn {
	padding: 18px 40px !important;
	font-size: 17px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}
body.msw #page-container .et_pb_section .et_pb_button.msw-cta-ultra-btn:hover {
	background: var(--msw-ink);
	color: #fff !important;
}
@media (max-width: 980px) {
	.msw-cta-ultra.et_pb_row { padding: 34px 28px !important; }
	.msw-cta-ultra > .et_pb_column { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	.msw-cta-ultra-in { flex-direction: column; align-items: flex-start; gap: 18px; }
	.msw-cta-badge { width: 84px; height: 84px; }
	.msw-cta-badge b { font-size: 24px; }
	.msw-footer-cta-band { margin-bottom: -60px; }
	.msw-footer-cta-band + .msw-footer { padding-top: 120px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.msw-cta-ultra.et_pb_row, .msw-cta-ultra.et_pb_row:before, .msw-cta-badge:before { animation: none; }
}

body.msw .msw-footer-main h4 { font-size: 16px !important; }

/* ==========================================================================
   Course category pages (Theme Builder: "Categorii de cursuri (Tutor LMS)")
   ========================================================================== */
.msc-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(520px 300px at 8% 120%, rgba(229, 35, 46, .5), transparent 70%),
		radial-gradient(640px 320px at 100% -20%, rgba(80, 120, 255, .45), transparent 70%),
		linear-gradient(120deg, var(--msw-navy-3), var(--msw-navy) 55%, var(--msw-navy-2)) !important;
}
.msc-hero:before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
	background-size: 20px 20px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
	mask-image: linear-gradient(90deg, transparent, #000 70%);
	pointer-events: none;
}
.msc-hero .et_pb_row { position: relative; z-index: 1; }
.msc-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 18px;
	font-size: 13.5px;
}
.msc-crumbs a, .msc-crumbs span { color: #ffffff; }
.msc-crumbs a { opacity: .85; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.msc-crumbs a:hover { opacity: 1; }
.msc-crumbs [aria-current] { font-weight: 700; }
body.msw .msc-head h1 {
	max-width: 900px;
	padding: 0 0 12px;
	color: #ffffff;
	font-size: clamp(32px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.02em;
}
.msc-desc, .msc-desc p { max-width: 760px; color: #ffffff !important; font-size: 16px; line-height: 1.65; }
.msc-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.msc-pill, .msc-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.msc-pill svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msc-back { background: #ffffff; color: var(--msw-navy) !important; }
.msc-back:hover { background: var(--msw-red); color: #fff !important; }
/* The filter column floats over the hero edge */
.msc-body .msf { margin-top: -70px; position: relative; z-index: 2; }
.msc-body .msf-count { margin-top: 74px !important; }
@media (max-width: 980px) {
	.msc-body .msf { margin-top: -40px; }
	.msc-body .msf-count { margin-top: 0 !important; }
}

/* Theme Builder body layouts (archives) run inside "#et-boc .et-l" with
   Divi's stronger selectors: the same look there */
.et-db #et-boc .et-l .msw-header .et_pb_menu .et-menu > li > a {
	padding-top: 10px;
	padding-bottom: 10px !important;
	color: var(--msw-ink) !important;
	font-size: 14px;
	line-height: 1.3;
}
.et-db #et-boc .et-l .msw-header .et_pb_menu .et-menu > li { padding-top: 0; padding-bottom: 0; }
.et-db #et-boc .et-l .msw-header .et_pb_menu .et-menu .menu-item-has-children > a:first-child:after { top: 10px; }
.et-db #et-boc .et-l .msc-head h1 {
	padding: 0 0 12px;
	color: #ffffff !important;
	font-size: clamp(32px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.08;
}
.et-db #et-boc .et-l .msc-crumbs a,
.et-db #et-boc .et-l .msc-crumbs span { color: #ffffff !important; }
.et-db #et-boc .et-l .msc-pills a.msc-back { color: var(--msw-navy) !important; }
.et-db #et-boc .et-l .msw-card h4.et_pb_module_header,
.et-db #et-boc .et-l .msf-grid h4 {
	padding-bottom: 8px;
	color: var(--msw-ink);
	font-family: var(--msw-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}
.et-db #et-boc .et-l .msw-card h4.et_pb_module_header a { color: var(--msw-ink); }
.et-db #et-boc .et-l .msw-card h4.et_pb_module_header a:hover { color: var(--msw-red); }
.et-db #et-boc .et-l .msf-h { font-size: 16px; }
.et-db #et-boc .et-l .ms-social a { color: #fff; }

/* Hero: cut-out portrait (Dr. Paul Ciucur) rising out of a brand shape */
.msw-hero-visual .msw-hero-img.msw-hero-cutout {
	position: relative;
	display: flex !important;
	align-items: flex-end;
	justify-content: center;
	width: 80%;
	min-height: 560px;
	margin: 0 0 0 auto !important;
}
.msw-hero-visual .msw-hero-cutout::before {
	content: '';
	position: absolute;
	left: 4%;
	right: 4%;
	bottom: 0;
	height: 82%;
	border-radius: 260px 260px 32px 32px;
	background:
		radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, .35), transparent 60%),
		linear-gradient(160deg, #142c94 0%, #0b1f6e 55%, #06124a 100%);
	box-shadow: 0 30px 70px rgba(11, 31, 110, .35);
}
.msw-hero-visual .msw-hero-cutout::after {
	content: '';
	position: absolute;
	right: -2%;
	top: 20%;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(229, 35, 46, .9), rgba(229, 35, 46, 0) 70%);
	filter: blur(6px);
}
.msw-hero-visual .msw-hero-cutout .et_pb_image_wrap {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	border-radius: 0 !important;
}
.msw-hero-visual .msw-hero-cutout img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto !important;
	border-radius: 0 0 32px 32px !important;
	object-fit: contain !important;
	filter: drop-shadow(0 20px 30px rgba(6, 18, 74, .35));
}
@media (max-width: 980px) {
	.msw-hero-visual .msw-hero-img.msw-hero-cutout { width: 88%; min-height: 0; margin: 0 auto !important; }
}
/* the shape follows the photo exactly (wrap = image size) */
.msw-hero-visual .msw-hero-cutout::before { display: none; }
.msw-hero-visual .msw-hero-cutout .et_pb_image_wrap::before {
	content: '';
	position: absolute;
	left: 3%;
	right: 3%;
	bottom: 0;
	height: 78%;
	z-index: -1;
	border-radius: 260px 260px 32px 32px;
	background:
		radial-gradient(70% 60% at 30% 20%, rgba(255, 255, 255, .3), transparent 60%),
		linear-gradient(160deg, #142c94 0%, #0b1f6e 55%, #06124a 100%);
	box-shadow: 0 30px 70px rgba(11, 31, 110, .35);
}
.msw-hero-visual .msw-hero-cutout .et_pb_image_wrap { isolation: isolate; border-radius: 0 0 32px 32px !important; overflow: hidden; padding-top: 40px; margin-top: -40px; }
.msw-hero-visual .msw-hero-cutout { min-height: 0 !important; }
.msw-hero-visual .msw-hero-img.msw-hero-cutout .et_pb_image_wrap { aspect-ratio: auto !important; height: auto !important; background: none !important; box-shadow: none !important; }
/* Phones / tablets: the cards go under the portrait – the face stays visible */
@media (max-width: 980px) {
	.msw-hero-visual .msw-float-rating,
	.msw-hero-visual .msw-float-video {
		position: relative !important;
		inset: auto !important;
		width: 100% !important;
		max-width: 460px;
		margin: 14px auto 0 !important;
		animation: none;
	}
	.msw-hero-visual .msw-float-phone { top: 30px; width: 100px; }
}

/* Theme Builder pages of custom post types (products, shop, Tutor): Divi's
   customizer prints ".et-db #et-boc .et-l h1–h6" with the old demo colour and
   font; the site's heading font/colour win again, and the headings placed on
   dark backgrounds stay white. */
body.msw.et-db #et-boc .et-l h1, body.msw.et-db #et-boc .et-l h2, body.msw.et-db #et-boc .et-l h3,
body.msw.et-db #et-boc .et-l h4, body.msw.et-db #et-boc .et-l h5, body.msw.et-db #et-boc .et-l h6 {
	color: var(--msw-ink);
	font-family: var(--msw-head);
}
body.msw.et-db #et-boc .et-l .msw-cta-ultra h2,
body.msw.et-db #et-boc .et-l .msw-footer h4,
body.msw.et-db #et-boc .et-l .msw-footer h2,
body.msw.et-db #et-boc .et-l .msw-footer h3,
body.msw.et-db #et-boc .et-l .msc-hero h1,
body.msw.et-db #et-boc .et-l .msc-hero h2,
body.msw.et-db #et-boc .et-l .msm-head h1,
body.msw.et-db #et-boc .et-l .mscu-hero h1,
body.msw.et-db #et-boc .et-l .msw-cta-box h2,
body.msw.et-db #et-boc .et-l .msw-event-box h2,
body.msw.et-db #et-boc .et-l .msw-help h4,
body.msw.et-db #et-boc .et-l .msw-stats h1, body.msw.et-db #et-boc .et-l .msw-stats h2,
body.msw.et-db #et-boc .et-l .msw-stats h3, body.msw.et-db #et-boc .et-l .msw-stats h4 { color: #ffffff; }

/* ==========================================================================
   Page "Cursuri pentru Companii" (/cursuri-corporate/) – mcorp-*
   ========================================================================== */
.mcorp-hero { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 100% 0%, rgba(229, 35, 46, .35), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(20, 44, 148, .9), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94) !important; }
.mcorp-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.mcorp-hero .et_pb_row { position: relative; z-index: 1; }
@media (min-width: 981px) {
	.mcorp-hero-row.et_pb_row, .mcorp-prog.et_pb_row { display: flex; align-items: center; gap: 64px; }
	.mcorp-hero-row > .et_pb_column, .mcorp-prog > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; }
	.mcorp-prog--rev .mcorp-media { order: 2; }
}
.mcorp-hero-txt h1,
body.msw .mcorp-hero-txt h1,
body.msw.et-db #et-boc .et-l .mcorp-hero-txt h1 {
	padding: 0 0 22px;
	color: #fff !important;
	font-size: clamp(36px, 4.6vw, 66px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.03em;
}
.mcorp-hero-txt p { color: #fff !important; font-size: 18px; line-height: 1.75; opacity: .95; }
.mcorp-hero-txt strong { color: #fff; }
.mcorp-hero-btn { margin-top: 28px; }

.mcorp-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mcorp-tile {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 24px;
	background: #06124a;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 50px rgba(0, 0, 0, .28);
	transition: transform .35s ease, box-shadow .35s ease;
	isolation: isolate;
}
.mcorp-tile img { display: block; width: 100%; aspect-ratio: 800 / 772; object-fit: cover; transition: transform .5s ease; }
.mcorp-tile span {
	position: absolute;
	right: 10px;
	bottom: 10px;
	left: 10px;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(6, 18, 74, .82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-family: var(--msw-head);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}
.mcorp-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 30px 60px rgba(0, 0, 0, .35); }
.mcorp-tile:hover img { transform: scale(1.06); }

/* Quick navigation – overlaps the hero */
.mcorp-nav-sec { position: relative; z-index: 3; overflow: visible !important; }
.mcorp-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -54px; }
.mcorp-nav a {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 96px;
	padding: 18px 20px;
	border: 1px solid #e4e9f5;
	border-radius: 20px;
	background: #fff;
	color: var(--msw-ink) !important;
	box-shadow: 0 18px 40px rgba(14, 27, 77, .12);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mcorp-nav a:hover { transform: translateY(-4px); border-color: #c3cde6; box-shadow: 0 24px 50px rgba(14, 27, 77, .16); }
.mcorp-nav b { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fde8ea; color: #c4141f; font-family: var(--msw-head); font-size: 15px; font-weight: 800; }
.mcorp-nav span { flex: 1; font-family: var(--msw-head); font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.mcorp-nav svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #e5232e; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Programs */
.mcorp-sec { scroll-margin-top: 110px; }
.mcorp-media { position: relative; }
.mcorp-img { margin: 0 !important; }
.mcorp-img .et_pb_image_wrap { display: block; overflow: hidden; border-radius: 28px; box-shadow: 0 30px 60px rgba(14, 27, 77, .16); }
.mcorp-img img { display: block; width: 100%; transition: transform .6s ease; }
.mcorp-img:hover img { transform: scale(1.04); }
.mcorp-nr { position: absolute !important; top: -26px; left: -18px; z-index: 2; margin: 0 !important; }
.mcorp-prog--rev .mcorp-nr { right: -18px; left: auto; }
.mcorp-nr span { display: grid; place-items: center; width: 84px; height: 84px; border: 6px solid #fff; border-radius: 26px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 28px; font-weight: 800; box-shadow: 0 16px 34px rgba(229, 35, 46, .35); }
.mcorp-sec--alt .mcorp-nr span { border-color: #f4f7fd; }
.mcorp-txt h2,
body.msw .mcorp-txt h2,
body.msw.et-db #et-boc .et-l .mcorp-txt h2 { padding: 0 0 18px; color: var(--msw-ink); font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.mcorp-txt p { color: #333d5c; font-size: 17px; line-height: 1.75; }
.mcorp-txt strong { color: var(--msw-ink); }
.mcorp-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 6px !important; padding: 0 !important; list-style: none !important; }
.mcorp-checks li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px !important; border: 1px solid #e4e9f5; border-radius: 16px; background: #fff; color: var(--msw-ink); font-size: 15px; font-weight: 700; line-height: 1.45; }
.mcorp-sec:not(.mcorp-sec--alt) .mcorp-checks li { background: #f4f7fd; }
.mcorp-checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #1e8e4e; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mcorp-body .et_pb_button_module_wrapper { margin-top: 24px !important; }

/* Clients – logo marquee */
.mcorp-clients-h h2,
body.msw .mcorp-clients-h h2,
body.msw.et-db #et-boc .et-l .mcorp-clients-h h2 { padding: 0 0 34px; color: var(--msw-ink); font-size: clamp(28px, 3vw, 42px); font-weight: 800; text-align: center; letter-spacing: -.02em; }
.mcorp-marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mcorp-logos { display: flex; flex: none; gap: 18px; margin: 0 !important; padding: 6px 18px 6px 0 !important; list-style: none !important; animation: mcorpScroll 70s linear infinite; }
.mcorp-marquee:hover .mcorp-logos { animation-play-state: paused; }
.mcorp-logos li { display: grid; flex: none; place-items: center; width: 190px; height: 150px; padding: 14px !important; border: 1px solid #e4e9f5; border-radius: 20px; background: #fff; box-shadow: 0 10px 26px rgba(14, 27, 77, .06); transition: transform .25s ease, box-shadow .25s ease; }
.mcorp-logos li:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(14, 27, 77, .12); }
.mcorp-logos img { max-width: 100%; max-height: 118px; width: auto; height: auto; object-fit: contain; }
@keyframes mcorpScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.mcorp-marquee { -webkit-mask-image: none; mask-image: none; }
	.mcorp-logos { flex-wrap: wrap; justify-content: center; animation: none; }
	.mcorp-logos[aria-hidden="true"] { display: none; }
}

/* Quote form */
.mcorp-form-sec { position: relative; overflow: hidden; scroll-margin-top: 90px; background: radial-gradient(600px 380px at 0% 0%, rgba(229, 35, 46, .3), transparent 70%), linear-gradient(140deg, #06124a, #0b1f6e 60%, #142c94) !important; }
.mcorp-form-row.et_pb_row { max-width: 980px !important; }
.mcorp-form.et_pb_contact_form_container { padding: 44px 48px; border-radius: 28px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.mcorp-form .et_pb_contact_main_title { padding: 0 0 26px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: clamp(26px, 2.8vw, 38px) !important; font-weight: 800; line-height: 1.15; text-align: center; letter-spacing: -.02em; }
.mcorp-form .et_pb_contact_field { margin-bottom: 16px !important; }
.mcorp-form .input,
.mcorp-form input.input,
.mcorp-form textarea.input,
.mcorp-form select.input {
	min-height: 54px;
	padding: 14px 18px !important;
	border: 1px solid #d5dcec !important;
	border-radius: 14px !important;
	background: #f8faff !important;
	color: var(--msw-ink) !important;
	font-size: 16px !important;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.mcorp-form textarea.input { min-height: 140px; }
.mcorp-form .input:focus { border-color: var(--msw-navy) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(11, 31, 110, .12) !important; }
.mcorp-form .input::placeholder { color: #525d7d !important; }
.mcorp-form .et_pb_contact_field_options_title { display: block; margin-bottom: 8px; color: var(--msw-ink); font-size: 15px; font-weight: 700; }
.mcorp-form .et_pb_contact_field_checkbox label { color: #333d5c !important; font-size: 15px; }
.mcorp-form .et_pb_contact_field_checkbox label a { color: #c4141f !important; font-weight: 700; text-decoration: underline; }
.mcorp-form .et_pb_contact_field_checkbox label i { border: 1px solid #b8c3dd !important; border-radius: 6px; background: #fff !important; }
.mcorp-form .et_contact_bottom_container { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; float: none; margin-top: 10px; }
.mcorp-form .et_pb_contact_right p { color: var(--msw-ink); font-weight: 700; }
.mcorp-form input.et_pb_contact_captcha { width: 70px !important; min-height: 50px; padding: 0 !important; text-align: center; }
body.msw #page-container .mcorp-form .et_pb_contact_submit.et_pb_button {
	min-height: 56px;
	margin: 0 !important;
	padding: 15px 44px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--msw-red) !important;
	color: #fff !important;
	font-family: var(--msw-head);
	font-size: 17px !important;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(229, 35, 46, .35);
	transition: background .2s, transform .2s;
}
body.msw #page-container .mcorp-form .et_pb_contact_submit.et_pb_button:hover { background: var(--msw-red-2) !important; transform: translateY(-2px); }
body.msw #page-container .mcorp-form .et_pb_contact_submit.et_pb_button::after { display: none; }
.mcorp-form .et-pb-contact-message { color: var(--msw-ink); font-size: 16px; font-weight: 700; text-align: center; }

@media (max-width: 980px) {
	.mcorp-hero-l { margin-bottom: 36px !important; }
	.mcorp-nav { grid-template-columns: 1fr 1fr; margin-top: -40px; }
	.mcorp-media { margin-bottom: 40px !important; }
	.mcorp-nr { left: 10px; }
	.mcorp-prog--rev .mcorp-nr { right: auto; left: 10px; }
}
@media (max-width: 767px) {
	.mcorp-collage { gap: 10px; }
	.mcorp-tile { border-radius: 16px; }
	.mcorp-tile span { right: 6px; bottom: 6px; left: 6px; padding: 7px 9px; font-size: 12px; }
	/* the hero collage already links to the four programs */
	.mcorp-nav-sec { display: none; }
	.mcorp-checks { grid-template-columns: 1fr; }
	.mcorp-nr span { width: 64px; height: 64px; border-radius: 20px; font-size: 22px; }
	.mcorp-logos li { width: 150px; height: 120px; }
	.mcorp-form.et_pb_contact_form_container { padding: 28px 20px; border-radius: 22px; }
	.mcorp-form .et_contact_bottom_container { justify-content: stretch; }
	body.msw #page-container .mcorp-form .et_pb_contact_submit.et_pb_button { width: 100%; }
	.mcorp-hero-txt p { font-size: 16.5px; }
}

/* ==========================================================================
   Page "Pregătire admitere medicină" (/pregatire-admitere-medicina/) – madm-*
   ========================================================================== */
.madm-hero, .madm-test-sec, .madm-rev-sec, .madm-final-sec { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 100% 0%, rgba(229, 35, 46, .32), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(20, 44, 148, .9), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94) !important; }
.madm-hero::before, .madm-test-sec::before, .madm-rev-sec::before, .madm-final-sec::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.madm-hero .et_pb_row, .madm-test-sec .et_pb_row, .madm-rev-sec .et_pb_row, .madm-final-sec .et_pb_row { position: relative; z-index: 1; }
@media (min-width: 981px) {
	.madm-hero-row.et_pb_row, .madm-steprow.et_pb_row, .madm-lector.et_pb_row, .madm-eb.et_pb_row { display: flex; align-items: center; gap: 64px; }
	.madm-hero-row > .et_pb_column, .madm-steprow > .et_pb_column, .madm-lector > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; }
	.madm-steprow--rev .madm-step-media { order: 2; }
}

/* Small uppercase label used above section titles */
.madm-eyebrow, .madm-kicker, .madm-step {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px !important;
	padding: 8px 16px !important;
	border-radius: 999px;
	background: #fde8ea;
	color: #b3101b !important;
	font-family: var(--msw-head);
	font-size: 12.5px !important;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.3 !important;
	text-transform: uppercase;
}
.madm-kicker, .madm-head--light .madm-eyebrow, .madm-eb-txt .madm-eyebrow { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff !important; }
.madm-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2ee07a; box-shadow: 0 0 0 4px rgba(46, 224, 122, .25); }

/* Buttons written in text modules */
.madm-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.madm-btns--center { justify-content: center; }
.madm-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 15px 30px; border-radius: 999px; font-family: var(--msw-head); font-size: 15.5px; font-weight: 800; letter-spacing: .02em; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
.madm-b--red { background: var(--msw-red); color: #fff !important; box-shadow: 0 14px 30px rgba(229, 35, 46, .35); }
.madm-b--red:hover { background: var(--msw-red-2); transform: translateY(-2px); }
.madm-b--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; }
.madm-b--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.madm-b--xl { min-height: 60px; padding: 17px 36px; font-size: 16.5px; }

/* ---------- Hero ---------- */
.madm-hero-txt h1,
body.msw .madm-hero-txt h1,
body.msw.et-db #et-boc .et-l .madm-hero-txt h1 { padding: 0 0 22px; color: #fff !important; font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.madm-hero-txt h1 span { color: #ff6b73; }
.madm-lead { color: #fff !important; font-size: 18.5px; line-height: 1.7; }
.madm-lead strong, .madm-sub strong { color: #fff; }
.madm-sub { margin-top: 10px !important; color: rgba(255, 255, 255, .9) !important; font-size: 15.5px; }
.madm-frame { position: relative; padding: 38px 12px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease; }
.madm-frame:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.madm-dots { position: absolute; top: 14px; left: 18px; display: flex; gap: 7px; }
.madm-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.madm-dots i:nth-child(2) { background: #febc2e; }
.madm-dots i:nth-child(3) { background: #28c840; }
.madm-frame-img { display: block; width: 100%; border-radius: 12px; }

/* ---------- Early Bird ---------- */
.madm-eb-sec { position: relative; z-index: 3; overflow: visible !important; }
.madm-eb.et_pb_row { align-items: stretch !important; gap: 0 !important; margin-top: -60px !important; overflow: hidden; border-radius: 30px; background: #fff; box-shadow: 0 40px 90px rgba(14, 27, 77, .2); }
.madm-eb > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; padding: 48px 50px !important; }
.madm-eb-l { position: relative; background: radial-gradient(420px 260px at 0% 0%, rgba(229, 35, 46, .5), transparent 70%), linear-gradient(140deg, #06124a, #0b1f6e 60%, #142c94); }
.madm-eb-txt h2,
body.msw.et-db #et-boc .et-l .madm-eb-txt h2,
body.msw .madm-eb-txt h2 { padding: 0 0 12px; color: #fff !important; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.madm-eb-txt h5,
body.msw.et-db #et-boc .et-l .madm-eb-txt h5 { padding: 0 0 12px; color: #ffd1d4 !important; font-size: 18px; font-weight: 700; }
.madm-eb-txt p { color: #fff !important; font-size: 16.5px; line-height: 1.7; }
.madm-eb-txt strong { color: #fff; background: linear-gradient(transparent 60%, rgba(229, 35, 46, .6) 60%); }
.madm-countdown.et_pb_countdown_timer { margin-top: 28px !important; padding: 0 !important; background: transparent !important; }
.madm-countdown .title { margin-bottom: 12px !important; padding: 0 !important; color: #fff !important; font-family: var(--msw-head); font-size: 14px !important; font-weight: 800; letter-spacing: .08em; }
.madm-countdown .et_pb_countdown_timer_container { display: flex; align-items: stretch; gap: 10px; }
.madm-countdown .section.values { flex: 1; min-width: 0; padding: 14px 6px !important; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: rgba(255, 255, 255, .1); text-align: center; width: auto !important; max-width: none !important; }
.madm-countdown .section.sep { display: none !important; }
.madm-countdown .value { margin: 0 !important; padding: 0 !important; color: #fff !important; font-family: var(--msw-head); font-size: 34px !important; font-weight: 800; line-height: 1.1 !important; }
.madm-countdown .label { margin: 4px 0 0 !important; padding: 0 !important; color: rgba(255, 255, 255, .85) !important; font-size: 12px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.madm-eb-r { display: flex; flex-direction: column; justify-content: center; }
.madm-eb-form .et_pb_contact_field { margin-bottom: 14px !important; }
.madm-eb-form .input, .madm-eb-form select.input, .madm-eb-form input.input {
	min-height: 54px; padding: 14px 18px !important; border: 1px solid #d5dcec !important; border-radius: 14px !important; background: #f8faff !important; color: var(--msw-ink) !important; font-size: 16px !important; transition: border-color .15s, box-shadow .15s, background .15s;
}
.madm-eb-form .input:focus { border-color: var(--msw-navy) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(11, 31, 110, .12) !important; }
.madm-eb-form .input[readonly] { background: #eef2fb !important; color: #0b1f6e !important; font-weight: 700; }
.madm-eb-form .input::placeholder { color: #525d7d !important; }
.madm-eb-form .et_pb_contact_field_options_title { display: block; margin-bottom: 8px; color: var(--msw-ink); font-size: 15px; font-weight: 700; }
.madm-eb-form .et_pb_contact_field_checkbox label { color: #333d5c !important; font-size: 14.5px; line-height: 1.55; }
.madm-eb-form .et_pb_contact_field_checkbox label a { color: #c4141f !important; font-weight: 700; text-decoration: underline; }
.madm-eb-form .et_contact_bottom_container { float: none; display: block; margin-top: 8px; }
body.msw #page-container .madm-eb-form .et_pb_contact_submit.et_pb_button { display: block; width: 100%; min-height: 58px; margin: 0 !important; padding: 16px 30px !important; border: 0 !important; border-radius: 999px !important; background: var(--msw-red) !important; color: #fff !important; font-family: var(--msw-head); font-size: 17px !important; font-weight: 800; letter-spacing: .02em; box-shadow: 0 14px 30px rgba(229, 35, 46, .35); transition: background .2s, transform .2s; }
body.msw #page-container .madm-eb-form .et_pb_contact_submit.et_pb_button:hover { background: var(--msw-red-2) !important; transform: translateY(-2px); }
body.msw #page-container .madm-eb-form .et_pb_contact_submit.et_pb_button::after { display: none; }
.madm-eb-form .et-pb-contact-message { color: var(--msw-ink); font-weight: 700; }

/* ---------- Section heads ---------- */
.madm-head .et_pb_text_inner, .madm-cta-center .et_pb_text_inner, .madm-final .et_pb_text_inner, .madm-biblio .et_pb_text_inner { text-align: center !important; }
.madm-head { max-width: 860px; margin: 0 auto 44px !important; text-align: center; }
.madm-head h2,
body.msw .madm-head h2,
body.msw.et-db #et-boc .et-l .madm-head h2 { padding: 0 0 14px; color: var(--msw-ink); font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.madm-head p { color: #333d5c; font-size: 17.5px; line-height: 1.7; }
.madm-head--light h2, body.msw .madm-head--light h2, body.msw.et-db #et-boc .et-l .madm-head--light h2 { color: #fff !important; }
.madm-head--light p, .madm-head--light strong { color: #fff !important; }

/* ---------- Choice cards (blurbs with link) ---------- */
@media (min-width: 981px) { .madm-choices.et_pb_row { display: flex; gap: 28px; } .madm-choices > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; } }
.madm-choice.et_pb_blurb { height: 100%; padding: 34px 36px; border: 1px solid #e4e9f5; border-radius: 26px; background: linear-gradient(160deg, #fff, #f4f7fd); box-shadow: 0 14px 40px rgba(14, 27, 77, .07); cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.madm-choice.et_pb_blurb:hover { transform: translateY(-6px); border-color: #c3cde6; box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.madm-choice .et_pb_blurb_content { display: flex; align-items: center; gap: 26px; max-width: none !important; text-align: left; }
.madm-choice .et_pb_main_blurb_image { flex: none; width: 120px; margin: 0 !important; }
.madm-choice .et_pb_main_blurb_image img { width: 120px; height: 120px; border-radius: 26px; object-fit: cover; box-shadow: 0 14px 30px rgba(14, 27, 77, .12); }
.madm-choice h3,
body.msw.et-db #et-boc .et-l .madm-choice h3 { padding: 0 0 8px; color: var(--msw-ink); font-size: 23px; font-weight: 800; }
.madm-choice h3::after { content: ' →'; color: var(--msw-red); }
.madm-choice p { color: #333d5c; font-size: 16px; line-height: 1.7; }

/* ---------- Free test ---------- */
.madm-tests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.madm-test { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: rgba(255, 255, 255, .07); transition: transform .25s, background .25s; }
.madm-test:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); }
.madm-test-img { position: relative; }
.madm-test-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.madm-test-img b { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--msw-red); color: #fff; font-family: var(--msw-head); font-size: 17px; }
.madm-test h3,
body.msw.et-db #et-boc .et-l .madm-test h3,
body.msw .madm-test h3 { margin: 0; padding: 20px 22px 8px; color: #fff !important; font-size: 20px; font-weight: 800; }
.madm-test p { padding: 0 22px 24px !important; color: rgba(255, 255, 255, .92) !important; font-size: 15px; line-height: 1.65; }
.madm-test p strong { color: #fff; }
.madm-cta-center { margin-top: 44px !important; text-align: center; }
.madm-cta-center p { margin-top: 12px !important; color: rgba(255, 255, 255, .9) !important; font-size: 14.5px; font-weight: 600; }

/* ---------- Packages ---------- */
.madm-biblio { max-width: 860px; margin: -10px auto 36px !important; padding: 26px 28px; border: 1px dashed #c3cde6; border-radius: 22px; background: #fff; text-align: center; }
.madm-biblio h6,
body.msw.et-db #et-boc .et-l .madm-biblio h6 { padding: 0 0 6px; color: var(--msw-ink); font-size: 18px; font-weight: 800; }
.madm-biblio p { color: #333d5c; font-size: 15.5px; }
.madm-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; padding: 6px; border-radius: 999px; background: #e8eefa; }
.madm-switch button { min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px; background: transparent; color: #0b1f6e; font-family: var(--msw-head); font-size: 15px; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.madm-switch button.is-active { background: #0b1f6e; color: #fff; box-shadow: 0 10px 22px rgba(11, 31, 110, .3); }
.madm-prices-row[hidden] { display: none !important; }
.madm-prices.et_pb_pricing { display: block !important; border: 0 !important; }
.madm-prices .et_pb_pricing_table_wrap { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.madm-prices .et_pb_pricing_table_wrap::before, .madm-prices .et_pb_pricing_table_wrap::after { display: none !important; }
.madm-prices .et_pb_pricing_table { display: flex; flex-direction: column; float: none !important; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 0 28px !important; overflow: hidden; border: 1px solid #e4e9f5 !important; border-radius: 26px; background: #fff !important; box-shadow: 0 16px 44px rgba(14, 27, 77, .08); transition: transform .25s, box-shadow .25s; }
.madm-prices .et_pb_pricing_table:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.madm-prices .et_pb_pricing_heading { padding: 30px 30px 6px !important; background: transparent !important; text-align: left; }
.madm-prices .et_pb_pricing_title,
body.msw.et-db #et-boc .et-l .madm-prices .et_pb_pricing_title { padding: 0 0 6px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 24px !important; font-weight: 800; }
.madm-prices .et_pb_best_value { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #fde8ea; color: #b3101b !important; font-size: 12.5px !important; font-weight: 800; letter-spacing: .04em; }
.madm-prices .et_pb_pricing_content_top { padding: 16px 30px 18px !important; border-bottom: 1px solid #eef1f8 !important; text-align: left; }
.madm-prices .et_pb_et_price { color: var(--msw-ink) !important; }
.madm-prices .et_pb_sum { color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 54px !important; font-weight: 800; line-height: 1 !important; letter-spacing: -.03em; }
.madm-prices .et_pb_dollar_sign { margin-right: 6px; color: #333d5c !important; font-size: 16px !important; font-weight: 700; }
.madm-prices .et_pb_frequency { color: #333d5c !important; font-size: 15px !important; font-weight: 600; }
.madm-prices .et_pb_pricing_content { flex: 1; padding: 22px 30px 8px !important; text-align: left; }
.madm-prices ul.et_pb_pricing li { position: relative; padding: 0 0 12px 32px !important; color: var(--msw-ink) !important; font-size: 15px; font-weight: 600; line-height: 1.5; }
.madm-prices ul.et_pb_pricing li::before { content: '' !important; position: absolute; top: 1px; left: 0; width: 22px; height: 22px; border: 0 !important; border-radius: 50%; background: #1e8e4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px; }
.madm-prices ul.et_pb_pricing li:last-child { margin-top: 6px; padding: 12px 14px 12px 44px !important; border-radius: 14px; background: #fde8ea; color: #b3101b !important; font-weight: 800; }
.madm-prices ul.et_pb_pricing li:last-child::before { top: 12px; left: 12px; background-color: var(--msw-red); }
.madm-prices .et_pb_button_wrapper { padding: 0 30px; }
body.msw #page-container .madm-prices .et_pb_pricing_table_button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 14px 24px !important; border: 1.5px solid #0b1f6e !important; border-radius: 999px !important; background: #fff !important; color: #0b1f6e !important; font-family: var(--msw-head); font-size: 15.5px !important; font-weight: 800; }
body.msw #page-container .madm-prices .et_pb_pricing_table_button:hover { background: #0b1f6e !important; color: #fff !important; }
body.msw #page-container .madm-prices .et_pb_pricing_table_button::after { display: none; }
.madm-prices .et_pb_featured_table { z-index: 2; border: 2px solid var(--msw-red) !important; box-shadow: 0 30px 70px rgba(229, 35, 46, .2); transform: translateY(-10px); }
.madm-prices .et_pb_featured_table:hover { transform: translateY(-14px); }
body.msw #page-container .madm-prices .et_pb_featured_table .et_pb_pricing_table_button { border-color: var(--msw-red) !important; background: var(--msw-red) !important; color: #fff !important; box-shadow: 0 14px 30px rgba(229, 35, 46, .3); }
body.msw #page-container .madm-prices .et_pb_featured_table .et_pb_pricing_table_button:hover { background: var(--msw-red-2) !important; }

/* ---------- Steps ---------- */
.madm-steprow.et_pb_row { padding: 46px 0 !important; }
.madm-steprow + .madm-steprow { border-top: 1px dashed #d5dcec; }
.madm-step-media { position: relative; }
.madm-step-img { margin: 0 !important; }
.madm-step-img .et_pb_image_wrap { display: block; overflow: hidden; border-radius: 26px; background: #f4f7fd; box-shadow: 0 30px 60px rgba(14, 27, 77, .14); }
.madm-step-img img { display: block; width: 100%; }
.madm-step-nr { position: absolute !important; top: -22px; left: -16px; z-index: 2; margin: 0 !important; }
.madm-steprow--rev .madm-step-nr { right: -16px; left: auto; }
.madm-step-nr span { display: grid; place-items: center; width: 72px; height: 72px; border: 5px solid #fff; border-radius: 22px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 28px; font-weight: 800; box-shadow: 0 14px 30px rgba(229, 35, 46, .35); }
.madm-step-txt h2,
body.msw .madm-step-txt h2,
body.msw.et-db #et-boc .et-l .madm-step-txt h2 { padding: 0 0 14px; color: var(--msw-ink); font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.madm-step-txt p { color: #333d5c; font-size: 17px; line-height: 1.75; }
.madm-checks { display: grid; gap: 10px; margin: 20px 0 6px !important; padding: 0 !important; list-style: none !important; }
.madm-checks li { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px !important; border: 1px solid #e4e9f5; border-radius: 14px; background: #f4f7fd; color: var(--msw-ink); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.madm-checks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #1e8e4e; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.madm-note { display: inline-block; margin-top: 14px !important; padding: 10px 16px !important; border-left: 4px solid var(--msw-red); border-radius: 10px; background: #fff5f6; color: var(--msw-ink) !important; font-size: 15px !important; font-weight: 700; line-height: 1.5 !important; }
.madm-step-body .et_pb_button_module_wrapper { margin-top: 22px !important; }

/* ---------- Individual resources ---------- */
@media (min-width: 981px) { .madm-res-row.et_pb_row { display: flex; align-items: stretch; gap: 22px; } .madm-res-row > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; } }
.madm-res { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); scroll-margin-top: 110px; transition: transform .25s, box-shadow .25s; }
.madm-res:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.madm-res-txt { flex: 1; margin: 0 !important; }
.madm-res-img { display: block; overflow: hidden; }
.madm-res-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.madm-res:hover .madm-res-img img { transform: scale(1.05); }
.madm-res-txt h2,
body.msw .madm-res-txt h2,
body.msw.et-db #et-boc .et-l .madm-res-txt h2 { padding: 22px 24px 6px; color: var(--msw-ink); font-size: 23px; font-weight: 800; }
.madm-res-txt h5,
body.msw.et-db #et-boc .et-l .madm-res-txt h5 { padding: 0 24px 8px; color: #c4141f !important; font-size: 15.5px; line-height: 1.4; }
.madm-res-txt p { padding: 0 24px !important; color: #333d5c; font-size: 15px; line-height: 1.65; }
.madm-res-txt .madm-note { margin: 12px 24px 0 !important; }
.madm-res .et_pb_button_module_wrapper { margin: 20px 24px 24px !important; }
body.msw #page-container .madm-res .et_pb_button.madm-res-btn { display: flex; justify-content: center; width: 100%; }

/* ---------- Lecturer ---------- */
.madm-lector-card { position: relative; max-width: 520px; margin: 0 auto; padding: 18px; border-radius: 40px; background: linear-gradient(150deg, #e8eefa, #fde8ea); }
.madm-lector-card::before { content: ''; position: absolute; inset: auto -22px -22px auto; width: 140px; height: 140px; border-radius: 34px; background: var(--msw-red); opacity: .9; z-index: -1; }
.madm-lector-card img { display: block; width: 100%; border-radius: 28px; }
.madm-lector-txt h2,
body.msw .madm-lector-txt h2,
body.msw.et-db #et-boc .et-l .madm-lector-txt h2 { padding: 0 0 16px; color: var(--msw-ink); font-size: clamp(28px, 3vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.madm-lector-txt p { color: #333d5c; font-size: 17px; line-height: 1.75; }
.madm-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px !important; padding: 0 !important; list-style: none !important; }
.madm-chips li { padding: 10px 16px !important; border-radius: 999px; background: #0b1f6e; color: #fff; font-size: 14px; font-weight: 700; }
.madm-lector-r .et_pb_button_module_wrapper { margin-top: 22px !important; }

/* ---------- Reviews ---------- */
.madm-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.madm-review { display: flex; flex-direction: column; margin: 0; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .25); }
.madm-review img { display: block; width: 100%; }
.madm-review figcaption { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.madm-stars { color: #f5a524; font-size: 17px; letter-spacing: 2px; }
.madm-review b { color: var(--msw-ink); font-family: var(--msw-head); font-size: 15px; line-height: 1.4; }

/* ---------- FAQ (Divi toggles) ---------- */
.madm-faq-row.et_pb_row { max-width: 960px !important; }
.madm-head--center { margin-bottom: 30px !important; }
.madm-faq.et_pb_toggle { margin-bottom: 12px !important; padding: 0 !important; overflow: hidden; border: 1px solid #e4e9f5 !important; border-radius: 18px; background: #fff !important; box-shadow: 0 8px 24px rgba(14, 27, 77, .05); }
.madm-faq .et_pb_toggle_title,
body.msw.et-db #et-boc .et-l .madm-faq .et_pb_toggle_title { padding: 20px 60px 20px 24px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 17px !important; font-weight: 800; line-height: 1.4; cursor: pointer; }
.madm-faq .et_pb_toggle_title::before { right: 22px !important; color: var(--msw-red) !important; font-size: 22px !important; }
.madm-faq.et_pb_toggle_open { border-color: #c3cde6 !important; box-shadow: 0 16px 36px rgba(14, 27, 77, .1); }
.madm-faq .et_pb_toggle_content { padding: 0 24px 22px !important; color: #333d5c; font-size: 16px; line-height: 1.75; }

/* ---------- Final CTA ---------- */
.madm-final { max-width: 900px; margin: 0 auto !important; text-align: center; }
.madm-final h2,
body.msw .madm-final h2,
body.msw.et-db #et-boc .et-l .madm-final h2 { padding: 0 0 14px; color: #fff !important; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.madm-final p, .madm-final strong { color: #fff !important; font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.madm-tests, .madm-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.madm-hero-l { margin-bottom: 40px !important; }
	.madm-frame { transform: none; }
	.madm-eb.et_pb_row { display: block; margin-top: -40px !important; }
	.madm-eb > .et_pb_column { padding: 34px 26px !important; }
	.madm-choice.et_pb_blurb { margin-bottom: 20px !important; }
	.madm-prices .et_pb_pricing_table_wrap { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.madm-prices .et_pb_featured_table { transform: none; }
	.madm-step-media { margin-bottom: 36px !important; }
	.madm-step-nr { left: 10px; }
	.madm-steprow--rev .madm-step-nr { right: auto; left: 10px; }
	.madm-res { margin-bottom: 22px !important; }
	.madm-lector-l { margin-bottom: 40px !important; }
}
@media (max-width: 767px) {
	.madm-tests, .madm-reviews { grid-template-columns: 1fr; }
	.madm-choice .et_pb_blurb_content { flex-direction: column; align-items: flex-start; gap: 16px; }
	.madm-choice.et_pb_blurb { padding: 26px 22px; }
	.madm-btns .madm-b { flex: 1 1 100%; }
	.madm-countdown .value { font-size: 26px !important; }
	.madm-countdown .label { font-size: 10.5px !important; }
	.madm-switch { display: flex; border-radius: 22px; }
	.madm-switch button { flex: 1 1 100%; }
	.madm-step-nr span { width: 58px; height: 58px; font-size: 22px; border-radius: 18px; }
	.madm-lead { font-size: 16.5px; }
	.madm-lector-card::before { inset: auto -10px -10px auto; width: 90px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
	.madm-frame, .madm-frame:hover { transform: none; }
}

/* Back to top (above the WhatsApp button; position set in medskillwow.js) */
.msw-top {
	position: fixed;
	right: 30px;
	bottom: calc(24px + env(safe-area-inset-bottom));
	z-index: 9990;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #0b1f6e;
	box-shadow: 0 8px 22px rgba(14, 27, 77, .18);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(.9);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s, color .2s;
}
.msw-top.is-on { opacity: 1; visibility: visible; transform: none; }
.msw-top:hover { background: #0b1f6e; color: #fff; }
.msw-top:focus-visible { outline: 2px solid #e5232e; outline-offset: 3px; }
.msw-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 2.5; }
.msw-top-ring circle { stroke: #e4e9f5; }
.msw-top-ring .msw-top-p { stroke: #e5232e; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.msw-top:hover .msw-top-ring circle:not(.msw-top-p) { stroke: rgba(255, 255, 255, .25); }
.msw-top-ic { position: relative; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) {
	.msw-top { right: 19px; bottom: calc(84px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
	.msw-top, .msw-top-ring .msw-top-p { transition: none; }
}

/* Landing pages (admitere, companii): section padding alone sets the rhythm –
   Divi's default 2% row padding would add ~30px on each side. */
.et_pb_section[class*="madm-"] > .et_pb_row,
.et_pb_section[class*="mcorp-"] > .et_pb_row { padding-top: 0 !important; padding-bottom: 0 !important; }
.madm-steps-sec .madm-steprow.et_pb_row { padding: 44px 0 !important; }
.madm-steps-sec .madm-steprow.et_pb_row:last-child { padding-bottom: 0 !important; }
.madm-head { margin-bottom: 36px !important; }
.mcorp-clients-h h2 { padding-bottom: 26px !important; }
@media (max-width: 980px) { .madm-steps-sec .madm-steprow.et_pb_row { padding: 32px 0 !important; } }

/* Theme Builder templates (course, product, article, shop, blog, cart …):
   the section padding sets the rhythm, without Divi's extra 2% row padding;
   the "similar" carousels get a compact section. */
.et-l--body .et_pb_section:is(.msc-hero, .msc-body, .mscu-hero-sec, .mscu-wrap, .msa-hero-sec, .msa-wrap, .msm-hero, .msm-body, .msb-hero, .msb-body) > .et_pb_row,
.et-l--body .et_pb_section:has(.mscu-sim-head, .msa-sim-head) > .et_pb_row { padding-top: 0 !important; padding-bottom: 0 !important; }
.et-l--body .et_pb_section:has(.mscu-sim-head, .msa-sim-head) { padding-top: 56px !important; padding-bottom: 64px !important; }
@media (max-width: 767px) {
	.et-l--body .et_pb_section:has(.mscu-sim-head, .msa-sim-head) { padding-top: 44px !important; padding-bottom: 48px !important; }
}

/* Pricing: "Lei" inline before the amount (Divi positions it absolutely),
   no Divi bullet dot next to the green checks */
.madm-prices .et_pb_et_price { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.madm-prices .et_pb_dollar_sign { position: static !important; order: 0; margin: 0 !important; color: #333d5c !important; font-size: 18px !important; font-weight: 700; line-height: 1 !important; }
.madm-prices .et_pb_sum { order: 1; }
.madm-prices .et_pb_frequency { order: 2; position: static !important; margin: 0 !important; }
.madm-prices ul.et_pb_pricing li span::before,
.madm-prices ul.et_pb_pricing li span::after { display: none !important; content: none !important; }

/* ==========================================================================
   Page "Despre noi" (/despre-noi/) – mdn-*
   ========================================================================== */
.mdn-hero { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 100% 0%, rgba(229, 35, 46, .32), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(20, 44, 148, .9), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94) !important; }
.mdn-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.et_pb_section[class*="mdn-"] > .et_pb_row { position: relative; z-index: 1; padding-top: 0 !important; padding-bottom: 0 !important; }
@media (min-width: 981px) {
	.mdn-hero-row.et_pb_row { display: flex; align-items: center; gap: 72px; }
	.mdn-hero-row > .et_pb_column, .mdn-boxes > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; }
	.mdn-boxes.et_pb_row { display: flex; align-items: stretch; gap: 24px; }
}
.mdn-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px !important; padding: 8px 16px !important; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; font-family: var(--msw-head); font-size: 12.5px !important; font-weight: 800; letter-spacing: .08em; line-height: 1.3 !important; text-transform: uppercase; }
.mdn-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--msw-red); box-shadow: 0 0 0 4px rgba(229, 35, 46, .3); }
.mdn-hero-txt h1,
body.msw .mdn-hero-txt h1,
body.msw.et-db #et-boc .et-l .mdn-hero-txt h1 { padding: 0 0 22px; color: #fff !important; font-size: clamp(34px, 4vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.mdn-lead { color: #fff !important; font-size: 18.5px; line-height: 1.75; opacity: .95; }

.mdn-visual { position: relative; padding: 0 0 60px 40px; }
.mdn-photo { overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-radius: 32px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.mdn-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.mdn-photo:hover img { transform: scale(1.04); }
.mdn-team { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); animation: mdnFloat 6s ease-in-out infinite; }
.mdn-team-img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.mdn-team-txt h4,
body.msw.et-db #et-boc .et-l .mdn-team-txt h4,
body.msw .mdn-team-txt h4 { margin: 0; padding: 0 0 2px; color: var(--msw-ink) !important; font-size: 17px; font-weight: 800; }
.mdn-stars { margin: 0 !important; padding: 0 !important; color: #f5a524 !important; font-size: 18px; letter-spacing: 2px; line-height: 1.2 !important; }
@keyframes mdnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Advantages – overlap the hero */
.mdn-body { position: relative; z-index: 3; overflow: visible !important; }
.mdn-adv > p, .mdn-adv > br { display: none !important; }
.mdn-adv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -60px; }
.mdn-adv-card { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 170px; padding: 26px 24px; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 20px 46px rgba(14, 27, 77, .1); color: var(--msw-ink) !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.mdn-adv-card.is-link:hover { transform: translateY(-6px); border-color: #c3cde6; box-shadow: 0 28px 60px rgba(14, 27, 77, .16); }
.mdn-adv-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(140deg, #e5232e, #c4141f); box-shadow: 0 12px 26px rgba(229, 35, 46, .3); }
.mdn-adv-card:nth-child(even) .mdn-adv-ic { background: linear-gradient(140deg, #142c94, #0b1f6e); box-shadow: 0 12px 26px rgba(11, 31, 110, .3); }
.mdn-adv-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mdn-adv-t { display: block; padding-right: 30px; color: var(--msw-ink); font-family: var(--msw-head); font-size: 19px; font-weight: 800; line-height: 1.3; }
.mdn-adv-go { position: absolute; right: 22px; bottom: 24px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fde8ea; transition: background .2s, transform .2s; }
.mdn-adv-go svg { width: 16px; height: 16px; fill: none; stroke: #c4141f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mdn-adv-card.is-link:hover .mdn-adv-go { background: var(--msw-red); transform: translateX(3px); }
.mdn-adv-card.is-link:hover .mdn-adv-go svg { stroke: #fff; }

.mdn-boxes.et_pb_row { margin-top: 24px !important; }
.mdn-info, .mdn-contact { height: 100%; padding: 32px 34px; border-radius: 24px; }
.mdn-info { border: 1px solid #e4e9f5; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); }
.mdn-contact { background: radial-gradient(360px 220px at 100% 0%, rgba(229, 35, 46, .45), transparent 70%), linear-gradient(140deg, #06124a, #0b1f6e 60%, #142c94); box-shadow: 0 20px 46px rgba(11, 31, 110, .25); }
.mdn-info h4, .mdn-contact h4,
body.msw.et-db #et-boc .et-l .mdn-info h4,
body.msw.et-db #et-boc .et-l .mdn-contact h4 { padding: 0 0 14px; font-size: 22px; font-weight: 800; }
.mdn-info h4, body.msw .mdn-info h4, body.msw.et-db #et-boc .et-l .mdn-info h4 { color: var(--msw-ink) !important; }
.mdn-contact h4, body.msw .mdn-contact h4, body.msw.et-db #et-boc .et-l .mdn-contact h4 { color: #fff !important; }
.mdn-info p { color: #333d5c; font-size: 17px; line-height: 2; }
.mdn-info strong { color: var(--msw-ink); }
.mdn-contact p { margin: 0 !important; padding: 0 !important; line-height: 1 !important; }
.mdn-contact p br { display: none; }
.mdn-contact a { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1.4; transition: background .2s, border-color .2s; }
.mdn-contact a:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.mdn-contact svg { flex: none; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 980px) {
	.mdn-hero-l { margin-bottom: 40px !important; }
	.mdn-visual { max-width: 560px; margin: 0 auto; }
	.mdn-adv { grid-template-columns: 1fr 1fr; margin-top: -40px; }
	.mdn-boxes > .et_pb_column { margin-bottom: 20px !important; }
}
@media (max-width: 767px) {
	.mdn-adv { grid-template-columns: 1fr; gap: 12px; }
	.mdn-adv-card { min-height: 0; flex-direction: row; align-items: center; padding: 18px 20px; }
	.mdn-adv-go { position: static; margin-left: auto; }
	.mdn-adv-t { padding-right: 0; font-size: 17px; }
	.mdn-visual { padding: 0 0 50px 16px; }
	.mdn-info, .mdn-contact { padding: 26px 22px; }
	.mdn-lead { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.mdn-team { animation: none; }
}

/* ==========================================================================
   Page "Ambasador MEDSkill" (/ambasador-medskill/) – mamb-*
   ========================================================================== */
.mamb-hero, .mamb-start-sec { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 100% 0%, rgba(229, 35, 46, .32), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(20, 44, 148, .9), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94) !important; }
.mamb-hero::before, .mamb-start-sec::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.et_pb_section[class*="mamb-"] > .et_pb_row { position: relative; z-index: 1; padding-top: 0 !important; padding-bottom: 0 !important; }
@media (min-width: 981px) {
	.mamb-hero-row.et_pb_row, .mamb-start-row.et_pb_row { display: flex; align-items: center; gap: 64px; }
	.mamb-hero-row > .et_pb_column, .mamb-start-row > .et_pb_column { width: auto !important; margin: 0 !important; flex: 1 1 0; min-width: 0; }
}
.mamb-hero-txt h1,
body.msw .mamb-hero-txt h1,
body.msw.et-db #et-boc .et-l .mamb-hero-txt h1 { padding: 0 0 18px; color: #fff !important; font-size: clamp(38px, 4.8vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.mamb-sub,
body.msw .mamb-hero-txt h2.mamb-sub,
body.msw.et-db #et-boc .et-l .mamb-hero-txt h2.mamb-sub { padding: 0; color: #ffd1d4 !important; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.35; }
.mamb-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.mamb-b { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 15px 30px; border-radius: 999px; font-family: var(--msw-head); font-size: 16px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.mamb-b--red { background: var(--msw-red); color: #fff !important; box-shadow: 0 14px 30px rgba(229, 35, 46, .35); }
.mamb-b--red:hover { background: var(--msw-red-2); transform: translateY(-2px); }
.mamb-b--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; }
.mamb-b--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.mamb-frame { position: relative; padding: 38px 12px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease; }
.mamb-frame:hover { transform: none; }
.mamb-frame--flat { padding: 12px; transform: none; }
.mamb-dots { position: absolute; top: 14px; left: 18px; display: flex; gap: 7px; }
.mamb-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mamb-dots i:nth-child(2) { background: #febc2e; }
.mamb-dots i:nth-child(3) { background: #28c840; }
.mamb-frame-img { display: block; width: 100%; border-radius: 12px; }

/* Intro card overlapping the hero */
.mamb-intro-sec { position: relative; z-index: 3; overflow: visible !important; }
.mamb-intro { max-width: 1100px; margin: -70px auto 0 !important; padding: 40px 48px; border: 1px solid #e4e9f5; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px rgba(14, 27, 77, .14); text-align: center; }
.mamb-intro .et_pb_text_inner { text-align: center !important; }
.mamb-intro h2,
body.msw .mamb-intro h2,
body.msw.et-db #et-boc .et-l .mamb-intro h2 { padding: 0 0 14px; color: var(--msw-ink); font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.mamb-intro p { color: #333d5c; font-size: 17.5px; line-height: 1.75; }
.mamb-intro em { color: var(--msw-ink); font-style: normal; font-weight: 700; }
.mamb-intro h4,
body.msw.et-db #et-boc .et-l .mamb-intro h4 { display: inline-block; margin-top: 18px; padding: 14px 22px; border-radius: 16px; background: #fde8ea; color: #8f0c15 !important; font-size: 16px; font-weight: 600; line-height: 1.5; }
.mamb-intro h4 strong { color: #b3101b; }

/* Section heads */
.mamb-head { max-width: 900px; margin: 0 auto 40px !important; text-align: center; }
.mamb-head .et_pb_text_inner { text-align: center !important; }
.mamb-head h2,
body.msw .mamb-head h2,
body.msw.et-db #et-boc .et-l .mamb-head h2 { padding: 0 0 14px; color: var(--msw-ink); font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.mamb-head p { color: #333d5c; font-size: 17.5px; line-height: 1.7; }

.mamb-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: #c4141f !important; font-family: var(--msw-head); font-size: 15px; font-weight: 800; }
.mamb-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.mamb-link:hover svg, a:hover > .mamb-link svg { transform: translateX(4px); }

/* How it works */
.mamb-sec[id] { scroll-margin-top: 100px; }
.mamb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mamb-step { display: flex; flex-direction: column; overflow: hidden; padding: 0 0 24px; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); transition: transform .25s, box-shadow .25s; }
.mamb-step:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mamb-step-img { position: relative; }
.mamb-step-img img { display: block; width: 100%; aspect-ratio: 2400 / 880; object-fit: cover; }
.mamb-step-img b { position: absolute; left: 18px; bottom: -22px; display: grid; place-items: center; width: 48px; height: 48px; border: 4px solid #fff; border-radius: 16px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 20px; box-shadow: 0 10px 22px rgba(229, 35, 46, .35); }
.mamb-step h3,
body.msw.et-db #et-boc .et-l .mamb-step h3 { margin: 0; padding: 36px 22px 8px; color: var(--msw-ink); font-size: 20px; font-weight: 800; line-height: 1.3; }
.mamb-step p { padding: 0 22px !important; color: #333d5c; font-size: 15.5px; line-height: 1.65; }
.mamb-step .mamb-link { margin-left: 22px; }

/* What you earn */
.mamb-earn { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mamb-earn-card { overflow: hidden; border: 1px solid #e4e9f5; border-radius: 28px; background: #fff; box-shadow: 0 18px 48px rgba(14, 27, 77, .09); }
.mamb-earn-img img { display: block; width: 100%; aspect-ratio: 2400 / 880; object-fit: cover; }
.mamb-earn-body { padding: 30px 34px 34px; }
.mamb-earn-body h3,
body.msw.et-db #et-boc .et-l .mamb-earn-body h3 { padding: 0 0 6px; color: var(--msw-ink); font-size: 26px; font-weight: 800; }
.mamb-earn-sub { display: inline-block; margin-bottom: 14px !important; padding: 7px 14px !important; border-radius: 999px; background: #fde8ea; }
.mamb-earn-sub strong { color: #b3101b; font-size: 14.5px; }
.mamb-earn-body p { color: #333d5c; font-size: 16px; line-height: 1.7; }
.mamb-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0 !important; padding: 0 !important; list-style: none !important; }
.mamb-checks li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px !important; border: 1px solid #e4e9f5; border-radius: 14px; background: #f4f7fd; color: var(--msw-ink); font-size: 14.5px; font-weight: 700; line-height: 1.45; }
.mamb-checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #1e8e4e; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* For whom */
.mamb-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mamb-who-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); transition: transform .25s, box-shadow .25s, border-color .25s; }
.mamb-who-card:hover { transform: translateY(-6px); border-color: #c3cde6; box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mamb-who-ic { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; }
.mamb-who-t { display: block; margin-top: 6px; color: var(--msw-ink); font-family: var(--msw-head); font-size: 20px; font-weight: 800; line-height: 1.3; }
.mamb-who-p { display: block; color: #333d5c; font-size: 15.5px; line-height: 1.65; }

/* Rules */
.mamb-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mamb-rule { display: flex; align-items: flex-start; gap: 20px; padding: 26px 28px; border: 1px solid #e4e9f5; border-radius: 22px; background: #f4f7fd; }
.mamb-rule-ic { flex: none; width: 72px; height: 72px; border-radius: 20px; object-fit: cover; }
.mamb-rule h3,
body.msw.et-db #et-boc .et-l .mamb-rule h3 { padding: 0 0 6px; color: var(--msw-ink); font-size: 19px; font-weight: 800; line-height: 1.3; }
.mamb-rule p { color: #333d5c; font-size: 15.5px; line-height: 1.65; }

/* Start simple */
.mamb-start-txt h2,
body.msw .mamb-start-txt h2,
body.msw.et-db #et-boc .et-l .mamb-start-txt h2 { padding: 0 0 16px; color: #fff !important; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.mamb-start-txt p { color: #fff !important; font-size: 17px; line-height: 1.75; opacity: .95; }
.mamb-timeline { position: relative; margin: 22px 0 18px !important; padding: 0 !important; list-style: none !important; counter-reset: mamb; }
.mamb-timeline::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 17px; width: 2px; background: rgba(255, 255, 255, .25); }
.mamb-timeline li { position: relative; display: block; min-height: 36px; padding: 14px 0 14px 52px !important; color: #fff; font-size: 16.5px; line-height: 1.45; counter-increment: mamb; }
.mamb-timeline li::before { content: counter(mamb); position: absolute; top: 50%; left: 0; z-index: 1; display: grid; margin-top: -18px; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--msw-red); color: #fff; font-family: var(--msw-head); font-size: 15px; font-weight: 800; box-shadow: 0 0 0 5px rgba(229, 35, 46, .25); }
.mamb-timeline b { color: #fff; }
.mamb-start-txt h6,
body.msw.et-db #et-boc .et-l .mamb-start-txt h6 { padding: 14px 18px; border-left: 4px solid var(--msw-red); border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff !important; font-size: 15.5px; font-weight: 600; line-height: 1.6; }

.mamb-faq-row.et_pb_row { max-width: 960px !important; }

@media (max-width: 1200px) {
	.mamb-steps, .mamb-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.mamb-hero-l, .mamb-start-l { margin-bottom: 40px !important; }
	.mamb-frame { transform: none; }
	.mamb-earn, .mamb-rules { grid-template-columns: 1fr; }
	.mamb-intro { margin-top: -50px !important; padding: 30px 26px; }
}
@media (max-width: 767px) {
	.mamb-steps, .mamb-who, .mamb-checks { grid-template-columns: 1fr; }
	.mamb-btns .mamb-b { flex: 1 1 100%; }
	.mamb-earn-body { padding: 24px 22px 26px; }
	.mamb-rule { flex-direction: column; padding: 22px 20px; }
	.mamb-intro p { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.mamb-frame, .mamb-frame:hover { transform: none; }
}

/* ==========================================================================
   Page "Prim ajutor cu Pluxee sau Edenred" (/prim-ajutor-pluxee-edenred/) – mplx-*
   Built on the madm-* components (hero, heads, steps, FAQ, final CTA).
   ========================================================================== */
.mplx-hero .madm-hero-txt h1,
body.msw .mplx-hero .madm-hero-txt h1,
body.msw.et-db #et-boc .et-l .mplx-hero .madm-hero-txt h1 { font-size: clamp(34px, 3.6vw, 56px); }
.mplx-hero-img { position: relative; max-width: 720px; margin: 0 auto; padding: 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 30px; background: rgba(255, 255, 255, .08); box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }
.mplx-hero-img img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: 22px; object-fit: cover; }

/* 01 – accepted cards */
.mplx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mplx-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); transition: transform .25s, box-shadow .25s; }
.mplx-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mplx-card-img { display: flex; align-items: center; justify-content: center; height: 250px; padding: 24px; overflow: hidden; border-bottom: 1px solid #eef1f8; background: #fff; }
.mplx-card-img img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 200px !important; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(14, 27, 77, .18)); transition: transform .4s; }
.mplx-card:hover .mplx-card-img img { transform: rotate(-3deg) scale(1.04); }
.mplx-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.mplx-card h3,
body.msw.et-db #et-boc .et-l .mplx-card h3 { padding: 0 0 8px; color: var(--msw-ink); font-size: 21px; font-weight: 800; line-height: 1.3; }
.mplx-card p { padding-bottom: 18px; color: #333d5c; font-size: 15.5px; line-height: 1.65; }
.mplx-card .mplx-ok { align-self: flex-start; margin-top: auto !important; padding: 8px 14px !important; border-radius: 999px; background: #e9f7ef; color: #135c33 !important; font-size: 14px; font-weight: 800; }
.mplx-cta { margin-top: 40px !important; text-align: center; }
.mplx-cta .et_pb_text_inner { text-align: center; }
.mplx-pay { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px !important; color: #333d5c !important; font-size: 14.5px; font-weight: 700; }
.mplx-pay::before { content: ''; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8e4e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") no-repeat center / contain; }

/* 02 – courses with three formats */
.mplx-course .madm-step-img .et_pb_image_wrap { background: #0b1f6e; }
.mplx-fmts { display: grid; gap: 12px; margin-top: 22px; }
.mplx-fmt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid #e4e9f5; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(14, 27, 77, .05); transition: border-color .2s, box-shadow .2s; }
.mplx-fmt:hover { border-color: #c3cde6; box-shadow: 0 16px 36px rgba(14, 27, 77, .1); }
.mplx-fmt-txt { flex: 1 1 auto; min-width: 0; }
.mplx-fmt-txt b { display: block; color: var(--msw-ink); font-family: var(--msw-head); font-size: 17px; font-weight: 800; }
.mplx-fmt-txt span { display: block; margin-top: 2px; color: #333d5c; font-size: 14.5px; line-height: 1.5; }
.mplx-fmt-btn { display: inline-flex; flex: none; white-space: nowrap; align-items: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 999px; background: var(--msw-red); color: #fff !important; font-family: var(--msw-head); font-size: 14.5px; font-weight: 800; box-shadow: 0 10px 22px rgba(229, 35, 46, .28); transition: background .2s, transform .2s; }
.mplx-fmt-btn:hover { background: var(--msw-red-2); transform: translateY(-2px); }
.mplx-fmt-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* 03 – formats, 04 – steps */
.mplx-grid3, .mplx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.mplx-tile, .mplx-step { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border: 1px solid #e4e9f5; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); transition: transform .25s, box-shadow .25s; }
.mplx-tile { overflow: hidden; }
.mplx-tile:hover, .mplx-step:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mplx-nr { position: absolute; top: 14px; right: 22px; color: #e8eefa; font-family: var(--msw-head); font-size: 76px; font-weight: 800; line-height: 1; }
.mplx-tile h3, .mplx-step h3,
body.msw.et-db #et-boc .et-l .mplx-tile h3,
body.msw.et-db #et-boc .et-l .mplx-step h3 { position: relative; padding: 0 0 10px; color: var(--msw-ink); font-size: 24px; font-weight: 800; line-height: 1.25; }
.mplx-tile p, .mplx-step p { position: relative; color: #333d5c; font-size: 16px; line-height: 1.7; }
.mplx-tile .mplx-badge { align-self: flex-start; margin: 18px 0 !important; padding: 8px 14px !important; border-radius: 999px; background: #fde8ea; color: #b3101b !important; font-size: 14px; font-weight: 800; }
.mplx-tile .mplx-for { margin-top: auto !important; padding-top: 18px !important; border-top: 1px dashed #d5dcec; color: var(--msw-ink) !important; font-size: 15px; font-weight: 700; }
.mplx-step-nr { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 18px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 22px; font-weight: 800; box-shadow: 0 14px 30px rgba(229, 35, 46, .3); }
@media (min-width: 1101px) {
	.mplx-step:not(:last-child)::after { content: ''; position: absolute; top: 64px; right: -27px; width: 28px; border-top: 2px dashed #c3cde6; }
}

/* 05 – after the course */
.mplx-after-txt h2,
body.msw .mplx-after-txt h2,
body.msw.et-db #et-boc .et-l .mplx-after-txt h2 { padding: 0 0 14px; color: #fff !important; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.mplx-after-txt .madm-eyebrow { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff !important; }
.mplx-after-lead { color: #fff !important; font-size: 17.5px; line-height: 1.7; }
.mplx-info { display: grid; gap: 14px; margin-top: 26px; }
.mplx-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(255, 255, 255, .07); }
.mplx-info-item svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--msw-red); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mplx-info-item h4,
body.msw .mplx-info-item h4,
body.msw.et-db #et-boc .et-l .mplx-info-item h4 { padding: 0 0 4px; color: #fff !important; font-size: 18px; font-weight: 800; }
.mplx-info-item p { color: rgba(255, 255, 255, .92) !important; font-size: 15px; line-height: 1.65; }
.mplx-after-img { max-width: 640px; margin: 0 auto; }
.mplx-after-img img { display: block; width: 100%; border-radius: 28px; box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }

@media (max-width: 1100px) {
	.mplx-cards, .mplx-grid3, .mplx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
	.mplx-after > .et_pb_column:first-child { margin-bottom: 40px !important; }
	.mplx-course.et_pb_row { padding: 36px 0 !important; }
	.mplx-course + .mplx-course { margin-top: 12px !important; }
}
@media (max-width: 767px) {
	.mplx-cards, .mplx-grid3, .mplx-steps { grid-template-columns: 1fr; }
	.mplx-card-img { height: 210px; }
	.mplx-card-img img { max-height: 165px !important; }
	.mplx-fmt-btn { white-space: normal; }
	.mplx-fmt { flex-direction: column; align-items: stretch; }
	.mplx-fmt-btn { justify-content: center; }
	.mplx-nr { font-size: 60px; }
}

/* ==========================================================================
   Page "Prim Ajutor Personal Medical" (/prim-ajutor-personal-medical/) – mpm-*
   Built on madm-* / mplx-* components; logos + form reused from mcorp-*.
   ========================================================================== */
.mpm-hero-txt { max-width: 980px; margin: 0 auto !important; text-align: center; }
.mpm-hero-txt .et_pb_text_inner { text-align: center; }
.mpm-hero-txt .madm-lead { max-width: 820px; margin: 0 auto; }
.mpm-hero .madm-btns { justify-content: center; }

/* Rows under an image + text row */
.mpm-under.et_pb_row { margin-top: 30px !important; padding-top: 0 !important; }
.mpm-row .madm-step-txt h3,
body.msw.et-db #et-boc .et-l .mpm-row .madm-step-txt h3 { padding: 18px 0 4px; color: var(--msw-ink); font-size: 21px; font-weight: 800; line-height: 1.3; }
.mpm-row .madm-step-txt p + p { margin-top: 12px; }
.mpm-row .madm-checks { margin-bottom: 16px !important; }

/* BLS / ILS / ALS */
.mpm-mod { padding-top: 30px; }
.mpm-badge { align-self: flex-start; margin-bottom: 18px; padding: 10px 16px; border-radius: 14px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 18px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 12px 26px rgba(229, 35, 46, .28); }
.mpm-mod h3,
body.msw.et-db #et-boc .et-l .mpm-mod h3 { font-size: 20px; }

/* Content boxes */
.mpm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 26px; }
.mpm-box { display: flex; flex-direction: column; padding: 32px 30px; border: 1px solid #e4e9f5; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); }
.mpm-box h3,
body.msw.et-db #et-boc .et-l .mpm-box h3 { padding: 0 0 12px; color: var(--msw-ink); font-size: 21px; font-weight: 800; line-height: 1.3; }
.mpm-box p { color: #333d5c; font-size: 16px; line-height: 1.7; }
.mpm-box p + p { margin-top: 12px; }
.mpm-box .madm-checks { margin: 6px 0 0 !important; }
.mpm-box .madm-btns { margin-top: auto; padding-top: 22px; }
.mpm-box--navy { border-color: transparent; background: radial-gradient(420px 260px at 100% 0%, rgba(229, 35, 46, .35), transparent 70%), linear-gradient(140deg, #06124a, #0b1f6e 60%, #142c94); }
.mpm-box--navy h3,
body.msw.et-db #et-boc .et-l .mpm-box--navy h3 { color: #fff !important; }
.mpm-box--navy .madm-checks li { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }
.mpm-learn .mpm-box { padding: 30px 26px; }
.mpm-learn .madm-checks li { padding: 11px 14px !important; font-size: 15px; }
.mpm-result { max-width: 900px; margin: 34px auto 0; text-align: center; }
.mpm-result p { color: var(--msw-ink); font-size: 18px; font-weight: 600; line-height: 1.7; }
.mpm-result .madm-btns { justify-content: center; }

.mpm-duo--first { margin-top: 0; }
.mpm-ask { margin-top: 34px !important; text-align: center; }
.mpm-ask .et_pb_text_inner { text-align: center; }
.mpm-ask h3,
body.msw.et-db #et-boc .et-l .mpm-ask h3 { padding: 0 0 4px; color: var(--msw-ink); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.25; }
.mpm-ask .madm-btns { justify-content: center; margin-top: 18px; }

/* Dark section (practical training) */
.mpm-dark .madm-step-txt h2,
body.msw .mpm-dark .madm-step-txt h2,
body.msw.et-db #et-boc .et-l .mpm-dark .madm-step-txt h2,
.mpm-dark .madm-step-txt h3,
body.msw.et-db #et-boc .et-l .mpm-dark .madm-step-txt h3 { color: #fff !important; }
.mpm-dark .madm-step-txt p { color: rgba(255, 255, 255, .92) !important; }
.mpm-dark .madm-checks li { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }
.mpm-dark .madm-step-img .et_pb_image_wrap { box-shadow: 0 40px 90px rgba(0, 0, 0, .4); }

/* Offer band */
.mpm-band { margin-top: 30px !important; }
.mpm-band .et_pb_text_inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 36px; border-radius: 26px; background: radial-gradient(420px 220px at 0% 0%, rgba(229, 35, 46, .4), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94); box-shadow: 0 30px 70px rgba(14, 27, 77, .25); }
.mpm-band-txt { max-width: 880px; color: #fff !important; font-family: var(--msw-head); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.5; }
.mpm-band .madm-b { flex: none; }

/* Google reviews */
.mpm-rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; padding: 20px 24px; border: 1px solid #e4e9f5; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(14, 27, 77, .06); }
.mpm-rating-l { display: flex; align-items: center; gap: 16px; }
.mpm-rating-l a { color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 17px; font-weight: 800; }
.mpm-rating-l p { margin-top: 2px !important; color: #333d5c; font-size: 15px; }
.mpm-rating-l p b { color: var(--msw-ink); font-size: 18px; }
.mpm-stars { color: #f5a524; letter-spacing: 2px; }
.mpm-g { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(14, 27, 77, .15); color: #4285f4; font-family: Arial, sans-serif; font-size: 15px; font-weight: 700; }
.mpm-g--lg { width: 48px; height: 48px; font-size: 26px; }
.mpm-revs { display: grid; align-items: stretch; grid-auto-columns: minmax(300px, 1fr); grid-auto-flow: column; gap: 20px; padding: 6px 4px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c3cde6 transparent; }
.mpm-revs:focus-visible { outline: 3px solid rgba(11, 31, 110, .3); outline-offset: 4px; border-radius: 12px; }
@media (min-width: 1200px) { .mpm-revs { grid-auto-columns: calc((100% - 60px) / 4); } }
.mpm-rev { display: flex; flex-direction: column; margin: 0; padding: 22px 22px 24px; border: 1px solid #e4e9f5; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(14, 27, 77, .06); scroll-snap-align: start; }
.mpm-rev-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mpm-ava { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, #0b1f6e, #2a44b8); color: #fff; font-family: var(--msw-head); font-size: 18px; font-weight: 800; }
.mpm-rev figcaption { flex: 1; min-width: 0; }
.mpm-rev figcaption b { display: block; overflow: hidden; color: var(--msw-ink); font-family: var(--msw-head); font-size: 15.5px; text-overflow: ellipsis; white-space: nowrap; }
.mpm-rev figcaption .mpm-stars { font-size: 14px; }
.mpm-rev blockquote { display: -webkit-box; margin: 0; padding: 0; overflow: hidden; border: 0; color: #333d5c; font-size: 15px; font-style: normal; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; }

/* Final CTA */
.mpm-final-txt h2,
body.msw .mpm-final-txt h2,
body.msw.et-db #et-boc .et-l .mpm-final-txt h2 { padding: 0 0 14px; color: #fff !important; font-size: clamp(28px, 3.2vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
.mpm-final-sub { color: #fff !important; font-size: 18px; font-weight: 600; line-height: 1.6; }
.mpm-final-txt .madm-checks li { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }
.mpm-final-note { margin-top: 6px !important; color: rgba(255, 255, 255, .92) !important; font-size: 15.5px; }

@media (max-width: 1100px) {
	.mpm-duo { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
	.mpm-final > .et_pb_column:first-child { margin-bottom: 40px !important; }
	.mpm-band .et_pb_text_inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
	.mpm-box { padding: 26px 22px; }
	.mpm-band .et_pb_text_inner { padding: 26px 22px; }
	.mpm-band .madm-b { width: 100%; }
	.mpm-revs { grid-auto-columns: 86%; }
	.mpm-rating { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Page "Termeni și condiții" (/terms-gdpr/) – msl-*
   The 5 legal documents one after another; text exactly as written.
   ========================================================================== */
.msl-hero-txt h1,
body.msw .msl-hero-txt h1,
body.msw.et-db #et-boc .et-l .msl-hero-txt h1 { padding-bottom: 26px; }
.msl-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.msl-chips a { padding: 11px 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff !important; font-family: var(--msw-head); font-size: 14.5px; font-weight: 700; transition: background .2s, border-color .2s, transform .2s; }
.msl-chips a:hover { border-color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

.msl-row.et_pb_row { max-width: 1320px !important; }
.msl-progress { position: fixed; top: 0; right: 0; left: 0; z-index: 99999; height: 4px; pointer-events: none; }
.msl-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #e5232e, #0b1f6e); transition: width .1s linear; }
.msl-legal { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.msl-legal > * { min-width: 0; }

/* Sidebar */
.msl-toc { position: sticky; top: 120px; padding: 14px; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); }
.msl-toc ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.msl-toc li { margin: 0; padding: 0 !important; }
.msl-toc li + li { margin-top: 4px; }
.msl-toc a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 14.5px; font-weight: 700; line-height: 1.35; transition: background .2s, color .2s; }
.msl-toc a span { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #eef2fb; color: #0b1f6e; font-size: 13px; font-weight: 800; transition: background .2s, color .2s; }
.msl-toc a:hover { background: #f4f7fd; }
.msl-toc a.is-active { background: #0b1f6e; color: #fff !important; }
.msl-toc a.is-active span { background: var(--msw-red); color: #fff; }

/* Documents */
.msl-docs { display: grid; gap: 28px; min-width: 0; }
.msl-doc { position: relative; padding: 0 0 8px; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 28px; background: #fff; box-shadow: 0 18px 50px rgba(14, 27, 77, .07); scroll-margin-top: 120px; }
.msl-doc-head { display: flex; align-items: center; gap: 18px; padding: 28px 44px; border-bottom: 1px solid #eef1f8; background: linear-gradient(120deg, #f4f7fd, #fff 70%); }
.msl-doc-head::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, #e5232e, #0b1f6e); }
.msl-doc-nr { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; font-family: var(--msw-head); font-size: 20px; font-weight: 800; box-shadow: 0 12px 26px rgba(229, 35, 46, .28); }
.msl-doc-head h2,
body.msw .msl-doc-head h2,
body.msw.et-db #et-boc .et-l .msl-doc-head h2 { margin: 0; padding: 0; color: var(--msw-ink); font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.msl-doc-body { padding: 30px 44px 34px; color: #333d5c; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.msl-doc-body p { margin: 0 0 14px !important; padding: 0 !important; color: #333d5c; text-align: left !important; }
.msl-doc-body strong, .msl-doc-body b { color: var(--msw-ink); }
.msl-doc-body a { color: #c4141f !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.msl-doc-body ul, .msl-doc-body ol { margin: 0 0 16px 4px !important; padding: 0 0 0 22px !important; }
.msl-doc-body ul { list-style: disc !important; }
.msl-doc-body ol { list-style: decimal !important; }
.msl-doc-body li { margin: 0 0 8px; padding: 0 0 0 4px !important; color: #333d5c; line-height: 1.75; }
.msl-doc-body li::marker { color: var(--msw-red); font-weight: 700; }
.msl-doc-body .msl-h,
.msl-doc-body h2,
body.msw .msl-doc-body h2,
body.msw.et-db #et-boc .et-l .msl-doc-body h2,
.msl-doc-body h3 { position: relative; margin: 34px 0 14px !important; padding: 0 0 0 18px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: .01em; }
.msl-doc-body .msl-h::before,
.msl-doc-body h2::before,
.msl-doc-body h3::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 0; width: 5px; border-radius: 4px; background: linear-gradient(180deg, #e5232e, #0b1f6e); }
.msl-doc-body > .msl-h:first-child,
.msl-doc-body > h2:first-child { margin-top: 0 !important; }

@media (max-width: 1100px) {
	.msl-legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.msl-toc { top: 92px; z-index: 5; padding: 8px; border-radius: 18px; }
	.msl-toc ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
	.msl-toc ol::-webkit-scrollbar { display: none; }
	.msl-toc li + li { margin-top: 0; }
	.msl-toc a { padding: 9px 12px; white-space: nowrap; font-size: 13.5px; }
	.msl-toc a span { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; }
	.msl-doc { scroll-margin-top: 170px; }
}
@media (max-width: 980px) {
	/* single column: block layout, so the list can stay sticky over all documents */
	.msl-legal { display: block; }
	.msl-toc { top: 10px; margin-bottom: 20px; }
	.msl-doc { scroll-margin-top: 90px; }
}
@media (max-width: 767px) {
	.msl-chips a { padding: 9px 14px; font-size: 13.5px; }
	.msl-doc { border-radius: 22px; }
	.msl-doc-head { gap: 14px; padding: 22px 20px; }
	.msl-doc-nr { width: 46px; height: 46px; border-radius: 14px; font-size: 17px; }
	.msl-doc-body { padding: 22px 20px 24px; font-size: 15.5px; }
}

/* ==========================================================================
   Page "Noțiuni fundamentale de igienă" (/cursuri/notiuni-fundamentale-de-igiena/) – mig-*
   Built on madm-* / mpm-* components.
   ========================================================================== */
.mig-sub { margin-bottom: 14px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 18px !important; font-weight: 700; line-height: 1.5 !important; }
.mig-levels { display: grid; gap: 10px; margin: 18px 0 6px !important; padding: 0 !important; list-style: none !important; }
.mig-levels li { padding: 13px 16px 13px 18px !important; border-left: 4px solid var(--msw-red); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px rgba(14, 27, 77, .06); color: #333d5c; font-size: 15.5px; line-height: 1.5; }
.mig-levels li b { color: var(--msw-ink); font-family: var(--msw-head); font-weight: 800; }
.mig-mod .madm-step-txt h3,
body.msw.et-db #et-boc .et-l .mig-mod .madm-step-txt h3 { padding-top: 20px; }
.mig-mod[style*="#ffffff"] .mig-levels li, .mig-mod .mig-levels li { border: 1px solid #e4e9f5; border-left: 4px solid var(--msw-red); }

/* ==========================================================================
   Page "Întrebări frecvente" (/intrebari-frecvente/) – mfq-*
   Sticky numbered list of the questions + numbered Divi toggles.
   ========================================================================== */
.mfq-hero .msl-hero-txt h1, .mfq-hero h1 { padding-bottom: 0 !important; }
.mfq-sec { position: relative; }
.mfq-row.et_pb_row { margin-top: -44px !important; padding: 0 !important; }
@media (min-width: 981px) {
	.mfq-row.et_pb_row { display: flex; align-items: stretch; gap: 36px; }
	.mfq-row > .et_pb_column { margin: 0 !important; }
	.mfq-row > .mfq-side { width: 360px !important; flex: none; }
	.mfq-row > .mfq-main { width: auto !important; flex: 1 1 0; min-width: 0; }
}
.mfq-index-wrap { position: sticky; top: 110px; margin: 0 !important; }

/* Question list */
.mfq-index { max-height: min(520px, calc(100vh - 150px)); padding: 12px; overflow-y: auto; border: 1px solid #e4e9f5; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(14, 27, 77, .12); scrollbar-width: thin; scrollbar-color: #c3cde6 transparent; }
.mfq-index ol { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mfq-index li { margin: 0; padding: 0 !important; }
.mfq-index li + li { margin-top: 2px; }
.mfq-index a { display: flex; align-items: flex-start; gap: 11px; padding: 10px 12px; border-radius: 14px; color: #333d5c !important; font-size: 13.5px; font-weight: 600; line-height: 1.4; transition: background .2s, color .2s; }
.mfq-index a span { display: grid; flex: none; place-items: center; width: 28px; height: 28px; margin-top: -3px; border-radius: 9px; background: #eef2fb; color: #0b1f6e; font-family: var(--msw-head); font-size: 12px; font-weight: 800; transition: background .2s, color .2s; }
.mfq-index a:hover { background: #f4f7fd; color: var(--msw-ink) !important; }
.mfq-index a.is-active { background: #0b1f6e; color: #fff !important; }
.mfq-index a.is-active span { background: var(--msw-red); color: #fff; }

/* Toggles: numbered cards */
.mfq-main { counter-reset: mfq; }
.mfq-item.et_pb_toggle { position: relative; margin-bottom: 14px !important; border-radius: 22px; counter-increment: mfq; scroll-margin-top: 120px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.mfq-item.et_pb_toggle:hover { border-color: #c3cde6 !important; }
.mfq-item .et_pb_toggle_title,
body.msw.et-db #et-boc .et-l .mfq-item .et_pb_toggle_title { position: relative; padding: 22px 64px 22px 82px !important; font-size: 17.5px !important; line-height: 1.45; }
.mfq-item .et_pb_toggle_title::after { content: counter(mfq, decimal-leading-zero); position: absolute; top: 50%; left: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #eef2fb; color: #0b1f6e; font-family: var(--msw-head); font-size: 15px; font-weight: 800; transform: translateY(-50%); transition: background .25s, color .25s; }
.mfq-item.et_pb_toggle_open .et_pb_toggle_title::after { background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; box-shadow: 0 10px 22px rgba(229, 35, 46, .3); }
.mfq-item.et_pb_toggle_open { border-color: #c3cde6 !important; box-shadow: 0 22px 50px rgba(14, 27, 77, .12); }
.mfq-item .et_pb_toggle_content { padding: 0 30px 26px 82px !important; font-size: 16px; line-height: 1.75; }
.mfq-item .et_pb_toggle_content p { margin: 0 0 12px !important; padding: 0 !important; color: #333d5c; }
.mfq-item .et_pb_toggle_content strong { color: var(--msw-ink); }
.mfq-item .et_pb_toggle_content ul, .mfq-item .et_pb_toggle_content ol { display: grid; gap: 8px; margin: 4px 0 14px !important; padding: 0 !important; list-style: none !important; }
.mfq-item .et_pb_toggle_content li { position: relative; padding: 10px 14px 10px 40px !important; border: 1px solid #e4e9f5; border-radius: 12px; background: #f8faff; color: var(--msw-ink); font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.mfq-item .et_pb_toggle_content li::before { content: ''; position: absolute; top: 12px; left: 13px; width: 18px; height: 18px; border-radius: 50%; background: #1e8e4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 11px; }
.mfq-item .et_pb_toggle_content li p { margin: 0 !important; color: inherit; }
.mfq-item .et_pb_toggle_content a { color: #c4141f !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.mfq-item.is-flash { animation: mfq-flash 1.4s ease; }
@keyframes mfq-flash { 0%, 100% { box-shadow: 0 22px 50px rgba(14, 27, 77, .12); } 30% { box-shadow: 0 0 0 4px rgba(229, 35, 46, .35), 0 22px 50px rgba(14, 27, 77, .12); } }

@media (max-width: 980px) {
	.mfq-side { display: none !important; }
	.mfq-row.et_pb_row { margin-top: -32px !important; }
}
@media (max-width: 767px) {
	.mfq-item .et_pb_toggle_title,
	body.msw.et-db #et-boc .et-l .mfq-item .et_pb_toggle_title { padding: 18px 52px 18px 66px !important; font-size: 16px !important; }
	.mfq-item .et_pb_toggle_title::after { left: 16px; width: 38px; height: 38px; border-radius: 12px; font-size: 13px; }
	.mfq-item .et_pb_toggle_content { padding: 0 18px 20px !important; font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
	.mfq-item.is-flash { animation: none; }
}

/* ==========================================================================
   Page "Pregătire Examen Licență AMG" (/pregatire-examen-licenta-amg/) – mlam-*
   Built on madm-* / mplx-* / mpm-* components.
   ========================================================================== */
/* Hero */
.mlam-hero-txt h1,
body.msw .mlam-hero-txt h1,
body.msw.et-db #et-boc .et-l .mlam-hero-txt h1 { font-size: clamp(32px, 3.4vw, 54px); }
.mlam-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; }
.mlam-chips span { padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.mlam-phone { position: relative; display: flex; justify-content: center; }
.mlam-phone::before { content: ''; position: absolute; top: 12%; left: 50%; width: 76%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(229, 35, 46, .45), rgba(20, 44, 148, .2) 55%, transparent 70%); transform: translateX(-50%); filter: blur(10px); }
.mlam-phone img { position: relative; width: auto; max-width: 100%; max-height: 560px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); transform: rotate(-4deg); transition: transform .5s; }
.mlam-phone:hover img { transform: rotate(0); }

/* Stats bar overlapping the hero */
.mlam-stats-sec { position: relative; z-index: 3; }
.mlam-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -64px; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 26px; background: #fff; box-shadow: 0 30px 70px rgba(14, 27, 77, .14); }
.mlam-stat { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 128px; padding: 22px 26px; }
.mlam-stat + .mlam-stat { border-left: 1px solid #eef1f8; }
.mlam-stat b { color: var(--msw-ink); font-family: var(--msw-head); font-size: clamp(28px, 2.4vw, 38px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.mlam-stat b.mlam-stat-sm { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.3; letter-spacing: 0; }
.mlam-stat span { color: #333d5c; font-size: 14.5px; line-height: 1.45; }
.mlam-stars { color: #f5a524 !important; font-size: 17px !important; letter-spacing: 2px; }

/* Pain points */
.mlam-pains { display: grid; gap: 10px; margin: 18px 0 8px !important; padding: 0 !important; list-style: none !important; }
.mlam-pains li { position: relative; padding: 13px 16px 13px 50px !important; border: 1px solid #f6cfd2; border-radius: 14px; background: #fff7f7; color: var(--msw-ink); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.mlam-pains li::before { content: '!'; position: absolute; top: 50%; left: 14px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--msw-red); color: #fff; font-size: 14px; font-weight: 800; transform: translateY(-50%); }

/* Packages */
.mlam-choose { max-width: 980px; margin: -10px auto 36px !important; padding: 22px 26px; border: 1px dashed #c3cde6; border-radius: 22px; background: #fff; }
.mlam-choose-h { margin-bottom: 10px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 17px; font-weight: 800; }
.mlam-choose ul { display: grid; gap: 8px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mlam-choose li { padding: 0 0 0 26px !important; color: #333d5c; font-size: 15.5px; line-height: 1.55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8e4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat 0 4px / 16px; }
.mlam-choose b { color: var(--msw-ink); }
.mlam-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.mlam-price { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid #e4e9f5; border-radius: 28px; background: #fff; box-shadow: 0 16px 44px rgba(14, 27, 77, .08); transition: transform .25s, box-shadow .25s; }
.mlam-price:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mlam-price.is-featured { z-index: 2; border: 2px solid var(--msw-red); box-shadow: 0 30px 70px rgba(229, 35, 46, .2); transform: translateY(-10px); }
.mlam-price.is-featured:hover { transform: translateY(-14px); }
.mlam-price h3,
body.msw.et-db #et-boc .et-l .mlam-price h3 { padding: 0 0 4px; color: var(--msw-ink); font-size: 24px; font-weight: 800; }
.mlam-price-sub { min-height: 3em; color: #333d5c; font-size: 15px; line-height: 1.5; }
.mlam-price-val { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 18px !important; padding-bottom: 18px !important; border-bottom: 1px solid #eef1f8; }
.mlam-price-val b { color: var(--msw-ink); font-family: var(--msw-head); font-size: 54px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.mlam-price-val span { color: #333d5c; font-size: 15px; font-weight: 700; }
.mlam-feats { flex: 1; display: grid; align-content: start; gap: 9px; margin: 0 0 18px !important; padding: 0 !important; list-style: none !important; }
.mlam-feats li { position: relative; padding: 0 0 0 30px !important; color: var(--msw-ink); font-size: 15px; font-weight: 600; line-height: 1.45; }
.mlam-feats li::before { content: ''; position: absolute; top: 1px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #1e8e4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 12px; }
.mlam-feats li.is-no { color: #8a93ad; font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(138, 147, 173, .5); }
.mlam-feats li.is-no::before { background: #e8ebf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a93ad' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") no-repeat center / 11px; }
.mlam-ideal { margin-bottom: 22px; padding: 16px 18px; border-radius: 18px; background: #f4f7fd; }
.mlam-ideal p { margin-bottom: 8px !important; color: var(--msw-ink) !important; font-family: var(--msw-head); font-size: 15px; font-weight: 800; }
.mlam-ideal ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mlam-ideal li { padding: 6px 11px !important; border-radius: 999px; background: #fff; color: #333d5c; font-size: 13.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(14, 27, 77, .06); }
.mlam-price .madm-b { width: 100%; }
.mlam-b-out { border: 1.5px solid #0b1f6e; background: #fff; color: #0b1f6e !important; cursor: pointer; }
.mlam-b-out:hover { background: #0b1f6e; color: #fff !important; }

/* Method */
@media (min-width: 981px) {
	.mlam-method-row.et_pb_row { display: flex; align-items: center; gap: 48px; }
	.mlam-method-row > .et_pb_column { margin: 0 !important; }
	.mlam-method-row > .mlam-method-media { width: 32% !important; flex: none; }
	.mlam-method-row > .et_pb_column:last-child { width: auto !important; flex: 1 1 0; min-width: 0; }
}
.mlam-shot { display: flex; justify-content: center; }
.mlam-shot img { width: auto; max-width: 100%; max-height: 640px; filter: drop-shadow(0 30px 50px rgba(14, 27, 77, .25)); }
.mlam-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mlam-step { display: flex; flex-direction: column; padding: 24px 24px 22px; border: 1px solid #e4e9f5; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(14, 27, 77, .06); transition: transform .25s, box-shadow .25s; }
.mlam-step:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(14, 27, 77, .12); }
.mlam-step .mplx-step-nr { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; font-size: 18px; }
.mlam-step h3,
body.msw.et-db #et-boc .et-l .mlam-step h3 { padding: 0 0 8px; color: var(--msw-ink); font-size: 19px; font-weight: 800; line-height: 1.3; }
.mlam-step p { color: #333d5c; font-size: 15px; line-height: 1.65; }
.mlam-team { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 28px; padding: 24px 28px; border-radius: 26px; background: radial-gradient(420px 220px at 0% 0%, rgba(229, 35, 46, .38), transparent 70%), linear-gradient(130deg, #06124a, #0b1f6e 55%, #142c94); box-shadow: 0 30px 70px rgba(14, 27, 77, .25); }
.mlam-team-card { display: flex; align-items: center; gap: 14px; }
.mlam-team-card img { width: 140px; border-radius: 16px; }
.mlam-team-card b { display: block; color: #fff; font-family: var(--msw-head); font-size: 18px; }
.mlam-team-h { margin-bottom: 6px !important; color: #fff !important; font-family: var(--msw-head); font-weight: 800; }
.mlam-team-info ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mlam-team-info li { padding: 3px 0 3px 22px !important; color: rgba(255, 255, 255, .92); font-size: 14.5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee07a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat 0 7px / 14px; }
.mlam-team-cta p { margin-bottom: 14px !important; color: #fff !important; font-family: var(--msw-head); font-size: 16.5px; font-weight: 700; line-height: 1.45; }

/* Individual resources */
.mlam-lead-dark { color: var(--msw-ink) !important; font-weight: 600; }
.mlam-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mlam-res-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(14, 27, 77, .07); transition: transform .25s, box-shadow .25s; }
.mlam-res-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(14, 27, 77, .14); }
.mlam-res-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mlam-res-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 22px; }
.mlam-res-body h3,
body.msw.et-db #et-boc .et-l .mlam-res-body h3 { padding: 0 0 8px; color: var(--msw-ink); font-size: 19px; font-weight: 800; }
.mlam-res-num { align-self: flex-start; margin-bottom: 10px !important; padding: 6px 12px !important; border-radius: 999px; background: #fde8ea; color: #b3101b !important; font-size: 13.5px; font-weight: 800; }
.mlam-res-body p { color: #333d5c; font-size: 15px; line-height: 1.6; }
.mlam-unsure { margin-top: 34px !important; }
.mlam-unsure .madm-btns { flex: none; margin-top: 0; }
.mlam-unsure-p { margin-top: 6px !important; color: rgba(255, 255, 255, .92) !important; font-size: 15.5px; }

/* 20 modules */
.mlam-prog { max-width: 1100px; margin: -10px auto 34px !important; }
.mlam-prog .et_pb_text_inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 24px 28px; border-radius: 22px; background: #f4f7fd; }
.mlam-prog h3,
body.msw.et-db #et-boc .et-l .mlam-prog h3 { padding: 0 0 8px; color: var(--msw-ink); font-size: 20px; font-weight: 800; }
.mlam-prog p { color: #333d5c; font-size: 15.5px; line-height: 1.65; }
.mlam-prog .madm-checks { margin: 0 !important; }
.mlam-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mlam-mod { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e4e9f5; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(14, 27, 77, .06); transition: transform .25s, box-shadow .25s; }
.mlam-mod:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(14, 27, 77, .13); }
.mlam-mod-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mlam-mod-body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 10px; padding: 16px 18px 18px; }
.mlam-mod-body h3,
body.msw.et-db #et-boc .et-l .mlam-mod-body h3 { padding: 0; color: var(--msw-ink); font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.mlam-mod-body p { align-self: flex-start; padding: 5px 11px !important; border-radius: 999px; background: #eef2fb; color: #0b1f6e !important; font-size: 13px; font-weight: 700; }
.mlam-mods:not(.is-open) .mlam-mod.is-more { display: none; }
.mlam-more { margin-top: 30px; text-align: center; }
.mlam-mods.is-open + .mlam-more { display: none; }

/* Lecturers */
.mlam-head-nav .msw-head-l { max-width: 980px; }
.mlam-head-nav .madm-btns { margin-top: 18px; }
.msw-track.mlam-lect { grid-auto-columns: calc((100% - 4 * var(--msw-gap)) / 5); }
.mlam-lect-card { margin: 0; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(14, 27, 77, .1); scroll-snap-align: start; transition: transform .25s; }
.mlam-lect-card:hover { transform: translateY(-6px); }
.mlam-lect-card img { display: block; width: 100%; }

@media (max-width: 1200px) {
	.mlam-res, .mlam-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.msw-track.mlam-lect { grid-auto-columns: calc((100% - 2 * var(--msw-gap)) / 3); }
	.mlam-team { grid-template-columns: auto minmax(0, 1fr); }
	.mlam-team-cta { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
	.mlam-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -48px; }
	.mlam-stat:nth-child(3) { border-left: 0; }
	.mlam-stat:nth-child(n+3) { border-top: 1px solid #eef1f8; }
	.mlam-prices { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
	.mlam-price.is-featured { transform: none; }
	.mlam-method-media { margin-bottom: 30px !important; }
	.mlam-prog .et_pb_text_inner { grid-template-columns: 1fr; }
	.mlam-phone img { max-height: 420px; }
}
@media (max-width: 767px) {
	.mlam-stat { min-height: 0; padding: 18px; }
	.mlam-steps, .mlam-res, .mlam-mods { grid-template-columns: 1fr; }
	.msw-track.mlam-lect { grid-auto-columns: 72%; }
	.mlam-team { grid-template-columns: 1fr; padding: 22px; }
	.mlam-price-sub { min-height: 0; }
	.mlam-unsure .madm-btns .madm-b { flex: 1 1 100%; }
}
.mlam-final-h { margin: 16px 0 4px !important; color: #fff !important; font-family: var(--msw-head); font-size: 17px; font-weight: 800; }

/* ==========================================================================
   Page "Pachete Educaționale" (/pachete-educationale/) – mpk-*
   + the grid of [medskill_pachete] (Tutor course bundles).
   ========================================================================== */
.mpk-hero .madm-kicker { max-width: 100%; white-space: normal; text-align: left; }
.mpk-aud-sec { position: relative; z-index: 3; }
.mpk-aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: -70px; }
.mpk-aud-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 22px 20px; border: 1px solid #e4e9f5; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(14, 27, 77, .12); transition: transform .25s, box-shadow .25s, border-color .25s; }
.mpk-aud-card:hover, .mpk-aud-card:focus-visible { border-color: var(--msw-red); box-shadow: 0 26px 60px rgba(229, 35, 46, .16); transform: translateY(-6px); }
.mpk-aud-ic { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #eef2fb; color: #0b1f6e; transition: background .25s, color .25s; }
.mpk-aud-card:hover .mpk-aud-ic { background: linear-gradient(140deg, #e5232e, #c4141f); color: #fff; }
.mpk-aud-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mpk-aud-txt { flex: 1; min-width: 0; }
.mpk-aud-txt b { display: block; color: var(--msw-ink); font-family: var(--msw-head); font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.mpk-aud-txt span { display: block; margin-top: 4px; color: #c4141f; font-size: 14.5px; font-weight: 700; }
.mpk-aud-go { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f4f7fd; color: #0b1f6e; transition: background .25s, color .25s, transform .25s; }
.mpk-aud-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mpk-aud-card:hover .mpk-aud-go { background: #0b1f6e; color: #fff; transform: translateX(3px); }

.mpk-head { margin-bottom: 28px !important; }
.mpk-head h2,
body.msw .mpk-head h2,
body.msw.et-db #et-boc .et-l .mpk-head h2 { display: flex; align-items: center; gap: 14px; padding: 0; color: var(--msw-ink); font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.mpk-head-ic { display: grid; flex: none; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(140deg, #e5232e, #c4141f); box-shadow: 0 12px 26px rgba(229, 35, 46, .3); }
.mpk-head-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* [medskill_pachete] grid: 3 per row, equal-height cards */
.msw-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--msw-gap, 24px); align-items: stretch; }
.msw-pack-grid > .msw-card { height: 100%; }

@media (max-width: 1100px) {
	.mpk-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.msw-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.mpk-aud { grid-template-columns: 1fr; gap: 12px; margin-top: -56px; }
	.mpk-aud-card { padding: 16px; }
	.msw-pack-grid { grid-template-columns: 1fr; }
}
