:root {
  --font-ui: "Segoe UI", "Segoe UI Variable", "Aptos", "Avenir Next", "Inter", "Roboto", sans-serif;
  --bg: #050f22;
  --surface: #0c121d;
  --surface-soft: #141b27;
  --text: #e6eefc;
  --muted: #a9b2c4;
  --brand: #1d6bfc;
  --brand-2: #1854c3;
  --line: #24324b;
  --ink: #f5f8ff;
  --ok: #1d6bfc;
  --radius: 16px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Global heading tone requested across RO/EN pages */
h1,
h2,
h3 {
  color: #6d6d6d !important;
}

/* Explicit override for large display headings */
.section-title,
.hero h1,
main .hero h1,
.home-section-head .section-title {
  color: #6d6d6d !important;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, #0c1f45 0%, transparent 42%),
    radial-gradient(circle at 85% 10%, #0a1a39 0%, transparent 35%),
    var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Prevent image distortion across all pages/components. */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[width][height] {
  height: auto;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(100deg, #081634 0%, #0d2b63 62%, #0f4aa0 100%);
  color: #fff;
  padding: 0.45rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Homepage cleanup: remove the extra top strip that can look like an empty band. */
body.page-home .topbar {
  display: none;
}

/* Homepage dark unification: keep the whole index in one deep tone. */
body.page-home {
  background: #050f22;
}

body.page-home .home-main {
  background: transparent;
}

body.page-home .home-main::before,
body.page-home .home-main::after,
body.page-home .home-main > section + section::before {
  display: none;
}

body.page-home .hero,
body.page-home .home-quicknav,
body.page-home .card,
body.page-home .program-card,
body.page-home .impact-media-card,
body.page-home .badge-card--marketing,
body.page-home .catalog-visual-card,
body.page-home .course-visual-card {
  background: #050f22;
  border-color: rgba(92, 122, 173, 0.26);
  box-shadow: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 22, 52, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(151, 181, 239, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.08rem 0;
}

.header-contact-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  margin-right: 0.35rem;
  min-width: 0;
}

.header-contact-meta__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0.32rem 0.56rem;
  border-radius: 999px;
  border: 1px solid rgba(121, 156, 217, 0.46);
  background: rgba(16, 37, 74, 0.72);
  color: #d9e8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-contact-meta__item--schedule {
  color: #b9d4ff;
  border-color: rgba(108, 146, 212, 0.35);
  background: rgba(14, 31, 63, 0.8);
}

@media (max-width: 1500px) {
  .header-contact-meta__item--schedule {
    display: none;
  }
}

@media (max-width: 1720px) {
  .header-contact-meta__item[href^="mailto:"] {
    display: none;
  }
}

@media (max-width: 1200px) {
  .header-contact-meta {
    display: none;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0;
  margin-right: 0.25rem;
}

.lang-switch__btn {
  border: 1px solid rgba(121, 156, 217, 0.46);
  background: rgba(16, 37, 74, 0.72);
  color: #d9e8ff;
  min-height: 34px;
  padding: 0.26rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.lang-switch__btn.is-active {
  border-color: rgba(107, 166, 255, 0.95);
  background: linear-gradient(180deg, #1d6bfc 0%, #1854c3 100%);
  color: #fff;
}

.lang-switch__btn:hover {
  border-color: rgba(135, 181, 255, 0.9);
}

@media (max-width: 1200px) {
  .lang-switch {
    margin-left: auto;
    margin-right: 0.35rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 0 0 auto;
}

.logo-marks {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-marks img {
  height: 62px;
  width: auto;
  max-width: 176px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #e8f0ff;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(187, 207, 243, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #f2f6ff;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
}

.nav a {
  padding: 0.58rem 0.75rem;
  border-radius: 11px;
  font-size: 0.97rem;
  font-weight: 600;
  color: #c9d9f8;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a.nav-mobile-courses {
  display: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 0.58rem 0.75rem;
  border-radius: 11px;
  font-size: 0.97rem;
  color: #c9d9f8;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 1201px) {
  .site-header .container {
    width: min(1640px, 95vw);
  }

  .header-inner {
    padding: 0.9rem 0;
  }

  .logo-marks {
    padding: 0.34rem 0.56rem;
  }

  .logo-marks img {
    height: 66px;
    max-width: 186px;
  }
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "▾";
  font-size: 0.72rem;
}

.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.submenu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: min(860px, 90vw);
  max-height: 58vh;
  overflow: auto;
  background: #ffffff;
  border: 1px solid #ccd9f0;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(4, 18, 45, 0.2);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.nav-dropdown > .submenu {
  display: none;
}

.nav-dropdown[open] > .submenu {
  display: grid;
}

.submenu > a {
  grid-column: 1 / -1;
  font-weight: 700;
  color: #0f4fc2;
  border: 1px solid #ccd9f5;
  background: #f3f7ff;
}

.submenu-group {
  border: 1px solid #d9e5f8;
  border-radius: 10px;
  padding: 0.55rem;
  background: #f8fbff;
  display: grid;
  gap: 0.2rem;
}

.submenu-group strong {
  font-size: 0.8rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.submenu-group a {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.25rem 0.3rem;
  border-radius: 6px;
}

.submenu-group a:hover {
  background: #ecf3ff;
  color: #0f4fc2;
}

.nav a.active,
.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav a.nav-cta {
  background: linear-gradient(120deg, #0f6fff, #0a55da);
  color: #fff;
  border: 1px solid transparent;
  font-weight: 700;
}

.nav a.nav-cta:hover,
.nav a.nav-cta.active {
  color: #fff;
  background: linear-gradient(120deg, #0a55da, #083f9f);
}

.hero {
  padding: 3.2rem 0 2.4rem;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  border-bottom: 1px solid #d8e4f8;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 111, 255, 0.14) 0%, rgba(15, 111, 255, 0) 72%);
  pointer-events: none;
}

main.container .hero {
  margin-top: 1.1rem;
  border: 1px solid #d7e3f7;
  border-radius: var(--radius);
  padding: 2.2rem 1.1rem 1.9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  overflow-wrap: anywhere;
  max-width: 17ch;
}

.hero p {
  color: #3f5273;
  max-width: 62ch;
}

.hero-trustline {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: #315181;
  font-weight: 600;
}

.btn-row {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(120deg, #0f6fff, #0b4fc2);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 79, 194, 0.24);
}

.btn.ghost {
  border-color: #bcd0f2;
  background: var(--surface);
  color: #234276;
}

.btn.ghost:hover {
  border-color: #a9c2ee;
  background: #f4f8ff;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.hero-card > img:first-child {
  margin-bottom: 0.7rem;
}

.hero-card--logo {
  padding: 1.2rem;
}

.hero-card--logo img {
  width: min(82%, 500px);
  margin: 0 auto 0.85rem;
}

.hero-meta {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.meta-item {
  border: 1px solid #d8e5f7;
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: #fbfdff;
}

.meta-item strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
}

.meta-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

section {
  padding: 1.8rem 0;
}

main.container > section {
  border-bottom: 1px solid #e2ebfa;
  content-visibility: auto;
  contain-intrinsic-size: 1px 760px;
}

main.container > section:last-child {
  border-bottom: 0;
}

main > section + section {
  padding-top: 1.1rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  color: var(--ink);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(11, 35, 78, 0.12);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.list {
  display: grid;
  gap: 0.65rem;
  padding-left: 1rem;
}

.list li {
  color: var(--muted);
}

.kicker {
  color: #0f5dd1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trust-strip {
  border: 1px solid #d0dff6;
  background: linear-gradient(125deg, #f3f8ff 0%, #edf4ff 100%);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: center;
}

.trust-strip h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--ink);
}

.trust-strip p {
  margin: 0;
  color: #48607f;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.badge {
  border: 1px solid #cadef8;
  background: #f8fbff;
  color: #214274;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.program-grid-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(11, 35, 78, 0.12);
}

.program-card .label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: #e9f1ff;
  color: #1f4686;
  font-weight: 700;
}

.program-card h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.program-card p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.program-card ul {
  margin: 0;
  padding-left: 1rem;
  color: #5a6a83;
  font-size: 0.92rem;
  display: grid;
  gap: 0.3rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.82rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(11, 35, 78, 0.1);
}

.process-step .step-no {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(130deg, #0f6fff, #0b4fc2);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.process-step h3 {
  margin: 0 0 0.22rem;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-panel {
  border: 1px solid #d0dff6;
  background: linear-gradient(110deg, #f3f8ff, #edf4ff);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-panel .btn-row {
  margin-top: 0;
}

.cta-panel h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.cta-panel p {
  margin: 0.3rem 0 0;
  color: #48607f;
}

.team {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: center;
}

.team img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.team-profile {
  align-items: start;
}

.team-profile-content {
  display: grid;
  gap: 0.9rem;
}

.team-profile-content h3 {
  margin: 0;
}

.team-profile-content > p {
  margin: 0;
}

.team-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.team-fact {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 0.65rem 0.75rem;
  display: grid;
  gap: 0.22rem;
}

.team-fact strong {
  font-size: 0.8rem;
  color: #1f4a78;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-fact span {
  color: var(--text);
  font-weight: 600;
  line-height: 1.35;
}

.team-stack {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f8ff;
  padding: 0.75rem 0.85rem;
}

.team-stack strong {
  display: block;
  margin-bottom: 0.22rem;
  color: #194b80;
}

.team-stack p {
  margin: 0;
  color: #345175;
}

@media (max-width: 900px) {
  .team-facts {
    grid-template-columns: 1fr;
  }
}

/* Team page redesign (RO/EN): executive profile layout */
.team-showcase .section-title {
  margin-bottom: 0.85rem;
}

.team-executive {
  display: grid;
  grid-template-columns: minmax(250px, 320px) 1fr;
  gap: 1rem;
  align-items: start;
  border-radius: 20px !important;
  padding: 1rem !important;
}

.team-executive-media {
  display: grid;
  gap: 0.58rem;
}

.team-executive-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #c8d8ee;
}

.team-executive-media-note {
  border: 1px solid #cad9ec;
  background: #f5f9ff;
  border-radius: 12px;
  padding: 0.65rem 0.72rem;
  display: grid;
  gap: 0.12rem;
}

.team-executive-media-note strong {
  color: #183e69;
  font-size: 1.02rem;
}

.team-executive-media-note span {
  color: #4b6383;
  font-size: 0.9rem;
}

.team-executive-content {
  display: grid;
  gap: 0.85rem;
}

.team-executive-head h3 {
  margin: 0 0 0.35rem;
  color: #14365f;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.2;
}

.team-executive-head p {
  margin: 0;
  color: #3f587a;
}

.team-executive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem;
}

.team-panel {
  border: 1px solid #cad9ec;
  background: #f8fbff;
  border-radius: 14px;
  padding: 0.68rem 0.72rem;
  display: grid;
  gap: 0.18rem;
}

.team-panel strong {
  color: #1a4e86;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-panel span {
  color: #1f3452;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.team-executive-stack {
  border: 1px solid #cad9ec;
  background: #eef5ff;
  border-radius: 14px;
  padding: 0.75rem 0.78rem;
}

.team-executive-stack strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a4e86;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-executive-stack p {
  margin: 0;
  color: #284667;
}

@media (max-width: 1000px) {
  .team-executive {
    grid-template-columns: 1fr;
  }

  .team-executive-grid {
    grid-template-columns: 1fr;
  }
}

/* Team page redesign v2 (RO/EN): editorial layout */
.team-feature-v2 {
  margin-top: 0.8rem;
}

.team-feature-v2-shell {
  border: 1px solid #bfd2ea;
  border-radius: 28px;
  background: linear-gradient(150deg, #ffffff 0%, #eef4fd 48%, #e4eefb 100%);
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1rem;
  box-shadow: 0 18px 35px rgba(11, 35, 70, 0.08);
}

.team-feature-v2-media {
  border-radius: 22px;
  background: linear-gradient(180deg, #123764 0%, #0f2f57 100%);
  padding: 0.85rem;
  color: #dbe9ff;
  display: grid;
  gap: 0.62rem;
  align-content: start;
}

.team-feature-v2-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.team-feature-v2-chip {
  display: inline-flex;
  width: max-content;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(109, 180, 255, 0.2);
  border: 1px solid rgba(169, 212, 255, 0.55);
  color: #cfe6ff;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.team-feature-v2-media :is(h1, h2) {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.06;
}

.team-feature-v2-media p {
  margin: 0;
  color: #bdd9fb;
  font-size: 0.9rem;
}

.team-feature-v2-content {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d0dff2;
  padding: 0.92rem;
  display: grid;
  gap: 0.74rem;
}

.team-feature-v2-kicker {
  display: inline-flex;
  width: max-content;
  font-size: 0.76rem;
  font-weight: 800;
  color: #1f5e99;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #a9c6ea;
  padding-bottom: 0.16rem;
}

.team-feature-v2-content h3 {
  margin: 0;
  color: #122e53;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.15;
}

.team-feature-v2-content > p {
  margin: 0;
  color: #355275;
  font-size: 1rem;
}

.team-feature-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.56rem;
}

.team-feature-v2-grid article {
  border: 1px solid #cbdaee;
  border-radius: 14px;
  background: #f7fbff;
  padding: 0.58rem 0.66rem;
  display: grid;
  gap: 0.14rem;
}

.team-feature-v2-grid span {
  color: #2c649e;
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.team-feature-v2-grid strong {
  color: #173a63;
  font-size: 1rem;
}

.team-feature-v2-flow {
  margin: 0;
  padding: 0.2rem 0 0 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: #2e4e73;
}

.team-feature-v2-flow strong {
  color: #184f88;
}

.team-feature-v2-stack {
  border: 1px dashed #9fbce0;
  border-radius: 14px;
  background: #edf5ff;
  padding: 0.62rem 0.7rem;
  display: grid;
  gap: 0.15rem;
}

.team-feature-v2-stack strong {
  color: #1b4d84;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-feature-v2-stack span {
  color: #2c4a6b;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .team-feature-v2-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .team-feature-v2-shell {
    border-radius: 22px;
    padding: 0.72rem;
    gap: 0.72rem;
  }

  .team-feature-v2-media,
  .team-feature-v2-content {
    border-radius: 16px;
    padding: 0.7rem;
  }

  .team-feature-v2-grid {
    grid-template-columns: 1fr;
  }

  .team-feature-v2-content h3 {
    font-size: 1.26rem;
  }
}

/* Homepage career journey professional redesign (RO/EN) */
.home-positioning-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 1.1rem;
  box-shadow: 0 14px 30px rgba(12, 40, 84, 0.1);
}

.home-section-head--journey {
  margin-bottom: 0.75rem;
}

.home-section-head--journey .section-title {
  max-width: 30ch;
}

.home-journey-intro {
  margin: 0 0 0.9rem;
  max-width: 80ch;
  color: #395377;
  font-size: 1.02rem;
}

.home-journey-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.journey-metric {
  border: 1px solid #d5e2f3;
  border-radius: 14px;
  background: #f9fcff;
  padding: 0.72rem 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.journey-metric span {
  color: #3f618d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.journey-metric strong {
  color: #163a65;
  font-size: 1.02rem;
}

.journey-metric p {
  margin: 0;
  color: #496489;
  font-size: 0.92rem;
}

.home-journey-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.journey-stage {
  border: 1px solid #d3e0f2;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.82rem;
  box-shadow: 0 8px 18px rgba(13, 38, 77, 0.07);
}

.journey-step {
  display: inline-flex;
  min-width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f5fab;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* Cookie modal (RO/EN) */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 22, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.6rem;
}

.cookie-modal {
  width: min(720px, 96vw);
  background: linear-gradient(150deg, #0a1a33 0%, #0c2247 100%);
  color: #f2f6ff;
  border-radius: 14px;
  border: 1px solid rgba(154, 189, 245, 0.4);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  padding: 0.7rem 0.9rem 0.75rem;
  position: relative;
  max-height: 60vh;
  margin: 6px auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #7ea7ff rgba(255,255,255,0.12);
}

.cookie-modal h2 {
  margin: 0 0 0.18rem;
  font-size: 1rem;
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.cookie-modal p {
  margin: 0 0 0.28rem;
  color: #d6e5ff;
  line-height: 1.3;
  font-size: 0.9rem;
}

.cookie-modal a {
  color: #9bc4ff;
  text-decoration: underline;
}

.cookie-toggles {
  margin: 0.22rem 0 0.38rem;
  border: 1px solid rgba(154, 189, 245, 0.35);
  border-radius: 12px;
  background: rgba(10, 22, 46, 0.65);
  padding: 0.12rem 0.28rem;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.34rem 0.18rem;
  border-bottom: 1px solid rgba(154, 189, 245, 0.18);
}

.cookie-toggle:last-child {
  border-bottom: none;
}

.cookie-toggle__text {
  flex: 1;
  display: grid;
  gap: 0.18rem;
}

.cookie-toggle__text strong {
  font-size: 0.9rem;
  color: #f2f6ff;
}

.cookie-toggle__text small {
  color: #c3d8ff;
  line-height: 1.3;
  font-size: 0.9rem;
}

.switch {
  position: relative;
  width: 46px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #485b80;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.switch__slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #f7fbff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.switch input:checked + .switch__slider {
  background: linear-gradient(120deg, #1d6bfc, #0fb2ff);
}

.switch input:checked + .switch__slider::before {
  transform: translateX(22px);
}

.switch input:disabled + .switch__slider {
  background: #6b7a99;
  cursor: not-allowed;
}

.cookie-modal__actions {
  display: flex;
  gap: 0.6rem;
  flex-direction: column;
  margin-top: 0.25rem;
}

.cookie-modal__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  font-size: 0.9rem;
  border-radius: 10px;
  line-height: 1.22;
}

.cookie-modal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #c7dafc;
  flex-wrap: wrap;
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  color: #cfe0ff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
}

.cookie-manage-btn {
  position: fixed;
  bottom: 28px;
  right: 18px;
  z-index: 12000;
  background: linear-gradient(145deg, #0c275c 0%, #0a357f 55%, #0a3f9c 100%);
  color: #f4f8ff;
  border: 1px solid rgba(120, 165, 230, 0.58);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  box-shadow: 0 12px 28px rgba(4, 16, 46, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-modal {
    width: 100vw;
    border-radius: 12px 12px 0 0;
    padding: 0.32rem 0.52rem 0.45rem;
    max-height: 52vh;
    margin: 0;
  }

  .cookie-modal h2 {
    font-size: 0.82rem;
  }

  .cookie-modal p {
    display: none;
  }

  .cookie-toggle {
    align-items: flex-start;
    padding: 0.18rem 0.05rem;
  }

  .cookie-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.16rem;
  }

  .cookie-modal__actions .btn {
    padding: 0.32rem 0.5rem;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .cookie-modal__foot {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.78rem;
  }

  .cookie-manage-btn {
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 0.5rem 1rem;
    font-size: 0.98rem;
    border-radius: 18px;
    box-shadow: 0 12px 22px rgba(4, 16, 46, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .cookie-toggle__text strong {
    font-size: 0.82rem;
  }

.cookie-toggle__text small {
  font-size: 0.76rem;
  line-height: 1.2;
}

/* Cookie manage button – bumped up & styled per new mobile spec */
.cookie-manage-btn {
  bottom: 32px;
  right: 18px;
  padding: 0.55rem 1.1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: linear-gradient(140deg, #0f3579 0%, #0b2d63 55%, #0a2b5a 100%);
  color: #f6f8ff;
  border: 1px solid rgba(140, 180, 245, 0.55);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(6, 16, 44, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .cookie-manage-btn {
    bottom: calc(260px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 0.5rem 1rem;
    font-size: 0.96rem;
    border-radius: 18px;
  background: linear-gradient(140deg, #0f3579 0%, #0b2d63 55%, #0a2b5a 100%) !important;
  color: #f6f8ff !important;
  border: 1px solid rgba(140, 180, 245, 0.65) !important;
  box-shadow: 0 14px 30px rgba(6, 16, 44, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

/* Hide cookie manage button on mobile (all pages) */
@media (max-width: 900px) {
  .cookie-manage-btn {
    display: none !important;
  }
}

/* Fully hide cookie manage button everywhere */
.cookie-manage-btn {
  display: none !important;
}

/* Safety: hide any cookie overlay/modal on all viewports (so it can't block taps) */
.cookie-overlay,
.cookie-modal {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/* Ensure cookie overlay/modal never blocks taps on mobile */
@media (max-width: 900px) {
  .cookie-overlay,
  .cookie-modal {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

  .cookie-toggles {
    padding: 0.05rem 0.1rem;
    margin: 0.12rem 0 0.25rem;
  }
}

.journey-stage h3 {
  margin: 0 0 0.18rem;
  color: #18385e;
}

.journey-stage p {
  margin: 0;
  color: #486082;
}

@media (max-width: 1100px) {
  .home-journey-metrics,
  .home-journey-stages {
    grid-template-columns: 1fr;
  }
}

.notice {
  background: #f2f7ff;
  border: 1px solid #d2e0f8;
  color: #1f4686;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 620px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(11, 35, 78, 0.08);
}

.table th,
.table td {
  border: 1px solid var(--line);
  padding: 0.7rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.table th {
  background: #f2f7ff;
  color: var(--ink);
}

.module-block {
  margin-bottom: 1.1rem;
}

.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.module-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.chip {
  display: inline-flex;
  border: 1px solid #cae0f8;
  background: #eef5ff;
  color: #1e4c91;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.02em;
}

.small-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.inline-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.inline-list li {
  color: var(--muted);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.badge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.badge-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: contain;
  background: #f9fcff;
  padding: 0.6rem;
}

.badge-meta p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.badge-card .small-note {
  margin: 0.15rem 0;
}

.badge-card .btn-row .btn {
  flex: 1;
}

.status-tag {
  display: inline-flex;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid #cae0f8;
  background: #eef5ff;
  color: #1e4c91;
}

.course-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.course-badge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: start;
}

.course-badge-media {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem;
  background: #f9fcff;
}

.course-badge-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.course-badge-card h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.course-badge-card p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.accordion[open] {
  border-color: #bfd4f5;
  box-shadow: 0 18px 34px rgba(11, 35, 78, 0.12);
}

.accordion > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-wrap: anywhere;
}

.accordion > summary::-webkit-details-marker {
  display: none;
}

.accordion > summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #0f5dd1;
  line-height: 1;
}

.accordion[open] > summary::after {
  content: "-";
}

.accordion-body {
  padding: 0 1rem 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

input[type="checkbox"] {
  accent-color: var(--brand);
}

textarea {
  min-height: 120px;
}

.full {
  grid-column: 1 / -1;
}

.footer {
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #07152f 0%, #0a234e 100%);
  color: #e7efff;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(205, 223, 255, 0.85), rgba(255, 255, 255, 0));
}

.footer-main {
  padding: 0.95rem 0 0.8rem;
  display: grid;
  gap: 0.42rem;
}

.footer-brand-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 0.3rem;
}

.footer-brand-mark img {
  width: min(100%, 250px);
  height: auto;
  opacity: 0.93;
}

.footer-main--center {
  text-align: center;
}

.footer-org {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: #f3f7ff;
  line-height: 1.22;
}

.footer-meta,
.footer-focus,
.footer-contact-line {
  margin: 0;
  color: #d5e2fb;
  font-size: 0.8rem;
  line-height: 1.3;
}

.footer-contact-line a {
  color: #ffffff;
  font-weight: 800;
}

.footer-seo-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-seo-nav a {
  border: 1px solid rgba(190, 210, 247, 0.38);
  background: rgba(255, 255, 255, 0.06);
  color: #ecf3ff;
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-policy-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
  color: #d5e2fb;
  font-size: 0.8rem;
  line-height: 1.2;
}

.footer-policy-nav a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-trust-row {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-trust-btn {
  border: 1px solid rgba(190, 210, 247, 0.55);
  color: #f0f5ff;
  border-radius: 999px;
  padding: 0.26rem 0.62rem;
  font-weight: 600;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.2;
}

.footer-legal-note {
  max-width: 920px;
  margin: 0 auto;
  color: #cfddfb;
  font-size: 0.76rem;
  line-height: 1.3;
}

.footer .container {
  color: #d5e2fb;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0.05rem 0 0;
  color: #cfddfb;
  font-size: 0.8rem;
}

@media (max-width: 1024px) {
  .container {
    width: min(1120px, 94vw);
  }

  .nav a {
    font-size: 0.9rem;
    padding: 0.5rem 0.68rem;
  }

  .program-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .team,
  .grid-3,
  .form-grid,
  .program-grid,
  .process-grid,
  .trust-strip,
  .hero-meta,
  .badge-grid,
  .course-badge-grid {
    grid-template-columns: 1fr;
  }

  .course-badge-card {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0.55rem;
    right: 0.55rem;
    padding: 0.78rem;
    background: linear-gradient(180deg, rgba(14, 28, 52, 0.96), rgba(9, 20, 39, 0.98));
    border: 1px solid rgba(118, 152, 214, 0.34);
    border-bottom: 1px solid rgba(118, 152, 214, 0.34);
    border-radius: 18px;
    display: none;
    box-shadow: 0 18px 42px rgba(3, 11, 26, 0.55);
    backdrop-filter: blur(10px);
    max-height: calc(100dvh - 102px);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 0.45rem;
  }

  .nav a {
    color: #d7e5ff;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
  }

  .nav a.active,
  .nav a:hover {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(48, 97, 183, 0.42), rgba(33, 69, 135, 0.42));
    border-color: rgba(121, 162, 235, 0.5);
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav a {
    width: 100%;
    text-align: left;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0.78rem 0.95rem;
    font-size: 1.02rem;
    font-weight: 650;
  }

  .nav a.nav-mobile-courses {
    display: block;
  }

  .nav .nav-dropdown {
    display: none;
  }

  .nav a.nav-cta {
    margin-top: 0.3rem;
    justify-content: center;
    text-align: center;
    background: linear-gradient(120deg, #1e6dff, #164fc8);
    color: #fff;
    border-color: rgba(124, 175, 255, 0.72);
    box-shadow: 0 12px 24px rgba(10, 47, 112, 0.35);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .submenu {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 0.55rem;
    grid-template-columns: 1fr;
    box-shadow: none;
    padding: 0.65rem;
    border-radius: 14px;
    border-color: rgba(111, 148, 209, 0.42);
    background: rgba(16, 31, 57, 0.9);
    display: none;
  }

  .submenu > a {
    grid-column: auto;
    text-align: left;
  }

  .nav-dropdown[open] > .submenu {
    display: grid;
  }

  .submenu-group a {
    padding: 0.52rem 0.58rem;
    border-radius: 10px;
  }

  .header-wrap {
    position: relative;
  }

  .badge-list {
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: 100%;
  }

  .badge {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1120px, 92vw);
    padding-inline: 0.15rem;
  }

  .topbar {
    padding: 0.4rem 0;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
    gap: 0.2rem;
  }

  .header-inner {
    padding: 0.82rem 0;
  }

  .logo-marks img {
    height: 71px;
    max-width: 198px;
  }

  .hero {
    padding: 2rem 0 1.2rem;
  }

  main.container .hero {
    margin-top: 0.8rem;
    padding: 1.4rem 0.8rem 1.2rem;
  }

  section {
    padding: 1.05rem 0;
  }

  main > section + section {
    padding-top: 0.8rem;
  }

  .section-title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.3vw, 2rem);
    line-height: 1.18;
  }

  .hero p,
  .card p,
  .process-step p,
  .small-note {
    font-size: 0.9rem;
  }

  .btn-row {
    gap: 0.65rem;
    padding-inline: 0.15rem;
  }

  .btn {
    width: 100%;
    min-height: 44px;
  }

  .card,
  .hero-card,
  .program-card,
  .cta-panel,
  .meta-item,
  .process-step,
  .accordion {
    border-radius: 12px;
    padding: 0.95rem;
  }

  .table {
    font-size: 0.86rem;
    min-width: 0;
  }

  .table th,
  .table td {
    padding: 0.55rem;
  }

  .course-table thead {
    display: none;
  }

  .course-table,
  .course-table tbody,
  .course-table tr,
  .course-table td {
    display: block;
    width: 100%;
  }

  .course-table tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 0.7rem;
    overflow: hidden;
    background: #fff;
  }

  .course-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 0.72rem;
  }

  .course-table td:last-child {
    border-bottom: 0;
  }

  .course-table td::before {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .course-table td:nth-child(1)::before { content: "Curs"; }
  .course-table td:nth-child(2)::before { content: "Nivel"; }
  .course-table td:nth-child(3)::before { content: "Format"; }
  .course-table td:nth-child(4)::before { content: "Badge"; }
  .course-table td:nth-child(5)::before { content: "Observații"; }

  .accordion > summary {
    padding: 0.85rem 0.9rem;
  }

  .accordion-body {
    padding: 0 0.65rem 0.65rem;
  }

  input,
  select,
  textarea {
    min-height: 42px;
  }

  input[type="checkbox"] {
    min-height: auto;
  }

  textarea {
    min-height: 110px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, 90vw);
    padding-inline: 0.2rem;
  }

  .topbar {
    padding: 0.22rem 0;
    font-size: 0.66rem;
    letter-spacing: 0.015em;
  }

  .topbar .container {
    gap: 0;
    line-height: 1.15;
    justify-content: center;
  }

  .topbar .container span:first-child {
    display: none;
  }

  .topbar .container span:last-child {
    max-width: 92vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.9rem;
    row-gap: 0.45rem;
    padding: 0.52rem 0;
  }

  .logo {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 0;
    overflow: hidden;
  }

  .logo-marks {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .logo-marks img {
    display: block;
    width: auto;
    height: 40px;
    max-width: 122px;
    object-fit: contain;
  }

  .logo-marks img:nth-child(2) {
    width: auto;
    height: 28px;
    max-width: 79px;
    object-fit: contain;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 34px;
    height: 34px;
    min-width: 76px;
    padding: 0 0.55rem;
    border-radius: 16px;
    border-color: rgba(172, 196, 233, 0.55);
    background: linear-gradient(180deg, rgba(24, 38, 66, 0.92), rgba(17, 28, 51, 0.92));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-grid;
    grid-auto-flow: column;
    gap: 0.42rem;
    margin: 0;
    align-items: center;
  }

  .lang-switch__btn {
    min-height: 34px;
    height: 34px;
    min-width: 30px;
    padding: 0.1rem 0.32rem;
    border-radius: 999px;
    border-width: 1.2px;
    font-size: 0.57rem;
    font-weight: 800;
    line-height: 1;
  }

  .kicker {
    font-size: 0.76rem;
  }

  .chip,
  .badge,
  .status-tag {
    font-size: 0.72rem;
  }

  .hero {
    padding: 1.15rem 0 0.9rem;
  }

  @media (max-width: 390px) {
    .header-inner {
      grid-template-columns: minmax(0, 1fr) auto auto;
      column-gap: 0.62rem;
      row-gap: 0.3rem;
    }

    .logo-marks img {
      height: 35px;
      max-width: 103px;
    }

    .menu-toggle {
      min-width: 68px;
      font-size: 0.72rem;
    }

    .lang-switch {
      gap: 0.32rem;
    }

    .lang-switch__btn {
      min-width: 29px;
      padding: 0.08rem 0.28rem;
      font-size: 0.54rem;
    }
  }

  main.container .hero {
    margin-top: 0.55rem;
    padding: 1rem 0.62rem 0.88rem;
  }

  .hero h1 {
    font-size: clamp(1.28rem, 7.1vw, 1.72rem);
    line-height: 1.16;
    margin-bottom: 0.55rem;
    letter-spacing: -0.01em;
  }

  .hero p {
    font-size: 0.86rem;
    line-height: 1.48;
    margin: 0 0 0.55rem;
  }

  .hero-meta {
    gap: 0.45rem;
    margin-top: 0.55rem;
  }

  .meta-item {
    padding: 0.58rem 0.62rem;
  }

  .meta-item strong {
    font-size: 0.92rem;
  }

  .meta-item span {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .btn-row {
    margin-top: 0.75rem;
    gap: 0.5rem;
    padding-inline: 0.2rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.62rem 0.8rem;
  }

  .hero + section {
    padding-top: 0.9rem;
  }

  .hero-card {
    padding: 0.75rem;
  }

  .hero-card--logo img {
    width: min(78%, 420px);
  }

  .footer .container {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .footer-main {
    gap: 0.35rem;
  }

  .footer-seo-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.34rem;
  }

  .footer-seo-nav a {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.3rem 0.4rem;
    font-size: 0.8rem;
  }

  .footer-policy-nav {
    font-size: 0.8rem;
  }

  .footer-trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
  }

  .footer-trust-btn {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.26rem 0.45rem;
    font-size: 0.8rem;
  }
}

/* Global dark visual system inspired by OPSWAT Academy. */
.site-header {
  background: rgba(6, 14, 30, 0.94);
  border-bottom: 1px solid rgba(89, 121, 179, 0.35);
}

.submenu {
  background: #101a2b;
  border: 1px solid #273a5c;
}

.submenu > a {
  color: #a9c5ff;
  border-color: #2d4470;
  background: #17263f;
}

.submenu-group {
  border-color: #2a3d5e;
  background: #121d31;
}

.submenu-group strong {
  color: #eef4ff;
}

.submenu-group a {
  color: #b7c5dc;
}

.submenu-group a:hover {
  color: #dce8ff;
  background: #1b2b47;
}

.hero {
  background: linear-gradient(180deg, #081427 0%, #091a33 100%);
  border-bottom: 1px solid #1f2f4c;
}

main.container .hero {
  border-color: #253858;
  background: linear-gradient(180deg, #09172e 0%, #0b1d3a 100%);
}

.hero p {
  color: #bdcadf;
}

.btn.ghost {
  border-color: #35507d;
  background: #121f35;
  color: #d8e6ff;
}

.btn.ghost:hover {
  border-color: #46679c;
  background: #172a47;
}

.hero-card,
.card,
.program-card,
.process-step,
.course-badge-card,
.badge-card,
.accordion {
  background: var(--surface);
  border-color: var(--line);
}

.meta-item {
  border-color: #2a3d5e;
  background: #121d31;
}

.meta-item strong {
  color: #f2f6ff;
}

.meta-item span,
.card p,
.small-note,
.inline-list li,
.program-card p,
.program-card ul,
.process-step p {
  color: #b3c2db;
}

.trust-strip,
.cta-panel {
  border-color: #2a3d5e;
  background: linear-gradient(125deg, #101c32 0%, #132543 100%);
}

.trust-strip p,
.cta-panel p {
  color: #b8c7df;
}

.badge {
  border-color: #32507f;
  background: #12203a;
  color: #cee0ff;
}

.program-card .label,
.chip,
.status-tag {
  background: #162a4a;
  border-color: #35588d;
  color: #cfe0ff;
}

.notice {
  background: #121f38;
  border-color: #2f4f82;
  color: #c9ddff;
}

.table-wrap {
  background: #0f1a2e;
  border-color: #2a3e61;
}

.table th,
.table td {
  border-color: #2a3e61;
}

.table th {
  background: #162741;
  color: #eaf1ff;
}

.table td {
  background: #0f1a2e;
  color: #d5e2f7;
}

.course-table tr {
  background: #0f1a2e;
}

input,
select,
textarea {
  border-color: #35507d;
  background: #101a2c;
  color: #e5eefc;
}

label {
  color: #becce2;
}

input::placeholder,
textarea::placeholder {
  color: #90a4c5;
}

.footer {
  background: linear-gradient(180deg, #040d1e 0%, #071530 100%);
}

.footer-seo-nav a,
.footer-trust-btn {
  border-color: rgba(115, 147, 205, 0.45);
  background: rgba(22, 40, 73, 0.55);
}

main.container > section {
  border-bottom-color: #1b2b46;
}

.home-main section {
  padding: 1.65rem 0;
}

.home-main a:focus-visible,
.home-main button:focus-visible {
  outline: 2px solid #6ea1ff;
  outline-offset: 2px;
  border-radius: 10px;
}

.home-quicknav {
  padding-top: 0.85rem;
  padding-bottom: 0.55rem;
}

.quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.quicknav a {
  border: 1px solid #2b4672;
  background: #122444;
  color: #cfe0ff;
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.quicknav a:hover {
  background: #1a3561;
  border-color: #436a9d;
  color: #fff;
}

.home-hero {
  padding-top: 2.8rem;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: stretch;
}

.home-hero-copy h1 {
  max-width: 18ch;
}

.home-hero-copy p {
  max-width: 60ch;
}

.home-hero-card {
  height: 100%;
  display: grid;
  gap: 0.9rem;
}

.home-hero-card-content :is(h2, h3) {
  margin: 0 0 0.18rem;
  color: var(--ink);
}

.home-hero-card-content p {
  margin: 0 0 0.55rem;
}

.hero-card-title {
  margin: 0 0 0.6rem;
  font-weight: 700;
  color: var(--ink);
}

.home-stat-strip {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.home-stat-item {
  border: 1px solid #2b3f62;
  background: #0f1d34;
  border-radius: 12px;
  padding: 0.62rem 0.7rem;
  display: grid;
  gap: 0.14rem;
}

.home-stat-item strong {
  font-size: 1.06rem;
  color: #ffffff;
}

.home-stat-item span {
  font-size: 0.8rem;
  color: #b5c5df;
}

.home-proof {
  padding-top: 0.8rem;
  padding-bottom: 0.9rem;
}

.home-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-video-wrap {
  border: 1px solid #2a4166;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 38px rgba(2, 10, 23, 0.45);
  background: #0b162b;
}

.home-video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.home-video-shell {
  border: 1px solid #233856;
  border-radius: 20px;
  padding: 0.7rem;
  background: linear-gradient(180deg, #0b172c 0%, #0a1425 100%);
  box-shadow: 0 20px 38px rgba(2, 10, 23, 0.45);
}

.home-video-footer {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.home-video-footer .small-note {
  margin: 0;
  color: #c7d6ef;
}

.home-video-pagination {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.home-video-page {
  min-width: 42px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #2e4b79;
  background: #10213f;
  color: #bfd2f3;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-video-page:hover {
  background: #17335e;
  color: #e8f1ff;
  border-color: #446ea8;
  transform: translateY(-1px);
}

.home-video-page.is-active {
  background: linear-gradient(120deg, #1d6bfc, #1854c3);
  border-color: #4d85d8;
  color: #fff;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.95rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.home-section-head .section-title {
  margin-bottom: 0;
  max-width: 23ch;
}

.home-media-stack {
  padding-top: 1.15rem;
}

.media-stack-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: start;
}

.media-stack-video.card,
.media-stack-impact.card {
  padding: 0.9rem;
}

.media-stack-video .home-section-head,
.media-stack-impact .home-section-head {
  margin-bottom: 0.7rem;
}

.media-stack-video .home-section-head .section-title,
.media-stack-impact .home-section-head .section-title {
  max-width: 26ch;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.home-positioning .home-proof-row {
  margin-bottom: 0.85rem;
}

.home-main > section {
  position: relative;
}

.home-main > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1140px, 92vw);
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, rgba(100, 134, 195, 0), rgba(100, 134, 195, 0.45), rgba(100, 134, 195, 0));
}

.home-badges .small-note {
  margin: 0 0 1rem;
  max-width: 66ch;
}

.home-badges .badge-grid {
  margin-top: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-badges .badge-card--marketing {
  padding: 0.95rem;
  border-radius: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.85rem;
  background: linear-gradient(180deg, #0a162b 0%, #091325 100%);
  border: 1px solid #233856;
  box-shadow: 0 18px 34px rgba(2, 10, 23, 0.5);
}

.home-badges .badge-card--marketing:hover {
  transform: translateY(-4px);
  border-color: #335180;
  box-shadow: 0 24px 42px rgba(2, 10, 23, 0.58);
}

.home-badges .badge-media {
  border: 1px solid #2a4166;
  background: #0f1f3b;
  border-radius: 14px;
  padding: 0.6rem;
}

.home-badges .badge-image {
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
}

.home-badges .badge-copy h3 {
  margin: 0 0 0.28rem;
  color: #f4f8ff;
  font-size: 1.15rem;
  line-height: 1.22;
}

.home-badges .badge-meta {
  display: grid;
  gap: 0.12rem;
}

.home-badges .badge-meta p {
  margin: 0;
  color: #b9c9e3;
}

.home-badges .badge-copy .small-note {
  margin: 0.45rem 0 0;
  color: #ccdaef;
  font-size: 0.9rem;
  line-height: 1.46;
}

.home-badges .badge-cta-row {
  align-items: center;
  gap: 0.58rem;
}

.home-badges .badge-cta-row .status-tag {
  background: #17335e;
  border-color: #315a95;
  color: #e1ecff;
  min-width: 72px;
  justify-content: center;
}

.home-badges .badge-cta-row .btn {
  min-height: 44px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.impact-media-card {
  border: 1px solid #253c61;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1629;
  box-shadow: 0 16px 32px rgba(2, 10, 23, 0.46);
}

.impact-media-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.impact-media-copy {
  padding: 0.72rem;
}

.impact-media-copy h3 {
  margin: 0 0 0.22rem;
  color: #f4f8ff;
  font-size: 1rem;
}

.impact-media-copy p {
  margin: 0;
  color: #c7d5ec;
  font-size: 0.9rem;
}

.track-icon {
  width: 42px;
  height: 42px;
}

.home-main section,
.home-main .card,
.home-main .program-card,
.home-main .impact-media-card,
.home-main .badge-card--marketing {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-main .is-visible {
  opacity: 1;
  transform: translateY(0);
}

.academy-brand-strip {
  margin: 0.95rem 0 0.45rem;
}

.academy-brand-inner {
  border: 1px solid #26406a;
  border-radius: 18px;
  background: linear-gradient(115deg, #0a1730 0%, #0e2244 65%, #0b1a33 100%);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) 1.08fr;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 18px 34px rgba(2, 10, 23, 0.45);
}

.academy-brand-inner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #2f4c7d;
  background: #081a37;
  padding: 0.35rem;
}

.academy-brand-copy h2 {
  margin: 0 0 0.4rem;
  color: #f2f7ff;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.18;
}

.academy-brand-copy p {
  margin: 0;
  color: #c3d2ea;
}

.course-visual-strip {
  margin: 0.95rem 0 0.45rem;
  padding: 0.9rem;
}

.course-visual-media {
  border: 1px solid #2a4166;
  border-radius: 14px;
  overflow: hidden;
  background: #0b162b;
  box-shadow: 0 16px 32px rgba(2, 10, 23, 0.42);
}

.course-visual-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-visual-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.course-visual-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 0.8rem;
}

.course-visual-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.25rem;
}

.course-visual-card h3 {
  margin: 0 0 0.2rem;
  color: var(--ink);
  font-size: 1rem;
}

.course-visual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-visual-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.catalog-visual-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 0.82rem;
}

.catalog-visual-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.32rem;
}

.catalog-visual-card h3 {
  margin: 0 0 0.15rem;
  color: var(--ink);
  font-size: 1rem;
}

.catalog-visual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.academy-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.academy-showcase img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.contact-collab {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.8rem;
  align-items: start;
}

.contact-collab img {
  width: 64px;
  height: 64px;
}

.contact-collab--logo {
  grid-template-columns: minmax(210px, 250px) 1fr;
  align-items: center;
}

.contact-collab--logo .contact-collab-logo {
  width: 100%;
  height: auto;
  max-width: 240px;
  border-radius: 10px;
}

.registration-brand-mark {
  margin: 0.4rem 0 0.72rem;
  border: 1px solid rgba(132, 170, 235, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 30, 57, 0.82), rgba(10, 23, 45, 0.82));
  padding: 0.62rem;
}

.registration-brand-mark img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
}

.course-career-panel {
  margin: 1rem 0;
  padding: 1rem;
}

.course-career-panel > .small-note {
  margin: 0.2rem 0;
}

.course-career-benefits {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.course-career-benefits .card {
  padding: 0.82rem;
}

.course-career-benefits h3 {
  margin: 0 0 0.32rem;
  font-size: 1rem;
}

.course-career-lower {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.9rem;
}

.course-career-badge,
.course-instructor-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 0.82rem;
}

.course-career-badge {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.82rem;
  align-items: start;
}

.course-career-badge img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f1a2e;
  padding: 0.35rem;
}

.course-career-badge h3,
.course-instructor-box h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.course-career-badge p,
.course-instructor-box p {
  margin: 0 0 0.6rem;
  color: var(--muted);
}

.home-value-grid,
.home-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-tracks {
  position: relative;
  overflow: hidden;
}

.home-tracks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(580px 220px at 14% 8%, rgba(45, 117, 255, 0.2), transparent 70%),
    radial-gradient(520px 240px at 88% 4%, rgba(21, 89, 214, 0.22), transparent 72%);
  pointer-events: none;
}

.home-tracks .container {
  position: relative;
  z-index: 1;
}

.home-tracks .home-section-head {
  align-items: center;
  margin-bottom: 1.15rem;
}

.home-tracks .home-section-head .section-title {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.04;
}

.home-tracks .kicker {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #2a83ff;
}

.home-tracks .btn.primary {
  min-height: 52px;
  padding: 0.78rem 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(135, 181, 255, 0.44);
  background: linear-gradient(138deg, #2480ff 0%, #135de2 48%, #0d49b5 100%);
  box-shadow: 0 16px 34px rgba(15, 86, 210, 0.35);
}

.home-tracks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.home-tracks-grid .program-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 100%;
  border: 1px solid rgba(180, 208, 255, 0.55) !important;
  border-radius: 26px;
  padding: 1.25rem 1.15rem 1.1rem;
  background:
    radial-gradient(160px 70px at 20% -10%, rgba(36, 121, 255, 0.28), rgba(36, 121, 255, 0) 70%),
    linear-gradient(178deg, #031026 0%, #04142f 56%, #031025 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 42px rgba(2, 8, 20, 0.58);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-tracks-grid .program-card:hover {
  transform: translateY(-5px);
  border-color: rgba(208, 226, 255, 0.82) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 44px rgba(2, 9, 22, 0.66);
}

.home-tracks-grid .program-card .track-icon {
  width: 52px;
  height: 52px;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 147, 225, 0.44);
  background: linear-gradient(140deg, rgba(22, 52, 98, 0.8), rgba(10, 29, 61, 0.76));
}

.home-tracks-grid .program-card .label {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.42rem 0.84rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d3761 0%, #1a3158 100%);
  border: 1px solid rgba(85, 129, 198, 0.46);
  color: #c8dbfd;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.home-tracks-grid .program-card h3 {
  margin: 0;
  font-size: clamp(1.88rem, 2.05vw, 2.34rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #f2f7ff;
}

.home-tracks-grid .program-card p {
  margin: 0;
  color: #b7c8e4;
  font-size: 1.01rem;
  line-height: 1.52;
}

.home-tracks-grid .program-card .btn {
  width: 100%;
  margin-top: 0.25rem;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(85, 135, 211, 0.58);
  background: linear-gradient(180deg, #11284c 0%, #102342 100%);
  color: #dfeaff;
  font-size: 1.04rem;
  font-weight: 700;
}

.home-tracks-grid .program-card .btn:hover {
  border-color: rgba(116, 170, 252, 0.88);
  background: linear-gradient(180deg, #16315b 0%, #133055 100%);
}

.home-faq .card {
  padding: 1.15rem;
}

@media (max-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .media-stack-grid {
    grid-template-columns: 1fr;
  }

  .home-tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-tracks .home-section-head .section-title {
    max-width: 24ch;
  }
}

@media (max-width: 900px) {
  .course-table tr {
    border-color: #2a3f62;
    background: #0f1a2e;
  }

  .course-table td {
    border-bottom-color: #2a3f62;
  }

  .home-stat-strip,
  .home-value-grid,
  .home-outcome-grid,
  .home-tracks-grid {
    grid-template-columns: 1fr;
  }

  .home-tracks-grid .program-card {
    padding: 1.05rem;
    border-radius: 20px;
  }

  .home-tracks-grid .program-card .btn {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .home-main section {
    padding: 1.1rem 0;
  }

  .home-quicknav {
    padding-top: 0.65rem;
    padding-bottom: 0.4rem;
  }

  .quicknav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quicknav a {
    text-align: center;
  }

  .impact-grid,
  .catalog-visual-strip,
  .academy-showcase,
  .contact-collab,
  .course-visual-grid {
    grid-template-columns: 1fr;
  }

  .academy-brand-inner {
    grid-template-columns: 1fr;
  }

  .course-career-benefits,
  .course-career-lower,
  .course-career-badge {
    grid-template-columns: 1fr;
  }

  .home-badges .badge-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .home-badges .badge-card--marketing {
    padding: 0.85rem;
    gap: 0.7rem;
    border-radius: 16px;
  }

  .home-badges .badge-media {
    padding: 0.5rem;
    border-radius: 12px;
  }

  .home-badges .badge-copy h3 {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
  }

  .home-badges .badge-meta {
    gap: 0.08rem;
  }

  .home-badges .badge-meta p {
    font-size: 0.92rem;
  }

  .home-badges .badge-copy .small-note {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .home-badges .badge-cta-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0.5rem;
    align-items: stretch;
    margin-top: 0.1rem;
  }

  .home-badges .badge-cta-row .btn {
    width: 100%;
    min-height: 42px;
    padding: 0.58rem 0.82rem;
    font-size: 0.9rem;
  }

  .home-video-footer {
    align-items: stretch;
  }

  .home-video-pagination {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-video-page {
    width: 100%;
  }
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.15rem 0;
}

.consent-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .home-badges .badge-card--marketing {
    padding: 0.74rem;
    gap: 0.62rem;
  }

  .home-badges .badge-media {
    padding: 0.42rem;
  }

  .home-badges .badge-copy h3 {
    font-size: 0.92rem;
    line-height: 1.3;
  }

  .home-badges .badge-meta p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .home-badges .badge-copy .small-note {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .home-badges .badge-cta-row {
    grid-template-columns: 78px 1fr;
    gap: 0.45rem;
  }

  .home-badges .badge-cta-row .status-tag {
    min-width: 0;
    font-size: 0.72rem;
    padding: 0.2rem 0.48rem;
  }

  .home-badges .badge-cta-row .btn {
    min-height: 40px;
    font-size: 0.9rem;
    line-height: 1.2;
  }
}

/* Keep container outlines refined and consistent across themes/states. */
:is(
  .hero-card,
  .card,
  .program-card,
  .cta-panel,
  .course-badge-card,
  .badge-card,
  .course-visual-card,
  .catalog-visual-card,
  .course-instructor-box,
  .impact-media-card,
  .contact-collab,
  .course-career-panel,
  .table-wrap,
  .notice,
  .meta-item,
  .process-step,
  .accordion,
  .trust-strip
) {
  border-color: rgba(228, 238, 255, 0.44) !important;
}

.table th,
.table td {
  border-color: rgba(228, 238, 255, 0.44) !important;
}

/* Mobile quick action dock: call + email + enroll. */
.mobile-quick-actions {
  display: none;
}

@media (max-width: 900px) {
  .mobile-quick-actions {
    position: fixed;
    left: 50%;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    z-index: 80;
    width: min(94vw, 520px);
    padding: 0.48rem;
    border-radius: 20px;
    border: 1px solid rgba(151, 188, 248, 0.45);
    background: linear-gradient(145deg, rgba(7, 20, 44, 0.95), rgba(10, 28, 58, 0.95));
    backdrop-filter: blur(9px);
    box-shadow: 0 16px 34px rgba(2, 10, 23, 0.6);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .mobile-quick-action {
    min-height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(114, 161, 233, 0.45);
    background: linear-gradient(180deg, #12294e 0%, #112544 100%);
    color: #e5eeff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .mobile-quick-action-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-quick-action-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .mobile-quick-action--call {
    background: linear-gradient(180deg, #14325f 0%, #123055 100%);
  }

  .mobile-quick-action--mail {
    background: linear-gradient(180deg, #142d57 0%, #11284a 100%);
  }

  .mobile-quick-action--apply {
    background: linear-gradient(128deg, #2477f7 0%, #145ad8 55%, #1049b6 100%);
    border-color: rgba(124, 172, 250, 0.88);
    color: #ffffff;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-quick-actions {
    width: min(97vw, 470px);
    padding: 0.42rem;
    gap: 0.38rem;
    border-radius: 16px;
  }

  .mobile-quick-action {
    min-height: 52px;
    font-size: 0.83rem;
    gap: 0.3rem;
  }
}

@media print {
  .topbar,
  .site-header,
  .menu-toggle,
  .btn-row,
  .footer {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .container {
    width: 100%;
    margin: 0;
  }
}

/* Homepage desktop premium refinement (content preserved). */
@media (min-width: 1100px) {
  .home-main {
    position: relative;
    isolation: isolate;
    overflow: clip;
  }

  .home-main::before,
  .home-main::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
    filter: blur(2px);
  }

  .home-main::before {
    width: 720px;
    height: 720px;
    left: -260px;
    top: 120px;
    background: radial-gradient(circle, rgba(29, 109, 255, 0.22) 0%, rgba(29, 109, 255, 0) 72%);
  }

  .home-main::after {
    width: 760px;
    height: 760px;
    right: -320px;
    top: 520px;
    background: radial-gradient(circle, rgba(10, 69, 174, 0.25) 0%, rgba(10, 69, 174, 0) 74%);
  }

  .home-main section {
    padding: 2.4rem 0;
  }

  .home-main > section + section::before {
    width: min(1200px, 94vw);
    background: linear-gradient(90deg, rgba(120, 155, 214, 0), rgba(120, 155, 214, 0.55), rgba(120, 155, 214, 0));
  }

  .home-hero {
    padding-top: 3.25rem;
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 1.8rem;
    align-items: center;
  }

  .home-hero-copy {
    max-width: 700px;
  }

  .home-hero-copy .kicker {
    font-size: 0.93rem;
    letter-spacing: 0.1em;
    color: #73a5ff;
  }

  .home-hero-copy h1 {
    margin: 0.2rem 0 0.85rem;
    font-size: clamp(2.45rem, 3.2vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }

  .home-hero-copy p {
    max-width: 64ch;
    font-size: 1.08rem;
    line-height: 1.66;
    color: #c7d7f0;
  }

  .home-hero-actions {
    margin-top: 1.25rem;
    gap: 0.7rem;
  }

  .home-hero-card {
    position: relative;
    border: 1px solid rgba(178, 206, 255, 0.56) !important;
    border-radius: 28px;
    padding: 1.15rem;
    background:
      radial-gradient(140px 110px at 82% -10%, rgba(40, 120, 255, 0.35), rgba(40, 120, 255, 0) 76%),
      linear-gradient(175deg, #06142d 0%, #07142a 52%, #081733 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 24px 52px rgba(2, 10, 24, 0.56);
  }

  .home-hero-card > img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(96, 142, 222, 0.5);
    background: #0b1e3d;
    padding: 0.58rem;
  }

  .home-hero-card-content {
    padding: 0.1rem 0.1rem 0.2rem;
  }

  .home-hero-card-content :is(h2, h3) {
    font-size: 1.24rem;
    line-height: 1.26;
    color: #f2f7ff;
    margin-bottom: 0.34rem;
  }

  .home-hero-card-content p {
    color: #bdcdea;
    line-height: 1.58;
  }

  .home-hero-card .inline-list {
    margin-top: 0.72rem;
    gap: 0.36rem;
  }

  .home-hero-card .inline-list li {
    color: #d4e3fa;
  }

  .home-quicknav {
    padding-top: 1.05rem;
    padding-bottom: 0.95rem;
  }

  .quicknav {
    gap: 0.65rem;
  }

  .quicknav a {
    min-height: 42px;
    padding: 0.45rem 0.96rem;
    border-color: rgba(95, 139, 207, 0.62);
    background: linear-gradient(180deg, rgba(18, 37, 69, 0.88), rgba(17, 34, 63, 0.88));
    color: #d7e5fb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  }

  .home-section-head {
    margin-bottom: 1.35rem;
  }

  .home-section-head .kicker {
    letter-spacing: 0.09em;
    font-size: 0.86rem;
  }

  .home-section-head .section-title {
    font-size: clamp(1.8rem, 2.15vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .media-stack-impact.card,
  .home-positioning .card,
  .home-faq .card {
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(2, 9, 22, 0.48);
  }

  .media-stack-impact.card {
    padding: 1.1rem;
    border: 1px solid rgba(171, 199, 245, 0.56) !important;
    background: linear-gradient(178deg, #07152e 0%, #061328 100%);
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .impact-media-card {
    border-radius: 18px;
    border-color: rgba(132, 170, 235, 0.48);
  }

  .impact-media-copy {
    padding: 0.85rem;
  }

  .home-proof-row {
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .home-proof-row .badge {
    border: 1px solid rgba(111, 154, 221, 0.62);
    background: linear-gradient(180deg, #122647 0%, #112341 100%);
    color: #d9e8ff;
    min-height: 34px;
  }

  .home-value-grid,
  .home-outcome-grid {
    gap: 1.1rem;
  }

  .home-value-grid .card,
  .home-outcome-grid .card {
    border: 1px solid rgba(172, 200, 245, 0.5) !important;
    border-radius: 20px;
    padding: 1.08rem;
    background: linear-gradient(180deg, #08162f 0%, #081429 100%);
  }

  .home-badges .small-note {
    color: #c6d7f3;
    max-width: 76ch;
  }

  .home-badges .badge-grid {
    gap: 1.18rem;
  }

  .home-tracks {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .home-tracks .home-section-head {
    margin-bottom: 1.35rem;
  }

  .home-tracks-grid {
    gap: 1.25rem;
  }

  .home-tracks-grid .program-card {
    border-radius: 28px;
    padding: 1.3rem 1.18rem 1.12rem;
  }

  .home-tracks-grid .program-card h3 {
    font-size: clamp(1.95rem, 2.05vw, 2.36rem);
  }

  .home-tracks-grid .program-card p {
    min-height: 7.8rem;
  }

  .process-grid {
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-step {
    border-radius: 18px;
    border: 1px solid rgba(161, 191, 237, 0.5);
    background: linear-gradient(180deg, #0a1a34 0%, #09172f 100%);
    box-shadow: 0 12px 28px rgba(2, 9, 22, 0.42);
  }

  .process-step h3 {
    font-size: 1.06rem;
    line-height: 1.35;
  }

  .process-step p {
    color: #c2d3ee;
    line-height: 1.56;
  }

  .home-cta .cta-panel {
    border-radius: 24px;
    border: 1px solid rgba(160, 196, 255, 0.56) !important;
    background:
      radial-gradient(460px 220px at 85% 12%, rgba(45, 124, 255, 0.27), rgba(45, 124, 255, 0) 72%),
      linear-gradient(130deg, #0b1f41 0%, #102f62 48%, #0d2651 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 24px 46px rgba(3, 13, 31, 0.52);
    padding: 1.4rem 1.35rem;
  }

  .home-cta .cta-panel h2 {
    font-size: clamp(1.85rem, 2.4vw, 2.35rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
  }

  .home-cta .cta-panel p {
    color: #d3e2fb;
    max-width: 66ch;
  }

  .home-faq .container.card {
    border: 1px solid rgba(168, 198, 244, 0.5) !important;
    padding: 1.3rem;
    background: linear-gradient(180deg, #091931 0%, #08152b 100%);
  }

  .home-faq .section-title {
    margin-bottom: 0.9rem;
    font-size: clamp(1.7rem, 2vw, 2.15rem);
  }

  .home-faq .accordion {
    border-color: rgba(111, 154, 221, 0.5);
    background: rgba(15, 34, 66, 0.68);
  }

  .home-faq .accordion + .accordion {
    margin-top: 0.58rem;
  }

  .home-faq summary {
    font-size: 1.03rem;
    color: #e5efff;
  }

  .home-faq .accordion-body p {
    color: #c7d8f2;
  }
}

/* Premium desktop mega-menu for Courses (RO/EN shared navigation). */
@media (min-width: 901px) {
  .nav-dropdown {
    position: relative;
  }

  .nav-dropdown summary {
    min-height: 46px;
    padding: 0.62rem 0.92rem;
    border-radius: 14px;
    border: 1px solid rgba(126, 165, 228, 0.3);
    background: linear-gradient(180deg, rgba(22, 37, 66, 0.65), rgba(16, 30, 55, 0.65));
    color: #d8e8ff;
    font-weight: 650;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  }

  .nav-dropdown summary::after {
    font-size: 0.68rem;
    opacity: 0.9;
  }

  .nav-dropdown:hover summary,
  .nav-dropdown[open] summary {
    color: #ffffff;
    border-color: rgba(143, 187, 255, 0.72);
    background: linear-gradient(180deg, rgba(36, 63, 106, 0.78), rgba(25, 46, 80, 0.78));
  }

  .nav-dropdown > .submenu {
    display: grid;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.985);
    transform-origin: top right;
    transition: opacity 0.18s ease, transform 0.22s ease, visibility 0.22s ease;

    right: 0;
    top: calc(100% + 12px);
    width: min(1040px, calc(100vw - 38px));
    max-height: min(70vh, 640px);
    overflow: auto;

    border: 1px solid rgba(157, 196, 255, 0.34);
    border-radius: 20px;
    padding: 0.74rem;
    background:
      radial-gradient(760px 260px at 14% -12%, rgba(44, 114, 249, 0.26), rgba(44, 114, 249, 0) 68%),
      radial-gradient(620px 220px at 88% -6%, rgba(29, 94, 216, 0.2), rgba(29, 94, 216, 0) 70%),
      linear-gradient(180deg, #0c1a33 0%, #0a162d 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 26px 52px rgba(2, 10, 25, 0.64);

    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 0.62rem;
  }

  .nav-dropdown:hover > .submenu,
  .nav-dropdown[open] > .submenu {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .submenu::-webkit-scrollbar {
    width: 10px;
  }

  .submenu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(116, 157, 224, 0.45);
  }

  .submenu > a {
    grid-column: 1 / -1;
    min-height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid rgba(135, 179, 245, 0.5);
    background: linear-gradient(180deg, rgba(26, 51, 92, 0.92), rgba(22, 41, 75, 0.92));
    color: #d8e8ff;
    font-size: clamp(0.98rem, 1.25vw, 1.16rem);
    letter-spacing: -0.01em;
    font-weight: 750;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .submenu > a:hover {
    border-color: rgba(173, 206, 255, 0.88);
    background: linear-gradient(180deg, rgba(35, 65, 112, 0.95), rgba(27, 53, 94, 0.95));
    color: #ffffff;
  }

  .submenu-group {
    border: 1px solid rgba(128, 169, 234, 0.35);
    border-radius: 15px;
    padding: 0.62rem 0.56rem;
    background: linear-gradient(180deg, rgba(16, 32, 58, 0.82), rgba(14, 28, 51, 0.82));
    display: grid;
    align-content: start;
    gap: 0.18rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    min-height: 100%;
  }

  .submenu-group strong {
    color: #f2f7ff;
    font-size: 0.96rem;
    font-weight: 760;
    letter-spacing: -0.01em;
    margin: 0 0 0.22rem;
  }

  .submenu-group a {
    display: block;
    color: #b9cceb;
    font-size: 0.86rem;
    line-height: 1.28;
    border-radius: 8px;
    padding: 0.24rem 0.32rem;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .submenu-group a:hover {
    color: #f1f7ff;
    background: rgba(58, 103, 177, 0.36);
  }
}

@media (min-width: 901px) and (max-width: 1220px) {
  .nav-dropdown > .submenu {
    width: min(960px, calc(100vw - 26px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Professional trust strip (shared RO/EN) */
.professional-proof-strip {
  padding: 0.45rem 0 0.9rem;
}

.professional-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.professional-proof-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 165, 234, 0.42);
  background: linear-gradient(180deg, rgba(16, 33, 59, 0.76), rgba(12, 25, 45, 0.76));
  color: #d6e6ff;
  font-size: 0.81rem;
  font-weight: 620;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .professional-proof-strip {
    padding: 0.35rem 0 0.7rem;
  }

  .professional-proof-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.38rem;
  }

  .professional-proof-item {
    justify-content: center;
    text-align: center;
    min-height: 32px;
    font-size: 0.78rem;
  }
}

/* Smart keyword emphasis for RO/EN course messaging. */
.attention-phrase {
  display: inline;
  font-weight: 760;
  color: #f3f8ff;
  text-shadow: 0 0 14px rgba(66, 142, 255, 0.32);
  background-image: linear-gradient(95deg, #92c2ff 0%, #f1f7ff 48%, #74abff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: attentionSweep 4.6s ease-in-out infinite;
}

.attention-phrase--strong {
  position: relative;
}

.attention-phrase--strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  height: 0.1em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(73, 134, 234, 0.18), rgba(130, 178, 255, 0.75), rgba(73, 134, 234, 0.18));
}

@keyframes attentionSweep {
  0%, 100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .attention-phrase {
    animation: none;
  }
}

/* Premium Color System v2: chroma-only uplift, layout preserved. */
:root {
  --bg: #050b17;
  --surface: #0b1832;
  --surface-soft: #112447;
  --text: #eaf2ff;
  --muted: #bfd0eb;
  --brand: #2e7dff;
  --brand-2: #215fcb;
  --line: rgba(160, 194, 246, 0.32);
  --ink: #f4f8ff;
  --ok: #2e7dff;
  --shadow: 0 18px 40px rgba(2, 8, 20, 0.52);
}

body {
  background:
    radial-gradient(circle at 12% -4%, rgba(36, 94, 209, 0.28) 0%, rgba(36, 94, 209, 0) 44%),
    radial-gradient(circle at 88% 6%, rgba(21, 77, 183, 0.26) 0%, rgba(21, 77, 183, 0) 40%),
    linear-gradient(180deg, #060f20 0%, #050b17 100%);
}

.topbar {
  background: linear-gradient(100deg, #0a1a37 0%, #143464 56%, #1a4d93 100%);
  color: #f2f7ff;
}

.site-header {
  background: rgba(5, 15, 33, 0.9);
  border-bottom-color: rgba(124, 164, 226, 0.32);
}

.logo-marks {
  border-color: rgba(140, 179, 241, 0.36);
  background: linear-gradient(180deg, rgba(14, 31, 59, 0.86), rgba(10, 23, 45, 0.86));
}

.header-contact-meta__item,
.lang-switch__btn,
.nav-dropdown summary {
  border-color: rgba(126, 167, 233, 0.42);
  background: rgba(16, 35, 66, 0.78);
  color: #dbe9ff;
}

.nav a {
  color: #d2e2fb;
}

.nav a.active,
.nav a:hover,
.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(40, 69, 116, 0.78), rgba(26, 49, 85, 0.78));
  border-color: rgba(154, 194, 255, 0.56);
}

.submenu {
  border-color: rgba(150, 188, 248, 0.32);
  background:
    radial-gradient(720px 250px at 14% -10%, rgba(49, 119, 247, 0.2), rgba(49, 119, 247, 0) 68%),
    linear-gradient(180deg, #0c1a33 0%, #0a162d 100%);
}

.submenu-group {
  border-color: rgba(129, 170, 236, 0.3);
  background: linear-gradient(180deg, rgba(16, 32, 58, 0.82), rgba(14, 28, 50, 0.82));
}

.card,
.hero-card,
.program-card,
.cta-panel,
.course-badge-card,
.course-visual-card,
.catalog-visual-card,
.process-step,
.accordion,
.table-wrap,
.notice {
  background-color: rgba(11, 24, 46, 0.9);
  border-color: rgba(162, 194, 244, 0.34);
  box-shadow: 0 14px 34px rgba(2, 10, 24, 0.45);
}

h1,
h2,
h3,
.section-title,
.hero h1,
.hero-card h3 {
  color: #f4f8ff;
}

p,
li,
.small-note,
.hero p,
label {
  color: #c4d5ef;
}

.btn.primary {
  background: linear-gradient(130deg, #2e7dff 0%, #2468d8 52%, #1b4ea7 100%);
  border-color: rgba(167, 202, 255, 0.52);
  box-shadow: 0 14px 28px rgba(32, 96, 212, 0.34);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: linear-gradient(130deg, #3a88ff 0%, #2a72e8 52%, #2059ba 100%);
}

.btn.ghost {
  border-color: rgba(146, 180, 233, 0.52);
  background: linear-gradient(180deg, rgba(15, 31, 57, 0.82), rgba(12, 26, 48, 0.82));
  color: #dbe8ff;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: rgba(170, 200, 248, 0.76);
  background: linear-gradient(180deg, rgba(21, 41, 75, 0.92), rgba(16, 34, 62, 0.92));
}

input,
select,
textarea {
  border-color: rgba(133, 171, 233, 0.42);
  background: rgba(11, 24, 46, 0.82);
  color: #e7f0ff;
}

input::placeholder,
textarea::placeholder {
  color: #9eb6da;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(137, 184, 255, 0.88);
  box-shadow: 0 0 0 3px rgba(63, 128, 241, 0.22);
  outline: none;
}

.footer {
  background: linear-gradient(180deg, #050d1f 0%, #0a1e3f 100%);
  border-top-color: rgba(148, 182, 239, 0.32);
}

.footer::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(193, 216, 255, 0.75), rgba(255, 255, 255, 0));
}

.footer-trust-btn,
.footer-seo-nav a {
  border-color: rgba(143, 179, 238, 0.46);
  background: rgba(18, 38, 70, 0.66);
}

.professional-proof-item {
  border-color: rgba(133, 173, 240, 0.45);
  background: linear-gradient(180deg, rgba(15, 33, 61, 0.82), rgba(11, 24, 46, 0.82));
}

.attention-phrase {
  text-shadow: 0 0 15px rgba(58, 134, 252, 0.34);
  background-image: linear-gradient(95deg, #9ac8ff 0%, #f3f8ff 48%, #7fb4ff 100%);
}

/* Mobile Redesign Final Layer: premium, clean, conversion-first. */
@media (max-width: 900px) {
  .container {
    width: min(1120px, 94vw);
    padding-inline: 0;
  }

  .topbar {
    padding: 0.28rem 0;
    font-size: 0.7rem;
    letter-spacing: 0.018em;
  }

  .topbar .container {
    justify-content: center;
    gap: 0.12rem;
    text-align: center;
  }

  .site-header {
    backdrop-filter: blur(11px);
  }

  .header-wrap {
    position: relative;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.62rem;
    row-gap: 0.38rem;
    padding: 0.5rem 0;
  }

  .logo {
    min-width: 0;
  }

  .logo-marks {
    padding: 0.18rem 0.28rem;
    border-radius: 12px;
    border-color: rgba(141, 178, 239, 0.32);
  }

  .logo-marks img {
    width: auto;
    height: 44px;
    max-width: 132px;
    object-fit: contain;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    min-width: 82px;
    padding: 0 0.62rem;
    border-radius: 14px;
    border: 1px solid rgba(161, 193, 248, 0.52);
    background: linear-gradient(180deg, rgba(27, 47, 81, 0.94), rgba(17, 33, 58, 0.94));
    color: #eff5ff;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .lang-switch {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    gap: 0.34rem;
  }

  .lang-switch__btn {
    min-height: 36px;
    min-width: 48px;
    padding: 0.14rem 0.42rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
  }

  .nav {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border-radius: 16px;
    padding: 0.68rem;
    gap: 0.42rem;
    border-color: rgba(125, 162, 225, 0.34);
    background: linear-gradient(180deg, rgba(11, 24, 46, 0.97), rgba(8, 18, 35, 0.98));
    box-shadow: 0 20px 44px rgba(2, 9, 22, 0.62);
    max-height: calc(100dvh - 156px);
  }

  .nav a {
    min-height: 46px;
    font-size: 0.9rem;
    border-radius: 12px;
    padding: 0.7rem 0.82rem;
  }

  .nav a.nav-cta {
    min-height: 48px;
    border-radius: 13px;
  }

  .hero,
  main.container .hero {
    margin-top: 0.5rem;
    padding: 1.06rem 0.66rem 0.92rem;
    border-radius: 14px;
  }

  .hero-grid,
  .home-hero-grid {
    gap: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 6.8vw, 1.9rem);
    line-height: 1.14;
    letter-spacing: -0.01em;
    margin-bottom: 0.52rem;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.52rem;
  }

  .section-title {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    line-height: 1.15;
  }

  section,
  .home-main section {
    padding: 0.95rem 0;
  }

  .card,
  .hero-card,
  .program-card,
  .cta-panel,
  .meta-item,
  .process-step,
  .accordion,
  .table-wrap,
  .notice {
    border-radius: 14px;
    padding: 0.78rem;
  }

  .hero-card > img,
  .home-hero-card > img,
  .registration-brand-mark img {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .btn-row {
    margin-top: 0.68rem;
    gap: 0.5rem;
  }

  .btn {
    min-height: 44px;
    width: 100%;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  .contact-collab,
  .contact-collab--logo,
  .course-career-lower,
  .course-career-benefits,
  .academy-showcase,
  .catalog-visual-strip,
  .course-visual-grid,
  .home-value-grid,
  .home-outcome-grid,
  .home-stat-strip,
  .home-tracks-grid,
  .home-badges .badge-grid,
  .professional-proof-list {
    grid-template-columns: 1fr;
  }

  .contact-collab--logo {
    gap: 0.66rem;
  }

  .contact-collab--logo .contact-collab-logo {
    max-width: 210px;
  }

  .registration-brand-mark {
    margin-top: 0.32rem;
    margin-bottom: 0.62rem;
    padding: 0.48rem;
  }

  .footer-main {
    gap: 0.36rem;
    padding-top: 0.82rem;
  }

  .footer-brand-mark img {
    width: min(100%, 210px);
  }

  .mobile-quick-actions {
    width: min(96vw, 520px);
    border-radius: 16px;
    padding: 0.4rem;
    gap: 0.34rem;
  }

  .mobile-quick-action {
    min-height: 50px;
    border-radius: 12px;
    font-size: 0.8rem;
    gap: 0.28rem;
  }

  .mobile-quick-action-icon,
  .mobile-quick-action-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, 92vw);
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 0.46rem;
    row-gap: 0.3rem;
    padding: 0.44rem 0;
  }

  .logo-marks {
    padding: 0.12rem 0.2rem;
  }

  .logo-marks img {
    height: 38px;
    max-width: 118px;
  }

  .menu-toggle {
    min-height: 34px;
    min-width: 74px;
    font-size: 0.74rem;
  }

  .lang-switch__btn {
    min-height: 34px;
    min-width: 44px;
    font-size: 0.67rem;
    padding: 0.12rem 0.36rem;
  }

  .hero,
  main.container .hero {
    padding: 0.92rem 0.56rem 0.82rem;
  }

  .hero h1 {
    font-size: clamp(1.22rem, 7vw, 1.62rem);
  }

  .hero p,
  .card p,
  .process-step p,
  .small-note,
  li {
    font-size: 0.86rem;
    line-height: 1.46;
  }

  .card,
  .hero-card,
  .program-card,
  .cta-panel,
  .meta-item,
  .process-step,
  .accordion,
  .table-wrap,
  .notice {
    border-radius: 12px;
    padding: 0.7rem;
  }

  .footer-seo-nav {
    grid-template-columns: 1fr 1fr;
    gap: 0.28rem;
  }

  .mobile-quick-actions {
    width: min(97vw, 470px);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 14px;
    padding: 0.34rem;
  }

  .mobile-quick-action {
    min-height: 46px;
    font-size: 0.76rem;
  }
}

@media (max-width: 390px) {
  .logo-marks img {
    height: 34px;
    max-width: 104px;
  }

  .menu-toggle {
    min-width: 66px;
    font-size: 0.71rem;
  }

  .lang-switch__btn {
    min-width: 40px;
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(1.14rem, 7.2vw, 1.44rem);
  }
}

@media (max-width: 768px) {
  .course-table td:nth-child(1)::before { content: "Curs"; }
  .course-table td:nth-child(2)::before { content: "Nivel"; }
  .course-table td:nth-child(3)::before { content: "Format"; }
  .course-table td:nth-child(4)::before { content: "Badge"; }
  .course-table td:nth-child(5)::before { content: "Observații"; }

  html[lang="en"] .course-table td:nth-child(1)::before { content: "Course"; }
  html[lang="en"] .course-table td:nth-child(2)::before { content: "Level"; }
  html[lang="en"] .course-table td:nth-child(3)::before { content: "Format"; }
  html[lang="en"] .course-table td:nth-child(4)::before { content: "Badge"; }
  html[lang="en"] .course-table td:nth-child(5)::before { content: "Notes"; }
}

/* Global dark unification (RO/EN): all pages keep the same deep tone. */
body {
  background: #050f22;
}

.home-main::before,
.home-main::after,
main > section + section::before {
  display: none;
}

.hero,
main.container .hero,
.home-quicknav,
.card,
.program-card,
.impact-media-card,
.badge-card--marketing,
.catalog-visual-card,
.course-visual-card,
.cta-panel,
.accordion,
.table-wrap,
.notice {
  background: #050f22;
  border-color: rgba(92, 122, 173, 0.26);
  box-shadow: none;
}

/* Global academy redesign (Fluent-inspired): applies to all RO/EN pages. */
:root {
  --font-ui: "Segoe UI", "Segoe UI Variable", "Aptos", "Manrope", sans-serif;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-soft: #f8fafd;
  --text: #1b1f2a;
  --muted: #4e596e;
  --brand: #0067c5;
  --brand-2: #0056a6;
  --line: #d7deeb;
  --ink: #0f1728;
  --shadow: 0 10px 28px rgba(10, 26, 60, 0.08);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 103, 197, 0.14) 0%, rgba(0, 103, 197, 0) 34%),
    radial-gradient(circle at 90% 8%, rgba(41, 98, 255, 0.12) 0%, rgba(41, 98, 255, 0) 36%),
    linear-gradient(180deg, #eef3fb 0%, #f6f8fc 100%);
}

.topbar {
  background: #f6f9ff;
  color: #315079;
  border-bottom: 1px solid #d6e4f7;
  text-transform: none;
  letter-spacing: 0.01em;
}

.site-header {
  background: rgba(246, 249, 255, 0.92);
  border-bottom: 1px solid #dbe5f3;
  backdrop-filter: blur(8px);
}

.logo-marks {
  background: #ffffff;
  border: 1px solid #dce6f6;
  box-shadow: 0 6px 18px rgba(10, 38, 86, 0.08);
}

.header-contact-meta__item,
.lang-switch__btn {
  background: #ffffff;
  color: #23466b;
  border-color: #cbdaf1;
}

.lang-switch__btn.is-active {
  background: linear-gradient(180deg, #0078d4, #0063b1);
  border-color: #0063b1;
}

.nav a,
.nav-dropdown summary {
  color: #214468;
}

.nav a.active,
.nav a:hover,
.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  background: #e8f1ff;
  border-color: #c6daf7;
  color: #0f3f73;
}

.nav a.nav-cta {
  background: linear-gradient(180deg, #0078d4, #0063b1);
  color: #fff;
  border: 1px solid #005aa2;
}

.submenu {
  background: #ffffff;
  border: 1px solid #d5e2f5;
  box-shadow: 0 12px 26px rgba(11, 41, 90, 0.12);
}

.submenu-group {
  background: #f8fbff;
  border: 1px solid #e2ebf8;
}

.hero,
main.container .hero,
.card,
.hero-card,
.program-card,
.cta-panel,
.meta-item,
.process-step,
.accordion,
.table-wrap,
.notice,
.impact-media-card,
.catalog-visual-card,
.course-visual-card,
.badge-card--marketing,
.academy-brand-strip,
.course-career-panel,
.course-visual-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

h1,
h2,
h3,
.section-title,
.hero h1,
.hero-card h3 {
  color: #14233a;
}

p,
li,
label,
.small-note,
.hero p {
  color: var(--muted);
}

.kicker,
.label,
.tag {
  color: #0054a6;
}

.btn.primary {
  background: linear-gradient(180deg, #0078d4, #0063b1);
  border-color: #005aa2;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 99, 177, 0.24);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: linear-gradient(180deg, #1187de, #006cbe);
}

.btn.ghost {
  background: #ffffff;
  border-color: #c9d9ee;
  color: #1e456f;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: #f2f7ff;
}

input,
select,
textarea {
  background: #ffffff;
  color: #10263f;
  border-color: #c9d9ee;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0078d4;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.18);
}

.table th {
  background: #eef4ff;
  color: #17385f;
}

.table td {
  background: #fff;
  color: #2b3e56;
}

.footer {
  background: linear-gradient(180deg, #f2f6fd 0%, #eaf1fb 100%);
  border-top: 1px solid #d4e1f4;
}

.footer p,
.footer a,
.footer-meta,
.footer-copy {
  color: #355273;
}

@media (max-width: 900px) {
  .topbar {
    font-size: 0.74rem;
  }

  .site-header {
    background: rgba(245, 249, 255, 0.97);
  }

  .hero,
  main.container .hero,
  .card,
  .hero-card {
    border-radius: 14px;
  }
}

/* Final global lock: consistent Microsoft-style academy UI on all RO/EN pages. */
:root {
  --font-ui: "Segoe UI", "Aptos", "Manrope", sans-serif;
  --bg: #eef3fb;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --text: #182338;
  --muted: #4c5f7f;
  --brand: #0078d4;
  --brand-2: #005da6;
  --line: #d6e0ef;
  --ink: #0f1f35;
  --shadow: 0 12px 28px rgba(8, 34, 73, 0.09);
}

html,
body {
  min-height: 100%;
}

body,
body.page-home {
  color: var(--text) !important;
  background:
    radial-gradient(90rem 36rem at 8% -12%, rgba(0, 120, 212, 0.16), rgba(0, 120, 212, 0)),
    radial-gradient(72rem 32rem at 96% -8%, rgba(34, 98, 214, 0.12), rgba(34, 98, 214, 0)),
    linear-gradient(180deg, #eff4fc 0%, #f7f9fd 100%) !important;
}

body.page-home .topbar {
  display: block !important;
}

.home-main::before,
.home-main::after,
main > section + section::before,
body.page-home .home-main::before,
body.page-home .home-main::after {
  display: none !important;
}

.topbar,
.site-header,
.nav,
.submenu,
.submenu-group,
.hero,
main.container .hero,
.card,
.hero-card,
.meta-item,
.program-card,
.process-step,
.trust-strip,
.cta-panel,
.accordion,
.table-wrap,
.notice,
.badge-card,
.course-badge-card,
.impact-media-card,
.catalog-visual-card,
.course-visual-card,
.badge-card--marketing,
.academy-brand-strip,
.course-career-panel,
.course-visual-strip {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  box-shadow: var(--shadow);
}

.topbar {
  color: #2a4d78 !important;
  border-bottom-width: 1px;
}

.site-header {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #d9e3f3 !important;
  backdrop-filter: blur(10px);
}

.logo-marks {
  background: #fff !important;
  border: 1px solid #d8e4f5 !important;
  box-shadow: 0 10px 24px rgba(9, 43, 92, 0.1);
}

.nav a,
.nav-dropdown summary {
  color: #1e4672 !important;
}

.nav a.active,
.nav a:hover,
.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  color: #0d3e71 !important;
  background: #eaf2ff !important;
}

.nav a.nav-cta,
.btn.primary {
  color: #fff !important;
  background: linear-gradient(180deg, #0078d4, #0063b1) !important;
  border: 1px solid #005aa2 !important;
  box-shadow: 0 10px 20px rgba(0, 99, 177, 0.24) !important;
}

.btn.ghost {
  background: #fff !important;
  border: 1px solid #c8d8ee !important;
  color: #1e456f !important;
}

.hero h1,
h1,
h2,
h3,
.section-title,
.module-head h2 {
  color: #11223a !important;
}

.hero p,
p,
li,
label,
.small-note,
.card p,
.program-card p {
  color: var(--muted) !important;
}

.kicker,
.chip,
.status-tag,
.program-card .label {
  color: #0d4f96 !important;
}

input,
select,
textarea {
  background: #fff !important;
  color: #112944 !important;
  border: 1px solid #c9d8ee !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0078d4 !important;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.18) !important;
  outline: none;
}

.table th {
  background: #edf4ff !important;
  color: #173c67 !important;
}

.table td {
  background: #fff !important;
  color: #2f435f !important;
}

.footer {
  margin-top: 1.5rem;
  color: #dbe8ff !important;
  background:
    radial-gradient(40rem 20rem at 10% 0%, rgba(71, 129, 235, 0.24), rgba(71, 129, 235, 0)),
    linear-gradient(180deg, #071a37 0%, #0b2a55 100%) !important;
  border-top: 1px solid rgba(162, 189, 236, 0.28) !important;
}

.footer p,
.footer .container,
.footer-meta,
.footer-copy,
.footer-policy-nav {
  color: #cfe0ff !important;
}

.footer a {
  color: #f1f6ff !important;
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #d4e1f3 !important;
    box-shadow: 0 20px 36px rgba(12, 38, 78, 0.15) !important;
  }

  .submenu {
    background: #f7fbff !important;
  }
}

/* Professional button color system */
:root {
  --btn-primary-start: #0f6cbd;
  --btn-primary-end: #0b5fa8;
  --btn-primary-hover-start: #0d629f;
  --btn-primary-hover-end: #0a548a;
  --btn-primary-border: #084a7f;
  --btn-primary-shadow: rgba(11, 95, 168, 0.24);

  --btn-secondary-bg: #f7faff;
  --btn-secondary-border: #c7d7ec;
  --btn-secondary-text: #1f466f;
  --btn-secondary-hover-bg: #ecf3fd;
  --btn-secondary-hover-border: #b1c8e5;

  --btn-muted-bg: #e9eff8;
  --btn-muted-border: #bfcee3;
  --btn-muted-text: #24456d;
}

.btn,
.nav a.nav-cta,
.lang-switch__btn,
.footer-trust-btn,
.footer-seo-nav a {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn.primary,
.nav a.nav-cta {
  background: linear-gradient(180deg, var(--btn-primary-start), var(--btn-primary-end)) !important;
  border-color: var(--btn-primary-border) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px var(--btn-primary-shadow) !important;
}

.btn.primary:hover,
.btn.primary:focus-visible,
.nav a.nav-cta:hover,
.nav a.nav-cta:focus-visible {
  background: linear-gradient(180deg, var(--btn-primary-hover-start), var(--btn-primary-hover-end)) !important;
  border-color: #073f6b !important;
  box-shadow: 0 12px 22px rgba(7, 63, 107, 0.28) !important;
}

.btn.ghost {
  background: var(--btn-secondary-bg) !important;
  border: 1px solid var(--btn-secondary-border) !important;
  color: var(--btn-secondary-text) !important;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--btn-secondary-hover-bg) !important;
  border-color: var(--btn-secondary-hover-border) !important;
  color: #173a5d !important;
}

.lang-switch__btn {
  background: var(--btn-secondary-bg) !important;
  border-color: var(--btn-secondary-border) !important;
  color: var(--btn-secondary-text) !important;
  font-weight: 700;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  background: var(--btn-secondary-hover-bg) !important;
  border-color: var(--btn-secondary-hover-border) !important;
}

.lang-switch__btn.is-active {
  background: linear-gradient(180deg, var(--btn-primary-start), var(--btn-primary-end)) !important;
  border-color: var(--btn-primary-border) !important;
  color: #fff !important;
}

.footer-trust-btn,
.footer-seo-nav a {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(204, 220, 246, 0.62) !important;
  color: #f3f7ff !important;
}

.footer-trust-btn:hover,
.footer-trust-btn:focus-visible,
.footer-seo-nav a:hover,
.footer-seo-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(220, 232, 248, 0.82) !important;
}

/* Desktop and tablet header refinement */
@media (min-width: 901px) {
  .site-header .container {
    width: min(1680px, 95vw) !important;
  }

  .header-wrap {
    padding: 0 !important;
  }

  .header-inner {
    gap: 0.7rem !important;
    padding: 0.5rem 0 !important;
    min-height: 84px;
    align-items: center !important;
  }

  .logo {
    margin-right: 0.25rem;
  }

  .logo-marks {
    border-radius: 16px !important;
    padding: 0.28rem 0.46rem !important;
  }

  .logo-marks img {
    height: 56px !important;
    max-width: 162px !important;
  }

  .header-contact-meta {
    gap: 0.35rem !important;
    margin-left: auto !important;
    margin-right: 0.15rem !important;
  }

  .header-contact-meta__item {
    min-height: 42px;
    padding: 0.36rem 0.72rem !important;
    font-size: 0.73rem !important;
    border-radius: 999px !important;
  }

  .lang-switch {
    gap: 0.22rem !important;
    margin-right: 0.3rem !important;
  }

  .lang-switch__btn {
    min-height: 42px !important;
    padding: 0.3rem 0.6rem !important;
    font-size: 0.8rem !important;
  }

  .nav {
    gap: 0.25rem !important;
    padding: 0.22rem !important;
    border: 1px solid #d4e0f0;
    border-radius: 18px;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(17, 48, 95, 0.1) !important;
  }

  .nav a,
  .nav-dropdown summary {
    min-height: 42px;
    padding: 0.5rem 0.95rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .site-header .container {
    width: min(1500px, 96vw) !important;
  }

  .header-inner {
    min-height: 74px;
    gap: 0.5rem !important;
  }

  .logo-marks img {
    height: 48px !important;
    max-width: 142px !important;
  }

  .header-contact-meta {
    margin-right: 0.08rem !important;
  }

  .header-contact-meta__item {
    min-height: 38px;
    padding: 0.28rem 0.58rem !important;
    font-size: 0.69rem !important;
  }

  .header-contact-meta__item[href^="mailto:"],
  .header-contact-meta__item--schedule {
    display: none !important;
  }

  .lang-switch__btn {
    min-height: 38px !important;
    font-size: 0.75rem !important;
    padding: 0.24rem 0.52rem !important;
  }

  .nav {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a,
  .nav-dropdown summary {
    min-height: 38px;
    padding: 0.42rem 0.72rem !important;
    font-size: 0.77rem !important;
  }
}

/* Final button palette override (high priority): clean, professional, consistent */
:root {
  --ui-btn-primary-bg: #005fb8;
  --ui-btn-primary-bg-hover: #004f99;
  --ui-btn-primary-border: #004586;
  --ui-btn-primary-shadow: 0 8px 18px rgba(0, 79, 153, 0.22);

  --ui-btn-neutral-bg: #f4f7fc;
  --ui-btn-neutral-bg-hover: #e8eef7;
  --ui-btn-neutral-border: #c1cfdf;
  --ui-btn-neutral-text: #1d3f66;
}

.btn,
.nav a.nav-cta,
.lang-switch__btn,
.header-contact-meta__item,
.footer-trust-btn,
.footer-seo-nav a {
  border-radius: 12px !important;
}

.btn.primary,
.nav a.nav-cta {
  background: var(--ui-btn-primary-bg) !important;
  border: 1px solid var(--ui-btn-primary-border) !important;
  color: #ffffff !important;
  box-shadow: var(--ui-btn-primary-shadow) !important;
}

.btn.primary:hover,
.btn.primary:focus-visible,
.nav a.nav-cta:hover,
.nav a.nav-cta:focus-visible {
  background: var(--ui-btn-primary-bg-hover) !important;
  border-color: #003c74 !important;
}

.btn.ghost,
.lang-switch__btn,
.header-contact-meta__item {
  background: var(--ui-btn-neutral-bg) !important;
  border: 1px solid var(--ui-btn-neutral-border) !important;
  color: var(--ui-btn-neutral-text) !important;
  box-shadow: none !important;
}

.btn.ghost:hover,
.btn.ghost:focus-visible,
.lang-switch__btn:hover,
.lang-switch__btn:focus-visible,
.header-contact-meta__item:hover,
.header-contact-meta__item:focus-visible {
  background: var(--ui-btn-neutral-bg-hover) !important;
  border-color: #acbfd7 !important;
}

.lang-switch__btn.is-active {
  background: var(--ui-btn-primary-bg) !important;
  border-color: var(--ui-btn-primary-border) !important;
  color: #fff !important;
}

.footer-trust-btn,
.footer-seo-nav a {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(214, 227, 246, 0.65) !important;
  color: #f4f8ff !important;
}

.footer-trust-btn:hover,
.footer-trust-btn:focus-visible,
.footer-seo-nav a:hover,
.footer-seo-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(232, 240, 251, 0.86) !important;
}

/* Header/button polish pass: reduce bubble look, improve professional hierarchy */
:root {
  --header-neutral-bg: #ffffff;
  --header-neutral-border: #cfd8e6;
  --header-neutral-text: #1e4168;
  --header-neutral-hover: #f1f5fb;
  --header-active-bg: #eaf2fd;
  --header-active-text: #17467a;
  --header-cta-bg: #0a67c2;
  --header-cta-bg-hover: #0858a6;
  --header-cta-border: #074a8e;
}

.header-contact-meta__item,
.lang-switch__btn {
  border-radius: 10px !important;
  background: var(--header-neutral-bg) !important;
  border: 1px solid var(--header-neutral-border) !important;
  color: var(--header-neutral-text) !important;
  box-shadow: none !important;
}

.header-contact-meta__item:hover,
.header-contact-meta__item:focus-visible,
.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  background: var(--header-neutral-hover) !important;
  border-color: #b9c9de !important;
}

.lang-switch__btn.is-active {
  color: #ffffff !important;
  background: var(--header-cta-bg) !important;
  border-color: var(--header-cta-border) !important;
}

.nav {
  border-radius: 14px !important;
  border: 1px solid #d6deea !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(20, 43, 78, 0.08) !important;
}

.nav a,
.nav-dropdown summary {
  min-height: 40px !important;
  border-radius: 10px !important;
  color: #1f4167 !important;
  background: transparent !important;
}

.nav a.active,
.nav a:hover,
.nav-dropdown:hover summary,
.nav-dropdown[open] summary {
  color: var(--header-active-text) !important;
  background: var(--header-active-bg) !important;
}

.nav a.nav-cta {
  color: #ffffff !important;
  background: var(--header-cta-bg) !important;
  border: 1px solid var(--header-cta-border) !important;
  box-shadow: 0 6px 14px rgba(10, 103, 194, 0.22) !important;
}

.nav a.nav-cta:hover,
.nav a.nav-cta:focus-visible {
  background: var(--header-cta-bg-hover) !important;
  border-color: #063f78 !important;
}

/* Mega menu refinement: professional desktop/tablet dropdown */
@media (min-width: 901px) {
  .nav {
    overflow: visible !important;
  }

  .nav-dropdown {
    position: relative;
  }

  .submenu {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: min(1180px, 92vw) !important;
    max-height: min(76vh, 740px);
    padding: 0.9rem !important;
    gap: 0.8rem !important;
    border: 1px solid #cdd9eb !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 38px rgba(13, 39, 79, 0.14) !important;
    overflow: auto;
  }

  .submenu > a {
    background: #f7faff !important;
    border: 1px solid #cfdcf0 !important;
    color: #1d436f !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
  }

  .submenu-group {
    background: #fbfdff !important;
    border: 1px solid #d9e4f3 !important;
    border-radius: 14px !important;
    padding: 0.75rem !important;
    gap: 0.32rem !important;
  }

  .submenu-group strong {
    color: #214c7a !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.24rem !important;
  }

  .submenu-group a {
    color: #1f4168 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 0.34rem 0.42rem !important;
    line-height: 1.34;
  }

  .submenu-group a:hover {
    background: #eaf2ff !important;
    color: #123f6f !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .submenu {
    width: min(980px, 95vw) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Restore initial courses dropdown layout, improve only contrast/visibility */
@media (min-width: 901px) {
  .submenu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    top: calc(100% + 8px) !important;
    width: min(860px, 90vw) !important;
    max-height: 70vh !important;
    padding: 0.8rem !important;
    gap: 0.65rem !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    border-radius: 12px !important;
    border: 1px solid #cdd9ee !important;
    background: #ffffff !important;
    box-shadow: 0 18px 36px rgba(10, 35, 74, 0.16) !important;
    overflow: auto !important;
  }

  .submenu > a {
    background: #f1f6ff !important;
    border: 1px solid #c8d8f0 !important;
    color: #123f74 !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
  }

  .submenu-group {
    background: #f8fbff !important;
    border: 1px solid #d7e3f4 !important;
    border-radius: 10px !important;
    padding: 0.55rem !important;
  }

  .submenu-group strong {
    color: #1f4f85 !important;
    opacity: 1 !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
  }

  .submenu-group a {
    color: #173e68 !important;
    opacity: 1 !important;
    font-size: 0.84rem !important;
    font-weight: 650 !important;
    border-radius: 8px !important;
  }

  .submenu-group a:hover {
    background: #e7f0ff !important;
    color: #0f3966 !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .submenu {
    width: min(860px, 92vw) !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Final override: header logo without frame */
.site-header .logo-marks {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Header logo scale-up for desktop visibility */
@media (min-width: 901px) {
  .site-header .logo-marks img {
    height: 102px !important;
    max-width: 322px !important;
  }
}

@media (min-width: 1281px) {
  .site-header .logo-marks img {
    height: 114px !important;
    max-width: 364px !important;
  }
}

/* Homepage tracks section: higher visibility + cleaner professional look (RO/EN) */
.home-tracks .home-section-head .kicker {
  color: #0f4f95 !important;
  letter-spacing: 0.06em;
}

.home-tracks .home-section-head .section-title {
  color: #10243f !important;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.home-tracks .home-section-head .btn.primary {
  min-height: 54px;
  padding-inline: 1.55rem !important;
  border-radius: 14px !important;
  font-size: 1.02rem;
  font-weight: 800;
}

.home-tracks-grid {
  gap: 1rem !important;
}

.home-tracks .program-card {
  background: #ffffff !important;
  border: 1px solid #ccdbef !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 30px rgba(11, 37, 76, 0.1) !important;
  padding: 1rem 1rem 0.95rem !important;
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.55rem;
}

.home-tracks .program-card:hover {
  transform: translateY(-4px);
  border-color: #b6ccec !important;
  box-shadow: 0 20px 38px rgba(12, 42, 86, 0.14) !important;
}

.home-tracks .track-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px;
  border: 1px solid #cad9ef;
  background: linear-gradient(180deg, #f5f9ff, #ecf3ff);
  padding: 0.52rem;
}

.home-tracks .program-card .label {
  margin-bottom: 0.22rem !important;
  background: #eaf2ff !important;
  border: 1px solid #c8d8f0 !important;
  color: #1a4f88 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  padding: 0.26rem 0.66rem !important;
}

.home-tracks .program-card h3 {
  margin: 0.02rem 0 0.2rem !important;
  color: #123d70 !important;
  font-size: clamp(2rem, 2.8vw, 2.15rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.home-tracks .program-card p {
  margin: 0 !important;
  color: #3f5677 !important;
  font-size: 0.93rem !important;
  line-height: 1.45;
  max-width: 34ch;
}

.home-tracks .program-card .btn.ghost {
  margin-top: 0.55rem;
  min-height: 52px;
  border-radius: 14px !important;
  border: 1px solid #c4d3e8 !important;
  background: #f6f9fe !important;
  color: #1c456f !important;
  font-size: 1rem;
  font-weight: 800;
}

.home-tracks .program-card .btn.ghost:hover,
.home-tracks .program-card .btn.ghost:focus-visible {
  background: #ebf2fc !important;
  border-color: #abc1df !important;
  color: #173d66 !important;
}

@media (max-width: 1100px) {
  .home-tracks .home-section-head .section-title {
    font-size: clamp(1.7rem, 6vw, 2.25rem);
  }

  .home-tracks .program-card {
    min-height: 0;
  }

  .home-tracks .program-card h3 {
    font-size: clamp(1.7rem, 7vw, 2rem) !important;
  }
}

/* Absolute visibility override for homepage learning paths (RO/EN) */
.home-main .home-tracks .home-tracks-grid .program-card {
  background: #ffffff !important;
  border: 2px solid #c7d8ef !important;
  box-shadow: 0 16px 34px rgba(13, 44, 88, 0.14) !important;
}

.home-main .home-tracks .home-tracks-grid .program-card .label {
  background: #e9f2ff !important;
  border: 1px solid #bcd2f0 !important;
  color: #154a83 !important;
}

.home-main .home-tracks .home-tracks-grid .program-card h3 {
  color: #0f335c !important;
  text-shadow: none !important;
}

.home-main .home-tracks .home-tracks-grid .program-card p {
  color: #344d6f !important;
}

.home-main .home-tracks .home-tracks-grid .program-card .btn.ghost {
  background: #eef4fd !important;
  border: 1px solid #b9cbe5 !important;
  color: #163f69 !important;
}

/* Remove special emphasis effects from key expressions (RO/EN index) */
.home-main .home-tracks .program-card,
.home-main .home-tracks .program-card:hover {
  transform: none !important;
}

.home-main .home-tracks .program-card h3,
.home-main .home-positioning .section-title,
.home-main .home-positioning .journey-metric strong,
.home-main .home-positioning .journey-stage h3,
.home-main .home-instructor .section-title,
.home-main .home-instructor .team-fact strong {
  color: #1a3557 !important;
  text-shadow: none !important;
  background: none !important;
}

.home-main .home-tracks .program-card .label,
.home-main .home-positioning .kicker,
.home-main .home-instructor .kicker {
  color: #2d4f78 !important;
  background: #edf3fb !important;
  border-color: #c9d7ea !important;
}

.home-main .home-positioning .journey-step {
  background: #1f4f86 !important;
}

/* Global content typography refresh (RO/EN): remove old text effects and apply a clear brand-consistent emphasis */
main h1,
main h2,
main h3,
main h4 {
  color: #17385f !important;
  text-shadow: none !important;
  background-image: none !important;
}

main p,
main li {
  color: #3f5677 !important;
}

main strong {
  color: #125192 !important;
  font-weight: 800;
  text-shadow: none !important;
  background: linear-gradient(180deg, transparent 0 62%, rgba(18, 81, 146, 0.14) 62% 100%);
  padding: 0 0.08em;
  border-radius: 0.2em;
}

main em {
  color: #1b5f9f !important;
  font-style: normal;
  text-shadow: none !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(27, 95, 159, 0.35);
}

main a:not(.btn):not(.badge):not(.footer-trust-btn):not(.footer-seo-nav a) {
  color: #0f4f95;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* Final fix: keep highlighted expressions visible on all RO/EN pages */
.attention-phrase {
  color: #154a83 !important;
  font-weight: 760 !important;
  text-shadow: none !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  animation: none !important;
  border-bottom: 1px solid rgba(21, 74, 131, 0.28);
}

.attention-phrase--strong::after {
  display: none !important;
}

/* Final redesign v3: home learning paths (RO/EN) */
.home-main .home-tracks {
  padding-top: 1.25rem !important;
}

.home-main .home-tracks .home-section-head {
  margin-bottom: 1rem !important;
  align-items: center !important;
}

.home-main .home-tracks .home-section-head .section-title {
  max-width: 20ch !important;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  color: #112a49 !important;
}

.home-main .home-tracks .home-section-head .btn.primary {
  min-height: 50px !important;
  border-radius: 12px !important;
  padding: 0.7rem 1.2rem !important;
  font-size: 0.96rem !important;
}

.home-main .home-tracks .home-tracks-grid {
  gap: 0.85rem !important;
}

.home-main .home-tracks .home-tracks-grid .program-card {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto auto auto auto auto !important;
  align-content: start !important;
  gap: 0.5rem !important;
  padding: 0.82rem !important;
  border-radius: 18px !important;
  border: 1px solid #c8d9ee !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 10px 22px rgba(14, 44, 86, 0.1) !important;
}

.home-main .home-tracks .home-tracks-grid .program-card:hover {
  transform: translateY(-3px) !important;
  border-color: #b2cbe9 !important;
  box-shadow: 0 16px 30px rgba(14, 44, 86, 0.14) !important;
}

.home-main .home-tracks .home-tracks-grid .program-card .track-icon {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #c4d6ed !important;
  border-radius: 12px !important;
  background: #eef5ff !important;
  padding: 0.45rem !important;
}

.home-main .home-tracks .home-tracks-grid .program-card .label {
  width: fit-content !important;
  margin: 0 !important;
  padding: 0.2rem 0.56rem !important;
  border-radius: 999px !important;
  border: 1px solid #c7d8ef !important;
  background: #edf4ff !important;
  color: #1a4d84 !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
}

.home-main .home-tracks .home-tracks-grid .program-card h3 {
  margin: 0 !important;
  font-size: clamp(1.08rem, 2.2vw, 1.38rem) !important;
  line-height: 1.2 !important;
  color: #143b69 !important;
}

.home-main .home-tracks .home-tracks-grid .program-card p {
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.45 !important;
  color: #3a5274 !important;
  max-width: none !important;
}

.home-main .home-tracks .home-tracks-grid .program-card .btn.ghost {
  margin-top: 0.35rem !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #bfd2ea !important;
  background: #f3f8ff !important;
  color: #1b456f !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
}

@media (min-width: 1280px) {
  .home-main .home-tracks .home-tracks-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1279px) {
  .home-main .home-tracks .home-tracks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .home-main .home-tracks .home-section-head {
    align-items: start !important;
  }

  .home-main .home-tracks .home-tracks-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final mobile button lock (RO/EN): visibility, contrast, tap size */
@media (max-width: 900px) {
  .btn-row {
    gap: 0.6rem !important;
  }

  .btn {
    min-height: 50px !important;
    padding: 0.72rem 1rem !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .btn.primary,
  .nav a.nav-cta {
    background: #005fb8 !important;
    border: 1px solid #004a8f !important;
    color: #ffffff !important;
    box-shadow: 0 8px 16px rgba(0, 79, 153, 0.26) !important;
  }

  .btn.primary:hover,
  .btn.primary:focus-visible,
  .nav a.nav-cta:hover,
  .nav a.nav-cta:focus-visible {
    background: #00529f !important;
    border-color: #003f79 !important;
  }

  .btn.ghost {
    background: #f2f6fc !important;
    border: 1px solid #b9cae1 !important;
    color: #173f67 !important;
  }

  .btn.ghost:hover,
  .btn.ghost:focus-visible {
    background: #e7eef9 !important;
    border-color: #9fb7d6 !important;
    color: #113454 !important;
  }

  .home-main .home-tracks .home-tracks-grid .program-card .btn.ghost {
    min-height: 48px !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .btn-row .btn {
    width: 100% !important;
  }

  .home-main .home-section-head .btn.primary,
  .home-main .home-section-head .btn.ghost {
    width: 100% !important;
  }
}

/* FAQ visibility fix on index RO/EN */
.home-faq .accordion > summary {
  color: #173d67 !important;
  font-weight: 800 !important;
}

.home-faq .accordion > summary::after {
  color: #0f5fb3 !important;
  font-weight: 900 !important;
}

.home-faq .accordion .accordion-body p {
  color: #3f5677 !important;
}

/* Badge cards (RO/EN): dual CTA with instructor button */
.home-badges .badge-cta-row .btn {
  flex: 1 1 0;
  min-width: 140px;
}

@media (max-width: 900px) {
  .home-badges .badge-cta-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .home-badges .badge-cta-row .btn {
    width: 100% !important;
    min-width: 0;
    min-height: 52px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

/* Team feature readability fix (RO/EN): keep strong contrast on dark media card */
.team-feature-v2 .team-feature-v2-media :is(h1, h2) {
  color: #f3f8ff !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 2px 10px rgba(3, 14, 31, 0.32);
}

.team-feature-v2 .team-feature-v2-media p {
  color: #c9ddfb !important;
}

.team-feature-v2 .team-feature-v2-media strong {
  color: #7ec2ff !important;
  background: none !important;
  padding: 0 !important;
}

.team-feature-v2 .team-feature-v2-media .attention-phrase {
  color: #7ec2ff !important;
  border-bottom: 1px solid rgba(126, 194, 255, 0.46) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Course pages (RO/EN): keep academy brand strip text readable on dark background */
.academy-brand-strip .academy-brand-copy .kicker {
  color: #5aa7ff !important;
  background: none !important;
}

.academy-brand-strip .academy-brand-copy h2 {
  color: #eef5ff !important;
  text-shadow: 0 2px 12px rgba(4, 16, 36, 0.28);
  -webkit-text-fill-color: currentColor !important;
}

.academy-brand-strip .academy-brand-copy p {
  color: #c6d9f7 !important;
}

.academy-brand-strip .academy-brand-copy .attention-phrase {
  color: #8ec4ff !important;
  border-bottom: 1px solid rgba(142, 196, 255, 0.45) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

/* Homepage hero v2 (RO/EN): academy-style content + professional CTA system */
.home-main .home-hero {
  padding-top: 2.2rem !important;
}

.home-main .home-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr) !important;
  gap: 1.4rem !important;
  align-items: stretch !important;
}

.home-main .home-hero-copy .kicker {
  letter-spacing: 0.08em !important;
  font-size: 0.95rem !important;
  color: #0c57a2 !important;
}

.home-main .home-hero-copy h1 {
  max-width: 17ch !important;
  margin: 0.2rem 0 0.72rem !important;
  font-size: clamp(2.55rem, 4vw, 4.35rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.03em !important;
  color: #0f2644 !important;
}

.home-main .home-hero-copy p {
  max-width: 64ch !important;
  font-size: 1.06rem !important;
  line-height: 1.62 !important;
  color: #375174 !important;
}

.home-main .home-hero-benefits {
  margin: 0.84rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
}

.home-main .home-hero-benefits li {
  border: 1px solid #c5d6ec !important;
  background: linear-gradient(180deg, #ffffff, #f6faff) !important;
  border-radius: 12px !important;
  padding: 0.48rem 0.56rem !important;
  font-size: 0.89rem !important;
  font-weight: 700 !important;
  color: #1b426e !important;
}

.home-main .home-hero-actions {
  margin-top: 1rem !important;
  gap: 0.6rem !important;
  flex-wrap: wrap !important;
}

.home-main .home-hero-actions .btn {
  min-height: 54px !important;
  padding: 0.74rem 1.1rem !important;
  border-radius: 14px !important;
  font-size: 1.03rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em !important;
}

.home-main .home-hero-actions .btn.primary {
  background: linear-gradient(180deg, #006fc7, #0057a3) !important;
  border: 1px solid #004a8d !important;
  box-shadow: 0 14px 26px rgba(0, 89, 163, 0.26) !important;
}

.home-main .home-hero-actions .btn.primary:hover,
.home-main .home-hero-actions .btn.primary:focus-visible {
  background: linear-gradient(180deg, #0079d7, #005dae) !important;
}

.home-main .home-hero-actions .btn.ghost {
  background: #eef4fc !important;
  border: 1px solid #b5c8e2 !important;
  color: #1a426e !important;
}

.home-main .home-hero-actions .btn.ghost:hover,
.home-main .home-hero-actions .btn.ghost:focus-visible {
  background: #e4edf9 !important;
  border-color: #9ab5d6 !important;
}

.home-main .home-hero-actions .home-hero-contact-btn {
  background: #ffffff !important;
}

.home-main .home-hero-card {
  border-radius: 22px !important;
  border: 1px solid #c1d3ea !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  padding: 1rem !important;
}

.home-main .home-hero-card > img {
  border-radius: 16px !important;
  border: 1px solid #adc3e1 !important;
  background: #0b2450 !important;
}

.home-main .home-hero-card-content :is(h2, h3) {
  margin-bottom: 0.35rem !important;
  color: #173a63 !important;
  font-size: 1.92rem !important;
}

.home-main .home-hero-card-content p {
  color: #3d587b !important;
}

.home-main .home-hero-card-list {
  margin: 0.68rem 0 0 !important;
  padding-left: 1.15rem !important;
  display: grid !important;
  gap: 0.35rem !important;
}

.home-main .home-hero-card-list li {
  color: #244b78 !important;
  font-weight: 700 !important;
}

.home-quicklinks {
  margin: 1.25rem 0 1.6rem;
}

.home-quicklinks-shell {
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid #c9d9ee;
  background:
    radial-gradient(1200px 260px at 100% -10%, rgba(49, 124, 216, 0.14), transparent 58%),
    radial-gradient(800px 210px at -5% 110%, rgba(9, 160, 184, 0.14), transparent 54%),
    #f9fbff;
  box-shadow: 0 18px 48px rgba(8, 32, 74, 0.08);
}

.home-quicklinks-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.95rem;
}

.home-quicklinks-head .section-title {
  margin: 0.28rem 0 0.36rem;
  max-width: 22ch;
}

.home-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.home-quicklink-card {
  display: grid;
  gap: 0.42rem;
  text-decoration: none;
  border-radius: 18px;
  border: 1px solid #cbdcf0;
  background: #ffffff;
  padding: 0.88rem 0.92rem;
  min-height: 172px;
  box-shadow: 0 6px 20px rgba(15, 43, 88, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-quicklink-card:hover,
.home-quicklink-card:focus-visible {
  transform: translateY(-2px);
  border-color: #6ca8e1;
  box-shadow: 0 14px 32px rgba(12, 49, 100, 0.16);
}

.home-quicklink-badge {
  display: inline-flex;
  width: max-content;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #0b4f87;
  background: #e4f0ff;
  border: 1px solid #b9d5f3;
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
}

.home-quicklink-card h3 {
  margin: 0.06rem 0 0.03rem;
  font-size: 1.14rem;
  line-height: 1.28;
  color: #14365f;
}

.home-quicklink-card p {
  margin: 0;
  color: #466489;
  font-size: 0.93rem;
  line-height: 1.45;
}

.home-quicklink-cta {
  margin-top: auto;
  color: #125a96;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1180px) {
  .home-main .home-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .home-main .home-hero-copy h1 {
    max-width: 22ch !important;
  }
}

@media (max-width: 900px) {
  .home-main .home-hero {
    padding-top: 1.35rem !important;
  }

  .home-main .home-hero-aside {
    display: block !important;
    width: 100% !important;
  }

  .home-main .home-hero-card {
    display: grid !important;
    width: 100% !important;
    margin-top: 0.2rem !important;
  }

  .home-main .home-hero-card > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .home-main .home-hero-copy h1 {
    font-size: clamp(2.02rem, 9.2vw, 2.65rem) !important;
    max-width: 100% !important;
  }

  .home-main .home-hero-copy p {
    font-size: 1rem !important;
  }

  .home-main .home-hero-benefits {
    grid-template-columns: 1fr !important;
  }

  .home-main .home-hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .home-main .home-hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 1180px) {
  .home-quicklinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-quicklinks-shell {
    border-radius: 20px;
    padding: 0.95rem;
  }

  .home-quicklinks-head {
    flex-direction: column;
    align-items: start;
    margin-bottom: 0.7rem;
  }

  .home-quicklinks-head .section-title {
    max-width: none;
  }

  .home-quicklinks-grid {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .home-quicklink-card {
    min-height: 0;
  }
}

/* Registration page v2 (RO/EN): professional layout + high form visibility */
.registration-main-v2 {
  display: grid;
  gap: 1.05rem;
}

.registration-hero-v2 {
  padding: 1.05rem !important;
  border-radius: 20px !important;
}

.registration-hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 0.95rem;
  align-items: start;
}

.registration-hero-v2-copy .kicker {
  font-size: 0.86rem !important;
  letter-spacing: 0.08em !important;
  color: #0d5ca9 !important;
}

.registration-hero-v2-copy .section-title {
  margin: 0.22rem 0 0.6rem !important;
  font-size: clamp(1.7rem, 3vw, 2.7rem) !important;
  line-height: 1.06 !important;
  color: #122d50 !important;
}

.registration-hero-v2-copy p {
  margin: 0 !important;
  color: #3c587c !important;
  max-width: 60ch !important;
}

.registration-hero-v2-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.registration-hero-v2-tags span {
  border: 1px solid #bfd1e8;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  border-radius: 999px;
  padding: 0.36rem 0.62rem;
  color: #1f4d80;
  font-size: 0.8rem;
  font-weight: 700;
}

.registration-hero-v2-panel {
  border: 1px solid #c4d4e9;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border-radius: 16px;
  padding: 0.75rem;
}

.registration-hero-v2-panel h3 {
  margin: 0 0 0.42rem;
  color: #163b66 !important;
  font-size: 1.18rem;
}

.registration-hero-v2-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.34rem;
}

.registration-hero-v2-panel li {
  color: #2f527a !important;
}

.registration-hero-v2-panel .btn-row {
  margin-top: 0.65rem;
  gap: 0.45rem;
}

.registration-hero-v2-panel .btn {
  min-height: 42px !important;
  border-radius: 11px !important;
}

.registration-layout-v2-grid {
  display: grid;
  grid-template-columns: minmax(230px, 300px) 1fr;
  gap: 0.95rem;
  align-items: start;
}

.registration-benefits-v2 {
  padding: 0.85rem !important;
  border-radius: 16px !important;
  display: grid;
  gap: 0.62rem;
}

.registration-benefits-v2 .section-title {
  margin: 0 !important;
  font-size: 1.28rem !important;
}

.registration-benefits-v2 article {
  border: 1px solid #c8d8ed;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.6rem 0.64rem;
}

.registration-benefits-v2 strong {
  color: #1c4d84 !important;
  display: block;
  margin-bottom: 0.18rem;
}

.registration-benefits-v2 p {
  margin: 0 !important;
  color: #3d587c !important;
  font-size: 0.94rem;
}

.registration-form-shell {
  padding: 0.92rem !important;
  border-radius: 18px !important;
  border: 1px solid #c3d4ea !important;
  background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
}

.registration-form-shell .section-title {
  margin-bottom: 0.5rem !important;
}

.registration-notice-v2 {
  border: 1px solid #c1d5ef !important;
  border-radius: 12px !important;
  background: #edf5ff !important;
  color: #2f567f !important;
  padding: 0.62rem 0.7rem !important;
  font-size: 0.93rem !important;
}

.registration-form-v2 {
  margin-top: 0.72rem;
  gap: 0.72rem !important;
  background: #ffffff !important;
  border: 1px solid #c6d8ee !important;
  border-radius: 14px !important;
  padding: 0.88rem !important;
}

.registration-form-v2 label {
  color: #1f446e !important;
  font-weight: 700 !important;
  margin-bottom: 0.36rem !important;
}

.registration-form-v2 input,
.registration-form-v2 select,
.registration-form-v2 textarea {
  border: 1px solid #9cb8dc !important;
  background: #ffffff !important;
  color: #122b49 !important;
  border-radius: 10px !important;
  min-height: 46px;
}

.registration-form-v2 textarea {
  min-height: 132px !important;
}

.registration-form-v2 input::placeholder,
.registration-form-v2 textarea::placeholder {
  color: #6984a9 !important;
}

.registration-form-v2 input:focus,
.registration-form-v2 select:focus,
.registration-form-v2 textarea:focus {
  border-color: #0f67bf !important;
  box-shadow: 0 0 0 3px rgba(15, 103, 191, 0.16) !important;
  outline: none !important;
}

.registration-form-v2 .consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.56rem;
  align-items: start;
  border: 1px solid #c8d8eb;
  border-radius: 10px;
  background: #f7fbff;
  padding: 0.58rem 0.62rem;
}

.registration-form-v2 .consent-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin-top: 0.2rem;
}

.registration-form-v2 .consent-row span {
  color: #2b4f79 !important;
  font-size: 0.92rem;
}

.registration-form-v2 .btn.primary {
  min-height: 52px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  background: linear-gradient(180deg, #006cc4, #00549b) !important;
  border-color: #00498a !important;
}

.registration-form-v2 .btn.primary:hover,
.registration-form-v2 .btn.primary:focus-visible {
  background: linear-gradient(180deg, #0077d3, #005ea9) !important;
}

@media (max-width: 1060px) {
  .registration-hero-v2-grid,
  .registration-layout-v2-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .registration-hero-v2,
  .registration-form-shell,
  .registration-benefits-v2 {
    padding: 0.75rem !important;
  }

  .registration-hero-v2-copy .section-title {
    font-size: clamp(1.42rem, 7.2vw, 2rem) !important;
  }

  .registration-form-v2 {
    grid-template-columns: 1fr !important;
    padding: 0.72rem !important;
  }

  .registration-form-v2 .btn.primary {
    width: 100% !important;
  }
}

/* About page v2 (RO/EN): premium academy layout */
.about-main-v2 {
  display: grid;
  gap: 1.05rem;
}

.about-hero-v2 {
  border-radius: 20px !important;
  padding: 1rem !important;
}

.about-hero-v2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 0.9rem;
  align-items: start;
}

.about-hero-v2-copy .kicker {
  color: #0f5ba7 !important;
  letter-spacing: 0.08em !important;
  font-size: 0.86rem !important;
}

.about-hero-v2-copy .section-title {
  margin: 0.2rem 0 0.58rem !important;
  font-size: clamp(1.75rem, 3vw, 2.85rem) !important;
  line-height: 1.05 !important;
  color: #122f52 !important;
}

.about-hero-v2-copy p {
  margin: 0 !important;
  color: #3c587d !important;
  max-width: 62ch !important;
}

.about-hero-v2-actions {
  margin-top: 0.86rem !important;
  gap: 0.5rem !important;
}

.about-hero-v2-actions .btn {
  min-height: 48px !important;
  border-radius: 12px !important;
}

.about-hero-v2-panel {
  border: 1px solid #c6d7ec;
  background: linear-gradient(180deg, #f7fbff, #edf5ff);
  border-radius: 16px;
  padding: 0.75rem;
}

.about-hero-v2-panel h3 {
  margin: 0 0 0.28rem;
  color: #183d69 !important;
}

.about-hero-v2-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.about-hero-v2-panel li {
  color: #2f527a !important;
}

.about-metrics-v2 {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
}

.about-metrics-v2 article {
  border: 1px solid #c5d7ee;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.58rem 0.64rem;
}

.about-metrics-v2 span {
  display: block;
  color: #2d649d !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-metrics-v2 strong {
  display: block;
  color: #1a3f6b !important;
  margin-top: 0.16rem;
}

.about-identity-v2 {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 0.9rem;
  align-items: center;
  border-radius: 18px !important;
  padding: 0.9rem !important;
}

.about-identity-v2-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #c3d4ea;
}

.about-identity-v2-copy .kicker {
  color: #145eaf !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
}

.about-identity-v2-copy .section-title {
  margin: 0.22rem 0 0.44rem !important;
}

.about-identity-v2-copy p {
  margin: 0 !important;
  color: #3b577b !important;
}

.about-pillars-v2 .section-title {
  margin-bottom: 0.62rem !important;
}

.about-pillars-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.66rem;
}

.about-pillars-v2-grid .card {
  border-radius: 14px !important;
  padding: 0.76rem !important;
}

.about-pillars-v2-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #173c67 !important;
}

.about-pillars-v2-grid p {
  margin: 0;
  color: #3e597b !important;
}

.about-framework-v2 {
  border-radius: 18px !important;
  padding: 0.9rem !important;
}

.about-framework-v2-head {
  margin-bottom: 0.58rem;
}

.about-framework-v2-head .kicker {
  color: #1a61ad !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em !important;
}

.about-framework-v2-head .section-title {
  margin: 0.2rem 0 0 !important;
}

.about-framework-v2-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.62rem;
}

.about-framework-v2-steps article {
  border: 1px solid #c6d8ed;
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.62rem;
  display: grid;
  gap: 0.26rem;
}

.about-framework-v2-steps span {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #0d66bf, #0b549f);
}

.about-framework-v2-steps h3 {
  margin: 0;
  color: #183d69 !important;
  font-size: 1rem;
}

.about-framework-v2-steps p {
  margin: 0;
  color: #3c587c !important;
  font-size: 0.93rem;
}

.about-impact-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.66rem;
}

.about-impact-v2 .card {
  border-radius: 14px !important;
  padding: 0.78rem !important;
}

.about-impact-v2 h3 {
  margin: 0 0 0.36rem;
  color: #173c68 !important;
}

.about-impact-v2 p {
  margin: 0;
  color: #3d587d !important;
}

.about-cta-v2 {
  border-radius: 16px !important;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem !important;
}

.about-cta-v2 .section-title {
  margin-bottom: 0.36rem !important;
}

.about-cta-v2 p {
  margin: 0 !important;
  color: #3c587b !important;
}

.about-cta-v2 .btn-row {
  gap: 0.48rem;
  margin: 0;
}

.about-cta-v2 .btn {
  min-height: 46px !important;
  border-radius: 12px !important;
}

@media (max-width: 1100px) {
  .about-pillars-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-framework-v2-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-hero-v2-grid,
  .about-identity-v2,
  .about-impact-v2,
  .about-cta-v2 {
    grid-template-columns: 1fr;
  }

  .about-metrics-v2,
  .about-pillars-v2-grid,
  .about-framework-v2-steps {
    grid-template-columns: 1fr;
  }

  .about-hero-v2,
  .about-identity-v2,
  .about-framework-v2,
  .about-cta-v2 {
    padding: 0.74rem !important;
  }

  .about-hero-v2-copy .section-title {
    font-size: clamp(1.44rem, 7.2vw, 2rem) !important;
  }

  .about-hero-v2-actions,
  .about-cta-v2 .btn-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .about-hero-v2-actions .btn,
  .about-cta-v2 .btn {
    width: 100% !important;
  }
}

/* Home offer studio (RO): educational offers + local admin panel demo */
.home-main .home-offer-studio {
  position: relative;
  --offer-premium-navy: #0f2a46;
  --offer-premium-blue: #154a82;
  --offer-premium-ink: #10253c;
  --offer-premium-muted: #4a6584;
  --offer-premium-gold: #c7a55b;
  --offer-premium-border: rgba(15, 52, 88, 0.14);
}

.home-main .home-offer-studio::before {
  content: none;
}

.home-offer-studio-shell {
  position: relative;
  border: 1px solid var(--offer-premium-border);
  border-radius: 28px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(199, 165, 91, 0.18) 0%, rgba(199, 165, 91, 0) 46%),
    radial-gradient(120% 160% at 0% 100%, rgba(23, 92, 151, 0.16) 0%, rgba(23, 92, 151, 0) 50%),
    linear-gradient(168deg, #ffffff 0%, #f4f9ff 56%, #f8fbfe 100%);
  box-shadow: 0 18px 44px rgba(10, 43, 77, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.home-offer-studio-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.66);
}

.home-offer-studio-head {
  align-items: flex-end;
}

.offer-menu {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.offer-menu-btn {
  border: 1px solid rgba(15, 74, 130, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--offer-premium-ink);
  padding: 0.62rem 0.96rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(9, 39, 71, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.offer-menu-btn.is-active,
.offer-menu-btn:hover,
.offer-menu-btn:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #10365f 0%, #0f5f8c 100%);
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 58, 102, 0.22);
}

.offer-studio-grid {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: minmax(275px, 340px) minmax(0, 1fr);
  gap: 1.1rem;
}

.offer-admin-panel {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
}

.offer-admin-panel h3 {
  margin: 0 0 0.28rem;
  font-size: 1.02rem;
}

.offer-admin-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.offer-admin-form label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #164065;
}

.offer-admin-form input,
.offer-admin-form select,
.offer-admin-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 52, 92, 0.22);
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.62rem 0.72rem;
  font-size: 0.9rem;
  color: #10253c;
}

.offer-admin-form textarea {
  resize: vertical;
  min-height: 88px;
}

.offer-admin-form input:focus-visible,
.offer-admin-form select:focus-visible,
.offer-admin-form textarea:focus-visible {
  outline: 2px solid rgba(9, 120, 166, 0.32);
  border-color: rgba(9, 120, 166, 0.55);
}

.offer-admin-actions {
  margin-top: 0.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.offer-live-panel {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem;
}

.offer-live-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.offer-live-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
  width: 100%;
  min-width: 0;
}

.offer-card {
  border: 1px solid rgba(12, 56, 97, 0.16);
  border-radius: 24px;
  padding: 1.12rem;
  background: radial-gradient(120% 130% at 100% 0%, rgba(194, 157, 84, 0.14) 0%, rgba(194, 157, 84, 0) 45%), linear-gradient(162deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 250, 255, 0.98) 58%, rgba(236, 245, 252, 0.98) 100%);
  box-shadow: 0 18px 34px rgba(8, 43, 77, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0f4c83 0%, #1a6ca7 55%, #c7a55b 100%);
  opacity: 0.9;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(8, 46, 88, 0.16);
}

.offer-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.offer-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  align-items: center;
}

.offer-card .offer-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.76rem;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(13, 77, 136, 0.12);
  color: #0f4a82;
  margin-top: 0;
}

.offer-card .offer-tag--closing {
  background: rgba(173, 85, 3, 0.15);
  color: #8b4e0f;
}

.offer-card .offer-tag--closed {
  background: rgba(135, 31, 31, 0.12);
  color: #8b2020;
}

.offer-card h4 {
  margin: 0.78rem 0 0.46rem;
  font-size: 1.2rem;
  line-height: 1.18;
  color: #0b2744;
  letter-spacing: -0.01em;
}

.offer-card .offer-course-summary {
  margin: 0;
  font-size: 0.9rem;
  color: #2a4d70;
  line-height: 1.52;
}

.offer-urgency-line {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e5f96;
}

.offer-facts {
  margin: 0.78rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.46rem;
}

.offer-fact {
  border-radius: 12px;
  border: 1px solid rgba(14, 79, 136, 0.14);
  background: rgba(248, 252, 255, 0.92);
  padding: 0.5rem 0.6rem;
}

.offer-fact dt {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4d6f92;
}

.offer-fact dd {
  margin: 0.22rem 0 0;
  color: #173b60;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.offer-fact--instructor dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.offer-fact-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(17, 88, 155, 0.2);
}

.offer-fact--instructor small {
  font-size: 0.73rem;
  color: #3d668f;
  font-weight: 700;
}

.offer-card .offer-countdown {
  margin: 0.78rem 0 0;
  border-radius: 12px;
  padding: 0.64rem;
  background: linear-gradient(142deg, #f0f8ee, #eef8f8);
  color: #155a4f;
  font-size: 0.8rem;
  font-weight: 600;
}

.offer-card .offer-countdown.is-urgent {
  background: #fff4e8;
  color: #945313;
}

.offer-card .offer-countdown.is-closed {
  background: #fff0f0;
  color: #8b2020;
}

.offer-timer-clock {
  border: 1px solid rgba(13, 93, 163, 0.18);
}

.offer-timer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.offer-timer-cell {
  border-radius: 10px;
  border: 1px solid rgba(16, 86, 146, 0.16);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.42rem 0.28rem;
  text-align: center;
}

.offer-timer-cell span {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.offer-timer-cell small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.67rem;
  font-weight: 700;
  color: #2d5b82;
}

.offer-timer-state {
  margin: 0.42rem 0 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: #2f6c4f;
  text-align: center;
}

.offer-timer-clock.is-closed .offer-timer-state {
  color: #8b2020;
}

.offer-card .btn.ghost {
  margin-top: 0.72rem;
  width: 100%;
}

.offer-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(17, 78, 130, 0.34);
  border-radius: 18px;
  padding: 1.2rem;
  color: #1f4b71;
  background: radial-gradient(120% 120% at 100% 0%, rgba(199, 165, 91, 0.12), rgba(199, 165, 91, 0)), rgba(255, 255, 255, 0.76);
}

.offer-admin-list {
  margin-top: 1rem;
  border-top: 1px solid rgba(8, 83, 156, 0.12);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.56rem;
}

.offer-admin-row {
  border: 1px solid rgba(8, 83, 156, 0.14);
  border-radius: 11px;
  padding: 0.52rem 0.62rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background: #ffffff;
}

.offer-admin-row p {
  margin: 0;
  font-size: 0.8rem;
  color: #23496a;
}

.offer-admin-controls {
  display: inline-flex;
  gap: 0.42rem;
}

.offer-admin-controls button {
  border: 1px solid rgba(8, 83, 156, 0.22);
  background: #ffffff;
  color: #0f3a62;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.offer-admin-controls button:hover,
.offer-admin-controls button:focus-visible {
  background: #0b4f90;
  color: #ffffff;
  outline: none;
}

@media (max-width: 1080px) {
  .offer-studio-grid {
    grid-template-columns: 1fr;
  }

  .offer-live-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared offers widgets (index + admission) */
.offers-toolbar {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.86rem;
}

.offers-proof-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.offers-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  background: rgba(11, 84, 146, 0.1);
  border: 1px solid rgba(11, 84, 146, 0.2);
  color: #114068;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(12, 49, 86, 0.08);
}

.offers-proof-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e4f8a, #c7a55b);
  flex: 0 0 auto;
}

.offers-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.offers-zone {
  margin-top: 0.3rem;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.offers-pagination {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
}

.offers-pagination button {
  border: 1px solid rgba(14, 76, 132, 0.26);
  background: rgba(255, 255, 255, 0.9);
  color: #143c62;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(9, 43, 77, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.offers-pagination button:not(:disabled):hover,
.offers-pagination button:not(:disabled):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 18px rgba(10, 45, 80, 0.16);
  outline: none;
}

.offers-pagination button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.offers-pagination span {
  font-size: 0.86rem;
  color: #20496a;
  font-weight: 700;
}

.offer-card .btn-row {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.offer-card .btn-row .btn {
  width: 100%;
  text-align: center;
}

.admission-offers-hub {
  margin-top: 1.2rem;
}

.offer-card-media {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, #edf6ff, #e4f1ff);
  border: 1px solid rgba(8, 83, 156, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.offer-card-media img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.offer-seats-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.34rem 0.64rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #70531d;
  background: rgba(199, 165, 91, 0.16);
  border: 1px solid rgba(173, 138, 62, 0.34);
  letter-spacing: 0.02em;
}

.offer-empty {
  text-align: left;
}

.offer-empty h3 {
  margin: 0.35rem 0;
  color: #163b5a;
}

.offer-empty p {
  margin: 0;
  color: #2d5a7e;
}

.offer-empty-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.offer-empty-actions .btn {
  min-width: 0;
}

.offer-empty-kicker {
  margin: 0;
  color: #0e568f;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

@media (max-width: 840px) {
  .offer-card .btn-row {
    grid-template-columns: 1fr;
  }

  .offer-card-top {
    align-items: flex-start;
  }
}

/* Admin offers page */
.page-admin-offers .admin-offers-main {
  padding-block: 1rem 2.5rem;
}

.page-admin-offers .admin-offers-shell {
  border-radius: 22px;
  border: 1px solid rgba(9, 49, 86, 0.16);
}

.page-admin-offers .admin-offers-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-admin-offers .admin-login {
  margin-top: 1rem;
  max-width: 420px;
  border: 1px solid rgba(8, 83, 156, 0.2);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.page-admin-offers .admin-login-form,
.page-admin-offers .admin-offer-form {
  display: grid;
  gap: 0.56rem;
}

.page-admin-offers .admin-login-form label,
.page-admin-offers .admin-offer-form label {
  font-size: 0.76rem;
  color: #164065;
  font-weight: 700;
}

.page-admin-offers .admin-login-form input,
.page-admin-offers .admin-offer-form input,
.page-admin-offers .admin-offer-form select,
.page-admin-offers .admin-offer-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 52, 92, 0.22);
  border-radius: 10px;
  background: #f8fbff;
  padding: 0.62rem 0.72rem;
  font-size: 0.9rem;
  color: #10253c;
}

.page-admin-offers .admin-offer-form input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  border-radius: 0.25rem;
  justify-self: start;
}

.page-admin-offers .admin-panel-toolbar {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-admin-offers .admin-panel-grid {
  margin-top: 1rem;
  display: block;
}

.page-admin-offers .admin-offer-form-wrap,
.page-admin-offers .admin-offer-list-wrap {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem;
}

.page-admin-offers .admin-offer-actions {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.page-admin-offers .offer-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.8rem;
}

.page-admin-offers .offer-admin-grid label {
  margin-top: 0.1rem;
}

.page-admin-offers .offer-admin-grid > .admin-offer-actions,
.page-admin-offers .offer-admin-grid > [data-offer-message] {
  grid-column: 1 / -1;
}

.page-admin-offers .offer-admin-head p {
  margin: 0.2rem 0 0.6rem;
  color: #2a5477;
}

.page-admin-offers .admin-offer-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

.page-admin-offers .admin-offer-item {
  border: 1px solid rgba(8, 83, 156, 0.14);
  border-radius: 11px;
  padding: 0.62rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.page-admin-offers .admin-offer-item h4 {
  margin: 0 0 0.28rem;
  font-size: 0.9rem;
}

.page-admin-offers .admin-offer-item p {
  margin: 0.12rem 0;
  font-size: 0.78rem;
  color: #275277;
}

.page-admin-offers .admin-offer-item-actions {
  display: grid;
  gap: 0.4rem;
}

.page-admin-offers .admin-offer-item-actions button {
  border: 1px solid rgba(8, 83, 156, 0.22);
  background: #fff;
  color: #0f3a62;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.page-admin-offers .admin-offer-item-actions button:hover,
.page-admin-offers .admin-offer-item-actions button:focus-visible {
  background: #0b4f90;
  color: #fff;
  outline: none;
}

@media (max-width: 980px) {
  .page-admin-offers .admin-offers-head,
  .page-admin-offers .admin-panel-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-admin-offers .admin-panel-grid {
    grid-template-columns: 1fr;
  }

  .page-admin-offers .offer-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog admin */
.page-admin-blog .admin-blog-main {
  padding-block: 1rem 2.5rem;
}

.page-admin-blog .admin-blog-shell {
  border-radius: 24px;
  border: 1px solid rgba(9, 49, 86, 0.16);
}

.page-admin-blog .admin-blog-head,
.page-admin-blog .admin-blog-toolbar,
.page-admin-blog .admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.page-admin-blog .admin-login,
.page-admin-blog .admin-blog-card {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 18px;
  background: #fff;
  padding: 1rem;
}

.page-admin-blog .admin-login {
  margin-top: 1rem;
  max-width: 440px;
}

.page-admin-blog .admin-login-form,
.page-admin-blog .admin-simple-form,
.page-admin-blog .admin-post-form,
.page-admin-blog .admin-media-upload {
  display: grid;
  gap: 0.75rem;
}

.page-admin-blog label,
.page-admin-blog legend {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #164065;
  font-weight: 700;
}

.page-admin-blog input,
.page-admin-blog select,
.page-admin-blog textarea {
  width: 100%;
  border: 1px solid rgba(12, 52, 92, 0.22);
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.72rem 0.84rem;
  font-size: 0.94rem;
  color: #10253c;
}

.page-admin-blog textarea {
  resize: vertical;
}

.page-admin-blog .admin-blog-toolbar {
  margin-top: 1rem;
}

.page-admin-blog .admin-blog-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.page-admin-blog .admin-blog-sidebar {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.page-admin-blog .admin-blog-nav {
  border: 1px solid rgba(12, 52, 92, 0.14);
  background: #fff;
  border-radius: 16px;
  padding: 0.92rem 1rem;
  font-weight: 800;
  color: #123a63;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 35, 69, 0.08);
}

.page-admin-blog .admin-blog-nav.is-active,
.page-admin-blog .admin-blog-nav:hover,
.page-admin-blog .admin-blog-nav:focus-visible {
  background: linear-gradient(145deg, #0b2558 0%, #0f2f67 100%);
  color: #fff;
  outline: none;
}

.page-admin-blog .admin-blog-content {
  display: grid;
}

.page-admin-blog .admin-blog-panel {
  display: none;
  gap: 1rem;
}

.page-admin-blog .admin-blog-panel.is-active {
  display: grid;
}

.page-admin-blog .admin-blog-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.page-admin-blog .admin-stat-card {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.page-admin-blog .admin-stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: #0b2f53;
}

.page-admin-blog .admin-stat-card span {
  color: #244d75;
}

.page-admin-blog .admin-post-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.page-admin-blog .admin-post-filters input,
.page-admin-blog .admin-post-filters select {
  flex: 1 1 180px;
}

.page-admin-blog .admin-posts-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.35fr);
  gap: 1rem;
}

.page-admin-blog .admin-blog-editor-card {
  position: relative;
}

.page-admin-blog .admin-blog-list {
  display: grid;
  gap: 0.7rem;
}

.page-admin-blog .admin-list-item {
  border: 1px solid rgba(8, 83, 156, 0.14);
  border-radius: 14px;
  padding: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
}

.page-admin-blog .admin-list-item.is-selected {
  border-color: #0c4f8f;
  box-shadow: 0 12px 24px rgba(11, 56, 99, 0.15);
}

.page-admin-blog .admin-list-item h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.page-admin-blog .admin-list-item p {
  margin: 0.12rem 0;
  color: #2b567a;
  font-size: 0.82rem;
}

.page-admin-blog .admin-list-actions {
  display: grid;
  gap: 0.4rem;
}

.page-admin-blog .admin-list-actions button {
  border: 1px solid rgba(8, 83, 156, 0.22);
  background: #fff;
  color: #0f3a62;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.page-admin-blog .admin-list-actions button:hover,
.page-admin-blog .admin-list-actions button:focus-visible {
  background: #0b4f90;
  color: #fff;
  outline: none;
}

.page-admin-blog .admin-post-form {
  margin-top: 0.3rem;
}

.page-admin-blog .admin-post-grid {
  display: grid;
  gap: 0.8rem;
}

.page-admin-blog .admin-post-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-admin-blog .admin-post-grid--media,
.page-admin-blog .admin-post-grid--author {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-admin-blog .admin-inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.page-admin-blog .admin-editor-wrap {
  display: grid;
  gap: 0.65rem;
}

.page-admin-blog .admin-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem;
  border-radius: 16px;
  border: 1px solid rgba(8, 83, 156, 0.12);
  background: #f4f9ff;
}

.page-admin-blog .admin-editor-toolbar button {
  border: 1px solid rgba(8, 83, 156, 0.18);
  background: #fff;
  color: #0f3a62;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.page-admin-blog .admin-editor-toolbar button:hover,
.page-admin-blog .admin-editor-toolbar button:focus-visible {
  background: #0b4f90;
  color: #fff;
  outline: none;
}

.page-admin-blog .admin-editor-surface {
  min-height: 320px;
  border-radius: 18px;
  border: 1px solid rgba(8, 83, 156, 0.16);
  background: #fff;
  padding: 1rem;
  line-height: 1.7;
}

.page-admin-blog .admin-editor-surface:focus {
  outline: 2px solid rgba(11, 79, 144, 0.22);
}

.page-admin-blog .admin-editor-surface table {
  width: 100%;
  border-collapse: collapse;
}

.page-admin-blog .admin-editor-surface th,
.page-admin-blog .admin-editor-surface td {
  border: 1px solid #cfddee;
  padding: 0.45rem 0.55rem;
}

.page-admin-blog .admin-editor-surface .video-embed,
.blog-content .video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1b35;
}

.page-admin-blog .admin-editor-surface .video-embed iframe,
.blog-content .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-admin-blog .admin-tag-fieldset {
  border: 1px solid rgba(8, 83, 156, 0.16);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin: 0;
}

.page-admin-blog .admin-tag-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.page-admin-blog .admin-tag-checklist label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.page-admin-blog .admin-tag-checklist input {
  width: 1rem;
  height: 1rem;
}

.page-admin-blog .admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.page-admin-blog .admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.page-admin-blog .admin-media-card {
  border: 1px solid rgba(8, 83, 156, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: grid;
}

.page-admin-blog .admin-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef4ff;
}

.page-admin-blog .admin-media-card__body {
  padding: 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.page-admin-blog .admin-blog-card--sub {
  background: #f9fbff;
}

@media (max-width: 1180px) {
  .page-admin-blog .admin-blog-layout,
  .page-admin-blog .admin-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .page-admin-blog .admin-blog-head,
  .page-admin-blog .admin-blog-toolbar,
  .page-admin-blog .admin-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-admin-blog .admin-post-grid--two,
  .page-admin-blog .admin-post-grid--media,
  .page-admin-blog .admin-post-grid--author,
  .page-admin-blog .admin-inline-field {
    grid-template-columns: 1fr;
  }

  .page-admin-blog .admin-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Cursuri page visibility tune: stronger contrast for overview + filters */
body.page-courses {
  background: linear-gradient(180deg, #f4f8ff 0%, #ecf3ff 36%, #f7fbff 100%);
}

body.page-courses main.container > section {
  border-radius: 20px;
}

body.page-courses .catalog-overview-section {
  border: 1px solid #d6e5f5;
  background: #f9fbff;
  padding: 1.1rem;
}

body.page-courses .course-domain-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  background: #0f2647;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(6, 22, 46, 0.28);
  padding: 0.95rem 1.1rem;
}

body.page-courses .course-domain-chip {
  background: #eef4ff;
  color: #0f3a7a;
  border: 1px solid #9fb9e6;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(15, 62, 122, 0.15);
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

body.page-courses .course-domain-chip a {
  color: inherit;
  text-decoration: none;
}

body.page-courses .course-domain-chip:hover,
body.page-courses .course-domain-chip:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(12, 44, 92, 0.28);
  border-color: #729ad6;
}

body.page-courses .catalog-overview-section .section-title {
  margin-bottom: 0.85rem;
  color: #0b2f53;
}

body.page-courses .catalog-overview-section .program-card {
  border: 1px solid #d6e5f5;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 40, 80, 0.12);
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
}

body.page-courses .catalog-overview-section .program-card .label {
  background: #eef4ff;
  color: #0f3a7a;
  border-radius: 999px;
  padding: 0.36rem 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid #9fb9e6;
  box-shadow: 0 6px 14px rgba(15, 62, 122, 0.12);
}

body.page-courses .catalog-overview-section .program-card h3 {
  color: #0b2f53;
  font-size: 2.05rem;
  font-weight: 800;
  margin: 0.2rem 0 0.3rem;
}

body.page-courses .catalog-overview-section .program-card p,
body.page-courses .catalog-overview-section .program-card ul {
  color: #2a4b70;
}

body.page-courses .catalog-overview-section .program-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.05rem;
}

body.page-courses .catalog-overview-section .program-card li {
  color: #1f3f64;
  margin: 0.18rem 0;
}

body.page-courses .catalog-overview-section .program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  body.page-courses {
    background: #f7fbff;
  }

  body.page-courses .home-hero-grid,
  body.page-courses .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.page-courses .course-domain-nav {
    overflow-x: auto;
    padding: 0.85rem 0.6rem;
    gap: 0.5rem;
  }

  body.page-courses .course-domain-chip {
    font-size: 0.9rem;
    padding: 0.46rem 0.82rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 62, 122, 0.12);
  }

  body.page-courses .catalog-overview-section .program-grid {
    grid-template-columns: 1fr;
  }

  body.page-courses .catalog-overview-section .program-card {
    padding: 1.05rem 1.1rem;
  }

  body.page-courses .catalog-overview-section .program-card h3 {
    font-size: 1.7rem;
  }

  body.page-courses .catalog-overview-section .program-card .label {
    font-size: 0.92rem;
  }

  body.page-courses .table-wrap {
    overflow-x: auto;
  }

  body.page-courses .table.course-table {
    min-width: 640px;
    font-size: 0.9rem;
  }
}

body.page-courses .catalog-filters-section {
  border: 2px solid #214f82;
  background: #f8fcff;
  box-shadow: 0 10px 24px rgba(16, 54, 102, 0.08);
}

body.page-courses .catalog-filters-section .module-head {
  border-bottom: 1px solid #d1def3;
  padding-bottom: 0.7rem;
  margin-bottom: 0.8rem;
}

body.page-courses .catalog-filters-section .module-head h2 {
  color: #14365f;
}

body.page-courses .catalog-filters-section .chip {
  background: #eef4ff;
  color: #0f3a7a;
  border-color: #9fb9e6;
  font-weight: 800;
  box-shadow: none;
}

body.page-courses .catalog-filters-section label {
  color: #24456d;
  font-weight: 700;
}

body.page-courses .catalog-filters-section select,
body.page-courses .catalog-filters-section input {
  border: 1px solid #afc6e6;
  background: #fff;
}

/* Progressive rendering for below-the-fold content to improve mobile/desktop paint time. */
@supports (content-visibility: auto) {
  main.home-main > section:not(:first-of-type),
  body.page-courses main.container > section:not(:first-of-type),
  body.page-about main.container > section:not(:first-of-type),
  body.page-team main.container > section:not(:first-of-type),
  body.page-contact main.container > section:not(:first-of-type) {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }
}

.course-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  color: #3c5e84;
}

.course-breadcrumbs a {
  color: #175a9b;
  text-decoration: none;
  font-weight: 700;
}

.course-breadcrumbs a:hover,
.course-breadcrumbs a:focus-visible {
  text-decoration: underline;
}

.course-breadcrumbs [aria-current="page"] {
  color: #213f65;
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card .small-note {
  margin-top: 0.35rem;
  color: #3c5e84;
}

body.page-blog main {
  display: block;
}

/* Hard safety: ensure page remains scrollable and clickable */
html, body {
  overflow: auto !important;
  pointer-events: auto !important;
}

.cookie-overlay,
.cookie-modal,
.cookie-manage-btn {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.blog-hero {
  position: relative;
  padding: 4.75rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(58, 124, 255, 0.24), transparent 32%),
    radial-gradient(circle at right center, rgba(17, 171, 255, 0.2), transparent 26%),
    linear-gradient(145deg, #09162d 0%, #0d2347 58%, #102f63 100%);
  color: #f5f8ff;
  overflow: hidden;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -110px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(111, 178, 255, 0.12);
  filter: blur(18px);
  pointer-events: none;
}

.blog-hero .container,
.blog-section .container,
.blog-article-shell,
.blog-cta-band .container {
  position: relative;
  z-index: 1;
}

.blog-hero-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr);
  align-items: center;
}

.blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: rgba(159, 196, 255, 0.14);
  border: 1px solid rgba(159, 196, 255, 0.3);
  color: #dfeaff;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.blog-hero h1,
.blog-article-hero h1 {
  margin: 0.9rem 0 0.85rem;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.blog-hero p,
.blog-article-hero p {
  margin: 0;
  color: #d7e6ff;
  font-size: 1.08rem;
  line-height: 1.72;
}

.blog-hero-metrics {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.35rem;
}

.blog-hero-metrics article,
.blog-article-sidebar-card,
.blog-featured-card,
.blog-list-card,
.blog-author-box,
.blog-related-card,
.blog-cta-band,
.blog-toc,
.blog-content,
.blog-share {
  border: 1px solid rgba(153, 186, 236, 0.22);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(5, 12, 24, 0.12);
}

.blog-hero-metrics article {
  padding: 1rem 1.05rem;
  background: rgba(9, 23, 48, 0.4);
  backdrop-filter: blur(8px);
}

.blog-hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.18rem;
}

.blog-hero-metrics span {
  display: block;
  color: #cfe0ff;
  line-height: 1.45;
  font-size: 0.95rem;
}

.blog-featured-card {
  background: linear-gradient(160deg, rgba(247, 251, 255, 0.16), rgba(255, 255, 255, 0.04));
  overflow: hidden;
}

.blog-featured-card img,
.blog-list-card img,
.blog-article-featured img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-featured-card__content,
.blog-list-card__content {
  padding: 1.35rem;
}

.blog-meta-row,
.blog-tag-row,
.blog-chip-row,
.blog-share-row,
.blog-related-grid,
.blog-list-grid,
.blog-summary-grid,
.blog-article-shell {
  display: grid;
  gap: 1rem;
}

.blog-meta-row {
  grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
  color: #4b6890;
  font-size: 0.92rem;
}

.blog-meta-pill,
.blog-tag,
.blog-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.blog-meta-pill {
  background: rgba(17, 73, 148, 0.08);
  color: #194d8c;
}

.blog-tag {
  background: #edf5ff;
  color: #114994;
}

.blog-language-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #f5f8ff;
  border: 1px solid rgba(201, 222, 255, 0.24);
}

.blog-section {
  padding: 2.6rem 0;
}

.blog-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.blog-section-head .section-title,
.blog-content h2,
.blog-content h3,
.blog-article-sidebar-card h3,
.blog-author-box h2,
.blog-related-card h3 {
  letter-spacing: -0.03em;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: #f5f9ff;
  border: 1px solid #d5e4fb;
  margin-bottom: 1.35rem;
}

.blog-filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid #bfd4f1;
  color: #174d8f;
  text-decoration: none;
  font-weight: 800;
  background: #ffffff;
}

.blog-filter-pill.is-active,
.blog-filter-pill:hover,
.blog-filter-pill:focus-visible {
  background: #0c2a5b;
  border-color: #0c2a5b;
  color: #ffffff;
}

.blog-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-list-card {
  background: #ffffff;
  overflow: hidden;
}

.blog-list-card__content h2,
.blog-featured-card__content h2 {
  margin: 0.75rem 0 0.6rem;
  font-size: 1.38rem;
  line-height: 1.2;
}

.blog-list-card__content p,
.blog-featured-card__content p,
.blog-article-sidebar-card p,
.blog-author-box p,
.blog-related-card p,
.blog-content p,
.blog-content li {
  color: #1f3557;
  line-height: 1.75;
}

.blog-list-card__link,
.blog-featured-card__link,
.blog-related-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  color: #0f59b0;
  font-weight: 800;
  text-decoration: none;
}

.blog-list-card__link:hover,
.blog-featured-card__link:hover,
.blog-related-card__link:hover {
  text-decoration: underline;
}

.blog-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-summary-card {
  padding: 1.2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #d5e4fb;
}

.blog-summary-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f2c5b;
  font-size: 1.02rem;
}

.blog-article-wrap {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 22%);
}

.blog-article-shell {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  align-items: start;
}

.blog-article-main {
  display: grid;
  gap: 1.25rem;
}

.blog-article-featured {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(7, 18, 36, 0.14);
}

.blog-content,
.blog-toc,
.blog-share,
.blog-author-box,
.blog-article-sidebar-card,
.blog-related-card,
.blog-cta-band {
  background: #ffffff;
  padding: 1.35rem 1.45rem;
}

.blog-content h2 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.55rem;
  color: #0c2a5b;
}

.blog-content h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 1.16rem;
  color: #0f3b74;
}

.blog-content ul,
.blog-content ol {
  margin: 0.45rem 0 1rem 1.15rem;
  padding: 0;
}

.blog-content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #1b68d2;
  border-radius: 0 16px 16px 0;
  background: #f4f8ff;
  color: #123461;
  font-weight: 700;
}

.blog-content code {
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
  background: #eef4ff;
  color: #0c3a73;
  font-size: 0.92em;
}

.blog-content hr {
  border: 0;
  height: 1px;
  margin: 1.55rem 0;
  background: linear-gradient(90deg, rgba(18, 78, 150, 0), rgba(18, 78, 150, 0.34), rgba(18, 78, 150, 0));
}

.blog-toc ul,
.blog-article-sidebar-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.05rem;
}

.blog-toc a,
.blog-article-sidebar-card a,
.blog-author-box a {
  color: #1158ad;
  text-decoration: none;
}

.blog-toc a:hover,
.blog-article-sidebar-card a:hover,
.blog-author-box a:hover {
  text-decoration: underline;
}

.blog-share-row {
  grid-template-columns: repeat(auto-fit, minmax(140px, max-content));
}

.blog-share-row a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: #f2f7ff;
  border: 1px solid #d7e5fb;
  color: #0c3a73;
  font-weight: 800;
  text-decoration: none;
}

.blog-share-row a:hover,
.blog-share-row a:focus-visible {
  background: #0c2a5b;
  border-color: #0c2a5b;
  color: #ffffff;
}

.blog-author-box {
  display: grid;
  gap: 1rem;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
}

.blog-author-box img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d8e7fb;
}

.blog-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.blog-cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(145deg, #0b2558 0%, #0f2f67 100%);
  color: #f5f8ff;
}

.blog-cta-band h2,
.blog-cta-band p {
  color: inherit;
  margin: 0;
}

.blog-cta-band .btn-row {
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .blog-hero-grid,
  .blog-article-shell,
  .blog-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .blog-hero {
    padding: 4rem 0 2.35rem;
  }

  .blog-hero-metrics {
    grid-template-columns: 1fr;
  }

  .blog-section-head,
  .blog-cta-band,
  .blog-author-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .blog-content,
  .blog-toc,
  .blog-share,
  .blog-author-box,
  .blog-article-sidebar-card,
  .blog-related-card,
  .blog-cta-band {
    padding: 1.15rem;
    border-radius: 20px;
  }

  .blog-hero h1,
  .blog-article-hero h1 {
    font-size: clamp(1.86rem, 8vw, 2.55rem);
  }
}

/* Blog presentation refresh */
body.page-blog {
  --blog-bg: #f4f7fb;
  --blog-surface: #ffffff;
  --blog-surface-soft: #f8fbff;
  --blog-ink: #102443;
  --blog-copy: #314a6a;
  --blog-muted: #6c85a4;
  --blog-line: rgba(129, 159, 201, 0.28);
  --blog-accent: #0f62d5;
  --blog-accent-deep: #0a2755;
  --blog-accent-soft: #eaf3ff;
  --blog-heading-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  background:
    radial-gradient(circle at top left, rgba(65, 123, 214, 0.12), transparent 24%),
    linear-gradient(180deg, #f3f7fc 0%, #f8fbff 38%, #eef4fb 100%);
  color: var(--blog-copy);
}

body.page-blog main {
  position: relative;
}

body.page-blog .blog-hero {
  padding: 5.4rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(85, 157, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(29, 135, 255, 0.2), transparent 18%),
    linear-gradient(145deg, #071426 0%, #0d2447 54%, #12386d 100%);
  color: #f5f8ff;
}

body.page-blog .blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.14;
  pointer-events: none;
}

body.page-blog .blog-hero::after {
  width: 460px;
  height: 460px;
  inset: auto -8% -150px auto;
  background: rgba(121, 183, 255, 0.18);
  filter: blur(18px);
}

body.page-blog .blog-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.5rem;
  align-items: start;
}

body.page-blog .blog-article-hero {
  padding-bottom: 3.25rem;
}

body.page-blog .blog-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1.4rem;
  align-items: start;
}

body.page-blog .blog-hero-copy,
body.page-blog .blog-article-hero-copy {
  display: grid;
  gap: 1rem;
}

body.page-blog .course-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: #cfe1ff;
  font-size: 0.86rem;
  font-weight: 700;
}

body.page-blog .course-breadcrumbs a {
  color: #ffffff;
}

body.page-blog .course-breadcrumbs span {
  color: #99bbe7;
}

body.page-blog .blog-kicker {
  background: rgba(153, 198, 255, 0.12);
  border-color: rgba(172, 209, 255, 0.28);
  color: #edf4ff;
}

body.page-blog .blog-hero h1,
body.page-blog .blog-article-hero h1,
body.page-blog .blog-featured-card__content h2,
body.page-blog .blog-list-card__title,
body.page-blog .blog-content h2,
body.page-blog .blog-content h3,
body.page-blog .blog-article-sidebar-card h3,
body.page-blog .blog-author-box h2,
body.page-blog .blog-related-card h3,
body.page-blog .section-title {
  font-family: var(--blog-heading-font);
  letter-spacing: -0.04em;
}

body.page-blog .blog-hero h1,
body.page-blog .blog-article-hero h1 {
  color: #ffffff !important;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 0.98;
  max-width: 12ch;
  margin: 0;
}

body.page-blog .blog-hero p,
body.page-blog .blog-article-hero p {
  color: #e7f1ff;
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 64ch;
}

body.page-blog .blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

body.page-blog .blog-hero-actions .btn,
body.page-blog .blog-article-overview .btn,
body.page-blog .blog-cta-band .btn {
  min-height: 48px;
}

body.page-blog .btn.primary {
  background: linear-gradient(135deg, #1782ff 0%, #0f5bcc 100%);
  box-shadow: 0 18px 32px rgba(17, 91, 195, 0.22);
}

body.page-blog .blog-hero .btn.ghost,
body.page-blog .blog-article-overview .btn.ghost,
body.page-blog .blog-cta-band .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f8ff;
  border-color: rgba(188, 214, 255, 0.32);
}

body.page-blog .blog-section .btn.ghost,
body.page-blog .blog-pagination .blog-filter-pill,
body.page-blog .blog-filter-bar .btn.ghost {
  background: #ffffff;
  color: #174886;
  border-color: #c8daf4;
}

body.page-blog .blog-hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.page-blog .blog-hero-stat {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(176, 207, 255, 0.22);
  background: rgba(10, 24, 48, 0.36);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(4, 12, 24, 0.16);
}

body.page-blog .blog-hero-stat span,
body.page-blog .blog-article-overview__label,
body.page-blog .blog-summary-card__eyebrow,
body.page-blog .blog-topic-card__eyebrow,
body.page-blog .blog-filter-control__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.page-blog .blog-hero-stat span {
  color: #c2d9ff;
}

body.page-blog .blog-hero-stat strong {
  display: block;
  margin: 0.5rem 0 0.35rem;
  color: #ffffff;
  font-size: 1.4rem;
}

body.page-blog .blog-hero-stat p {
  margin: 0;
  color: #e1eeff;
  font-size: 0.95rem;
  line-height: 1.6;
}

body.page-blog .blog-topic-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body.page-blog .blog-topic-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(176, 207, 255, 0.22);
  background: rgba(8, 19, 38, 0.48);
  color: #f5f8ff;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

body.page-blog .blog-topic-card:hover,
body.page-blog .blog-topic-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(192, 219, 255, 0.48);
  background: rgba(12, 28, 56, 0.72);
}

body.page-blog .blog-topic-card__eyebrow {
  color: #c2d9ff;
}

body.page-blog .blog-topic-card strong {
  font-size: 1.08rem;
  color: #ffffff;
}

body.page-blog .blog-topic-card p {
  margin: 0;
  color: #d3e2ff;
  font-size: 0.94rem;
  line-height: 1.6;
}

body.page-blog .blog-featured-card,
body.page-blog .blog-article-overview,
body.page-blog .blog-list-card,
body.page-blog .blog-summary-card,
body.page-blog .blog-content,
body.page-blog .blog-toc,
body.page-blog .blog-share,
body.page-blog .blog-author-box,
body.page-blog .blog-article-sidebar-card,
body.page-blog .blog-related-card,
body.page-blog .blog-cta-band,
body.page-blog .blog-empty-state {
  border: 1px solid var(--blog-line);
  border-radius: 28px;
  background: var(--blog-surface);
  box-shadow: 0 20px 44px rgba(8, 26, 52, 0.1);
}

body.page-blog .blog-featured-card,
body.page-blog .blog-related-card {
  overflow: hidden;
}

body.page-blog .blog-featured-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: start;
  height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(247, 251, 255, 0.05) 100%),
    rgba(7, 20, 40, 0.76);
}

body.page-blog .blog-featured-card__media,
body.page-blog .blog-list-card__media,
body.page-blog .blog-related-card__media {
  position: relative;
  display: block;
  overflow: hidden;
}

body.page-blog .blog-featured-card__media {
  aspect-ratio: auto;
  height: clamp(240px, 31vw, 390px);
  flex: 0 0 auto;
}

body.page-blog .blog-list-card__media,
body.page-blog .blog-related-card__media {
  aspect-ratio: 16 / 10;
}

body.page-blog .blog-featured-card__media::after,
body.page-blog .blog-list-card__media::after,
body.page-blog .blog-related-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 24, 0) 10%, rgba(5, 13, 24, 0.2) 100%);
  pointer-events: none;
}

body.page-blog .blog-featured-card img,
body.page-blog .blog-list-card img,
body.page-blog .blog-related-card img,
body.page-blog .blog-article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

body.page-blog .blog-featured-card:hover img,
body.page-blog .blog-list-card:hover img,
body.page-blog .blog-related-card:hover img {
  transform: scale(1.04);
}

body.page-blog .blog-featured-card__content {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  flex: 0 0 auto;
  color: #edf4ff;
  background: linear-gradient(180deg, rgba(7, 23, 49, 0.95) 0%, rgba(10, 31, 64, 0.96) 100%);
}

body.page-blog .blog-featured-card__eyebrow,
body.page-blog .blog-list-card__eyebrow,
body.page-blog .blog-results-bar,
body.page-blog .blog-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

body.page-blog .blog-featured-card__eyebrow {
  color: #cfe1ff;
  font-size: 0.82rem;
  font-weight: 700;
}

body.page-blog .blog-featured-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(198, 222, 255, 0.24);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-blog .blog-featured-card__content h2,
body.page-blog .blog-list-card__title a,
body.page-blog .blog-related-card__content h3 {
  color: inherit;
  text-decoration: none;
}

body.page-blog .blog-featured-card__content h2 {
  margin: 0;
  color: #ffffff !important;
  font-size: 1.95rem;
  line-height: 1.04;
}

body.page-blog .blog-featured-card__content p {
  margin: 0;
  color: #edf5ff;
  line-height: 1.78;
}

body.page-blog .blog-featured-card__footer,
body.page-blog .blog-list-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 0.9rem;
}

body.page-blog .blog-featured-card__meta,
body.page-blog .blog-author-mini {
  display: grid;
  gap: 0.18rem;
}

body.page-blog .blog-featured-card__meta strong,
body.page-blog .blog-author-mini strong {
  color: inherit;
  font-size: 0.95rem;
}

body.page-blog .blog-featured-card__meta span,
body.page-blog .blog-author-mini span {
  color: #b8cfea;
  font-size: 0.84rem;
}

body.page-blog .blog-featured-card__link,
body.page-blog .blog-list-card__link,
body.page-blog .blog-related-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease;
}

body.page-blog .blog-list-card__link,
body.page-blog .blog-related-card__link {
  background: var(--blog-accent-soft);
  color: var(--blog-accent-deep);
}

body.page-blog .blog-featured-card__link:hover,
body.page-blog .blog-list-card__link:hover,
body.page-blog .blog-related-card__link:hover {
  transform: translateX(2px);
}

body.page-blog .blog-section {
  padding: 3rem 0;
}

body.page-blog .blog-section--surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(245, 249, 255, 0.85) 100%);
}

body.page-blog .blog-section-head {
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.15rem;
}

body.page-blog .blog-section-head .section-title {
  margin: 0;
  color: var(--blog-ink) !important;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
}

body.page-blog .blog-section-intro {
  margin: 0.45rem 0 0;
  max-width: 56ch;
  color: var(--blog-muted);
  line-height: 1.75;
}

body.page-blog .blog-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr) auto;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(184, 208, 242, 0.68);
  box-shadow: 0 18px 36px rgba(13, 37, 70, 0.06);
}

body.page-blog .blog-filter-control {
  display: grid;
  gap: 0.48rem;
}

body.page-blog .blog-filter-control__label {
  color: var(--blog-muted);
}

body.page-blog .blog-filter-control input,
body.page-blog .blog-filter-control select {
  min-height: 52px;
  width: 100%;
  padding: 0.82rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(185, 206, 237, 0.92);
  background: #ffffff;
  color: var(--blog-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-blog .blog-filter-control input::placeholder {
  color: #90a6c2;
}

body.page-blog .blog-filter-control input:focus,
body.page-blog .blog-filter-control select:focus {
  outline: none;
  border-color: #66a4ff;
  box-shadow: 0 0 0 4px rgba(88, 149, 244, 0.16);
}

body.page-blog .blog-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
}

body.page-blog .blog-listing-main .blog-hero {
  padding: 4.8rem 0 3.2rem;
}

body.page-blog .blog-listing-main .blog-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  max-width: 14ch;
}

body.page-blog .blog-listing-main .blog-hero p {
  font-size: 1rem;
  max-width: 60ch;
  line-height: 1.72;
}

body.page-blog .blog-listing-main .blog-section {
  padding: 2.4rem 0;
}

body.page-blog .blog-topic-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.95rem 0 1rem;
}

body.page-blog .blog-topic-guide__item {
  display: grid;
  gap: 0.44rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(174, 198, 232, 0.82);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-blog .blog-topic-guide__item:hover,
body.page-blog .blog-topic-guide__item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(102, 153, 220, 0.95);
  box-shadow: 0 12px 24px rgba(9, 35, 72, 0.1);
}

body.page-blog .blog-topic-guide__item strong {
  color: var(--blog-ink);
  font-size: 0.98rem;
}

body.page-blog .blog-topic-guide__item p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

body.page-blog .blog-listing-main .blog-results-count {
  margin: 0 0 1rem;
}

body.page-blog .blog-listing-main .blog-featured-card__footer {
  justify-content: flex-start;
}

body.page-blog .blog-listing-main .blog-featured-card__content h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.3rem);
}

body.page-blog .blog-listing-main .blog-list-card__content {
  gap: 0.72rem;
}

body.page-blog .blog-listing-main .blog-list-card__title {
  font-size: 1.52rem;
}

body.page-blog .blog-listing-main .blog-list-card__link {
  width: fit-content;
}

body.page-blog .blog-results-bar {
  justify-content: space-between;
  margin: 1.05rem 0 1.2rem;
}

body.page-blog .blog-results-count {
  margin: 0;
  color: var(--blog-ink);
  font-size: 1rem;
  font-weight: 800;
}

body.page-blog .blog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.page-blog .blog-chip,
body.page-blog .blog-meta-pill,
body.page-blog .blog-tag,
body.page-blog .blog-language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

body.page-blog .blog-chip,
body.page-blog .blog-tag {
  background: var(--blog-accent-soft);
  color: var(--blog-accent-deep);
}

body.page-blog .blog-meta-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(191, 215, 248, 0.24);
  color: #f5f8ff;
}

body.page-blog .blog-section .blog-meta-pill,
body.page-blog .blog-article-wrap .blog-meta-pill {
  background: rgba(15, 84, 171, 0.08);
  color: #114994;
  border-color: rgba(15, 84, 171, 0.08);
}

body.page-blog .blog-language-pill {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  border: 1px solid rgba(191, 215, 248, 0.24);
}

body.page-blog .blog-empty-state {
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem;
  color: var(--blog-copy);
}

body.page-blog .blog-empty-state strong {
  color: var(--blog-ink);
}

body.page-blog .blog-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
}

body.page-blog .blog-list-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.page-blog .blog-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(10, 28, 52, 0.12);
}

body.page-blog .blog-readtime-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(9, 26, 51, 0.78);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

body.page-blog .blog-list-card__content,
body.page-blog .blog-related-card__content {
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem;
}

body.page-blog .blog-list-card__eyebrow {
  justify-content: space-between;
  align-items: center;
}

body.page-blog .blog-list-card__category {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: var(--blog-accent-soft);
  color: var(--blog-accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

body.page-blog .blog-list-card__date {
  color: var(--blog-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

body.page-blog .blog-list-card__title {
  margin: 0;
  color: var(--blog-ink) !important;
  font-size: 1.7rem;
  line-height: 1.08;
}

body.page-blog .blog-list-card__content p,
body.page-blog .blog-summary-card p,
body.page-blog .blog-article-sidebar-card p,
body.page-blog .blog-related-card__content p,
body.page-blog .blog-author-box p,
body.page-blog .blog-content p,
body.page-blog .blog-content li {
  margin: 0;
  color: var(--blog-copy);
  line-height: 1.82;
}

body.page-blog .blog-author-mini strong {
  color: var(--blog-ink);
}

body.page-blog .blog-author-mini span {
  color: var(--blog-muted);
}

body.page-blog .blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}

body.page-blog .blog-filter-pill {
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
}

body.page-blog .blog-filter-pill.is-active,
body.page-blog .blog-filter-pill:hover,
body.page-blog .blog-filter-pill:focus-visible {
  background: var(--blog-accent-deep);
  border-color: var(--blog-accent-deep);
  color: #ffffff;
}

body.page-blog .blog-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.page-blog .blog-summary-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

body.page-blog .blog-summary-card__eyebrow {
  color: #7e95b0;
}

body.page-blog .blog-summary-card strong {
  color: var(--blog-ink);
  font-size: 1.16rem;
}

body.page-blog .blog-article-overview {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(248, 252, 255, 0.08) 100%),
    rgba(8, 21, 42, 0.5);
  color: #edf4ff;
  border-color: rgba(187, 214, 252, 0.22);
}

body.page-blog .blog-article-overview__label {
  color: #cfe1ff;
}

body.page-blog .blog-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

body.page-blog .blog-fact {
  padding: 0.92rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 215, 248, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

body.page-blog .blog-fact span {
  display: block;
  margin-bottom: 0.26rem;
  color: #c7dcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-blog .blog-fact strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
}

body.page-blog .blog-meta-row--hero {
  margin-top: 0.15rem;
}

body.page-blog .blog-article-wrap {
  padding: 3rem 0 3.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(246, 249, 255, 0.92) 28%, rgba(240, 246, 252, 0.84) 100%);
}

body.page-blog .blog-article-shell {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.68fr);
  gap: 1.1rem;
  align-items: start;
}

body.page-blog .blog-article-main {
  gap: 1rem;
}

body.page-blog .blog-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 108px;
  align-self: start;
}

body.page-blog .blog-article-featured {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--blog-line);
  box-shadow: 0 22px 42px rgba(8, 26, 52, 0.1);
}

body.page-blog .blog-content,
body.page-blog .blog-toc,
body.page-blog .blog-share,
body.page-blog .blog-author-box,
body.page-blog .blog-article-sidebar-card,
body.page-blog .blog-cta-band {
  padding: 1.45rem 1.5rem;
}

body.page-blog .blog-content {
  font-size: 1.02rem;
}

body.page-blog .blog-content > :first-child {
  margin-top: 0;
}

body.page-blog .blog-content h2,
body.page-blog .blog-content h3,
body.page-blog .blog-article-sidebar-card h3,
body.page-blog .blog-author-box h2,
body.page-blog .blog-related-card h3 {
  color: var(--blog-ink) !important;
}

body.page-blog .blog-content h2 {
  margin: 2rem 0 0.8rem;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

body.page-blog .blog-content h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.36rem;
}

body.page-blog .blog-article-sidebar-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

body.page-blog .blog-content ul,
body.page-blog .blog-content ol,
body.page-blog .blog-toc ul,
body.page-blog .blog-article-sidebar-card ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

body.page-blog .blog-content blockquote {
  margin: 1.4rem 0;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid #1a72e4;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, #f3f8ff 0%, #ebf4ff 100%);
  color: #153a6a;
  font-weight: 700;
}

body.page-blog .blog-content code {
  padding: 0.16rem 0.42rem;
  border-radius: 8px;
  background: #eef4ff;
  color: #11427f;
  font-size: 0.92em;
}

body.page-blog .blog-content hr {
  margin: 1.7rem 0;
}

body.page-blog .blog-toc a,
body.page-blog .blog-article-sidebar-card a,
body.page-blog .blog-author-box a {
  color: var(--blog-accent);
}

body.page-blog .blog-toc__item,
body.page-blog .blog-article-sidebar-card li {
  color: var(--blog-copy);
  line-height: 1.75;
}

body.page-blog .blog-toc__item--h3 {
  margin-left: 0.75rem;
}

body.page-blog .blog-share-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

body.page-blog .blog-share-row a {
  min-height: 48px;
  border-radius: 16px;
  background: #f4f8ff;
  border: 1px solid #dce8fa;
  color: #133c74;
}

body.page-blog .blog-share-row a:hover,
body.page-blog .blog-share-row a:focus-visible {
  background: var(--blog-accent-deep);
  border-color: var(--blog-accent-deep);
  color: #ffffff;
}

body.page-blog .blog-author-box {
  grid-template-columns: 96px minmax(0, 1fr);
}

body.page-blog .blog-author-box img {
  width: 96px;
  height: 96px;
  border: 3px solid #d7e7fb;
}

body.page-blog .blog-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

body.page-blog .blog-related-card {
  display: flex;
  flex-direction: column;
}

body.page-blog .blog-related-card__content h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.08;
}

body.page-blog .blog-cta-band {
  justify-content: space-between;
  align-items: center;
  background:
    radial-gradient(circle at 12% 22%, rgba(102, 173, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #0b234d 0%, #0f2f66 100%);
  color: #f5f8ff;
  border-color: rgba(183, 209, 250, 0.22);
}

body.page-blog .blog-cta-band h2,
body.page-blog .blog-cta-band p {
  color: inherit !important;
}

@media (max-width: 1200px) {
  body.page-blog .blog-hero-stat-grid,
  body.page-blog .blog-topic-rail,
  body.page-blog .blog-topic-guide,
  body.page-blog .blog-summary-grid,
  body.page-blog .blog-filter-bar,
  body.page-blog .blog-article-hero-grid,
  body.page-blog .blog-article-shell {
    grid-template-columns: 1fr;
  }

  body.page-blog .blog-filter-actions {
    align-items: start;
  }

  body.page-blog .blog-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  body.page-blog .blog-hero h1,
  body.page-blog .blog-article-hero h1 {
    max-width: 100%;
  }

  body.page-blog .blog-hero-stat-grid {
    grid-template-columns: 1fr;
  }

  body.page-blog .blog-results-bar,
  body.page-blog .blog-list-card__footer,
  body.page-blog .blog-featured-card__footer,
  body.page-blog .blog-section-head {
    justify-content: start;
  }

  body.page-blog .blog-topic-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-blog .blog-hero,
  body.page-blog .blog-article-hero {
    padding: 4.25rem 0 2.8rem;
  }

  body.page-blog .blog-content,
  body.page-blog .blog-toc,
  body.page-blog .blog-share,
  body.page-blog .blog-author-box,
  body.page-blog .blog-article-sidebar-card,
  body.page-blog .blog-cta-band,
  body.page-blog .blog-summary-card,
  body.page-blog .blog-featured-card,
  body.page-blog .blog-article-overview,
  body.page-blog .blog-empty-state {
    padding: 1.2rem;
    border-radius: 22px;
  }

  body.page-blog .blog-author-box {
    grid-template-columns: 1fr;
  }

  body.page-blog .blog-fact-grid {
    grid-template-columns: 1fr;
  }

  body.page-blog .blog-list-card__title {
    font-size: 1.45rem;
  }

  body.page-blog .blog-content h2 {
    font-size: 1.6rem;
  }

  body.page-blog .blog-listing-main .blog-hero {
    padding: 3.9rem 0 2.55rem;
  }

  body.page-blog .blog-listing-main .blog-hero h1 {
    font-size: clamp(1.9rem, 7.9vw, 2.6rem);
  }

  body.page-blog .blog-topic-guide {
    grid-template-columns: 1fr;
  }
}

/* Blog mobile hotfix: prevent two-column squeeze and horizontal overflow. */
@media (max-width: 1200px) {
  body.page-blog .blog-hero-grid,
  body.page-blog .blog-article-hero-grid,
  body.page-blog .blog-article-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.page-blog .blog-listing-main .blog-hero-copy,
  body.page-blog .blog-listing-main .blog-featured-card {
    min-width: 0;
  }

  body.page-blog .blog-listing-main .blog-featured-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  body.page-blog {
    overflow-x: hidden;
  }

  body.page-blog .blog-listing-main .blog-hero {
    padding: 3.4rem 0 2.25rem;
  }

  body.page-blog .blog-featured-card__media {
    height: clamp(180px, 52vw, 280px) !important;
  }

  body.page-blog .blog-featured-card__content {
    padding: 1rem !important;
  }

  body.page-blog .blog-listing-main .blog-featured-card__content h2 {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.06;
  }

  body.page-blog .blog-hero-actions .btn {
    width: 100%;
  }
}

/* Safety net: hide any legacy CTA controls in listing section heading if cached HTML still injects them. */
body.page-blog .blog-listing-main #blog-results .blog-section-head > a,
body.page-blog .blog-listing-main #blog-results .blog-section-head > button {
  display: none !important;
}

/* Safety net: permanently hide legacy blog language pill controls if stale HTML is served. */
body.page-blog .blog-language-pill {
  display: none !important;
}

/* Safety net: hide legacy filter bar block if cached markup still includes it. */
body.page-blog .blog-filter-bar,
body.page-blog .blog-section-head .kicker {
  display: none !important;
}

/* Simple listing mode */
body.page-blog.blog-listing-main,
body.page-blog {
  background: #ffffff !important;
  color: #0f2a57 !important;
}
body.page-blog .blog-hero,
body.page-blog .blog-featured-card,
body.page-blog .blog-topic-guide,
body.page-blog .blog-chip-row,
body.page-blog .blog-list-card__media,
body.page-blog .blog-readtime-badge {
  display: none !important;
}
body.page-blog .blog-listing-main .blog-section {
  padding: 1.4rem 0 2rem;
}
body.page-blog .blog-section-head.simple .section-title,
body.page-blog .blog-section-head .section-title {
  margin: 0 0 0.5rem;
  color: #0f2a57 !important;
}
body.page-blog .blog-results-count.simple {
  margin: 0 0 1rem;
  color: #365e9c;
  font-weight: 700;
}
body.page-blog .blog-list-grid,
body.page-blog .blog-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
body.page-blog .blog-list-card,
body.page-blog .blog-simple-card {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border: 1px solid #d7e4f7;
  border-radius: 14px;
  background: #ffffff;
  color: #0f2a57;
  box-shadow: 0 10px 20px rgba(10, 40, 120, 0.06);
}
body.page-blog .blog-list-card__title,
body.page-blog .blog-simple-card h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #0f2a57 !important;
}
body.page-blog .blog-list-card__title a,
body.page-blog .blog-simple-card h2 a {
  color: inherit;
  text-decoration: none;
}
body.page-blog .blog-list-card__title a:hover,
body.page-blog .blog-simple-card h2 a:hover {
  text-decoration: underline;
}
body.page-blog .blog-list-card__content p,
body.page-blog .blog-simple-excerpt {
  margin: 0;
  color: #254c88;
  line-height: 1.5;
}
body.page-blog .blog-list-card__date,
body.page-blog .blog-simple-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: #4c70a8;
  font-weight: 700;
  font-size: 0.9rem;
}
body.page-blog .blog-list-card__category,
body.page-blog .blog-simple-cat {
  background: #eaf1ff;
  color: #0f2a57;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #c7d7f4;
  font-weight: 800;
}
body.page-blog .blog-list-card__link,
body.page-blog .blog-simple-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  background: #0f62d5;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  width: fit-content;
}
body.page-blog .blog-list-card__link:hover,
body.page-blog .blog-simple-link:hover {
  background: #0c4fae;
}
