:root {
  --bg: #f6f4ef;
  --ink: #13243b;
  --muted: #57534e;
  --brand: #e9530e;
  --brand-dark: #dd3a00;
  --card: #fffefb;
  --line: #d5e0eb;
  --accent: #0057ff;
  --ok: #0f8b4c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  --card-2: #d7e6f1;;
  /* Type scale */


  /* Headings */
  --fs-h1: clamp(1.8rem, 3.8vw, 2.6rem);   /* 29 → 42px */
  --fs-h1-big: clamp(3.8rem, 6.8vw, 10.6rem);   /* 29 → 42px */
  --fs-h2: clamp(1.5rem, 3vw, 2.1rem);     /* 24 → 34px */
  --fs-h3: clamp(1.1rem, 2.0vw, 1.4rem);   /* 21 → 27px */
  --fs-h4: clamp(1.15rem, 1.8vw, 1.4rem);  /* 18 → 22px */
  --fs-h5: clamp(1.05rem, 1.4vw, 1.2rem);  /* 17 → 19px */
  --fs-h6: 1rem;                           /* 16px */

  /* Body */
  --fs-body-lg: 1.0625rem; /* 17px */
  --fs-body: 1rem;         /* 16px */
  --fs-body-sm: 0.9375rem; /* 15px */
  --fs-body-xs: 0.875rem;  /* 14px */

  /* UI */
  --fs-caption: 0.8125rem; /* 13px */
  --fs-overline: 0.75rem;  /* 12px */

  /* Public style guide tokens */
  --sg-h1: clamp(2.7rem, 4.8vw, 3.6rem);
  --sg-h2: clamp(2.1rem, 3.8vw, 2.9rem);
  --sg-h3: clamp(1.7rem, 3vw, 2.2rem);
  --sg-h4: clamp(1.2rem, 2.2vw, 1.5rem);
  --sg-font-body: 1rem;
  --sg-font-caption: 0.8125rem;
  --site-scrollbar-thumb: #ff6a21;
  --site-scrollbar-thumb-hover: #e45916;
  --site-scrollbar-track: #ffe8dc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.is-hidden {
  display: none !important;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}

html.public-layout-html,
html.private-layout-html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--site-scrollbar-thumb) var(--site-scrollbar-track);
}

html.public-layout-html::-webkit-scrollbar,
html.private-layout-html::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html.public-layout-html::-webkit-scrollbar-track,
html.private-layout-html::-webkit-scrollbar-track {
  background: var(--site-scrollbar-track);
}

html.public-layout-html::-webkit-scrollbar-thumb,
html.private-layout-html::-webkit-scrollbar-thumb {
  background-color: var(--site-scrollbar-thumb);
  border-radius: 999px;
  border: 1px solid var(--site-scrollbar-track);
}

html.public-layout-html::-webkit-scrollbar-thumb:hover,
html.private-layout-html::-webkit-scrollbar-thumb:hover {
  background-color: var(--site-scrollbar-thumb-hover);
}

body.public-layout,
body.private-layout {
  --line: #d7e6f1;
}

body.public-layout,
body.private-layout {
  scrollbar-width: thin;
  scrollbar-color: var(--site-scrollbar-thumb) var(--site-scrollbar-track);
}

body.public-layout *,
body.private-layout * {
  scrollbar-width: thin;
  scrollbar-color: var(--site-scrollbar-thumb) var(--site-scrollbar-track);
}

body.public-layout::-webkit-scrollbar,
body.private-layout::-webkit-scrollbar,
body.public-layout *::-webkit-scrollbar,
body.private-layout *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body.public-layout::-webkit-scrollbar-track,
body.private-layout::-webkit-scrollbar-track,
body.public-layout *::-webkit-scrollbar-track,
body.private-layout *::-webkit-scrollbar-track {
  background: var(--site-scrollbar-track);
}

body.public-layout::-webkit-scrollbar-thumb,
body.private-layout::-webkit-scrollbar-thumb,
body.public-layout *::-webkit-scrollbar-thumb,
body.private-layout *::-webkit-scrollbar-thumb {
  background-color: var(--site-scrollbar-thumb);
  border-radius: 999px;
  border: 1px solid var(--site-scrollbar-track);
}

body.public-layout::-webkit-scrollbar-thumb:hover,
body.private-layout::-webkit-scrollbar-thumb:hover,
body.public-layout *::-webkit-scrollbar-thumb:hover,
body.private-layout *::-webkit-scrollbar-thumb:hover {
  background-color: var(--site-scrollbar-thumb-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
}

h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
h5 { font-size: var(--fs-h5); line-height: 1.25; font-weight: 600; }
h6 { font-size: var(--fs-h6); line-height: 1.3; font-weight: 600; }

.style-guide-heading-h1 {
  font-size: var(--sg-h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

.style-guide-heading-h2 {
  font-size: var(--sg-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.style-guide-heading-h3 {
  font-size: var(--sg-h3);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.style-guide-heading-h4 {
  font-size: var(--sg-h4);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
}

.style-guide-body {
  font-size: var(--sg-font-body);
  line-height: 1.6;
  font-weight: 400;
}

p, li {
  font-size: var(--fs-body);
  line-height: 1.6;
}

body.private-layout {
  --private-header-height: 72px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.public-layout {
  --private-header-height: 72px;
  --public-header-height: 72px;
}

.private-flash-layer {
  position: fixed;
  top: calc(var(--private-header-height, 72px) + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 40px));
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.private-flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
  background-color: rgba(10, 16, 26, 0.5);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.6px, transparent 0.7px),
    radial-gradient(rgba(0, 0, 0, 0.08) 0.7px, transparent 0.8px);
  background-size: 3px 3px, 4px 4px;
  background-position: 0 0, 1px 1px;
}

.private-flash-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.private-flash {
  position: relative;
  width: min(360px, 100%);
  min-height: 0;
  margin: 0 auto 10px;
  padding: 30px 12px 12px;
  border-width: 1px;
  opacity: 0;
  transform: translateY(-46px);
  transition: none;
  animation: none !important;
  pointer-events: auto;
}

.private-flash.is-visible {
  animation: privateFlashIn 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

.private-flash.is-hiding {
  animation: privateFlashOut 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes privateFlashIn {
  from {
    opacity: 0;
    transform: translateY(-46px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes privateFlashOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(12px);
  }
  100% {
    opacity: 0;
    transform: translateY(-46px);
  }
}

.panel.private-flash-success {
  border-color: #b7e3cb;
  background: rgba(237, 249, 242, 0.72);
}

.panel.private-flash-error {
  border-color: #f1c8c8;
  background: rgba(255, 242, 242, 0.72);
}

.private-flash-close {
  position: absolute;
  top: 8px;
  left: auto;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: #1c1c1c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.private-flash-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.private-flash-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.private-flash-body {
  color: #1f1f1f;
  font-weight: 600;
  font-size: var(--fs-body-sm);
  line-height: 1.45;
}

.private-mailbox-entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 62;
  background: rgba(11, 18, 30, 0.48);
}

.private-mailbox-entry-modal {
  position: fixed;
  inset: 40% auto auto 50%;
  right: auto;
  bottom: auto;
  margin: 0;
  transform: translate(-50%, -56%) !important;
  z-index: 63;
  width: min(520px, calc(100% - 28px));
  border-color: #e5d7c8;
  padding: 20px 20px 18px;
}

.private-mailbox-entry-modal h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  line-height: 1.15;
}

.private-mailbox-entry-modal p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #364964;
  font-weight: 600;
}

.private-mailbox-entry-link {
  margin-top: 14px;
  margin-left: 0;
}

.private-mailbox-entry-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.private-mailbox-entry-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #2d415d;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.private-mailbox-entry-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.private-mailbox-entry-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header.site {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

body.private-layout header.site {
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.public-layout header.site {
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.private-layout.private-header-collapsed header.site {
  transform: translateY(calc(-1 * var(--private-header-height) - 2px));
}

body.public-layout.public-header-collapsed header.site {
  transform: translateY(calc(-1 * var(--public-header-height) - 2px));
}

body.private-layout.private-layout-no-site-header {
  --private-header-height: 0px;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}

.header-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

header.site .header-main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-user-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-menu {
  position: relative;
}

.lang-menu-trigger {
  appearance: none;
  border: 1px solid #d5e0eb;
  background: #fff;
  border-radius: 6px;
  min-height: 36px;
  padding: 0 10px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  color: #192b44;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-menu-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.lang-menu.is-open .lang-menu-trigger svg {
  transform: rotate(180deg);
}

.lang-menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 80px;
  background: #fff;
  border: 1px solid #d4e0ec;
  border-radius: 12px;
  padding: 6px;
  display: grid;
  gap: 2px;
  z-index: 32;
}

.lang-menu-dropdown[hidden] {
  display: none;
}

.lang-menu-item {
  appearance: none;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: #20334b;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 7px 9px;
}

.lang-menu-item:hover {
  background: #fff1e8;
}

.lang-menu-item-name {
  color: #6a788c;
  font-weight: 600;
  letter-spacing: 0;
}

body.public-layout .header-user-slot {
  gap: 10px;
}

body.public-layout .lang-menu {
  display: inline-flex;
  align-items: center;
}

body.public-layout .lang-menu-trigger {
  border: 0;
  background: transparent;
  border-radius: 0;
  min-height: 40px;
  padding: 0 2px;
  color: #2a3f5a;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.public-layout .lang-menu-trigger:hover,
body.public-layout .lang-menu.is-open .lang-menu-trigger {
  color: var(--brand-dark);
}

body.private-layout .lang-menu {
  display: inline-flex;
  align-items: center;
}

body.private-layout .lang-menu-trigger {
  border: 0;
  background: transparent;
  border-radius: 0;
  min-height: 40px;
  padding: 0 2px;
  color: #2a3f5a;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.private-layout .lang-menu-trigger:hover,
body.private-layout .lang-menu.is-open .lang-menu-trigger {
  color: var(--brand-dark);
}

.header-social-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-social-link {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2a3f5a;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-social-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social-link:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.header-user-separator {
  width: 1px;
  height: 24px;
  background: #d7e3ef;
  display: inline-block;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #182739;
  width: 32px;
  height: 32px;
  border-radius: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  position: relative;
  transition: background-color 0.2s ease;
}

.mobile-nav-toggle span::before,
.mobile-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.mobile-nav-toggle span::before {
  top: -6px;
}

.mobile-nav-toggle span::after {
  top: 6px;
}

.mobile-nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
}

.mobile-nav-social {
  display: none;
}

header.site.is-nav-compact .mobile-nav-toggle {
  display: inline-flex;
  flex-shrink: 0;
}

header.site.is-nav-compact .header-main-nav {
  display: none;
}

header.site.is-nav-compact .mobile-nav-panel {
  display: grid;
  gap: 6px;
  padding: 8px 20px 14px;
  border-top: 1px solid #eee3d7;
  background: rgba(255, 255, 255, 0.96);
}

header.site.is-nav-compact .mobile-nav-panel[hidden] {
  display: none;
}

header.site.is-nav-compact .mobile-nav-social {
  display: none;
}

header.site.is-nav-compact .mobile-nav-item {
  border-radius: 10px;
}

header.site.is-nav-compact .mobile-nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

header.site.is-nav-compact .mobile-nav-link {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: #1d2f47;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 10px;
}

header.site.is-nav-compact .mobile-nav-submenu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #1d2f47;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

header.site.is-nav-compact .mobile-nav-submenu-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

header.site.is-nav-compact .mobile-nav-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

header.site.is-nav-compact .mobile-nav-submenu {
  display: grid;
  gap: 5px;
  padding: 2px 0 4px 14px;
}

header.site.is-nav-compact .mobile-nav-submenu[hidden] {
  display: none;
}

header.site.is-nav-compact .mobile-nav-submenu-link {
  display: block;
  text-decoration: none;
  color: #32465f;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}

header.site.is-nav-compact .mobile-nav-link.is-active {
  background: #fff1e8;
  color: #13243b;
}

header.site.is-nav-compact .mobile-nav-submenu-link.is-active {
  background: #fff7f1;
  color: #13243b;
}

header.site.is-nav-compact .mobile-nav-link:hover,
header.site.is-nav-compact .mobile-nav-submenu-link:hover {
  background: #fff7f1;
  color: #13243b;
}

header.site.is-nav-compact .mobile-nav-submenu-toggle:hover {
  background: #fff3eb;
  color: #13243b;
}

header.site.is-nav-compact .mobile-nav-link:focus-visible,
header.site.is-nav-compact .mobile-nav-submenu-link:focus-visible,
header.site.is-nav-compact .mobile-nav-submenu-toggle:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.35);
  outline-offset: 2px;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  appearance: none;
  border: 1px solid #d5e0eb;
  background: #fff;
  border-radius: 999px;
  min-height: 48px;
  padding: 6px 10px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  color: #192b44;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.user-menu-trigger:hover,
.user-menu.is-open .user-menu-trigger {
  border-color: rgba(255, 90, 31, 0.45);
}

.user-menu-trigger:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.4);
  outline-offset: 2px;
}

.user-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.user-menu-name {
  max-width: 180px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.user-menu.is-open .user-menu-trigger svg {
  transform: rotate(180deg);
}

.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  border-radius: 14px;
  border: 1px solid #e5d9cf;
  background: #fff;
  padding: 8px;
  z-index: 25;
}

.user-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  border-radius: 10px;
  padding: 8px 10px;
  text-decoration: none;
  color: #1e2f47;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.user-menu-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 59, 47, 0.46) !important;
  background: rgba(224, 59, 47, 0.08) !important;
  color: rgba(178, 41, 31, 0.96) !important;
  padding: 2px 8px;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.user-menu-item:hover {
  background: #fff3eb;
  color: #182739;
}

.user-menu-item.is-active {
  background: #ffe8dc;
  color: #182739;
  margin-top: 3px;
  margin-bottom: 3px;
}

.user-menu-divider {
  height: 1px;
  background: #eadfda;
  margin: 8px 4px;
}

.user-menu-item-danger {
  color: #bb2f00;
}

.user-menu-item-danger:hover {
  background: #fff0ea;
  color: #9f2200;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d2d9e2;
  border-radius: 8px;
  background: #fff;
  color: #1b2e46;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 8px 38px 8px 12px;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.custom-select-trigger span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.custom-select-trigger svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select-trigger svg {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger:focus-visible {
  outline: 2px solid rgba(255, 90, 31, 0.32);
  outline-offset: 2px;
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border: 1px solid #d9e0e8;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  z-index: 30;
  max-height: 260px;
  overflow: auto;
}

.custom-select-search-wrap {
  padding: 4px 4px 8px;
  border-bottom: 1px solid #edf1f5;
  margin-bottom: 6px;
}

.custom-select-search-input {
  width: 100%;
  min-height: 34px;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #24374f;
}

.custom-select-item {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 7px 10px;
  text-align: left;
  color: #20334b;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.custom-select-item:hover {
  background: #fff3eb;
}

.custom-select-item.is-active {
  background: #ffe8dc;
  color: #1a2c42;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 24px;
  max-width: min(320px, 42vw);
  transform: translateY(-3px);
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-body-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 72px;
  padding-top: 4px;
  transition: color 0.24s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #13243b;
}

.nav-link:hover::after {
  transform: scaleX(0.9);
  opacity: 0.82;
}

.nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Header refresh shared public + curriculum */
.container {
  width: min(1200px, calc(100% - 40px));
}

header.site {
  backdrop-filter: none;
  background: #fff;
  border-bottom: 1px solid #ece8e2;
}

header .inner {
  min-height: 96px;
  justify-content: flex-start;
  gap: 18px;
}

header.site .header-user-slot {
  margin-left: auto;
}

.brand-logo {
  height: 35px;
  max-width: min(360px, 44vw);
  transform: none;
  margin-top:-8px;
}

header.site .header-main-nav {
  gap: 6px;
}

.nav-link {
  height: 96px;
  padding: 0 6px;
  line-height: 1;
  font-size: 0.93rem;
  font-weight: 600;
  color: #6f6a66;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link::after {
  display: none;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.nav-link-has-submenu {
  gap: 6px;
}

.nav-chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.8;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.nav-item-has-submenu:hover .nav-chevron,
.nav-item-has-submenu:focus-within .nav-chevron {
  transform: translateY(1px) rotate(180deg);
}

.nav-submenu {
  position: absolute;
  left: 0;
  top: calc(100% - 14px);
  min-width: 240px;
  padding: 8px;
  border: 1px solid #e9e2d9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 25, 37, 0.12);
  display: grid;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 80;
}

.nav-item-has-submenu:hover .nav-submenu,
.nav-item-has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu-link {
  text-decoration: none;
  color: #253954;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 10px;
  line-height: 1.2;
}

.nav-submenu-link:hover,
.nav-submenu-link.is-active {
  background: #fff0e6;
  color: #142847;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border:var(--brand);
  padding: 3px 22px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}




.btn:hover {
  background:var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary {
  background:var(--brand);
  color: #fff;
}

.btn-small {
  padding: 3px 15px;
  font-size: 80%;
}



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

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.content-form .form-error {
  display: block;
  margin-top: 8px;
  color: #dd3a00;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.content-form input.is-error,
.content-form select.is-error,
.content-form textarea.is-error,
.content-form input.error,
.content-form select.error,
.content-form textarea.error {
  border: 1px solid #d93600 !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217,54,0,.6);
}

.content-form .custom-select-trigger.error {
  border: 1px solid #d93600 !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217,54,0,.6);
}

.content-form input.is-valid,
.content-form select.is-valid,
.content-form textarea.is-valid {
  border-color: #35aa67;
}

.content-form input:focus,
.content-form select:focus,
.content-form textarea:focus {
  outline: none;
  border: 1px solid #ff5a1f;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255,90,31,.35);
}

.content-form input.is-error:focus,
.content-form select.is-error:focus,
.content-form textarea.is-error:focus,
.content-form input.error:focus,
.content-form select.error:focus,
.content-form textarea.error:focus {
  border: 1px solid #d93600 !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217,54,0,.6);
}

.content-form .custom-select-trigger.error:focus {
  border: 1px solid #d93600 !important;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217,54,0,.6);
}

.auth-links {
  margin-top: 14px;
  display: grid;
  gap: 6px;
}

.auth-links p {
  margin: 0;
  color: #37465b;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-link {
  color: #dd3a00;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: color 0.2s ease, background-size 0.2s ease;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: #ff5a1f;
  background-size: 100% 2px;
}

.anagrafica-form label,
.auth-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
  font-weight: 500;
  color: #5f6d7f;
}

.anagrafica-form input,
.anagrafica-form select,
.anagrafica-form textarea,
.auth-form input,
.auth-form select,
.auth-form textarea {
  font-size: 0.98rem;
  font-weight: 600;
  color: #13243b;
}

.anagrafica-form {
  position: relative;
  z-index: 30;
}

.anagrafica-readonly-input-wrap {
  position: relative;
}

.anagrafica-readonly-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.anagrafica-contact-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.anagrafica-birth-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.anagrafica-citizenship-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.anagrafica-residence-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.anagrafica-annunci-row {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.anagrafica-form .admin-radio-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.anagrafica-form .admin-radio-inline-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #3b4554;
  font-size: 15px;
  line-height: 1;
}

.anagrafica-form .admin-radio-inline-item input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.anagrafica-form .admin-radio-inline-ui {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #b6b9be;
  background: #f2f2f2;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.anagrafica-form .admin-radio-inline-ui::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef6c00;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.anagrafica-form .admin-radio-inline-item input[type="radio"]:checked + .admin-radio-inline-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

.anagrafica-form .admin-radio-inline-item input[type="radio"]:checked + .admin-radio-inline-ui {
  border-color: #a3a8ae;
}

.anagrafica-form .admin-radio-inline-item input[type="radio"]:focus-visible + .admin-radio-inline-ui {
  box-shadow: 0 0 0 3px rgba(239, 108, 0, 0.25);
}

.anagrafica-form .admin-radio-inline-text {
  font-size: 15px;
  font-weight: 500;
  color: #42464d;
}

.anagrafica-readonly-input-wrap input[disabled] {
  background: #eef1f5;
  color: #596579;
  cursor: not-allowed;
  padding-right: 40px !important;
}

.anagrafica-readonly-lock {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #6f7b90;
  pointer-events: none;
}

.anagrafica-readonly-lock svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anagrafica-readonly-input-wrap::before,
.anagrafica-readonly-input-wrap::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.anagrafica-readonly-input-wrap::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: calc(100% + 6px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #13243b;
  transform: translateY(4px);
  z-index: 15;
}

.anagrafica-readonly-input-wrap::after {
  content: attr(data-readonly-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 60px));
  background: #13243b;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 12px;
  border-radius: 8px;
  transform: translateY(4px);
  z-index: 16;
}

.anagrafica-readonly-input-wrap:hover::before,
.anagrafica-readonly-input-wrap:hover::after,
.anagrafica-readonly-input-wrap:focus-within::before,
.anagrafica-readonly-input-wrap:focus-within::after {
  opacity: 1;
  transform: translateY(0);
}

.anagrafica-date-field {
  position: relative;
}

.anagrafica-date-input-wrap {
  position: relative;
  width: 100%;
}

.anagrafica-date-input-wrap input {
  padding-right: 42px !important;
}

.anagrafica-date-trigger {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #58657a;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.anagrafica-date-trigger svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anagrafica-date-trigger:focus,
.anagrafica-date-trigger:focus-visible {
  outline: none;
  box-shadow: none;
}

.anagrafica-datepicker {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(310px, calc(100vw - 60px));
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 10px;
  z-index: 40;
}

.anagrafica-datepicker-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.anagrafica-datepicker-head select {
  width: 100%;
  border: 1px solid #d9dfe7;
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #24374f;
  background: #fff;
}

.anagrafica-datepicker-weekdays,
.anagrafica-datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.anagrafica-datepicker-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #7b8798;
  padding: 2px 0;
}

.anagrafica-datepicker-days .is-empty {
  height: 32px;
}

.anagrafica-datepicker-day {
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1d2f46;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.anagrafica-datepicker-day:hover {
  background: #fff1e8;
  color: #16273c;
}

.anagrafica-datepicker-day.is-selected {
  background: #ff5a1f;
  color: #fff;
}

@media (max-width: 980px) {
  .anagrafica-readonly-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .anagrafica-contact-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .anagrafica-birth-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .anagrafica-citizenship-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .anagrafica-residence-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.auth-form label + br {
  display: none;
}

.auth-form p {
  margin-top: 0;
  margin-bottom: 12px;
}

.support-form-field {
  margin: 0 0 12px;
}

.support-form-control-gap {
  margin-bottom: 10px;
}

.auth-form.auth-form-spaced p {
  margin-bottom: 16px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

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

@media (max-width: 680px) {
  .auth-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.anagrafica-form label em,
.auth-form label em {
  color: #dd3a00;
  font-style: normal;
  font-weight: 800;
}

.field-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  color: #7f8a9b;
  cursor: help;
  position: relative;
  vertical-align: middle;
}

.input-help-wrap {
  position: relative;
}

.input-help-wrap input {
  padding-right: 40px !important;
}

.field-help.field-help-inside {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
  z-index: 20;
}

.field-help svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-help::before,
.field-help::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.field-help::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #13243b;
  z-index: 21;
}

.field-help::after {
  content: attr(data-help-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  width: min(330px, calc(100vw - 40px));
  background: #13243b;
  color: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 600;
  text-transform: none;
  z-index: 22;
}

.field-help:hover::before,
.field-help:hover::after,
.field-help:focus-visible::before,
.field-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.field-help.admin-js-tooltip::before,
.field-help.admin-js-tooltip::after {
  content: none !important;
  display: none !important;
}

.anagrafica-form.anagrafica-tooltip-below .field-help::before {
  top: calc(100% + 4px);
  bottom: auto;
  transform: translate(-50%, -4px);
  border-top: 0;
  border-bottom: 7px solid #13243b;
}

.anagrafica-form.anagrafica-tooltip-below .field-help::after {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translate(-50%, -4px);
}

.anagrafica-form.anagrafica-tooltip-below .anagrafica-readonly-input-wrap::before {
  top: calc(100% + 6px);
  bottom: auto;
  transform: translateY(-4px);
  border-top: 0;
  border-bottom: 7px solid #13243b;
}

.anagrafica-form.anagrafica-tooltip-below .anagrafica-readonly-input-wrap::after {
  top: calc(100% + 12px);
  bottom: auto;
  transform: translateY(-4px);
}

.hero {
  padding: 86px 0 56px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: stretch;
}

.kicker {
  display: inline-block;
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-dark);
  margin-bottom: 14px;
  font-weight: 700;
}

.hero .kicker {
  color: var(--brand-dark);
}

.hero .btn-ghost:not(:hover) {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: rgba(255, 90, 31, 0.06);
}

h1 {
  margin: 0 0 14px;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.hero p {
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 56ch;
  font-size: var(--fs-body);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero .animate h1,
.hero .animate p {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
}

.hero-visual-frame {
  width: 100%;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #d5e0eb;
  background: #f0f2f8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  isolation: isolate;
}

.hero-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  background: rgba(255, 247, 241, 0.94);
  border: 1px solid rgba(255, 122, 61, 0.45);
  border-radius: 24px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.hero-card > h3 {
  color: #13243b;
}

.hero-card-title {
  line-height: 1.2;
}

.hero-card-title span {
  font-size: 1.18em;
  font-weight: 800;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-row .stat:nth-child(3) {
  grid-column: 1 / -1;
}

.stat {
  background: #ffffff;
  border: 1px solid rgba(255, 122, 61, 0.45);
  border-radius: 14px;
  padding: 14px;
}

.stat strong {
  display: block;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: #13243b;
}

.stat span {
  font-size: var(--fs-body-xs);
  color: #13243b;
}

.stat-cta {
  display: inline-flex;
  width: 100%;
  margin-top: 10px;
  padding: 9px 16px;
  font-size: var(--fs-body-xs);
}

.video-chip {
  border: 1px dashed #cfc5b3;
  border-radius: 14px;
  padding: 12px;
  color: var(--muted);
  font-size: var(--fs-body-sm);
}

.section {

  /*padding: 56px 0;*/
  background: #fff;

}

.section.auth-login-page {
  min-height: 62vh;
}

.hero {
  margin-top: 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
}

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

.cards.fad-courses-two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#fad-course-grid .card {
  min-height: 430px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.card h3 { margin: 0 0 8px; font-size: var(--fs-h5); }
.card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: var(--fs-body-sm); }

.course-card-image {
  display: block;
  margin: -6px -6px 12px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f1ece2;
  line-height: 0;
}

.course-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.44), rgba(8, 14, 24, 0.44));
  background-size: 3px 3px, 4px 4px, 5px 5px, 100% 100%;
}

.course-card-watermark {
  position: absolute;
  left: 10px;
  bottom: 20px;
  z-index: 3;
  pointer-events: none;
  width: 28.125%;
}

.course-card-watermark img {
  display: block;
  width: 100%;
  height: auto;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.course-card-image-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 5px;
}

.course-card-link-wrap {
  margin: 0;
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

#course-grid .card {
  position: relative;
  padding-bottom: 64px;
}

.course-card-link-wrap .style-guide-link-only {
  margin-left: 0;
}

.course-card-next-session-btn {
  white-space: nowrap;
  text-transform: none;
}

.course-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.course-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 10px;
  text-shadow: none;
}

.course-card-badge-small {
  font-size: 10px;
  line-height: 1.1;
  padding: 3px 7px;
}

.course-card-badge-type-presenza {
  color: #1d4f91;
  border-color: #b7d0f2;
  background: #eaf3ff;
}

.course-card-badge-type-fad {
  color: #6a2f8f;
  border-color: #d9b9f0;
  background: #f5ebff;
}

.course-card-badge-type-dad {
  color: #0d6b5e;
  border-color: #9edfd2;
  background: #e5f7f3;
}

.course-card-badge-payment-paid {
  color: #8b4a16;
  border-color: #f2cf90;
  background: #fff8ea;
}

.course-card-badge-payment-free {
  color: #1f5f41;
  border-color: #8ad0b2;
  background: #ebfaf3;
}

.course-card-badge-neutral {
  color: #5f6b7a;
  border-color: #d6deea;
  background: #f8fafc;
}

.course-card-badge-progress {
  color: #b74848;
  border-color: #f1c5c5;
  background: #fff1f1;
  animation: courseBadgePulse 1.8s ease-in-out infinite;
}

@keyframes courseBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(183, 72, 72, 0);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 0 0 4px rgba(183, 72, 72, 0.12);
  }
}

.card.course-card-in-progress {
  background: rgba(215, 230, 241, 0.5);
}

.course-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#course-grid .card .course-card-desc {
  margin: 0;
}

#course-grid .card .date {
  color: #6d655c;
  font-size: 0.85rem;
}

#course-grid .card .course-card-status {
  margin: 0;
  color: var(--brand);
  font-weight: 700;
}

.home-courses-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}

.home-courses-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d7e6f1;
}

.home-courses-head h2 {
  margin: 0;
}

.home-course-card-featured {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 30px !important;
  padding: 0 25px 0 0 !important;
}

.home-course-card-featured-media {
  margin: 0;
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.home-course-card-featured-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.home-course-card-featured-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.44), rgba(8, 14, 24, 0.44));
  background-size: 3px 3px, 4px 4px, 5px 5px, 100% 100%;
}

