/* =========================
   PDB STUDIO - SINGLE CORSO
========================= */

:root {
  --pdb-text: #1f2340;
  --pdb-text-soft: #5e6278;
  --pdb-bg: #FBF8FF;
  --pdb-white: #ffffff;
  --pdb-border: #ece7ef;
  --pdb-accent: #ff0099;
  --pdb-accent-dark: #e10087;
  --pdb-accent-soft: rgba(255, 0, 153, 0.1);
  --pdb-success: #198754;
  --pdb-success-bg: #e9f8f0;
  --pdb-warning: #b76a00;
  --pdb-warning-bg: #fff3df;
  --pdb-danger: #c5334d;
  --pdb-danger-bg: #ffe8ee;
  --pdb-neutral-bg: #f2f4fb;
  --pdb-shadow: 0 10px 30px rgba(31, 35, 64, 0.08);
  --pdb-radius-lg: 24px;
  --pdb-max: 1200px;
  --pdb-sticky-top: 30px;
  --pdb-section-soft-bg: linear-gradient(180deg, #f7f2fb 0%, #f4f0fa 100%);
  --pdb-section-space: 30px;
  --pdb-section-space-mobile: 30px;
  --pdb-section-pad-desktop: 32px;
  --pdb-section-pad-mobile: 20px;
}

body {
  background-color: var(--pdb-bg);
}

.pdb-corso-page {
  width: 100%;
  color: var(--pdb-text);
  padding-top: 0;
  background-color: var(--pdb-bg);
}

.pdb-corso-wrapper {
  width: 100%;
}

/* =========================
   HERO
========================= */

.pdb-corso-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 120px 32px 72px;
  background-color: #241c47;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.pdb-corso-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 13, 35, 0.72) 0%,
    rgba(28, 22, 58, 0.6) 34%,
    rgba(44, 28, 85, 0.38) 58%,
    rgba(255, 255, 255, 0.1) 100%
  );
  z-index: 1;
}

.pdb-corso-hero::after {
  display: none;
}

.pdb-corso-hero__overlay {
  display: none;
}

.pdb-corso-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--pdb-max);
  margin: 0 auto;
  color: #fff;
}

.pdb-corso-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.pdb-corso-titolo {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: normal;
}

.pdb-corso-descrizione {
  max-width: 680px;
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.pdb-corso-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pdb-corso-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.pdb-corso-meta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================
   LAYOUT
========================= */

.pdb-corso-content {
  position: relative;
  z-index: 3;
  max-width: var(--pdb-max);
  margin: 28px auto 0;
  padding: 0 0 48px;
  overflow: visible;
}

.pdb-corso-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: start;
}

.pdb-corso-main {
  min-width: 0;
}

.pdb-corso-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: fit-content;
  overflow: visible;
  scroll-margin-top: 24px;
}

/* =========================
   SEZIONI GENERALI
========================= */

.pdb-corso-section {
  background: var(--pdb-white);
  border: 1px solid var(--pdb-border);
  border-radius: var(--pdb-radius-lg);
  box-shadow: var(--pdb-shadow);
  padding: 34px var(--pdb-section-pad-desktop);
  margin-bottom: var(--pdb-section-space);
}

.pdb-corso-section--plain {
  background: var(--pdb-white);
  border: 0;
  border-radius: var(--pdb-radius-lg);
  box-shadow: none;
  padding: 30px var(--pdb-section-pad-desktop);
}

.pdb-corso-section,
.pdb-corso-section--plain,
.pdb-corso-docente,
.pdb-include-item {
  background: #ffffff;
  color: var(--pdb-text);
}

.pdb-corso-main > .pdb-corso-section:last-of-type {
  margin-bottom: 0;
}

.pdb-corso-section h2 {
  margin: 0 0 20px;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pdb-text);
}

.pdb-corso-section h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: var(--pdb-text);
}

.pdb-corso-richtext,
.pdb-corso-richtext p,
.pdb-docente__bio,
.pdb-docente__bio p,
.pdb-modulo__descrizione p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--pdb-text-soft);
}

.pdb-corso-section--plain .pdb-corso-richtext,
.pdb-corso-section--plain .pdb-corso-richtext p {
  color: var(--pdb-text);
}

.pdb-corso-section--plain + .pdb-corso-section--plain {
  margin-top: 8px;
}

.pdb-corso-richtext p:last-child,
.pdb-docente__bio p:last-child,
.pdb-modulo__descrizione p:last-child {
  margin-bottom: 0;
}

/* =========================
   OBIETTIVI
========================= */

.pdb-corso-obiettivi {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.pdb-corso-obiettivi li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pdb-text);
  font-weight: 500;
}

