.postgrado-footer {
  background: var(--color-corporate-dark, #243746);
  color: var(--color-background, #fff);
  font-family: var(--font-primary, "DM Sans", sans-serif);
  border-radius: 10px 10px 0 0;
  width: 100%;
}

.postgrado-footer a {
  color: inherit;
  text-decoration: none;
}

.postgrado-footer button,
.postgrado-footer input {
  font: inherit;
}

.postgrado-footer__container {
  background: var(--color-corporate-dark, #243746);
}

.postgrado-footer__newsletter {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 1.875rem;
}

.postgrado-footer__newsletter-slot {
  width: 100%;
}

.postgrado-footer__newsletter-slot > * {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  width: 100%;
}

.postgrado-footer__newsletter-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.postgrado-footer__newsletter-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.postgrado-footer__newsletter-description {
  font-size: 1rem;
  line-height: 1;
  margin: 0;
}

.postgrado-footer__newsletter-copy > * {
  margin: 0;
}

.postgrado-footer__newsletter-copy :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.postgrado-footer__newsletter-copy p {
  font-size: 1rem;
  line-height: 1;
}

.postgrado-footer__mobile-copy {
  display: none;
}

.postgrado-footer__newsletter-form {
  align-items: center;
  background: var(--color-background, #fff);
  border-radius: 100px;
  display: flex;
  height: 2.5rem;
  overflow: hidden;
  padding-left: 1.5625rem;
  width: min(37.3125rem, 52%);
}

.postgrado-footer__newsletter-label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.postgrado-footer__newsletter-input {
  background: transparent;
  border: 0;
  color: var(--color-corporate-dark, #243746);
  flex: 1;
  font-size: 1rem;
  min-width: 0;
  outline: 0;
  padding: 0;
}

.postgrado-footer__newsletter-input::placeholder {
  color: var(--color-corporate-dark, #243746);
  opacity: 1;
}

.postgrado-footer__newsletter-submit {
  align-items: center;
  align-self: stretch;
  background: var(--color-complement-red, #ca3625);
  border: 0;
  border-radius: 50px;
  color: var(--color-background, #fff);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.5rem;
  justify-content: center;
  min-width: 9rem;
  padding-inline: 1.5rem;
}

.postgrado-footer__newsletter-submit-icon {
  display: none;
  height: 0.875rem;
  width: 0.875rem;
}

.postgrado-footer__main {
  border-top: 1px solid rgb(255 255 255 / 4%);
  padding-block: 3.125rem 1.875rem;
}

.postgrado-footer__grid {
  align-items: start;
  display: grid;
  gap: 0.5625rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.25fr 1.1fr;
}

.postgrado-footer__group {
  min-width: 0;
}

.postgrado-footer__group > * {
  margin: 0;
}

.postgrado-footer__group-divider {
  display: none;
}

.postgrado-footer__group-toggle {
  background: transparent;
  border: 0;
  color: var(--color-background, #fff);
  cursor: default;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: space-between;
  line-height: 1.2;
  padding: 0;
  text-align: left;
  width: 100%;
}

.postgrado-footer__group-toggle img {
  display: none;
}

.postgrado-footer__desktop-label {
  display: inline;
}

.postgrado-footer__mobile-label {
  display: none;
}

.postgrado-footer__group-toggle {
  background: transparent;
  border: 0;
  color: var(--color-background, #fff);
  cursor: default;
  display: flex;
  font-size: 1rem;
  font-weight: 700;
  justify-content: space-between;
  line-height: 1.2;
  padding: 0;
  text-align: left;
  width: 100%;
}

.postgrado-footer__group-toggle img {
  display: none;
}

.postgrado-footer__group-slot .postgrado-footer__group-toggle > span {
  font-weight: 700 !important;
}

.postgrado-footer__group-list {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.postgrado-footer__group-slot .postgrado-footer__group-list,
.postgrado-footer__group-slot .postgrado-footer__contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.postgrado-footer__group-slot .postgrado-footer__group-list li,
.postgrado-footer__group-slot .postgrado-footer__contact-list li {
  list-style: none;
}

.postgrado-footer__group-link,
.postgrado-footer__contact-link,
.postgrado-footer__contact-text {
  font-size: 1rem;
  line-height: 1.35;
}

.postgrado-footer__group-slot > *:first-child {
  margin-top: 0;
}

.postgrado-footer__group-slot p,
.postgrado-footer__group-slot ul,
.postgrado-footer__group-slot ol {
  margin-bottom: 0;
}

.postgrado-footer__group-slot ul,
.postgrado-footer__group-slot ol {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1rem;
}

.postgrado-footer__group-slot ul {
  list-style: disc;
}

.postgrado-footer__group-slot ol {
  list-style: decimal;
}

.postgrado-footer__group-slot a,
.postgrado-footer__brand-slot a,
.postgrado-footer__legal-slot a,
.postgrado-footer__copyright-slot a {
  color: inherit;
}

.postgrado-footer__group-slot :is(a, p, li, span) {
  font-size: 0.9375rem;
  line-height: 1.2;
}

.postgrado-footer__brand-slot :is(a, p, li, span),
.postgrado-footer__legal-slot :is(a, p, li, span),
.postgrado-footer__copyright-slot :is(a, p, li, span) {
  font-size: 1rem;
  line-height: 1.2;
}

.postgrado-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0.9375rem 0 0;
  padding: 0;
}

.postgrado-footer__contact-item {
  align-items: flex-start;
  display: flex;
  gap: 0.3125rem;
}

.postgrado-footer__contact-icon {
  flex: 0 0 1.25rem;
  height: 1.25rem;
  position: relative;
  width: 1.25rem;
}

.postgrado-footer__contact-icon img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.postgrado-footer__brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.postgrado-footer__brand-slot,
.postgrado-footer__brand-slot > * {
  margin: 0;
}

.postgrado-footer__brand-slot {
  width: 100%;
}

.postgrado-footer__brand-slot > div {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8125rem;
}

.postgrado-footer__brand-slot img {
  display: block;
  height: auto;
  max-width: 14.078rem;
}

.postgrado-footer__brand-slot ul,
.postgrado-footer__brand-slot ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9375rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.postgrado-footer__brand-logo {
  display: block;
  height: 6.4375rem;
  width: 14.078rem;
}

.postgrado-footer__tagline {
  display: none;
  font-size: 0.8125rem;
  line-height: 1;
  margin: 0;
}

.postgrado-footer__socials {
  display: flex;
  gap: 0.9375rem;
  justify-content: center;
}

.postgrado-footer__social-link {
  display: block;
  height: 2.625rem;
  position: relative;
  width: 2.625rem;
}

.postgrado-footer__social-link img {
  position: absolute;
}

.postgrado-footer__social-link img:first-child {
  height: 100%;
  inset: 0;
  width: 100%;
}

.postgrado-footer__social-link--facebook img:last-child {
  height: 74.64%;
  left: 30.26%;
  top: 21.97%;
  width: 39.49%;
}

.postgrado-footer__social-link--instagram img:last-child {
  height: 57.3%;
  left: 20.08%;
  top: 21.35%;
  width: 59.85%;
}

.postgrado-footer__social-link--youtube img:last-child {
  height: 43.15%;
  left: 19.05%;
  top: 28.42%;
  width: 61.89%;
}

.postgrado-footer__social-link--linkedin img:last-child {
  height: 53.6%;
  left: 22.83%;
  top: 23.2%;
  width: 54.35%;
}

.postgrado-footer__legal {
  align-items: center;
  display: flex;
  font-size: 0.9375rem;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 1.875rem;
}

.postgrado-footer__legal-slot {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.postgrado-footer__legal-separator {
  opacity: 0.8;
}

.postgrado-footer__legal > * {
  margin: 0;
}

.postgrado-footer__legal-slot,
.postgrado-footer__legal-slot > * {
  margin: 0;
}

.postgrado-footer__legal-slot > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.postgrado-footer__legal-slot ul,
.postgrado-footer__legal-slot ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.postgrado-footer__copyright {
  display: none;
}

.postgrado-footer__group-slot h1,
.postgrado-footer__group-slot h2,
.postgrado-footer__group-slot h3,
.postgrado-footer__group-slot h4,
.postgrado-footer__group-slot h5,
.postgrado-footer__group-slot h6 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.postgrado-footer__group-link:hover,
.postgrado-footer__group-link:focus-visible,
.postgrado-footer__group-slot a:hover,
.postgrado-footer__group-slot a:focus-visible,
.postgrado-footer__legal-link:hover,
.postgrado-footer__legal-link:focus-visible,
.postgrado-footer__legal-slot a:hover,
.postgrado-footer__legal-slot a:focus-visible {
  text-decoration: underline;
}

.postgrado-footer :focus-visible {
  outline: 2px solid var(--color-background, #fff);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .postgrado-footer {
    background: var(--color-background, #fff);
  }

  .postgrado-footer__container {
    background: transparent;
    padding-inline: 0;
  }

  .postgrado-footer__newsletter {
    background: var(--color-corporate-dark, #243746);
    border-radius: 20px 20px 0 0;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 0;
    padding: 1.875rem 1.25rem;
  }

  .postgrado-footer__newsletter-slot > * {
    flex-direction: column;
  }

  .postgrado-footer__newsletter-copy {
    align-items: center;
    gap: 0.3125rem;
    text-align: center;
  }

  .postgrado-footer__newsletter-title {
    font-weight: 700;
    letter-spacing: -0.0075rem;
  }

  .postgrado-footer__newsletter-description {
    opacity: 0.8;
  }

  .postgrado-footer__desktop-copy {
    display: none;
  }

  .postgrado-footer__mobile-copy {
    display: inline;
  }

  .postgrado-footer__newsletter-form {
    height: 3.0625rem;
    padding-left: 0.875rem;
    width: 100%;
  }

  .postgrado-footer__newsletter-input {
    font-family: var(--font-secondary, "Inter", sans-serif);
    font-size: 0.75rem;
  }

  .postgrado-footer__newsletter-input::placeholder {
    color: var(--color-corporate-dark, #243746);
  }

  .postgrado-footer__newsletter-submit {
    background: var(--color-corporate-red, #ce0019);
    font-size: 1rem;
    font-weight: 800;
    min-width: 9.375rem;
    padding-inline: 0.875rem;
  }

  .postgrado-footer__newsletter-submit-icon {
    display: block;
  }

  .postgrado-footer__newsletter-submit .postgrado-footer__desktop-label {
    display: none;
  }

  .postgrado-footer__mobile-label {
    display: inline;
  }

  .postgrado-footer__main {
    background: var(--color-corporate-dark, #243746);
    border: 0;
    border-radius: 0 0 20px 20px;
    padding: 1.875rem 1.25rem 3.125rem;
  }

  .postgrado-footer__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .postgrado-footer__brand {
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    order: -1;
  }

  .postgrado-footer__brand-logo {
    height: 4.858rem;
    width: 10.625rem;
  }

  .postgrado-footer__tagline {
    display: block;
  }

  .postgrado-footer__social-link {
    height: 1.875rem;
    width: 1.875rem;
  }

  .postgrado-footer__group {
    padding-bottom: 1rem;
  }

  .postgrado-footer__group + .postgrado-footer__group {
    padding-top: 0;
  }

  .postgrado-footer__group-divider {
    display: block;
    height: 1px;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  .postgrado-footer__group-divider img {
    height: calc(100vw - 2.5rem);
    left: 50%;
    max-height: 45.4375rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 1px;
  }

  .postgrado-footer__group-toggle {
    align-items: center;
    cursor: pointer;
    min-height: 2.75rem;
  }

  .postgrado-footer__group-toggle img {
    display: block;
    height: 1.5rem;
    transform: rotate(180deg);
    transition: transform 180ms ease;
    width: 1.5rem;
  }

  .postgrado-footer__group-toggle[aria-expanded="true"] img {
    transform: none;
  }

  .postgrado-footer__group-panel {
    display: none;
    padding-bottom: 1rem;
  }

  .postgrado-footer__group-panel.is-open {
    display: block;
  }

  .postgrado-footer__group-list,
  .postgrado-footer__contact-list {
    margin-top: 0;
  }

  .postgrado-footer__group-slot .postgrado-footer__group-list,
  .postgrado-footer__group-slot .postgrado-footer__contact-list {
    margin-top: 0;
  }

  .postgrado-footer__group-slot > *:first-child {
    margin-top: 0;
  }

  .postgrado-footer__group-slot h1,
  .postgrado-footer__group-slot h2,
  .postgrado-footer__group-slot h3,
  .postgrado-footer__group-slot h4,
  .postgrado-footer__group-slot h5,
  .postgrado-footer__group-slot h6 {
    font-size: 1rem;
  }

  .postgrado-footer__group-toggle .postgrado-footer__desktop-label {
    display: none;
  }

  .postgrado-footer__group-link,
  .postgrado-footer__contact-link,
  .postgrado-footer__contact-text,
  .postgrado-footer__group-slot :is(a, p, li, span) {
    font-size: 0.9375rem;
  }

  .postgrado-footer__brand-slot :is(a, p, li, span),
  .postgrado-footer__legal-slot :is(a, p, li, span),
  .postgrado-footer__copyright-slot :is(a, p, li, span) {
    font-size: 0.875rem;
  }

  .postgrado-footer__legal {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1.25rem;
    text-align: center;
  }

  .postgrado-footer__legal-slot,
  .postgrado-footer__legal-slot > div,
  .postgrado-footer__legal-slot ul,
  .postgrado-footer__legal-slot ol {
    gap: 0.5rem;
  }

  .postgrado-footer__copyright {
    color: var(--color-corporate-dark, #243746);
    display: block;
    font-size: 0.8125rem;
    line-height: normal;
    margin: 0;
    padding: 0.3125rem 1.25rem 0;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .postgrado-footer__newsletter {
    padding-inline: 1.25rem;
  }

  .postgrado-footer__newsletter-submit {
    min-width: 8.5rem;
  }

  .postgrado-footer__legal {
    font-size: 0.8125rem;
  }
}