.home-course-card-featured-watermark {
  position: absolute;
  left: 10px;
  bottom: 20px;
  z-index: 3;
  pointer-events: none;

}

.home-course-card-featured-watermark img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.home-course-card-featured-badges {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 5px;
}

.home-course-card-featured-content {
  gap: 10px;
}

.home-course-card-featured-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.home-course-card-featured-actions {
  width: 100%;
  margin-top: 6px;
  justify-content: flex-end;
}

.home-courses-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.home-course-card {
  flex: 0 0 calc((100% - 24px) / 2);
  min-height: 100px;
  padding: 30px 38px;
  border: 1px solid #e3e5ec;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 25, 44, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-course-card-content {
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-course-card-content h4 {
  margin: 0;
  font-size: var(--sg-h4);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.home-course-card-content p {
  margin: 16px 0 0;
  color: #585d68;
  font-size: 1.02rem;
  line-height: 1.5;
}

.home-course-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-course-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.home-course-card-actions .btn.btn-primary {
  min-width: 130px;
  justify-content: center;
}

.home-stats-strip {
  border-top: 1px solid #e6e2d8;
  border-bottom: 1px solid #e6e2d8;
  padding: 24px 0;
}

.home-stats-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-stats-strip-box {
  flex: 1 1 0;
  min-height: 108px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-stats-strip-box strong {
  display: block;
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
}

.home-stats-strip-box span {
  display: block;
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.home-stats-strip-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 0;
}

.home-stats-strip-link svg {
  width: 20px;
  height: 20px;
}

.home-stats-strip-link:hover {
  color: var(--brand);
}

.home-blog-section {
  background-color: #f5f5f5;
  padding:50px 0;
  border-top: 1px solid #d7e6f1 !important;
}

.news-blog-section {
  background-color: #f5f5f5;

  border-bottom: 1px solid #d7e6f1 !important;
  padding:20px 0 50px 0;
}

.home-blog-section > .container {
  width: min(1320px, calc(100% - 40px));

}

.home-blog-section .style-guide-slider-shell {
  padding-inline: 2px;
}

.home-courses-head-link {
  margin-left: auto;
}

.home-featured-badge {
  border-radius: 18px;
  background: var(--brand);
  padding: 20px;
}

.home-featured-badge h3,
.home-featured-badge h4 {
  margin: 0;
  color: #fff;
}

.home-featured-badge-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 16px;
  align-items: center;
}

.home-featured-badge-copy {
  display: grid;
  gap: 10px;
}

.home-featured-badge-desc,
.home-featured-badge-deadline {
  margin: 0;
  color: #fff;
}

.home-featured-badge-deadline {
  font-weight: 700;
}

.home-featured-badge-actions {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.home-featured-badge-cta.btn-ghost {
  border-color: rgba(255, 255, 255, 0.84);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.home-featured-badge-cta.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.home-featured-badge-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.home-featured-badge-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-stats-strip.home-stats-strip--alt {
  background: var(--brand);
  border-top-color: rgba(255, 255, 255, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

.home-stats-strip.home-stats-strip--alt .home-stats-strip-box {
  background: #fff;
  color: var(--brand-dark);
}

.home-stats-strip.home-stats-strip--alt .home-stats-strip-box strong,
.home-stats-strip.home-stats-strip--alt .home-stats-strip-box span {
  color: var(--brand-dark);
}

.home-stats-strip.home-stats-strip--alt .home-stats-strip-link {
  color: #fff;
}

.home-stats-strip.home-stats-strip--alt .home-stats-strip-link:hover {
  color: #fff;
  opacity: 0.9;
}

.course-page-head {
  margin-bottom: 20px;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.course-page-head-copy {
  display: grid;
  gap: 8px;
  max-width: 66ch;
}

.course-page-head-copy .eyebrow {
  display: inline-flex;
  width: fit-content;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d5e0eb;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
}

body:not(.private-layout) .course-page-head-copy .eyebrow {
  display: none;
}

.course-page-head-copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.08;
}

.course-page-head-copy p {
  margin: 0;
  color: #5b534c;
  line-height: 1.5;
  font-size: 0.96rem;
}

.course-page-head.public-sticky-head.is-stuck {
  padding-block: 11px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  gap: 12px;
}

.course-page-head.public-sticky-head.is-stuck .course-page-head-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  max-width: none;
  min-width: 0;
}

.course-page-head.public-sticky-head.is-stuck .course-page-head-copy .eyebrow {
  display: none;
}

.course-page-head.public-sticky-head.is-stuck .course-page-head-copy h1 {
  grid-column: 1;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.14;
  color: #13243b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-page-head.public-sticky-head.is-stuck .course-page-head-copy p {
  grid-column: 1;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  color: #13243b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-page-head.public-sticky-head.is-stuck .course-filters {
  margin-left: auto;
  flex-wrap: nowrap;
  gap: 6px;
}

.course-page-head.public-sticky-head.is-stuck .course-filters-label {
  font-size: 0.66rem;
  line-height: 1.1;
  color: #13243b;
  white-space: nowrap;
}

.course-page-head.public-sticky-head.is-stuck .course-filters-links {
  flex-wrap: nowrap;
}

.course-page-head.public-sticky-head.is-stuck .course-filter-pill {
  padding: 4px 8px;
  font-size: 0.66rem;
}

.about-v2-hero.public-sticky-head.is-stuck {
  min-height: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-color: #ece1d6;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

.about-v2-hero.public-sticky-head.is-stuck::before,
.about-v2-hero.public-sticky-head.is-stuck::after {
  display: none;
}

.about-v2-hero.public-sticky-head.is-stuck .about-v2-copy {
  width: 100%;
  padding: 11px 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
}

.about-v2-hero.public-sticky-head.is-stuck .about-v2-eyebrow {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 4px 8px;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.about-v2-hero.public-sticky-head.is-stuck .about-v2-copy h1 {
  grid-column: 2;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-v2-hero.public-sticky-head.is-stuck .about-v2-copy p {
  grid-column: 2;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-v2-hero.public-sticky-head.is-stuck .about-v2-copy p:nth-of-type(n+2) {
  display: none;
}

.course-filters {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 10px;
}

.course-filters-label {
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
  font-weight: 700;
  color: #1b1612;
  letter-spacing: -0.01em;
}

.course-filters-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.course-filter-pill {
  appearance: none;
  border: transparent;
  text-decoration: none;
  cursor: pointer;
  color: #2f2a25;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 7px 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.course-filter-pill:hover {
  color: var(--brand);

}

.course-filter-pill.is-active {
  color: #fff;
  background: var(--brand);

}

.course-filter-pill.is-active .course-filter-pill-count {
  color: var(--brand);
  background: #fff;

}

.course-filter-pill-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid #d7e6f1;
  font-size: 0.73rem;
  line-height: 1;
  font-weight: 700;
  color: #4f6178;
  background: #f8fbff;
}

.course-filter-pill.is-active .course-filter-pill-count {
  display: inline-flex;
}

.course-filter-rail-wrap {
  justify-content: flex-end;
  gap: 10px;
  margin-top:6px;
}

.course-filter-rail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.course-filter-rail .course-filter-pill {
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .course-filter-rail {
    flex-wrap: nowrap;
  }
}

.course-filter-pill-link {
  cursor: pointer;
  color: #2f2a25;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 600;
}

.course-filter-pill-link:visited {
  color: #2f2a25;
}

.course-filter-pill-link:hover,
.course-filter-pill-link:focus-visible {
  color: var(--brand);
}

.home-services {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: #fff;
  padding-top: 46px;
  padding-bottom: 46px;
}

.home-services-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}

.home-services-layout-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
}

.home-services-secondary {
  padding-top: 0;
}

.home-services-media {
  display: flex;
}

.home-services-media-placeholder {
  width: 100%;
  min-height: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 56px;
  border: 1px solid #d7e4ef;
  background: #d7e6f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-services-primary .home-services-media-placeholder .home-services-primary-svg {
  display: block;
  width: min(86%, 460px);
  height: auto;
  max-height: 100%;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
  overflow: visible;
  transform: translateZ(0);
}

.home-services-secondary .home-services-media-placeholder .home-services-secondary-svg {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  visibility: visible;
  opacity: 1;
  transform: translateZ(0);
}

.home-services-media-chip {
  border-radius: 999px;
  border: 1px dashed #7f98af;
  color: #3d5872;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 18px;
}

.home-services-content {
  padding-top: 24px;
}

.home-services-eyebrow {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

.home-services-content h2 {
  margin: 12px 0 14px;
  /* max-width: 18ch;*/
  color: #101014;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.home-services-lead {
  margin: 0 0 18px;
  color: #5f5f66;
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
}

.home-services-accordion {
  border-top: 1px solid #dddde2;
}

.home-services-item {
  border-bottom: 1px solid #dddde2;
  padding: 8px 0;
}

.home-services-item-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 5px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.home-services-item-toggle > span:first-child {
  color: #1b1b20;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.home-services-item.is-open .home-services-item-toggle > span:first-child {
  color: var(--brand-dark);
}

.home-services-item-icon {
  color: var(--brand-dark);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1;
  min-width: 28px;
  text-align: center;
}

.home-services-item-panel {
  padding: 0 0 14px;
}

.home-services-item-panel p {
  margin: 0 0 10px;
  color: #5f5f66;
  font-size: clamp(0.84rem, 0.95vw, 0.92rem);
  line-height: 1.6;
}

.home-services-item-panel .home-services-item-cta {
  margin: 14px 0 0;
}

.home-services-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand-dark);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 500;
}

.home-services-feature-link::after {
  content: "›";
  font-size: 1.2em;
  line-height: 1;
}

.home-group {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: transparent;
  padding-top: 34px;
  padding-bottom: 34px;
}

.home-group-intro {
  max-width: 1040px;
  margin: 0 auto 16px;
  text-align: center;
}

.home-group-intro h2 {
  margin: 0 0 12px;
}

.home-group-intro p {
  margin: 0;
  color: #6b655e;
  line-height: 1.55;
  font-size: 1.02rem;
}

.home-group-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-group-item {
  text-align: center;
}

.home-group-item p {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a847c;
  min-height: 2.2em;
}

.home-group-item img {
  width: 100%;
  max-width: 320px;
  height: 128px;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tone {
  background: linear-gradient(145deg, #171717, #232323);
  color: #fff;
  border-radius: 18px;
  padding: 24px;
}

.tone p { color: rgba(255, 255, 255, 0.82); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.legacy-footer {
  border-top: 1px solid var(--line);
  background: #2f2f2f;
  padding: 34px 0 38px;
  margin-top: 34px;
}

body.private-layout .legacy-footer {
  flex-shrink: 0;
}

.legacy-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 1.8fr);
  gap: 26px;
}

.legacy-footer-about {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.55;
}

.legacy-footer-about p {
  margin: 0 0 12px;
  font-size: 0.8rem;
}

.legacy-footer-about li,
.legacy-footer-about a {
  font-size: 0.8rem;
}

.legacy-footer-policy a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.legacy-footer-policy a:hover {
  text-decoration: underline;
}

.legacy-footer-certs {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legacy-footer-certs img {
  max-height: 44px;
  width: auto;
  display: block;
}

.legacy-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.legacy-footer-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legacy-footer-col > a:first-child {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.legacy-footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.35;
}

.legacy-footer-col a:hover {
  color: #ffd6c4;
}

.legacy-footer-col .legacy-footer-main-link {
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.legacy-footer-col img {
  max-width: 100%;
  height: auto;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate { animation: rise 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Private area */
.private-wrap {
  overflow-x: clip;
  flex: 1 0 auto;
}

.main {
  display: grid;
  gap: 20px;
  min-height: calc(100dvh - var(--private-header-height) - 180px);
  align-content: start;
}

.topbar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes boxEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:where(.topbar, .ticket-box, .course-item, .cards > article, .panel) {
  animation: boxEnter 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  :where(.topbar, .ticket-box, .course-item, .cards > article, .panel):hover {
    transform: translateY(-2px);
  }
}

.ticket-box,
.ticket-box:hover {
  transform: none !important;
}

.badge {
  background: #ebf2ff;
  color: #1647b6;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: var(--fs-body-xs);
  font-weight: 700;
}

.player-strip {
  width: 100vw;
  width: 100dvw;
  margin-left: calc(50% - 50vw);
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50vw);
  margin-right: calc(50% - 50dvw);
  background: rgba(255, 122, 61, 0.08);
  border-top: 0;
  border-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.main > .player-strip {
  margin-top: 0;
}

body.private-layout .main > .player-strip {
  position: sticky;
  top: var(--private-header-height);
  z-index: 19;
  transition: top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 122, 61, 0.16);
}

body.private-layout.private-header-collapsed .main > .player-strip {
  top: 0;
}

body.private-layout.private-layout-no-site-header .main > .player-strip {
  margin-top: 0;
  top: 0;
}

body.private-layout.private-layout-no-site-header .private-wrap {
  padding-bottom: 100px;
}

.player-preview-head {
  width: 100%;
  background: #ffffff;
}

.player-preview-head-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 6px;
}

.player-preview-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.player-preview-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.player-preview-brand img {
  display: block;
  width: auto;
  height: 32px;
}

.player-preview-back-link {
  margin-left: auto;
}

.player-preview-mode-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #f1c5c5;
  background: #fff1f1;
  color: #b74848;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.player-strip-inner {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding-top: 11px;
  padding-bottom: 11px;
}

.player-strip-inner-single {
  grid-template-columns: 1fr;
}

.player-strip-left {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
}

.player-strip-left::before {
  content: "AREA PRIVATA";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d5e0eb;
  background: #fff;
  color: #13243b;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.player-strip-left strong {
  grid-column: 2;
  display: block;
  font-size: 0.96rem;
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 700;
  color: #13243b;
}

.player-strip-left div {
  grid-column: 2;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  color: #13243b;
}

.doc-privacy-note {
  margin: 8px 0 0;
  max-width: 100%;
  font-size: 0.68rem;
  line-height: 1.35;
  color: #7b7b7b;
}

.course-progress-wrap {
  margin-top: 4px;
  width: min(430px, 100%);
}

.course-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.course-progress-label {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: #13243b;
  letter-spacing: 0.01em;
}

.course-progress-value {
  font-size: var(--fs-caption);
  font-weight: 700;
  color: #13243b;
}

.course-progress-track {
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ffd3bf;
  overflow: hidden;
}

.course-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ff5a1f;
  min-width: 2px;
  transition: width .35s ease;
}

/* Firefox rendering tweak: keeps the progress line clearly visible */
@supports (-moz-appearance: none) {
  .course-progress-track {
    height: 7px;
  }
}

.player-module-toggle {
  border: 1px solid #d5e0eb;
  background: #ffffff;
  border-radius: 10px;
  min-height: 20px;
  padding: 7px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  color: #0f172a;
  font-size: var(--fs-h5);
  font-weight: 600;
  width: fit-content;
  min-width: 0;
  max-width: 100%;
}

.player-module-toggle span {
  font-size: var(--fs-body-xs);
}

.player-module-toggle .chevron {
  transition: transform .2s ease;
  flex-shrink: 0;
}

.player-module-toggle.open .chevron {
  transform: rotate(180deg);
}

.player-strip-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.player-strip-action {
  position: relative;
}

.player-strip-action-modules {
  min-width: 0;
}

.player-dispense-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.player-dispense-toggle:hover,
.player-dispense-toggle.open {
  background: rgba(15, 23, 42, 0.08);
}

.player-dispense-icon {
  width: 20px;
  height: 20px;
}

.player-dispense-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;

}

.player-module-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 450px;
  max-width: min(450px, calc(100vw - 40px));
  max-height: min(420px, calc(100vh - 180px));
  margin: 0;
  border: 1px solid #cddfe4;
  background: #fff;
  border-radius: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 30;
  scrollbar-width: thin;
  scrollbar-color: #ff5a1f #ffe8dc;
}

.player-module-menu::-webkit-scrollbar {
  width: 7px;
}

.player-module-menu::-webkit-scrollbar-track {
  background: #ffe8dc;
  border-radius: 999px;
}

.player-module-menu::-webkit-scrollbar-thumb {
  background: #ff5a1f;
  border-radius: 999px;
}

.player-module-menu::-webkit-scrollbar-thumb:hover {
  background: #f04d12;
}

.player-dispense-menu {
  width: 360px;
  max-width: min(360px, calc(100vw - 40px));
}

.player-module-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  text-decoration: none;
  color: #162328;
  font-weight: 600;
  font-size: var(--fs-caption);
  border-bottom: 1px solid #eef4f6;
}

.player-module-item:last-child {
  border-bottom: 0;
}

.player-module-item .module-play-icon {
  color: #1f2d3d;
  opacity: 0.9;
  flex-shrink: 0;
}

.player-module-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.module-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.module-status-dot.is-complete {
  background: #75b72b;
}

.module-status-dot.is-pending {
  background: #d8d8d8;
}

.player-module-item:hover {
  background: #f4fafc;
}

.player-module-item.active {
  background: #eef8fb;
}

.course-list {
  display: grid;
  gap: 12px;
}

.course-list.list-view .course-item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta action"
    "progress progress"
    "footer footer";
  align-items: center;
  gap: 6px 12px;
  padding: 12px;
}

.course-list.card-view {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 981px) {
  body.private-layout .course-list.card-view {
    min-height: 350px;
    align-content: start;
  }
}

.course-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  z-index: 1;
}

.course-item:hover,
.course-item:focus-within {
  z-index: 80;
}

.course-lock-inline {
  margin-top: 8px;
  border: 1px solid #f1d3b5;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px 9px;
}

.course-lock-inline-title {
  margin: 0 0 4px;
  color: #253648;
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
}

.course-lock-inline-text {
  margin: 0;
  color: #32465b;
  font-size: 0.69rem;
  line-height: 1.35;
  font-weight: 600;
}

.course-lock-inline-list {
  margin: 0;
  padding-left: 14px;
  display: grid;
  gap: 2px;
}

.course-lock-inline-list li {
  margin: 0;
  color: #32465b;
  font-size: 0.69rem;
  line-height: 1.35;
  font-weight: 600;
}

.course-lock-inline-link,
.course-lock-inline-link:visited {
  color: #24384d;
  text-decoration: underline;
}

.course-lock-inline-link:hover {
  color: var(--brand);
}

.course-list-empty {
  grid-column: 1 / -1;
  text-align: center;
}

.course-empty-box {
  width: 100%;
  text-align: center;
  padding: 22px 18px;
}

.course-empty-box strong {
  font-size: var(--fs-h5);
  color: #13243b;
}

@media (min-width: 981px) {
  .course-empty-box {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.course-title {
  margin: 0 0 6px;
  font-size: var(--fs-h5);
}

.course-meta-note {
  display: block;
  margin: 0 0 19px;
  color: #6a6259;
  font-size: var(--fs-body-xs);
  font-weight: 500;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6dee1;
  border-radius: 999px;
  padding: 2px;
  gap: 6px;
}

.view-toggle-btn {
  border: 0;
  background: transparent;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  padding: 5px 10px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.view-toggle-btn.active {
  background:var(--brand);
  color: #fff;
}

.course-filter-rail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e7dacc;
  border-radius: 999px;
  padding: 4px;
  min-height: 38px;
  background: rgba(255, 255, 255, 1);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.course-filter-rail::-webkit-scrollbar {
  display: none;
}

.course-filter-rail-item {
  border: 0;
  background: transparent;
  color: #4d6079;
  border-radius: 999px;
  height: 30px;
  padding: 0 7px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}

.course-filter-rail-item:hover {
  background: transparent;
  color: #213953;
}

.course-filter-rail-item.is-active {
  background: var(--brand);
  color: #fff;
}

.course-filter-rail-count {
  min-width: 20px;
  height: 18px;
  border-radius: 999px;
  padding: 0 6px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(224, 232, 242, 0.92);
  color: #183253;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.course-filter-rail-item.is-active .course-filter-rail-count {
  display: inline-flex;
  background: #ffffff;
  color: #2d435f;
}

.support-head-btn {
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 5px 10px;
  min-height: 28px;
}

.support-head-btn-inbox {
  background: #fff7f1;
  border-color: #efc9b4;
  color: #13243b;
}

.support-head-btn-inbox:hover {
  background: #ffefe4;
  border-color: #e7b799;
  color: #13243b;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  grid-area: meta;
}

#document-list-view.card-view {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

#candidature-list-view.card-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#candidature-list-view.card-view .course-item {
  min-height: 157px;
  padding: 14px;
}

#candidature-list-view .candidatura-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

#candidature-list-view .candidatura-badge.is-pending {
  background: #fff7e5;
  border: 1px solid #f4cf87;
  color: #8a5b00;
}

#candidature-list-view .candidatura-badge.is-positive {
  background: #e9f8ef;
  border: 1px solid #97d2ac;
  color: #1b6e3f;
}

#candidature-list-view .candidatura-badge.is-negative {
  background: #fdecec;
  border: 1px solid #efb2b2;
  color: #9e2222;
}