.pdb-corso-obiettivi li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 153, 0.12);
  color: var(--pdb-accent);
  font-size: 13px;
  font-weight: 700;
}

/* =========================
   COSA INCLUDE
========================= */

.pdb-corso-include-block {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  margin-bottom: 16px;
}

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

.pdb-include-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 24px 22px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(31, 35, 64, 0.04);
  box-shadow: none;
}

.pdb-corso-include-block h2 {
  margin-bottom: 18px;
  padding-left: var(--pdb-section-pad-desktop);
}

.pdb-include-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--pdb-text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* =========================
   PROGRAMMA DEL CORSO
========================= */

.pdb-corso-moduli {
  display: grid;
  gap: 12px;
}

.pdb-modulo {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.pdb-modulo__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.pdb-modulo__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 0, 153, 0.12);
  color: var(--pdb-accent);
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 22px;
  margin-top: 1px;
}

.pdb-modulo__header h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--pdb-text);
}

/* =========================
   DOCENTI
========================= */

.pdb-corso-docenti {
  padding: 28px 32px;
  border: 0;
  border-radius: var(--pdb-radius-lg);
  background: #ffffff;
  box-shadow: none;
}

.pdb-corso-docenti > h2 {
  margin-bottom: 16px;
}

.pdb-corso-docenti__note {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #9aa1b6;
}

.pdb-corso-docenti__list {
  display: grid;
  gap: 0;
}

.pdb-corso-docente {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--pdb-white);
  border: 0;
  box-shadow: none;
  padding: 10px 0 14px;
}

.pdb-corso-docente.is-without-photo {
  grid-template-columns: minmax(0, 1fr);
}

.pdb-corso-docente.has-separator {
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 35, 64, 0.08);
}

.pdb-docente__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.pdb-docente__media {
  width: 200px;
  height: 200px;
  min-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  border: 5px solid #ffffff;
  box-shadow: 0 10px 24px rgba(31, 35, 64, 0.08);
}

.pdb-docente__media .pdb-docente__foto {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  display: block;
}

.pdb-docente__info {
  min-width: 0;
}

.pdb-docente__info h3 {
  margin-bottom: 6px;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.pdb-docente__role {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--pdb-accent);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pdb-docente__bio {
  max-width: 780px;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #516083;
}

.pdb-docente__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.pdb-docente__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  color: #2f3342 !important;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

.pdb-docente__linkedin:hover {
  color: #111827 !important;
}

.pdb-docente__linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.pdb-docente__linkedin-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

/* =========================
   ALTRI CORSI SUGGERITI
========================= */

.pdb-corsi-suggeriti {
	position: relative;
	width: 100%;
	margin-top: 12px;
	padding: 56px 0 56px;
	background: var(--pdb-section-soft-bg);
	border-top: none;
	overflow: hidden;
}

.pdb-corsi-suggeriti::before {
  display: none;
}

.pdb-corsi-suggeriti__inner {
  position: relative;
  z-index: 1;
  max-width: var(--pdb-max);
  margin: 0 auto;
  padding: 0;
}

.pdb-corsi-suggeriti__intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.pdb-corsi-suggeriti__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 35, 64, 0.06);
  color: var(--pdb-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pdb-corsi-suggeriti__intro h2 {
  margin: 0 0 14px;
  max-width: 720px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--pdb-text);
  text-wrap: normal;
}

.pdb-corsi-suggeriti__intro p {
  margin: 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--pdb-text-soft);
}

.pdb-corsi-suggeriti__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pdb-corso-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 35, 64, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(31, 35, 64, 0.06);
  backdrop-filter: blur(10px);
}

.pdb-corso-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  line-height: 0;
  background: transparent;
  overflow: hidden;
}

.pdb-corso-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdb-corso-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  flex: 1;
}

.pdb-corso-card__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdb-corso-card__top h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: normal;
}

.pdb-corso-card__top h3 a {
  color: var(--pdb-text);
  text-decoration: none;
}

.pdb-corso-card__top h3 a:hover {
  color: var(--pdb-text);
}

.pdb-corso-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 0, 153, 0.08);
  color: var(--pdb-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdb-corso-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdb-corso-card__meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f7f3f8;
  font-size: 13px;
  font-weight: 600;
  color: var(--pdb-text);
}

.pdb-corso-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pdb-accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

.pdb-corso-card__cta:hover {
  background: var(--pdb-accent-dark);
  color: #fff !important;
}

/* =========================
   BOX VENDITA
========================= */

.pdb-corso-box {
  position: relative;
  background: linear-gradient(180deg, #f3eafb 0%, #efe4f8 100%);
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  margin-top: 34px;
  padding: 22px;
  overflow: visible;
  backdrop-filter: none;
}

.pdb-box__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pdb-accent);
}

