/* Formato editoriale condiviso per le Scuole SIC. */
.sic-school-page {
  --school-ink: #17364a;
  --school-muted: #5d7180;
  --school-line: #dbe6ec;
  --school-soft: #f3f8fa;
  --school-accent: #00798f;
  --school-accent-dark: #005a6c;
  --school-gold: #e6b44a;
}

.sic-school-page .section-md.bg-default {
  padding-top: 56px;
  padding-bottom: 76px;
}

.sic-school-secretariat {
  align-self: flex-start;
  padding: 26px 24px;
  border: 1px solid var(--school-line, #dbe6ec);
  border-radius: 18px;
  background: #f4f7f8 !important;
  box-shadow: 0 14px 36px rgba(23, 54, 74, .07);
}

.sic-school-secretariat__title {
  margin: 0 0 20px;
  color: var(--school-ink, #17364a);
  font-size: 19px;
  line-height: 1.25;
  text-transform: none;
}

.sic-school-secretariat__layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
}

.sic-school-secretariat__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 104px;
  height: auto;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(23, 54, 74, .08);
}

.sic-school-secretariat__logo img {
  display: block;
  width: auto;
  max-width: min(100%, 190px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.sic-school-secretariat__details {
  min-width: 0;
}

.sic-school-secretariat__name {
  display: block;
  margin: 0 0 11px;
  color: var(--school-ink, #17364a);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.sic-school-secretariat__address {
  margin: 0 0 12px;
  color: #344f60;
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.sic-school-secretariat__address span {
  display: block;
}

.sic-school-secretariat__line {
  margin: 8px 0 0 !important;
  color: #344f60;
  font-size: 14px;
  line-height: 1.45;
}

.sic-school-secretariat__label {
  display: block;
  color: var(--school-ink, #17364a);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.sic-school-secretariat__line a {
  overflow-wrap: anywhere;
}

.sic-school-secretariat__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  margin: 0 0 20px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff, #edf5f7);
  box-shadow: inset 0 0 0 1px rgba(23, 54, 74, .1);
  color: var(--school-accent-dark, #005a6c);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.25;
  text-align: center;
}

.sic-school-decision-grid {
  display: grid;
  grid-template-columns: minmax(270px, .9fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 24px;
  margin: 38px 0 42px;
}

.sic-school-feature-card {
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--school-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 54, 74, .08);
}

.sic-school-feature-card--direction {
  border-top: 6px solid var(--sic-violet, #654493);
}

.sic-school-feature-card--fees {
  border-top: 6px solid var(--sic-orange, #f68e37);
}

.sic-school-feature-card__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--school-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sic-school-feature-card h5 {
  margin: 0 0 24px;
  color: var(--school-ink);
  font-size: 24px;
  line-height: 1.25;
}

.sic-school-directors {
  display: grid;
  gap: 18px;
}

.sic-school-directors--standalone {
  margin: 24px 0;
}

.sic-school-director {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0;
}

.sic-school-director img,
.sic-school-director__placeholder {
  display: block;
  width: 82px;
  height: 82px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--school-line), 0 8px 20px rgba(23, 54, 74, .13);
  object-fit: cover;
}

.sic-school-director__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--sic-violet, #654493), var(--school-accent));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sic-school-director figcaption {
  min-width: 0;
  color: var(--school-ink);
  line-height: 1.35;
}

.sic-school-director figcaption strong,
.sic-school-director figcaption span {
  display: block;
}

.sic-school-director figcaption strong {
  font-size: 16px;
}

.sic-school-director figcaption span {
  margin-top: 3px;
  color: var(--school-muted);
  font-size: 14px;
}

.sic-school-fee-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 14px;
  background: #fff7ee;
}

.sic-school-fee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(246, 142, 55, .25);
}

.sic-school-fee span {
  color: #344f60;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.sic-school-fee strong {
  color: #a64c00;
  font-size: 22px;
  white-space: nowrap;
}

.sic-school-fee-list__tax {
  margin: 0;
  color: var(--school-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  text-transform: uppercase;
}

.sic-school-fees__details p,
.sic-school-fees__details li {
  color: #344f60;
  font-size: 15px;
  line-height: 1.65;
}

.sic-school-fees__details h6 {
  margin: 24px 0 10px;
  color: var(--school-ink);
  font-size: 16px;
}

.sic-school-layout {
  color: var(--school-ink);
}

.sic-school-overview {
  margin-bottom: 46px;
}

.sic-school-overview__eyebrow,
.sic-school-section__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--school-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.sic-school-overview__title {
  max-width: 920px;
  margin: 0;
  color: var(--school-ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.sic-school-overview__heading {
  display: flex;
  align-items: center;
  gap: 26px;
}

.sic-school-overview__logo {
  flex: 0 0 auto;
  width: 112px;
  height: 112px;
  padding: 8px;
  object-fit: contain;
  border: 1px solid var(--school-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 54, 74, .08);
}

.sic-school-overview__text {
  min-width: 0;
}

.sic-school-overview__intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--school-muted);
  font-size: 18px;
  line-height: 1.65;
}

.sic-school-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin-top: 28px;
}

.sic-school-summary--four-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sic-school-summary__card {
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--school-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 54, 74, .07);
}

.sic-school-summary__header {
  padding: 15px 22px;
  background: var(--sic-orange, #f68e37);
}

.sic-school-summary__card--documents .sic-school-summary__header {
  background: var(--sic-magenta, #c8469e);
}

.sic-school-summary__card--contact .sic-school-summary__header {
  background: var(--sic-violet, #654493);
}

.sic-school-summary__card--fees .sic-school-summary__header {
  background: var(--sic-teal, #168aa0);
}

.sic-school-summary__card--direction .sic-school-summary__title {
  color: #fff;
}

.sic-school-summary__title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sic-school-summary__content {
  padding: 23px;
}

.sic-school-summary__label {
  display: block;
  margin-bottom: 11px;
  color: var(--school-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sic-school-summary__value {
  margin: 0;
  color: var(--school-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
}

.sic-school-summary__card ul,
.sic-school-summary__card dl,
.sic-school-summary__card p {
  margin-top: 0;
  margin-bottom: 0;
}

.sic-school-direction,
.sic-school-costs ul {
  padding: 0;
  list-style: none;
}

.sic-school-direction li {
  position: relative;
  padding: 9px 0 9px 18px;
  color: var(--school-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.45;
}

.sic-school-direction li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--school-accent, #00798f);
  content: '';
}

.sic-school-costs {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--school-line);
}

.sic-school-summary__card--fees .sic-school-costs {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.sic-school-costs h4 {
  margin: 0 0 11px;
  color: var(--school-ink, #17364a);
  font-size: 16px;
  font-weight: 800;
}

.sic-school-costs li {
  position: relative;
  padding: 5px 0 5px 16px;
  color: #344f60;
  font-size: 14px;
  line-height: 1.5;
}

.sic-school-costs li::before {
  position: absolute;
  top: 14px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--school-gold);
  content: '';
}

.sic-school-summary__note,
.sic-school-enrollment {
  margin-top: 14px !important;
  color: var(--school-muted, #5d7180);
  font-size: 13px;
  line-height: 1.55;
}

.sic-school-enrollment {
  padding: 14px 15px;
  border-radius: 10px;
  background: var(--school-soft);
  color: var(--school-ink, #17364a);
  font-weight: 650;
}

.sic-school-documents {
  display: grid;
  gap: 10px;
}

.sic-school-document {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid #b8d2df;
  border-radius: 10px;
  background: #fff;
  color: var(--school-accent-dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.sic-school-document--action {
  border-color: rgba(200, 70, 158, .42);
  background: rgba(200, 70, 158, .11);
  color: #982a76;
}

.sic-school-document:hover,
.sic-school-document:focus {
  border-color: var(--school-accent-dark);
  background: rgba(101, 68, 147, .11);
  color: var(--sic-violet, #654493);
}

.sic-school-document--action:hover,
.sic-school-document--action:focus {
  border-color: rgba(200, 70, 158, .65);
  background: rgba(200, 70, 158, .19);
  color: #7f205f;
}

.sic-school-document--disabled {
  border-style: dashed;
  border-color: #d6e0e5;
  background: #f7f9fa;
  color: #7c8d97;
  cursor: default;
}

.sic-school-summary__card--contact .sic-school-summary__content {
  padding: 18px 20px;
}

.sic-school-summary__card--contact .sic-school-summary__content,
.sic-school-summary__card--contact p,
.sic-school-summary__card--contact li,
.sic-school-summary__card--contact dt,
.sic-school-summary__card--contact dd,
.sic-school-summary__card--contact a {
  font-size: 13.5px;
  line-height: 1.45;
}

.sic-school-summary__card--contact h4,
.sic-school-summary__card--contact h5 {
  margin-bottom: 8px;
  font-size: 16px;
}

.sic-school-summary__card--contact img {
  max-width: 150px;
  height: auto;
}

.sic-school-contact-brand {
  display: block;
  margin-bottom: 16px;
}

.sic-school-contact-panel {
  padding: 0 20px 22px;
  border: 1px solid #e1e8ec;
  border-radius: 14px;
  background: #fff;
}

.sic-school-contact-panel > h4 {
  margin: 0 -20px 18px;
  padding: 14px 20px;
  border-radius: 13px 13px 0 0;
  background: var(--school-accent, #00798f);
  color: #fff;
  font-size: 18px;
}

.list-terms-minimal .sic-school-contact-brand::after {
  display: none;
  content: none;
}

.sic-school-contact-brand + dd {
  display: block;
}

.sic-school-contact-brand__logo {
  display: flex;
  width: 100%;
  min-height: 88px;
  padding: 10px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1e8ec;
  border-radius: 10px;
  background: #fff;
}

.sic-school-summary__card--contact .sic-school-contact-brand__logo img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 66px;
  object-fit: contain;
}

.sic-school-contact-panel .sic-school-contact-brand__logo img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 66px;
  object-fit: contain;
}

.sic-school-contact-brand__name {
  display: block;
  margin-top: 14px;
  color: var(--school-ink, #17364a);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.sic-school-contact-details {
  display: grid;
  gap: 11px;
  margin: 0;
}

.sic-school-contact-details__field {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #e5ebee;
}

.sic-school-contact-details__field dt,
.sic-school-contact-details__field dd {
  margin: 0;
}

.sic-school-contact-details__field dt {
  color: var(--school-muted, #5d7180);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.sic-school-contact-details__field dd {
  color: var(--school-ink, #17364a);
  font-weight: 500;
}

@media (max-width: 420px) {
  .sic-school-contact-details__field {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.sic-school-summary__card h4,
.sic-school-summary__card h5 {
  margin: 0 0 12px;
  color: var(--school-ink);
  font-size: 19px;
}

.sic-school-summary__card .contact-info li {
  margin-top: 5px;
}

.sic-school-summary__card .unit,
.sic-school-summary__card .icon {
  color: var(--school-accent);
}

.sic-school-summary__card a {
  overflow-wrap: anywhere;
}

.sic-school-nav {
  margin: 0 0 48px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--school-soft);
}

.sic-school-nav__label {
  display: block;
  margin-bottom: 12px;
  color: var(--school-ink);
  font-weight: 800;
}

.sic-school-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sic-school-nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c9dce4;
  border-radius: 999px;
  background: #fff;
  color: var(--school-accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.sic-school-nav__links a:hover,
.sic-school-nav__links a:focus {
  border-color: var(--school-accent);
  background: var(--school-accent);
  color: #fff;
}

.sic-school-section {
  scroll-margin-top: 110px;
  margin-top: 56px;
}

.sic-school-section:first-of-type {
  margin-top: 0;
}

.sic-school-section__header {
  max-width: 800px;
  margin-bottom: 22px;
}

.sic-school-section__title {
  margin: 0;
  color: var(--school-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.sic-school-section__description {
  margin: 9px 0 0;
  color: var(--school-muted);
  font-size: 16px;
}

.sic-school-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.sic-school-section--presentation .sic-school-section__grid,
.sic-school-section--registration .sic-school-section__grid {
  grid-template-columns: 1fr;
}

.sic-school-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--school-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(23, 54, 74, .06);
}

.sic-school-card:only-child {
  grid-column: 1 / -1;
}

.sic-school-card h4,
.sic-school-card h5 {
  margin-top: 0;
  color: var(--school-ink);
  font-size: 22px;
  line-height: 1.3;
}

.sic-school-card h5 {
  font-size: 19px;
}

.sic-school-card p,
.sic-school-card li,
.sic-school-card dd {
  color: #344f60;
  font-size: 16px;
  line-height: 1.7;
}

.sic-school-card img,
.sic-school-card video,
.sic-school-card iframe {
  max-width: 100%;
  border-radius: 12px;
}

.sic-school-card video,
.sic-school-card iframe {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #081927;
}

.sic-school-card video {
  object-fit: contain;
}

.sic-school-card .group-lg {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.sic-school-card .group-lg > * {
  margin: 0;
}

.sic-school-card .button {
  white-space: normal;
  text-align: center;
}

.sic-school-card .row {
  margin-left: -10px;
  margin-right: -10px;
}

.sic-school-card .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

.sic-school-empty {
  color: var(--school-muted);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 991px) {
  .sic-school-decision-grid {
    grid-template-columns: 1fr;
  }

  .sic-school-directors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sic-school-director {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .sic-school-summary {
    grid-template-columns: 1fr 1fr;
  }

  .sic-school-summary__card--contact {
    grid-column: 1 / -1;
  }

  .sic-school-summary--four-cards .sic-school-summary__card--contact {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .sic-school-secretariat {
    padding: 22px 20px;
  }

  .sic-school-decision-grid,
  .sic-school-directors {
    grid-template-columns: 1fr;
  }

  .sic-school-director {
    grid-template-columns: 82px minmax(0, 1fr);
    justify-items: stretch;
    text-align: left;
  }

  .sic-school-fee {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sic-school-fee-list__tax {
    text-align: left;
  }

  .sic-school-page .section-md.bg-default {
    padding-top: 38px;
    padding-bottom: 54px;
  }

  .sic-school-summary,
  .sic-school-section__grid {
    grid-template-columns: 1fr;
  }

  .sic-school-summary__card--contact {
    grid-column: auto;
  }

  .sic-school-overview {
    margin-bottom: 34px;
  }

  .sic-school-overview__heading {
    align-items: flex-start;
    gap: 16px;
  }

  .sic-school-overview__logo {
    width: 78px;
    height: 78px;
    border-radius: 14px;
  }

  .sic-school-overview__title {
    font-size: clamp(25px, 8vw, 34px);
  }

  .sic-school-overview__eyebrow {
    font-size: 11px;
  }

  .sic-school-nav {
    margin-bottom: 38px;
    padding: 18px;
  }

  .sic-school-nav__links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sic-school-nav__links a {
    justify-content: center;
  }

  .sic-school-section {
    margin-top: 42px;
  }
}

@media (max-width: 480px) {
  .sic-school-overview__heading {
    flex-direction: column;
  }

  .sic-school-overview__title {
    font-size: 29px;
  }

}