#document-list-view.card-view .course-item.doc-upload-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 157px;
}

#document-list-view .doc-upload-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 100%;
  text-align: center;
  padding: 28px 24px;
}

#document-list-view .doc-upload-title {
  margin: 0;
  max-width: 260px;
  font-size: clamp(1.25rem, 1.55vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #434343;
}

#document-list-view .doc-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e7f8ed;
  border: 1px solid #9dd8af;
  color: #1f7a3e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

#document-list-view .doc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#document-list-view .is-hidden {
  display: none !important;
}

#document-list-view .doc-actions .btn {
  min-width: 104px;
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

#document-list-view .doc-upload-meta {
  margin: 0;
  color: #57534e;
  font-size: .80rem;
  font-weight: 600;
  line-height: 1.25;
}

#document-list-view .doc-upload-loading {
  display: none;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 600;
}

#document-list-view .doc-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(217, 71, 63, 0.25);
  border-top-color: #d9473f;
  animation: doc-spin 0.8s linear infinite;
}

#document-list-view .doc-upload-error {
  margin: -10px 0 0;
  min-height: 1.2em;
  color: #b42318;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
}

#document-list-view .doc-upload-error.is-visible {
  opacity: 1;
}

#document-list-view .doc-upload-card.is-empty {
  border: 2px dashed #e9b6b2;
  background: #fff;
}

#document-list-view .doc-upload-card.is-empty .btn.btn-primary {
  background: #fff;
  border-color: #d9473f;
  color: #d9473f;
}

#document-list-view .doc-upload-card.is-empty .btn.btn-primary:hover {
  background: #d9473f;
  color: #fff;
  border-color: #d9473f;
}

#document-list-view .doc-upload-card.is-loaded {
  border-color: #d8e2e8;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 16% 18%, rgba(255, 143, 74, 0.12), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(41, 163, 117, 0.1), transparent 44%),
    repeating-linear-gradient(135deg, rgba(242, 235, 228, 0.22) 0 12px, rgba(255, 255, 255, 0.22) 12px 24px);
}

#document-list-view .doc-upload-card.is-loaded .doc-upload-title {
  color: #2f3c47;
}

#document-list-view .doc-upload-card.is-loaded .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(22, 29, 36, 0.85);
  color: #161d24;
}

#document-list-view .doc-upload-card.is-loaded .btn.btn-primary {
  border-color: transparent;
}

#document-list-view .doc-upload-card.is-uploading .doc-upload-loading {
  display: inline-flex;
}

#document-list-view .doc-upload-card.is-uploading .doc-actions {
  opacity: 0.45;
  pointer-events: none;
}

#document-list-view .doc-upload-card.is-uploading .doc-upload-btn {
  cursor: wait;
}

@keyframes doc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  #document-list-view.card-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #document-list-view.card-view {
    grid-template-columns: 1fr;
  }

  #document-list-view.card-view .course-item.doc-upload-card {
    min-height: 280px;
  }
}

.progress {
  width: 100%;
  height: 18px;
  border-radius: 99px;
  background: #eee6d8;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 25px;
  grid-area: progress;
  position: relative;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 99px;
  background: var(--brand);
  min-width: 12px;
}

.progress-value {
  position: absolute;
  top: 50%;
  left: clamp(8px, calc(var(--pct, 0) * 1% + 8px), calc(100% - 58px));
  transform: translateY(-50%);
  z-index: 1;
  font-size: var(--fs-body-xs);
  font-weight: 700;
  color: #8f3b15;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.progress.is-complete {
  background: #1e9b56;
}

.progress.is-complete .progress-fill {
  width: 100% !important;
  background: #1e9b56;
}

.progress.is-complete .progress-value {
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.course-open-btn {
  grid-area: action;
}

.course-list.list-view .course-open-btn {
  justify-self: end;
}

.course-list.list-view .course-title {
  margin-bottom: 2px;
}

.course-list.list-view .course-meta-note {
  margin-bottom: 8px;
}

.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.course-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.course-type-badge--fad {
  background: #f5ebff;
  border-color: #d9b9f0;
  color: #6a2f8f;
}

.course-type-badge--aula {
  background: #eaf3ff;
  border-color: #b7d0f2;
  color: #1d4f91;
}

.course-type-badge--virtual {
  background: #e5f7f3;
  border-color: #9edfd2;
  color: #0d6b5e;
}

.course-type-badge--progress {
  background: #eefbe8;
  border-color: #b8dfad;
  color: #2b6f20;
}

.course-meta-dates {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin: 0;
  color: #4f6076;
}

.course-meta-dates-track {
  margin-top: 10px;
  margin-bottom: 25px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.course-meta-date-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  width: 100%;
  border-radius: 999px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: #37506d;
  font-size: 0.7rem;
  line-height: 18px;
}

.course-meta-date-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
}

.course-meta-date-value {
  font-weight: 700;
}

.course-list.list-view .progress {
  margin-top: 6px;
  margin-bottom: 10px;
}

.course-footer {
  grid-area: footer;
}

.course-footer--status-only {
  margin-top: auto;
}

.course-status-badge-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
}

.course-list.list-view .course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-list.list-view .course-footer .course-open-btn {
  margin-left: auto;
}

.course-list.card-view .course-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}

.course-list.card-view .course-footer {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-list.card-view .course-footer .course-open-btn {
  font-size: 0.78rem;
  padding: 8px 14px;
}

.course-list .course-footer .course-open-btn.style-guide-link-only {
  padding: 0;
  margin-left: 0;
}

.course-list.card-view .course-footer .course-open-btn.style-guide-link-only {
  font-size: 0.95rem;
}

.course-open-btn.is-disabled {
  opacity: 0.86;
  cursor: not-allowed;
  pointer-events: none;
  background: #f5f5f5;
  border-color: #d6d6d6;
  color: #7b8088;
}

.course-open-btn.is-disabled:hover {
  background: #f5f5f5;
  border-color: #d6d6d6;
  color: #7b8088;
}

.course-open-btn.style-guide-link-only.is-disabled,
.course-open-btn.style-guide-link-only.is-disabled:hover {
  background: transparent;
  border-color: transparent;
}

.course-open-btn.is-disabled-with-tooltip {
  pointer-events: auto;
  position: relative;
  z-index: 1200;
}

.course-open-btn.is-disabled-with-tooltip::before,
.course-open-btn.is-disabled-with-tooltip::after {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.course-open-btn.is-disabled-with-tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #13243b;
  z-index: 1201;
}

.course-open-btn.is-disabled-with-tooltip::after {
  content: attr(data-help-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  width: min(320px, calc(100vw - 40px));
  background: #13243b;
  color: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 600;
  text-transform: none;
  text-align: center;
  z-index: 1202;
}

.course-open-btn.is-disabled-with-tooltip:hover::before,
.course-open-btn.is-disabled-with-tooltip:hover::after,
.course-open-btn.is-disabled-with-tooltip:focus-visible::before,
.course-open-btn.is-disabled-with-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.course-list.card-view .course-stats {
  align-self: auto;
}

.course-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.course-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 122, 61, 0.45);
  border-radius: 999px;
  background: rgba(255, 247, 241, 0.94);
  color: #13243b;
  font-size: 0.75rem;
  line-height: 1;
  position: relative;
}

.course-stat::before,
.course-stat::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.course-stat::after {
  content: attr(data-tip);
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  background: #111827;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 8px;
  border-radius: 7px;
  text-transform: lowercase;
}

.course-stat::before {
  content: "";
  bottom: calc(100% + 4px);
  transform: translate(-50%, 4px);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #111827;
}

.course-stat:hover::before,
.course-stat:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.course-stat svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
}

.course-stat strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: currentColor;
}

.course-list.view-animate .course-item {
  animation: coursesSwitch .38s cubic-bezier(.2,.65,.2,1) both;
}