.pdb-box__title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--pdb-text);
}

.pdb-box__price-block {
  margin-bottom: 18px;
}

.pdb-box__price-label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pdb-text-soft);
}

.pdb-box__prezzo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--pdb-text);
}

.pdb-box__price-note {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: flex-end;
  margin-left: 4px;
  padding: 0;
  font-size: 10px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--pdb-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdb-box__currency {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pdb-text-soft);
}

.pdb-box__field {
  margin-bottom: 16px;
}

.pdb-box__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pdb-text);
}

.pdb-box__select {
  width: 100%;
  min-height: 52px;
  padding: 12px 44px 12px 14px;
  border: 1px solid var(--pdb-border);
  border-radius: 12px;
  background: #fff;
  background-image: linear-gradient(45deg, transparent 50%, var(--pdb-text-soft) 50%), linear-gradient(135deg, var(--pdb-text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  font-size: 14px;
  line-height: 1.45;
  color: var(--pdb-text);
  outline: none;
  appearance: none;
  box-shadow: none;
}

.pdb-box__select:focus {
  border-color: var(--pdb-accent);
  box-shadow: 0 0 0 3px rgba(255, 0, 153, 0.1);
}

.pdb-box__dates-count {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--pdb-text-soft);
}

.pdb-box__status {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pdb-text);
  background: var(--pdb-neutral-bg);
}

.pdb-box__status.is-available {
  color: var(--pdb-success);
  background: var(--pdb-success-bg);
}

.pdb-box__status.is-warning {
  color: var(--pdb-warning);
  background: var(--pdb-warning-bg);
}

.pdb-box__status.is-sold-out {
  color: var(--pdb-danger);
  background: var(--pdb-danger-bg);
}

.pdb-box__status.is-hidden {
  display: none;
}

.pdb-box__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--pdb-accent);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.pdb-box__cta:hover {
  color: #fff;
  background: var(--pdb-accent-dark);
}

.pdb-box__cta.is-disabled {
  pointer-events: none;
  opacity: 0.45;
  box-shadow: none;
}

.pdb-box__info {
  display: none;
}

#pdb-mobile-sticky-cta {
  display: none !important;
}

.pdb-mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 99999;
}

.pdb-mobile-sticky-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--pdb-accent);
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(31, 35, 64, 0.16);
}

.pdb-mobile-sticky-cta__button:hover {
  background: var(--pdb-accent);
  color: #fff !important;
}

.pdb-corso-wrapper a:not(.pdb-box__cta):not(.pdb-corso-card__cta):not(.pdb-mobile-sticky-cta__button) {
  color: var(--pdb-accent);
}

.pdb-corso-wrapper a:focus-visible,
.pdb-corso-wrapper button:focus-visible,
.pdb-corso-wrapper select:focus-visible {
  outline: 3px solid rgba(255, 0, 153, 0.18);
  outline-offset: 3px;
}

.pdb-corso-wrapper img {
  max-width: 100%;
  height: auto;
}

/* =========================
   HEADER ASTRA
========================= */

