.dmkt-section-block {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  /*background: var(--wp--preset--color--primary);*/
  background: transparent;
  color: var(--wp--preset--color--primary-dark);
  border: 3px solid var(--wp--preset--color--primary-dark);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dmkt-section-block.unite-green-style,
.dmkt-section-block.unite-pink-style {
  background: transparent;
  /*border-color: var(--wp--preset--color--primary-dark);*/
  color: var(--wp--preset--color--primary-dark);
  min-width: 275px;
}

.dmkt-section-block.unite-green-style {
  border-color: var(--wp--preset--color--primary-dark);
}

.dmkt-section-block.unite-pink-style {
  border-color: var(--wp--preset--color--primary-dark);
}

.dmkt-section-block h3 {
  font-family: var(--wp--preset--font-family--fredoka);
  font-weight: 400;
  font-size: var(--wp--preset--font-size--xx-large);
  margin: 0;
}

.dmkt-section-block--icon {
  position: absolute;
  top: 40%;
  left: 50%;
  width: 30%;
  max-width: 125px;
  transform: translate(-50%, -50%);
  /*transition: all 0.4s ease;*/
  z-index: 2;
}

.dmkt-section-block.primaire .dmkt-section-block--icon{
  width: 40%;
}

.dmkt-section-block--icon svg {
  width: 100%;
  height: auto;
  display: block;
  fill: transparent;
  stroke: var(--wp--preset--color--primary-dark);
}

.dmkt-section-block.unite-green-style .dmkt-section-block--icon svg,
.dmkt-section-block.unite-pink-style .dmkt-section-block--icon svg {
  fill: var(--wp--preset--color--primary-dark);
  stroke: var(--wp--preset--color--primary-dark);
}

.dmkt-section-block--label {
  position: relative;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--wp--preset--color--primary-dark);
  z-index: 2;
  /*transition: all 0.3s ease;*/
  padding-bottom: 0.25rem;
  padding-left: 0.25rem;
  align-self: flex-start;
}

.dmkt-section-block.unite-green-style .dmkt-section-block--label,
.dmkt-section-block.unite-pink-style .dmkt-section-block--label {
  color: var(--wp--preset--color--primary-dark);
}

.dmkt-section-block--color-bar {
  position: absolute;
  bottom: -20px; /* Empieza escondida */
  left: 0;
  height: 20px;
  width: 40%;
  /*background: #00A85D;*/ /* o por clase */
  z-index: 1;
  transition: bottom 0.3s ease;
}

.dmkt-section-block.yellow-style .dmkt-section-block--color-bar{
  background: var(--wp--preset--color--accent-yellow);
}

.dmkt-section-block.blue-style .dmkt-section-block--color-bar{
  background: var(--wp--preset--color--primary-dark);
}
.dmkt-section-block.unite-green-style .dmkt-section-block--color-bar{
  background: var(--wp--preset--color--accent-green);
}

.dmkt-section-block.unite-pink-style .dmkt-section-block--color-bar{
  background: var(--wp--preset--color--accent-rose);
}


.dmkt-section-block:hover {
  background: white;
  color: #076DB7;
  border-width: 3px;
}

.dmkt-section-block.blue-style:hover {
  border-color: var(--wp--preset--color--primary-dark);;
}

.dmkt-section-block.yellow-style:hover {
  border-color: var(--wp--preset--color--accent-yellow);
}

.dmkt-section-block.unite-pink-style:hover {
  border-color: var(--wp--preset--color--accent-rose);
  background: var(--wp--preset--color--accent-rose-3);
}

.dmkt-section-block.unite-green-style:hover {
  border-color: var(--wp--preset--color--accent-green);
  background: var(--wp--preset--color--accent-green-3);
}

.dmkt-section-block:hover .dmkt-section-block--icon svg{
  stroke: var(--wp--preset--color--primary-dark);
}

/*.dmkt-section-block:hover .dmkt-section-block--icon {
  top: 1rem;
  left: auto;
  right: 1rem;
  width: 25%;
  transform: none;
}*/

.dmkt-section-block:hover .dmkt-section-block--label {
  /*transform: translateY(-10px);*/
  color: #076DB7;
}

.dmkt-section-block:hover .dmkt-section-block--color-bar {
  bottom: 65px;
}