@keyframes coursesSwitch {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ticket-box {
  background: rgba(247, 227, 127, 0.5);
  border: 1px solid #f0dcb8;
  border-radius: 14px;
  padding: 14px;
  color: #3b3520;
  font-size: 0.95rem;
  font-weight: 600;
}

.ticket-thread {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.ticket-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ticket-msg-user {
  flex-direction: row-reverse;
}

.ticket-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #d5e0eb;
  background: #fff;
  color: #13243b;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  overflow: hidden;
}

.ticket-avatar-support {
  background: rgba(255, 247, 241, 0.94);
  border-color: rgba(255, 122, 61, 0.45);
}

.ticket-avatar-support img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ticket-bubble {
  max-width: min(82%, 780px);
  border: 1px solid #d5e0eb;
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
}

.ticket-msg-user .ticket-bubble {
  background: rgba(255, 247, 241, 0.94);
  border-color: rgba(255, 122, 61, 0.45);
}

.ticket-msg-meta {
  margin: 0 0 4px;
  font-size: 0.7rem;
  line-height: 1.2;
  color: #5e564d;
}

.ticket-msg-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #13243b;
  font-weight: 500;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards,
  .split {
    grid-template-columns: 1fr;
  }

  .cards.fad-courses-two-cols {
    grid-template-columns: 1fr;
  }

  header.site .inner {
    min-height: 64px;
    gap: 10px;
  }

  .header-left {
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  header.site .header-main-nav {
    display: none;
  }

  .brand-logo {
    height: 25px;
    max-width: min(250px, 52vw);
  }

  .header-user-slot .btn {
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .lang-menu-trigger {
    min-height: 30px;
    padding: 0 8px 0 9px;
    font-size: 0.62rem;
  }

  body.public-layout .lang-menu-trigger {
    min-height: 34px;
    padding: 0 2px;
  }

  .lang-menu-trigger svg {
    width: 12px;
    height: 12px;
  }

  .lang-menu-dropdown {
    min-width: 68px;
  }

  .header-user-slot .user-menu-name {
    display: none;
  }

  .header-user-slot .user-menu-trigger {
    min-height: 42px;
    padding: 4px;
    border-radius: 999px;
  }

  .header-user-slot .user-menu-trigger svg {
    display: none;
  }

  .header-user-slot .user-menu-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.76rem;
  }

  .mobile-nav-panel {
    display: grid;
    gap: 6px;
    padding: 8px 20px 14px;
    border-top: 1px solid #eee3d7;
    background: rgba(255, 255, 255, 0.96);
  }

  .mobile-nav-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #dae5ef;
    border-radius: 12px;
    background: #dae5ef;
    margin-bottom: 2px;
    width: 100%;
  }

  header.site.is-nav-compact .mobile-nav-social {
    display: inline-flex;
  }

  .mobile-nav-social-label {
    color: #2a3f5a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    margin-right: auto;
  }

  .mobile-nav-social-link {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2a3f5a;
  }

  .mobile-nav-social-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .header-social-links,
  .header-user-separator {
    display: none;
  }

  .mobile-nav-panel[hidden] {
    display: none;
  }

  .mobile-nav-item {
    border-radius: 10px;
  }

  .mobile-nav-row {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .mobile-nav-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
    color: #1d2f47;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .mobile-nav-submenu-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #1d2f47;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-nav-submenu-toggle svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
  }

  .mobile-nav-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }

  .mobile-nav-submenu {
    display: grid;
    gap: 5px;
    padding: 2px 0 4px 14px;
  }

  .mobile-nav-submenu[hidden] {
    display: none;
  }

  .mobile-nav-submenu-link {
    display: block;
    text-decoration: none;
    color: #32465f;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
  }

  .mobile-nav-link.is-active {
    background: #fff1e8;
    color: #13243b;
  }

  .mobile-nav-submenu-link.is-active {
    background: #fff7f1;
    color: #13243b;
  }

  .player-strip-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .player-strip-action-modules .player-module-toggle {
    width: 100%;
    min-width: 0;
    font-size: 0.95rem;
  }

  .player-strip-right {
    width: 100%;
  }

  .player-strip-action-modules {
    flex: 1 1 auto;
  }

  .player-strip-action-modules .player-module-menu {
    width: 100%;
    right: 0;
  }

  .course-list.card-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-footer-grid {
    grid-template-columns: 1fr;
  }

  .legacy-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-group-item img {
    max-width: 360px;
  }

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

  .home-services-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-services-media-placeholder {
    min-height: 420px;
    border-radius: 30px;
  }

  .home-services-content {
    padding-top: 0;
  }

  .home-course-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .home-course-card-featured {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-courses-head {
    flex-wrap: wrap;
  }

  .hero-visual-frame {
    min-height: 300px;
  }

  .home-stats-strip-inner {
    flex-wrap: wrap;
  }

  .home-stats-strip-box {
    flex: 1 1 calc(50% - 8px);
  }

  .home-stats-strip-link {
    width: 100%;
    justify-content: flex-end;
  }

  .home-featured-badge-body {
    grid-template-columns: 1fr;
  }

  .course-page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-filters {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.private-layout header.site,
  body.private-layout .main > .player-strip {
    transition: none;
  }

  :where(.topbar, .ticket-box, .course-item, .cards > article, .panel) {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .home-services-primary .home-services-primary-svg {
    width: 82%;
    max-width: 82%;
    max-height: 650px;
    height: auto;
  }
}

@media (max-width: 680px) {
  .player-strip-right .course-filter-rail {
    margin-left: auto;
    margin-right: auto;
  }

  .home-services-primary .home-services-media-placeholder > .home-services-primary-svg {
    display: block !important;
    width: 75% !important;
    max-width: 75% !important;
    height: auto !important;
    max-height: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateZ(0);
  }

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

  .home-group-grid {
    grid-template-columns: 1fr;
  }

  .home-services-media-placeholder {
    min-height: 320px;
    border-radius: 22px;
  }

  .home-services-item-toggle > span:first-child {
    font-size: 15px;
  }

  .home-course-card {
    flex-basis: 100%;
    min-height: 200px;
    padding: 28px 24px;
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-course-card-content h4 {
    font-size: 1.7rem;
  }

  .home-course-card-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .home-course-card-featured-actions {
    justify-content: flex-end;
  }

  .hero-visual-frame {
    min-height: 240px;
    border-radius: 18px;
  }

  .home-stats-strip-box {
    flex-basis: 100%;
    min-height: 96px;
  }

  .home-stats-strip-link {
    justify-content: flex-start;
  }
}

.centro-menu nav a {
  display: block;
  margin-bottom: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem !important;
}

.centro-menu nav a:last-child {
  border-bottom: 0;
}

.centro-menu nav a.active {
  background: #fff3eb;
}

.legacy-content h1,
.legacy-content h2,
.legacy-content h3 {
  line-height: 1.2;
}

.legacy-content figure {
  margin: 16px 0;
}

.legacy-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.legacy-content iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

.legacy-content .columned-list,
.legacy-content .flat.columned-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.legacy-content .columned-list .item {
  background: #fffaf1;
  border: 1px solid #f1dfc1;
  border-radius: 12px;
  padding: 12px;
}

@media (max-width: 980px) {
  .legacy-content .columned-list,
  .legacy-content .flat.columned-list {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 18px;
}

.page-hero .eyebrow {
  display: inline-flex;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d5e0eb;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  margin-bottom: 10px;
}

body:not(.private-layout) .page-hero .eyebrow {
  display: none;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.08;
}

.page-hero p {
  margin: 0;
  color: #5b534c;
  max-width: 70ch;
  font-size: 0.96rem;
  line-height: 1.5;
}

.public-breadcrumbs {
  margin: 10px 0 20px;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #6a778a;
}

.public-breadcrumbs a {
  color: #6a778a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.public-breadcrumbs a:hover {
  color: var(--brand-dark);
}

.public-breadcrumbs .is-current {
  color: #22344a;
  font-weight: 600;
}

.public-breadcrumbs-sep {
  color: #9ca8b8;
}

.public-sticky-head-spacer {
  height: 0;
  transition: none;
}

.public-sticky-head {
  transition: none;
}

.public-sticky-head.is-stuck {
  position: fixed;
  top: var(--public-sticky-top, 72px);
  left: 0;
  right: 0;
  transform: none;
  width: 100vw;
  width: 100dvw;
  max-width: none;
  margin: 0;
  padding-inline: max(20px, calc((100vw - 1200px) / 2));
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 122, 61, 0.16);
  transition: top 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.public-layout.public-header-collapsed .public-sticky-head.is-stuck {
  top: 0;
}

.page-hero.public-sticky-head.is-stuck {
  padding-block: 11px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
}

.public-sticky-head .eyebrow,
.public-sticky-head h1,
.public-sticky-head p,
.public-sticky-head .course-filters-label,
.public-sticky-head .course-filter-pill {
  transition: none;
}

.page-hero.public-sticky-head.is-stuck .eyebrow {
  display: none;
}

.page-hero.public-sticky-head.is-stuck h1 {
  grid-column: 1;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.14;
  color: #13243b;
}

.page-hero.public-sticky-head.is-stuck p {
  grid-column: 1;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.2;
  color: #13243b;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.centro-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.centro-menu {
  position: sticky;
  top: calc(var(--public-sticky-top, 72px) + 14px + var(--public-sticky-head-height, 0px));
  align-self: start;
  border-radius: 24px;
}

.centro-menu nav a {
  margin-bottom: 0;
  padding: 11px 14px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: #13243b;
  font-size: clamp(0.94rem, 1.05vw, 1.18rem);
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.centro-menu nav a:last-child {
  border-bottom: 0;
}

.centro-menu nav a:hover {
  background: transparent;
  color: #ff8f5a;
  transform: translateY(-1px);
}

.centro-menu nav a.active {
  background: transparent;
  color: #ff8f5a;
}

.centro-menu nav a:first-child.active {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.centro-menu nav a:last-child.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.editorial {
  border-radius: 22px;
}

.centro-editorial {
  --centro-editorial-pad: clamp(20px, 3vw, 34px);
  position: relative;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: var(--centro-editorial-pad);
}

.centro-editorial .centro-content-hero {
  margin: calc(-1 * var(--centro-editorial-pad)) calc(-1 * var(--centro-editorial-pad)) 18px;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
  background: transparent;
}

.centro-editorial figure.centro-content-hero,
.centro-editorial figure.centro-content-hero.left {
  display: block;
  float: none;
  vertical-align: initial;
  width: calc(100% + (var(--centro-editorial-pad) * 2));
  max-width: none;
  margin-left: calc(-1 * var(--centro-editorial-pad));
  margin-right: calc(-1 * var(--centro-editorial-pad));
}

.centro-editorial .centro-content-hero img {
  border-radius: 0 !important;
}

.centro-editorial > h1:first-child {
  display: none;
}

.centro-editorial > h2:first-of-type {
  display: none;
}

.centro-editorial h2,
.centro-editorial h3 {
  color: #2a241e;
}

.centro-editorial p {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #4a433d;
}

.centro-editorial p + p {
  margin-top: 10px;
}

.centro-editorial figure {
  margin: 18px 0;
  border: 1px solid #eadcca;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.centro-editorial figure > span {
  display: block;
}

.centro-editorial figure img {
  display: block;
  width: 100%;
  height: auto;
}

.centro-editorial figure .subcontent-title {
  margin: 0;
  padding: 14px 14px 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #2f2a24;
}

.centro-editorial > figure:first-of-type:not(.centro-content-hero),
.centro-editorial > figure.left:first-of-type:not(.centro-content-hero) {
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.centro-editorial iframe {
  width: 100% !important;
  min-height: 320px;
  border: 0;
}

.centro-editorial blockquote {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #f1dac4;
  border-radius: 14px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.centro-editorial blockquote > h2 {
  grid-column: 1 / -1;
  margin: 0 0 4px;
}

.centro-editorial blockquote figure,
.centro-editorial blockquote figure.left,
.centro-editorial blockquote figure.right {
  width: auto;
  display: block;
  margin: 0;
}

.centro-editorial ul:not(.columned-list) {
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.centro-editorial ul:not(.columned-list) li {
  position: relative;
  padding-left: 26px;
  color: #3f3932;
}

.centro-editorial ul:not(.columned-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6d35, #ff9a63);
}

.centro-editorial .columned-list {
  gap: 16px;
}

.centro-editorial .columned-list .item {
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background:#ffffff;
}

.centro-editorial .columned-list .item .subcontent-caption {
  margin-bottom: 6px;
  color: #9c623b;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
}

.centro-editorial .columned-list .item img {
  display: block;
  margin: 0 auto;
}

.centro-hub {
  display: grid;
  gap: 34px;
}

.centro-hub-hero {
  display: block;
  margin: calc(-1 * var(--centro-editorial-pad)) calc(-1 * var(--centro-editorial-pad)) 4px;
  padding: clamp(18px, 2.8vw, 30px);
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(120% 120% at 6% 12%, rgba(19, 36, 59, 0.18) 0%, rgba(19, 36, 59, 0) 52%),
    linear-gradient(145deg, #10263f 0%, #1a3858 54%, #f59d6a 100%);
}

.centro-hub-hero-copy .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
}

.centro-hub-hero-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.centro-hub-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.centro-hub-hero-copy .hero-actions {
  clear: both;
  margin-top: 16px;
}

.centro-hub-hero-copy .btn.btn-primary {
  background: #ff6d35;
  border-color: #ff6d35;
}

.centro-hub-hero-copy .btn.btn-primary:hover {
  background: #e15a24;
  border-color: #e15a24;
}

.centro-hub-hero-copy .btn.btn-ghost {
  border-color: rgba(255, 255, 255, 0.92);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.centro-hub-hero-copy .btn.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.centro-hub-hero-copy .style-guide-link-only {
  color: #ffd5bf;
}

.centro-hub-hero-copy .style-guide-link-only:hover {
  color: #fff;
}

.centro-hub-hero-media {
  float: right;
  width: min(44%, 520px);
  margin: 0 0 14px 18px;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.centro-hub-hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.centro-hub-hero::after {
  content: "";
  display: table;
  clear: both;
}

.centro-hub-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.centro-hub-kpi {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dae5ef;
  background: #fff;
}

.centro-hub-kpi strong {
  display: block;
  margin: 0 0 6px;
  color: #16283f;
  font-size: 0.95rem;
  line-height: 1.3;
}

.centro-hub-kpi span {
  display: block;
  color: #5d6775;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-hub-section {
  padding-top: 25px;
}

.centro-hub-section + .centro-hub-section {
  margin-top: 12px;
}

.centro-hub-section h3 {
  margin: 0 0 8px;
  color: #182533;
  font-size: clamp(1.26rem, 2vw, 1.64rem);
  line-height: 1.2;
}

.centro-hub-section p {
  margin: 0;
}

.centro-hub-cards {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.centro-hub-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dae5ef;
  background: #fff;
}

.centro-hub-card h4 {
  margin: 0 0 8px;
  color: #1f2c3d;
  font-size: 1rem;
}

.centro-hub-card p {
  color: #566070;
  font-size: 0.9rem;
  line-height: 1.5;
}

.centro-hub-links {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.centro-hub-link {
  display: block;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d8e0ea;
  background: linear-gradient(160deg, #ffffff 0%, #f8fbff 100%);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.centro-hub-link:hover {
  transform: translateY(-2px);
  border-color: #b8cada;
  box-shadow: 0 12px 24px rgba(20, 35, 55, 0.1);
}

.centro-hub-link strong {
  display: block;
  margin: 0 0 6px;
  color: #13243b;
  font-size: 0.96rem;
}

.centro-hub-link span {
  display: block;
  color: #5e6878;
  font-size: 0.83rem;
  line-height: 1.45;
}

.centro-fad-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d5e0eb;
  background:
    radial-gradient(130% 120% at 0% 0%, rgba(14, 42, 73, 0.08) 0%, rgba(14, 42, 73, 0) 52%),
    linear-gradient(145deg, #f8fbff 0%, #ffffff 100%);
}

.centro-fad-band-copy .kicker {
  margin: 0 0 8px;
  color: #1f6b8e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.centro-fad-band-copy h3 {
  margin: 0 0 10px;
  color: #162a42;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.centro-fad-band-copy p {
  margin: 0;
  color: #4d5f72;
  font-size: 0.92rem;
  line-height: 1.55;
}

.centro-fad-band-copy .btn.btn-primary {
  margin-top: 14px;
}

.centro-fad-band-list {
  display: grid;
  gap: 8px;
}

.centro-fad-band-list article {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d9e4ef;
  background: #fff;
}

.centro-fad-band-list strong {
  display: block;
  margin: 0 0 5px;
  color: #0f2b47;
  font-size: 0.9rem;
}

.centro-fad-band-list span {
  display: block;
  color: #5a6e82;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-labs {
  display: grid;
  gap: 22px;
}

.centro-labs-hero {
  border: 1px solid #f0dcc8;
  border-radius: 18px;
  padding: clamp(16px, 2.6vw, 26px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, #fff7ee 0%, #fff7ee 42%, rgba(255, 247, 238, 0.88) 56%, rgba(255, 247, 238, 0.36) 74%, rgba(255, 247, 238, 0.12) 100%),
    url('../media/images/13_reception.jpg') 78% 40% / cover no-repeat;
}

.centro-labs-kicker {
  margin: 0 0 8px;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #f1ceb2;
  background: #fff2e4;
  color: #a45022;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.centro-labs-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.9vw, 2.1rem);
  line-height: 1.12;
  max-width: min(62%, 520px);
}

.centro-labs-hero p {
  margin: 0;
  max-width: min(58%, 500px);
}

.centro-labs-badges {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.centro-labs-badges span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ecdac9;
  color: #4e463f;
  font-size: 0.76rem;
  font-weight: 600;
}

.centro-labs-cover {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centro-labs-cover figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 168px;
}

.centro-labs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.centro-labs-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centro-labs-card {
  border: 1px solid #ecd9c7;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.centro-labs-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.centro-labs-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
}

.centro-labs-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centro-labs-gallery figure {
  margin: 0;
  border: 1px solid #eadaca;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.centro-labs-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.centro-labs-gallery figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4d453d;
}

.centro-labs-v2 {
  display: grid;
  gap: 22px;
}

.centro-labs-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
  gap: 14px;
  align-items: stretch;
  margin: calc(-1 * var(--centro-editorial-pad)) calc(-1 * var(--centro-editorial-pad)) 2px;
  padding: clamp(18px, 2.7vw, 28px);
  border: 0 !important;
  border-radius: 0 !important;
  background: #1e3a57;
}

.centro-labs-v2-hero-copy .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.86);
}

.centro-labs-v2-hero-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.56rem, 2.9vw, 2.35rem);
  line-height: 1.1;
}

.centro-labs-v2-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.centro-labs-v2-hero-copy .hero-actions {
  margin-top: 16px;
}

.centro-labs-v2-hero-copy .btn.btn-primary {
  background: #ff6d35;
  border-color: #ff6d35;
}

.centro-labs-v2-hero-copy .btn.btn-primary:hover {
  background: #e15a24;
  border-color: #e15a24;
}

.centro-labs-v2-hero-copy .btn.btn-ghost {
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.centro-labs-v2-hero-copy .btn.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.centro-labs-v2-hero-media {
  margin: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.centro-labs-v2-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.centro-labs-v2-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.centro-labs-v2-kpi {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dae5ef;
  background: #fff;
}

.centro-labs-v2-kpi strong {
  display: block;
  margin: 0 0 6px;
  color: #15263d;
  font-size: 0.94rem;
  line-height: 1.3;
}

.centro-labs-v2-kpi span {
  display: block;
  color: #5f6a79;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-labs-v2-section h3 {
  margin: 0 0 8px;
  color: #18283b;
  font-size: clamp(1.24rem, 1.95vw, 1.62rem);
  padding-top: 25px;
}

.centro-labs-v2-section p {
  margin: 0;
}

.centro-labs-v2-feature-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.centro-labs-v2-feature {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dae5ef;
  background: #f7fbff;
}

.centro-labs-v2-feature h4 {
  margin: 0 0 8px;
  color: #1f2f44;
  font-size: 1rem;
}

.centro-labs-v2-feature p {
  color: #5a6474;
  font-size: 0.9rem;
  line-height: 1.5;
}

.centro-labs-v2-grid {
  margin-top: 12px;
  column-count: 2;
  column-gap: 12px;
}

.centro-labs-v2-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dae5ef;
  background: #fff;
}

.centro-labs-v2-card h4 {
  margin: 0 0 8px;
  color: #1d2d40;
  font-size: 1.03rem;
}

.centro-labs-v2-card p {
  margin: 0;
  color: #5a6474;
  font-size: 0.91rem;
  line-height: 1.55;
}

.centro-labs-v2-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.centro-labs-v2-gallery figure {
  margin: 0;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  overflow: hidden;
  background: #fff;
}

.centro-labs-v2-gallery figure.is-wide {
  grid-column: span 2;
}

.centro-labs-v2-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.centro-labs-v2-gallery figcaption {
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b453f;
}

.centro-labs-v2-cta {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d8e2ee;
  background: #f7fbff;
}

.centro-labs-v2-cta h3 {
  margin: 0 0 8px;
}

.centro-labs-v2-cta p {
  margin: 0;
}

.centro-labs-v2-cta .style-guide-link-only {
  margin-top: 10px;
}

.centro-labs-v2-cta-alt {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(210px, 0.88fr);
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #233a55;
  background: #0f243b;
}

.centro-labs-v2-cta-alt-copy .kicker {
  margin: 0 0 8px;
  color: #96bbdf;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.centro-labs-v2-cta-alt-copy h3 {
  margin: 0 0 8px;
  color: #fff !important;
}

.centro-labs-v2-cta-alt-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
}

.centro-labs-v2-cta-alt-copy .hero-actions {
  margin-top: 14px;
}

.centro-labs-v2-cta-alt-copy .btn.btn-ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.centro-labs-v2-cta-alt-copy .btn.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.centro-labs-v2-cta-alt-points {
  display: grid;
  gap: 8px;
}

.centro-labs-v2-cta-alt-points article {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #385775;
  background: rgba(255, 255, 255, 0.06);
}

.centro-labs-v2-cta-alt-points strong {
  display: block;
  margin: 0 0 5px;
  color: #fff !important;
  font-size: 0.9rem;
}

.centro-labs-v2-cta-alt-points span {
  display: block;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-docenti-v2 {
  display: grid;
  gap: 22px;
}

.centro-docenti-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
  gap: 14px;
  align-items: stretch;
  margin: calc(-1 * var(--centro-editorial-pad)) calc(-1 * var(--centro-editorial-pad)) 2px;
  padding: clamp(18px, 2.7vw, 28px);
  border: 0 !important;
  border-radius: 0 !important;
  background: #263b53;
}

.centro-docenti-v2-copy .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
}

.centro-docenti-v2-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.56rem, 2.9vw, 2.32rem);
  line-height: 1.1;
}

.centro-docenti-v2-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.centro-docenti-v2-copy .hero-actions {
  margin-top: 16px;
}

.centro-docenti-v2-copy .btn.btn-primary {
  background: #ff6d35;
  border-color: #ff6d35;
}

.centro-docenti-v2-copy .btn.btn-primary:hover {
  background: #e15a24;
  border-color: #e15a24;
}

.centro-docenti-v2-copy .btn.btn-ghost {
  border-color: rgba(255, 255, 255, 0.92);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.centro-docenti-v2-copy .btn.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.centro-docenti-v2-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

.centro-docenti-v2-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.centro-docenti-v2-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.centro-docenti-v2-kpi {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background: #fff;
}

.centro-docenti-v2-kpi strong {
  display: block;
  margin: 0 0 6px;
  color: #17273d;
  font-size: 0.94rem;
  line-height: 1.3;
}

.centro-docenti-v2-kpi span {
  display: block;
  color: #5d6878;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-docenti-v2-section h3 {
  margin: 0 0 8px;
  color: #1a2a3e;
  font-size: clamp(1.24rem, 1.95vw, 1.62rem);
  padding-top: 25px;
}

.centro-docenti-v2-section p {
  margin: 0;
}

.centro-docenti-v2-steps {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centro-docenti-v2-step {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background: #f7fbff;
}

.centro-docenti-v2-step h4 {
  margin: 0 0 8px;
  color: #213349;
  font-size: 1rem;
}

.centro-docenti-v2-step p {
  color: #5c6777;
  font-size: 0.9rem;
  line-height: 1.5;
}

.centro-docenti-v2-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centro-docenti-v2-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d8e1ec;
  background: #f8fbff;
}

.centro-docenti-v2-card h4 {
  margin: 0 0 8px;
  color: #1e3045;
  font-size: 1rem;
}

.centro-docenti-v2-card p {
  margin: 0;
  color: #5b6676;
  font-size: 0.9rem;
  line-height: 1.52;
}

.centro-docenti-v2-process {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d8e2ee;
  background: #f9fcff;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  gap: 14px;
  align-items: center;
}

.centro-docenti-v2-process-copy ul {
  margin-top: 10px;
}

.centro-docenti-v2-process-copy .style-guide-link-only {
  margin-top: 10px;
}

.centro-docenti-v2-process-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dbe4ee;
}

.centro-docenti-v2-process-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.centro-docenti-v2-cta {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #2c4868;
  background: #0f2f50;
  box-shadow: 0 16px 30px rgba(15, 36, 59, 0.2);
}

.centro-docenti-v2-cta h3 {
  margin: 0 0 8px;
  color: #ffffff !important;
}

.centro-docenti-v2-cta p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.95) !important;
}

.centro-docenti-v2-cta .btn.btn-primary {
  box-shadow: 0 10px 20px rgba(233, 83, 14, 0.28);
}

.centro-contact-v2 {
  display: grid;
  gap: 22px;
}

.centro-contact-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 14px;
  align-items: stretch;
  margin: calc(-1 * var(--centro-editorial-pad)) calc(-1 * var(--centro-editorial-pad)) 2px;
  padding: clamp(18px, 2.7vw, 28px);
  border: 0 !important;
  border-radius: 0 !important;
  background: #24354d;
}

.centro-contact-v2-copy .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
}

.centro-contact-v2-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.54rem, 2.9vw, 2.3rem);
  line-height: 1.1;
}

.centro-contact-v2-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.centro-contact-v2-meta {
  display: grid;
  gap: 10px;
}

.centro-contact-v2-meta-item {
  padding: 13px;
  border-radius: 14px;
  border: 1px solid #d4e0ec;
  background: #f5f9fd;
}

.centro-contact-v2-meta-item strong {
  display: block;
  margin: 0 0 6px;
  color: #1f3249;
  font-size: 0.9rem;
}

.centro-contact-v2-meta-item span {
  display: block;
  color: #334a63;
  font-size: 0.82rem;
  line-height: 1.45;
}

.centro-contact-v2-section h3 {
  margin: 0 0 8px;
  color: #1b2c40;
  font-size: clamp(1.22rem, 1.9vw, 1.58rem);
}

.centro-contact-v2-legal {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #dde5ef;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.centro-contact-v2-legal-copy p {
  margin: 0;
}

.centro-contact-v2-legal-copy p + p {
  margin-top: 8px;
}

.centro-contact-v2-legal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.centro-contact-v2-map-shell {
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  position: relative;
}

.centro-contact-v2-map-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.centro-contact-v2-map-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.centro-contact-v2-map-tab {
  border: 1px solid #d7e2ee;
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: #2a3f58;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.centro-contact-v2-map-tab.is-active,
#centro-contact-map-sgt:checked ~ .centro-contact-v2-map-tabs label[for="centro-contact-map-sgt"],
#centro-contact-map-brigida:checked ~ .centro-contact-v2-map-tabs label[for="centro-contact-map-brigida"] {
  border-color: #f3bb9b;
  color: #bf4d18;
  background: #fff5ee;
}

.centro-contact-v2-map-panel {
  display: none;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 12px;
  align-items: stretch;
}