@media (min-width: 922px) {
  .ast-primary-header-bar .ast-container,
  .site-primary-header-wrap .ast-builder-grid-row,
  .ast-primary-header-bar .ast-builder-grid-row-container {
    max-width: var(--pdb-max) !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ast-primary-header-bar {
    box-shadow: none !important;
  }

  .site-primary-header-wrap,
  .ast-primary-header-bar .ast-container,
  .ast-primary-header-bar .ast-builder-grid-row-container {
    max-width: 100% !important;
  }

  .ast-primary-header-bar .ast-builder-grid-row,
  .ast-primary-header-bar .ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =========================
   STICKY DESKTOP
========================= */

@media (min-width: 1025px) {
  .pdb-corso-sidebar {
    position: sticky !important;
    top: 0 !important;
    align-self: start !important;
    height: fit-content !important;
  }

  .pdb-corso-box {
    position: relative !important;
  }
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .pdb-corso-hero {
    min-height: 520px;
    padding: 108px 24px 56px;
    border-radius: 0;
  }

  .pdb-corso-content {
    margin-top: 24px;
    padding: 0 24px 48px;
  }

  .pdb-corso-top {
    grid-template-columns: 1fr;
  }

  .pdb-corso-sidebar {
    position: static;
    top: auto;
    height: auto;
  }

  .pdb-corso-box {
    position: static;
    margin-top: 0;
  }

  .pdb-corsi-suggeriti {
    margin-top: 28px;
    padding: 72px 0 52px;
  }

  .pdb-corsi-suggeriti__inner {
    padding: 0 24px;
  }

  .pdb-corsi-suggeriti__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pdb-include-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    margin-right: 0;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .pdb-corso-hero {
    min-height: 460px;
    padding: 88px 20px 42px;
    background-position: center;
    border-radius: 0;
  }
	.pdb-corso-hero::before {
  background: linear-gradient(
    90deg,
    rgba(20, 16, 40, 0.78) 0%,
    rgba(28, 22, 58, 0.74) 25%,
    rgba(36, 26, 70, 0.66) 50%,
    rgba(44, 28, 85, 0.54) 75%,
    rgba(44, 28, 85, 0.42) 100%
  );
}

  .pdb-corso-titolo {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.02;
  }

  .pdb-corso-descrizione {
    font-size: 16px;
    line-height: 1.6;
  }

  .pdb-corso-content {
    margin-top: 20px;
    padding: 0 20px 48px;
  }

  .pdb-corso-top {
    gap: 28px;
  }

  .pdb-corso-section {
    padding: 24px var(--pdb-section-pad-mobile);
    border-radius: 20px;
    margin-bottom: var(--pdb-section-space-mobile);
  }

  .pdb-corso-section--plain {
    padding: 24px var(--pdb-section-pad-mobile);
    border-radius: 20px;
  }

  .pdb-corso-include-block {
    padding-left: 0;
    padding-right: 0;
  }

  .pdb-corso-section h2 {
    margin-bottom: 14px;
    font-size: 24px;
  }

  .pdb-corso-include-block h2 {
    padding-left: var(--pdb-section-pad-mobile);
  }

  .pdb-corso-richtext,
  .pdb-corso-richtext p,
  .pdb-docente__bio,
  .pdb-docente__bio p,
  .pdb-modulo__descrizione p,
  .pdb-corso-obiettivi li {
    font-size: 15px;
  }

  .pdb-corso-docente {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .pdb-corso-docente.is-without-photo {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdb-docente__aside {
    width: 100%;
    align-items: flex-start;
  }

  .pdb-docente__media {
    width: 180px;
    height: 180px;
    min-width: 180px;
  }

  .pdb-docente__media .pdb-docente__foto {
    width: 100%;
    height: 100%;
  }

  .pdb-corso-docenti {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .pdb-corso-docenti > h2 {
    margin-bottom: 18px;
  }

  .pdb-corso-docenti__note {
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.5;
  }

  .pdb-docente__info h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .pdb-docente__role {
    font-size: 13px;
  }

  .pdb-docente__bio {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.7;
  }

  .pdb-docente__actions {
    margin-top: 14px;
  }

  .pdb-docente__linkedin {
    width: auto;
    height: auto;
  }

  .pdb-docente__linkedin-icon {
    width: 20px;
    height: 20px;
  }

  .pdb-box__title {
    font-size: 18px;
  }

  .pdb-box__prezzo {
    font-size: 30px;
  }

  .pdb-corso-moduli {
    gap: 10px;
  }

  .pdb-modulo {
    padding: 0;
    border-radius: 0;
  }

  .pdb-modulo__header {
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding-bottom: 0;
  }

  .pdb-modulo__num {
    width: 20px;
    height: 20px;
    font-size: 12px;
    flex-basis: 20px;
  }

  .pdb-modulo__header h3 {
    font-size: 14px;
    line-height: 1.4;
  }

  .pdb-include-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
  }

  .pdb-include-item {
    padding: 18px 16px;
  }

  .pdb-include-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .pdb-corsi-suggeriti {
    margin-top: 24px;
    padding: 56px 0 36px;
  }

  .pdb-corsi-suggeriti__inner {
    padding: 0 20px;
  }

  .pdb-corsi-suggeriti__intro {
    margin-bottom: 24px;
  }

  .pdb-corsi-suggeriti__eyebrow {
    margin-bottom: 12px;
  }

  .pdb-corsi-suggeriti__intro h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .pdb-corsi-suggeriti__intro p {
    font-size: 15px;
    line-height: 1.65;
  }

  .pdb-corsi-suggeriti__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pdb-corso-card__content {
    padding: 18px;
  }

  .pdb-corso-card__top h3 {
    font-size: 18px;
  }

  #pdb-mobile-sticky-cta {
    display: block !important;
  }

  .pdb-corso-page {
    padding-bottom: 0;
  }
}

/* =========================
   SBLOCCO STICKY IN ASTRA
========================= */

.site,
.site-content,
.ast-container,
.entry-content,
.pdb-corso-page,
.pdb-corso-content,
.pdb-corso-top,
.pdb-corso-sidebar {
  overflow: visible !important;
}

.pdb-corso-page *,
.pdb-corso-page *::before,
.pdb-corso-page *::after {
  animation: none !important;
  transition: none !important;
}

.pdb-box__cta,
.pdb-corso-card__cta {
  transition: background-color 160ms ease, color 160ms ease !important;
}