#centro-contact-map-sgt:checked ~ .centro-contact-v2-map-panel[data-panel="sgt"],
#centro-contact-map-brigida:checked ~ .centro-contact-v2-map-panel[data-panel="brigida"] {
  display: grid;
}

.centro-contact-v2-map-card {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e3d9cd;
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.centro-contact-v2-map-card p {
  margin: 0;
  color: #3f4d5f;
  font-size: 0.9rem;
  line-height: 1.5;
}

.centro-contact-v2-map-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dde5ef;
}

.centro-contact-v2-map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.centro-contact-v2-form-wrap {
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.centro-contact-v2-flash {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.centro-contact-v2-flash.is-success {
  border: 1px solid #8ad0b2;
  background: #ebfaf3;
  color: #1f5f41;
}

.centro-contact-v2-flash.is-error {
  border: 1px solid #f1c5c5;
  background: #fff1f1;
  color: #8b3232;
}

.centro-contact-v2-flash p {
  margin: 0;
}

.centro-contact-v2-flash p + p {
  margin-top: 6px;
}

.centro-contact-v2-form {
  display: grid;
  gap: 10px;
}

.centro-contact-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.centro-contact-v2-form label {
  display: grid;
  gap: 6px;
}

.centro-contact-v2-form label > span {
  color: #36485f;
  font-size: 0.84rem;
  font-weight: 700;
}

.centro-contact-v2-form input,
.centro-contact-v2-form textarea {
  width: 100%;
  border: 1px solid #d7e2ee;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  color: #22364f;
  background: #fff;
}

.centro-contact-v2-form input:focus,
.centro-contact-v2-form textarea:focus {
  outline: 0;
  border-color: #f3bb9b;
  box-shadow: 0 0 0 3px rgba(243, 187, 155, 0.16);
}

.centro-contact-v2-honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.centro-contact-v2-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.centro-contact-v2-form-actions p {
  margin: 0;
  color: #6a7685;
  font-size: 0.8rem;
}

.centro-contacts {
  display: grid;
  gap: 14px;
}

.centro-contacts-switch {
  --switch-index: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #ebd9c7;
  background: #ffffff;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.centro-contacts-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6d35, #ff8e5b);
  transform: translateX(calc(var(--switch-index) * 100%));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.centro-contacts-tab {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #4a433d;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 9px 16px;
  flex: 1 1 50%;
  width: 50%;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
  z-index: 1;
}

.centro-contacts-tab.is-active {
  color: #fff;
}

.centro-contacts-panel {
  border: 1px solid #ead8c7;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.centro-contacts-address {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4f473f;
  border-bottom: 1px solid #f2e3d6;
  background: #ffffff;
}

.centro-contacts-panel iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  border: 0;
}

@media (max-width: 980px) {
  .centro-editorial blockquote {
    grid-template-columns: 1fr;
  }

  .centro-labs-hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(255, 247, 238, 0.95), rgba(255, 247, 238, 0.95)),
      url('../media/images/13_reception.jpg') center / cover no-repeat;
  }

  .centro-labs-hero h2,
  .centro-labs-hero p {
    max-width: none;
  }

  .centro-labs-cover,
  .centro-labs-cards,
  .centro-labs-gallery {
    grid-template-columns: 1fr;
  }

  .centro-contacts-switch {
    flex-wrap: wrap;
    border-radius: 16px;
    justify-content: stretch;
  }

  .centro-contacts-tab {
    flex: 1 1 100%;
    text-align: center;
  }

  .centro-contacts-panel iframe {
    min-height: 360px;
  }
}

.legacy-content h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  margin-bottom: 8px;
}

.legacy-content h2 {
  font-size: clamp(1.2rem, 3.8vw, 1.7rem);
  color: #2b221b;
}

.legacy-content p,
.legacy-content li {
  line-height: 1.65;
  color: #3f3a34;
}

.legacy-content ul {
  padding-left: 20px;
}

.legacy-content figure.left,
.legacy-content figure.right {
  display: inline-block;
  width: calc(50% - 8px);
  vertical-align: top;
}

.legacy-content figure.right {
  margin-left: 12px;
}

.legacy-content blockquote {
  margin: 20px 0;
  padding: 16px;
  border-left: 4px solid #ffb184;
  background: #ffffff;
  border-radius: 8px;
}

.legacy-content .button,
.legacy-content a.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border: 0;
}

.legacy-content iframe {
  min-height: 380px;
  border: 0;
}

.stats-dashboard {
  display: grid;
  gap: 16px;
}

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats-kpi-card {
  border-radius: 16px;
  border: 1px solid transparent;
  background: #fff;
  padding: 14px;
}

.stats-kpi-grid .stats-kpi-card:nth-child(1) {
  background: #d5ebe8;
  border-color: #b8dcd7;
}

.stats-kpi-grid .stats-kpi-card:nth-child(2) {
  background: #efdfe7;
  border-color: #e4c7d6;
}

.stats-kpi-grid .stats-kpi-card:nth-child(3) {
  background: #f5e9dd;
  border-color: #ecd6c0;
}

.stats-kpi-grid .stats-kpi-card:nth-child(4) {
  background: #dbe2f4;
  border-color: #c8d3ee;
}

.stats-kpi-label {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #897b6f;
  font-weight: 700;
}

.stats-kpi-value {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1f1915;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.stats-card {
  border-radius: 18px;
  border: 1px solid #efddcf;
  background: #fff;
  padding: 16px;
  grid-column: span 6;
}

.stats-card-full {
  grid-column: span 12;
}

.stats-card-tight {
  grid-column: span 4;
}

.stats-card-note {
  grid-column: span 8;
  background:
    linear-gradient(145deg, #171717, #2b2b2b);
  border-color: #2f2f2f;
}

.stats-card-note .stats-card-head h2,
.stats-card-note .stats-insights li {
  color: #fff;
}

.stats-card-head {
  margin-bottom: 12px;
}

.stats-card-head h2 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  letter-spacing: -0.01em;
}

.stats-card-head p {
  margin: 4px 0 0;
  color: #7e7368;
  font-size: 0.86rem;
}

.stats-line-chart {
  display: block;
  width: 100%;
  height: auto;
}

.stats-line-wrap {
  margin: 0 -16px -10px;
  padding: 0 16px 14px;
}

.stats-card-trend {
  padding: 0;
  overflow: hidden;
}

.stats-card-trend .stats-card-head {
  padding: 16px 16px 0;
  margin-bottom: 10px;
}

.stats-card-trend .stats-line-wrap {
  margin: 0;
  padding: 0 0 14px;
}

.stats-bars {
  display: grid;
  gap: 8px;
}

.stats-bar-row {
  display: grid;
  gap: 5px;
}

.stats-bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: #5f574f;
}

.stats-bar-meta strong {
  color: #1f1814;
}

.stats-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #f3ece4;
  overflow: hidden;
}

.stats-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.stats-bar-fill-brand {
  background: linear-gradient(90deg, #ff5a1f, #ffb186);
}

.stats-bar-fill-ink {
  background: linear-gradient(90deg, #1f1f1f, #5e5e5e);
}

.stats-donut-wrap {
  position: relative;
  width: min(240px, 100%);
  margin: 0 auto;
}

.stats-donut {
  display: block;
  width: 100%;
  height: auto;
}

.stats-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.stats-donut-center strong {
  font-size: 1.7rem;
  line-height: 1;
}

.stats-donut-center span {
  font-size: 0.82rem;
  color: #7d7369;
  margin-top: 3px;
}

.stats-legend {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.stats-legend-item {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
}

.stats-legend-item i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.stats-legend-item span {
  color: #5e554d;
}

.stats-legend-item strong {
  color: #1f1814;
}

.stats-insights {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.stats-insights code {
  color: #ffd4bf;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

.stats-empty {
  margin: 0;
  color: #7f7468;
  font-size: 0.9rem;
}

.stats-notes {
  margin-top: 6px;
  color: #8f877f;
  font-size: 0.72rem;
  line-height: 1.45;
}

.stats-notes p {
  margin: 0 0 4px;
}

.stats-notes code {
  color: #8f877f;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: inherit;
}

.stats-line-tooltip {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  background: rgba(21, 21, 21, 0.95);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: min(260px, 70vw);
}

.stats-line-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stats-dashboard.stats-pro {
  gap: 18px;
}

.stats-dashboard.stats-pro .stats-pro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(220px, 0.88fr);
  gap: 14px;
  margin: -24px -24px 0;
  padding: clamp(18px, 2.7vw, 30px);
  border: 0;
  border-radius: 0;

}

.stats-dashboard.stats-pro .stats-pro-hero-copy .kicker {
  margin: 0 0 8px;
  color: #8e4d26;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-dashboard.stats-pro .stats-pro-hero-copy h2 {
  margin: 0 0 10px;
  color: #16283f;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.08;
}

.stats-dashboard.stats-pro .stats-pro-hero-copy p {
  margin: 0;
  color: #45596f;
}

.stats-dashboard.stats-pro .stats-pro-hero-badge {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d8e3ef;
  background: #fff;
}

.stats-dashboard.stats-pro .stats-pro-hero-badge strong {
  color: #162c44;
  font-size: 1.06rem;
  line-height: 1.1;
}

.stats-dashboard.stats-pro .stats-pro-hero-badge span {
  color: #5a6f84;
  font-size: 0.86rem;
}

.stats-dashboard.stats-pro .stats-kpi-card {
  border: 0;
  box-shadow: 0 14px 24px rgba(18, 37, 58, 0.08);
}

.stats-dashboard.stats-pro .stats-kpi-grid .stats-kpi-card:nth-child(1) {
  background: #16a085;
}

.stats-dashboard.stats-pro .stats-kpi-grid .stats-kpi-card:nth-child(2) {
  background: #e9530e;
}

.stats-dashboard.stats-pro .stats-kpi-grid .stats-kpi-card:nth-child(3) {
  background: #1f4f7d;
}

.stats-dashboard.stats-pro .stats-kpi-grid .stats-kpi-card:nth-child(4) {
  background: #2a2f39;
}

.stats-dashboard.stats-pro .stats-kpi-label,
.stats-dashboard.stats-pro .stats-kpi-value {
  color: #fff;
}

.stats-dashboard.stats-pro .stats-kpi-label {
  opacity: 0.85;
}

.stats-dashboard.stats-pro .stats-grid {
  gap: 14px;
}

.stats-dashboard.stats-pro .stats-card-live {
  border: 0;
  box-shadow: 0 16px 28px rgba(17, 33, 51, 0.08);
  background: #fff;
}

.stats-dashboard.stats-pro .stats-card-live .stats-card-head h2 {
  color: #17283d;
}

.stats-dashboard.stats-pro .stats-card-live .stats-card-head p {
  color: #617286;
}

.stats-dashboard.stats-pro .stats-card-full.stats-card-live {
  background: #f9fcff;
}

.stats-dashboard.stats-pro .stats-card-full.stats-card-live .stats-card-head {
  padding: 18px 18px 0;
}

.stats-dashboard.stats-pro .stats-bar-track {
  background: #e7eef6;
}

.stats-dashboard.stats-pro .stats-bar-fill-brand {
  background: linear-gradient(90deg, #ff5a1f, #ff8f5f);
}

.stats-dashboard.stats-pro .stats-bar-fill-ink {
  background: linear-gradient(90deg, #1f4f7d, #6d8dab);
}

.stats-dashboard.stats-pro .stats-donut-center strong {
  color: #17293f;
}

.stats-dashboard.stats-pro .stats-donut-center span {
  color: #617286;
}

.stats-dashboard.stats-pro .stats-notes-pro {
  margin-top: 4px;
  padding: 16px;
  border-radius: 16px;

}

.stats-dashboard.stats-pro .stats-notes-pro-head .kicker {
  margin: 0 0 8px;
  color: #2f5c84;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-dashboard.stats-pro .stats-notes-pro-head h3 {
  margin: 0;
  color: #1b2d43;
  font-size: clamp(1.14rem, 1.85vw, 1.5rem);
  line-height: 1.18;
}

.stats-dashboard.stats-pro .stats-notes-pro-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stats-dashboard.stats-pro .stats-notes-pro-grid article {
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d9e5f1;
}

.stats-dashboard.stats-pro .stats-notes-pro-grid strong {
  display: block;
  margin: 0 0 6px;
  color: #1a3048;
  font-size: 0.86rem;
}

.stats-dashboard.stats-pro .stats-notes-pro-grid p {
  margin: 0;
  color: #596f85;
  font-size: 0.8rem;
  line-height: 1.5;
}

.stats-dashboard.stats-pro .stats-notes-pro-grid code {
  color: #2b567d;
  font-size: inherit;
}

@media (max-width: 980px) {
  .stats-dashboard.stats-pro .stats-pro-hero {
    grid-template-columns: 1fr;
    margin: -24px -24px 0;
    padding: 18px;
  }

  .stats-dashboard.stats-pro .stats-notes-pro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .stats-dashboard.stats-pro .stats-notes-pro-grid {
    grid-template-columns: 1fr;
  }
}

.about-shell .editorial {
  background:
    linear-gradient(180deg, #ffffff, #fffdf9);
}

.about-v2-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: stretch;
  box-shadow: none;
}

.about-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../media/images/about.jpg');
  background-position: center right;
  z-index: 0;
}

.about-v2-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* maschera bianca netta sul bordo inferiore per eliminare il segno */
    linear-gradient(0deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,1) 10px,
        rgba(255,255,255,0) 34px
    ),

    /* fade principale da sinistra (bianco) verso destra (trasparente) */
    linear-gradient(90deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.98) 30%,
        rgba(255,255,255,0.85) 45%,
        rgba(255,255,255,0.55) 60%,
        rgba(255,255,255,0.25) 75%,
        rgba(255,255,255,0.08) 90%,
        rgba(255,255,255,0) 100%
    ),

    /* fade alto */
    linear-gradient(180deg,
        rgba(255,255,255,0.75) 0%,
        rgba(255,255,255,0.42) 10%,
        rgba(255,255,255,0.16) 18%,
        rgba(255,255,255,0) 34%,
        rgba(255,255,255,0) 66%,
        rgba(255,255,255,0.16) 82%,
        rgba(255,255,255,0.42) 90%,
        rgba(255,255,255,0.75) 100%
    ),

    /* fade lato destro */
    linear-gradient(270deg,
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,0.54) 10%,
        rgba(255,255,255,0.28) 20%,
        rgba(255,255,255,0.12) 32%,
        rgba(255,255,255,0) 54%
    ),

    /* angolo alto destro */
    radial-gradient(circle at top right,
        rgba(255,255,255,0.78) 0%,
        rgba(255,255,255,0.34) 20%,
        rgba(255,255,255,0) 44%
    ),

    /* angolo basso destro */
    radial-gradient(circle at bottom right,
        rgba(255,255,255,0.55) 0%,
        rgba(255,255,255,0.18) 18%,
        rgba(255,255,255,0) 42%
    );
  z-index: 1;
}

.about-v2-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 68%);
  padding: 26px;
  background: transparent;
}

.about-v2-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d5e0eb;
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.about-v2-copy h1:not(.style-guide-heading-h1) {
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.about-v2-copy p:not(.style-guide-body) {
  margin: 0 0 12px;
  color: #4b443d;
  line-height: 1.5;
  font-size: 0.96rem;
  font-weight: 400;
}

.about-v2-copy p:last-child {
  margin-bottom: 0;
}

.about-v2-stats {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-v2-stats article {
  border-radius: 18px;
  border: 1px solid #d6e3ef;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 22px rgba(19, 36, 59, 0.08);
}

.about-v2-stats strong:not(.style-guide-heading-h4) {
  display: block;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #13243b;
  font-weight: 700;
}

.about-v2-stats span:not(.style-guide-body) {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #31445a;
  font-weight: 400;
  line-height: 1.4;
}

.about-v2-stat-with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
}

.about-v2-stat-with-logo .about-v2-stat-copy {
  min-width: 0;
  text-align: center;
}

.about-v2-stat-with-logo img {
  order: -1;
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.about-v2-stat-with-logo img.about-v2-logo-eipass {
  height: 58px;
  max-width: 100%;
}

.about-v2-mv {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.about-v2-mv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: center;
  margin-top: 0;
  padding: 14px;
  border: 1px solid #e4d9cc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(22, 34, 48, 0.08);
}

.about-v2-mv-row.about-v2-mv-row-reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.about-v2-mv-copy h2:not(.style-guide-heading-h2) {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
}

.about-v2-mv-copy p:not(.style-guide-body) {
  margin: 0;
  color: #4a4239;
  line-height: 1.62;
  font-size: 1rem;
  font-weight: 400;
}

.about-v2-mv-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dde7f1;
  min-height: 280px;
}

.about-v2-mv-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-v2-method {
  margin-top: 24px;
  border: 1px solid #dce6f0;
  border-radius: 20px;
  background: #f7fbff;
  padding: 18px;
}

.about-v2-section-head h2:not(.style-guide-heading-h2) {
  margin: 0;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 700;
}

.about-v2-section-head p:not(.style-guide-body) {
  margin: 8px 0 0;
  color: #62584f;
  line-height: 1.55;
  font-weight: 400;
}

.about-v2-method-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-v2-method-card {
  border-radius: 16px;
  border: 1px solid #dbe7f2;
  background: #fff;
  padding: 15px;
  box-shadow: 0 10px 20px rgba(17, 34, 52, 0.06);
}

.about-v2-method-card h3:not(.style-guide-heading-h3) {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
}

.about-v2-method-card p:not(.style-guide-body) {
  margin: 0;
  color: #61584e;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 400;
}

.about-v3 {
  display: grid;
  gap: 18px;
}

.about-v3-hero {
  margin: -24px -24px 0;
  padding: clamp(20px, 3vw, 34px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(19, 36, 59, 0.14) 0%, rgba(19, 36, 59, 0) 56%),
    linear-gradient(152deg, #f8fbff 0%, #ffffff 70%);
}

.about-v3-hero .kicker {
  margin: 0 0 8px;
  color: #2f5b84;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-v3-hero h1:not(.style-guide-heading-h1) {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.06;
  color: #17283d;
}

.about-v3-hero p:not(.style-guide-body) {
  margin: 0;
  max-width: 860px;
  color: #44596f;
}

.about-v3-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.about-v3-proof article {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid #d8e4f0;
  background: #fff;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.about-v3-proof article img {
  width: auto;
  height: 54px;
  max-width: 100%;
  object-fit: contain;
}

.about-v3-proof article .about-v2-logo-eipass {
  height: 48px;
}

.about-v3-proof article strong {
  color: #162c44;
  font-size: 0.86rem;
  line-height: 1.25;
}

.about-v3-proof article span {
  color: #5c7086;
  font-size: 0.78rem;
  line-height: 1.4;
}

.about-v3-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  gap: 12px;
}

.about-v3-story-main {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d7e4f0;
  background: #f8fbff;
}

.about-v3-story-main h2:not(.style-guide-heading-h2) {
  margin: 0 0 10px;
  color: #1c2f47;
}

.about-v3-story-main p:not(.style-guide-body) {
  margin: 0;
  color: #4e6278;
}

.about-v3-story-main p + p {
  margin-top: 10px;
}

.about-v3-story-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d7e4f0;
}

.about-v3-story-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.about-v3-method {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d8e4f0;
  background: #fff;
}

.about-v3-method-head h2:not(.style-guide-heading-h2) {
  margin: 0;
  color: #182a40;
}

.about-v3-method-head p:not(.style-guide-body) {
  margin: 8px 0 0;
  color: #586c82;
}

.about-v3-method-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-v3-method-grid article {
  padding: 13px;
  border-radius: 12px;
  background: #f6faff;
}

.about-v3-method-grid article strong {
  display: block;
  margin: 0 0 6px;
  color: #17314d;
  font-size: 0.9rem;
}

.about-v3-method-grid article span {
  display: block;
  color: #597087;
  font-size: 0.82rem;
  line-height: 1.45;
}

.about-reboot {
  display: grid;
  gap: 16px;
}

.about-reboot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 12px;
  margin: -24px -24px 0;
  padding: clamp(20px, 3vw, 32px);
  border: 0;
  border-radius: 0;

}

.about-reboot-hero .kicker {
  margin: 0 0 8px;
  color: (rgba(255, 255, 255, 0.84));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-reboot-hero h1:not(.style-guide-heading-h1) {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.72rem, 3.3vw, 2.56rem);
  line-height: 1.05;
}

.about-reboot-hero p:not(.style-guide-body) {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 860px;
}

.about-reboot-hero-side {
  display: grid;
  gap: 8px;
  align-content: center;
}

.about-reboot-hero-side article {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.about-reboot-hero-side strong {
  display: block;
  margin: 0 0 5px;
  font-size: 0.9rem;
}

.about-reboot-hero-side span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.35;
}

.about-reboot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.about-reboot-panel {
  border-radius: 14px;
  padding: 14px;
}

.about-reboot-panel h2:not(.style-guide-heading-h2) {
  margin: 0 0 8px;
}

.about-reboot-panel p:not(.style-guide-body) {
  margin: 0;
}

.about-reboot-panel-dark {
  grid-column: span 7;

}

.about-reboot-panel-dark h2:not(.style-guide-heading-h2),
.about-reboot-panel-dark p:not(.style-guide-body) {
  color: #fff;
}

.about-reboot-panel-light {
  grid-column: span 5;

}

.about-reboot-panel-light h2:not(.style-guide-heading-h2) {
  color: #1d2f45;
}

.about-reboot-panel-light p:not(.style-guide-body) {
  color: #566a80;
}

.about-reboot-media {
  grid-column: span 12;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d7e3ee;
}

.about-reboot-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.about-reboot-proof {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.about-reboot-proof article {
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dae5ef;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.about-reboot-proof article img {
  width: auto;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
}

.about-reboot-proof article strong {
  color: #22364e;
  font-size: 0.78rem;
  line-height: 1.25;
}

.about-reboot-method {
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dae5ef;
}

.about-reboot-method h2:not(.style-guide-heading-h2) {
  margin: 0 0 10px;
  color: #162c45;
}

.about-reboot-method-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.about-reboot-method-track article {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f9fd;
}

.about-reboot-method-track article strong {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #183b60;
  color: #fff;
  font-size: 0.76rem;
}

.about-reboot-method-track article span {
  color: #4e647b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.about-v2-cert {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid #dde7f1;
  background: #12263f;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
  align-items: center;
  box-shadow: 0 18px 30px rgba(13, 24, 38, 0.2);
}

.about-v2-cert-copy h2:not(.style-guide-heading-h2) {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  font-weight: 700;
}

.about-v2-cert-copy .style-guide-heading-h2 {
  color: #fff;
}

.about-v2-cert-copy p:not(.style-guide-body) {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
  font-weight: 400;
}

.about-v2-cert-copy .style-guide-body {
  color: rgba(255, 255, 255, 0.9);
}

.about-v2-cert-copy .btn {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.about-v2-cert-copy .btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.about-v2-cert-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.about-v2-cert-media img {
  width: 100%;
  display: block;
}

.about-v2-contact-hero {
  margin-top: 22px;
  border-radius: 22px;
  border: 1px solid #dbe6f2;
  background:
    radial-gradient(110% 140% at 8% 8%, rgba(255, 164, 110, 0.18) 0%, rgba(255, 164, 110, 0) 58%),
    linear-gradient(145deg, #10253f 0%, #173557 52%, #1f4871 100%);
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
  gap: 14px;
  align-items: stretch;
  box-shadow: 0 18px 30px rgba(13, 24, 38, 0.2);
}

.about-v2-contact-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-v2-contact-hero-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.1;
}

.about-v2-contact-hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.about-v2-contact-hero-copy .hero-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.about-v2-contact-hero-copy .btn.btn-primary {
  background: #ff6d35;
  border-color: #ff6d35;
}

.about-v2-contact-hero-copy .btn.btn-primary:hover {
  background: #e15a24;
  border-color: #e15a24;
}

.about-v2-contact-hero-copy .style-guide-link-only {
  color: #ffd7c3;
}

.about-v2-contact-hero-copy .style-guide-link-only:hover {
  color: #fff;
}

.about-v2-contact-hero-side {
  display: grid;
  gap: 8px;
}

.about-v2-contact-hero-side article {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.about-v2-contact-hero-side strong {
  display: block;
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.about-v2-contact-hero-side span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.83rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .centro-layout {
    grid-template-columns: 1fr;
  }

  .centro-menu {
    display: none;
  }

  .legacy-content figure.left,
  .legacy-content figure.right {
    display: block;
    width: 100%;
    margin-left: 0;
  }

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

  .stats-card,
  .stats-card-tight,
  .stats-card-note {
    grid-column: span 12;
  }

  .about-v2-hero,
  .about-v2-cert,
  .about-v2-contact-hero {
    grid-template-columns: 1fr;
  }

  .about-v2-hero {
    min-height: 360px;
  }

  .about-v2-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 46%, rgba(255, 255, 255, 0.58) 70%, rgba(255, 255, 255, 0.3) 100%);
  }

  .about-v2-copy {
    width: 100%;
    padding: 22px;
  }

  .about-v2-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-v2-mv-row,
  .about-v2-mv-row.about-v2-mv-row-reverse {
    grid-template-columns: 1fr;
  }

  .about-v2-mv-media {
    min-height: 230px;
  }

  .about-v2-method-grid {
    grid-template-columns: 1fr;
  }

  .about-v3-hero {
    margin: -24px -24px 0;
    padding: 18px;
  }

  .about-v3-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-v3-story {
    grid-template-columns: 1fr;
  }

  .about-v3-story-media img {
    min-height: 220px;
  }

  .about-v3-method-grid {
    grid-template-columns: 1fr;
  }

  .about-reboot-hero {
    grid-template-columns: 1fr;
    margin: -24px -24px 0;
    padding: 18px;
  }

  .about-reboot-grid {
    grid-template-columns: 1fr;
  }

  .about-reboot-panel-dark,
  .about-reboot-panel-light,
  .about-reboot-media {
    grid-column: auto;
  }

  .about-reboot-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-reboot-method-track {
    grid-template-columns: 1fr;
  }

  .centro-hub-hero {
    padding: 18px;
    margin-left: calc(-1 * var(--centro-editorial-pad));
    margin-right: calc(-1 * var(--centro-editorial-pad));
  }

  .centro-hub-hero-media {
    float: none;
    width: 100%;
    margin: 0 0 14px;
    height: auto;
  }

  .centro-hub-hero-media img {
    height: auto;
  }

  .centro-hub-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .centro-hub-cards,
  .centro-hub-links {
    grid-template-columns: 1fr;
  }

  .centro-fad-band {
    grid-template-columns: 1fr;
  }

  .centro-labs-v2-hero {
    grid-template-columns: 1fr;
    padding: 18px;
    margin-left: calc(-1 * var(--centro-editorial-pad));
    margin-right: calc(-1 * var(--centro-editorial-pad));
  }

  .centro-labs-v2-hero-media img {
    min-height: 210px;
  }

  .centro-labs-v2-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .centro-labs-v2-grid {
    column-count: 1;
    column-gap: 0;
  }

  .centro-labs-v2-cta-alt {
    grid-template-columns: 1fr;
  }

  .centro-labs-v2-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .centro-labs-v2-gallery figure.is-wide {
    grid-column: span 2;
  }

  .centro-docenti-v2-hero {
    grid-template-columns: 1fr;
    padding: 18px;
    margin-left: calc(-1 * var(--centro-editorial-pad));
    margin-right: calc(-1 * var(--centro-editorial-pad));
  }

  .centro-docenti-v2-media img {
    min-height: 210px;
  }

  .centro-docenti-v2-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .centro-docenti-v2-steps,
  .centro-docenti-v2-grid {
    grid-template-columns: 1fr;
  }

  .centro-docenti-v2-process {
    grid-template-columns: 1fr;
  }

  .centro-docenti-v2-process-media img {
    min-height: 190px;
  }

  .centro-contact-v2-hero {
    grid-template-columns: 1fr;
    padding: 18px;
    margin-left: calc(-1 * var(--centro-editorial-pad));
    margin-right: calc(-1 * var(--centro-editorial-pad));
  }

  .centro-contact-v2-legal {
    grid-template-columns: 1fr;
  }

  .centro-contact-v2-map-panel {
    grid-template-columns: 1fr;
  }

  .centro-contact-v2-map-frame iframe {
    min-height: 260px;
  }

  .centro-contact-v2-grid {
    grid-template-columns: 1fr;
  }
}

.news-grid {
  column-count: 3;
  column-gap: 14px;
}

.news-grid-skeleton {
  margin-top: 14px;
  column-count: 3;
  column-gap: 14px;
}

.news-grid-sentinel {
  height: 1px;
}

.course-grid-skeleton {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.course-grid-sentinel {
  height: 1px;
}

.style-guide-public-shell .container {
  width: min(1200px, calc(100% - 40px));
}

.style-guide-public-shell {
  --sg-h1: clamp(2.7rem, 4.8vw, 3.6rem);
  --sg-h2: clamp(2.1rem, 3.8vw, 2.9rem);
  --sg-h3: clamp(1.7rem, 3vw, 2.2rem);
  --sg-h4: clamp(1.2rem, 2.2vw, 1.5rem);
  --sg-font-body: 1rem;
  --sg-font-caption: 0.8125rem;
}

.style-guide-public-shell h1 {
  font-size: var(--sg-h1);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

.style-guide-public-shell h2 {
  font-size: var(--sg-h2);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.style-guide-public-shell h3 {
  font-size: var(--sg-h3);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--ink);
}

.style-guide-public-shell h4 {
  font-size: var(--sg-h4);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
}

.style-guide-public-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.style-guide-public-head h1 {
  margin: 0;
}

.style-guide-public-head p {
  margin: 0;
  color: #5a6a7f;
}

.style-guide-public-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.style-guide-public-tab {
  border: 1px solid #d7e6f1;
  background: #fff;
  color: #203650;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.style-guide-public-tab.is-active {
  border-color: var(--brand);
  background: rgba(255, 90, 31, 0.08);
  color: var(--brand-dark);
}

.style-guide-public-object {
  margin-top: 20px;
}

.style-guide-public-object h2 {
  margin: 0;
}

.style-guide-public-object-help {
  margin: 6px 0 0;
  color: #5a6a7f;
}

.style-guide-object-head {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.style-guide-object-head h2 {
  margin: 0;
}

.style-guide-heading-h2 {
  margin: 0;
}

.style-guide-object-head-with-divider {
  margin-top: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d7e6f1;
}

.style-guide-public-preview {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #d7e6f1;
  border-radius: 14px;
  background: #fff;
}

.style-guide-public-preview-light {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.style-guide-public-preview-hero {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.style-guide-public-preview-hero .hero {
  margin-left: -16px;
  margin-right: -16px;
}

.style-guide-stats-strip-breakout {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid #e6e2d8;
  border-bottom: 1px solid #e6e2d8;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: transparent;
}

.style-guide-stats-strip-breakout-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.style-guide-stats-strip-02 {
  background: var(--brand);
  border-top-color: rgba(255, 255, 255, 0.42);
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

.style-guide-stats-strip-02 .home-stats-strip-inner {
  align-items: stretch;
}

.style-guide-stats-strip-02 .home-stats-strip-box {
  background: #fff;
  color: var(--brand-dark);
}

.style-guide-stats-strip-02 .home-stats-strip-box strong,
.style-guide-stats-strip-02 .home-stats-strip-box span {
  color: var(--brand-dark);
}

.style-guide-stats-strip-02 .home-stats-strip-link {
  color: #fff;
  align-self: flex-end;
}

.style-guide-stats-strip-02 .home-stats-strip-link:hover {
  color: #fff;
  opacity: 0.9;
}

.style-guide-public-preview-hero .hero-visual-frame {
  border-radius: 24px;
}

.sg-hero-slider-viewport {
  position: relative;
}

.sg-hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.sg-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sg-hero-slider-viewport {
  display: grid;
}

.sg-hero-slide .hero-grid {
  min-height: 0;
}

.sg-hero-slide .hero-visual-frame iframe,
.sg-hero-slide .hero-visual-frame video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.sg-hero-slide .hero-visual-frame video,
.sg-hero-slide .hero-visual-frame img {
  object-fit: cover;
}

.sg-hero-video-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #0f1a2b;
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sg-hero-video-mask.is-hidden {
  opacity: 0;
}

.sg-hero-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-hero-video-fallback.is-hidden {
  display: none;
}

.sg-hero-02-slider {
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.home-hero-02-slider {
  width: 100%;
  max-width: 100%;
  left: 0;
  transform: none;
}

.sg-hero-02-slider .sg-hero-slider-viewport {
  min-height: clamp(460px, 52vw, 640px);
}

.sg-hero-bg-slide {
  position: relative;
  min-height: clamp(460px, 52vw, 640px);
  display: block;
}

.sg-hero-bg-media,
.sg-hero-bg-overlay {
  position: absolute;
  inset: 0;
}

.sg-hero-bg-media {
  z-index: 1;
}

.sg-hero-bg-media img,
.sg-hero-bg-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-hero-bg-media video {
  pointer-events: none;
  object-position: center center;
}

.sg-hero-bg-overlay {
  display: block;
  z-index: 2;
  background: linear-gradient(
    100deg,
    rgba(8, 17, 32, 0.62) 0%,
    rgba(8, 17, 32, 0.52) 45%,
    rgba(8, 17, 32, 0.62) 100%
  );
}

.sg-hero-bg-content {
  position: relative;
  z-index: 3;
  min-height: clamp(460px, 52vw, 640px);
  display: flex;
  align-items: center;
}

.sg-hero-bg-content.is-right {
  justify-content: flex-end;
}

.sg-hero-bg-content.is-left {
  justify-content: flex-start;
}

.sg-hero-bg-text {
  width: min(560px, calc(100% - 12px));
}

.sg-hero-bg-text .kicker,
.sg-hero-bg-text h1,
.sg-hero-bg-text p {
  color: #fff;
  text-shadow: none;
}

.home-hero-02-slider .sg-hero-bg-text .kicker,
.home-hero-02-slider .sg-hero-bg-text h1,
.home-hero-02-slider .sg-hero-bg-text h2,
.home-hero-02-slider .sg-hero-bg-text p,
.home-hero-02-slider .animate h1,
.home-hero-02-slider .animate p {
  color: #fff !important;
}

.sg-hero-bg-text p {
  opacity: 0.94;
}

.sg-hero-02-slider .btn-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.sg-hero-02-slider .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.sg-hero-02-slider .sg-hero-slider-dot {
  background: rgba(255, 255, 255, 0.45);
}

.sg-hero-02-slider .sg-hero-slider-dot.is-active {
  background: var(--brand);
}

.sg-hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.sg-hero-slider-dot {
  appearance: none;
  border: 0;
  background: rgba(19, 36, 59, 0.25);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.sg-hero-slider-dot.is-active {
  background: var(--brand);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .sg-hero-bg-content {
    padding-top: 42px;
    align-items: flex-start;
  }

  .sg-hero-bg-content.is-right,
  .sg-hero-bg-content.is-left {
    justify-content: flex-start;
  }

  .sg-hero-bg-text {
    width: min(100%, 560px);
  }
}

@media (max-width: 640px) {
  .home-hero-02-slider .sg-hero-bg-text .kicker {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }

  .home-hero-02-slider .sg-hero-bg-text h1,
  .home-hero-02-slider .sg-hero-bg-text h2 {
    font-size: clamp(1.42rem, 5.2vw, 1.72rem);
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .home-hero-02-slider .sg-hero-bg-text p {
    font-size: 0.9rem;
    line-height: 1.36;
    margin-bottom: 14px;
  }
}

.style-guide-slider-shell {
  overflow: hidden;
}

.style-guide-slider-track {
  will-change: transform;
}

.style-guide-blog-slider {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.style-guide-blog-card {
  flex: 0 0 calc((100% - 32px) / 3);
  border: 1px solid #d7e6f1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.style-guide-blog-card-media {
  margin: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.style-guide-blog-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.44), rgba(8, 14, 24, 0.44));
  background-size: 3px 3px, 4px 4px, 5px 5px, 100% 100%;
}

.style-guide-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.style-guide-blog-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.style-guide-blog-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.style-guide-blog-card-body p {
  margin: 0;
  color: #4f6178;
}

.style-guide-blog-card-link {
  margin-top: auto;
  width: 100%;
  justify-content: flex-end;
  color: var(--brand-dark);
  font-weight: 600;
}

.style-guide-maxi-badge {
  border-radius: 18px;
  background: var(--brand);
  padding: 20px;
}

.style-guide-maxi-badge h3,
.style-guide-maxi-badge h4 {
  margin: 0;
  color: #fff;
}

.style-guide-maxi-badge-course-title {
  margin: 0;
}

.style-guide-maxi-badge-body {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 16px;
  align-items: center;
}

.style-guide-maxi-badge-copy {
  display: grid;
  gap: 10px;
}

.style-guide-maxi-badge-desc,
.style-guide-maxi-badge-deadline {
  margin: 0;
  color: #fff;
}

.style-guide-maxi-badge-deadline {
  font-weight: 700;
}

.style-guide-maxi-badge-actions {
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

.style-guide-maxi-badge-cta.btn-ghost {
  border-color: rgba(255, 255, 255, 0.84);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.style-guide-maxi-badge-cta.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.style-guide-maxi-badge-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.style-guide-maxi-badge-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-guide-font-sample {
  display: grid;
  gap: 8px;
}

.style-guide-colors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.style-guide-color-item {
  border: 1px solid #d7e6f1;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  display: grid;
  gap: 6px;
}

.style-guide-color-swatch {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(19, 36, 59, 0.15);
}

.style-guide-color-item strong {
  font-size: 0.9rem;
  color: #1f334b;
}

.style-guide-color-item code {
  font-size: 0.8rem;
  color: #5b6b80;
}

.style-guide-font-sample h1,
.style-guide-font-sample h2,
.style-guide-font-sample h3,
.style-guide-font-sample h4 {
  margin: 0;
}

.style-guide-font-sample h1 {
  font-size: var(--sg-h1);
  line-height: 1.08;
}

.style-guide-font-sample h2 {
  font-size: var(--sg-h2);
  line-height: 1.1;
}

.style-guide-font-sample h3 {
  font-size: var(--sg-h3);
  line-height: 1.14;
}

.style-guide-font-lead {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.style-guide-font-caption {
  margin: 0;
  font-size: var(--sg-font-caption);
  color: #65758b;
}

.style-guide-font-weights p {
  margin: 0 0 8px;
  color: #34455a;
}

.style-guide-font-weights p:last-child {
  margin-bottom: 0;
}

.style-guide-font-ui-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.style-guide-font-ui-stack {
  display: grid;
  gap: 12px;
}

.style-guide-btn-large {
  font-size: 1rem;
  padding: 10px 22px;
}

.style-guide-btn-medium {
  font-size: 0.92rem;
  padding: 8px 18px;
  cursor:pointer;
}

.style-guide-btn-small {
  font-size: 0.82rem;
  padding: 6px 14px;
}

.style-guide-link-only {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  text-decoration: none;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  margin-left: auto;
  transition: color 0.2s ease;
}

.style-guide-font-ui-row .style-guide-link-only {
  margin-left: 0;
}

.style-guide-link-only svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.style-guide-link-only:hover {
  color: var(--brand-dark);
}

.style-guide-link-only:hover svg {
  transform: translateX(4px);
}

.style-guide-link-only-large {
  font-size: 1.02rem;
}

.style-guide-link-only-medium {
  font-size: 0.95rem;
}

.style-guide-link-only-small {
  font-size: 0.86rem;
}

.style-guide-link-only-section {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.style-guide-font-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #d7e6f1;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1f334b;
}

.style-guide-font-micro {
  font-size: 0.78rem;
  color: #64748b;
}

.style-guide-accordion {
  display: grid;
  gap: 10px;
}

.style-guide-accordion details {
  border: 1px solid #d7e6f1;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  transition: color 0.2s ease;
}

.style-guide-accordion.style-guide-accordion-light details {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 10px 15px;
  border-bottom: 1px solid #d7e6f1;
}

.style-guide-accordion.style-guide-accordion-light details:first-child {
  border-top: 0;
}

.style-guide-accordion.style-guide-accordion-light details:last-child {
  border-bottom: 0;
}

.style-guide-accordion.style-guide-accordion-light details:hover,
.style-guide-accordion.style-guide-accordion-light details[open] {
  background: rgba(255, 90, 31, 0.08);
}

.style-guide-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: #203650;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

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

.style-guide-accordion summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-dark);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1;
}

.style-guide-accordion details[open] summary::after {
  content: "−";
}

.style-guide-accordion details:hover summary,
.style-guide-accordion details[open] summary {
  color: var(--brand-dark);
}

.style-guide-accordion p {
  margin: 8px 0 0;
  color: #4f6178;
}

.style-guide-accordion-cta {
  margin: 10px 0 0;
}

.style-guide-media-block {
  margin: 0;
  border: 1px solid #d7e6f1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.style-guide-media-block img {
  width: 100%;
  display: block;
}

.style-guide-media-block figcaption {
  padding: 10px 12px;
  font-size: 0.86rem;
  color: #5a6a7f;
}

.style-guide-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.style-guide-gallery-grid img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid #d7e6f1;
}

.style-guide-gallery-masonry {
  column-count: 3;
  column-gap: 12px;
}

.style-guide-gallery-masonry img {
  width: 100%;
  display: block;
  margin: 0 0 12px;
  break-inside: avoid;
  border-radius: 10px;
  border: 1px solid #d7e6f1;
}

.style-guide-accordion-split {
  --sg-accordion-overlap: 88px;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  position: relative;
}

.style-guide-accordion-split-head {
  margin-bottom: 12px;
}

.style-guide-accordion-split-head h2 {
  margin: 0 0 8px;
  line-height: 1.2;
}

.style-guide-accordion-split-head p {
  margin: 0;
  color: #5b6b80;
}

.style-guide-accordion-split .home-services-item.is-open .home-services-item-toggle > span:first-child {
  font-weight: 800;
}

.style-guide-accordion-split .home-services-accordion {
  border-top: 0;
}

.style-guide-accordion-split .home-services-item:last-child {
  border-bottom: 0;
}

.style-guide-accordion-split .home-services-media {
  align-self: center;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.style-guide-accordion-split .home-services-media-placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.style-guide-accordion-split-square .home-services-media-placeholder {
  aspect-ratio: 1 / 1;
}

.style-guide-accordion-split-vertical {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
}

.style-guide-accordion-split-vertical .home-services-media-placeholder {
  aspect-ratio: 3 / 4;
}

.style-guide-accordion-split-content-box {
  border: 1px solid #d7e6f1;
  border-radius: 14px;
  padding: 22px 14px;
  background: #fff;
  position: relative;
  z-index: 1;
  margin-left: calc(-1 * var(--sg-accordion-overlap));
  padding-left: calc(14px + var(--sg-accordion-overlap));
  align-self: center;
}

.style-guide-accordion-split.style-guide-accordion-split-light .style-guide-accordion-split-content-box {
  border: 0;
}

.style-guide-accordion-split.style-guide-accordion-split-img-dx {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
}

.style-guide-accordion-split.style-guide-accordion-split-img-dx .home-services-media {
  order: 2;
}

.style-guide-accordion-split.style-guide-accordion-split-img-dx .style-guide-accordion-split-content-box {
  order: 1;
  margin-left: 0;
  margin-right: calc(-1 * var(--sg-accordion-overlap));
  padding-left: 14px;
  padding-right: calc(14px + var(--sg-accordion-overlap));
}

.style-guide-accordion-split.style-guide-accordion-split-vertical.style-guide-accordion-split-img-dx {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
}

@media (max-width: 980px) {
  .style-guide-accordion-split {
    grid-template-columns: 1fr;
  }

  .style-guide-accordion-split.style-guide-accordion-split-img-dx {
    display: grid;
    grid-template-columns: 1fr;
  }

  .style-guide-accordion-split .home-services-media {
    margin-top: 0;
    margin-bottom: 0;
  }

  .style-guide-accordion-split.style-guide-accordion-split-img-dx .home-services-media {
    order: 1;
  }

  .style-guide-accordion-split .home-services-media-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .style-guide-accordion-split-content-box {
    margin-left: 0;
    margin-right: 0;
    padding: 18px 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .style-guide-accordion-split.style-guide-accordion-split-img-dx .style-guide-accordion-split-content-box {
    order: 2;
    margin-right: 0;
    padding-right: 14px;
  }

  .style-guide-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .style-guide-gallery-masonry {
    column-count: 2;
  }

  .style-guide-blog-slider {
    gap: 14px;
  }

  .style-guide-blog-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .style-guide-maxi-badge-body {
    grid-template-columns: 1fr;
  }

  .style-guide-colors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .style-guide-gallery-masonry {
    column-count: 1;
  }

  .style-guide-blog-slider {
    gap: 12px;
  }

  .style-guide-blog-card {
    flex-basis: 100%;
  }
}

.news-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.news-card .image {
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
  height: 200px;
  line-height: 0;
}

.news-card .image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.44), rgba(8, 14, 24, 0.44));
  background-size: 3px 3px, 4px 4px, 5px 5px, 100% 100%;
}

.news-card-watermark {
  position: absolute;
  left: 10px;
  bottom: 20px;
  z-index: 3;
  pointer-events: none;
}

.news-card-watermark img {
  display: block;
  width: 100px;
  height: auto;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.news-card-date-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  background: var(--brand);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.news-card-date-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.news-card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.news-card-content h2.style-guide-heading-h2 {
  margin: 0 0 8px;
}

.news-card-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.news-card-title-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.news-card-content p {
  margin: 0;
}

.course-card-title {
  margin: 0 0 8px;
}

.course-card-title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.course-card-title-link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.news-card-content > p:not(.date):not(.tipo_corso) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.news-card .date,
.news-card .tipo_corso {
  color: #6d655c;
  font-size: 0.85rem;
}

.news-card .date {
  margin-top: 2px;
}

.news-go-btn {
  margin-top: auto;
  margin-bottom: 15px;
  width: 100%;
  justify-content: flex-end;
}

.news-back-link {
  margin-left: 0;
}

.news-back-link:hover svg {
  transform: translateX(-4px);
}

.news-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}

.news-tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e6f1;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.66rem;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  color: #4f6178;
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.news-tag-chip:hover {
  color: var(--brand);
  border-color: #f3bb9b;
}

.news-card-skeleton {
  pointer-events: none;
}

.course-card-skeleton {
  pointer-events: none;
}

.news-skeleton-block {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf3;
}

.news-skeleton-block::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.68) 50%, rgba(255,255,255,0) 100%);
  animation: newsSkeletonShimmer 1.15s ease-in-out infinite;
}

.news-skeleton-media {
  width: 100%;
  height: 200px;
  border-radius: 0;
}

.news-skeleton-title {
  width: 78%;
  height: 22px;
}

.news-skeleton-line {
  width: 100%;
  height: 14px;
}

.news-skeleton-line-short {
  width: 68%;
}

.news-skeleton-date {
  width: 42%;
  height: 13px;
}

.news-skeleton-link {
  width: 34%;
  height: 14px;
  margin-left: auto;
}

.course-skeleton-block {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf3;
}

.course-skeleton-block::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.68) 50%, rgba(255,255,255,0) 100%);
  animation: newsSkeletonShimmer 1.15s ease-in-out infinite;
}

.course-skeleton-media {
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: 0;
}

.course-skeleton-meta {
  width: 48%;
  height: 12px;
  margin-top: 4px;
}

.course-skeleton-title {
  width: 84%;
  height: 22px;
  margin-top: 8px;
}

.course-skeleton-line {
  width: 100%;
  height: 14px;
  margin-top: 8px;
}

.course-skeleton-line-short {
  width: 66%;
}

.course-skeleton-date {
  width: 42%;
  height: 13px;
  margin-top: 8px;
}

.course-skeleton-link {
  width: 34%;
  height: 14px;
  margin-top: 12px;
  margin-left: auto;
}

@keyframes newsSkeletonShimmer {
  100% { transform: translateX(100%); }
}

.news-article-page {
  max-width: 980px;
}

.news-article-shell {
  padding: 0 0 20px;
  border-radius: 18px;
  overflow: hidden;
}

.news-article-hero {
  position: relative;
  border: 0;
  border-radius: 0;
  min-height: 390px;
  margin: 0 0 20px;
  overflow: hidden;
  background: #fff;
}

.news-article-back {
  margin: 0;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.news-article-hero.has-image {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.94) 88%, #ffffff 100%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 50%, rgba(255, 255, 255, 0.88) 64%, rgba(255, 255, 255, 0.24) 82%, rgba(255, 255, 255, 0) 100%),
    var(--news-hero-image) right center / cover no-repeat;
}

.news-article-hero-copy {
  width: min(62%, 700px);
  padding: clamp(30px, 3.9vw, 50px);
  position: relative;
  z-index: 1;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-article-hero-copy h1 {
  margin: 0 0 10px;
  color: #1f1a16;
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.news-article-summary {
  margin: 0;
  color: #4c443d;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.55;
}

.news-article-summary > *:first-child {
  margin-top: 0;
}

.news-article-summary > *:last-child {
  margin-bottom: 0;
}

.news-article-author {
  margin: 8px 0 0;
  color: #6f655c;
  font-size: 0.86rem;
  font-weight: 600;
}

.news-article-content {
  color: #3f3933;
  max-width: min(680px, calc(100% - 220px));
  margin: 0 auto;
}

.news-article-content > *:first-child {
  margin-top: 0;
}

.news-article-content h2 {
  margin-top: 24px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.2;
}

.news-article-content p {
  font-size: 0.97rem;
  line-height: 1.72;
}

.news-article-content a {
  color: var(--brand);
  text-decoration-color: currentColor;
}

.news-article-content a:hover {
  color: var(--brand-dark);
}

.course-view-content a {
  color: var(--brand);
}

.course-view-content a:hover {
  color: var(--brand-dark);
}

.news-article-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  max-width: min(680px, calc(100% - 220px));
  margin-left: auto;
  margin-right: auto;
}

.news-article-meta-row {
  margin: 0;
  color: #5e554d;
  font-size: 0.88rem;
  line-height: 1.45;
}

.news-article-meta-row strong {
  color: #2c251f;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.news-article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-article-tag-list a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.76rem;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
}

.news-article-share-col {
  justify-self: end;
  text-align: right;
}

.news-article-share-icons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.news-article-share-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.news-article-share-icons a:hover {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.news-article-share-icons svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .news-grid {
    column-count: 1;
    column-gap: 0;
  }

  .news-grid-skeleton {
    column-count: 1;
    column-gap: 0;
  }

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

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-list .item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.news-list .item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px;
}

.news-list .item .image {
  display: block;
  margin: -12px -12px 10px;
}

.news-list .item .image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.fad-courses-list {
  gap: 16px;
}

.fad-courses-list .fad-course-item {
  display: flex;
  flex-direction: column;
}

.fad-courses-list .fad-course-item .image {
  margin: 0;
}

.fad-courses-list .fad-course-item .image img {
  height: 180px;
}

.fad-course-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.fad-courses-list .tipo_corso {
  margin: 0;
  color: #7d7265;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fad-course-title {
  margin: 0;
  color: #221d18;
  font-size: 1rem;
  line-height: 1.26;
}

.fad-course-summary {
  margin: 0;
  color: #5f554b;
  font-size: 0.8rem;
  line-height: 1.55;
}

.fad-course-footer {
  margin-top: 2px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
}

.fad-courses-list .date {
  margin: 0;
  color: #8b8073;
  font-size: 0.75rem;
}

.fad-go-btn {
  padding: 6px 11px;
  font-size: 0.72rem;
  line-height: 1;
  border-radius: 999px;
  border-color: #d3c3b2;
}

.fad-go-btn:hover {
  border-color: #bca58f;
}



.course-view-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.course-view-intro {
  margin: 0;
  max-width: 820px;
  flex: 1 1 auto;
}

.course-view-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.course-view-main {
  border-radius: 20px;

}

.course-view-kicker {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a14a24;
  font-weight: 700;
}

.course-view-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4.5vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #1b1612;
}

.course-view-summary {
  margin: 0;
  color: #5f554b;
  font-size: 1.02rem;
}

.course-view-hero {
  margin: -24px -24px 18px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  border: 0;
  position: relative;
  line-height: 0;
}

.course-view-hero > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.course-view-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.44), rgba(8, 14, 24, 0.44));
  background-size: 3px 3px, 4px 4px, 5px 5px, 100% 100%;
}

.course-view-hero-watermark {
  position: absolute;
  left: 12px;
  bottom: 20px;
  z-index: 3;
  pointer-events: none;
  width: 15%;
}

.course-view-hero-watermark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.course-view-hero-badges {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 6px;
}

.course-view-content {
  margin-bottom: 24px;
}

.course-modules h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.course-modules-grid {
  column-count: 2;
  column-gap: 12px;
}

.course-module-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 12px;
  display: inline-block;
  width: 100%;
  border: 1px solid #d5e0eb;
  border-radius: 14px;
  background: #f9f9f9;
  padding: 12px;
}

.course-module-index {
  margin: 0 0 6px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9e4f2c;
  font-weight: 700;
}

.course-module-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.course-module-desc {
  color: #4f463e;
  font-size: 0.9rem;
  line-height: 1.5;
}

.course-view-side {
  background: #ffffff;
  align-self: start;
  position: sticky;
  top: calc(var(--private-header-height, 72px) + 14px);
  padding: 24px;
  height: auto;
}

.course-view-side h2 {
  margin: 0 0 16px;
  color: #13243b;
  font-size: 1.25rem;
}

.course-view-back-slot {
  display: none;
  margin: 0 0 12px;
}

.course-view-side.is-stuck .course-view-back-slot {
  display: block;
}

.course-view-top .btn {
  min-width: 170px;
}

.course-view-side .btn.is-in-sidebar {
  width: 100%;
  justify-content: center;
  color: #13243b;
  border-color: #d5e0eb;
  background: #fff;
}

.course-view-side .btn.is-in-sidebar:hover {
  background: #fff;
  border-color: #d7ccb9;
}

.course-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.course-facts dt {
  color: #13243b;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 10px;
  opacity: 0.75;
}

.course-facts dd {
  margin: 0;
  color: #13243b;
  font-weight: 600;
}

.course-cta-wrap {
  margin-top: 18px;
}

.course-cta-wrap .btn.btn-ghost {
  background:var(--brand);
  color: #fff;
  border-color: transparent;
  width: 100%;
  justify-content: center;
}

.course-cta-wrap .btn.btn-ghost:hover {
  filter: brightness(1.03);
}

.course-alert {
  margin-top: 12px;
  background: #ff0000;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.35;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 600;
}

.course-alert-link {
  color: #fff;
  font-weight: 700;
}

.course-tags {
  margin-top: 18px;
}

.course-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-tag-list span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d5e0eb;
  color: #13243b;
  background: #fff;
  font-size: 0.76rem;
  line-height: 1.2;
}

.course-share {
  margin-top: 18px;
}

.course-share p {
  margin: 0 0 8px;
  color: #13243b;
}

.course-share a {
  color: #13243b;
}

.course-share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-share-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #d5e0eb;
  color: #13243b;
  background: #fff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.course-share-icons a:hover {
  background: #fff;
  border-color: #d7ccb9;
  color: #13243b;
}

.course-share-icons svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.extra-content.right {
  float: right;
  width: min(360px, 100%);
  margin: 8px 0 12px 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #f1dfc1;
  background: #fffaf2;
}

.fad-insight-card.right {
  width: min(340px, 100%);
  float: right;
  margin: 10px 0 14px 16px;
  padding: 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background: radial-gradient(140% 130% at 0% 0%, rgba(30, 83, 136, 0.1) 0%, rgba(30, 83, 136, 0) 58%), linear-gradient(150deg, #f6fbff 0%, #ffffff 100%);
}

.fad-insight-opening {
  margin: 0 0 8px;
  color: #7e7164;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fad-insight-title {
  margin: 0 0 8px;
  color: #2f2822;
  font-size: 1.12rem;
  line-height: 1.2;
}

.fad-insight-card p {
  margin: 0;
  color: #595046;
  font-size: 0.88rem;
  line-height: 1.55;
}

.fad-insight-link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #c84f16;
}

.fad-insight-link::after {
  content: ">";
  font-size: 0.84rem;
  line-height: 1;
}

.fad-insight-link:hover {
  color: #a94211;
}

.fad-v2 {
  display: grid;
  gap: 20px;
}

.fad-v2-hero {
  margin: -24px -24px 0;
  padding: clamp(20px, 3vw, 30px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(200, 79, 22, 0.12) 0%, rgba(200, 79, 22, 0) 56%),
    linear-gradient(155deg, #fdf9f4 0%, #ffffff 70%);
}

.fad-v2-hero .kicker {
  margin: 0 0 8px;
  color: #8b4a24;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fad-v2-hero h2 {
  margin: 0 0 10px;
  color: #1d2533;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  line-height: 1.08;
  max-width: 900px;
}

.fad-v2-hero p {
  margin: 0;
  color: #465666;
  max-width: 860px;
}

.fad-v2-intro {
  display: grid;
  gap: 12px;
}

.fad-v2-lead {
  margin: 0;
  color: #3f4f60;
  font-size: 1.03rem;
  line-height: 1.72;
}

.fad-v2-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fad-v2-intro-grid article {
  padding: 13px;
  border-radius: 13px;
  border: 1px solid #dde7f1;
  background: #fff;
}

.fad-v2-intro-grid h3 {
  margin: 0 0 6px;
  color: #1f2f44;
  font-size: 0.98rem;
  line-height: 1.25;
}

.fad-v2-intro-grid p {
  margin: 0;
  color: #55687d;
  font-size: 0.84rem;
  line-height: 1.48;
}

.fad-v2-campus {
  display: block;
}

.fad-v2-campus p {
  margin: 0;
  color: #46586d;
}

.fad-v2-campus p + p {
  margin-top: 10px;
}

.fad-v2-method h3 {
  margin: 0 0 10px;
  color: #1f2734;
  font-size: clamp(1.18rem, 1.95vw, 1.52rem);
  padding-top: 25px;
}

.fad-v2-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fad-v2-method-grid article {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dbe5f0;
  background: #f9fcff;
}

.fad-v2-method-grid strong {
  display: block;
  margin: 0 0 6px;
  color: #1a2f4a;
  font-size: 0.93rem;
  line-height: 1.32;
}

.fad-v2-method-grid p {
  margin: 0;
  color: #4f647a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.fad-xapi-cta-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  align-items: stretch;
  gap: 16px;
  margin-top: 18px;
  padding: clamp(16px, 2.1vw, 24px);
  border-radius: 18px;
  border: 1px solid #e4d8ca;
  background: #f5f3f1;
}

.fad-xapi-cta-block .fad-xapi-hero-copy h3 {
  margin: 0 0 10px;
  color: #1c1f29;
  font-size: clamp(1.5rem, 2.9vw, 2.55rem);
  line-height: 1.07;
}

.fad-xapi-cta-block .fad-xapi-hero-copy p {
  color: #3f4956;
}

.fad-xapi-cta-block .fad-xapi-hero-copy .hero-actions {
  margin-top: 16px;
}

.fad-xapi-cta-block .fad-xapi-hero-copy .style-guide-link-only {
  color: #c84f16;
}

.fad-xapi-cta-block .fad-xapi-hero-copy .style-guide-link-only:hover {
  color: #a94211;
}

.fad-xapi-cta-block .fad-xapi-hero-metrics {
  gap: 10px;
}

.fad-xapi-cta-block .fad-xapi-metric {
  border-color: #cdd8e4;
  background: #ececec;
  box-shadow: none;
}

.fad-xapi-cta-block.fad-xapi-cta-block-plain {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-xapi-cta {
  margin-bottom: 100px;
}

.fad-xapi-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  align-items: stretch;
  gap: 16px;
  padding: clamp(20px, 3vw, 30px);
  margin: -24px -24px 20px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(120% 120% at 6% 8%, rgba(200, 79, 22, 0.16) 0%, rgba(200, 79, 22, 0) 56%),
    linear-gradient(150deg, #fdf9f4 0%, #ffffff 72%);
}

.fad-xapi-hero-copy h2 {
  margin: 0 0 10px;
  color: #1d1f27;
  font-size: clamp(1.32rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.fad-xapi-hero-copy p {
  margin: 0;
  color: #3f4956;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
}

.fad-xapi-hero-copy .kicker {
  margin: 0 0 8px;
}

.fad-xapi-hero-copy .hero-actions {
  margin-top: 14px;
}

.fad-xapi-hero-metrics {
  display: grid;
  gap: 10px;
}

.fad-xapi-metric {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 26, 41, 0.07);
}

.fad-xapi-metric strong {
  display: block;
  margin: 0 0 4px;
  color: #13243b;
  font-size: 0.98rem;
  font-weight: 700;
}

.fad-xapi-metric span {
  display: block;
  color: #566170;
  font-size: 0.82rem;
  line-height: 1.4;
}

.fad-xapi-section + .fad-xapi-section {
  margin-top: 25px;
}

.fad-xapi-section h3 {
  margin: 0 0 8px;
  color: #1f2633;
  font-size: clamp(1.18rem, 1.9vw, 1.52rem);
  line-height: 1.2;
}

.fad-xapi-section p {
  margin: 0;
}

.fad-xapi-section-alt {
  padding: clamp(14px, 2vw, 20px);
  border-radius: 16px;
  border: 1px solid #e7edf2;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9fc 100%);
}

.fad-xapi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.fad-xapi-grid-tight {
  margin-bottom: 14px;
}

.fad-xapi-card {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #d5e0eb;
  background: #fff;
}

.fad-xapi-card h4 {
  margin: 0 0 8px;
  color: #1d2532;
  font-size: 1rem;
  line-height: 1.25;
}

.fad-xapi-card p {
  margin: 0;
  color: #4f5968;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fad-xapi-checklist {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.fad-xapi-checklist li {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #dce7f1;
  background: #fff;
  color: #344353;
  font-size: 0.91rem;
  line-height: 1.45;
}

.centro-editorial .fad-xapi-checklist li {
  padding-left: 12px;
}

.centro-editorial .fad-xapi-checklist li::before {
  content: none;
  display: none;
}

.fad-xapi-cta {
  margin-top: 18px;
  padding-top: 16px;

}

.fad-free-cta {
  margin-top: 24px;
  padding-top: 10px;
}

.fad-free-cta .kicker {
  margin: 0 0 8px;
  color: #8d4a22;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fad-free-cta h3 {
  margin: 0 0 10px;
  color: #1f2633;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  max-width: 980px;
}

.fad-free-cta p {
  margin: 0;
  color: #4c5868;
  max-width: 900px;
}

.fad-free-cta .btn {
  margin-top: 14px;
  display: block;
  width: fit-content;
  margin-left: auto;
}

.fad-presenza-cta {
  margin-top: 24px;
  padding: 16px 0 0;
  border-top: 1px solid #d5e0eb;
}

.fad-presenza-cta .kicker {
  margin: 0 0 8px;
  color: #8e4b22;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fad-presenza-cta h3 {
  margin: 0 0 10px;
  color: #1d2634;
  font-size: clamp(1.22rem, 2.1vw, 1.72rem);
  line-height: 1.16;
  max-width: 920px;
}

.fad-presenza-cta p {
  margin: 0;
  color: #4a5666;
  max-width: 860px;
}

.fad-presenza-cta .btn {
  margin-top: 14px;
}

.fad-dad-cta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(210px, 0.8fr);
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #d4e0ed;
  background:
    radial-gradient(140% 130% at 0% 0%, rgba(30, 83, 136, 0.1) 0%, rgba(30, 83, 136, 0) 58%),
    linear-gradient(150deg, #f6fbff 0%, #ffffff 100%);
}

.fad-dad-cta-copy .kicker {
  margin: 0 0 8px;
  color: #1d6795;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fad-dad-cta-copy h3 {
  margin: 0 0 10px;
  color: #1a2e47;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.16;
}

.fad-dad-cta-copy p {
  margin: 0;
  color: #4b5f73;
}

.fad-dad-cta-copy .btn {
  margin-top: 14px;
}

.fad-dad-cta-side {
  display: grid;
  gap: 8px;
  align-content: center;
}

.fad-dad-cta-side span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d9e5f2;
  background: #fff;
  color: #35516d;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.fad-faq {
  display: grid;
  gap: 12px;
}

.fad-faq-head h2 {
  margin: 0 0 6px;
}

.fad-faq-head p {
  margin: 0;
}

.fad-faq-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fad-faq-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid #d7e2ee;
  background: #fff;
  color: #2a3f58;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 8px 12px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.fad-faq-filter-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef4fb;
  color: #41566f;
  font-size: 0.75rem;
}

.fad-faq-filter-chip:hover,
.fad-faq-filter-chip.is-active {
  border-color: #f3bb9b;
  color: #bf4d18;
  background: #fff5ee;
}

.fad-faq-empty {
  border: 1px dashed #d9e2ee;
  border-radius: 12px;
  padding: 12px 14px;
  color: #546377;
  font-size: 0.92rem;
}

.fad-faq-accordion {
  border: 1px solid #d7e6f1;
  border-radius: 12px;
  background: #fff;
}

.fad-faq-accordion.style-guide-accordion.style-guide-accordion-light details {
  padding-left: 14px;
  padding-right: 14px;
}

.fad-faq-accordion.style-guide-accordion.style-guide-accordion-light details:hover,
.fad-faq-accordion.style-guide-accordion.style-guide-accordion-light details[open] {
  background: transparent;
}

.fad-faq-accordion .fad-faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 0.2s ease-out, opacity 0.16s ease-out, transform 0.16s ease-out;
}

.fad-faq-accordion details[open] .fad-faq-answer {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
  animation: fadFaqOpen 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.fad-faq-accordion .fad-faq-answer p {
  margin: 8px 0 0;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 10px 12px;
}

[data-fad-faq-list] {
  transition: opacity 0.28s ease, transform 0.28s ease;
}

[data-fad-faq-list].is-filtering {
  opacity: 0.28;
  transform: translateY(4px);
}

[data-fad-faq-list].is-entering {
  animation: fadFaqFadeIn 0.32s ease;
}

@keyframes fadFaqFadeIn {
  from {
    opacity: 0.15;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadFaqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 420px;
  }
}

.eipass-editorial .eipass-content-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  align-items: center;
  min-height: 300px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  margin: -24px -24px 14px;
  background: #fff;
}

.eipass-editorial .eipass-content-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 30px);
  background: #fff;
}

.eipass-editorial .eipass-content-hero-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.1;
  color: #231d18;
}

.eipass-editorial .eipass-content-hero-copy p {
  margin: 0;
  color: #4b433b;
  font-size: clamp(0.92rem, 1.25vw, 1.04rem);
  line-height: 1.55;
}

.eipass-editorial .eipass-content-hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 12px 0 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.eipass-editorial .eipass-content-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  display: block;
}

.eipass-editorial .eipass-certs {
  display: grid;
  gap: 16px;
}

.eipass-editorial .eipass-certs-head {
  border-radius: 16px;
  border: 0;
  background: transparent;
  padding: 14px;
}

.eipass-editorial .eipass-certs-kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9e4d22;
}

.eipass-editorial .eipass-certs-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.2;
  color: #241f1a;
}

.eipass-editorial .eipass-certs-head p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: #5a5148;
}

.eipass-editorial .eipass-certs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.eipass-editorial .eipass-cert-card {
  border: 1px solid #dae5ef;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eipass-editorial .eipass-cert-card .fad-insight-opening {
  margin: 0;
  color: #8a7d70;
  font-size: 0.56rem;
}

.eipass-editorial .eipass-cert-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  color: #26211b;
}

.eipass-editorial .eipass-cert-card p {
  margin: 0;
  color: #5f564d;
  font-size: 0.85rem;
  line-height: 1.55;
}

.eipass-editorial .eipass-cert-card .style-guide-link-only {
  margin-top: auto;
}

.centro-staff {
  display: grid;
  gap: 0;
}

.centro-staff-row {
  display: grid;
  grid-template-columns: minmax(122px, 172px) minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding: clamp(1.2rem, 2vw, 1.7rem) 0;
  border-bottom: 1px solid #d7e6f1;
}

.centro-staff-row:first-child {
  padding-top: 0;
}

.centro-staff-row.is-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(122px, 172px);
}

.centro-staff-row.is-reverse .centro-staff-copy {
  order: 1;
}

.centro-staff-row.is-reverse .centro-staff-media {
  order: 2;
  justify-self: end;
}

.centro-staff-media {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 172px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #d7e6f1;
}

.centro-staff-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 6px),
    linear-gradient(0deg, rgba(8, 14, 24, 0.2), rgba(8, 14, 24, 0.2));
  background-size: 11px 11px, 100% 100%;
}

.centro-staff-media > img.centro-staff-avatar,
.centro-staff-media-placeholder {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.centro-staff-watermark {
  position: absolute;
  left: 8px;
  bottom: 16px;
  z-index: 4;
  pointer-events: none;
  opacity: 1;
}

.centro-staff-watermark img {
  display: block;
  width: 64px;
  height: auto;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.centro-editorial .centro-staff-watermark img {
  display: block;
  width: 64px;
  max-width: none;
  height: auto;
}

.centro-staff-media-placeholder {
  background:
    linear-gradient(135deg, rgba(232, 84, 16, 0.16), rgba(15, 23, 42, 0.16)),
    #d7e6f1;
}

.centro-staff-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 100%;
}

.centro-staff-copy h3 {
  margin: 0 0 0.5rem;
  color: #0f172a;
  font-size: clamp(1.5rem, 2.9vw, 2.55rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  font-weight: 800;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.centro-staff-director-inline-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  color: #fff;
  background: var(--brand);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.centro-staff-copy p {
  margin: 0;
  max-width: 62ch;
  color: #0f172a;
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  line-height: 1.6;
  font-weight: 400;
}

.centro-staff-contact-link {
  margin-top: 0.95rem;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.centro-staff-contact-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
}

.centro-staff-contact-link:hover {
  color: var(--brand);
}

.centro-staff-contact-link:hover svg {
  transform: translateX(4px);
}

.centro-staff-empty {
  text-align: center;
  padding: clamp(1.4rem, 2vw, 2rem);
}

.centro-staff-empty h3 {
  margin: 0 0 0.55rem;
}

.centro-staff-empty p {
  margin: 0;
}

@media (max-width: 860px) {
  .centro-staff-row,
  .centro-staff-row.is-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .centro-staff-row.is-reverse .centro-staff-copy,
  .centro-staff-row.is-reverse .centro-staff-media {
    order: initial;
  }

  .centro-staff-media,
  .centro-staff-row.is-reverse .centro-staff-media {
    justify-self: start;
    width: min(48vw, 172px);
  }

  .centro-staff-copy h3 {
    font-size: clamp(1.25rem, 6.8vw, 1.9rem);
  }

  .centro-staff-copy p {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
  }
}

.eipass-editorial .eipass-certs-hero-cta {
  margin-top: 16px;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 16px;
  border: 1px solid #2b4b6d;
  background:
    radial-gradient(140% 130% at 0% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(154deg, #153553 0%, #1f4e78 64%, #2f6c9e 100%);
}

.eipass-editorial .eipass-certs-hero-cta .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eipass-editorial .eipass-certs-hero-cta h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.24rem, 2.15vw, 1.88rem);
  line-height: 1.12;
  max-width: 840px;
}

.eipass-editorial .eipass-certs-hero-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 860px;
}

.eipass-editorial .eipass-certs-hero-cta .btn {
  margin-top: 14px;
}

.eipass-editorial .eipass-minimal {
  display: grid;
  gap: 18px;
}

.eipass-editorial .eipass-minimal-hero {
  margin: -24px -24px 0;
  padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 30px) 18px;
  border-bottom: 1px solid #e5e9ef;
  background: #fff;
}

.eipass-editorial .eipass-minimal-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
  align-items: center;
  gap: 14px;
}

.eipass-editorial .eipass-minimal-hero-copy .kicker {
  margin: 0 0 8px;
  color: #5f6f82;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eipass-editorial .eipass-minimal-hero-copy h2 {
  margin: 0 0 10px;
  color: #182638;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.eipass-editorial .eipass-minimal-hero-copy p {
  margin: 0;
  max-width: 860px;
  color: #435366;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.6;
}

.eipass-editorial .eipass-minimal-hero-logo {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.eipass-editorial .eipass-minimal-hero-logo img {
  width: 100%;
  max-height: 92px;
  object-fit: contain;
  display: block;
}

.eipass-editorial .eipass-minimal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.88fr);
  gap: 14px;
}

.eipass-editorial .eipass-minimal-copy {
  display: grid;
  gap: 12px;
}

.eipass-editorial .eipass-minimal-copy p {
  margin: 0;
  color: #46576b;
  font-size: 0.98rem;
  line-height: 1.7;
}

.eipass-editorial .eipass-minimal-media {
  display: grid;
  gap: 10px;
}

.eipass-editorial .eipass-minimal-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dce4ee;
  background: #fff;
}

.eipass-editorial .eipass-minimal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.eipass-editorial .eipass-minimal-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  gap: 14px;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 16px;
  border: 1px solid #d8e4f0;
  background:
    radial-gradient(140% 130% at 0% 0%, rgba(28, 83, 136, 0.12) 0%, rgba(28, 83, 136, 0) 58%),
    linear-gradient(160deg, #f8fbff 0%, #ffffff 100%);
}

.eipass-editorial .eipass-minimal-cta-copy .kicker {
  margin: 0 0 8px;
  color: #2b5f8b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eipass-editorial .eipass-minimal-cta-copy h3 {
  margin: 0 0 10px;
  color: #182b42;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.16;
}

.eipass-editorial .eipass-minimal-cta-copy p {
  margin: 0;
  color: #4a5f74;
  font-size: 0.95rem;
  line-height: 1.62;
}

.eipass-editorial .eipass-minimal-cta-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.eipass-editorial .eipass-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.eipass-editorial .eipass-why-card {
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.eipass-editorial .eipass-why-card h3 {
  margin: 0 0 8px;
  color: #1c2c40;
  font-size: 1.04rem;
  line-height: 1.2;
}

.eipass-editorial .eipass-why-card p {
  margin: 0;
  color: #4a5b70;
  font-size: 0.93rem;
  line-height: 1.62;
}

.eipass-editorial .eipass-why-cta {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid #e8edf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.eipass-editorial .eipass-why-cta p {
  margin: 0;
  color: #3f5064;
}

.eipass-editorial .eipass-why-hero-cta {
  margin-top: 2px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 16px;
  border: 1px solid #2c4a6b;
  background:
    radial-gradient(140% 130% at 0% 0%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(155deg, #163758 0%, #1f4e78 68%, #2d6898 100%);
}

.eipass-editorial .eipass-why-hero-cta .kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eipass-editorial .eipass-why-hero-cta h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
  max-width: 820px;
}

.eipass-editorial .eipass-why-hero-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 860px;
}

.eipass-editorial .eipass-why-hero-cta .btn {
  margin-top: 14px;
}

@media (max-width: 980px) {
  .news-list {
    grid-template-columns: 1fr;
  }

  .course-view-shell {
    grid-template-columns: 1fr;
  }

  .course-view-side {
    position: static;
    top: auto;
  }

  .course-modules-grid {
    column-count: 1;
    column-gap: 0;
  }

  .extra-content.right {
    float: none;
    width: 100%;
    margin: 10px 0;
  }

  .fad-insight-card.right {
    float: none;
    width: 100%;
    margin: 10px 0 12px;
  }

  .fad-xapi-cta-block {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .fad-xapi-cta-block.fad-xapi-cta-block-plain {
    padding: 0;
  }

  .home-xapi-cta {
    margin-bottom: 100px;
  }

  .fad-xapi-hero {
    grid-template-columns: 1fr;
    margin: -24px -24px 16px;
    padding: 18px;
  }

  .fad-xapi-grid {
    grid-template-columns: 1fr;
  }

  .fad-v2-hero {
    margin: -24px -24px 0;
    padding: 18px;
  }

  .fad-v2-intro-grid,
  .fad-v2-method-grid {
    grid-template-columns: 1fr;
  }

  .fad-dad-cta {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-content-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    background: #fff;
    margin: -24px -24px 14px;
  }

  .eipass-editorial .eipass-content-hero-copy {
    width: 100%;
    padding: 18px;
    background: #fff;
  }

  .eipass-editorial .eipass-content-hero-media {
    position: static;
    width: 100%;
    height: 180px;
    padding: 0 10px 0 0;
  }

  .eipass-editorial .eipass-certs-grid {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-certs-hero-cta {
    padding: 18px;
  }

  .eipass-editorial .eipass-minimal-hero {
    margin: -24px -24px 0;
    padding: 18px 18px 16px;
  }

  .eipass-editorial .eipass-minimal-hero-main {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-minimal-layout {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-minimal-cta {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-minimal-cta-action {
    justify-content: flex-start;
  }

  .eipass-editorial .eipass-why-grid {
    grid-template-columns: 1fr;
  }

  .eipass-editorial .eipass-why-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .eipass-editorial .eipass-why-hero-cta {
    padding: 18px;
  }

  .fad-course-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-article-shell {
    padding: 0 0 16px;
  }

  .news-article-hero {
    min-height: 300px;
    margin-left: 0;
    margin-right: 0;
  }

  .news-article-back {
    top: 10px;
    right: 10px;
  }

  .news-article-hero.has-image {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
      var(--news-hero-image) center / cover no-repeat;
  }

  .news-article-hero-copy {
    width: 100%;
    padding: 50px 18px 18px;
    min-height: 300px;
  }

  .news-article-content,
  .news-article-footer {
    max-width: 100%;
  }

  .news-article-footer {
    grid-template-columns: 1fr;
  }

  .news-article-share-col {
    justify-self: start;
    text-align: left;
  }
}

.test-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fffdfa;
}

.test-step .domanda {
  font-weight: 600;
}

#test-form label {
  line-height: 1.5;
}

#curriculum-test .test-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  cursor: pointer;
}

#curriculum-test .test-choice:last-of-type {
  margin-bottom: 0;
}

#curriculum-test .test-choice input[type="radio"],
#curriculum-test .test-choice input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

#curriculum-test .test-choice-ui {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 1px;
  border: 1px solid #b6b9be;
  background: #f2f2f2;
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#curriculum-test .test-choice-text {
  color: #42464d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

#curriculum-test .test-choice-radio .test-choice-ui {
  border-radius: 999px;
}

#curriculum-test .test-choice-radio .test-choice-ui::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ef6c00;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

#curriculum-test .test-choice-radio input[type="radio"]:checked + .test-choice-ui {
  border-color: #a3a8ae;
}

#curriculum-test .test-choice-radio input[type="radio"]:checked + .test-choice-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

#curriculum-test .test-choice-checkbox .test-choice-ui {
  border-radius: 7px;
}

#curriculum-test .test-choice-checkbox .test-choice-ui::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  transform: scale(0.7);
  transition: transform 0.18s ease;
}

#curriculum-test .test-choice-checkbox input[type="checkbox"]:checked + .test-choice-ui {
  background: #ef6c00;
  border-color: #ef6c00;
}

#curriculum-test .test-choice-checkbox input[type="checkbox"]:checked + .test-choice-ui::after {
  transform: scale(1);
}

#curriculum-test .test-choice input:focus-visible + .test-choice-ui {
  box-shadow: 0 0 0 3px rgba(239, 108, 0, 0.25);
}

#vimeo-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

#vimeo-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.course-video-panel {
  position: relative;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.course-video-panel-completed {
  padding-bottom: 0;
}

.course-video-panel #vimeo-video {
  border-radius: 18px 18px 0 0;
}

.course-video-panel .lp-controls-row {
  padding: 12px 24px 0;
}

.course-content-panel {
  padding: 18px;
}

.course-content-frame-wrap {
  width: 100%;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

#content-viewer-frame {
  width: 100%;
  min-height: 72vh;
  border: 0;
  display: block;
}

.course-content-pdf-viewer {
  width: 100%;
  min-height: 72vh;
  max-height: 72vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f4f7fb;
}

.course-content-pdf-nav-btn {
  border: 1px solid #c8d4e5;
  background: #fff;
  color: #314968;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
}

.course-content-pdf-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.course-content-pdf-page {
  font-size: .82rem;
  font-weight: 700;
  color: #455d7f;
  min-width: 98px;
  text-align: center;
}

.course-content-pdf-loading {
  font-weight: 600;
  color: #546a8a;
}

.course-content-pdf-canvas {
  width: min(100%, 980px);
  height: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 46, 77, 0.10);
  border-radius: 8px;
}

.course-content-audio-wrap {
  width: 100%;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

#content-audio-player {
  width: 100%;
}

.content-audio-player:not(.is-completed) {
  display: none;
}

.course-content-audio-visual {
  width: 100%;
  min-height: 260px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-wave {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 86px;
}

.audio-wave-bar {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff7a3d 0%, #ff5a1f 100%);
  transition: height 0.12s ease;
}

.lp-progress-line-locked {
  cursor: not-allowed;
  pointer-events: none;
}

.course-content-empty {
  padding: 22px 16px;
  border: 1px dashed #d9e2ee;
  border-radius: 12px;
  background: #fff;
  color: #334a69;
  font-weight: 600;
}

.course-content-download-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-content-download-row .course-content-pdf-nav {
  margin-left: auto;
}

.video-completed-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #75b72b;
  border: 3px solid #ffffff;
  z-index: 6;
}

.lp-controls-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-icon-btn {
  border: 0;
  background: transparent;
  color: #0f172a;
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .course-content-download-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-content-download-row .course-content-pdf-nav {
    margin-left: 0;
  }
}

.lp-icon-btn:hover {
  opacity: 1;
}

.lp-progress-line {
  position: relative;
  height: 6px;
  flex: 1;
  border-radius: 999px;
  background: #0f172a12;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.lp-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #ff5a1f;
}

.lp-time {
  font-size: 0.9rem;
  color: #0f172a;
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
  font-weight: 600;
}


/* STILE MIO */

.big {
  font-size: 40px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
}

.EvYKy {
  background-color: #ffffff !important;
}

.privacy-modal-page {
  display: grid;
  align-items: center;
  min-height: clamp(560px, calc(100vh - 220px), 900px);
  padding-top: 28px;
  padding-bottom: 34px;
}

.privacy-modal-shell {
  width: min(920px, 100%);
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d9e4f0;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(22, 44, 74, 0.22);
  padding: 20px 20px 14px;
}

.privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.privacy-modal-head h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  color: #163458;
}

.privacy-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #cddced;
  border-radius: 10px;
  color: #4e647f;
  background: #f7fbff;
  text-decoration: none;
}

.privacy-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.privacy-modal-updated {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #5f7390;
}

.privacy-modal-body {
  max-height: min(68vh, 620px);
  overflow-y: auto;
  border: 1px solid #d7e3ef;
  border-radius: 14px;
  padding: 16px 16px 8px;
  background: #fbfdff;
}

.privacy-modal-block {
  margin: 0 0 14px;
}

.privacy-modal-block h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #1c406c;
}

.privacy-modal-block p {
  margin: 0;
  color: #3e5470;
  line-height: 1.62;
}

body.is-legal-modal-open {
  overflow: hidden;
}

a[data-legal-modal-link] {
  color: #000000;
  font-weight: 700;
  text-decoration: underline;
}

a[data-legal-modal-link]:hover,
a[data-legal-modal-link]:focus {
  color: var(--brand);
  text-decoration: underline;
}

.legacy-footer a[data-legal-modal-link] {
  color: #ffffff;
}

.public-legal-modal[hidden] {
  display: none !important;
}

.public-legal-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.8vw, 30px);
  margin: 0 !important;
  isolation: isolate;
}

.public-legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 42, 0.58);
  z-index: 0;
}

.public-legal-modal-dialog {
  position: relative;
  width: min(1200px, calc(100vw - 28px));
  max-height: calc(100vh - 30px);
  background: #ffffff;
  border: 1px solid #d1deea;
  border-radius: 20px;
  box-shadow: 0 28px 72px rgba(10, 26, 44, 0.36);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.public-legal-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #dbe7f3;
  background: #fbfdff;
}

.public-legal-modal-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #163458;
}

.public-legal-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid #c9d9e8;
  border-radius: 10px;
  background: #ffffff;
  color: #516983;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.public-legal-modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.public-legal-modal-body {
  padding: 16px 20px 20px;
  overflow: auto;
  flex: 1;
}

.public-legal-modal-body h1 {
  margin-top: 0;
}

.public-legal-modal-body ul {
  margin-top: 0;
  padding-left: 22px;
}

@media (max-width: 768px) {
  .public-legal-modal {
    padding: 10px;
  }

  .public-legal-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .public-legal-modal-head {
    padding: 12px 14px;
  }

  .public-legal-modal-body {
    padding: 12px 14px 16px;
  }
}

/* Cursor map by public UI blocks (main menu, submenu, sidebar, links, buttons) */
header.site .header-main-nav .nav-link,
header.site .header-main-nav .nav-submenu-link,
header.site .mobile-nav-panel .mobile-nav-link,
header.site .mobile-nav-panel .mobile-nav-submenu-link,
header.site .mobile-nav-panel .mobile-nav-submenu-toggle,
.centro-menu nav a,
.btn,
.style-guide-link-only,
.public-main a,
.public-main button,
.public-main [role="button"],
.public-breadcrumbs a,
footer a {
  cursor: pointer !important;
}

button:disabled,
[role="button"][aria-disabled="true"] {
  cursor: not-allowed !important;
}
